:root {
  --paper: #f4f4f2;
  --white: #fff;
  --ink: #202220;
  --night: #202220;
  --muted: #6d716f;
  --line: #b9bcba;
  --lime: #9cf7c8;
  --orange: #176b4d;
  --blue: #d8dad9;
  --display: "Instrument Sans", sans-serif;
  --serif: "Instrument Sans", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--paper); font-family: var(--display); }
main section[id], #product, #lanes, #footer { scroll-margin-top: 60px; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--night); }

.skip-link { position: fixed; z-index: 1000; left: 8px; top: 8px; padding: 10px 14px; background: var(--lime); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
* { scrollbar-color: var(--ink) var(--paper); }

.site-header { position: sticky; z-index: 100; top: 0; height: 60px; display: grid; grid-template-columns: 260px 1fr 190px; border-bottom: 1px solid var(--ink); color: var(--white); background: var(--night); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .site-header::after { animation: pageProgress linear both; animation-timeline: scroll(root); }
  @keyframes pageProgress { to { transform: scaleX(1); } }
}
.site-header a { text-decoration: none; }
.brand, .header-github, .header-cta, .menu-button { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 22px; border: 0; border-right: 1px solid #6e716f; font: 500 12px var(--mono); letter-spacing: .04em; transition: color 180ms ease-out, background 180ms ease-out; }
.brand { justify-content: flex-start; }
.brand-logo { display: block; width: 188px; height: auto; filter: invert(1); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 50px); }
.desktop-nav a { position: relative; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--lime); transform: scaleX(0); }
.desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-github { color: var(--ink); background: var(--white); border-left: 1px solid var(--ink); }
.header-cta { color: var(--ink); background: var(--lime); border-right: 0; }
.brand:focus-visible, .header-github:focus-visible { color: var(--ink); background: var(--white); }
.header-cta:focus-visible { color: var(--white); background: var(--night); }
.menu-button, .mobile-menu { display: none; }

