:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #eef0f3;
  --ink: #111114;
  --ink-2: #5d5d64;
  --line: #d8d8d2;
  --red: #f4513b;
  --red-dark: #c83624;
  --blue: #246bfd;
  --blue-dark: #174fca;
  --night: #101114;
  --night-2: #18191d;
  --night-copy: #f4f4f1;
  --night-muted: #b2b3b8;
  --detail-border: #414248;
  --green: #8fd9b1;
  --amber: #f0cc7a;
  --max: 1200px;
  --reading: 720px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-quint: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1119;
  --surface: #1a202b;
  --surface-soft: #141d2b;
  --ink: #f5f7fa;
  --ink-2: #b9c2d0;
  --line: #354151;
  --red: #ff806d;
  --red-dark: #ff9a86;
  --blue: #9ab8ff;
  --blue-dark: #a9c3ff;
  --night: #172338;
  --night-2: #1e2d45;
  --night-copy: #f5f7fb;
  --night-muted: #c0cada;
  --detail-border: #52627a;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
.site-header,
.theme-switch,
.surface-section,
.closing,
.site-footer,
.week,
.fit-panel {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 48%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(22px) saturate(135%);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}

body.has-scrolled .site-header {
  border-bottom-color: color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 8px 8px color-mix(in srgb, var(--ink) 5%, transparent);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}

.nav-links { margin-left: auto; }

.nav-links a,
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover { color: var(--ink); }

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  border-radius: 999px;
  background: transparent;
  flex: none;
}

.theme-swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease);
}

.theme-swatch:hover { transform: scale(1.08); }
.theme-swatch[aria-pressed="true"] { background: color-mix(in srgb, var(--line) 68%, transparent); }

.swatch-disc {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: block;
}

.swatch-disc-light { border: 1px solid #aeb4bd; background: #f5f5f2; }
.swatch-disc-dark { border: 1px solid #75849a; background: #111927; }

.mobile-menu-button {
  min-width: 64px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: 0 8px 8px color-mix(in srgb, var(--ink) 8%, transparent);
  backdrop-filter: blur(22px) saturate(135%);
}

.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { padding-block: 14px 22px; display: grid; }

.mobile-nav a {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.mobile-nav a:last-of-type { border-bottom: 0; }

.mobile-theme-row {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-2);
  font-size: 14px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -.015em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button-blue { background: #246bfd; color: #fff; }
.button-blue:hover { background: #174fca; }
.button-light { border-color: var(--line); background: transparent; color: var(--ink); }
.button-light:hover { border-color: var(--ink); }
.button-white { background: #fff; color: #111114; }
.arrow { font-size: 20px; line-height: 1; transition: transform .2s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

.subhero {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) 0 clamp(84px, 11vw, 142px);
}

.subhero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -150px;
  width: min(720px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 44%, color-mix(in srgb, var(--red) 12%, transparent), transparent 45%),
              radial-gradient(circle at 68% 60%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 62%);
  pointer-events: none;
}

.subhero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: clamp(60px, 9vw, 124px);
  align-items: center;
}

.page-kicker {
  margin-bottom: 28px;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 700;
}

.subhero h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 7.5vw, 6rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
  animation: focus-in .9s var(--ease-quint) .06s both;
}

.subhero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--ink-2);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -.018em;
  text-wrap: pretty;
  animation: focus-in .82s var(--ease-quint) .18s both;
}

.subhero-copy strong { color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  animation: focus-in .76s var(--ease-quint) .3s both;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}

@keyframes focus-in {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0, 24px, 0); }
}

.section {
  padding: clamp(96px, 13vw, 168px) 0;
}

.surface-section { background: var(--surface); }

.section-heading {
  margin-bottom: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
  gap: 64px;
  align-items: end;
}

.section-heading h2,
.closing h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
  line-height: .99;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 500px;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: 19px;
  text-wrap: pretty;
}

.section-intro {
  max-width: var(--reading);
  margin-bottom: clamp(46px, 6vw, 72px);
  color: var(--ink-2);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -.018em;
  text-wrap: pretty;
}

.ledger { border-top: 1px solid var(--ink); }

.ledger-row {
  min-height: 132px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
}

.ledger-row h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ledger-row p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  text-wrap: pretty;
}

.closing {
  padding: clamp(100px, 14vw, 180px) 0;
  background: radial-gradient(circle at 92% 12%, rgba(75, 124, 255, .22), transparent 44%), var(--night);
  color: var(--night-copy);
}

.closing h2 { margin-bottom: 32px; }

