/* Route pages share the same editorial language as the homepage. */
:root {
  --ink: #0b0d11;
  --ink-soft: #141821;
  --paper: #f4f2ec;
  --muted: #9ca6b5;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(11,13,17,.16);
  --acid: #d9f76c;
  --aqua: #8ce7d0;
  --orange: #ff9867;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.route-page { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; }
.route-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(11,13,17,.88); backdrop-filter: blur(16px); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { text-decoration: none; font-weight: 800; letter-spacing: -.04em; font-size: 1.4rem; }
.wordmark em { color: var(--acid); font-style: normal; }
.wordmark sup { font-size: .48em; vertical-align: top; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .88rem; color: #d3d8df; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--acid); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.language-button, .menu-button { color: var(--paper); background: transparent; border: 1px solid var(--line); padding: 9px 12px; border-radius: 999px; cursor: pointer; font: inherit; }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .88rem; }
.button--acid { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.button--quiet { color: var(--paper); background: rgba(255,255,255,.04); }
.page-hero { padding: 110px 0 76px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--acid); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; }
.page-hero h1 { max-width: 920px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 7.8rem); letter-spacing: -.065em; line-height: .93; font-weight: 500; }
.page-hero h1 em { color: var(--acid); font-style: normal; }
.page-hero__grid { margin-top: 38px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.page-hero__lead { max-width: 640px; margin: 0; color: #c1c8d2; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.page-hero__aside { color: var(--muted); font-size: .82rem; border-left: 1px solid var(--acid); padding-left: 16px; }
.section { padding: 86px 0; border-bottom: 1px solid var(--line); }
.section--paper { color: var(--ink); background: var(--paper); border-color: var(--line-dark); }
.section__head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section h2 { margin: 0; font-family: var(--serif); letter-spacing: -.05em; font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: .95; }
.section__head p { max-width: 470px; margin: 0; color: var(--muted); }
.section--paper .section__head p { color: #5e636b; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { min-height: 250px; border: 1px solid var(--line); background: rgba(255,255,255,.035); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.section--paper .card { background: rgba(11,13,17,.03); border-color: var(--line-dark); }
.card__index { color: var(--acid); font: 700 .75rem/1 var(--sans); letter-spacing: .1em; }
.section--paper .card__index { color: #5e6d36; }
.card h3 { margin: 42px 0 8px; font-size: 1.35rem; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.section--paper .card p { color: #646b73; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; color: #d1d6dc; font-size: .73rem; }
.section--paper .tag { border-color: var(--line-dark); color: #555c64; }
.matrix { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.matrix__item { padding: 23px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; gap: 16px; }
.matrix__number { color: var(--acid); font-size: .8rem; font-weight: 800; }
.matrix__item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.matrix__item p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 460px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.timeline__step { min-height: 300px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline__step:last-child { border-right: 0; }
.timeline__day { color: var(--acid); font-weight: 800; font-size: .78rem; letter-spacing: .08em; }
.timeline__step h3 { margin: 72px 0 10px; font-size: 1.3rem; }
.timeline__step p { margin: 0; color: var(--muted); font-size: .92rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.price-card { padding: 30px; border: 1px solid var(--line); min-height: 430px; display: flex; flex-direction: column; }
.price-card--featured { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.price-card__kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; opacity: .76; }
.price-card h3 { margin: 52px 0 12px; font-family: var(--serif); font-size: 2.5rem; line-height: .95; font-weight: 500; letter-spacing: -.05em; }
.price-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.price-card--featured p { color: #394228; }
.price-card ul { margin: auto 0 0; padding: 20px 0 0 18px; color: #d1d7dd; font-size: .9rem; }
.price-card--featured ul { color: #394228; }
.price-card li + li { margin-top: 9px; }
.approval { display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; }
.approval__note { padding: 22px; border: 1px solid var(--acid); color: var(--acid); align-self: start; font-size: .9rem; }
.approval__list { margin: 0; padding: 0; list-style: none; }
.approval__list li { padding: 17px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.approval__list strong { display: block; margin-bottom: 4px; }
.approval__list span { color: var(--muted); font-size: .9rem; }
.lab-console { border: 1px solid var(--line); background: #11151d; }
.lab-console__bar { min-height: 56px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.lab-console__dot { width: 9px; height: 9px; display: inline-block; background: var(--acid); border-radius: 50%; margin-right: 8px; }
.lab-console__body { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 360px; }
.lab-console__input, .lab-console__output { padding: 24px; }
.lab-console__input { border-right: 1px solid var(--line); }
.lab-console label { display: block; margin: 0 0 8px; color: var(--muted); font-size: .75rem; }
.lab-console textarea { width: 100%; min-height: 150px; resize: vertical; background: transparent; color: var(--paper); border: 1px solid var(--line); padding: 12px; font: inherit; }
.lab-console button { margin-top: 14px; border: 0; cursor: pointer; }
.lab-console__output pre { margin: 0; min-height: 228px; white-space: pre-wrap; color: var(--aqua); font: .88rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.disclosure { padding: 20px 0 0; color: var(--muted); font-size: .78rem; }
.site-footer { padding: 44px 0 60px; color: var(--muted); }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand { color: var(--paper); font-size: 1.1rem; font-weight: 800; }
.site-footer p { margin: 8px 0 0; max-width: 300px; font-size: .82rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .82rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: var(--acid); }
.site-footer__meta { text-align: right; font-size: .78rem; }
@media (max-width: 820px) {
  .route-shell { width: min(100% - 32px, 680px); }
  .site-header__inner { min-height: 68px; }
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: rgba(11,13,17,.98); border-bottom: 1px solid var(--line); }
  .site-nav[data-open='true'] { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .page-hero { padding: 76px 0 56px; }
  .page-hero__grid, .approval, .lab-console__body { grid-template-columns: 1fr; gap: 26px; }
  .card-grid, .pricing-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline__step:nth-child(2) { border-right: 0; }
  .timeline__step h3 { margin-top: 42px; }
  .lab-console__input { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .site-footer__meta { text-align: left; }
}
@media (max-width: 460px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__step, .timeline__step:nth-child(2) { border-right: 0; }
  .section { padding: 64px 0; }
  .section__head { display: block; }
  .section__head p { margin-top: 14px; }
}
