:root {
  --ink: #0b1f33;
  --ink-soft: #132b40;
  --paper: #f5f2ea;
  --paper-bright: #fbfaf6;
  --text: #25332f;
  --muted: #5d6b66;
  --line: #d5ddd8;
  --cyan: #63dbc5;
  --cyan-dark: #087161;
  --cyan-pale: #dff7f0;
  --amber: #ffb66e;
  --amber-dark: #9f570e;
  --amber-pale: #fff0dc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgb(11 31 51 / 10%);
  --radius: 24px;
  --shell: min(1180px, calc(100vw - 64px));
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 16px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgb(11 31 51 / 94%);
  border-color: rgb(255 255 255 / 10%);
  box-shadow: 0 8px 30px rgb(4 14 24 / 18%);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--shell);
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-plus {
  color: var(--cyan);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.brand-mark i {
  display: block;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgb(99 219 197 / 35%);
}

.brand-mark i:nth-child(2) {
  height: 26px;
}

.brand-mark i:nth-child(3) {
  height: 16px;
}

.brand-mark i:nth-child(4) {
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: rgb(255 255 255 / 68%);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--white);
}

.site-nav a[aria-current="true"] {
  position: relative;
}

.site-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--cyan);
  border-radius: 99px;
}

.site-nav .nav-github {
  margin-left: 8px;
  padding: 0 16px;
  gap: 8px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 999px;
}

