:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --bg-soft: #111319;
  --panel: rgba(21, 23, 29, 0.86);
  --panel-solid: #15171d;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(255, 255, 255, 0.18);
  --text: #f5f2eb;
  --muted: #9d9b96;
  --orange: #f7a23b;
  --orange-bright: #ffc36b;
  --orange-dark: #5f3916;
  --green: #74d2a1;
  --blue: #8ca9ff;
  --max: 1180px;
  --radius: 24px;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { background: var(--orange); color: #18100a; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.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;
}
.ambient {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
}
.ambient-one { width: 480px; height: 480px; right: -170px; top: 120px; background: rgba(247, 162, 59, .12); }
.ambient-two { width: 360px; height: 360px; left: -220px; top: 880px; background: rgba(89, 114, 220, .07); }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 740; letter-spacing: -.02em; }
.brand-mark { width: 29px; height: 29px; color: var(--orange); }
.beta {
  color: var(--muted);
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 32px; color: #c0beba; font-size: 13px; font-weight: 580; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  color: var(--text);
  background: rgba(255,255,255,.035);
}
.site-nav .nav-cta:hover { border-color: rgba(247,162,59,.5); color: var(--orange-bright); }
.menu-button { display: none; }

.hero {
  min-height: 720px;
  padding: 78px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(52px, 7vw, 98px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--orange-bright);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(116,210,161,.1); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 6.2vw, 87px);
  line-height: .98;
  letter-spacing: -.064em;
  font-weight: 720;
}
.hero h1 span { color: var(--orange); }
.hero-lede {
  max-width: 620px;
  margin: 30px 0 0;
  color: #b5b3ae;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  letter-spacing: -.018em;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #191109; box-shadow: 0 10px 34px rgba(247,162,59,.16); }
.button-primary:hover { background: var(--orange-bright); }
.button-secondary { border-color: var(--line-bright); background: rgba(255,255,255,.025); color: var(--text); }
.button-secondary:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.05); }
.hero-proof { margin-top: 54px; display: flex; gap: clamp(28px, 4vw, 46px); }
.hero-proof div { display: flex; flex-direction: column; gap: 5px; }
.hero-proof strong { font-size: 20px; letter-spacing: -.04em; }
.hero-proof span { color: #777873; font-family: var(--mono); font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }

.agent-window {
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(16, 18, 23, .9);
  box-shadow: 0 35px 100px rgba(0,0,0,.46), 0 0 0 1px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}
.window-bar { height: 49px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); color: #737570; font-family: var(--mono); font-size: 9px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3b3e42; }
.window-status { justify-self: end; display: flex; align-items: center; gap: 6px; color: #8d8f89; }
.window-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(116,210,161,.8); }
.mission-card { padding: 22px 22px 20px; border-bottom: 1px solid var(--line); }
.mission-label { margin-bottom: 9px; color: #777a75; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.mission-card p { margin: 0; color: #dedbd4; font-size: 13px; line-height: 1.6; }
.terminal { padding: 17px 22px 12px; }
.terminal-line { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; min-height: 34px; color: #747671; font-family: var(--mono); font-size: 10px; transition: color .25s ease; }
.terminal-line .line-icon { color: #454843; }
.terminal-line b { color: #676965; font-size: 9px; font-weight: 500; }
.terminal-line.active { color: var(--text); }
.terminal-line.active .line-icon, .terminal-line.done .line-icon { color: var(--orange); }
.terminal-line.done { color: #a5a7a1; }
.terminal-line.done b { color: var(--green); }
.result-panel { margin: 0 22px 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #0c0e12; color: #7f817c; font-family: var(--mono); font-size: 10px; line-height: 1.65; opacity: .45; transform: translateY(3px); transition: opacity .35s ease, transform .35s ease, border-color .35s ease; }
.result-panel.visible { opacity: 1; transform: translateY(0); border-color: rgba(116,210,161,.2); }
.code-line.indent { padding-left: 16px; }
.code-key { color: #a9bdff; }
.code-string { color: #f2b56d; }
.run-button { width: calc(100% - 44px); min-height: 45px; margin: 0 22px 9px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid rgba(247,162,59,.3); border-radius: 10px; background: rgba(247,162,59,.08); color: var(--orange-bright); cursor: pointer; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; transition: background .2s ease, border-color .2s ease; }
.run-button:hover { background: rgba(247,162,59,.14); border-color: rgba(247,162,59,.5); }
.run-button:disabled { cursor: wait; opacity: .7; }
.play-icon { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; }
.demo-note { margin: 0 20px 14px; color: #555752; text-align: center; font-size: 9px; line-height: 1.4; }

.launch-wrap { padding-bottom: 150px; }
.launch-card { padding: clamp(26px, 4vw, 46px); display: grid; grid-template-columns: .78fr 1.22fr; align-items: end; gap: 60px; border: 1px solid rgba(247,162,59,.22); border-radius: var(--radius); background: linear-gradient(110deg, rgba(247,162,59,.08), rgba(17,19,25,.9) 38%); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.launch-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; }
.launch-copy p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.action-tabs { display: flex; gap: 8px; margin-bottom: 11px; }
.action-tabs label { cursor: pointer; }
.action-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.action-tabs span { display: block; padding: 8px 11px; border-radius: 8px; color: #858782; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; transition: background .2s ease, color .2s ease; }
.action-tabs input:checked + span { color: var(--text); background: rgba(255,255,255,.08); }
.action-tabs input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.url-control { min-height: 58px; padding: 6px 6px 6px 17px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line-bright); border-radius: 13px; background: #0d0f13; }
.url-icon { color: #666862; font-size: 20px; transform: rotate(-20deg); }
.url-control input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-family: var(--mono); font-size: 12px; }
.url-control button { align-self: stretch; padding: 0 17px; border: 0; border-radius: 9px; background: var(--orange); color: #1a1108; cursor: pointer; font-size: 11px; font-weight: 800; }
.form-error { min-height: 16px; margin: 7px 0 0; color: #ff8e80; font-size: 10px; }

.difference, .benchmark, .fit { padding-bottom: 170px; }
.section-heading { max-width: 670px; margin-bottom: 60px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.055em; font-weight: 700; }
.section-heading > p:last-child { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { min-height: 340px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(26,28,34,.8), rgba(16,18,23,.8)); }
.feature-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 50%, rgba(255,255,255,.02)); }
.feature-large { grid-column: 1 / -1; min-height: 430px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; }
.feature-icon { position: absolute; left: 32px; top: 32px; }
.isolate-icon { width: 50px; height: 50px; }
.isolate-icon span { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(247,162,59,.55); transform: rotate(30deg) skew(-4deg); }
.isolate-icon span:nth-child(2) { left: 9px; top: 9px; opacity: .6; }
.isolate-icon span:nth-child(3) { left: 18px; top: 18px; opacity: .3; }
.card-kicker { margin: 0 0 11px; color: var(--orange); font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.feature-card h3 { max-width: 440px; margin: 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.feature-card p:last-child { max-width: 475px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-number { margin-bottom: 110px; color: #494b47; font-family: var(--mono); font-size: 11px; }
.feature-card:not(.feature-large) h3 { font-size: 29px; }
.isolate-map { min-height: 300px; position: relative; }
.map-node { width: 72px; height: 72px; position: absolute; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: #161920; color: #9a9c97; font-family: var(--mono); font-size: 9px; box-shadow: 0 0 0 10px rgba(255,255,255,.012); }
.node-main { width: 96px; height: 96px; left: 42%; top: 34%; border-color: rgba(247,162,59,.48); color: var(--orange-bright); background: #1a1714; box-shadow: 0 0 50px rgba(247,162,59,.08); }
.node-one { left: 2%; top: 8%; }.node-two { right: 2%; top: 8%; }.node-three { right: 10%; bottom: 0; }
.map-line { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(247,162,59,.1), rgba(247,162,59,.5)); transform-origin: left; }
.line-one { width: 43%; left: 13%; top: 24%; transform: rotate(24deg); }
.line-two { width: 33%; left: 55%; top: 49%; transform: rotate(-38deg); }
.line-three { width: 30%; left: 55%; top: 55%; transform: rotate(34deg); }

.benchmark-heading { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.benchmark-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.calculator { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line-bright); border-radius: var(--radius); overflow: hidden; background: rgba(16,18,23,.86); }
.calc-controls { padding: 32px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.calc-controls fieldset { margin: 0; padding: 0; border: 0; }
.calc-controls legend, .range-label label { margin-bottom: 12px; color: #777974; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #0d0f13; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { min-height: 38px; display: grid; place-items: center; border-radius: 7px; color: #777974; font-size: 10px; text-align: center; }
.segmented input:checked + span { background: #25282f; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.segmented input:focus-visible + span { outline: 2px solid var(--orange); }
.range-group { margin-top: 36px; }
.range-label { display: flex; align-items: center; justify-content: space-between; }
.range-label label { margin: 0; }
.range-label output { color: var(--orange-bright); font-family: var(--mono); font-size: 14px; }
.range-group input[type="range"] { width: 100%; height: 4px; margin: 22px 0 0; appearance: none; border-radius: 99px; outline: 0; background: linear-gradient(90deg, var(--orange) 18.4%, #373940 18.4%); }
.range-group input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 4px solid #1a1c21; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px rgba(247,162,59,.7); cursor: grab; }
.range-group input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 4px solid #1a1c21; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px rgba(247,162,59,.7); cursor: grab; }
.range-edges { margin-top: 9px; display: flex; justify-content: space-between; color: #52544f; font-family: var(--mono); font-size: 8px; }
.calc-summary { margin-top: 38px; padding: 20px; border: 1px solid rgba(247,162,59,.18); border-radius: 12px; background: rgba(247,162,59,.055); }
.calc-summary p { margin: 0 0 8px; color: #8c8e88; font-size: 11px; }
.calc-summary strong { display: block; color: var(--orange-bright); font-size: 27px; letter-spacing: -.04em; }
.calc-summary span { display: block; margin-top: 4px; color: #686a65; font-size: 10px; line-height: 1.5; }
.comparison { padding: 22px 32px 25px; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 35px; }
.compare-head { min-height: 36px; align-items: start; border-bottom: 1px solid var(--line); color: #5f615c; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.compare-head span:not(:first-child) { color: #8e908b; }
.compare-row { min-height: 112px; align-items: center; border-bottom: 1px solid var(--line); }
.compare-row > div { min-width: 0; }
.compare-row strong, .compare-row > div:first-child span { display: block; }
.compare-row strong { margin-bottom: 5px; font-size: 13px; }
.compare-row > div:first-child span { color: #656762; font-size: 10px; }
.compare-row b { display: block; margin-bottom: 10px; color: #babcb6; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.compare-row > div:nth-child(2) b { color: var(--orange-bright); }
.compare-row i { width: 100%; height: 4px; display: block; overflow: hidden; border-radius: 99px; background: #292b31; }
.compare-row em { width: 0; height: 100%; display: block; border-radius: inherit; background: #686b70; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.compare-row > div:nth-child(2) em { background: var(--orange); }
.tradeoff-note { padding: 21px 0 0; display: flex; gap: 12px; color: #646661; }
.tradeoff-note > span { color: var(--orange); }
.tradeoff-note p { margin: 0; font-size: 10px; line-height: 1.6; }
.tradeoff-note strong { color: #9b9d97; }
.source-note { margin: 15px 6px 0; color: #555752; font-size: 9px; line-height: 1.6; }
.source-note a { color: #8e908b; text-decoration: underline; text-decoration-color: #51534e; text-underline-offset: 3px; }

.connection { padding-bottom: 170px; }
.connection-card { padding: clamp(30px, 6vw, 72px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 15% 40%, rgba(247,162,59,.1), transparent 38%), #121419; }
.connection-copy h2 { margin: 0; font-size: clamp(38px, 4.7vw, 58px); line-height: 1.04; letter-spacing: -.055em; }
.connection-copy > p:not(.eyebrow) { margin: 21px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.connection-copy > a { color: var(--orange-bright); font-size: 12px; font-weight: 700; }
.code-window { min-width: 0; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 14px; background: #090b0e; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.code-tabs { height: 45px; padding: 0 14px 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: #777974; font-family: var(--mono); font-size: 9px; }
.code-tabs button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #8f918b; cursor: pointer; font-size: 8px; }
.code-tabs button:hover { border-color: var(--line-bright); color: var(--text); }
.code-window pre { margin: 0; padding: 22px; overflow-x: auto; color: #b2b4ae; font-family: var(--mono); font-size: 10px; line-height: 1.75; }
.code-fade { color: #686a65; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.fit-title { display: flex; align-items: center; gap: 13px; }
.fit-title span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-family: var(--mono); font-size: 12px; }
.fit-yes .fit-title span { background: rgba(116,210,161,.1); color: var(--green); }
.fit-notyet .fit-title span { background: rgba(140,169,255,.1); color: var(--blue); }
.fit-title h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.fit-card ul { margin: 32px 0 0; padding: 0; list-style: none; }
.fit-card li { padding: 15px 0 15px 22px; position: relative; border-top: 1px solid var(--line); color: #a3a59f; font-size: 13px; line-height: 1.5; }
.fit-card li::before { content: ""; width: 5px; height: 5px; position: absolute; left: 1px; top: 22px; border-radius: 50%; background: #4c4e49; }
.fit-yes li::before { background: var(--green); }.fit-notyet li::before { background: var(--blue); }

.final-cta { min-height: 650px; padding: 100px 24px 150px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; text-align: center; }
.final-cta::before { content: ""; width: 700px; height: 450px; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(247,162,59,.1), transparent 67%); }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { margin: 0; font-size: clamp(49px, 7vw, 86px); line-height: .98; letter-spacing: -.065em; }
.final-cta .hero-actions { justify-content: center; }
.kite-art { height: 86px; position: relative; margin-bottom: 48px; }
.kite-shape { width: 48px; height: 48px; display: block; background: var(--orange); transform: rotate(45deg) skew(8deg,8deg); box-shadow: 0 0 50px rgba(247,162,59,.2); }
.kite-tail { width: 18px; height: 1px; position: absolute; left: 30px; top: 50px; background: rgba(247,162,59,.55); transform-origin: left; }
.tail-one { width: 32px; transform: rotate(55deg); }.tail-two { width: 20px; left: 49px; top: 75px; transform: rotate(-20deg); }.tail-three { width: 13px; left: 65px; top: 68px; transform: rotate(48deg); }
.site-footer { min-height: 110px; padding: 30px 0; display: grid; grid-template-columns: 1fr 1.8fr 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #5b5d58; font-size: 9px; line-height: 1.6; }
.site-footer p { margin: 0; }.site-footer p:last-child { text-align: right; }.footer-brand { color: #8e908a; font-size: 14px; }.footer-brand .brand-mark { width: 22px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.error-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(247,162,59,.1), transparent 38%), var(--bg); }
.error-page main { width: min(90%, 680px); text-align: center; }
.error-page .brand { margin-bottom: 70px; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { margin: 0; font-size: clamp(46px, 8vw, 82px); line-height: 1; letter-spacing: -.06em; }
.error-page main > p:not(.eyebrow) { margin: 24px 0 30px; color: var(--muted); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .agent-window { width: min(100%, 600px); margin-inline: auto; }
  .launch-card, .benchmark-heading, .connection-card { grid-template-columns: 1fr; }
  .launch-card, .connection-card { gap: 38px; }
  .calculator { grid-template-columns: 280px 1fr; }
  .connection-card { max-width: 760px; margin-inline: auto; }
}

@media (max-width: 740px) {
  .section-shell, .site-header { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 70px; }
  .menu-button { width: 40px; height: 40px; padding: 0; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-solid); cursor: pointer; }
  .menu-button > span:not(.sr-only) { width: 17px; height: 1px; display: block; background: var(--text); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { width: 100%; padding: 18px; position: absolute; top: 64px; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line-bright); border-radius: 14px; background: rgba(15,17,22,.98); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin-top: 4px; text-align: center; }
  .hero { min-height: 0; padding: 68px 0 110px; grid-template-columns: minmax(0,1fr); gap: 70px; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero h1 br { display: none; }
  .hero-lede { font-size: 16px; }
  .hero-proof { margin-top: 42px; gap: 24px; }
  .hero-proof strong { font-size: 17px; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .window-bar > span:nth-child(2) { display: none; }
  .launch-wrap, .difference, .benchmark, .fit, .connection { padding-bottom: 110px; }
  .launch-card { padding: 26px 18px; }
  .action-tabs { overflow-x: auto; }
  .action-tabs span { padding-inline: 9px; }
  .url-control { grid-template-columns: auto 1fr; padding: 10px 10px 10px 15px; }
  .url-control button { min-height: 42px; grid-column: 1 / -1; }
  .section-heading { margin-bottom: 42px; }
  .feature-grid, .fit-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; min-height: 600px; grid-template-columns: 1fr; align-content: end; }
  .isolate-map { position: absolute; inset: 60px 25px auto 25px; min-height: 280px; }
  .feature-card { min-height: 310px; padding: 26px; }
  .feature-number { margin-bottom: 80px; }
  .calculator { grid-template-columns: 1fr; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparison { padding: 20px 18px; }
  .compare-head, .compare-row { grid-template-columns: 1fr 1fr 1fr; gap: 13px; }
  .compare-row { min-height: 104px; }
  .compare-row b { font-size: 9px; white-space: nowrap; }
  .connection-card { padding: 34px 20px; }
  .code-window pre { font-size: 8px; }
  .fit-card { padding: 27px 23px; }
  .final-cta { min-height: 560px; padding-inline: 8px; }
  .final-cta h2 br { display: none; }
  .site-footer { padding: 35px 0; grid-template-columns: 1fr; text-align: left; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .hero-proof { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .hero-proof span { font-size: 7px; }
  .terminal { padding-inline: 15px; }
  .terminal-line { grid-template-columns: 24px 1fr auto; font-size: 8px; }
  .result-panel { margin-inline: 15px; }
  .run-button { width: calc(100% - 30px); margin-inline: 15px; }
  .compare-head, .compare-row { grid-template-columns: .9fr 1fr 1fr; gap: 8px; }
  .compare-row > div:first-child span { display: none; }
}

@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; }
}
