@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #060807;
  --ink-soft: #101411;
  --surface: #f2f4ed;
  --surface-deep: #e6e9df;
  --line: rgba(236, 242, 233, 0.13);
  --line-dark: rgba(10, 14, 11, 0.13);
  --text: #eef2eb;
  --muted: #9ba59c;
  --dark-text: #111511;
  --dark-muted: #626a63;
  --acid: #b9f54a;
  --mint: #6df2bd;
  --blue: #6da7ff;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 22px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, padding 250ms ease;
}

.site-header.is-scrolled {
  padding-top: 15px;
  padding-bottom: 15px;
  border-color: var(--line);
  background: rgba(6, 8, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.6;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.desktop-nav a,
.footer-meta a {
  color: var(--muted);
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-meta a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  padding: 11px 14px 11px 18px;
  border: 1px solid rgba(236, 242, 233, 0.22);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 0.76fr);
  grid-template-rows: 1fr auto;
  gap: 40px 6vw;
  overflow: hidden;
  padding: 150px clamp(24px, 6vw, 94px) 36px;
  border-bottom: 1px solid var(--line);
}

.hero-aura,
.cta-aura {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 245, 74, 0.11), rgba(109, 242, 189, 0.035) 36%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-aura {
  top: -340px;
  left: 20%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 760px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(185, 245, 74, 0.26);
  border-radius: 999px;
  background: rgba(185, 245, 74, 0.055);
  color: #dbeabf;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  50% { opacity: .42; box-shadow: 0 0 4px var(--acid); }
}

.hero h1 {
  margin: 30px 0 24px;
  font-size: clamp(54px, 6.65vw, 110px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 em,
.manifesto h2 em {
  color: var(--acid);
  font-style: normal;
}

.hero-lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 240px;
  padding: 17px 18px 17px 22px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button-primary:hover { background: #cafc69; }

.text-link {
  display: inline-flex;
  gap: 18px;
  color: #c5ccc6;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.text-link span { color: var(--acid); }

.hero-stage {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 640px);
  aspect-ratio: 1.03;
  justify-self: end;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.032), rgba(255,255,255,.009));
  box-shadow: 0 30px 100px rgba(0,0,0,.28);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.stage-label {
  position: absolute;
  z-index: 6;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: #768078;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
}

.stage-label-top { top: 16px; }
.stage-label-bottom { bottom: 16px; }
.signal { display: flex; align-items: center; gap: 6px; color: #9cad94; }
.signal i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.device-shell {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 46%;
  min-width: 230px;
  transform: translate(-50%, -50%) rotate(-3deg);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  background: linear-gradient(140deg, #1b201c, #080a09 56%, #121713);
  box-shadow: -26px 40px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12), 0 0 80px rgba(185,245,74,.08);
  animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
  50% { transform: translate(-50%, -53%) rotate(-1.5deg); }
}

.device-top,
.device-foot {
  display: flex;
  align-items: center;
  padding: 14px 17px;
  color: #89928a;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
}

.device-top { gap: 9px; border-bottom: 1px solid rgba(255,255,255,.08); }
.device-sensor { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--acid); box-shadow: inset 0 0 5px rgba(185,245,74,.5); }
.device-screen { min-height: 250px; padding: 42px 22px 24px; }
.device-screen p { margin: 25px 0 38px; color: #e5e9e2; font-size: 13px; line-height: 1.5; }
.wave { display: flex; align-items: center; gap: 5px; height: 42px; }
.wave span { width: 3px; border-radius: 3px; background: var(--acid); box-shadow: 0 0 10px rgba(185,245,74,.35); animation: wave 1.3s ease-in-out infinite; }
.wave span:nth-child(1) { height: 14px; }
.wave span:nth-child(2) { height: 28px; animation-delay: -.2s; }
.wave span:nth-child(3) { height: 39px; animation-delay: -.5s; }
.wave span:nth-child(4) { height: 22px; animation-delay: -.7s; }
.wave span:nth-child(5) { height: 34px; animation-delay: -.4s; }
.wave span:nth-child(6) { height: 19px; animation-delay: -.6s; }
.wave span:nth-child(7) { height: 9px; animation-delay: -.8s; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .55; } }
.capture-meta { display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.09); color: #677069; font-family: var(--mono); font-size: 7px; }
.device-foot { gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.device-line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--acid), rgba(185,245,74,.12)); }

.memory-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(13,17,14,.87);
  backdrop-filter: blur(10px);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-observed { top: 25%; left: 3%; }
.chip-changed { top: 33%; right: 2%; animation-delay: -1.4s; }
.chip-decided { bottom: 17%; left: 4%; animation-delay: -2.7s; }
@keyframes chipFloat { 50% { transform: translateY(-7px); } }
.chip-index { color: #566158; font-family: var(--mono); font-size: 8px; }
.memory-chip div { display: grid; gap: 3px; }
.memory-chip small { color: var(--acid); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.memory-chip strong { font-size: 10px; font-weight: 600; }

.trace-lines { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.trace-path { fill: none; stroke: rgba(185,245,74,.38); stroke-width: 1; stroke-dasharray: 3 6; animation: traceMove 12s linear infinite; }
@keyframes traceMove { to { stroke-dashoffset: -90; } }

.hero-footnote {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #788179;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.scroll-cue { display: flex; align-items: center; gap: 10px; }
.scroll-cue i { position: relative; display: block; width: 34px; height: 1px; background: #4c554d; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; bottom: 0; width: 7px; height: 7px; border-right: 1px solid #4c554d; transform: rotate(45deg); }

.section {
  padding: clamp(95px, 11vw, 180px) clamp(24px, 6vw, 94px);
}

.section-kicker {
  margin: 0 0 48px;
  color: #6f7871;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
}

.manifesto {
  background: var(--surface);
  color: var(--dark-text);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .55fr);
  gap: 8vw;
  align-items: end;
}

.manifesto h2,
.section-heading h2,
.beside h2,
.principles h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(46px, 5.7vw, 92px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1;
}
.manifesto h2 span { color: #9ca39b; }
.manifesto-copy { max-width: 540px; color: var(--dark-muted); font-size: 16px; line-height: 1.75; }
.manifesto-copy p { margin: 0 0 18px; }

.context-rail {
  margin-top: clamp(70px, 10vw, 150px);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.34);
}
.rail-head { display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-dark); color: #7b837c; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.rail-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 210px; padding: 45px 5%; gap: 5%; }
.track-line { position: absolute; top: 94px; left: 10%; right: 10%; height: 1px; background: #c1c6be; }
.track-line::after { content: ""; position: absolute; inset: -1px auto auto 0; width: 54%; height: 2px; background: var(--dark-text); animation: trackProgress 4s ease-in-out infinite alternate; }
@keyframes trackProgress { to { width: 100%; } }
.rail-event { position: relative; display: grid; grid-template-columns: 1fr; align-content: start; }
.rail-event time { font-family: var(--mono); font-size: 9px; color: #777f78; }
.rail-event i { z-index: 1; width: 12px; height: 12px; margin: 24px 0 26px; border: 3px solid var(--surface); border-radius: 50%; background: var(--dark-text); box-shadow: 0 0 0 1px #a5aca5; }
.rail-event small { color: #757d76; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.rail-event strong { margin-top: 5px; font-size: 13px; }
.rail-result { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 22px 18px; border-top: 1px solid var(--line-dark); background: var(--dark-text); color: var(--text); }
.rail-result > span { color: #848e86; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.rail-result p { margin: 0; font-size: 13px; line-height: 1.55; }
.rail-result .confidence { padding: 7px 9px; border: 1px solid rgba(185,245,74,.3); color: var(--acid); }

.workflow { background: #0b0e0c; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, .46fr); gap: 8vw; align-items: end; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2 { max-width: 850px; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 90px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.workflow-card { min-width: 0; padding: 22px; background: #0b0e0c; }
.card-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #758078; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.card-visual { position: relative; display: grid; place-items: center; height: 270px; overflow: hidden; }
.workflow-card h3 { margin: 5px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.035em; }
.workflow-card > p { margin: 0; color: #808a82; font-size: 13px; line-height: 1.7; }
.capture-orb { z-index: 2; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; border: 1px solid rgba(185,245,74,.4); background: radial-gradient(circle, rgba(185,245,74,.22), transparent 66%); box-shadow: 0 0 48px rgba(185,245,74,.12); }
.capture-orb i { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px var(--acid); }
.audio-ring { position: absolute; border: 1px solid rgba(185,245,74,.14); border-radius: 50%; animation: ringPulse 3s ease-out infinite; }
.ring-one { width: 150px; height: 150px; }
.ring-two { width: 230px; height: 230px; animation-delay: -1.5s; }
@keyframes ringPulse { 50% { transform: scale(.82); opacity: .35; } }
.connect-visual .node { position: absolute; z-index: 2; padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); background: #111612; color: #879189; font-family: var(--mono); font-size: 7px; }
.connect-visual .node::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 6px; border-radius: 50%; background: var(--mint); }
.node-a { top: 58px; left: 10%; }.node-b { top: 102px; left: 40%; color: var(--text) !important; border-color: rgba(185,245,74,.3) !important; }.node-c { right: 9%; bottom: 54px; }
.connect-visual svg { width: 100%; height: 100%; }
.connect-visual path { fill: none; stroke: rgba(109,242,189,.45); stroke-width: 1; stroke-dasharray: 4 6; animation: traceMove 10s linear infinite; }
.recover-visual { align-content: center; gap: 12px; padding: 20%; }
.recover-search, .recover-row { width: 100%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.recover-search { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 13px; border-color: rgba(185,245,74,.25); }
.recover-search span { width: 45%; height: 4px; border-radius: 2px; background: #4d5850; }
.recover-search i { width: 13px; height: 13px; border: 1px solid var(--acid); border-radius: 50%; position: relative; }
.recover-search i::after { content: ""; position: absolute; width: 6px; height: 1px; right: -4px; bottom: -2px; background: var(--acid); transform: rotate(45deg); }
.recover-row { display: flex; align-items: center; gap: 12px; height: 37px; padding: 0 12px; }
.recover-row span { width: 7px; height: 7px; border-radius: 50%; background: #526057; }
.recover-row i { display: block; width: 62%; height: 3px; background: #354038; }
.row-b { opacity: .55; }

.beside { background: var(--surface); color: var(--dark-text); }
.beside-panel { display: grid; grid-template-columns: .68fr 1fr; min-height: 650px; border: 1px solid var(--line-dark); }
.beside-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 82px); border-right: 1px solid var(--line-dark); }
.beside-copy .section-kicker { margin-bottom: 34px; }
.beside h2 { font-size: clamp(42px, 4.4vw, 70px); }
.beside-copy > p:last-child { max-width: 520px; margin: 34px 0 0; color: var(--dark-muted); line-height: 1.75; }
.stack-map { position: relative; min-height: 540px; overflow: hidden; background-image: linear-gradient(rgba(10,14,11,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,14,11,.05) 1px, transparent 1px); background-size: 48px 48px; }
.stack-source { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: space-between; width: 150px; padding: 13px; border: 1px solid var(--line-dark); background: rgba(242,244,237,.88); color: #657068; font-family: var(--mono); font-size: 8px; }
.stack-source i { width: 5px; height: 5px; border-radius: 50%; background: #7f8b82; }
.source-a { top: 14%; left: 7%; }.source-b { top: 14%; right: 7%; }.source-c { bottom: 9%; left: calc(50% - 75px); }
.stack-core { position: absolute; z-index: 4; top: 50%; left: 50%; display: grid; justify-items: center; width: 190px; height: 190px; padding: 40px 20px 25px; transform: translate(-50%, -50%); border: 1px solid #111511; background: #111511; color: var(--text); box-shadow: 20px 24px 50px rgba(23,30,24,.18); }
.stack-core svg { width: 44px; fill: none; stroke: var(--acid); stroke-width: 2.4; }
.stack-core strong { font-size: 21px; letter-spacing: -.04em; }
.stack-core small { color: #778079; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; }
.stack-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.stack-lines path { fill: none; stroke: #98a098; stroke-width: 1; stroke-dasharray: 4 7; animation: traceMove 12s linear infinite; }

.principles { background: var(--surface-deep); color: var(--dark-text); }
.principles-title { display: grid; grid-template-columns: .38fr 1fr; align-items: end; margin-bottom: 90px; }
.principles-title .section-kicker { margin: 0; }
.principles h2 { font-size: clamp(44px, 5vw, 80px); }
.principle-list { border-top: 1px solid var(--line-dark); }
.principle-row { display: grid; grid-template-columns: .38fr .62fr 1fr; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
.principle-row > span { color: #838b84; font-family: var(--mono); font-size: 10px; }
.principle-row h3 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.035em; }
.principle-row p { max-width: 520px; margin: 0; color: var(--dark-muted); font-size: 14px; line-height: 1.65; }

.cta-section { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 200px) 24px; text-align: center; background: #090c0a; }
.cta-aura { top: 50%; left: 50%; width: 980px; height: 980px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(185,245,74,.13), transparent 65%); }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; }
.cta-mark { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 34px; border: 1px solid rgba(185,245,74,.24); border-radius: 50%; color: var(--acid); }
.cta-mark svg { width: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.cta-content > p { margin: 0 0 28px; color: #8a958c; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.cta-section h2 { max-width: 1060px; font-size: clamp(42px, 5.6vw, 88px); }
.button-light { margin-top: 46px; background: var(--text); color: var(--ink); }
.button-light:hover { background: var(--acid); }
.cta-content small { margin-top: 24px; color: #737d75; font-size: 11px; }

.site-footer { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 46px clamp(24px, 6vw, 94px); border-top: 1px solid var(--line); background: #060807; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand > div { display: grid; gap: 4px; }
.footer-brand strong { font-size: 16px; letter-spacing: -.03em; }
.footer-brand span { color: #687169; font-size: 10px; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 34px; color: #687169; font-family: var(--mono); font-size: 8px; letter-spacing: .03em; }
.footer-meta nav { display: flex; gap: 20px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 120ms; }
.reveal-delay-small { transition-delay: 90ms; }
.reveal-delay-large { transition-delay: 180ms; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr 440px; gap: 44px; }
  .hero h1 { font-size: clamp(52px, 7.2vw, 78px); }
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .beside-panel { grid-template-columns: 1fr; }
  .beside-copy { min-height: 500px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 820px) {
  .site-header { padding: 17px 20px; }
  .nav-cta { padding: 9px 12px; }
  .nav-cta span { display: none; }
  .hero { display: block; min-height: auto; padding: 128px 20px 26px; }
  .hero-copy { max-width: none; }
  .hero h1 { margin-top: 25px; font-size: clamp(48px, 13vw, 78px); }
  .hero-lede { max-width: 600px; }
  .hero-stage { width: 100%; max-width: 590px; margin: 80px auto 0; }
  .hero-footnote { margin-top: 50px; }
  .section { padding-right: 20px; padding-left: 20px; }
  .manifesto h2, .section-heading h2, .principles h2, .cta-section h2 { font-size: clamp(42px, 10vw, 70px); }
  .rail-result { grid-template-columns: 1fr; gap: 12px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { padding: 24px; }
  .card-visual { height: 240px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .principles-title { grid-template-columns: 1fr; gap: 30px; }
  .principle-row { grid-template-columns: 50px 1fr; }
  .principle-row p { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .brand span { font-size: 16px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-cta { font-size: 8px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(43px, 13.2vw, 63px); line-height: .94; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .button { width: 100%; min-width: 0; }
  .text-link { justify-content: space-between; padding: 0 4px; }
  .hero-stage { aspect-ratio: .83; margin-top: 65px; }
  .device-shell { width: 58%; min-width: 205px; }
  .device-screen { min-height: 210px; padding: 32px 18px 18px; }
  .memory-chip { min-width: 124px; padding: 9px; }
  .chip-observed { top: 21%; left: 1%; }
  .chip-changed { top: 41%; right: 1%; }
  .chip-decided { bottom: 16%; left: 2%; }
  .memory-chip strong { font-size: 8px; }
  .trace-lines { display: none; }
  .hero-footnote { gap: 14px; align-items: flex-start; flex-direction: column; }
  .manifesto-grid { gap: 30px; }
  .context-rail { margin-top: 70px; }
  .rail-head span:last-child { display: none; }
  .rail-track { grid-template-columns: 1fr; gap: 34px; padding: 32px 20px; }
  .track-line { top: 44px; bottom: 44px; left: 26px; right: auto; width: 1px; height: auto; }
  .track-line::after { width: 2px; height: 54%; }
  .rail-event { grid-template-columns: 44px 18px 1fr; align-items: center; column-gap: 8px; }
  .rail-event time { grid-column: 1; grid-row: 1 / 3; }
  .rail-event i { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .rail-event small, .rail-event strong { grid-column: 3; }
  .rail-event strong { margin-top: 2px; }
  .workflow-grid { margin-top: 60px; }
  .beside-copy { min-height: auto; padding: 50px 24px; }
  .stack-map { min-height: 480px; }
  .stack-source { width: 120px; padding: 10px; }
  .source-a { left: 4%; }.source-b { right: 4%; }.source-c { left: calc(50% - 60px); }
  .stack-core { width: 160px; height: 160px; }
  .principles-title { margin-bottom: 55px; }
  .principle-row { padding: 28px 0; }
  .principle-row h3 { font-size: 19px; }
  .cta-content small { max-width: 280px; line-height: 1.5; }
  .footer-meta { flex-direction: column; gap: 18px; }
}

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