/* ==========================================================================
   Bioixa — "Clinical Futurism" design system
   Dark, luminous, precise. Teal = vital signs, blue = trust, violet = AI.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #050a16;
  --bg-2: #08101f;
  --bg-3: #0c1529;
  --panel: rgba(16, 27, 52, 0.62);
  --panel-solid: #0e1830;
  --panel-hi: rgba(28, 44, 82, 0.7);
  --line: rgba(150, 180, 255, 0.13);
  --line-hi: rgba(150, 180, 255, 0.26);
  --text: #eef3ff;
  --muted: #a3b0cc;
  --dim: #6f7e9f;
  --pulse: #2de2c0;
  --sky: #4f8bff;
  --violet: #8b6cff;
  --gold: #ffc24b;
  --danger: #ff6b7a;
  --ok: #3ddc97;
  --grad: linear-gradient(115deg, #2de2c0 0%, #4f8bff 52%, #8b6cff 100%);
  --grad-soft: linear-gradient(115deg, rgba(45, 226, 192, 0.16), rgba(79, 139, 255, 0.16) 52%, rgba(139, 108, 255, 0.16));
  --glow: 0 0 0 1px rgba(79, 139, 255, 0.25), 0 20px 60px -20px rgba(79, 139, 255, 0.45);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --max: 1220px;
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(45, 226, 192, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--pulse); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--pulse); color: #00140f; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.75; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-hi); background: rgba(14, 24, 48, 0.7);
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  backdrop-filter: blur(10px);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 0 0 rgba(45, 226, 192, 0.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45, 226, 192, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(45, 226, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 226, 192, 0); } }

.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sec-head h2 { margin: 18px 0 16px; }
.sec-head--left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  --b: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--b);
  font-weight: 650; font-size: 0.97rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #04121f; box-shadow: 0 10px 40px -10px rgba(45, 226, 192, 0.55); }
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(79, 139, 255, 0.7); }
.btn-ghost { --b: var(--line-hi); background: rgba(255, 255, 255, 0.03); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { --b: rgba(45, 226, 192, 0.55); background: rgba(45, 226, 192, 0.06); }
.btn-gold { background: linear-gradient(115deg, #ffd67a, #ffb02e); color: #1b1200; box-shadow: 0 10px 40px -12px rgba(255, 194, 75, 0.6); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Announcement + Nav ---------- */
.announce {
  position: relative; z-index: 60; text-align: center; padding: 9px 16px;
  font-size: 0.84rem; color: #cfe0ff; background: linear-gradient(90deg, rgba(45,226,192,.14), rgba(79,139,255,.18), rgba(139,108,255,.14));
  border-bottom: 1px solid var(--line);
}
.announce a { color: var(--pulse); font-weight: 650; text-decoration: none; margin-left: 6px; }

.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 10, 22, 0.78); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand small { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--pulse); border: 1px solid rgba(45,226,192,.35); border-radius: 6px; padding: 2px 6px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: 0.93rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.03); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.plan-pill { display: none; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; padding: 6px 10px; border-radius: 8px; color: #1b1200; background: linear-gradient(115deg, #ffd67a, #ffb02e); }
.is-paid .plan-pill { display: inline-block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 110px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 38%, rgba(79, 139, 255, 0.28), transparent 70%),
    radial-gradient(30% 40% at 12% 18%, rgba(45, 226, 192, 0.16), transparent 70%),
    radial-gradient(30% 40% at 60% 90%, rgba(139, 108, 255, 0.18), transparent 70%);
}
.grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 em { font-style: normal; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }

