:root {
  color-scheme: dark;
  --bg: #0c1011;
  --bg-soft: #111617;
  --text: #f1f0eb;
  --muted: #c2c5c1;
  --dim: #858b88;
  --line: #303637;
  --copper: #e48a55;
  --moss: #9caf69;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0
      0 / 88px 88px,
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px) 0 0 / 88px
      88px,
    radial-gradient(
      circle at 72% 24%,
      rgba(156, 175, 105, 0.045),
      transparent 30%
    ),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 82px;
  padding: 0 5.8vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 40px;
  fill: none;
  stroke: var(--copper);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 3;
}

.header-rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line), transparent 72%);
}

main {
  overflow: hidden;
}

.hero,
.proof {
  padding-right: 5.8vw;
  padding-left: 5.8vw;
}

.hero {
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 1000px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--mono);
}

h1 {
  max-width: 1000px;
  font-size: clamp(3rem, 4.25vw, 4.65rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 690px;
  margin: 2rem 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.twin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0 0.35rem;
  border-bottom: 2px solid var(--copper);
  color: var(--copper);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 650;
  text-decoration: none;
  transition:
    gap 160ms ease,
    color 160ms ease;
}

.twin-link:hover {
  gap: 0.95rem;
  color: #ffab77;
}

.twin-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 5px;
}

.twin-link svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.route {
  display: grid;
  grid-template-columns:
    minmax(130px, 1fr) minmax(48px, 0.7fr) minmax(150px, 1fr)
    minmax(65px, 1.1fr) minmax(150px, 1fr) minmax(45px, 0.72fr) minmax(
      170px,
      1.15fr
    );
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.7rem);
  margin: clamp(3.2rem, 5vw, 5rem) 0 2.3rem;
  padding: 0;
  list-style: none;
}

.route-node {
  min-width: 0;
  text-align: center;
}

.route-node span {
  display: block;
  min-height: 2.8em;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: clamp(0.74rem, 1vw, 1rem);
  line-height: 1.4;
}

.route-node-copper {
  color: var(--copper);
}

.route-node-moss {
  color: var(--moss);
}

.node-icon {
  display: grid;
  width: clamp(74px, 8vw, 112px);
  height: clamp(74px, 8vw, 112px);
  margin: 0 auto;
  place-items: center;
}

.node-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.nas-icon {
  width: clamp(100px, 11vw, 150px);
}

.cloud-icon {
  width: clamp(100px, 11vw, 150px);
}

.globe-icon {
  width: clamp(78px, 8.5vw, 118px);
}

.route-connector {
  height: 2px;
  margin-top: -2.5rem;
  background: currentColor;
}

.route-connector-copper {
  color: var(--copper);
}

.route-connector-moss {
  color: var(--moss);
}

.route-connector-bend {
  height: 18px;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 0 16px;
  background: transparent;
}

.route-connector-dots {
  height: 7px;
  background: radial-gradient(circle, var(--moss) 2px, transparent 3px) 0 50% /
    16px 7px repeat-x;
}

.proof {
  padding-top: 2rem;
  padding-bottom: 2.3rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.proof ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.proof li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  font-weight: 650;
}

.proof li::before {
  width: 2px;
  height: 40px;
  background: var(--copper);
  content: "";
  grid-column: 2;
  grid-row: 1;
}

.proof li:nth-child(2)::before {
  background: var(--moss);
}

.proof svg {
  width: 43px;
  margin-left: 0.5rem;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.8;
  grid-column: 1;
  grid-row: 1;
}

.proof li:nth-child(2) svg {
  stroke: var(--moss);
}

.proof span {
  padding-left: 3.25rem;
  grid-column: 2;
  grid-row: 1;
}

footer {
  padding: 1.75rem 5.8vw;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .proof {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }

  .site-header {
    min-height: 68px;
  }

  .hero {
    padding-top: 3.3rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.3rem);
  }

  .route {
    grid-template-columns: 72px 1fr;
    gap: 0;
    margin-top: 3.5rem;
  }

  .route-node {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    width: 100%;
    min-height: 94px;
    text-align: left;
    grid-column: 1 / -1;
  }

  .route-node span {
    min-height: auto;
    margin: 0;
    padding-left: 1rem;
    font-size: 0.88rem;
  }

  .node-icon,
  .nas-icon,
  .cloud-icon,
  .globe-icon {
    width: 60px;
    height: 60px;
  }

  .route-connector {
    width: 2px;
    height: 28px;
    margin: -14px 0 -14px 29px;
    background: currentColor;
    grid-column: 1;
    z-index: 2;
  }

  .route-connector-bend {
    border: 0;
    border-radius: 0;
  }

  .route-connector-dots {
    background: radial-gradient(circle, var(--moss) 2px, transparent 3px) 50%
      0 / 7px 13px repeat-y;
  }

  .proof li {
    grid-template-columns: 64px 1fr;
  }

  .proof li::before {
    height: 32px;
  }

  .proof span {
    padding-left: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .twin-link {
    transition: none;
  }
}
