:root {
  color-scheme: dark;
  --bg: oklch(0.085 0 0);
  --bg-deep: oklch(0.055 0 0);
  --surface: oklch(0.125 0.008 265);
  --surface-raised: oklch(0.16 0.014 265);
  --surface-soft: oklch(0.19 0.018 265 / 0.58);
  --ink: oklch(0.965 0.006 265);
  --ink-soft: oklch(0.77 0.018 265);
  --muted: oklch(0.66 0.022 265);
  --faint: oklch(0.46 0.025 265);
  --line: oklch(0.28 0.025 265 / 0.7);
  --line-strong: oklch(0.37 0.04 265 / 0.85);
  --primary: oklch(0.75 0.13 196);
  --primary-bright: oklch(0.84 0.12 196);
  --indigo: oklch(0.61 0.2 269);
  --violet: oklch(0.65 0.22 298);
  --violet-bright: oklch(0.75 0.19 307);
  --success: oklch(0.77 0.15 158);
  --gradient-signal: linear-gradient(115deg, oklch(0.69 0.18 274), oklch(0.7 0.2 302) 50%, oklch(0.79 0.13 196));
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --z-sticky: 40;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: oklch(0.7 0.18 283 / 0.6);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 14px;
  z-index: calc(var(--z-sticky) + 1);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(96px, 12vw, 176px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-sticky);
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.is-scrolled {
  border-color: oklch(0.28 0.025 265 / 0.6);
  background: oklch(0.085 0 0 / 0.84);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.brand-mark circle {
  fill: var(--bg);
  stroke: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.nav-links > a:not(.nav-cta) {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a.is-active:not(.nav-cta) {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: oklch(0.17 0.02 265 / 0.7);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.nav-cta:hover {
  border-color: oklch(0.63 0.13 240 / 0.8);
  background: oklch(0.21 0.034 265 / 0.8);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding-top: calc(var(--header-height) + clamp(72px, 9vw, 132px));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 35%, oklch(0.45 0.2 280 / 0.15), transparent 28%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 72%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -12%;
  width: 58vw;
  aspect-ratio: 1;
  border: 1px solid oklch(0.48 0.12 280 / 0.1);
  border-radius: 50%;
  box-shadow: inset 0 0 80px oklch(0.45 0.16 270 / 0.05);
  z-index: -1;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% 0 42%;
  z-index: -2;
  opacity: 0.62;
  filter: blur(80px);
  background:
    radial-gradient(circle at 30% 30%, oklch(0.6 0.22 292 / 0.24), transparent 34%),
    radial-gradient(circle at 62% 55%, oklch(0.66 0.16 210 / 0.18), transparent 32%),
    radial-gradient(circle at 42% 80%, oklch(0.5 0.22 265 / 0.14), transparent 30%);
  transform: translate3d(calc(var(--pointer-x, 0) * 14px), calc(var(--pointer-y, 0) * 10px), 0);
  transition: transform 500ms var(--ease-out);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding-bottom: clamp(96px, 10vw, 148px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
  animation: hero-copy-in 900ms var(--ease-out) both;
}

.protocol-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 29px;
  padding: 7px 12px 7px 9px;
  border: 1px solid oklch(0.42 0.08 265 / 0.6);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--success);
  border-radius: 50%;
  opacity: 0.3;
  animation: status-ping 2.3s ease-out infinite;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(3.35rem, 7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--primary-bright);
}

.hero-lede {
  max-width: 630px;
  margin-bottom: 35px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 700;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid oklch(0.77 0.12 196);
  background: oklch(0.69 0.15 199);
  color: oklch(0.985 0 0);
}

.button-primary:hover {
  background: oklch(0.74 0.15 199);
}

.button-quiet {
  border: 1px solid var(--line-strong);
  background: oklch(0.14 0.01 265 / 0.78);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: oklch(0.5 0.07 265 / 0.8);
  background: oklch(0.18 0.018 265 / 0.9);
}

.hero-note {
  margin: 20px 0 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.hero-system {
  position: relative;
  z-index: 1;
  border: 1px solid oklch(0.38 0.06 272 / 0.65);
  border-radius: var(--radius-md);
  background: oklch(0.105 0.013 270 / 0.86);
  overflow: hidden;
  animation: system-in 1100ms 120ms var(--ease-out) both;
}

.hero-system::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--system-x, 50%) var(--system-y, 50%), oklch(0.73 0.17 260 / 0.09), transparent 32%);
}

.system-chrome,
.system-footer {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding-inline: 16px;
  border-color: var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.system-chrome {
  border-bottom: 1px solid var(--line);
}

.system-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.chrome-dot {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--faint);
}

.chrome-dot:first-child {
  background: var(--violet);
}

.chrome-title {
  margin-left: 8px;
}

.chrome-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--ink-soft);
}