.route {
  border: 1px solid var(--line-hi); border-radius: 22px; padding: 10px;
  background: linear-gradient(180deg, rgba(20, 33, 64, .75), rgba(12, 21, 41, .75));
  box-shadow: var(--shadow); backdrop-filter: blur(16px); max-width: 620px;
}
.route-row { display: grid; grid-template-columns: .85fr 1fr 1.3fr auto; gap: 8px; }
.route-field { position: relative; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid transparent; padding: 9px 14px 8px; transition: border-color .2s, background .2s; }
.route-field:focus-within { border-color: rgba(45,226,192,.5); background: rgba(45,226,192,.05); }
.route-field label { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.route-field select, .route-field input { width: 100%; border: 0; background: transparent; outline: none; padding: 2px 0 0; font-weight: 600; font-size: .98rem; appearance: none; -webkit-appearance: none; cursor: pointer; }
.route-field select option { background: var(--panel-solid); color: var(--text); }
.route .btn { min-height: 100%; border-radius: 14px; padding: 0 22px; }
.route-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 8px 2px; font-size: .82rem; color: var(--dim); }
.route-foot span::before { content: "✓"; color: var(--pulse); margin-right: 6px; font-weight: 800; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
#globe { width: 100%; height: 100%; }
.globe-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(150, 180, 255, .16); animation: spin 60s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hud {
  position: absolute; z-index: 2; border-radius: 16px; padding: 14px 16px; min-width: 210px;
  background: rgba(11, 20, 40, .78); border: 1px solid var(--line-hi); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); animation: float 7s ease-in-out infinite;
}
.hud .mono { color: var(--dim); font-size: .62rem; }
.hud strong { display: block; font-family: var(--f-display); font-size: 1.02rem; margin: 3px 0 8px; }
.hud--a { top: 8%; left: -4%; }
.hud--b { bottom: 10%; right: -3%; animation-delay: -3s; }
.hud--c { bottom: 32%; left: -8%; min-width: 0; padding: 10px 14px; animation-delay: -5s; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; }
.hud--c .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(61,220,151,.15); color: var(--ok); font-weight: 900; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.steps-mini { display: flex; gap: 6px; align-items: center; }
.steps-mini i { flex: 1; height: 5px; border-radius: 4px; background: rgba(255,255,255,.1); }
.steps-mini i.on { background: var(--grad); }
.hud-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); background: rgba(255,255,255,.03); }
.tag--ok { color: var(--pulse); border-color: rgba(45,226,192,.35); background: rgba(45,226,192,.07); }
.doc-lines i { display: block; height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); margin-top: 7px; }
.doc-lines i:nth-child(1) { width: 92%; } .doc-lines i:nth-child(2) { width: 78%; } .doc-lines i:nth-child(3) { width: 85%; }

/* ---------- Regulator marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8, 16, 31, .7); padding: 22px 0; overflow: hidden; }
.marquee-label { text-align: center; color: var(--dim); margin-bottom: 14px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: #7d8bab; white-space: nowrap; letter-spacing: -0.01em; }
.marquee-track span::before { content: "◆"; color: rgba(45,226,192,.55); font-size: .6rem; margin-right: 56px; vertical-align: middle; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / panels ---------- */
.panel { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(14px); }
.panel--glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(45,226,192,.55), rgba(79,139,255,.15) 40%, rgba(139,108,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.how-step { padding: 32px 28px; }
.how-num { font-family: var(--f-mono); font-size: .76rem; color: var(--pulse); letter-spacing: .14em; }
.how-step h3 { margin: 14px 0 10px; font-size: 1.35rem; }
.how-step p { color: var(--muted); margin: 0; }
.how-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-hi); margin-bottom: 22px; color: var(--pulse); }

/* ---------- Pathway explorer ---------- */
.explorer { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.explorer-side { padding: 22px; position: sticky; top: calc(var(--nav-h) + 20px); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-bottom: 18px; }
.seg button { border: 0; background: transparent; border-radius: 10px; padding: 10px 6px; font-weight: 650; font-size: .88rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--panel-hi); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-hi); }
.dest-list { display: grid; gap: 4px; }
.dest {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid transparent; background: transparent; border-radius: 12px; padding: 10px 12px; font-weight: 600; color: var(--muted);
  transition: background .2s, border-color .2s, color .2s;
}
.dest:hover { background: rgba(255,255,255,.04); color: var(--text); }
.dest[aria-pressed="true"] { background: rgba(45,226,192,.07); border-color: rgba(45,226,192,.35); color: var(--text); }
.dest .flag { font-size: 1.3rem; width: 28px; text-align: center; }
.dest .chev { margin-left: auto; opacity: .4; }