.site-nav .nav-github:hover {
  color: var(--ink);
  background: #85e8d6;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 12px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 156px 0 76px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgb(99 219 197 / 12%), transparent 26%),
    radial-gradient(circle at 6% 88%, rgb(255 182 110 / 8%), transparent 27%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-grid,
.hero-stats {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.eyebrow,
.section-index,
.detail-kicker {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgb(255 255 255 / 58%);
}

.eyebrow span {
  color: var(--cyan);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 6.8vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.hero h1 em {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 700px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.hero-lede strong {
  color: var(--white);
  font-weight: 720;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--cyan);
}

.button-primary:hover {
  background: #84e7d5;
}

.button-secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 4%);
}

.button-secondary:hover {
  border-color: rgb(255 255 255 / 45%);
  background: rgb(255 255 255 / 8%);
}

.claim-note {
  max-width: 670px;
  margin: 28px 0 0;
  padding-left: 17px;
  color: rgb(255 255 255 / 66%);
  border-left: 2px solid var(--amber);
  font-size: 13px;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 28px;
  background: rgb(255 255 255 / 4%);
  box-shadow: 0 40px 100px rgb(0 0 0 / 30%);
  backdrop-filter: blur(8px);
}

.visual-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 24px 24px;
}

.terminal-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  color: rgb(255 255 255 / 64%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.live-dot {
  color: var(--cyan);
}

.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.query-card,
.backbone-card,
.path-card {
  position: relative;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 14px;
  background: rgb(6 22 35 / 78%);
}

.query-card {
  padding: 15px 18px;
}

.card-kicker,
.stage-label,
.path-card .card-kicker {
  display: block;
  color: rgb(255 255 255 / 64%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.query-card p {
  margin: 6px 0 0;
  color: rgb(255 255 255 / 76%);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
}

.visual-arrow {
  position: relative;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgb(255 255 255 / 28%);
}

.backbone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-color: rgb(99 219 197 / 28%);
}

.backbone-card strong,
.path-card strong {
  display: block;
  margin-top: 3px;
  color: rgb(255 255 255 / 86%);
  font-size: 12px;
}

.prefill-chip,
.critical-chip,
.ondemand-chip {
  padding: 5px 9px;
  color: var(--cyan);
  background: rgb(99 219 197 / 10%);
  border: 1px solid rgb(99 219 197 / 18%);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anchor-stage {
  position: relative;
  margin: 22px 0;
  text-align: center;
}

.stage-label {
  margin-bottom: 12px;
}

.hero-anchors {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-anchors span {
  width: 46px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 70%), transparent 52%),
    var(--cyan);
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 14px;
  box-shadow:
    0 0 30px rgb(99 219 197 / 22%),
    inset 0 -10px 20px rgb(0 93 78 / 16%);
}

.hero-anchors span:nth-child(2),
.hero-anchors span:nth-child(4) {
  transform: translateY(5px);
}

.hero-anchors b {
  font-family: var(--font-mono);
  font-size: 10px;
}

.split-paths {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.split-paths::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  left: 25%;
  right: 25%;
  height: 17px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-left: 1px solid rgb(255 255 255 / 16%);
  border-right: 1px solid rgb(255 255 255 / 16%);
}

.path-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
}

.path-route {
  border-color: rgb(99 219 197 / 25%);
}

.path-explain {
  border-color: rgb(255 182 110 / 23%);
}

.path-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgb(99 219 197 / 9%);
  border-radius: 9px;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.path-explain .path-icon {
  color: var(--amber);
  background: rgb(255 182 110 / 9%);
  font-size: 11px;
}

.visual-caption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 17px;
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 88px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.stat {
  min-height: 124px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 13px;
  align-items: end;
  padding: 24px 26px;
  border-right: 1px solid rgb(255 255 255 / 12%);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--cyan);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 760;
  letter-spacing: -0.06em;
}

.stat-label {
  align-self: end;
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
}

.stat small {
  align-self: start;
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.stat-accent {
  background: rgb(99 219 197 / 6%);
}

.section {
  padding: clamp(96px, 11vw, 150px) 0;
}

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

.section-heading {
  max-width: 760px;
}

.section-index {
  color: var(--cyan-dark);
}

.section-heading h2,
.split-heading h2,
.onboarding h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child {
  max-width: 670px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.research-question {
  position: relative;
  max-width: 1000px;
  margin: 72px 0 76px auto;
  padding: 42px 52px 42px 82px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.research-question::before {
  content: "?";
  position: absolute;
  top: 32px;
  left: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 800;
}

.research-question span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.research-question p {
  margin: 9px 0 0;
  color: rgb(255 255 255 / 88%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.35;
}

.critical-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.flow-card {
  padding: 30px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-old {
  opacity: 0.88;
}

.flow-new {
  border-color: rgb(19 136 117 / 35%);
  box-shadow: 0 22px 60px rgb(19 136 117 / 8%);
}

.flow-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.flow-tag,
.pipeline-label > span,
.branch-topline > span:first-child,
.closed-heading > span,
.status-top {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.flow-new .flow-tag {
  color: var(--cyan-dark);
}

.flow-header h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 19px;
}

.latency-badge {
  padding: 5px 10px;
  color: var(--muted);
  background: #ebeee9;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.flow-new .latency-badge {
  color: #086959;
  background: var(--cyan-pale);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 32px 0 22px;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px;
  color: var(--text);
  background: #f0f0e9;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.flow-steps li:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -8px;
  color: #98a19b;
  transform: translate(50%, -50%);
}

.flow-steps li > span:first-child {
  color: #929d97;
  font-family: var(--font-mono);
  font-size: 8px;
}

.flow-steps .flow-bottleneck {
  color: var(--amber-dark);
  background: var(--amber-pale);
}

.flow-new .flow-steps li {
  background: #ecf3ef;
}

.flow-new .flow-steps .flow-anchors {
  background: var(--cyan-pale);
}

.mini-anchors {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 5px;
}

.mini-anchors i {
  width: 5px;
  height: 17px;
  background: var(--cyan-dark);
  border-radius: 9px;
}

.mini-anchors i:nth-child(2),
.mini-anchors i:nth-child(4) {
  height: 12px;
}

.flow-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.protocol-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.section-intuition {
  background: var(--paper-bright);
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.split-intro {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 18px;
}

.intuition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 76px;
}

.idea-card {
  position: relative;
  min-height: 385px;
  padding: 30px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.idea-number {
  color: #98a39e;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.idea-icon {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 6px;
}

.geometry-icon {
  position: relative;
}

.geometry-icon::before,
.geometry-icon::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 80px;
  border: 1px dashed #a9bcb4;
  border-radius: 50%;
  transform: rotate(24deg);
}

.geometry-icon::after {
  width: 70px;
  height: 110px;
  transform: rotate(-45deg);
}

.geometry-icon i {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  background: var(--cyan-dark);
  border: 4px solid var(--cyan-pale);
  border-radius: 50%;
}

.geometry-icon i:nth-child(1) { transform: translate(-45px, -28px); }
.geometry-icon i:nth-child(2) { transform: translate(38px, -10px); }
.geometry-icon i:nth-child(3) { transform: translate(-14px, 42px); }
.geometry-icon i:nth-child(4) { transform: translate(17px, 12px); }
.geometry-icon i:nth-child(5) {
  width: 18px;
  height: 18px;
  background: var(--amber);
  border-color: var(--amber-pale);
  transform: translate(-9px, -13px);
}

.anchor-icon {
  gap: 8px;
}

.anchor-icon i {
  width: 29px;
  height: 82px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 70%), transparent 50%),
    var(--cyan);
  border: 1px solid rgb(19 136 117 / 18%);
  border-radius: 10px;
  box-shadow: 0 15px 30px rgb(19 136 117 / 16%);
}

.anchor-icon i:nth-child(2),
.anchor-icon i:nth-child(4) {
  transform: translateY(9px);
}

.decode-icon {
  color: var(--amber-dark);
  font-family: Georgia, serif;
  font-size: 54px;
  font-style: italic;
}

.decode-icon::before,
.decode-icon::after {
  content: "";
  width: 28px;
  height: 2px;
  margin: 0 13px;
  background: var(--amber);
}

.idea-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.idea-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-method {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgb(99 219 197 / 8%), transparent 25%),
    var(--ink);
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .section-index {
  color: var(--cyan);
}

.section-heading-light > p:last-child {
  color: rgb(255 255 255 / 58%);
}

.method-figure {
  margin: 78px 0 0;
  padding: clamp(24px, 4vw, 48px);
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 28px;
}

.pipeline-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.pipeline-label > span {
  color: var(--cyan);
}

.pipeline-label small {
  color: rgb(255 255 255 / 64%);
  font-size: 12px;
}

.offline-lane,
.online-lane {
  display: grid;
  grid-template-columns: 1fr auto 1.18fr auto 1.18fr;
  gap: 16px;
  align-items: stretch;
}

.pipeline-node {
  min-height: 112px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: rgb(4 18 30 / 58%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 14px;
}

.pipeline-node small {
  color: rgb(255 255 255 / 64%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pipeline-node strong {
  margin-top: 5px;
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
}

.pipeline-node > span:last-child {
  margin-top: 3px;
  color: rgb(255 255 255 / 64%);
  font-size: 12px;
}

.pipeline-node .node-id {
  position: absolute;
  top: 9px;
  right: 11px;
  color: rgb(255 255 255 / 18%);
  font-family: var(--font-mono);
  font-size: 9px;
}

.node-teacher {
  border-color: rgb(255 182 110 / 22%);
}

.pipeline-arrow {
  align-self: center;
  color: rgb(255 255 255 / 26%);
}

.supervision-bridge {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.supervision-bridge i {
  width: 1px;
  height: 60px;
  display: block;
  background: linear-gradient(var(--amber), var(--cyan));
}

.supervision-bridge::after {
  content: "↓";
  position: absolute;
  bottom: 5px;
  color: var(--cyan);
}

.node-input {
  border-color: rgb(99 219 197 / 18%);
}

.node-backbone {
  border-color: rgb(99 219 197 / 32%);
  box-shadow: inset 0 0 30px rgb(99 219 197 / 5%);
}

.node-anchors {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.node-anchors i {
  width: 9px;
  height: 22px;
  background: var(--cyan);
  border-radius: 4px;
}

.node-anchors i:nth-child(2),
.node-anchors i:nth-child(4) {
  height: 16px;
}

.latent-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 7px 0 3px;
}

.latent-stack span {
  display: grid;
  place-items: center;
  padding: 5px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.branch {
  position: relative;
  padding: 28px;
  background: rgb(4 18 30 / 65%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 18px;
}

.branch::before {
  content: "";
  position: absolute;
  top: -43px;
  left: 50%;
  width: 1px;
  height: 43px;
  background: rgb(255 255 255 / 18%);
}

.branch-route {
  border-color: rgb(99 219 197 / 24%);
}

.branch-interpret {
  border-color: rgb(255 182 110 / 22%);
}

.branch-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.branch-route .branch-topline > span:first-child {
  color: var(--cyan);
}

.branch-interpret .branch-topline > span:first-child {
  color: var(--amber);
}

.critical-chip {
  color: var(--cyan);
  background: rgb(99 219 197 / 9%);
  border-color: rgb(99 219 197 / 15%);
}

.ondemand-chip {
  color: var(--amber);
  background: rgb(255 182 110 / 9%);
  border-color: rgb(255 182 110 / 15%);
}

.branch h3 {
  margin: 10px 0 23px;
  font-size: 24px;
}

.branch ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.branch li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  color: rgb(255 255 255 / 58%);
  font-size: 12px;
}

.branch li span {
  color: rgb(255 255 255 / 58%);
  font-family: var(--font-mono);
  font-size: 10px;
}

.route-objective,
.decoded-sample {
  margin-top: 24px;
  padding: 15px;
  background: rgb(99 219 197 / 6%);
  border-left: 2px solid var(--cyan);
  border-radius: 4px 10px 10px 4px;
}

.decoded-sample {
  background: rgb(255 182 110 / 6%);
  border-color: var(--amber);
}

.route-objective small,
.decoded-sample small {
  display: block;
  margin-bottom: 5px;
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.route-objective > span {
  color: rgb(255 255 255 / 73%);
  font-family: var(--font-mono);
  font-size: 11px;
}

.route-objective b {
  color: var(--cyan);
}

.decoded-sample p {
  margin: 0;
  color: rgb(255 255 255 / 63%);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.method-figure figcaption {
  margin-top: 24px;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
  text-align: center;
}

.method-details {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  margin-top: 20px;
}

.loss-card,
.spec-card {
  padding: clamp(26px, 4vw, 40px);
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
}

.detail-kicker {
  color: var(--cyan-dark);
}

.section-method .detail-kicker {
  color: var(--cyan);
}

.equation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: rgb(255 255 255 / 68%);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 20px);
}

.equation-l {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 34px;
  font-style: italic;
}

.equation-term {
  padding: 14px 16px;
  color: var(--cyan);
  background: rgb(99 219 197 / 7%);
  border: 1px solid rgb(99 219 197 / 18%);
  border-radius: 10px;
}

.equation-term-amber {
  color: var(--amber);
  background: rgb(255 182 110 / 7%);
  border-color: rgb(255 182 110 / 18%);
}

.equation-term small {
  display: block;
  margin-top: 4px;
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-sans);
  font-size: 10px;
  text-align: center;
}

.schedule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 31px;
}

.schedule > div {
  display: grid;
}

.schedule span {
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.schedule strong {
  margin: 2px 0;
  font-size: 20px;
}

.schedule small {
  color: rgb(255 255 255 / 64%);
}

.schedule i {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.card-caveat {
  margin: 25px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 11px;
}

.spec-list {
  margin: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.spec-list > div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  color: rgb(255 255 255 / 62%);
  font-family: var(--font-mono);
  font-size: 10px;
}

.spec-list dd {
  margin: 0;
  color: rgb(255 255 255 / 74%);
  font-size: 11px;
  font-weight: 700;
}

.section-results {
  background: var(--paper-bright);
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-summary > div {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
}

.result-summary > div:last-child {
  border-right: 0;
}

.summary-value {
  color: var(--ink);
  font-size: 27px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.result-summary div > span:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.benchmark-card {
  padding: clamp(25px, 3.5vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.benchmark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.benchmark-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benchmark-code {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.benchmark-code-alt {
  background: var(--amber);
}

.benchmark-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.seed-chip {
  padding: 5px 10px;
  color: var(--muted);
  background: #e9ece6;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.reward-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 29px 0;
}

.reward-pair > div {
  padding: 18px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.reward-pair small {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reward-pair strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.04em;
}

.reward-pair strong span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.comparison-list {
  display: grid;
}

.comparison-list > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.comparison-list > div:last-child {
  border-bottom: 0;
}

.comparison-list span {
  color: var(--muted);
}

.comparison-list small {
  margin-left: 5px;
  padding: 2px 5px;
  color: #60706a;
  background: #e8ece7;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
}

.comparison-list b {
  color: var(--ink);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 20px;
}

.latency-card,
.recovery-card,
.variants-card {
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.evidence-heading h3 {
  margin: -4px 0 30px;
  font-size: clamp(23px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.latency-row {
  margin: 20px 0;
}

.latency-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.latency-label span {
  color: rgb(255 255 255 / 56%);
  font-size: 12px;
}

.latency-label strong {
  font-family: var(--font-mono);
  font-size: 13px;
}

.latency-track {
  height: 14px;
  padding: 3px;
  background: rgb(255 255 255 / 7%);
  border-radius: 999px;
}

.latency-bar {
  height: 8px;
  display: block;
  border-radius: 999px;
}

.latency-old {
  width: 100%;
  background: var(--amber);
}

.latency-new {
  width: max(2.62%, 12px);
  background: var(--cyan);
  box-shadow: 0 0 15px rgb(99 219 197 / 55%);
}

.speedup-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.speedup-callout strong {
  color: var(--cyan);
  font-size: 37px;
  letter-spacing: -0.05em;
}

.speedup-callout span {
  max-width: 190px;
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
}

.recovery-card {
  background: #132a3f;
}

.recovery-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}

.recovery-values > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recovery-ring {
  --value: 50;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #132a3f 57%, transparent 59%),
    conic-gradient(var(--cyan) calc(var(--value) * 1%), rgb(255 255 255 / 8%) 0);
}

.recovery-ring-alt {
  background:
    radial-gradient(circle at center, #132a3f 57%, transparent 59%),
    conic-gradient(var(--amber) calc(var(--value) * 1%), rgb(255 255 255 / 8%) 0);
}

.recovery-ring b {
  font-family: var(--font-mono);
  font-size: 18px;
}

.recovery-values small {
  margin-top: 12px;
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
}

.recovery-card .card-caveat {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.variants-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 50px;
  margin-top: 20px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
}

.variants-intro h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.variants-intro p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.variant-table-wrap {
  overflow-x: auto;
}

.variant-table-wrap table {
  width: 100%;
  min-width: 550px;
  border-collapse: collapse;
  font-size: 11px;
}

.variant-table-wrap th,
.variant-table-wrap td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.variant-table-wrap thead th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.variant-table-wrap tbody th {
  position: sticky;
  left: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
}

.table-note {
  grid-column: 1 / -1;
  margin: -24px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.section-findings {
  background: var(--paper);
}

.finding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 74px;
}

.finding {
  position: relative;
  min-height: 250px;
  padding: 30px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.finding-marker {
  color: var(--cyan-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.finding h3 {
  max-width: 430px;
  margin: 25px 0 10px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.025em;
}

.finding p {
  max-width: 470px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.finding-status {
  position: absolute;
  bottom: 25px;
  left: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.finding-status.adopted {
  color: #096d5d;
  background: var(--cyan-pale);
}

.finding-status.learned {
  color: var(--amber-dark);
  background: var(--amber-pale);
}

.closed-directions {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 50px;
  margin-top: 20px;
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.closed-heading > span {
  color: var(--amber);
}

.closed-heading h3 {
  margin: 11px 0 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.closed-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.closed-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.closed-list article > span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.closed-list h4 {
  margin: 0;
  font-size: 13px;
}

.closed-list p {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
}

.section-status {
  color: var(--white);
  background:
    radial-gradient(circle at 95% 90%, rgb(255 182 110 / 7%), transparent 26%),
    #081a2b;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 72px;
}

.status-card {
  min-height: 355px;
  padding: 28px;
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
}

.status-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 64%);
}

.status-dot {
  width: 8px;
  height: 8px;
  display: block;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(99 219 197 / 55%);
}

.status-option .status-dot {
  background: var(--amber);
  box-shadow: 0 0 12px rgb(255 182 110 / 50%);
}

.status-next .status-dot {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 45%);
  box-shadow: none;
}

.status-card h3 {
  margin: 30px 0 23px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.status-card ul,
.limits ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-card li {
  position: relative;
  padding-left: 17px;
  color: rgb(255 255 255 / 68%);
  font-size: 12px;
}

.status-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgb(255 255 255 / 28%);
}

.limits {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
  margin-top: 20px;
  padding: clamp(30px, 5vw, 52px);
  color: var(--ink);
  background: var(--amber-pale);
  border-radius: var(--radius);
}

.limits .detail-kicker {
  color: var(--amber-dark);
}

.limits h3 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.limits li {
  position: relative;
  padding: 0 0 13px 20px;
  color: #664d37;
  border-bottom: 1px solid rgb(159 87 14 / 14%);
  font-size: 12px;
}

.limits li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.limits li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-weight: 900;
}

.onboarding {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 8vw, 110px);
  margin-top: 110px;
  padding-top: 90px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.onboarding h2 {
  color: var(--white);
  font-size: clamp(38px, 4.5vw, 58px);
}

.onboarding-copy > p:last-child {
  color: rgb(255 255 255 / 68%);
  font-size: 14px;
}

.resource-links {
  display: grid;
}

.resource-links > a {
  min-height: 85px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 17px;
  align-items: center;
  color: var(--white);
  border-top: 1px solid rgb(255 255 255 / 14%);
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.resource-links > a:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.resource-links > a:hover {
  padding: 0 13px;
  background: rgb(255 255 255 / 4%);
}

.resource-links > a > span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
}

.resource-links strong,
.resource-links small {
  display: block;
}

.resource-links strong {
  font-size: 14px;
}

.resource-links small {
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
}

.resource-links i {
  color: rgb(255 255 255 / 36%);
  font-style: normal;
}

.site-footer {
  color: var(--white);
  background: #051420;
}

.footer-shell {
  width: var(--shell);
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span {
  color: rgb(255 255 255 / 62%);
  font-size: 10px;
}

.footer-mark {
  transform: scale(0.78);
}

.footer-shell p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 11px;
}

.footer-shell p a {
  color: rgb(255 255 255 / 70%);
}

.back-to-top {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 58%);
  font-size: 11px;
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--cyan);
}

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav a {
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr 400px;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.8vw, 76px);
  }

  .stat {
    padding: 20px 18px;
  }

  .offline-lane,
  .online-lane {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 9px;
  }
}

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

  html:not(.js) .site-header {
    background: rgb(11 31 51 / 98%);
    border-bottom-color: rgb(255 255 255 / 10%);
  }

  html:not(.js) .nav-shell {
    gap: 16px;
  }

  html:not(.js) .site-nav {
    min-width: 0;
    flex: 1;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  html:not(.js) .site-nav a {
    flex: 0 0 auto;
  }

  .js.nav-ready .menu-toggle {
    display: block;
  }

  .js.nav-ready .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    padding: 18px 24px 28px;
    background: rgb(11 31 51 / 98%);
    border-top: 1px solid rgb(255 255 255 / 8%);
    box-shadow: 0 30px 60px rgb(0 0 0 / 28%);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms;
  }

  .js.nav-ready .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .js.nav-ready .site-nav a {
    min-height: 48px;
    padding: 0 10px;
    border-bottom: 1px solid rgb(255 255 255 / 8%);
  }

  .js.nav-ready .site-nav a[aria-current="true"]::after {
    display: none;
  }

  .js.nav-ready .site-nav .nav-github {
    justify-content: center;
    margin: 14px 0 0;
    border: 0;
  }

  .hero {
    padding-top: 130px;
  }

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

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

  .hero-visual {
    max-width: 620px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .critical-paths,
  .intuition-grid,
  .benchmark-grid,
  .evidence-grid,
  .method-details,
  .status-grid,
  .onboarding {
    grid-template-columns: 1fr;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .split-intro {
    max-width: 680px;
  }

  .idea-card {
    min-height: 310px;
    display: grid;
    grid-template-columns: 45px 160px 1fr;
    grid-template-rows: auto 1fr;
    align-items: center;
  }

  .idea-icon {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .idea-card h3,
  .idea-card p {
    grid-column: 3;
  }

  .idea-card p {
    align-self: start;
  }

  .offline-lane,
  .online-lane {
    grid-template-columns: 1fr;
  }

  .pipeline-arrow {
    height: 18px;
    transform: rotate(90deg);
  }

  .supervision-bridge {
    height: 75px;
  }

  .branch-grid,
  .finding-grid,
  .closed-directions,
  .limits,
  .variants-card {
    grid-template-columns: 1fr;
  }

  .branch::before {
    display: none;
  }

  .table-note {
    grid-column: 1;
  }

  .closed-list {
    grid-template-columns: 1fr 1fr;
  }

  .status-card {
    min-height: 0;
  }

  .onboarding {
    gap: 40px;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
    padding: 40px 0;
  }

  .footer-shell p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
    --radius: 18px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .nav-shell {
    height: 68px;
  }

  .js.nav-ready .site-nav {
    top: 68px;
    max-height: calc(100dvh - 68px);
  }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 67px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    padding: 17px;
  }

  .query-card p {
    font-size: 10px;
  }

  .hero-anchors span {
    width: 38px;
    height: 58px;
  }

  .split-paths {
    grid-template-columns: 1fr;
  }

  .split-paths::before {
    display: none;
  }

  .visual-caption {
    flex-wrap: wrap;
  }

  .hero-stats {
    margin-top: 55px;
  }

  .stat {
    min-height: 106px;
    padding: 15px 12px;
    column-gap: 8px;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat small {
    font-size: 10px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .split-heading h2 {
    font-size: clamp(39px, 13vw, 55px);
  }

  .section-heading > p:last-child,
  .split-intro {
    font-size: 16px;
  }

  .research-question {
    margin: 48px 0;
    padding: 74px 24px 28px;
  }

  .research-question::before {
    top: 24px;
    left: 24px;
  }

  .research-question p {
    font-size: 23px;
  }

  .flow-card {
    padding: 22px;
  }

  .flow-header {
    display: grid;
  }

  .latency-badge {
    justify-self: start;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-steps li {
    min-height: 51px;
  }

  .flow-steps li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -10px;
    transform: translate(50%, 50%);
  }

  .protocol-note {
    text-align: left;
  }

  .intuition-grid {
    margin-top: 48px;
  }

  .idea-card {
    min-height: 0;
    display: block;
  }

  .idea-icon {
    height: 135px;
  }

  .method-figure {
    padding: 16px;
  }

  .pipeline-label {
    display: grid;
    gap: 3px;
  }

  .pipeline-label small {
    font-size: 10px;
  }

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

  .branch {
    padding: 21px;
  }

  .branch-topline {
    align-items: flex-start;
    gap: 10px;
  }

  .equation {
    align-items: flex-start;
  }

  .equation-term {
    width: calc(100% - 45px);
  }

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

  .schedule i {
    width: 1px;
    height: 22px;
  }

  .result-summary {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }

  .result-summary > div:nth-child(2) {
    border-right: 0;
  }

  .result-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .benchmark-card {
    padding: 22px 18px;
  }

  .benchmark-head {
    align-items: flex-start;
  }

  .benchmark-head > div {
    align-items: flex-start;
  }

  .benchmark-head h3 {
    font-size: 15px;
  }

  .reward-pair {
    grid-template-columns: 1fr;
  }

  .comparison-list > div {
    align-items: flex-start;
  }

  .comparison-list span small {
    display: inline-block;
  }

  .latency-card,
  .recovery-card,
  .variants-card {
    padding: 25px 20px;
  }

  .recovery-ring {
    width: 100px;
    height: 100px;
  }

  .speedup-callout {
    align-items: flex-start;
  }

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

  .closed-directions,
  .limits {
    gap: 28px;
    padding: 28px 22px;
  }

  .closed-list {
    grid-template-columns: 1fr;
  }

  .onboarding {
    margin-top: 76px;
    padding-top: 64px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-shell p,
  .back-to-top {
    grid-column: 1;
    grid-row: auto;
  }
}

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

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

  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .back-to-top {
    display: none;
  }

  .js.reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero,
  .section-method,
  .section-status {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .hero {
    min-height: 0;
    padding-top: 40px;
  }

  .hero-visual {
    display: none;
  }

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