/* FILM AD website. Tokens first, then base, then components. */
:root {
  --ink: #0A1220;
  --ink-2: #101C30;
  --screen: #060A12;
  --line: #20314B;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --text: #0E1A2B;
  --muted: #52627A;
  --rule: #D5DDE8;
  --on-dark: #E8EEF7;
  --on-dark-muted: #9DB0C8;
  --cyan: #3FD9FF;
  --accent: #0A6F8A;         /* cyan darkened for text on paper */
  --amber: #F2A413;
  --green: #14966B;
  --red: #C93A53;
  --story: #0E9AA7;
  --visual: #7A5AF8;
  --prod: #E8851A;
  --lib: #C9971C;
  --radius: 6px;
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); }
img, svg, video, iframe { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.ic { width: 1em; height: 1em; flex: none; vertical-align: -.125em; fill: currentColor; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.dark .lead, .on-dark .lead, .hero .lead, .cta .lead { color: var(--on-dark-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1 var(--body); padding: 15px 24px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: #04121C; }
.btn--primary:hover { background: #7BE6FF; color: #04121C; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #1B2D49; color: var(--white); }
.btn--ghost { border-color: currentColor; background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .btn--ghost, .hero .btn--ghost, .cta .btn--ghost, .aside-card .btn--ghost, .section--ink .btn--ghost, .panel--dark .btn--ghost { color: var(--on-dark); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta .btn--ghost:hover, .aside-card .btn--ghost:hover, .section--ink .btn--ghost:hover, .panel--dark .btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--sm { padding: 10px 16px; font-size: .95rem; }
.btn--lg { padding: 18px 30px; font-size: 1.1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header */
.site-header { background: var(--ink); color: var(--on-dark); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 800 1.35rem/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--white); }
.brand-mark { width: 30px; height: 30px; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; }
.site-nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--cyan); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.5rem; padding: 8px; cursor: pointer; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: inline; }

/* ---------- hero */
.hero { background: var(--screen); color: var(--on-dark); position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before, .hero::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(to bottom, transparent 0 16px, rgba(255,255,255,.07) 16px 30px); }
.hero::before { left: 14px; }
.hero::after { right: 14px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero .lead { margin-bottom: 1.6em; }
.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: var(--on-dark-muted); font-size: .98rem; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ic { color: var(--cyan); }

.mock { margin: 0; background: #0B1424; border: 1px solid #25385A; border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.55); overflow: hidden; font-size: .8125rem; line-height: 1.35; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #08101D; border-bottom: 1px solid #1B2C48; color: var(--on-dark-muted); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3E60; }
.mock-bar i:nth-child(1) { background: #E8851A; } .mock-bar i:nth-child(2) { background: #D9A00B; } .mock-bar i:nth-child(3) { background: #14966B; }
.mock-bar b { margin-left: 8px; color: var(--cyan); font-weight: 700; }
.mock-main { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 330px; }
.mock-content { min-width: 0; }
.mock-side { background: #09111F; border-right: 1px solid #1B2C48; padding: 12px 8px; display: grid; align-content: start; gap: 4px; color: #B9C8DC; }
.mock-side span { padding: 6px 8px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-side .on { background: #16304F; color: var(--cyan); font-weight: 700; }
.mock-side small { margin-top: 8px; padding-left: 8px; color: #6C82A3; font-size: .7rem; }
.mock-content { padding: 14px 14px 16px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--white); font: 700 .95rem var(--display); }
.mock-title em { font: 600 .72rem var(--body); font-style: normal; color: #7E93B3; }
.mock-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; background: #101D33; border-radius: 6px; margin-bottom: 6px; color: #D6E1F0; animation: rowIn .5s ease both; animation-delay: calc(var(--i) * .3s + .5s); }
.mock-row b { color: #7E93B3; font-weight: 600; }
.chip { font-weight: 700; font-size: .7rem; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.chip--plan { background: #243350; color: #B8C6DB; }
.chip--ready { background: #4A3A10; color: #FFC85A; }
.chip--gen { background: #0F3E52; color: #6FE1FF; }
.chip--ok { background: #0E4535; color: #5FE3B4; }
.mock-prompt { margin-top: 12px; background: #0A1424; border: 1px solid #1D3050; border-radius: 6px; padding: 10px 12px; color: #A9BBD3; min-height: 66px; }
.mock-prompt p { margin: 0; overflow: hidden; white-space: nowrap; width: 0; animation: typing 2.6s steps(46, end) 1.9s forwards; }
.mock-prompt span { display: block; margin-top: 4px; color: #6C82A3; }
.mock-go { display: flex; justify-content: flex-end; margin-top: 10px; }
.mock-go span { background: var(--cyan); color: #04121C; font-weight: 800; padding: 7px 16px; border-radius: 5px; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes typing { from { width: 0; } to { width: 100%; } }

/* ---------- sections */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: .35em; }

/* three-column value statement */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.value { padding: 26px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--rule); }
.value .ic { font-size: 1.7rem; color: var(--accent); margin-bottom: 14px; }
.value h3 { margin-bottom: .3em; }
.value p { color: var(--muted); }

/* tool reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.reel { border-left: 5px solid var(--reel, var(--ink)); padding-left: 22px; }
.reel--story { --reel: var(--story); } .reel--visual { --reel: var(--visual); } .reel--prod { --reel: var(--prod); }
.reel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .2em; }
.reel h3 .ic { color: var(--reel); }
.reel > p { color: var(--muted); font-size: .98rem; }
.tools { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.tools li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; align-items: baseline; }
.tools .ic { color: var(--reel); font-size: 1rem; transform: translateY(2px); }
.tools strong { font-weight: 700; }
.tools span { grid-column: 2; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* pipeline */
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.pipeline li { position: relative; padding: 58px 18px 0 0; counter-increment: step; }
.pipeline li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #04121C; font: 800 1.05rem var(--display); }
.pipeline li::after { content: ""; position: absolute; top: 18px; left: 50px; right: 12px; height: 2px; background: #2A4166; }
.pipeline li:last-child::after { display: none; }
.pipeline h3 { font-size: 1.1rem; color: var(--white); margin-bottom: .25em; }
.pipeline p { color: var(--on-dark-muted); font-size: .95rem; margin: 0; }

/* two audiences */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border-radius: 10px; padding: 36px 36px 30px; }
.panel--dark { background: var(--ink); color: var(--on-dark); }
.panel--dark h3 { color: var(--white); }
.panel--line { background: var(--white); border: 2px solid var(--ink); }
.panel h3 { font-size: 1.6rem; margin-bottom: .1em; }
.panel > p { color: var(--muted); }
.panel--dark > p { color: var(--on-dark-muted); }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.checks .ic { color: var(--green); margin-top: 5px; }
.panel--dark .checks .ic { color: var(--cyan); }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: .97rem; }
.panel--dark .checks span { color: var(--on-dark-muted); }

/* video */
.video-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; background: #08101D center / cover no-repeat; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(6,10,18,.35); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease; }
.video button:hover { background: rgba(6,10,18,.15); }
.video button .ic { font-size: 4.2rem; color: var(--white); filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { color: var(--muted); }
.video-note a { font-weight: 600; }

/* rate card */
.currency { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.currency button { font: 700 .95rem var(--body); padding: 9px 18px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.currency button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.rates { border-top: 3px solid var(--ink); background: var(--white); }
.rate { display: grid; grid-template-columns: 1.25fr .55fr 1.9fr .85fr 1.15fr; gap: 20px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--rule); }
.rate h3 { margin: 0; font-size: 1.25rem; }
.rate .term { font-weight: 700; }
.rate p { margin: 0; color: var(--muted); font-size: .98rem; }
.rate .amount { font: 800 1.9rem/1 var(--display); letter-spacing: -.02em; }
.rate--best { background: #FFF8E6; box-shadow: inset 6px 0 0 var(--amber); }
.tag { display: inline-block; font: 700 .78rem var(--body); background: var(--amber); color: var(--ink); padding: 3px 9px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.rates-note { margin-top: 18px; color: var(--muted); font-size: .98rem; max-width: 80ch; }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.steps li { counter-increment: s; padding: 24px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(s); display: block; font: 800 2.6rem/1 var(--display); color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* faq */
.faq { max-width: 860px; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font: 700 1.1rem var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); font: 500 1.8rem/1 var(--body); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 44px 22px 0; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* closing call to action */
.cta { background: var(--ink); color: var(--on-dark); padding: 80px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 .25em; }
.cta p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; }

/* ---------- inner pages */
.pagehead { background: var(--screen); color: var(--on-dark); padding: 56px 0 52px; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(to bottom, transparent 0 16px, rgba(255,255,255,.07) 16px 30px); }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--white); margin-bottom: .25em; }
.pagehead p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 62ch; margin: 0; }
.page { padding: 56px 0 90px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.stack > * + * { margin-top: 28px; }
.sheet { background: var(--white); border-top: 3px solid var(--ink); }
.sheet-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.sheet-row dt { font-weight: 700; }
.sheet-row dd { margin: 0; color: var(--muted); }
.sheet-head { padding: 14px 20px; font: 700 1.05rem var(--display); border-bottom: 1px solid var(--rule); }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 22px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.numbered li::before { content: counter(n); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 800 1rem var(--display); }
.numbered h3 { font-size: 1.1rem; margin: 4px 0 .2em; }
.numbered p { margin: 0; color: var(--muted); }
.note { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 20px; background: #E9F6FA; border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.note .ic { color: var(--accent); margin-top: 4px; }
.note--warn { background: #FFF6DD; border-left-color: var(--amber); }
.note--warn .ic { color: #A66B00; }
.note p { margin: 0; }
.note p + p { margin-top: .6em; }
.aside-card { background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: 28px; position: sticky; top: 92px; }
.aside-card h2 { color: var(--white); font-size: 1.35rem; }
.aside-card p { color: var(--on-dark-muted); }
.aside-card .big { font: 800 2.4rem/1 var(--display); color: var(--white); margin: 10px 0 14px; }
.facts { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.facts .ic { color: var(--cyan); margin-top: 5px; }
.code-box { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--cyan); padding: 12px 14px; border-radius: var(--radius); font: 700 1.05rem/1.2 Consolas, "Courier New", monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
.code-box { flex-wrap: wrap; font-size: .95rem; letter-spacing: .02em; }
.code-box span { flex: 1 1 200px; overflow-wrap: anywhere; }
.copy { display: inline-flex; align-items: center; gap: 7px; font: 600 .9rem var(--body); padding: 8px 12px; border: 1.5px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.12); }
.sheet .copy, .page .copy { color: var(--ink); }
.code-box .copy { color: var(--on-dark); }
.mock-activate { background: #0B1424; border: 1px solid #25385A; border-radius: 10px; padding: 22px; color: var(--on-dark); font-size: .9rem; }
.mock-activate h3 { color: var(--white); margin-bottom: .4em; }
.mock-activate .field-fake { background: #101D33; padding: 10px 12px; border-radius: 5px; margin: 6px 0 14px; color: var(--cyan); font: 700 .95rem Consolas, monospace; }
.mock-activate .btn-fake { display: inline-block; background: var(--cyan); color: #04121C; font-weight: 800; padding: 8px 18px; border-radius: 5px; }
.mock-activate small { display: block; color: #7E93B3; }

/* tables for messages */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; background: var(--white); border-top: 3px solid var(--ink); }
.table th, .table td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table th { font: 700 .98rem var(--display); background: #EEF2F7; }
.table td:first-child { font-weight: 600; min-width: 240px; }
.table td { color: var(--muted); }
.table td:first-child { color: var(--text); }

/* forms */
.form { background: var(--white); border-top: 3px solid var(--ink); padding: 28px 28px 32px; }
.form h2 { font-size: 1.4rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .98rem; }
.field .hint { color: var(--muted); font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { font: 500 1rem var(--body); padding: 12px 14px; border: 2px solid #B9C4D3; border-radius: var(--radius); background: var(--white); color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid rgba(10,111,138,.25); outline-offset: 0; }
.field input.mono { font: 700 1.05rem Consolas, "Courier New", monospace; letter-spacing: .05em; text-transform: uppercase; }
.field .error { color: var(--red); font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.field input[aria-invalid="true"] { border-color: var(--red); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.plans { display: grid; gap: 10px; }
.plan-opt { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid #B9C4D3; border-radius: var(--radius); cursor: pointer; background: var(--white); }
.plan-opt:has(input:checked) { border-color: var(--ink); background: #F1F6FA; box-shadow: inset 5px 0 0 var(--ink); }
.field label.plan-opt, .field label.consent { font-weight: 500; }
.plan-opt b { font-weight: 700; }
.plan-opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.plan-opt b { display: block; }
.plan-opt small { color: var(--muted); }
.plan-opt .price { font: 800 1.35rem var(--display); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .96rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mail-fallback { margin-top: 24px; background: #EEF2F7; border-radius: var(--radius); padding: 18px 20px; }
.mail-fallback[hidden] { display: none; }
.mail-fallback h3 { font-size: 1.05rem; }
.mail-fallback textarea { width: 100%; min-height: 180px; font: 500 .95rem/1.5 Consolas, "Courier New", monospace; padding: 12px; border: 2px solid #B9C4D3; border-radius: var(--radius); background: var(--white); color: var(--text); }
.pay-panel { background: var(--white); border-top: 3px solid var(--amber); padding: 22px 24px; }
.pay-panel h3 { font-size: 1.15rem; }
.pay-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.pay-line:last-child { border-bottom: 0; }
.pay-line dt { min-width: 130px; color: var(--muted); font-weight: 600; }
.pay-line dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.pay-panel img { width: 200px; max-width: 100%; border: 1px solid var(--rule); border-radius: var(--radius); margin-top: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin-top: 18px; padding-top: 14px; font-weight: 700; }
.total span:last-child { font: 800 1.7rem var(--display); }

/* prose (legal) */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose .updated { color: var(--muted); }

/* download */
.dl-card { background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: 34px; display: grid; gap: 18px; }
.dl-card h2 { color: var(--white); margin: 0; font-size: 1.7rem; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--on-dark-muted); }
.dl-meta span { display: inline-flex; gap: 8px; align-items: center; }
.dl-meta .ic { color: var(--cyan); }
.hash { background: #08101D; border-radius: var(--radius); padding: 12px 14px; font: 500 .85rem/1.4 Consolas, monospace; color: #B9C8DC; overflow-wrap: anywhere; }

/* footer */
.site-footer { background: var(--screen); color: var(--on-dark-muted); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font: 700 1rem var(--display); color: var(--white); margin-bottom: .8em; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.foot-blurb { margin-top: 14px; max-width: 34ch; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .93rem; }
.foot-base p { margin: 0; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .hero-grid, .video-wrap, .cols { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .reels, .values, .split { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 22px 0 8px; border-left: 0; }
  .value + .value { border-top: 1px solid var(--rule); }
  .pipeline { grid-template-columns: 1fr; gap: 18px; }
  .pipeline li { padding: 0 0 0 56px; min-height: 44px; }
  .pipeline li::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li + li { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rate { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .rate > :nth-child(2) { grid-column: 1; }
  .rate > :nth-child(3) { grid-column: 1 / -1; }
  .rate .amount { grid-row: 1; grid-column: 2; text-align: right; }
  .rate > :nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; align-items: stretch; padding: 14px 24px 24px; border-bottom: 1px solid var(--line); gap: 18px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a:not(.btn) { display: block; padding: 10px 0; }
  .site-header { position: relative; }
  .hero { padding: 48px 0 64px; }
  .hero::before, .hero::after, .pagehead::before { display: none; }
  .section { padding: 64px 0; }
  .fields { grid-template-columns: 1fr; }
  .sheet-row { grid-template-columns: 1fr; gap: 4px; }
  .panel { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .mock-main { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mock-prompt p { width: 100%; }
}