.path-card { padding: 34px; min-height: 560px; }
.path-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.path-route { display: flex; align-items: center; gap: 14px; }
.path-route .flag { font-size: 2.2rem; }
.path-route h3 { font-size: 1.6rem; }
.path-route .mono { color: var(--pulse); }
.path-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.meta-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.meta-box .mono { color: var(--dim); font-size: .62rem; display: block; margin-bottom: 6px; }
.meta-box a { color: var(--text); text-decoration: none; border-bottom: 1px dashed var(--line-hi); }
.meta-box a:hover { color: var(--pulse); border-color: var(--pulse); }
.meta-box p { margin: 0; font-size: .92rem; font-weight: 550; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 22px 52px; color: var(--muted); counter-increment: step; }
.timeline li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .72rem; color: var(--pulse); border: 1px solid rgba(45,226,192,.35); background: rgba(45,226,192,.06);
}
.timeline li::after { content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 4px; width: 1px; background: linear-gradient(var(--line-hi), transparent); }
.timeline li:last-child::after { display: none; }
.timeline li:last-child { padding-bottom: 0; }
.cv-note { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-hi); font-size: .93rem; }
.cv-note strong { color: var(--text); }
.path-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.disclaimer { font-size: .8rem; color: var(--dim); margin: 18px 0 0; }

/* ---------- Studio ---------- */
.studio-section { background: linear-gradient(180deg, transparent, rgba(8, 16, 31, .9) 18%, rgba(8, 16, 31, .9) 82%, transparent); }
.studio { overflow: hidden; box-shadow: var(--shadow), var(--glow); }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(5, 10, 22, .55); }
.lights { display: flex; gap: 7px; } .lights i { width: 11px; height: 11px; border-radius: 50%; background: #29344f; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.studio-url { font-family: var(--f-mono); font-size: .74rem; color: var(--dim); padding: 6px 14px; border-radius: 8px; background: rgba(255,255,255,.04); }
.studio-plan { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; color: var(--pulse); }
.studio-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.studio-form { padding: 26px 28px 28px; border-right: 1px solid var(--line); }
.studio-out { padding: 26px 28px 28px; background: rgba(5, 10, 22, .35); display: flex; flex-direction: column; }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.stepper button { position: relative; text-align: left; border: 0; background: transparent; padding: 0 0 12px; cursor: pointer; color: var(--dim); }
.stepper button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); }
.stepper button.done::after, .stepper button[aria-current="step"]::after { background: var(--grad); }
.stepper .mono { display: block; font-size: .62rem; }
.stepper b { font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--muted); }
.stepper button[aria-current="step"] b { color: var(--text); }
.step { display: none; animation: fadeUp .35s ease both; }
.step.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .flabel { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.field > label .req { color: var(--pulse); }
.field .hint { font-size: .78rem; color: var(--dim); }
.control {
  width: 100%; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(5, 10, 22, .5);
  padding: 12px 14px; font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.control::placeholder { color: #55637f; }
.control:focus { border-color: rgba(45,226,192,.7); box-shadow: 0 0 0 4px rgba(45,226,192,.1); background: rgba(5, 10, 22, .75); }
.control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,107,122,.12); }
textarea.control { resize: vertical; min-height: 84px; line-height: 1.55; }
select.control { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23a3b0cc' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.control option { background: var(--panel-solid); }

.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; cursor: pointer; text-align: left;
  border: 1px solid var(--line-hi); background: rgba(255,255,255,.025); border-radius: 14px; padding: 12px 14px; color: var(--muted);
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.choice:hover { border-color: rgba(45,226,192,.45); color: var(--text); }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--pulse); background: rgba(45,226,192,.08); color: var(--text); box-shadow: 0 0 0 3px rgba(45,226,192,.1); }
.choice svg { color: var(--pulse); }
.choice b { font-size: .92rem; font-weight: 650; }
.choice small { font-size: .74rem; color: var(--dim); line-height: 1.35; }
.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-hi); background: rgba(255,255,255,.025); border-radius: 999px; padding: 7px 14px; font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: rgba(45,226,192,.45); }
.chip[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
details.more { border: 1px dashed var(--line-hi); border-radius: 12px; padding: 12px 14px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); list-style: none; }
details.more summary::before { content: "+"; display: inline-block; width: 18px; color: var(--pulse); font-weight: 800; }
details.more[open] summary::before { content: "−"; }
details.more[open] summary { margin-bottom: 10px; }
.hp { position: absolute !important; left: -9999px !important; }

