/* Nextlink Authorized Partner Program. All styles live here: the CSP
   blocks inline style. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Orbitron"; font-weight: 500; font-display: swap; src: url("../fonts/orbitron-500.otf") format("opentype"); }
@font-face { font-family: "Orbitron"; font-weight: 700; font-display: swap; src: url("../fonts/orbitron-700.otf") format("opentype"); }
@font-face { font-family: "Orbitron"; font-weight: 900; font-display: swap; src: url("../fonts/orbitron-900.otf") format("opentype"); }

:root {
  --bg: #08090B;
  --bg-2: #0B0C0E;
  --panel: #0E1013;
  --panel-2: #121418;
  --panel-3: #181B20;
  --line: #23262C;
  --line-2: #2A2E36;
  --line-3: #33383F;
  --white: #FFFFFF;
  --text: #D7DBE2;
  --text-2: #B9BFC8;
  --muted: #98A0AB;
  --muted-2: #A7B5C8;
  --muted-3: #818997;
  --accent: #F5A11E;
  --accent-ink: #0B0C0E;
  --accent-soft: rgba(245, 161, 30, .10);
  --accent-line: rgba(245, 161, 30, .30);
  --ok: #4FD6A2;
  --warn: #F3C35B;
  --err: #FF8A7A;
  --display: "Orbitron", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 4px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: 1080px; margin: 0 auto; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 4px;
  font: 600 14px var(--sans); cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #FFB341; }
.btn-primary:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 500; }
.btn-ghost:hover { border-color: var(--line-3); color: var(--white); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.eyebrow { font: 600 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }

/* Site header */
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 40px;
  background: rgba(8, 9, 11, .9); backdrop-filter: blur(8px); border-bottom: 1px solid #1B1E23; }
.site-head .logo img { height: 20px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--text-2); font-size: 14px; }
.site-nav .btn { height: 38px; padding: 0 18px; }