.closing p {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--night-muted);
  font-size: 21px;
  text-wrap: pretty;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid color-mix(in srgb, var(--night-copy) 12%, transparent);
  background: var(--night);
  color: var(--night-muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links { justify-content: flex-end; color: var(--night-muted); }
.footer-links a:hover { color: var(--night-copy); }

/* Bottleneck Sprint */
.sprint-visual {
  position: relative;
  min-height: 440px;
  padding: 34px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--night);
  color: var(--night-copy);
  animation: visual-enter 1s var(--ease-quint) .16s both;
}

@keyframes visual-enter {
  from { opacity: 0; filter: blur(10px); transform: translate3d(26px, 18px, 0) scale(.97); }
}

.visual-top,
.visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--night-muted);
  font-size: 13px;
}

.visual-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--night-copy);
  font-weight: 700;
}

.visual-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--red) 16%, transparent);
}

.bottleneck-map {
  position: relative;
  min-height: 285px;
  display: flex;
  align-items: center;
}

.bottleneck-line {
  position: absolute;
  right: 5%;
  left: 5%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, #5d6068 0 43%, var(--red) 43% 55%, var(--blue) 55% 100%);
}

.flow-pulse {
  position: absolute;
  top: calc(50% - 5px);
  left: 5%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .1);
  animation: pulse-travel 4.6s var(--ease) infinite;
}

@keyframes pulse-travel {
  0% { left: 5%; opacity: 0; }
  10%, 46% { opacity: 1; }
  52% { left: 48%; opacity: .3; }
  64% { left: 56%; opacity: 1; }
  94% { left: 93%; opacity: 1; }
  100% { left: 93%; opacity: 0; }
}

.map-nodes {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.map-node {
  min-height: 92px;
  padding: 14px 10px;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: var(--night-2);
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
}

.map-node strong { font-size: 14px; }
.map-node span { color: var(--night-muted); font-size: 11px; }

.map-node.is-bottleneck {
  border-color: var(--red);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--red) 10%, transparent);
  transform: translateY(-12px);
}

.map-node.is-fixed {
  border-color: color-mix(in srgb, var(--blue) 72%, white);
  background: color-mix(in srgb, var(--blue) 18%, var(--night-2));
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fit-panel {
  min-height: 360px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.fit-panel h3 {
  margin-bottom: 32px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.plain-list { margin: 0; padding: 0; list-style: none; }

.plain-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 17px;
}

.plain-list li:first-child { padding-top: 0; }
.plain-list li:last-child { border-bottom: 0; }

.plain-list strong { color: var(--ink); }

.sprint-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.week { padding: clamp(34px, 5vw, 64px); }
.week + .week { border-left: 1px solid var(--line); }

.week-label {
  margin-bottom: clamp(54px, 7vw, 86px);
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
}

.week:nth-child(2) .week-label { color: var(--blue-dark); }

.week h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.week p { max-width: 510px; margin-bottom: 0; color: var(--ink-2); font-size: 18px; }

.fee-note {
  margin-top: clamp(56px, 8vw, 92px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.fee-note strong { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.fee-note p { max-width: 550px; margin: 0; color: var(--ink-2); font-size: 18px; }

/* WhyIsIt case study */
.case-hero { padding-bottom: clamp(64px, 9vw, 112px); }

.case-stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(circle at 82% 12%, rgba(73, 119, 251, .22), transparent 36%), linear-gradient(150deg, var(--night-2), var(--night));
  color: var(--night-copy);
  animation: visual-enter 1s var(--ease-quint) .16s both;
}

.case-stage-top,
.case-stage-foot {
  min-height: 64px;
  padding: 0 clamp(22px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--night-muted);
  font-size: 13px;
}

.case-stage-top { border-bottom: 1px solid var(--detail-border); }
.case-stage-foot { border-top: 1px solid var(--detail-border); }

.dashboard-shot {
  padding: clamp(10px, 2vw, 24px);
  overflow: hidden;
  background: #080a14;
}

.dashboard-shot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.stage-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--night-copy);
  font-weight: 700;
}

.stage-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6f9bff;
  box-shadow: 0 0 0 7px rgba(73, 119, 251, .18);
}

.case-stage-body {
  padding: clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(220px, .8fr) minmax(180px, .7fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.source-rail,
.decision-rail { display: grid; gap: 10px; }

.source-item,
.decision-item {
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: color-mix(in srgb, var(--night-2) 88%, transparent);
  color: #d7dbe4;
  font-size: 13px;
  font-weight: 700;
}

.source-item span,
.decision-item span { color: var(--night-muted); font-size: 11px; font-weight: 500; }

.stage-core {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.stage-core::before,
.stage-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue) 75%, white));
}

.stage-core::before { right: 80%; }
.stage-core::after { left: 80%; transform: rotate(180deg); }

.core-orbit {
  position: absolute;
  width: min(290px, 100%);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  border-radius: 50%;
  animation: orbit-turn 18s linear infinite;
}