.chrome-live i,
.flow-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.topology {
  position: relative;
  min-height: 480px;
}

.topology-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route {
  fill: none;
  stroke: url(#line-cyan);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.route-main {
  stroke-width: 1.6;
}

.packet {
  fill: var(--primary-bright);
  filter: url(#line-glow);
}

.packet-one {
  offset-path: path("M108 240 C185 240 203 240 282 240 S378 240 452 240 C505 240 505 104 560 104");
  animation: route-packet 4.8s linear infinite;
}

.packet-two {
  fill: var(--violet-bright);
  offset-path: path("M108 240 C185 240 203 240 282 240 S378 240 452 240 C515 240 515 240 578 240");
  animation: route-packet 4.8s 1.6s linear infinite;
}

.packet-three {
  offset-path: path("M108 240 C185 240 203 240 282 240 S378 240 452 240 C505 240 505 376 560 376");
  animation: route-packet 4.8s 3.2s linear infinite;
}

.topology-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 126px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: oklch(0.14 0.016 270 / 0.97);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.topology-node small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 400;
}

.node-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: oklch(0.23 0.05 268 / 0.85);
  color: var(--primary-bright);
}

.node-icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.node-model {
  left: 4.2%;
  top: calc(50% - 29px);
}

.node-client {
  left: calc(50% - 63px);
  top: calc(50% - 29px);
}

.node-client.is-active {
  border-color: oklch(0.7 0.14 240 / 0.8);
  background: oklch(0.18 0.035 265 / 0.98);
}

.node-client .node-icon {
  background: var(--gradient-signal);
  color: oklch(0.99 0 0);
}

.node-pulse {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid oklch(0.67 0.16 268 / 0.55);
  border-radius: 13px;
  animation: node-pulse 2.8s var(--ease-out) infinite;
}

.node-server {
  right: 2.7%;
}

.node-server .node-icon {
  color: var(--violet-bright);
}

.server-a {
  top: 15.5%;
}

.server-b {
  top: calc(50% - 29px);
}

.server-c {
  bottom: 15.5%;
}

.topology-label {
  position: absolute;
  right: 19%;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.45rem;
}

.label-tools { top: 28%; }
.label-resources { top: 47%; }
.label-prompts { bottom: 27%; }

.system-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.system-footer i {
  width: 12px;
  height: 1px;
}

.legend-cyan { background: var(--primary); }
.legend-violet { background: var(--violet); }

.system-footer code {
  margin-left: auto;
  color: var(--faint);
}

.hero-ribbon {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: oklch(0.1 0.008 265 / 0.9);
}

.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 52px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  animation: ribbon 30s linear infinite;
}

.ribbon-track span {
  padding-inline: 28px;
}