/* Hero */
.hero { position: relative; padding: 88px 40px 76px; background: var(--bg); overflow: hidden; }
.hero-bg, .hero-shade, .hero-glow, .hero-grid { position: absolute; inset: 0; }
.hero-bg { background: url("../img/hero.jpg") center 42% / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg, rgba(6,7,9,.94) 0%, rgba(6,7,9,.86) 46%, rgba(6,7,9,.5) 100%); }
.hero-glow { background: radial-gradient(120% 90% at 12% 0%, rgba(245,161,30,.14), transparent 55%); }
.hero-grid { background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; }
.hero .wrap { position: relative; }
.hero-lockup { width: 396px; height: 131px; object-fit: cover; mix-blend-mode: screen; margin-left: -18px; }
.hero h1 { font: 900 48px/1.25 var(--display); color: var(--white); margin: 0 0 24px; letter-spacing: -.02em; max-width: 820px; text-wrap: balance; }
.hero-lede { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 600px; margin: 0 0 36px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-ghost { border-color: var(--line-3); color: #F0F2F5; }
.stats { display: flex; gap: 64px; margin: 72px 0 0; padding: 32px 0 0; border-top: 1px solid #1F2228; list-style: none; }
.stats strong { display: block; font: 700 34px/40px var(--display); color: var(--accent); }
.stats span { display: block; font-size: 14px; color: var(--muted-3); margin-top: 6px; }

/* Sections */
.section { padding: 80px 40px; background: var(--bg); border-top: 1px solid #16181C; }
.section h2 { font: 700 38px/46px var(--display); color: var(--white); margin: 0 0 44px; max-width: 640px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1F2228; border: 1px solid #1F2228; border-radius: 6px; overflow: hidden; }
.why-grid article { background: var(--panel); padding: 32px 28px 34px; }
.why-icon { width: 40px; height: 40px; border-radius: 6px; background: rgba(245,161,30,.12); border: 1px solid var(--accent-line); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; color: var(--accent); }
.why-icon svg { width: 20px; height: 20px; }
.why-grid h3 { font: 600 19px var(--sans); color: var(--white); margin: 0 0 10px; }
.why-grid p { color: var(--muted); margin: 0; line-height: 24px; }

.tiers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.tiers-head h2 { margin: 0; max-width: 560px; }
.tiers-head p { color: var(--muted-2); max-width: 280px; margin: 0; line-height: 24px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px 28px; display: flex; flex-direction: column; }
.tier-num { font: 600 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); }
.tier h3 { font: 700 22px var(--display); color: var(--white); margin: 12px 0 8px; }
.tier > p { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0 0 22px; flex: 1; }
.tier ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.tier li { font-size: 14px; color: var(--text-2); min-height: 36px; display: flex; align-items: center; }
.tier li.neg { color: var(--muted-2); }
.tier .btn { margin-top: 26px; border-color: var(--line-3); color: #F0F2F5; }
.tier-featured { background: #101216; border-color: var(--accent); box-shadow: 0 0 32px rgba(245,161,30,.12); }
.tier-featured .tier-num { color: var(--accent); }
.tier-featured ul { border-top-color: var(--line-2); }
.tier-featured li { color: #E4E7EC; }
.tier-featured .btn { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tier-top { display: flex; align-items: center; justify-content: space-between; }
.badge { font: 600 13px var(--sans); color: var(--accent-ink); background: var(--accent); border-radius: 3px; padding: 4px 8px; }

.closing { padding: 72px 40px; text-align: center; border-top: 1px solid #16181C;
  background: radial-gradient(90% 140% at 50% 100%, rgba(245,161,30,.14), transparent 60%), var(--bg); }
.closing h2 { font: 700 40px/48px var(--display); color: var(--white); margin: 0 auto 16px; max-width: 700px; }
.closing p { font-size: 16px; line-height: 26px; color: var(--muted); margin: 0 auto 32px; max-width: 480px; }
.site-foot { padding: 28px 40px; border-top: 1px solid #16181C; color: var(--muted-3); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ========== Application wizard ========== */
.app-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 28px; background: var(--bg); border-bottom: 1px solid var(--line); gap: 12px; }
.app-head .logo img { height: 20px; width: auto; }
.app-head-right { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
.save-pill { font: 500 13px var(--sans); color: var(--accent); background: rgba(245,161,30,.12); border: 1px solid var(--accent-line); border-radius: 4px; padding: 5px 10px; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; }
.secure-note svg { width: 14px; height: 14px; }

.app-shell { display: grid; grid-template-columns: 288px 1fr; min-height: calc(100vh - 64px); background: var(--bg-2); }
.rail { background: var(--panel); border-right: 1px solid var(--line); padding: 28px 24px; }
.rail-title { font: 600 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.steps button { all: unset; box-sizing: border-box; width: 100%; display: flex; gap: 14px; padding: 12px; border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
.steps button:focus-visible { outline: 2px solid var(--accent); }
.steps button[disabled] { cursor: default; }
.step-dot { width: 24px; height: 24px; border-radius: 999px; border: 1px solid #363B44; color: var(--muted-2); font: 600 13px var(--sans);
  display: flex; align-items: center; justify-content: center; flex: none; }
.step-name { display: block; font: 500 14px var(--sans); color: var(--muted); }
.step-sub { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; overflow-wrap: anywhere; }
.steps .done .step-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.steps .done .step-name { color: var(--text); }
.steps .current button { background: var(--accent-soft); border-color: rgba(245,161,30,.28); }
.steps .current .step-dot { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.steps .current .step-name { color: var(--white); font-weight: 600; }
.help-box { margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); font-size: 14px; line-height: 1.5; color: var(--muted); }
.help-box strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 6px; }

.mobile-progress { display: none; }

.form-col { padding: 36px 44px 40px; min-width: 0; }
.step-panel { max-width: 720px; }
.step-panel:focus { outline: none; }
.step-kicker { font: 600 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step-panel h1, .step-panel h2.step-title { font: 700 32px/40px var(--display); color: var(--white); margin: 10px 0 8px; letter-spacing: -.01em; }
.step-intro { color: var(--muted); margin: 0 0 32px; max-width: 560px; line-height: 24px; text-wrap: pretty; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.span-2 { grid-column: span 2; }
.field { min-width: 0; }
.field > label, .field > .label, fieldset > legend { display: block; font: 500 14px var(--sans); color: var(--text); margin-bottom: 7px; padding: 0; }
.opt { color: var(--muted-3); font-weight: 400; }
.hint { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.input, select.input, textarea.input { width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel-2); color: var(--white);
  padding: 0 12px; font: 400 15px var(--sans); }
textarea.input { height: auto; min-height: 112px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input::placeholder { color: #6E7682; }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,161,30,.18); }
.field.invalid .input, .field.invalid .chips-box, .field.invalid .drop { border-color: var(--err); }
.err { color: var(--err); font-size: 13px; margin-top: 6px; }
.err:empty { display: none; }

/* Partner type cards */
.type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-card { position: relative; display: block; border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 6px; padding: 18px 18px 18px 50px; cursor: pointer; }
.type-card input { position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.type-card .t-name { display: block; font: 700 17px var(--display); color: var(--white); }
.type-card .t-desc { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 22px; }
.type-card .t-tag { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 7px; }
.type-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.type-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Choice cards (radio) */
.choice-row { display: flex; gap: 10px; }
.choice { flex: 1; position: relative; display: block; border: 1px solid var(--line-2); background: var(--panel-2); border-radius: 4px; padding: 14px 16px 14px 44px; cursor: pointer; }
.choice input { position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.choice .c-title { display: block; font: 600 14px var(--sans); color: var(--text); }
.choice .c-desc { display: block; font-size: 14px; color: var(--muted-2); margin-top: 3px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:checked) .c-title { color: var(--white); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Toggle chips (checkbox) */
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.toggle span { display: inline-block; font: 500 14px var(--sans); color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 9px 13px; }
.toggle input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* State chips */
.chips-box { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel-2); min-height: 44px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 14px var(--sans); color: var(--accent-ink); background: var(--accent); border-radius: 3px; padding: 4px 6px 4px 9px; }
.chip button { all: unset; cursor: pointer; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; font-weight: 700; }
.chip button:hover, .chip button:focus-visible { background: rgba(0,0,0,.15); }
.chips-box select { flex: 1; min-width: 160px; height: 30px; border: 0; background: transparent; color: var(--muted-2); font: 400 14px var(--sans); }
.chips-box select:focus { outline: none; color: var(--white); }
.chips-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,161,30,.18); }
.chips-box option { background: var(--panel-2); color: var(--white); }

/* Range */
.range-box { border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel-2); padding: 16px 16px 12px; }
.range-box input[type=range] { width: 100%; appearance: none; height: 4px; border-radius: 999px; margin: 8px 0;
  background: linear-gradient(to right, var(--accent) 0 var(--fill, 20%), var(--line-2) var(--fill, 20%) 100%); }
.range-box input[type=range]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); border: 3px solid var(--bg-2); cursor: pointer; }
.range-box input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: var(--accent); border: 3px solid var(--bg-2); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--muted-2); }
.range-scale output { font-weight: 600; color: var(--accent); }

/* File drop */
.drop { position: relative; border: 1px dashed var(--line-3); border-radius: 6px; background: var(--panel-2); padding: 16px; display: flex; align-items: center; gap: 14px; }
.drop.dragging { border-color: var(--accent); background: var(--accent-soft); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-icon { width: 40px; height: 40px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--muted-2); flex: none; }
.drop-icon svg { width: 20px; height: 20px; }
.drop-text { min-width: 0; flex: 1; }
.drop-title { color: var(--white); font-weight: 500; font-size: 14px; }
.drop-sub { color: var(--muted-2); font-size: 13px; overflow-wrap: anywhere; }
.drop.has-file { border-style: solid; border-color: rgba(79,214,162,.5); }
.drop.has-file .drop-icon { color: var(--ok); border-color: rgba(79,214,162,.4); }
.drop .file-clear { position: relative; z-index: 2; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.doc-list { display: flex; flex-direction: column; gap: 16px; }
.notice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); background: var(--panel); border-radius: 6px; padding: 14px 16px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.notice svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 2px; }

.ref-block { border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: var(--panel); }
.ref-block h3 { font: 600 14px var(--sans); color: var(--white); margin: 0 0 14px; }

/* Nav row */
.nav-row { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 720px; }
.nav-row .autosave { margin-left: auto; font-size: 14px; color: var(--muted-2); }

/* Review */
.review { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.review-item { background: var(--panel-2); padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.review-item h3 { font: 600 14px var(--sans); color: var(--white); margin: 0 0 6px; }
.review-item p { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.review-item .edit { all: unset; cursor: pointer; font: 500 14px var(--sans); color: var(--accent); flex: none; }
.review-item .edit:hover { text-decoration: underline; }
.review-item .edit:focus-visible { outline: 2px solid var(--accent); }
.doc-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.doc-lines span { font-size: 14px; color: var(--muted); }
.doc-lines .ok { color: var(--ok); }
.doc-lines .warn { color: var(--warn); }
.agree { margin-top: 24px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); padding: 18px 20px; display: flex; gap: 13px; align-items: flex-start; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--accent); margin: 2px 0 0; flex: none; }
.agree span { font-size: 14px; line-height: 22px; color: var(--muted); }
.agree.invalid { border-color: var(--err); }
.form-alert { margin-top: 20px; border: 1px solid rgba(255,138,122,.45); background: rgba(255,138,122,.08); color: #FFD2CB; border-radius: 6px; padding: 12px 16px; font-size: 14px; }
.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.submit-row .btn-primary { height: 48px; padding: 0 28px; font-size: 15px; }
.submit-row .btn-ghost { height: 48px; }
.submit-row .note { margin-left: auto; font-size: 14px; color: var(--muted-2); }

/* Done */
.done-panel { max-width: 640px; }
.done-check { width: 56px; height: 56px; border-radius: 999px; background: rgba(79,214,162,.12); border: 1px solid rgba(79,214,162,.45); color: var(--ok); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.done-check svg { width: 28px; height: 28px; }
.app-id { display: inline-block; font: 600 18px var(--mono); color: var(--white); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 12px; margin: 4px 0 22px; }
.next-steps { margin: 0 0 28px; padding-left: 20px; color: var(--muted); }
.next-steps li { margin-bottom: 8px; }

/* 404 */
.nf { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.nf h1 { font: 700 34px var(--display); color: var(--white); margin: 0 0 12px; }
.nf p { color: var(--muted); margin: 0 0 24px; }

/* ========== Responsive ========== */
@media (max-width: 1040px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 240px 1fr; }
  .form-col { padding: 32px 28px; }
}
@media (max-width: 760px) {
  .site-head { padding: 0 16px; height: 60px; }
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 48px 16px 48px; }
  .hero-lockup { width: 280px; height: 93px; margin-left: -12px; }
  .hero h1 { font-size: 30px; }
  .hero-lede { font-size: 16px; line-height: 26px; }
  .hero-cta .btn { width: 100%; }
  .stats { gap: 24px; margin-top: 44px; justify-content: space-between; }
  .stats strong { font-size: 22px; line-height: 28px; }
  .stats span { font-size: 13px; }
  .section { padding: 56px 16px; }
  .section h2 { font-size: 26px; line-height: 34px; margin-bottom: 28px; }
  .tiers-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tiers { grid-template-columns: 1fr; }
  .closing { padding: 56px 16px; }
  .closing h2 { font-size: 26px; line-height: 34px; }
  .site-foot { padding: 24px 16px; }

  .app-head { padding: 0 16px; }
  .app-head .secure-note { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .mobile-progress { display: block; padding: 18px 16px 0; }
  .bars { display: flex; gap: 6px; }
  .bars span { flex: 1; height: 4px; border-radius: 999px; background: var(--line-2); }
  .bars span.on { background: var(--accent); }
  .mp-label { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted-2); }
  .mp-label strong { font: 600 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .form-col { padding: 24px 16px 40px; }
  .step-panel[data-panel] .step-kicker { display: none; }
  .step-panel h2.step-title { margin-top: 20px; }
  .step-panel h1, .step-panel h2.step-title { font-size: 24px; line-height: 32px; }
  .grid-2, .type-cards { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .choice-row { flex-direction: column; }
  .nav-row { flex-wrap: wrap; }
  .nav-row .btn-primary { flex: 1; }
  .nav-row .autosave { width: 100%; margin: 4px 0 0; text-align: center; }
  .submit-row .btn { width: 100%; }
  .submit-row .note { margin: 0; width: 100%; text-align: center; }
}

/* Print: "Download a copy" prints the review. */
@media print {
  body { background: #fff; color: #000; }
  .app-head, .rail, .mobile-progress, .nav-row, .submit-row, .agree, .review-item .edit, .skip { display: none !important; }
  .app-shell { display: block; background: #fff; }
  .form-col { padding: 0; }
  .step-panel h2.step-title, .review-item h3 { color: #000; }
  .review, .review-item { background: #fff; border-color: #ccc; }
  .review-item p, .doc-lines span, .step-intro { color: #222; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
