/* Transcendrix — direction: "Survey"
 *
 * A real house at night, measured. The 3D scene is a believable home with a precise
 * technical overlay (traced edges, dimensions, range rings). The interface around it
 * is deliberately plain: one grotesque, one mono for instrument readouts, hairlines,
 * white controls. Nothing decorative that the scene isn't already doing better.
 *
 * Colour  night #060A14 page   deep #03060D panels   ink #F2F5F8 text   mute #94A0B4 secondary (7.4:1)
 *         line  #9FECFF the overlay colour: active states, readouts, focus of attention
 *         warm  window light lives in the scene and on the phone, not in the interface
 * Type    Geist for everything read; Geist Mono, lowercase, for instrument labels.
 * Shape   6px radius controls, hairlines at 10% white, no shadows.
 */

:root {
  --night: #060A14; --deep: #03060D; --ink: #F2F5F8; --mute: #94A0B4;
  --hair: rgba(255, 255, 255, .1); --edge: rgba(255, 255, 255, .3);
  --line: #9FECFF; --error: #FFA391;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px; --s-8: 64px; --s-12: 96px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --pad: max(var(--gutter), calc((100vw - 1560px) / 2));
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-mono: 0.75rem; --t-small: 0.875rem; --t-body: 1.0625rem; --t-lead: 1.25rem;
  --t-h2: clamp(2.75rem, 5.7vw, 6rem); --t-hero: clamp(3rem, 6vw, 6.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { text-wrap: balance; font-weight: 650; }
h3 { text-wrap: balance; font-weight: 500; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 64px; }
::selection { background: var(--line); color: var(--deep); }
.mono, .crumb, .specs dt, .when, .hud, .chapters span, .calc output, .foot h3, .scroll-hint, .loader p, .field .hint { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .02em; text-transform: lowercase; font-weight: 400; }

.skip { position: absolute; left: var(--s-2); top: -100px; z-index: 60; background: var(--ink); color: var(--deep); padding: var(--s-1) var(--s-2); border-radius: 6px; }
.skip:focus { top: var(--s-2); }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; }
html.gl #scene { display: block; }
main, .foot { position: relative; z-index: 1; }

/* ---------- loader ---------- */
.loader { display: none; }
html.loading .loader, html.leaving .loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: var(--s-3); background: var(--deep); transition: opacity .7s ease, visibility .7s; }
html.leaving .loader { opacity: 0; visibility: hidden; }
.loader svg { width: 56px; height: 56px; overflow: visible; }
.loader-line { fill: none; stroke: var(--ink); stroke-width: .9; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s cubic-bezier(.6, 0, .2, 1) forwards; }
.loader p { color: var(--mute); min-width: 4ch; text-align: center; }
.loader p::after { content: "%"; }
@keyframes draw { to { stroke-dashoffset: 0; } }
html.loading body { overflow: hidden; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: var(--s-2); padding: 16px var(--pad); transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(6, 10, 20, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--hair); }
.top.is-hidden { transform: translateY(-105%); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.wordmark .mark { width: 22px; height: 22px; flex: none; }
.crumb { color: var(--mute); padding-left: var(--s-2); margin-left: 4px; border-left: 1px solid var(--hair); white-space: nowrap; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.nav-links { display: flex; gap: var(--s-3); }
.nav-links a { font-size: var(--t-small); color: var(--mute); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-apply { font-size: var(--t-small); font-weight: 500; text-decoration: none; color: var(--deep); background: var(--ink); padding: 9px 16px; border-radius: 6px; transition: background-color .15s; }
.nav-apply:hover { background: var(--line); }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 500; color: var(--deep); background: var(--ink); border: 0; border-radius: 6px; padding: 14px 24px; min-height: 50px; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .2s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.button:hover { background: var(--line); }
.button:active { transform: scale(.985); }
.button[disabled] { opacity: .55; cursor: progress; }
.link { font-size: var(--t-small); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--edge); padding-bottom: 3px; transition: border-color .15s, color .15s; }
.link:hover { border-color: var(--line); color: var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 120px var(--pad) 140px; }
.hero .pitch { max-width: 900px; }
.hero h1 { font-size: var(--t-hero); line-height: .94; letter-spacing: -0.055em; }
h1 em, h2 em { font-style: normal; color: var(--mute); display: block; }
.hero .lead { font-size: var(--t-lead); line-height: 1.45; color: var(--mute); max-width: 36ch; margin-top: var(--s-4); }
.hero .action { margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.specs { position: absolute; left: var(--pad); bottom: 40px; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.specs dt { color: var(--mute); }
.specs dd { font-size: var(--t-small); margin-top: 2px; }
.scroll-hint { position: absolute; right: var(--pad); bottom: 40px; color: var(--mute); display: flex; align-items: center; gap: 10px; }
.scroll-hint::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--ink), transparent); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) { .scroll-hint::after { animation: drip 2.2s ease-in-out infinite; } }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- content blocks ---------- */
.block { position: relative; padding: var(--s-8) var(--pad); }
.block h2, .foot-scene h2 { font-size: var(--t-h2); line-height: .95; letter-spacing: -0.055em; }
.block h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
.block .body { margin-top: var(--s-4); }
.block .body > * + * { margin-top: var(--s-3); }
.block .body p { max-width: 56ch; }
.block .body > p:first-child { color: var(--mute); font-size: var(--t-lead); line-height: 1.45; }
.note { color: var(--mute); font-size: var(--t-small); }

.fit { display: grid; gap: var(--s-4); }
.fit h3 { font-family: var(--mono); font-size: var(--t-mono); text-transform: lowercase; color: var(--mute); font-weight: 400; letter-spacing: .02em; }
.fit ul { margin-top: 10px; border-top: 1px solid var(--hair); }
.fit li { padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 1rem; line-height: 1.4; }

.steps { border-top: 1px solid var(--hair); }
.steps li { position: relative; padding: 18px 0 18px 20px; border-bottom: 1px solid var(--hair); }
.steps li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--hair); transition: background-color .3s; }
.steps h3 { font-size: 1.75rem; letter-spacing: -0.03em; font-weight: 600; transition: color .3s; }
.steps p { color: var(--mute); margin-top: 6px; max-width: 46ch; }