.ribbon-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: clamp(50px, 9vw, 140px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.section-label {
  margin-bottom: 20px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
}

.section-intro .section-label {
  grid-column: 1 / -1;
}

.section-intro h2,
.architecture-copy h2,
.primitives-heading h2,
.ecosystem-intro h2,
.faq-heading h2,
.cta-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-intro > p:last-child,
.architecture-copy > p,
.primitives-heading > p,
.ecosystem-intro > p,
.faq-heading > p,
.cta-copy > p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.complexity {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(90deg, oklch(0.13 0.015 265), oklch(0.11 0.013 265) 48%, oklch(0.15 0.033 265));
}

.complexity-before,
.complexity-after {
  position: relative;
  min-height: 310px;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
}

.complexity-caption {
  display: block;
  margin-bottom: 23px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.complexity strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.complexity-before strong {
  color: oklch(0.7 0.035 265);
}

.complexity-after strong {
  color: var(--primary-bright);
}

.complexity p {
  position: relative;
  z-index: 1;
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.complexity-arrow {
  position: relative;
  z-index: 2;
  display: flex;
  width: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-inline: 1px solid var(--line-strong);
  color: var(--primary);
  background: oklch(0.095 0.006 265);
}

.complexity-arrow svg {
  width: 52px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.complexity-arrow span {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  writing-mode: vertical-rl;
}

.mesh {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 185px;
  height: 160px;
  opacity: 0.38;
  transform: rotate(-8deg);
}

.mesh::before,
.mesh::after,
.mesh span {
  content: "";
  position: absolute;
  height: 1px;
  transform-origin: left;
  background: oklch(0.55 0.04 265);
}

.mesh::before { left: 20px; top: 24px; width: 150px; transform: rotate(37deg); }
.mesh::after { left: 17px; top: 124px; width: 156px; transform: rotate(-30deg); }
.mesh span:nth-child(1) { left: 18px; top: 24px; width: 155px; transform: rotate(77deg); }
.mesh span:nth-child(2) { left: 50px; top: 5px; width: 140px; transform: rotate(106deg); }
.mesh span:nth-child(3) { left: 2px; top: 82px; width: 180px; transform: rotate(-12deg); }
.mesh span:nth-child(4) { left: 28px; top: 145px; width: 150px; transform: rotate(-70deg); }
.mesh span:nth-child(5) { left: 88px; top: 0; width: 140px; transform: rotate(66deg); }
.mesh span:nth-child(6) { left: 4px; top: 54px; width: 174px; transform: rotate(23deg); }

.spine {
  position: absolute;
  right: 8%;
  bottom: 15%;
  display: flex;
  align-items: center;
  width: 185px;
}

.spine::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--primary));
}

.spine i,
.spine b {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 50%;
  background: var(--bg);
}

.spine i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--primary);
}

.spine b {
  width: 16px;
  height: 16px;
  margin: auto;
  border: 1px solid var(--violet);
  box-shadow: 0 0 8px oklch(0.68 0.2 292 / 0.4);
}

.benefit-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.benefit {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  align-items: center;
  gap: 28px;
  min-height: 120px;
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease;
}

.benefit:hover {
  background: oklch(0.15 0.018 265 / 0.55);
}

.benefit-title {
  display: flex;
  align-items: center;
  gap: 17px;
}

.benefit-title svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.benefit h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.benefit p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.architecture {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 50%, oklch(0.5 0.2 285 / 0.12), transparent 32%),
    oklch(0.075 0 0);
}

.architecture-layout {
  display: grid;
  grid-template-columns: 0.77fr 1.23fr;
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.architecture-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(2.4rem, 4vw, 3.85rem);
}

.architecture-copy > p {
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-bright);
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.architecture-stage {
  position: relative;
  min-width: 0;
  border: 1px solid oklch(0.37 0.06 275 / 0.7);
  border-radius: var(--radius-md);
  background: oklch(0.105 0.015 270 / 0.82);
  overflow: hidden;
}

.flow-lane {
  display: grid;
  grid-template-columns: 1fr 84px 1fr 84px 1fr;
  align-items: center;
  min-height: 430px;
  padding: 34px 26px;
}

.flow-role {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.flow-role small {
  display: block;
  margin-bottom: 13px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

.flow-role strong {
  display: block;
  margin-bottom: 11px;
  font-size: 0.92rem;
}

.flow-role p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.role-orbit,
.role-core {
  position: relative;
  display: block;
  width: 75px;
  height: 75px;
  margin: 0 auto 34px;
  border: 1px solid oklch(0.55 0.11 260 / 0.55);
  border-radius: 50%;
}

.role-orbit::before,
.role-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.role-orbit::before {
  inset: 15px;
  border: 1px solid var(--primary);
}

.role-orbit::after {
  inset: 30px;
  background: var(--primary-bright);
  box-shadow: 0 0 8px oklch(0.76 0.14 196 / 0.8);
}

.role-core {
  display: grid;
  place-items: center;
  border-color: oklch(0.68 0.19 293 / 0.72);
  background: radial-gradient(circle, oklch(0.66 0.2 292 / 0.28), transparent 60%);
}

.role-core::before,
.role-core::after,
.role-core i {
  content: "";
  position: absolute;
  width: 27px;
  height: 27px;
  border: 1px solid var(--violet-bright);
  transform: rotate(45deg);
}

.role-core::after {
  width: 11px;
  height: 11px;
  background: var(--violet);
}

.role-core i {
  width: 50px;
  height: 50px;
  border-color: oklch(0.68 0.19 293 / 0.22);
  animation: core-spin 14s linear infinite;
}

.server-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
}

.server-stack span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.server-stack i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.flow-connector {
  position: relative;
  height: 40px;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, oklch(0.56 0.12 240), oklch(0.66 0.17 280));
}