.core-orbit::before,
.core-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9ab8ff;
  box-shadow: 0 0 0 7px rgba(73, 119, 251, .13);
}

.core-orbit::before { top: 14%; left: 13%; }
.core-orbit::after { right: 4%; bottom: 28%; }

@keyframes orbit-turn { to { transform: rotate(360deg); } }

.core-disc {
  position: relative;
  z-index: 1;
  width: min(210px, 75%);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--blue) 72%, white);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.16), transparent 44%), rgba(40, 65, 105, .96);
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
}

.core-disc strong { font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.core-disc span { color: var(--night-muted); font-size: 12px; }

.decision-item[data-state="keep"] strong { color: var(--green); }
.decision-item[data-state="review"] strong { color: var(--amber); }
.decision-item[data-state="cut"] strong { color: #ff9a86; }

.fact-sentence {
  margin: clamp(54px, 7vw, 84px) 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: clamp(1.45rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.fact-sentence strong { color: var(--ink); }

.case-context {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr);
  gap: clamp(58px, 10vw, 138px);
  align-items: start;
}

.context-meta { border-top: 1px solid var(--ink); }

.meta-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  font-size: 14px;
}

.meta-row span:first-child { color: var(--ink-2); }
.meta-row strong { font-weight: 700; }

.context-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.context-copy p {
  max-width: 680px;
  color: var(--ink-2);
  font-size: 20px;
  text-wrap: pretty;
}

.context-copy p:first-of-type { color: var(--ink); }

.process-track {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  min-height: 360px;
  padding: clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--ink);
}

.process-step + .process-step { border-left: 1px solid var(--line); }

.process-index {
  display: block;
  margin-bottom: clamp(70px, 9vw, 112px);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.process-step h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.process-step p { margin: 0; color: var(--ink-2); font-size: 17px; }

.proof-note {
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(170px, .35fr) minmax(0, 1fr);
  gap: 46px;
  color: var(--ink-2);
  font-size: 15px;
}

.proof-note strong { color: var(--ink); }
.proof-note p { max-width: 680px; margin: 0; }

.inline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 700;
}

.inline-link span { transition: transform .25s var(--ease); }
.inline-link:hover span { transform: translate(3px, -3px); }

.external-link-row { margin: 36px 0 0; }

.reveal { opacity: 1; transform: none; }

.reveal.motion-ready {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .7s ease, transform .9s var(--ease-quint);
}

.reveal.motion-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .subhero-grid,
  .section-heading,
  .case-context { grid-template-columns: 1fr; gap: 40px; }
  .subhero-visual { max-width: 650px; }
  .case-stage-body { grid-template-columns: 1fr; }
  .source-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .source-item { min-height: 70px; padding: 10px 6px; flex-direction: column; justify-content: center; text-align: center; }
  .source-item span { display: none; }
  .decision-rail { grid-template-columns: repeat(3, 1fr); }
  .decision-item { flex-direction: column; justify-content: center; text-align: center; }
  .stage-core::before,
  .stage-core::after { display: none; }
  .process-step { min-height: 330px; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 72px; gap: 18px; }
  .brand { font-size: 18px; }
  .nav > .theme-switch { display: none; }
  .subhero { padding-top: 70px; }
  .subhero h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .subhero-copy { font-size: 19px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .sprint-visual { min-height: 400px; padding: 24px 18px; }
  .bottleneck-map { min-height: 260px; }
  .map-nodes { grid-template-columns: repeat(2, 1fr); }
  .bottleneck-line,
  .flow-pulse { display: none; }
  .map-node.is-bottleneck { transform: none; }
  .fit-grid,
  .sprint-timeline { grid-template-columns: 1fr; }
  .week + .week { border-top: 1px solid var(--line); border-left: 0; }
  .fee-note { flex-direction: column; gap: 18px; }
  .ledger-row { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
  .case-stage-top,
  .case-stage-foot { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
  .case-stage-top span:last-child { display: none; }
  .dashboard-shot { height: 330px; padding: 8px; }
  .dashboard-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 18% top; }
  .case-stage-body { padding: 28px 18px; gap: 26px; }
  .source-rail { grid-template-columns: repeat(2, 1fr); }
  .source-item:last-child { grid-column: 1 / -1; }
  .stage-core { min-height: 270px; }
  .decision-rail { grid-template-columns: 1fr; }
  .decision-item { min-height: 58px; flex-direction: row; text-align: left; }
  .process-track { grid-template-columns: 1fr; }
  .process-step { min-height: 0; }
  .process-step + .process-step { border-left: 0; }
  .process-index { margin-bottom: 42px; }
  .proof-note { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal.motion-ready { opacity: 1; transform: none; }
}