.timeline { position: relative; padding-left: 28px; --p: 1; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--hair); }
.timeline::after { background: var(--line); transform-origin: top; transform: scaleY(var(--p)); }
.timeline li { position: relative; padding: 0 0 var(--s-4); }
.timeline h3 { font-size: 1.75rem; letter-spacing: -0.03em; font-weight: 600; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--night); border: 1px solid var(--edge); transition: background-color .3s, border-color .3s; z-index: 1; }
.timeline .when { color: var(--mute); display: block; margin-bottom: 4px; transition: color .3s; }
.timeline p { color: var(--mute); font-size: 1rem; margin-top: 4px; max-width: 44ch; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-block: 1px solid var(--hair); }
.price .figure { display: block; font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price .unit { display: block; margin-top: 10px; color: var(--mute); font-family: var(--mono); font-size: var(--t-mono); }

.calc { padding: var(--s-3); border: 1px solid var(--hair); border-radius: 10px; background: rgba(3, 6, 13, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: grid; gap: var(--s-2); }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px var(--s-2); align-items: baseline; }
.calc-row label { font-size: var(--t-small); color: var(--mute); }
.calc output { color: var(--line); font-size: var(--t-small); text-transform: none; }
.calc input[type=range] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --f: 50%; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--line) var(--f), var(--hair) var(--f)); }
.calc input[type=range]::-moz-range-track { height: 2px; background: var(--hair); }
.calc input[type=range]::-moz-range-progress { height: 2px; background: var(--line); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 0; transition: transform .15s; }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 0; }
.calc input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.25); }
.calc input[type=range]:focus-visible { outline: 2px solid var(--line); outline-offset: 4px; }
.calc-out { font-size: var(--t-body); padding-top: var(--s-2); border-top: 1px solid var(--hair); }
.calc-out strong { font-weight: 500; color: var(--line); }

.market { display: grid; gap: 10px; }
.market label { font-size: var(--t-small); font-weight: 500; }
.market-row { display: flex; flex-wrap: wrap; gap: 10px; }
.market-row input { flex: 1 1 200px; }