.flow-connector em {
  position: absolute;
  left: 50%;
  bottom: -11px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-style: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}

.flow-packet {
  position: absolute;
  top: calc(50% - 3px);
  left: 6px;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 7px oklch(0.76 0.14 196 / 0.8);
  animation: packet-line 2.4s linear infinite;
}

.flow-connector.second .flow-packet {
  background: var(--violet-bright);
  box-shadow: 0 0 7px oklch(0.72 0.2 300 / 0.8);
  animation-delay: 1.2s;
}

.flow-status {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.51rem;
}

.flow-status span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
}

.flow-status code {
  margin-left: auto;
  color: var(--faint);
}

.primitives-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 62px;
}

.primitives-heading > p {
  max-width: 35ch;
}

.primitive-rail {
  border-block: 1px solid var(--line-strong);
}

.primitive {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 140px;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease;
}

.primitive:last-child {
  border-bottom: 0;
}

.primitive:hover {
  background: oklch(0.145 0.02 265 / 0.66);
}

.primitive-glyph {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.25rem;
}

.primitive-tools .primitive-glyph {
  border: 1px solid var(--primary);
  color: var(--primary-bright);
}

.primitive-resources .primitive-glyph {
  border: 1px solid var(--indigo);
  color: oklch(0.75 0.17 270);
}

.primitive-prompts .primitive-glyph {
  border: 1px solid var(--violet);
  color: var(--violet-bright);
}

.primitive h3 {
  margin: 0 0 7px;
  font-size: 1.25rem;
  font-weight: 650;
}