.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr); min-height: calc(100svh - 60px); border-bottom: 1px solid var(--ink); }
.hero-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: clamp(32px, 5vw, 84px) clamp(24px, 4vw, 68px) 34px; border-right: 1px solid var(--ink); background: var(--white); }
.demo-topline, .lane-code { margin: 0; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.display-title { margin: auto 0; font: 500 clamp(92px, 10vw, 184px)/.76 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.display-title > span { display: block; }
.word-mask { overflow: hidden; padding-right: .1em; }
.route-word { color: var(--ink); }
.load-in { animation: loadIn 1.1s cubic-bezier(.16,1,.3,1) both; }
.word-mask:nth-child(2) .load-in, .hero-intro { animation-delay: .13s; }
.hero-actions { animation-delay: .23s; }
@keyframes loadIn { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
.hero-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; max-width: 720px; padding-top: 24px; border-top: 1px solid var(--ink); }
.hero-intro p { margin: 0; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.16; }
.hero-intro p:first-child { font-family: var(--display); font-size: clamp(18px, 1.5vw, 27px); }
.hero-actions { display: flex; gap: 0; margin-top: 34px; }
.action { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; width: min(280px, 50%); min-height: 62px; padding: 0 18px; overflow: hidden; border: 1px solid var(--ink); text-decoration: none; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.action:focus-visible { color: var(--ink); background: var(--lime); }
.action-dark { background: var(--night); color: var(--white); }
.action-light { background: transparent; border-left: 0; }
.action-lime { width: min(330px, 100%); background: var(--lime); color: var(--night); border-color: var(--lime); }

.hero-demo { position: relative; display: grid; grid-template: auto minmax(290px, 1fr) auto auto auto / 1fr 1fr; min-width: 0; overflow: hidden; color: var(--ink); background: var(--paper); }
.hero-demo::before { content: ""; position: absolute; z-index: 0; inset: 0; background-image: radial-gradient(circle, rgba(32,34,32,.22) .7px, transparent .8px); background-size: 14px 14px; mask-image: radial-gradient(ellipse 88% 75% at 52% 42%, #000 8%, rgba(0,0,0,.5) 42%, transparent 82%); }
.demo-topline, .analysis-strip, .decision-output, .demo-basis { position: relative; z-index: 1; }
.demo-topline { grid-area: 1 / 1 / 2 / -1; display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--ink); color: var(--ink); background: var(--white); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(156,247,200,.14); animation: pulse 2s infinite paused; }
.hero-demo.is-visible .status-dot { animation-play-state: running; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(201,243,106,0); } }
.hero-demo blockquote { position: relative; z-index: 1; grid-area: 3 / 1 / 6 / 2; min-height: 180px; margin: 0; padding: 25px 22px; color: var(--white); background: var(--night); font: 400 clamp(20px, 2vw, 33px)/1.05 var(--display); border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.analysis-strip { grid-area: 3 / 2; display: grid; grid-template-columns: 1fr 1fr 1.15fr; color: var(--ink); background: var(--lime); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.analysis-strip span { padding: 13px 16px; border-right: 1px solid var(--ink); }
.analysis-strip span:last-child { border: 0; }
.analysis-strip b, .analysis-strip em { display: block; font: 400 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.analysis-strip b { margin-bottom: 7px; color: #4f5552; }
.analysis-strip em { color: var(--ink); font-style: normal; }
.route-graph { position: relative; z-index: 1; grid-area: 2 / 1 / 3 / -1; align-self: center; width: 100%; padding: clamp(24px, 3vw, 46px) 22px; }
.route-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr) 24px) minmax(0, 1fr); align-items: center; margin: 0; padding: 0; }
.flow-step { position: relative; display: flex; min-width: 0; min-height: 142px; flex-direction: column; padding: 15px; border: 1px solid var(--ink); background: var(--white); }
.flow-step span, .flow-step small { font: 400 8px/1.35 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.flow-step span { color: var(--muted); }
.flow-step strong { margin: auto 0 12px; overflow-wrap: anywhere; font: 500 11px/1.2 var(--mono); }
.flow-step small { min-height: 22px; overflow-wrap: anywhere; color: var(--muted); text-transform: none; }
.route-pinned { color: var(--white); background: var(--night); }
.route-pinned span { color: var(--lime); }
.route-pinned small { color: #aab4b1; }
.flow-complete { background: var(--lime); }
.flow-complete span, .flow-complete small { color: #405049; }
.flow-arrow { width: 24px; height: 18px; overflow: visible; }
.flow-arrow path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.motion-ready .hero-demo.is-visible .flow-step { animation: flowStepIn 650ms cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--step) * 120ms + 100ms); }
.motion-ready .hero-demo.is-visible .flow-arrow path { animation: flowArrowIn 420ms cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--step) * 120ms + 380ms); }
@keyframes flowStepIn { from { clip-path: inset(0 100% 0 0); opacity: .35; } to { clip-path: inset(0); opacity: 1; } }
@keyframes flowArrowIn { from { stroke-dasharray: 42; stroke-dashoffset: 42; } to { stroke-dasharray: 42; stroke-dashoffset: 0; } }
.decision-output { grid-area: 4 / 2; display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; margin: 0; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--ink); }
.decision-output div { min-width: 0; padding: 15px 17px; border-right: 1px solid var(--ink); }
.decision-output div:last-child { border: 0; }
.decision-output dt, .decision-output dd { margin: 0; font: 400 9px var(--mono); text-transform: uppercase; }
.decision-output dt { margin-bottom: 6px; color: var(--muted); }
.decision-output dd { overflow-wrap: anywhere; color: var(--ink); }
.demo-basis { grid-area: 5 / 2; margin: 0; padding: 11px 17px; color: var(--night); background: var(--lime); font: 500 9px var(--mono); text-transform: uppercase; }

.night { color: var(--white); background: var(--night); }
.motion-ready [data-reveal] { opacity: 1; }
.motion-ready .section-heading.visible h2, .motion-ready .examples-copy.visible h2, .motion-ready .developers-copy.visible h2, .motion-ready .learning.visible > div { animation: panelReveal .8s cubic-bezier(.16,1,.3,1) both; }
.motion-ready .learning.visible > div:last-child { animation-delay: 100ms; }
@keyframes panelReveal {
  from { opacity: .45; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.frontier h2 { margin: 0; font: 500 clamp(56px, 6.6vw, 96px)/.84 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.frontier h2 em { color: var(--lime); font-style: normal; }

.pipeline, .dimensions, .architecture, .faq { border-bottom: 1px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr); gap: 30px; padding: clamp(52px, 6vw, 96px) clamp(24px, 5vw, 90px); border-bottom: 1px solid var(--ink); background: var(--blue); }
.section-heading h2 { margin: 0; font: 500 clamp(58px, 6.2vw, 96px)/.84 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.section-heading > p:last-child { align-self: end; max-width: 360px; margin: 0; font: 400 clamp(16px, 1.4vw, 23px)/1.2 var(--serif); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: .65fr 1.1fr; align-items: baseline; gap: 30px; padding: 34px clamp(24px, 5vw, 90px); border-bottom: 1px solid var(--ink); }
.steps li:last-child { border: 0; }
.steps h3 { margin: 0; font: 500 clamp(35px, 4vw, 70px)/1 var(--display); letter-spacing: -.04em; }
.steps p { max-width: 560px; margin: 0; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.3; }

.examples { display: grid; grid-template-columns: 1.05fr .95fr; border-bottom: 1px solid #43504d; }
.examples-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(58px, 6vw, 92px) clamp(24px, 5vw, 90px); border-right: 1px solid #43504d; }
.examples-copy h2 { margin: 0 0 40px; font: 520 clamp(56px, 6.2vw, 96px)/.84 var(--display); letter-spacing: -.04em; }
.examples-copy > p:last-child { max-width: 590px; margin: 36px 0 0; color: #aab4b1; font-size: 18px; line-height: 1.3; }
.examples-ui { display: flex; flex-direction: column; justify-content: center; }
.example-tabs { display: grid; }
.example-tabs button { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 130px; padding: 0 30px; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid #43504d; text-align: left; font-size: clamp(25px, 2.5vw, 44px); cursor: pointer; }
.example-tabs button.active { color: var(--night); background: var(--lime); }
.example-result { margin: 0; border-bottom: 1px solid #43504d; background: var(--night); }
.example-result > p { min-height: 95px; margin: 0; padding: 22px; font: 400 clamp(18px, 1.6vw, 25px)/1.2 var(--serif); }
.example-result dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #43504d; }
.example-result dl div { min-width: 0; padding: 13px; border-right: 1px solid #43504d; }
.example-result dl div:last-child { border: 0; }
.example-result dt, .example-result dd { margin: 0; overflow-wrap: anywhere; font: 400 9px var(--mono); text-transform: uppercase; }
.example-result dt { margin-bottom: 6px; color: #7f8e89; }
.example-result dd { color: var(--lime); }
.examples-note { display: flex; gap: 16px; padding: 34px; }
.examples-note p { max-width: 450px; margin: 0; color: #9eaaa6; font-size: 14px; }
.trace-key { flex: 0 0 55px; height: 1px; margin-top: 9px; background: var(--lime); }

.dimensions { padding-bottom: 0; }
.dimension-stack { margin: 0 clamp(24px, 5vw, 90px); border-top: 1px solid var(--ink); }
.dimension-stack article { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, .55fr); align-items: center; gap: 20px; min-height: 180px; border-bottom: 1px solid var(--ink); overflow: hidden; }
.dimension-stack h3 { margin: 0; font: 520 clamp(52px, 6vw, 96px)/.84 var(--display); letter-spacing: -.04em; }
.dimension-stack p { margin: 0; font-size: 16px; line-height: 1.3; }
.harness-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 36px clamp(24px, 5vw, 90px) 0; padding: 20px; border: 1px solid var(--ink); background: var(--lime); }
.harness-note b { font: 500 11px var(--mono); }
.harness-note span { max-width: 620px; font-size: 14px; }

.lane-cluster { margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid #43504d; }
.lane-cluster > h3 { margin: 0; padding: 28px clamp(24px, 5vw, 90px); border-bottom: 1px solid #43504d; font: 500 clamp(28px, 3vw, 48px)/1 var(--display); }
.lane-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.lane-grid article { min-height: 280px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid #43504d; border-bottom: 1px solid #43504d; }
.lane-grid h3 { margin: auto 0 20px; font: 400 clamp(28px, 2.4vw, 43px)/.95 var(--serif); }
.lane-grid p { min-height: 75px; margin: 0; color: #aab4b1; line-height: 1.35; }
.lane-grid small { margin-top: 30px; font: 400 9px var(--mono); }
.native-lane { background: var(--blue); }

.frontier { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: clamp(68px, 7vw, 110px) clamp(24px, 5vw, 90px); border-bottom: 1px solid #43504d; }
.frontier h2 { grid-column: auto; font-size: clamp(56px, 6.6vw, 96px); }
.frontier-chart { position: relative; align-self: stretch; min-height: 520px; border: 1px solid #43504d; background-image: linear-gradient(#283432 1px, transparent 1px), linear-gradient(90deg, #283432 1px, transparent 1px); background-size: 54px 54px; }
.frontier-chart svg { position: absolute; inset: 145px 24px 92px; width: calc(100% - 48px); height: calc(100% - 237px); }
.frontier-chart text { fill: #aeb8b5; font: 400 12px var(--mono); }
.frontier-chart .chart-row { font-size: 11px; }
.frontier-chart .active, .frontier-chart .saving-label { fill: var(--lime); }
.baseline-bar { fill: #59615f; }
.saving-bar { fill: var(--lime); transform-box: fill-box; transform-origin: left; transition: transform 900ms cubic-bezier(.16,1,.3,1); }
.motion-ready .frontier-chart:not(.is-visible) .saving-bar { transform: scaleX(.04); }
.target-range { fill: rgba(156,247,200,.28); stroke: var(--lime); stroke-width: 1; stroke-dasharray: 4 3; transition: opacity 350ms 620ms ease-out; }
.motion-ready .frontier-chart:not(.is-visible) .target-range { opacity: 0; }
.frontier-chart .axis, .frontier-chart .ticks path, .saving-bracket { fill: none; stroke: #75807d; stroke-width: 1; }
.saving-bracket { stroke: var(--lime); }
.bar-value { fill: var(--white) !important; font-size: 12px !important; }
.axis-title, .ticks text, .saving-label { font-size: 10px !important; letter-spacing: .04em; }
.frontier-chart strong { position: absolute; left: 26px; top: 24px; color: var(--lime); font: 500 clamp(42px, 5vw, 74px)/1 var(--display); letter-spacing: -.04em; }
.frontier-chart strong span { display: block; margin-top: 7px; color: #9eaaa6; font: 400 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.frontier-chart p { position: absolute; left: 25px; bottom: 24px; max-width: 340px; margin: 0; color: #9eaaa6; font: 400 10px/1.5 var(--mono); }

.architecture { padding-bottom: clamp(70px, 9vw, 150px); }
.architecture-map { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 14px; margin: 0 clamp(24px, 5vw, 90px) 0 clamp(24px, 11vw, 210px); padding: 56px 32px 32px; border: 1px solid var(--ink); background: var(--white); }
.arch-rail { position: absolute; z-index: 0; top: 88px; left: 32px; width: calc(100% - 64px); height: 80px; overflow: visible; }
.arch-flow, .arch-arrow { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.arch-flow { stroke-dasharray: 900; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.16,1,.3,1); }
.motion-ready .architecture-map:not(.is-visible) .arch-flow { stroke-dashoffset: 900; }
.arch-stage { position: relative; z-index: 1; min-width: 0; min-height: 220px; padding: 18px; border: 1px solid var(--ink); background: var(--white); }
.arch-stage span { float: right; color: var(--muted); font: 400 9px var(--mono); }
.arch-stage b, .arch-routes b, .arch-evidence b, .arch-control b, .arch-bypass b { display: block; font: 500 12px var(--mono); text-transform: uppercase; }
.arch-stage p, .arch-evidence p, .arch-control p { margin: 42px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.arch-pin { background: var(--lime); }
.arch-pin p { color: #34423c; }
.arch-routes { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, .7fr) repeat(3, 1fr); border: 1px solid var(--ink); background: var(--white); }
.arch-routes h3 { margin: 0; padding: 21px; font: 500 18px var(--display); }
.arch-routes div { min-width: 0; min-height: 110px; padding: 21px; border-left: 1px solid var(--ink); }
.arch-routes small { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }
.arch-evidence, .arch-control { min-height: 145px; padding: 22px; border: 1px solid var(--ink); }
.arch-evidence { grid-column: 1 / 4; }
.arch-control { grid-column: 4 / -1; background: var(--blue); }
.arch-evidence p, .arch-control p { margin-top: 18px; max-width: 62ch; }
.arch-bypass { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--white); background: var(--night); }
.arch-bypass b { display: inline; margin-right: 18px; color: var(--lime); }

.developers { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #43504d; }
.developers-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 7vw, 110px) clamp(24px, 5vw, 90px); border-right: 1px solid #43504d; }
.developers-copy h2 { margin: 0 0 45px; font: 520 clamp(58px, 6.2vw, 96px)/.84 var(--display); letter-spacing: -.04em; }
.developers-copy > p:nth-last-of-type(1) { max-width: 470px; margin: 0 0 35px; color: #aab4b1; font-size: 18px; }
.terminal { align-self: center; margin: 40px; border: 1px solid #53615d; background: #0a100f; box-shadow: 15px 15px 0 var(--lime); }
.terminal-bar { display: flex; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #53615d; color: #8d9995; font: 400 9px var(--mono); }
.terminal pre { min-height: 390px; margin: 0; padding: clamp(25px, 4vw, 60px); overflow: auto; font: 400 clamp(13px, 1.2vw, 18px)/2.1 var(--mono); }
.terminal code span { color: var(--lime); }
.terminal > p { margin: 0; padding: 16px 20px; border-top: 1px solid #53615d; color: #8d9995; font: 400 9px var(--mono); }

.about-section { border-bottom: 1px solid var(--ink); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; }
.about-heading, .about-story { min-width: 0; padding: clamp(52px, 5vw, 82px) clamp(24px, 5vw, 90px); }
.about-heading { background: var(--paper); }
.about-label, .about-role { font: 500 10px/1.4 var(--mono); letter-spacing: .13em; }
.about-heading h2 { margin: 38px 0 0; font: 500 clamp(50px, 5.3vw, 86px)/.88 var(--display); letter-spacing: -.045em; }
.about-story { display: flex; flex-direction: column; justify-content: center; gap: 28px; border-left: 1px solid var(--ink); background: var(--lime); }
.about-story p { max-width: 560px; margin: 0; font-size: clamp(19px, 1.55vw, 25px); line-height: 1.28; }
.about-story p + p { font-size: clamp(16px, 1.15vw, 19px); }
.about-team-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px clamp(24px, 5vw, 90px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.about-team-heading h3 { max-width: 560px; margin: 0; font: 500 clamp(20px, 2vw, 30px)/1.1 var(--display); letter-spacing: -.03em; }
.about-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-person { display: flex; align-items: flex-start; gap: clamp(20px, 2vw, 32px); min-width: 0; padding: clamp(28px, 3vw, 48px) clamp(24px, 5vw, 90px); }
.about-person + .about-person { border-left: 1px solid var(--ink); }
.about-person img { width: clamp(100px, 9vw, 144px); height: clamp(100px, 9vw, 144px); flex: none; object-fit: cover; filter: grayscale(1); }
.about-person h4 { margin: 8px 0 12px; font: 500 clamp(28px, 2.6vw, 40px)/1 var(--display); letter-spacing: -.035em; }
.about-person p { max-width: 330px; margin: 0 0 18px; color: #4c5551; font-size: 15px; line-height: 1.4; }
.about-person a { display: inline-flex; gap: 15px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font: 500 10px var(--mono); letter-spacing: .1em; text-decoration: none; }
.about-person a:hover, .about-person a:focus-visible { color: var(--orange); }

.faq-list { margin-left: clamp(24px, 19vw, 365px); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; min-height: 112px; padding: 24px clamp(24px, 5vw, 90px) 24px 30px; cursor: pointer; list-style: none; font-size: clamp(22px, 2.5vw, 42px); }
.faq summary::after { content: "+"; font: 300 30px var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--white); background: var(--night); }
.faq details p { max-width: 780px; margin: 0; padding: 30px clamp(24px, 5vw, 90px) 38px 30px; font: 400 clamp(17px, 1.3vw, 22px)/1.35 var(--serif); }

footer { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 90px) 24px; color: var(--white); background: var(--night); border-top: 1px solid #43504d; }
.footer-lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); align-items: start; gap: 32px; padding-bottom: clamp(70px, 10vw, 150px); }
footer nav b { margin: 0; color: #94a09c; font: 500 9px var(--mono); letter-spacing: .1em; }
.footer-lead h2 { min-width: 0; margin: 0; font: 500 clamp(44px, 5.2vw, 84px)/.9 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.footer-lead > div { justify-self: end; width: min(100%, 390px); }
.footer-lead p { margin: 0 0 28px; color: #aab4b1; font-size: 18px; line-height: 1.3; }
.footer-lead .action { width: 100%; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 28px; margin-left: 33.33%; padding: 34px 0 70px; border-top: 1px solid #43504d; }
footer nav { display: grid; align-content: start; gap: 14px; }
footer nav b { margin-bottom: 10px; }
footer nav a { width: max-content; text-decoration: none; }
.footer-wordmark { margin-left: -.045em; white-space: nowrap; font: 500 clamp(82px, 15.8vw, 300px)/.75 var(--display); letter-spacing: -.075em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #43504d; color: #94a09c; font: 400 10px var(--mono); }

.dimension-stack article { z-index: 0; padding-inline: 22px; }
.native-lane, .native-lane p { color: var(--ink); }
.terminal { box-shadow: 0 26px 60px rgba(0,0,0,.28); }
footer nav a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
footer nav a:focus-visible { text-decoration: underline; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 220px 1fr 160px; }
  .section-grid { grid-template-columns: 1fr 1fr; }
  .desktop-nav { gap: 20px; }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr); }
  .steps li { grid-template-columns: .65fr 1.1fr; }
  .steps small { display: none; }
  .lane-grid { grid-template-columns: repeat(2, 1fr); }
  .native-lane { grid-column: 1 / -1; min-height: 220px; }
  .architecture-map { margin-left: clamp(24px, 7vw, 84px); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr 120px; }
  .brand { border-right: 1px solid var(--ink); }
  .desktop-nav, .header-github, .header-cta { display: none; }
  .menu-button { display: flex; color: var(--night); background: var(--lime); border-right: 0; cursor: pointer; }
  .mobile-menu { position: fixed; z-index: 90; inset: 64px 0 auto; display: grid; color: var(--night); background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) { animation: menuIn 180ms ease-out both; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
  .mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 22px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 28px; }
  .mobile-menu span { font: 400 10px var(--mono); }
  .menu-open { overflow: hidden; }
  .section-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: calc(92svh - 64px); border-right: 0; border-bottom: 1px solid var(--ink); }
  .display-title { font-size: clamp(92px, 24vw, 170px); }
  .hero-demo { display: flex; flex-direction: column; min-height: 720px; }
  .hero-demo .demo-topline { order: 0; }
  .hero-demo .route-graph { order: 1; flex: 1; }
  .hero-demo blockquote { order: 2; min-height: 150px; border-right: 0; }
  .hero-demo .analysis-strip { order: 3; }
  .hero-demo .decision-output { order: 4; }
  .hero-demo .demo-basis { order: 5; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 0; font-size: clamp(58px, 14vw, 96px); overflow-wrap: anywhere; }
  .section-heading > p:last-child { margin-top: 50px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li h3 { font-size: 45px; }
  .steps li p { grid-column: 1; }
  .examples, .developers { grid-template-columns: 1fr; }
  .examples-copy, .developers-copy { border-right: 0; border-bottom: 1px solid #43504d; }
  .dimension-stack, .harness-note, .architecture-map { margin-left: 24px; margin-right: 24px; }
  .dimension-stack article { grid-template-columns: 1fr; padding: 30px 0; }
  .dimension-stack p { grid-column: 1; }
  .harness-note { align-items: flex-start; flex-direction: column; }
  .frontier { grid-template-columns: 1fr; }
  .frontier-chart { min-height: 520px; }
  .architecture-map { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding: 16px; }
  .arch-rail { display: none; }
  .arch-stage { min-height: 0; }
  .arch-stage p { margin-top: 28px; }
  .arch-routes { grid-column: 1; grid-template-columns: 1fr; }
  .arch-routes div { min-height: auto; border-top: 1px solid var(--ink); border-left: 0; }
  .arch-evidence, .arch-control, .arch-bypass { grid-column: 1; }
  .terminal { margin: 24px; }
  .about-intro, .about-team { grid-template-columns: 1fr; }
  .about-story, .about-person + .about-person { border-top: 1px solid var(--ink); border-left: 0; }
  .faq-list { margin-left: 24px; }
  .footer-lead { grid-template-columns: 1fr; }
  .footer-lead > div { justify-self: start; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 520px) {
  .site-header { height: 58px; grid-template-columns: 1fr 104px; }
  .brand, .menu-button { min-height: 58px; padding: 0 14px; }
  .mobile-menu { inset-block-start: 58px; }
  .mobile-menu a { min-height: 72px; font-size: 24px; }
  .hero-copy { min-height: calc(87svh - 58px); padding: 28px 16px 20px; }
  .display-title { font-size: clamp(74px, 25vw, 120px); line-height: .78; }
  .hero-intro { grid-template-columns: 1fr; gap: 14px; }
  .hero-actions { flex-direction: column; }
  .action { width: 100%; }
  .action-light { border-top: 0; border-left: 1px solid var(--ink); }
  .hero-demo { min-height: 670px; }
  .hero-demo blockquote { min-height: 125px; }
  .analysis-strip span { padding: 12px 10px; }
  .route-graph { min-height: 0; padding-block: 24px; }
  .route-flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { min-height: 100px; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .decision-output { grid-template-columns: 1fr; }
  .decision-output div { border-right: 0; border-bottom: 1px solid #43504d; }
  .section-heading, .examples-copy, .developers-copy, .frontier { padding-left: 16px; padding-right: 16px; }
  .examples-copy h2, .frontier h2, .developers-copy h2, .about-heading h2, .section-heading h2 { font-size: clamp(48px, 15vw, 78px); line-height: .82; }
  .steps li { padding: 28px 16px; }
  .example-tabs button { min-height: 100px; padding: 0 16px; grid-template-columns: 1fr; font-size: 24px; }
  .example-tabs button.active { color: var(--night); background: var(--lime); }
  .example-result { margin: 0; }
  .example-result dl { grid-template-columns: 1fr; }
  .example-result dl div { border-right: 0; border-bottom: 1px solid #43504d; }
  .examples-note { padding: 26px 16px; }
  .dimension-stack, .harness-note, .architecture-map { margin-left: 16px; margin-right: 16px; }
  .dimension-stack h3 { font-size: 44px; }
  .lane-grid { grid-template-columns: 1fr; }
  .native-lane { grid-column: auto; }
  .lane-grid article { min-height: 280px; border-right: 0; }
  .frontier-chart { min-height: 420px; }
  .arch-bypass b { display: block; margin: 0 0 10px; }
  .terminal { margin: 16px; box-shadow: 8px 8px 0 var(--lime); }
  .terminal pre { min-height: 320px; white-space: pre-wrap; }
  .faq-list { margin-left: 16px; }
  .faq summary { grid-template-columns: 1fr auto; min-height: 88px; padding: 20px 16px; font-size: 21px; }
  .faq details p { padding: 24px 16px 32px; }
  footer { padding: 64px 16px 20px; }
  .footer-lead { display: block; padding-bottom: 70px; }
  .footer-lead h2 { margin: 22px 0 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; padding-bottom: 60px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  footer nav a { display: flex; align-items: center; min-height: 44px; }
}

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