.questions { border-top: 1px solid var(--hair); }
.questions details { border-bottom: 1px solid var(--hair); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 19px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.0625rem; line-height: 1.3; transition: color .15s; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.125rem; line-height: 1; color: var(--mute); transition: transform .25s, color .15s; }
.questions summary:hover, .questions summary:hover::after { color: var(--line); }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { color: var(--mute); max-width: 54ch; padding-bottom: var(--s-3); }

/* ---------- form ---------- */
.form { display: grid; gap: var(--s-3); padding: var(--s-3); background: rgba(3, 6, 13, .8); border: 1px solid var(--hair); border-radius: 10px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: var(--t-small); font-weight: 500; }
.field .hint { color: var(--mute); }
.field input, .field select, .market-row input { font: inherit; color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--edge); border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .15s, background-color .15s; }
.field input::placeholder, .market-row input::placeholder { color: var(--mute); opacity: 1; }
.field select { appearance: none; padding-right: 44px; background-repeat: no-repeat; background-position: right 16px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2F5F8' stroke-width='1.5'/%3E%3C/svg%3E"); }
.field select option { background: var(--deep); color: var(--ink); }
.field input:hover, .field select:hover, .market-row input:hover { border-color: rgba(255, 255, 255, .6); }
.field input:focus-visible, .field select:focus-visible, .market-row input:focus-visible { outline: 2px solid var(--line); outline-offset: 2px; background-color: rgba(255, 255, 255, .08); border-radius: 6px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: var(--t-small); }
.field .error:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .send { display: grid; gap: var(--s-2); justify-items: start; }
.form .status:empty { display: none; }
.form .status.is-error { color: var(--error); }

/* ---------- footer ---------- */
.foot-scene { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s-3); min-height: 100vh; padding: var(--s-12) var(--pad) var(--s-8); }
.foot-scene h2 { font-size: clamp(3rem, 8vw, 8.5rem); max-width: 12ch; }
.foot-scene p { color: var(--mute); font-size: var(--t-lead); max-width: 40ch; }
.foot-body { position: relative; background: var(--deep); border-top: 1px solid var(--hair); overflow: hidden; }
.foot-grid { display: grid; gap: var(--s-4); padding: var(--s-8) var(--pad) var(--s-6); }
.foot-grid p { color: var(--mute); font-size: var(--t-small); max-width: 30ch; margin-top: var(--s-2); }
.foot h3 { color: var(--mute); }
.foot-grid ul { margin-top: 14px; display: grid; gap: 9px; }
.foot-grid li { font-size: var(--t-small); }
.foot-grid li a { text-decoration: none; transition: color .15s; }
.foot-grid li a:hover { color: var(--line); }
.block .body p a:not(.link):not(.button), .doc-sec .body p a:not(.button) { color: var(--ink); }
.foot-word { display: flex; justify-content: space-between; padding: 0 var(--pad); font-size: min(15.4vw, 250px); line-height: .82; letter-spacing: -0.06em; white-space: nowrap; user-select: none; margin-bottom: -0.04em; }
.foot-word span { display: inline-block; font-weight: 200; font-variation-settings: "wght" var(--w, 200); color: var(--ink); opacity: calc(.28 + var(--o, 0) * .72); transition: font-variation-settings .35s cubic-bezier(.2, .7, .2, 1), opacity .35s; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-3); padding: var(--s-3) var(--pad); color: var(--mute); font-size: var(--t-small); border-top: 1px solid var(--hair); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--line); }

