:root {
  --ink: #101827;
  --ink-soft: #1b2940;
  --night: #08111f;
  --night-soft: #0d1a2d;
  --paper: #f2f5f9;
  --white: #f8fbff;
  --muted: #5f6c7d;
  --line: rgba(16, 24, 39, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #4da3ff;
  --accent-deep: #1479e6;
  --frontier-color: #35a7ff;
  --frontier-deep-color: #0879d9;
  --balanced-color: #9b7cff;
  --balanced-deep-color: #6544d8;
  --efficient-color: #ffb23f;
  --efficient-deep-color: #b96500;
  --orange: #ff8a3d;
  --violet: #9b8cff;
  --blue: #71d4ff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(8, 17, 31, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(8, 17, 31, 0.88);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.nav-shell { height: 76px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 760; letter-spacing: -0.04em; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


.desktop-nav { display: flex; gap: 32px; margin-left: 84px; }
.desktop-nav a, .nav-login { color: rgba(255,255,255,.68); font-size: 14px; font-weight: 550; transition: color 180ms ease; }
.desktop-nav a:hover, .nav-login:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 22px; }

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

.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.button-small { min-height: 40px; padding-inline: 18px; font-size: 13px; }
.button-solid { color: var(--night); background: var(--white); }
.button-solid:hover { background: var(--accent); }
.button-primary { color: var(--night); background: var(--accent); }
.button-primary:hover { background: #78bbff; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-dark { color: var(--white); background: var(--night); }
.button-dark:hover { background: #152843; }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.28); }
.button-outline-light:hover { border-color: var(--white); }

.menu-button { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; place-content: center; gap: 6px; }
.menu-button span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 180ms ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero {
  min-height: 940px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px),
    var(--night);
  background-size: 72px 72px;
  padding: 178px 0 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 34%, rgba(77,163,255,.07), transparent 31%);
  pointer-events: none;
}

.hero-glow { position: absolute; width: 540px; height: 540px; right: -300px; top: 140px; border: 1px solid rgba(77,163,255,.12); border-radius: 50%; box-shadow: 0 0 140px rgba(77,163,255,.06); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(360px, .76fr); gap: 72px; align-items: center; position: relative; }
.hero-copy { max-width: 750px; }


.hero h1 { max-width: 750px; margin: 0 0 34px; line-height: .94; }
.hero h1 strong { display: block; font-size: clamp(54px, 5.25vw, 82px); font-weight: 690; letter-spacing: -.063em; text-transform: none; }
.hero h1 em { display: block; margin-top: 14px; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 3.65vw, 57px); font-weight: 400; letter-spacing: -.045em; }
.hero-proposition { max-width: 690px; margin: 0 0 12px; color: var(--white); font-size: 20px; font-weight: 620; line-height: 1.45; letter-spacing: -.018em; }
.hero-lede { max-width: 650px; margin: 0; color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: rgba(255,255,255,.46); font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof svg { width: 15px; fill: none; stroke: var(--accent); stroke-width: 1.7; }

.router-demo { width: 100%; max-width: 445px; justify-self: end; position: relative; border: 1px solid rgba(255,255,255,.12); background: rgba(12,27,47,.78); box-shadow: 0 42px 110px rgba(0,0,0,.42); backdrop-filter: blur(18px); }
.router-demo::before { content: ""; position: absolute; inset: -1px; border: 1px solid transparent; border-image: linear-gradient(145deg, rgba(77,163,255,.38), transparent 38%) 1; pointer-events: none; }
.demo-topbar { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.demo-topbar > div { display: flex; align-items: center; gap: 12px; }
.demo-label { font-size: 12px; font-weight: 650; }
.live-status { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.live-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
.demo-window-controls { display: flex; gap: 5px; }
.demo-window-controls i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.2); }

.demo-model { margin: 18px; padding: 14px 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; color: rgba(255,255,255,.48); background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.demo-model strong { color: var(--accent); font-size: 11px; font-weight: 500; }
.demo-model button, .code-topbar button { padding: 0; display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.42); border: 0; background: transparent; cursor: pointer; font-size: 9px; }
.demo-model button:hover, .code-topbar button:hover { color: var(--white); }
.demo-model svg, .code-topbar svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.route-list { padding: 0 18px 18px; display: grid; gap: 8px; }
.route-row { min-height: 82px; padding: 13px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); transition: border-color 250ms ease, background 250ms ease, transform 250ms ease; }
.route-row.active { transform: translateX(-5px); }
.route-row.active:has(.route-frontier) { border-color: rgba(53,167,255,.42); background: rgba(53,167,255,.06); }
.route-row.active:has(.route-balanced) { border-color: rgba(155,124,255,.42); background: rgba(155,124,255,.06); }
.route-row.active:has(.route-efficient) { border-color: rgba(255,178,63,.42); background: rgba(255,178,63,.06); }
.route-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.route-icon span { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 5px currentColor; }
.route-frontier { color: rgba(53,167,255,.25); }.route-frontier span { background: var(--frontier-color); }
.route-balanced { color: rgba(155,124,255,.25); }.route-balanced span { background: var(--balanced-color); }
.route-efficient { color: rgba(255,178,63,.25); }.route-efficient span { background: var(--efficient-color); }
.route-info { min-width: 0; display: grid; gap: 4px; }
.route-info strong { overflow: hidden; color: rgba(255,255,255,.86); font-size: 12px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.route-info span { overflow: hidden; color: rgba(255,255,255,.34); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.route-tier { display: grid; justify-items: end; gap: 7px; }
.route-tier strong { color: rgba(255,255,255,.7); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 500; }

.tier { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tier-frontier { color: #69bdff; background: rgba(53,167,255,.12); border: 1px solid rgba(53,167,255,.32); }
.tier-balanced { color: #b7a2ff; background: rgba(155,124,255,.12); border: 1px solid rgba(155,124,255,.32); }
.tier-efficient { color: #ffc66e; background: rgba(255,178,63,.12); border: 1px solid rgba(255,178,63,.32); }
.demo-summary { min-height: 76px; padding: 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-top: 1px solid var(--line-dark); }
.demo-summary > div { display: grid; gap: 4px; }
.demo-summary > div + div { padding-left: 15px; border-left: 1px solid var(--line-dark); }
.demo-summary span { color: rgba(255,255,255,.36); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.demo-summary strong { font-size: 16px; font-weight: 570; }
.demo-summary small { color: rgba(255,255,255,.35); font-size: 8px; font-weight: 400; }
.demo-summary .saved strong { color: var(--accent); }

.trust-line { position: relative; margin-top: 100px; padding-top: 27px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.3); }
.trust-line > span { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.trust-items { display: flex; align-items: center; gap: 42px; }
.trust-items b { color: rgba(255,255,255,.47); font-size: 13px; font-weight: 620; letter-spacing: -.02em; }

.section { padding: 136px 0; }
.section-light { background: var(--paper); }
.section-heading { max-width: 1100px; margin-bottom: 50px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); column-gap: 72px; align-items: end; }
.section-heading h2, .calculator-copy h2, .developer-copy h2, .transparency-copy h2, .faq-intro h2, .final-cta h2 { margin: 14px 0 0; font-size: clamp(46px, 5.7vw, 78px); line-height: 1.02; letter-spacing: -.063em; font-weight: 620; }
.section-heading h2 span, .calculator-copy h2 span, .developer-copy h2 span, .transparency-copy h2 span, .final-cta h2 span { display: block; }
.heading-title { min-width: 0; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.kicker { color: #1769aa; font-size: 10px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.kicker-dark { color: var(--accent); }
.kicker-lime { color: var(--accent); }
.smartroute-callout { min-height: 92px; margin-bottom: 14px; padding: 20px 24px; display: grid; grid-template-columns: 190px 1fr auto; gap: 26px; align-items: center; color: var(--white); background: var(--night); border: 1px solid rgba(77,163,255,.22); }
.smartroute-callout > div { display: flex; align-items: center; gap: 12px; }
.smartroute-mark { min-height: 24px; padding: 0 9px; display: inline-flex; align-items: center; color: var(--night); background: var(--accent); border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.smartroute-callout strong { font-size: 18px; letter-spacing: -.035em; }
.smartroute-callout p { max-width: 580px; margin: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }
.smartroute-callout code { padding: 8px 10px; color: var(--accent); background: rgba(77,163,255,.08); border: 1px solid rgba(77,163,255,.16); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier-card { min-height: 410px; position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--line); background: rgba(255,255,255,.25); }
.card-frontier { border-top: 3px solid var(--frontier-color); }
.card-balanced { border-top: 3px solid var(--balanced-color); }
.card-efficient { border-top: 3px solid var(--efficient-color); }
.tier-card-head { display: flex; justify-content: space-between; align-items: center; }
.tier-card-head > span:last-child { color: #a7aa9e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.tier-card .tier-frontier { color: #0867ac; border-color: rgba(8,103,172,.25); background: rgba(53,167,255,.15); }
.tier-card .tier-balanced { color: #5535bd; border-color: rgba(85,53,189,.24); background: rgba(155,124,255,.15); }
.tier-card .tier-efficient { color: #8a4b00; border-color: rgba(138,75,0,.25); background: rgba(255,178,63,.18); }
.tier-orbit { width: 150px; height: 150px; margin: 38px auto 34px; position: relative; border: 1px solid currentColor; border-radius: 50%; }
.tier-orbit::before, .tier-orbit::after { content: ""; position: absolute; inset: 30px; border: 1px solid currentColor; border-radius: 50%; opacity: .7; }
.tier-orbit::after { inset: 52px; background: currentColor; opacity: 1; box-shadow: 0 0 60px currentColor; }
.tier-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tier-orbit i:nth-child(1) { left: 11px; top: 35px; }.tier-orbit i:nth-child(2) { right: 17px; bottom: 26px; }.tier-orbit i:nth-child(3) { left: 64px; bottom: -4px; }
.orbit-frontier { color: rgba(53,167,255,.4); }.orbit-frontier::after, .orbit-frontier i { color: var(--frontier-deep-color); }
.orbit-balanced { color: rgba(155,124,255,.4); }.orbit-balanced::after, .orbit-balanced i { color: var(--balanced-color); }
.orbit-efficient { color: rgba(255,178,63,.42); }.orbit-efficient::after, .orbit-efficient i { color: var(--efficient-deep-color); }
.tier-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.04em; }
.tier-card p { min-height: 52px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.use-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.use-list span { padding: 5px 8px; border: 1px solid var(--line); color: #6f7368; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }

.calculator-section { color: var(--white); background: var(--night); }
.calculator-grid { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: 76px; align-items: center; }
.calculator-copy h2 { max-width: 520px; }
.calculator-copy > p { max-width: 470px; color: rgba(255,255,255,.5); line-height: 1.7; }
.quote-block { max-width: 390px; margin-top: 70px; padding-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; border-top: 1px solid var(--line-dark); }
.quote-block > span { color: var(--accent); font-family: Georgia, serif; font-size: 45px; line-height: 1; }
.quote-block p { margin: 7px 0 0; color: rgba(255,255,255,.68); font-family: Georgia, serif; font-size: 17px; font-style: italic; line-height: 1.55; }
.calculator { padding: 34px; border: 1px solid rgba(255,255,255,.13); background: #0d1a2d; box-shadow: 0 32px 90px rgba(0,0,0,.26); }
.calculator-header { display: flex; align-items: center; justify-content: space-between; }
.calculator-header > div { display: grid; gap: 3px; }
.calculator-header span { color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.calculator-header strong { font-size: 24px; font-weight: 600; }
.illustrative { padding: 6px 9px; color: rgba(255,255,255,.56)!important; border: 1px solid rgba(255,255,255,.2); font-size: 9px!important; }
.volume-slider { width: 100%; height: 5px; margin: 28px 0 26px; appearance: none; border-radius: 10px; background: linear-gradient(to right, var(--accent) 0 22%, rgba(255,255,255,.12) 22%); outline: none; cursor: pointer; }
.volume-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
.volume-slider::-webkit-slider-thumb { width: 17px; height: 17px; appearance: none; border: 4px solid var(--night); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; }
.volume-slider::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid var(--night); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; }
.slider-scale { margin: -17px 0 24px; display: flex; justify-content: space-between; color: rgba(255,255,255,.44); font-size: 9px; }
.calculator-control-label { margin-bottom: 9px; display: flex; justify-content: space-between; align-items: center; }
.calculator-control-label span { color: rgba(255,255,255,.76); font-size: 11px; font-weight: 650; }
.calculator-control-label small { color: rgba(255,255,255,.46); font-size: 9px; }
.workload-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border: 0; }
.workload-tabs button { min-height: 44px; padding: 0 10px; color: rgba(255,255,255,.58); border: 0; border-right: 1px solid var(--line-dark); background: transparent; font-size: 11px; cursor: pointer; }
.workload-tabs button { border: 1px solid var(--line-dark); }
.workload-tabs button:last-child { border-right: 1px solid var(--line-dark); }
.workload-tabs button:hover { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.25); }
.workload-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.workload-tabs button.active { color: var(--night); border-color: var(--accent); background: var(--accent); font-weight: 700; }
.cost-comparison { padding: 30px 0 28px; display: grid; grid-template-columns: 1fr 44px 1fr; gap: 12px; align-items: stretch; border-bottom: 1px solid var(--line-dark); }
.cost-column { padding: 22px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.018); }
.routed-cost { border-color: rgba(77,163,255,.36); background: rgba(77,163,255,.055); }
.cost-title { min-height: 38px; display: grid; gap: 4px; color: rgba(255,255,255,.68); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.cost-title small { color: rgba(255,255,255,.42); font-size: 9px; }
.cost-column > strong { display: block; margin: 12px 0 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 38px; font-weight: 500; letter-spacing: -.06em; }
.routed-cost > strong { color: var(--accent); }
.cost-bar { height: 5px; background: rgba(255,255,255,.08); }
.cost-bar i { display: block; width: 100%; height: 100%; background: rgba(255,255,255,.26); transition: width 250ms ease; }
.routed-cost .cost-bar i { background: var(--accent); }
.cost-column p { min-height: 26px; margin: 11px 0 0; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.45; }
.cost-column p b { color: var(--accent); font-weight: 650; }
.saving-line { display: grid; gap: 2px; }
.saving-line b { font-size: 14px; }
.saving-line span { color: rgba(255,255,255,.58); }
.cost-arrow { display: grid; place-items: center; color: rgba(255,255,255,.46); }
.cost-arrow span { font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.mix-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 0 8px; }
.mix-breakdown > div { display: grid; gap: 7px; }
.mix-breakdown > div + div { padding-left: 17px; border-left: 1px solid var(--line-dark); }
.mix-breakdown span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.66); font-size: 10px; text-transform: uppercase; }
.mix-breakdown small { color: rgba(255,255,255,.44); font-size: 9px; }
.mix-breakdown strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 500; }
.mix-breakdown > div:nth-child(1) strong { color: var(--frontier-color); }
.mix-breakdown > div:nth-child(2) strong { color: var(--balanced-color); }
.mix-breakdown > div:nth-child(3) strong { color: var(--efficient-color); }
.dot-frontier, .dot-balanced, .dot-efficient { width: 6px; height: 6px; display: inline-block; border-radius: 50%; }.dot-frontier { background: var(--frontier-color); }.dot-balanced { background: var(--balanced-color); }.dot-efficient { background: var(--efficient-color); }
.calculator-note { margin: 20px 0 0; color: rgba(255,255,255,.43); font-size: 9px; line-height: 1.55; }

.centered { max-width: 740px; margin: 0 auto 70px; display: block; text-align: center; }
.centered > p { margin: 20px auto 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { min-height: 445px; padding: 23px 28px 34px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step-number { color: #9a9d91; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.step-visual { height: 185px; margin: 34px 0 30px; position: relative; display: grid; place-items: center; }
.visual-request span { position: relative; z-index: 2; padding: 12px 17px; color: #1769aa; border: 1px solid rgba(23,105,170,.2); background: rgba(77,163,255,.15); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.visual-request i { position: absolute; width: 75%; height: 1px; background: var(--line); transform: rotate(-28deg); }.visual-request i:nth-child(3) { transform: rotate(28deg); }.visual-request i:nth-child(4) { transform: rotate(90deg); }
.visual-route .route-core { width: 38px; height: 38px; position: relative; z-index: 2; border: 1px solid rgba(23,105,170,.25); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 12px rgba(77,163,255,.11), 0 0 0 28px rgba(77,163,255,.05); }
.visual-route .route-path { position: absolute; left: 50%; width: 1px; height: 68px; bottom: 0; transform-origin: top; background: var(--line); }
.visual-route .path-one { transform: rotate(-43deg); }.visual-route .path-two { transform: rotate(0); }.visual-route .path-three { transform: rotate(43deg); }
.visual-route .route-path::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.visual-route .path-one::after { background: var(--frontier-color); }.visual-route .path-two::after { background: var(--balanced-color); }.visual-route .path-three::after { background: var(--efficient-color); }
.visual-receipt { width: 190px; height: 112px; margin: 70px auto 67px; padding: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.4); box-shadow: var(--shadow); }
.visual-receipt span { grid-column: 1 / -1; color: #989b90; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.visual-receipt b { color: var(--balanced-deep-color); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; }
.visual-receipt i { padding: 3px 6px; color: #125b9a; background: rgba(77,163,255,.22); font-size: 9px; font-style: normal; }
.step h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.step code, .faq-list code { padding: 2px 4px; background: rgba(16,24,39,.06); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }

.developer-section { overflow: hidden; color: var(--white); background: #0a1627; }
.developer-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.developer-copy p { max-width: 450px; color: rgba(255,255,255,.48); line-height: 1.7; }
.text-link { margin-top: 23px; display: inline-flex; gap: 11px; color: var(--accent); font-size: 13px; font-weight: 650; }
.text-link span { transition: transform 180ms ease; }.text-link:hover span { transform: translateX(5px); }
.code-window { border: 1px solid var(--line-dark); background: #060d18; box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.code-topbar { height: 48px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-dark); }
.code-topbar > div { display: flex; gap: 5px; }.code-topbar > div i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); }
.code-topbar > span { color: rgba(255,255,255,.38); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.code-topbar button { justify-self: end; }
.code-window pre { min-height: 360px; margin: 0; padding: 37px 28px; overflow: auto; color: rgba(255,255,255,.62); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.9; tab-size: 2; }
.code-purple { color: var(--violet); }.code-green { color: #7fc8ff; }.code-highlight { color: var(--accent); background: rgba(77,163,255,.08); }
.code-result { min-height: 58px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.code-result span { color: rgba(255,255,255,.32); }.code-result strong { padding: 3px 7px; color: #c5b5ff; background: rgba(155,124,255,.14); border: 1px solid rgba(155,124,255,.24); font-weight: 500; }.code-result .code-latency { margin-left: auto; }

.control-section { background: #e9edf4; }
.control-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.control-copy h2 { margin: 14px 0 0; font-size: clamp(46px, 5.7vw, 78px); line-height: 1.02; letter-spacing: -.063em; font-weight: 620; }
.control-copy h2 span { display: block; }
.control-copy > p { max-width: 500px; color: var(--muted); line-height: 1.7; }
.control-points { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.control-points li { padding: 15px 0; display: grid; grid-template-columns: 26px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.control-points li > span { padding-top: 2px; color: #92978f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.control-points div { display: grid; gap: 3px; }
.control-points strong { font-size: 12px; }
.control-points small { color: var(--muted); font-size: 10px; }
.key-panel { border: 1px solid #c8d0dc; background: #f7f9fc; box-shadow: 0 32px 90px rgba(8,17,31,.1); }
.key-panel-head, .key-panel-foot { min-height: 58px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.key-panel-head { border-bottom: 1px solid #d8dee7; }
.key-panel-head strong { font-size: 13px; }
.key-panel-head span { color: #7d8796; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.key-list { padding: 4px 22px; }
.key-row { padding: 22px 0; }
.key-row + .key-row { border-top: 1px solid #d8dee7; }
.key-row-title { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.key-row-title > div { display: grid; gap: 5px; }
.key-row-title strong { font-size: 12px; }
.key-row-title code { color: #7d8796; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.key-row-title > span { color: #687485; font-size: 9px; }
.key-meter { height: 5px; margin: 15px 0 10px; overflow: hidden; background: #dce3ec; }
.key-meter i { height: 100%; display: block; background: var(--accent); }
.key-meta { display: flex; justify-content: space-between; gap: 16px; color: #7d8796; font-size: 9px; }
.key-meta b { color: #1769aa; font-weight: 650; }
.key-panel-foot { border-top: 1px solid #d8dee7; color: #7d8796; font-size: 9px; }
.key-panel-foot b { padding: 8px 11px; color: var(--white); background: var(--night); font-size: 9px; font-weight: 650; }

.transparency-section { background: var(--paper); }
.transparency-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 110px; align-items: center; }
.ledger { padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.42); box-shadow: 0 32px 90px rgba(8,17,31,.08); }
.ledger-head { display: flex; align-items: center; justify-content: space-between; }
.ledger-head strong { font-size: 13px; }.ledger-head span { color: #8b8f84; font-size: 9px; }
.ledger-chart { height: 260px; margin-top: 26px; padding: 25px 12px 0; display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 54px); }
.ledger-chart > div { width: 7.5%; height: 78%; display: flex; flex-direction: column; justify-content: end; gap: 2px; }
.ledger-chart > div:nth-child(2) { height: 53%; }.ledger-chart > div:nth-child(3) { height: 88%; }.ledger-chart > div:nth-child(4) { height: 67%; }.ledger-chart > div:nth-child(5) { height: 94%; }.ledger-chart > div:nth-child(6) { height: 71%; }.ledger-chart > div:nth-child(7) { height: 100%; }
.ledger-chart i { width: 100%; display: block; }.ledger-chart i:nth-child(1) { height: var(--frontier); background: var(--frontier-color); }.ledger-chart i:nth-child(2) { height: var(--balanced); background: var(--balanced-color); }.ledger-chart i:nth-child(3) { height: var(--efficient); background: var(--efficient-color); }
.ledger-legend { padding: 17px 0 22px; display: flex; gap: 20px; color: var(--muted); font-size: 9px; }.ledger-legend span { display: flex; align-items: center; gap: 5px; }
.ledger-total { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px; color: var(--white); background: var(--night); }
.ledger-total span { color: rgba(255,255,255,.35); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.ledger-total strong, .ledger-total b { justify-self: end; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 500; }.ledger-total b { color: var(--accent); }
.transparency-copy > p { max-width: 500px; color: var(--muted); line-height: 1.7; }
.transparency-copy ul { margin: 37px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.transparency-copy li { padding: 15px 0; display: flex; gap: 18px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.transparency-copy li span { color: #a1a499; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }

.pricing-section { color: var(--white); background: var(--night); }
.pricing-heading { max-width: 100%; }
.pricing-heading h2 { margin-top: 14px; }
.pricing-heading > p { color: rgba(255,255,255,.45); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { min-height: 580px; position: relative; padding: 34px; border: 1px solid var(--line-dark); }
.price-payg { background: #0d1a2d; }.price-capacity { border-color: rgba(77,163,255,.36); background: linear-gradient(145deg, rgba(77,163,255,.07), transparent 43%), #0d1a2d; }
.price-accent { position: absolute; top: 0; right: 28px; padding: 7px 10px; color: var(--night); background: var(--accent); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.price-card-top { display: flex; justify-content: space-between; align-items: center; }
.plan-label { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }.plan-fit { color: rgba(255,255,255,.3); font-size: 9px; }
.price-card h3 { margin: 37px 0 10px; font-size: 32px; letter-spacing: -.05em; }.price-description { max-width: 420px; min-height: 68px; margin: 0; color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.65; }
.price-display { margin: 38px 0 30px; display: flex; align-items: center; gap: 18px; }.price-display strong { font-size: 52px; line-height: 1; letter-spacing: -.07em; }.price-display span { color: rgba(255,255,255,.38); font-size: 10px; line-height: 1.55; }
.price-card .button { width: 100%; justify-content: space-between; border-radius: 2px; }
.price-card ul { margin: 34px 0 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; border-top: 1px solid var(--line-dark); list-style: none; }
.price-card li { position: relative; padding-left: 17px; color: rgba(255,255,255,.56); font-size: 10px; }.price-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 120px; }
.faq-intro h2 { font-size: 54px; }.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 620; cursor: pointer; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 18px; height: 18px; position: relative; flex: 0 0 auto; }.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 8px; left: 3px; width: 12px; height: 1px; background: currentColor; transition: transform 180ms ease; }.faq-list summary span::after { transform: rotate(90deg); }.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 700px; margin: -8px 50px 26px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.final-cta { min-height: 640px; padding: 130px 0; position: relative; overflow: hidden; display: grid; place-items: center; color: var(--white); background: var(--night); text-align: center; }
.cta-grid { position: absolute; inset: 0; opacity: .38; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(circle at center, black, transparent 72%); mask-image: radial-gradient(circle at center, black, transparent 72%); }
.final-cta::before { content: ""; position: absolute; width: 350px; height: 350px; border: 1px solid rgba(77,163,255,.15); border-radius: 50%; box-shadow: 0 0 160px rgba(77,163,255,.1); }
.final-cta-inner { position: relative; }
.final-cta h2 { margin-top: 15px; font-size: clamp(66px, 8.5vw, 118px); }
.final-cta p { color: rgba(255,255,255,.5); }
.centered-actions { justify-content: center; }

.footer { padding: 72px 0 24px; color: var(--white); background: #050b14; }
.footer-top { padding-bottom: 62px; display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line-dark); }
.brand-footer { align-self: start; }.footer-top > p { margin: 0; color: rgba(255,255,255,.35); font-family: Georgia, serif; font-size: 18px; font-style: italic; line-height: 1.5; }.footer-links { justify-self: end; display: grid; grid-template-columns: repeat(2, 110px); gap: 12px 30px; }.footer-links a { color: rgba(255,255,255,.5); font-size: 11px; }.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 23px; display: flex; justify-content: space-between; color: rgba(255,255,255,.22); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }.footer-bottom div { display: flex; gap: 25px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .24; } }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .nav-login { display: none; }
  .mobile-nav { padding: 20px 24px 30px; position: fixed; inset: 76px 0 auto; display: grid; gap: 0; color: var(--white); background: rgba(8,17,31,.98); border-top: 1px solid var(--line-dark); transform: translateY(-130%); opacity: 0; transition: transform 240ms ease, opacity 180ms ease; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
  .hero { min-height: 0; }
  .hero-grid, .calculator-grid, .developer-grid, .control-grid, .transparency-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 70px; }
  .hero-copy { max-width: 760px; }
  .router-demo { max-width: 700px; }
  .trust-line { margin-top: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 600px; }
  .smartroute-callout { grid-template-columns: 170px 1fr; }
  .smartroute-callout code { grid-column: 2; justify-self: start; }
  .tier-card { min-height: 410px; }
  .calculator-grid { gap: 60px; }
  .developer-grid, .control-grid, .transparency-grid { gap: 65px; }
  .developer-copy, .control-copy { max-width: 650px; }
  .code-window, .key-panel, .ledger { max-width: 760px; width: 100%; }
  .faq-grid { gap: 70px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 620px); }
  .nav-shell { height: 68px; }
  .nav-actions .button { display: none; }
  .mobile-nav { inset-block-start: 68px; }
  .hero { padding: 136px 0 38px; background-size: 52px 52px; }
  .hero h1 strong { font-size: clamp(45px, 13vw, 66px); }
  .hero h1 em { margin-top: 10px; font-size: clamp(31px, 9vw, 45px); }
  .hero-proposition { font-size: 18px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 12px 16px; }
  .router-demo { margin-inline: -8px; }
  .demo-model { grid-template-columns: auto 1fr; }
  .demo-model button { display: none; }
  .route-row { grid-template-columns: 32px 1fr auto; gap: 9px; padding: 11px 9px; }
  .route-icon { width: 32px; height: 32px; }
  .route-info strong { max-width: 170px; font-size: 10px; }.route-info span { max-width: 170px; }
  .demo-summary strong { font-size: 13px; }
  .trust-line { display: block; }
  .trust-items { margin-top: 20px; flex-wrap: wrap; gap: 14px 24px; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .calculator-copy h2, .developer-copy h2, .control-copy h2, .transparency-copy h2, .faq-intro h2 { font-size: clamp(40px, 12vw, 58px); }
  .smartroute-callout { padding: 20px; grid-template-columns: 1fr; gap: 12px; }
  .smartroute-callout code { grid-column: 1; justify-self: stretch; overflow-wrap: anywhere; }
  .tier-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .tier-card { min-height: 395px; }
  .calculator { padding: 24px 17px; }
  .quote-block { margin-top: 40px; }
  .calculator-header { align-items: end; gap: 16px; }
  .calculator-header strong { font-size: 20px; }
  .illustrative { flex: 0 0 auto; }
  .workload-tabs { grid-template-columns: 1fr; }
  .workload-tabs button { min-height: 46px; font-size: 10px; }
  .cost-comparison { grid-template-columns: 1fr; gap: 18px; }
  .cost-title { min-height: 0; }
  .cost-column { padding: 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
  .cost-column > strong { font-size: 40px; }
  .cost-arrow { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
  .cost-arrow::before, .cost-arrow::after { content: ""; height: 1px; background: var(--line-dark); }
  .cost-arrow svg { display: none; }
  .saving-line { min-height: 0!important; }
  .mix-breakdown { grid-template-columns: 1fr; gap: 14px; }
  .mix-breakdown > div + div { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .steps { border-bottom: 0; }
  .step { min-height: 410px; border-bottom: 1px solid var(--line); }.step + .step { border-left: 0; }
  .developer-grid, .control-grid, .transparency-grid { gap: 48px; }
  .code-window { margin-inline: -8px; width: calc(100% + 16px); }.code-window pre { min-height: 330px; padding: 28px 18px; font-size: 10px; }
  .key-panel { margin-inline: -8px; width: calc(100% + 16px); }
  .key-panel-head, .key-panel-foot { padding-inline: 16px; }
  .key-list { padding-inline: 16px; }
  .key-row-title { align-items: start; }
  .ledger { padding: 17px; }.ledger-chart { height: 220px; }
  .transparency-copy { grid-row: 1; }
  .pricing-heading { display: block; }.pricing-heading > p { margin-top: 20px; }
  .price-card { min-height: 0; padding: 28px 22px; }.price-description { min-height: 0; }.price-display strong { font-size: 44px; }.price-card ul { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 42px; }.faq-list summary { min-height: 72px; font-size: 13px; }.faq-list details p { margin-right: 0; }
  .final-cta { min-height: 560px; padding-block: 90px; }.final-cta h2 { font-size: clamp(58px, 18vw, 82px); }.centered-actions { align-items: center; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }.footer-links { justify-self: start; }.footer-bottom { gap: 18px; flex-wrap: wrap; }.footer-bottom > span:last-child { width: 100%; }
}

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