.primitive p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.primitive code {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.ecosystem {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: oklch(0.07 0 0);
}

.ecosystem-intro {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
  gap: clamp(50px, 10vw, 155px);
}

.logo-marquee {
  position: relative;
  margin-block: clamp(70px, 9vw, 112px);
  border-block: 1px solid var(--line);
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.logo-track a {
  display: flex;
  min-height: 134px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  transition: color 200ms ease, background-color 200ms ease;
}

.logo-track a:last-child {
  border-right: 0;
}

.logo-track a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.logo-track b {
  font-size: clamp(0.88rem, 1.3vw, 1.04rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-symbol {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.anthropic-symbol {
  font-size: 0.63rem;
  letter-spacing: -0.08em;
}

.openai-symbol {
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.2rem;
}

.google-symbol {
  font-size: 1.35rem;
}

.microsoft-symbol {
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 2px;
}

.microsoft-symbol i {
  width: 7px;
  height: 7px;
  background: currentColor;
}

.cloudflare-symbol {
  font-size: 1.35rem;
}

.ecosystem-proof {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}

.ecosystem-proof blockquote {
  max-width: 780px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.ecosystem-proof a {
  color: var(--primary-bright);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ecosystem-proof a span {
  margin-left: 7px;
}

.faq {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 54px);
}

.faq-heading h2 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.faq-heading > p:last-child {
  font-size: 0.96rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  min-height: 91px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
  transition: color 180ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--ink);
}

.faq-list summary i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 14px;
  height: 1px;
  background: var(--primary);
  transition: transform 240ms var(--ease-out);
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.faq-answer > p {
  overflow: hidden;
}

.faq-list details[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  max-width: 64ch;
  margin: -4px 0 30px;
  padding-right: 38px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.get-started {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 0%, oklch(0.55 0.22 293 / 0.17), transparent 30%),
    radial-gradient(circle at 14% 100%, oklch(0.57 0.15 210 / 0.12), transparent 30%),
    oklch(0.065 0 0);
}

.get-started-glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 50vw;
  height: 28vw;
  background: radial-gradient(ellipse, oklch(0.56 0.22 282 / 0.13), transparent 65%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
}

.get-started-layout {
  position: relative;
}

.cta-copy {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 68px;
}

.cta-copy .section-label {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.cta-copy h2 {
  max-width: 15ch;
}

.cta-destinations {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.destination {
  display: flex;
  min-height: 190px;
  align-items: stretch;
  justify-content: space-between;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-md);
  transition: transform 250ms var(--ease-out), background-color 200ms ease;
}

.destination:hover {
  transform: translateY(-5px);
}

.destination > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.destination-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 9px;
}

.destination-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.destination small {
  margin: 30px 0 7px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.destination strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -0.025em;
}

.destination-arrow {
  align-self: flex-start;
  font-size: 1.35rem;
  transition: transform 180ms var(--ease-out);
}

.destination:hover .destination-arrow {
  transform: translate(3px, -3px);
}

.destination-docs {
  border: 1px solid oklch(0.69 0.16 272 / 0.9);
  background: linear-gradient(125deg, oklch(0.29 0.14 273), oklch(0.25 0.14 297));
  color: oklch(0.98 0.006 265);
}

.destination-docs:hover {
  background: linear-gradient(125deg, oklch(0.33 0.16 273), oklch(0.29 0.16 297));
}

.destination-docs .destination-icon {
  background: oklch(0.95 0.012 265 / 0.12);
}

.destination-docs small {
  color: oklch(0.82 0.05 280);
}

.destination-open {
  border: 1px solid oklch(0.53 0.08 210 / 0.8);
  background: oklch(0.15 0.035 216 / 0.9);
}

.destination-open:hover {
  background: oklch(0.19 0.05 216 / 0.95);
}

.destination-open .destination-icon {
  background: oklch(0.76 0.13 196 / 0.11);
  color: var(--primary-bright);
}

.destination-open small {
  color: var(--primary);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding-block: 58px;
}

.footer-main > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--primary-bright);
}

.footer-meta {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.51rem;
}

.reveal {
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}

.motion-ready .reveal:not(.is-visible) {
  opacity: 0.72;
  transform: translateY(22px);
}

.motion-ready .benefit.reveal:not(.is-visible),
.motion-ready .primitive-rail.reveal:not(.is-visible) {
  transform: translateY(12px);
}

@keyframes hero-copy-in {
  from { opacity: 0.68; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes system-in {
  from { opacity: 0.62; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes status-ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}

@keyframes node-pulse {
  0% { transform: scale(0.96); opacity: 0; }
  25% { opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0; }
}

@keyframes route-packet {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@keyframes ribbon {
  to { transform: translateX(-50%); }
}

@keyframes core-spin {
  to { transform: rotate(405deg); }
}

@keyframes packet-line {
  0% { left: 6px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 12px); opacity: 0; }
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 40px, 900px);
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
  }

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

  .hero-system {
    max-width: 720px;
    width: 100%;
    margin-left: auto;
  }

  .architecture-layout {
    grid-template-columns: 1fr;
  }

  .architecture-copy {
    max-width: 640px;
  }

  .flow-lane {
    min-height: 390px;
  }

  .logo-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-track a:nth-child(3) {
    border-right: 0;
  }

  .logo-track a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .logo-track a:nth-child(4) {
    grid-column: 1 / 2;
  }

  .logo-track a:nth-child(5) {
    border-right: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: auto 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 32px);
    --header-height: 66px;
  }

  .section {
    padding-block: 92px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 112px 24px 40px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    background: oklch(0.075 0.005 265 / 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 220ms ease, transform 300ms var(--ease-out);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a:not(.nav-cta) {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.2rem;
  }

  .nav-cta {
    margin-top: 18px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 62px);
  }

  .hero::before {
    width: 100vw;
    right: -45%;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.1rem);
  }

  .hero-system {
    margin-inline: -4px;
    width: calc(100% + 8px);
  }

  .topology {
    min-height: 420px;
  }

  .topology-node {
    width: 112px;
    min-height: 54px;
    padding: 8px;
    font-size: 0.64rem;
  }

  .node-model { left: 2%; }
  .node-client { left: calc(50% - 56px); }
  .node-server { right: 1.5%; }
  .node-icon { width: 26px; height: 26px; }
  .topology-label { display: none; }

  .section-intro,
  .ecosystem-intro,
  .faq,
  .cta-copy {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .ecosystem-intro {
    gap: 28px;
  }

  .section-intro .section-label,
  .cta-copy .section-label {
    grid-column: auto;
  }

  .complexity {
    grid-template-columns: 1fr;
  }

  .complexity-arrow {
    width: auto;
    min-height: 76px;
    flex-direction: row;
    gap: 17px;
    border: 0;
    border-block: 1px solid var(--line-strong);
  }

  .complexity-arrow svg {
    transform: rotate(90deg);
  }

  .complexity-arrow span {
    margin: 0;
    writing-mode: horizontal-tb;
  }

  .benefit {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }

  .benefit p {
    grid-column: auto;
  }

  .flow-lane {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px;
  }

  .flow-role {
    min-height: 150px;
    padding-left: 114px;
  }

  .role-orbit,
  .role-core {
    position: absolute;
    left: 3px;
    top: 4px;
    margin: 0;
  }

  .server-stack {
    margin-top: 17px;
  }

  .flow-connector {
    display: none;
  }

  .flow-status span:nth-child(2) {
    display: none;
  }

  .primitives-heading {
    display: block;
  }

  .primitives-heading > p {
    margin-top: 24px;
  }

  .primitive {
    grid-template-columns: 56px 1fr;
    padding-block: 25px;
  }

  .primitive code {
    grid-column: 2;
    justify-self: start;
  }

  .logo-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-track a,
  .logo-track a:nth-child(3),
  .logo-track a:nth-child(5) {
    border-right: 1px solid var(--line);
  }

  .logo-track a:nth-child(even) {
    border-right: 0;
  }

  .logo-track a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .logo-track a:nth-child(4) {
    grid-column: auto;
  }

  .logo-track a:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .ecosystem-proof {
    grid-template-columns: 1fr;
  }

  .faq {
    gap: 55px;
  }

  .faq-heading {
    position: static;
  }

  .cta-copy {
    gap: 27px;
  }

  .cta-copy .section-label {
    margin-bottom: -3px;
  }

  .cta-destinations {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .footer-meta {
    padding-block: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .system-chrome {
    padding-inline: 10px;
  }

  .chrome-title {
    display: none;
  }

  .topology {
    min-height: 520px;
  }

  .topology-lines {
    display: none;
  }

  .topology-node {
    width: 150px;
  }

  .node-model {
    left: calc(50% - 75px);
    top: 30px;
  }

  .node-client {
    left: calc(50% - 75px);
    top: 212px;
  }

  .node-server {
    right: auto;
  }

  .server-a { left: 4%; top: 400px; }
  .server-b { left: calc(50% - 75px); top: 400px; }
  .server-c { right: 4%; left: auto; top: 400px; bottom: auto; }

  .node-server {
    width: 30%;
    min-width: 94px;
    flex-direction: column;
    text-align: center;
  }

  .node-server small {
    display: none;
  }

  .topology::before,
  .topology::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    background: linear-gradient(var(--primary), var(--violet));
  }

  .topology::before { top: 88px; height: 124px; }
  .topology::after { top: 270px; height: 130px; }

  .system-footer span:nth-child(2) {
    display: none;
  }

  .complexity-before,
  .complexity-after {
    min-height: 290px;
  }

  .benefit {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefit p {
    grid-column: auto;
  }

  .flow-lane {
    padding: 26px 20px;
  }

  .flow-role {
    padding-left: 95px;
  }

  .role-orbit,
  .role-core {
    width: 65px;
    height: 65px;
  }

  .flow-status code {
    display: none;
  }

  .primitive {
    grid-template-columns: 1fr;
  }

  .primitive code {
    grid-column: auto;
  }

  .ecosystem-proof blockquote {
    font-size: 1.32rem;
  }

  .faq-list summary {
    min-height: 82px;
    font-size: 0.91rem;
  }

  .destination {
    min-height: 178px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal:not(.is-visible) {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