/* ---------- simple pages ---------- */
.page { padding: 140px var(--pad) var(--s-12); max-width: calc(820px + var(--pad) * 2); }
.page h1 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.04em; }
.page h2 { font-size: 1.25rem; line-height: 1.25; margin-top: var(--s-6); letter-spacing: -0.015em; }
.page p, .page ul { margin-top: var(--s-2); max-width: 64ch; color: var(--mute); }
.page ul { list-style: disc; padding-left: 1.2em; }
.page .lead { font-size: var(--t-lead); line-height: 1.45; margin-top: var(--s-3); color: var(--ink); }
.page .action { margin-top: var(--s-4); color: var(--ink); }
body:not(:has(#scene)) .foot-scene { min-height: 0; padding-top: var(--s-12); border-top: 1px solid var(--hair); }

/* ---------- instruments: chapter list, readouts, cursor ---------- */
.chapters { position: fixed; right: 22px; top: 50%; z-index: 20; transform: translateY(-50%); display: none; flex-direction: column; gap: 2px; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 22px; text-decoration: none; color: var(--mute); }
.chapters i { width: 12px; height: 1px; background: var(--edge); transition: width .3s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.chapters span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; }
.chapters:hover span, .chapters a.is-on span { opacity: 1; transform: none; }
.chapters a.is-on { color: var(--line); }
.chapters a.is-on i { width: 26px; background: var(--line); }
.chapters a:hover i { width: 20px; background: var(--ink); }
.hud { position: fixed; z-index: 5; pointer-events: none; color: var(--mute); display: none; }
.hud b { font-weight: 400; color: var(--line); }
.hud-cam { left: var(--pad); bottom: 14px; }
.hud-corner { width: 14px; height: 14px; border: 0 solid var(--edge); opacity: .7; }
.hud-corner.tl { left: 14px; top: 76px; border-left-width: 1px; border-top-width: 1px; }
.hud-corner.tr { right: 14px; top: 76px; border-right-width: 1px; border-top-width: 1px; }
.hud-corner.bl { left: 14px; bottom: 14px; border-left-width: 1px; border-bottom-width: 1px; }
.hud-corner.br { right: 14px; bottom: 14px; border-right-width: 1px; border-bottom-width: 1px; }
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(159, 236, 255, .55); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s, width .25s, height .25s, margin .25s, background-color .25s; }
.cursor.is-live { opacity: 1; }
.cursor.is-on { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(159, 236, 255, .08); }

/* ---------- layout by width ---------- */
@media (min-width: 700px) {
  .fit { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; column-gap: var(--s-3); padding: var(--s-4); }
  .form .wide, .form .send { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}
@media (min-width: 960px) {
  .block { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-block: var(--s-12); }
  .block > h2, .pin-inner > h2 { width: min(740px, 45vw); }
  .block > .body, .pin-inner > .body { width: min(460px, 100%); }
  .block.right > .body, .block.right .pin-inner > .body { margin-right: max(0px, min(280px, 45vw - 460px)); }
  .block.right > h2, .block.right > .body, .block.right .pin-inner > h2, .block.right .pin-inner > .body { margin-left: auto; }
  .block.apply > h2, .block.apply > .body { width: min(620px, 100%); margin-right: 0; }
  .block.apply > h2 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
  html.gl .chapters { display: flex; }
  html.gl .hud { display: block; }
  /* shade behind the text column only, so the scene stays clean */
  html.gl .hero::before, html.gl .block::before, html.gl .foot-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 10, 20, .94) 0%, rgba(6, 10, 20, .78) 36%, rgba(6, 10, 20, 0) 64%); }
  html.gl .block.right::before { background: linear-gradient(270deg, rgba(6, 10, 20, .94) 0%, rgba(6, 10, 20, .78) 36%, rgba(6, 10, 20, 0) 64%); }
  html.gl .foot-scene::before { background: linear-gradient(0deg, rgba(3, 6, 13, 1) 0%, rgba(6, 10, 20, .82) 26%, rgba(6, 10, 20, 0) 58%); }
  /* pinned chapters: the page holds still while the scene does the work */
  html.gl .block.pin { display: block; min-height: 0; padding-block: 0; }
  html.gl #system { height: 340vh; }
  html.gl #schedule { height: 300vh; }
  html.gl .pin-inner { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  html.gl .steps p { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), opacity .35s, margin-top .45s; overflow: hidden; }
  html.gl .steps p { max-height: 0; transition: max-height .5s cubic-bezier(.2, .7, .2, 1), opacity .35s, margin-top .45s; }
  html.gl .steps li.is-on p { max-height: 8em; opacity: 1; margin-top: 6px; }
  html.gl .steps h3 { color: var(--mute); }
  html.gl .steps li.is-on h3 { color: var(--ink); }
  html.gl .steps li.is-on::before { background: var(--line); }
  html.gl .timeline li:not(.is-on) h3, html.gl .timeline li:not(.is-on) p { opacity: .38; }
  html.gl .timeline h3, html.gl .timeline p { transition: opacity .35s; }
  html.gl .timeline li.is-on::before { background: var(--line); border-color: var(--line); }
  html.gl .timeline li.is-on .when { color: var(--line); }
}
@media (max-width: 959px) {
  .crumb { display: none; }
  .hero { padding-top: 110px; }
  html.gl .hero { min-height: 0; padding-bottom: 66vh; }
  html.gl .specs, html.gl .scroll-hint { display: none; }
  html.gl .block { margin-top: 46vh; background: rgba(6, 10, 20, .9); border-block: 1px solid var(--hair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  html.gl .foot-scene { margin-top: 30vh; min-height: 100vh; justify-content: flex-start; padding-top: 96px; }
  .hero .lead { font-size: 1.0625rem; }
  html.gl .hero { padding-bottom: 58vh; }
}
@media (max-width: 640px) { .nav-links { display: none; } .scroll-hint { display: none; } .specs { position: static; margin-top: var(--s-6); } .price { grid-template-columns: 1fr; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- motion (only when JS opts in and motion is allowed) ---------- */
html.motion [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
html.motion [data-reveal].in { opacity: 1; transform: none; }
html.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
html.motion [data-split] .w > span { display: inline-block; transform: translate3d(0, 118%, 0); transition: transform 1.05s cubic-bezier(.19, .9, .22, 1); transition-delay: calc(var(--i) * 45ms); }
html.motion [data-split].in .w > span { transform: none; }
html.motion .hero .lead, html.motion .hero .action, html.motion .specs, html.motion .scroll-hint { opacity: 0; transform: translateY(12px); transition: opacity .9s ease-out, transform .9s ease-out; }
html.motion.ready .hero .lead { opacity: 1; transform: none; transition-delay: .75s; }
html.motion.ready .hero .action { opacity: 1; transform: none; transition-delay: .95s; }
html.motion.ready .specs, html.motion.ready .scroll-hint { opacity: 1; transform: none; transition-delay: 1.5s; }

/* ---------- the long-form page ---------- */
.doc { padding: 150px var(--pad) var(--s-12); }
.doc-head { padding-bottom: var(--s-8); border-bottom: 1px solid var(--hair); }
.doc-head h1 { font-size: var(--t-hero); line-height: .94; letter-spacing: -0.055em; }
.doc-head .lead { font-size: var(--t-lead); color: var(--mute); max-width: 44ch; margin-top: var(--s-4); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.doc-nav a { font-family: var(--mono); font-size: var(--t-mono); text-transform: lowercase; text-decoration: none; color: var(--mute); padding: 8px 12px; border: 1px solid var(--hair); border-radius: 6px; transition: color .15s, border-color .15s; }
.doc-nav a:hover { color: var(--line); border-color: var(--line); }
.doc-sec { display: grid; gap: var(--s-4); padding: var(--s-8) 0; border-bottom: 1px solid var(--hair); scroll-margin-top: 80px; }
.doc-sec h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1; letter-spacing: -0.045em; }
.doc-sec .body > * + * { margin-top: var(--s-3); }
.doc-sec .body p { max-width: 60ch; color: var(--mute); }
.doc-sec .body > p:first-child { font-size: var(--t-lead); line-height: 1.45; }
.doc-sec h3 { font-size: 1.25rem; }
.parts { border-top: 1px solid var(--hair); }
.parts > div { display: grid; gap: 6px; padding: var(--s-3) 0; border-bottom: 1px solid var(--hair); }
.parts dt { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; }
.parts dt span { display: block; font-weight: 400; color: var(--mute); font-size: 1rem; letter-spacing: 0; }
.parts dd { color: var(--mute); max-width: 56ch; }
.pledge { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.doc-sec .body p.pledge { color: var(--ink); max-width: 22ch; }
.doc-sec .calc { max-width: 560px; }
@media (min-width: 900px) {
  .doc-sec { grid-template-columns: 5fr 7fr; column-gap: var(--s-6); }
  .doc-sec h2 { position: sticky; top: 96px; align-self: start; }
  .parts > div { grid-template-columns: 11rem 1fr; gap: var(--s-3); }
}