.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.generate { position: relative; overflow: hidden; width: 100%; min-height: 58px; font-size: 1.04rem; border-radius: 16px; }
.generate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); }
.generate:hover::after { animation: sheen 1s ease; }
.generate[disabled] { opacity: .7; cursor: progress; transform: none; }
@keyframes sheen { to { transform: translateX(100%); } }
.usage { margin-top: 14px; }
.usage-row { display: flex; justify-content: space-between; font-size: .8rem; color: var(--dim); }
.usage-row b { color: var(--text); font-weight: 650; }
.usage-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); margin-top: 8px; overflow: hidden; }
.usage-fill { height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .6s ease; }
.usage-links { display: flex; justify-content: space-between; margin-top: 10px; font-size: .8rem; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--pulse); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.out-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-bottom: 14px; }
.out-tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; font-size: .86rem; color: var(--muted); cursor: pointer; }
.out-tabs button[aria-selected="true"] { background: var(--panel-hi); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-hi); }

.paper {
  flex: 1; min-height: 520px; border-radius: 16px; background: #fbfcff; color: #0f172a;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  padding: 34px 36px; position: relative; overflow: hidden;
}
.paper-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid #0f172a; }
.paper-name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #0b1220; }
.paper-sub { font-size: .84rem; color: #475569; margin-top: 4px; }
.paper-badge { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: #0b1220; color: #7ff3dc; white-space: nowrap; }
.paper-body { white-space: pre-wrap; font-size: .93rem; line-height: 1.75; color: #1e293b; word-wrap: break-word; }
.paper-empty { white-space: normal; display: grid; place-items: center; text-align: center; min-height: 340px; color: #64748b; }
.paper-empty b { display: block; color: #0f172a; font-family: var(--f-display); font-size: 1.15rem; margin: 12px 0 6px; }
.paper-empty .ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #e6fff8, #e8efff); color: #0e9f86; }
.skeleton i { display: block; height: 11px; border-radius: 6px; margin-bottom: 12px; background: linear-gradient(90deg, #eef2f8 25%, #dfe6f2 50%, #eef2f8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton i:nth-child(3n) { width: 72%; } .skeleton i:nth-child(4n) { width: 88%; } .skeleton i:nth-child(5n) { width: 60%; margin-bottom: 26px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton, .gen-status { white-space: normal; }
.gen-status { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #0e9f86; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.gen-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0e9f86; animation: ping 1.4s infinite; }
.paper-error { color: #b42335; }
.out-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.out-actions .btn { min-height: 40px; padding: 0 14px; font-size: .84rem; }
.out-actions[hidden] { display: none; }
.out-note { font-size: .78rem; color: var(--dim); margin-top: 12px; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { padding: 30px; overflow: hidden; }
.tile h3 { margin: 16px 0 10px; }
.tile p { color: var(--muted); margin: 0; font-size: .95rem; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--third { grid-column: span 2; }
.tile-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-hi); color: var(--pulse); }
.formats { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.fmt { flex: 1; min-width: 140px; border-radius: 14px; border: 1px solid var(--line-hi); padding: 14px; background: rgba(5,10,22,.5); }
.fmt .mono { color: var(--pulse); font-size: .62rem; }
.fmt b { display: block; font-family: var(--f-display); margin: 4px 0 10px; }
.big-num { font-family: var(--f-display); font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 18px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp { padding: 28px; }
.cmp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cmp blockquote { margin: 0; font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.cmp--bad blockquote { color: #7d8aa6; text-decoration: line-through; text-decoration-color: rgba(255,107,122,.5); }
.cmp--good blockquote { color: var(--text); }
.cmp--good mark { background: rgba(45,226,192,.16); color: var(--text); padding: 0 4px; border-radius: 4px; }
.cmp ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .88rem; }
.cmp--bad li::before { content: "✕"; color: var(--danger); margin-right: 8px; font-weight: 800; }
.cmp--good li::before { content: "✓"; color: var(--pulse); margin-right: 8px; font-weight: 800; }
.cmp li { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 34px 30px; display: flex; flex-direction: column; }
.price--pop { background: linear-gradient(180deg, rgba(28, 46, 90, .8), rgba(14, 24, 48, .8)); transform: translateY(-10px); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #04121f; font-weight: 700; white-space: nowrap; }
.price h3 { font-size: 1.1rem; }
.price .for { font-size: .9rem; color: var(--muted); margin: 6px 0 20px; min-height: 2.9em; }
.amount { display: flex; align-items: flex-end; gap: 8px; }
.amount b { font-family: var(--f-display); font-size: 3.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.amount b sup { font-size: 1.4rem; vertical-align: top; position: relative; top: .45em; margin-right: 2px; color: var(--muted); }
.amount span { color: var(--dim); font-size: .85rem; padding-bottom: 4px; }
.price ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: .93rem; color: var(--muted); }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(45,226,192,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='m1 4 2.5 2.5L9 1' stroke='%232de2c0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.agency { margin-top: 22px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.agency p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
.pay-note { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--dim); }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-4px); border-color: rgba(45,226,192,.4); }
.guide-card .flag { font-size: 1.8rem; }
.guide-card h3 { font-size: 1.08rem; }
.guide-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.guide-card .more-link { color: var(--pulse); font-weight: 650; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-hi); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 18px; font-weight: 650; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-hi); color: var(--pulse); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Promise + CTA ---------- */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px 38px; }
.promise-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #04121f; }
.promise h3 { font-size: 1.4rem; margin-bottom: 8px; }
.promise p { margin: 0; color: var(--muted); }
.cta-band { position: relative; text-align: center; padding: 90px 30px; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(45,226,192,.22), transparent 70%); z-index: -1; }
.cta-band h2 { max-width: 760px; margin: 18px auto 16px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 30px; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); font-size: .93rem; }
.foot-grid a:hover { color: var(--pulse); }
.foot-about { color: var(--muted); font-size: .92rem; max-width: 320px; margin-top: 16px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }

/* ---------- Modal ---------- */
dialog.modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--text); overflow: visible; }
dialog.modal::backdrop { background: rgba(2, 5, 12, .72); backdrop-filter: blur(6px); }
.modal-in { position: relative; padding: 34px; border-radius: 24px; background: linear-gradient(180deg, #111d3a, #0a1328); border: 1px solid var(--line-hi); box-shadow: var(--shadow); max-height: calc(100vh - 32px); overflow: auto; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.modal h2 { font-size: 1.9rem; margin: 14px 0 8px; }
.modal-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 18px; }
.mplan { padding: 22px; border-radius: 18px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 6px; }
.mplan--pop { border-color: rgba(45,226,192,.55); background: rgba(45,226,192,.06); }
.mplan .amount b { font-size: 2.4rem; }
.mplan ul { list-style: none; padding: 0; margin: 8px 0 14px; font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.mplan li::before { content: "✓ "; color: var(--pulse); font-weight: 800; }
.license-form { display: flex; gap: 8px; }
.license-form .control { flex: 1; font-family: var(--f-mono); letter-spacing: .04em; }
.form-msg { font-size: .85rem; margin-top: 8px; min-height: 1.2em; }
.form-msg.err { color: var(--danger); } .form-msg.ok { color: var(--ok); }

/* ---------- Toast + mobile bar ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 14px; background: #eef3ff; color: #06101f; font-weight: 650; font-size: .92rem; box-shadow: var(--shadow); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-bar { display: none; }

/* ---------- Inner pages (guides, legal, login) ---------- */
.page-hero { padding: 70px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 140%; z-index: -1; background: radial-gradient(40% 50% at 70% 30%, rgba(79,139,255,.2), transparent 70%), radial-gradient(30% 40% at 15% 20%, rgba(45,226,192,.12), transparent 70%); }
.crumbs { font-size: .84rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--pulse); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; margin-top: 18px; }
.page-hero .chips { margin-top: 22px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-bottom: 100px; }
.layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.aside .panel { padding: 24px; }
.prose { font-size: 1.04rem; color: #cdd7ec; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; color: var(--text); }
.prose a { color: var(--pulse); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--pulse); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 16px; border: 1px solid var(--line-hi); background: var(--grad-soft); color: var(--text); font-size: 1.02rem; }
.prose blockquote p { margin: 0; }
.prose img { border-radius: 16px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line-hi); padding: 10px 12px; text-align: left; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 6px; }
.prose input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .prose select, .prose textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(5,10,22,.5); padding: 12px 14px; color: var(--text);
}
.prose button, .prose input[type="submit"], .prose .button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--grad); color: #04121f; font-weight: 700; cursor: pointer; text-decoration: none; }
.prose label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.mini-path h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin: 0 0 12px; }
.mini-path .timeline li { padding-bottom: 14px; font-size: .9rem; padding-left: 46px; }
.mini-path .timeline li::before { width: 30px; height: 30px; font-size: .66rem; }
.mini-path .timeline li::after { left: 14.5px; top: 32px; }
.err-404 { text-align: center; padding: 140px 0; }
.err-404 .big-num { font-size: clamp(6rem, 18vw, 12rem); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-top: 10px; }
  .hud--a { left: 0; } .hud--b { right: 0; } .hud--c { left: 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-side { position: static; }
  .dest-list { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); max-height: none; }
  .dest .chev { display: none; }
  .studio-body { grid-template-columns: 1fr; }
  .studio-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--nav-h); left: 12px; right: 12px; padding: 12px;
    background: #0a1428; border: 1px solid var(--line-hi); border-radius: 18px; box-shadow: var(--shadow);
  }
  .nav-open .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-open { background: rgba(5, 10, 22, .95); }
  .how, .pricing, .guide-grid, .compare { grid-template-columns: 1fr; }
  .price--pop { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--half, .tile--third { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .path-meta { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; padding: 8px;
    border-radius: 18px; background: rgba(9, 16, 32, .92); border: 1px solid var(--line-hi); backdrop-filter: blur(14px); box-shadow: var(--shadow);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 46px; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 70px; }
  .route-row { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .brand { font-size: 1.18rem; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-in { gap: 10px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 0 14px; }
  .announce { font-size: .76rem; padding: 8px 12px; }
  .kicker { letter-spacing: .06em; font-size: .64rem; }
  .dest-list { grid-template-columns: 1fr 1fr; }
  .dest { padding: 9px 10px; font-size: .88rem; gap: 8px; }
  .route .btn { min-height: 52px; }
  .hud { min-width: 0; padding: 10px 12px; }
  .hud strong { font-size: .9rem; }
  .hud--b { display: none; }
  .fgrid, .role-cards, .modal-plans { grid-template-columns: 1fr; }
  .type-cards { grid-template-columns: 1fr 1fr; }
  .role-cards { grid-template-columns: repeat(3, 1fr); }
  .role-cards .choice small { display: none; }
  .studio-form, .studio-out { padding: 20px 16px; }
  .studio-url { display: none; }
  .paper { padding: 22px 18px; min-height: 420px; }
  .path-card { padding: 22px 18px; }
  .modal-in { padding: 26px 18px; }
  .license-form { flex-direction: column; }
  .agency { padding: 20px; }
  .cta-band { padding: 64px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print: only the document ---------- */
@media print {
  body * { visibility: hidden; }
  #paper, #paper * { visibility: visible; }
  #paper { position: absolute; inset: 0; box-shadow: none; border-radius: 0; padding: 0; }
  .paper-badge { display: none; }
}
