/* Byditors Studio: the site wears the studio's own broadcast-desk look.
   Graphite ground, paper ink, one signal yellow that owns plates and whole fields.
   No rules, no shadows at rest, no gradients: tone steps separate surfaces. */

@font-face { font-family: "Inter Display"; src: url("/fonts/display-900.woff") format("woff"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/display-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/text-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/text-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/text-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/text-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ground: #121315;
  --ground-2: #1a1b1e;
  --panel: #222327;
  --panel-2: #2b2d32;
  --ink: #f4f2ec;
  --ink-2: #c4c1b8;
  --signal: #ffd60a;
  --signal-press: #f0c800;
  --on-signal: #121212;
  --on-signal-2: #3b3518;
  --bad: #ff6a5c;
  --good: #7be0a0;

  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1400px;
  --section: clamp(104px, 13vw, 200px);
  --radius: 3px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
  accent-color: var(--signal);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--panel-2) var(--ground); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--panel-2); border: 3px solid var(--ground); border-radius: 8px; }

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
.tnum { font-variant-numeric: tabular-nums; }
.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; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--signal); color: var(--on-signal); padding: 10px 14px; font-weight: 600; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- Type roles ---------- */
.display {
  font-weight: 900;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.038em;
}
.h2 {
  font-weight: 900;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.034em;
}
.h3 {
  font-weight: 800;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--radius);
  font: 700 17px/1 var(--text); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, opacity 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-panel { background: var(--panel); color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn .price { font-variant-numeric: tabular-nums; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-signal:hover { background: var(--signal-press); }
  .btn-panel:hover { background: var(--panel-2); }
}
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(244, 242, 236, 0.4); transition: text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .textlink:hover { text-decoration-color: var(--signal); } }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.02em; }
.mark-plate { width: 26px; height: 26px; border-radius: var(--radius); background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font: 900 16px/1 var(--display); letter-spacing: -0.04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ink); } }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero h1 { grid-column: 1 / -1; max-width: 11.5em; }
.hero-copy { grid-column: 1 / span 4; padding-top: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.hero-media { grid-column: 6 / -1; padding-top: clamp(28px, 3vw, 44px); }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.reel { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.reel figcaption { font-size: 15px; font-weight: 600; line-height: 1.35; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; max-height: 78vh; background: var(--ground-2); border-radius: var(--radius); overflow: hidden; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  -webkit-appearance: none; appearance: none; position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 10px;
  border: 0; border-radius: var(--radius); background: var(--on-signal); color: var(--ink);
  font: 600 14px/1 var(--text); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.sound svg { width: 18px; height: 18px; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] { background: var(--signal); color: var(--on-signal); }
.sound[aria-pressed="true"] .wave { display: inline; }
.sound[aria-pressed="true"] .mute { display: none; }
.sound:active { transform: scale(0.96); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.frame { position: relative; background: var(--ground-2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.caption { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-media { grid-column: 1 / -1; }
  .reel figcaption { font-size: 14px; }
}

[data-enter] { animation: enter 760ms var(--ease-arrive) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.section-head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { grid-column: 1 / span 7; }
.section-head .lead { grid-column: 1 / span 6; }
@supports not (grid-template-columns: subgrid) { .section-head { display: flex; flex-direction: column; } }
@media (max-width: 960px) { .section-head h2, .section-head .lead { grid-column: 1 / -1; } }

/* ---------- Demo: requests and the player ---------- */
.demo-list { grid-column: 1 / span 5; position: relative; align-self: start; }
.demo-player { grid-column: 6 / -1; align-self: start; position: sticky; top: 92px; }
.requests { list-style: none; margin: 0; padding: 0; }
.request {
  -webkit-appearance: none; appearance: none; width: 100%; text-align: left; cursor: pointer;
  display: flex; gap: 14px; align-items: baseline;
  background: transparent; color: var(--ink); border: 0; border-radius: var(--radius);
  padding: 16px 18px; font: 700 clamp(19px, 1.6vw, 23px)/1.25 var(--text); letter-spacing: -0.012em;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.request .who { font-weight: 600; font-size: 0.72em; color: var(--ink-2); flex: none; width: 2.6em; }
.request:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .request:hover { background: var(--ground-2); } }
/* The active copy sits on a signal plate and is revealed with clip-path, so text and fill change together. */
.requests-active { position: absolute; inset: 0; pointer-events: none; clip-path: inset(var(--top, 0px) 0 var(--bottom, 100%) 0 round var(--radius)); transition: clip-path 420ms var(--ease-in-out); }
.requests-active .request { background: var(--signal); color: var(--on-signal); border-radius: 0; }
.requests-active .request .who { color: var(--on-signal-2); }
.demo-player .frame video { transition: opacity 200ms ease, filter 200ms ease; }
.demo-player .frame.swapping video { opacity: 0; filter: blur(4px); }
.demo-note { margin-top: 16px; max-width: 40em; }
@media (max-width: 960px) {
  .demo-player { grid-column: 1 / -1; position: static; order: -1; margin-bottom: 20px; }
  #demo .section-head { order: -2; }
  .demo-list { grid-column: 1 / -1; }
}

/* ---------- Steps: the studio's own timeline, drawn as a filled bar ---------- */
.steps { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); padding-top: 52px; }
.steps-bar { position: absolute; left: 0; right: 0; top: 14px; height: 6px; background: var(--panel); border-radius: 3px; overflow: hidden; }
.steps-bar::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: left center; transform: scaleX(var(--fill, 1)); transition: transform 1400ms var(--ease-in-out); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -46px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 5px var(--signal); transition: transform 420ms var(--ease-arrive); }
.step h3 { font-weight: 900; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.035em; color: var(--signal); margin-bottom: 14px; }
.step p { max-width: 22em; }
.steps.is-waiting { --fill: 0; }
.steps.is-waiting .step::before { transform: scale(0.4); }
.steps .step:nth-child(2)::before { transition-delay: 120ms; }
.steps .step:nth-child(3)::before { transition-delay: 460ms; }
.steps .step:nth-child(4)::before { transition-delay: 800ms; }
.steps .step:nth-child(5)::before { transition-delay: 1140ms; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; padding-top: 0; padding-left: 48px; }
  .steps-bar { left: 8px; right: auto; top: 6px; bottom: 6px; width: 6px; height: auto; }
  .steps-bar::after { transform-origin: center top; transform: scaleY(var(--fill, 1)); }
  .step::before { top: 8px; left: -48px; }
}

/* ---------- Signal field: the page's chapter card ---------- */
.field { background: var(--signal); color: var(--on-signal); margin-top: var(--section); padding-block: clamp(80px, 10vw, 152px); }
.field ::selection { background: var(--on-signal); color: var(--signal); }
.field h2 { grid-column: 1 / -1; max-width: 12.5em; font-weight: 900; font-size: clamp(34px, 7vw, 104px); line-height: 0.93; letter-spacing: -0.04em; }
.field-copy { grid-column: 7 / -1; margin-top: clamp(40px, 5vw, 72px); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; }
.field-quiet { grid-column: 1 / span 4; margin-top: clamp(40px, 5vw, 72px); color: var(--on-signal-2); font-size: 16px; align-self: end; }
.field :focus-visible { outline-color: var(--on-signal); }
@media (max-width: 960px) { .field h2, .field-copy, .field-quiet { grid-column: 1 / -1; } .field-copy { margin-top: 32px; } .field-quiet { margin-top: 20px; order: 3; } }

/* ---------- What it does ---------- */
.does-head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.does-list { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(36px, 3.6vw, 52px); }
.does-list li { display: flex; flex-direction: column; gap: 10px; }
.does-list .h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.05; letter-spacing: -0.025em; max-width: 16em; }
.does-list p { color: var(--ink-2); max-width: 34em; }
@media (max-width: 960px) { .does-head { grid-column: 1 / -1; position: static; margin-bottom: 36px; } .does-list { grid-column: 1 / -1; } }

/* ---------- The folder ---------- */
.folder-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 36px; }
.inventory { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.inventory li { display: grid; grid-template-columns: 1.3em 1fr; column-gap: 0.28em; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.032em; }
.inventory b { color: var(--signal); font-weight: 900; font-variant-numeric: tabular-nums; }
.folder-media { grid-column: 9 / -1; align-self: center; }
.folder-media .frame { aspect-ratio: 9 / 16; max-width: 400px; margin-inline: auto; }
.folder-media .caption { max-width: 400px; margin-inline: auto; margin-top: 12px; }
@media (max-width: 960px) {
  .folder-copy { grid-column: 1 / -1; }
  .folder-media { grid-column: 1 / -1; margin-top: 40px; }
  .folder-media .frame { margin-left: 0; max-width: 300px; }
}

/* ---------- Made by ---------- */
.made { background: var(--ground-2); margin-top: var(--section); padding-block: clamp(72px, 8vw, 120px); }
.made h2 { grid-column: 1 / span 6; }
.made-copy { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 20px; font-size: clamp(18px, 1.4vw, 20px); }
@media (max-width: 960px) { .made h2, .made-copy { grid-column: 1 / -1; } .made-copy { margin-top: 28px; } }

/* ---------- Buy ---------- */
.buy-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 28px; align-self: start; }
.included { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.included li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.included svg { width: 22px; height: 22px; color: var(--signal); margin-top: 2px; }
.buy-form > div { display: flex; flex-direction: column; gap: 28px; }
.buy-panel { grid-column: 7 / -1; background: var(--ground-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 960px) { .buy-copy, .buy-panel { grid-column: 1 / -1; } .buy-panel { margin-top: 40px; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.plans legend { padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--panel); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.plan:active { transform: scale(0.985); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan .plan-name { font-weight: 700; font-size: 17px; }
.plan .plan-price { font: 900 clamp(34px, 3.4vw, 46px)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan .plan-detail { font-size: 15px; color: var(--ink-2); }
.plan:has(input:checked) { background: var(--signal); color: var(--on-signal); }
.plan:has(input:checked) .plan-detail { color: var(--on-signal-2); }
.plan:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .plan:not(:has(input:checked)):hover { background: var(--panel-2); } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row { display: flex; flex-direction: column; gap: 8px; }
.field-row.full { grid-column: 1 / -1; }
.field-row label { font-weight: 600; font-size: 15px; }
.field-row .hint { font-weight: 400; color: var(--ink-2); }
.input {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 52px; padding: 0 16px;
  border: 0; border-radius: var(--radius); background: var(--panel); color: var(--ink);
  font: 500 17px/1 var(--text); transition: background-color 160ms ease, box-shadow 160ms ease;
}
.input::placeholder { color: #8f8c84; }
.input:focus { outline: none; background: var(--panel-2); box-shadow: inset 0 -3px 0 var(--signal); }
.input[aria-invalid="true"] { box-shadow: inset 0 -3px 0 var(--bad); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

.agree { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; }
.agree a { color: var(--ink); }

.pay-row { display: flex; flex-direction: column; gap: 12px; }
.pay-row .btn { width: 100%; min-height: 58px; font-size: 18px; }
.form-status { min-height: 1.5em; font-size: 15px; }
.form-status.error { color: var(--bad); }
.form-status.ok { color: var(--good); }

.state-note { background: var(--panel); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; }
.state-note strong { color: var(--ink); }

details.tester { font-size: 15px; }
details.tester summary { cursor: pointer; color: var(--ink-2); font-weight: 600; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.tester summary::-webkit-details-marker { display: none; }
details.tester summary svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
details.tester[open] summary svg { transform: rotate(90deg); }
.tester-body { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
@media (max-width: 480px) { .tester-body { grid-template-columns: 1fr; } }

.sent { display: flex; flex-direction: column; gap: 18px; }
.sent[hidden] { display: none; }
.sent h3 { font-weight: 900; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 0.98; }
.sent strong { color: var(--signal); font-weight: 600; word-break: break-all; }

/* Result after purchase */
.result { display: flex; flex-direction: column; gap: 22px; }
.result[hidden] { display: none; }
.result h3 { font-weight: 900; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1; }
.keyplate { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--signal); color: var(--on-signal); border-radius: var(--radius); padding: 18px 20px; }
.keyplate code { font: 800 clamp(20px, 2.3vw, 28px)/1.1 var(--display); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; word-break: break-all; }
.keyplate .btn { background: var(--on-signal); color: var(--signal); min-height: 44px; }
.copy-label { display: inline-block; transition: opacity 180ms ease, filter 180ms ease; }
.copy-label.swap { opacity: 0; filter: blur(3px); }
.next-steps { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.result .test-flag { background: var(--panel); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-head { grid-column: 1 / span 4; align-self: start; }
.faq-list { grid-column: 6 / -1; display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: var(--ground-2); border-radius: var(--radius); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; font-size: clamp(18px, 1.5vw, 20px); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex: none; color: var(--signal); transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); max-width: 46em; }
.faq-list .answer a { color: var(--ink); }
.resend { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 6px; }
@media (max-width: 480px) { .resend { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .faq-head, .faq-list { grid-column: 1 / -1; } .faq-head { margin-bottom: 32px; } }

/* ---------- Footer ---------- */
.site-foot { margin-top: var(--section); background: var(--ground-2); padding-top: clamp(64px, 8vw, 112px); padding-bottom: 32px; }
.foot-close { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.foot-word { font: 900 clamp(52px, 10.5vw, 156px)/0.86 var(--display); letter-spacing: -0.05em; }
.foot-word span { color: var(--signal); }
.foot-cols { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; font-size: 15px; }
.foot-cols h3 { font: 700 15px/1.4 var(--text); color: var(--ink-2); margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-cols a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { text-decoration: underline; } }
.foot-about { grid-column: 1 / span 5; color: var(--ink-2); max-width: 30em; }
.foot-legal { grid-column: 7 / span 3; }
.foot-contact { grid-column: 10 / -1; }
.foot-base { grid-column: 1 / -1; margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 860px) { .foot-about, .foot-legal, .foot-contact { grid-column: 1 / -1; } }

/* ---------- Documents (legal pages) ---------- */
.doc { padding-top: clamp(48px, 6vw, 96px); }
.doc-head { max-width: 44rem; display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.doc-head h1 { font-weight: 900; font-size: clamp(40px, 5.4vw, 72px); line-height: 0.96; letter-spacing: -0.035em; }
.doc-body { max-width: 44rem; }
.doc-body h2 { font-weight: 800; font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.015em; line-height: 1.15; margin: 48px 0 14px; }
.doc-body p, .doc-body li { color: #dedbd3; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul, .doc-body ol { padding-left: 1.25em; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.doc-body strong { color: var(--ink); }
.doc-body .callout { background: var(--ground-2); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; }
.doc-nav { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 10px; }
.doc-nav a { text-decoration: none; background: var(--ground-2); padding: 10px 14px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: background-color 160ms ease; }
.doc-nav a[aria-current="page"] { background: var(--signal); color: var(--on-signal); }
@media (hover: hover) and (pointer: fine) { .doc-nav a:not([aria-current]):hover { background: var(--panel); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-enter] { animation: fade 300ms ease both; animation-delay: 0ms; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .requests-active { transition: none; }
  .steps-bar::after, .step::before { transition: none; }
  .steps.is-waiting { --fill: 1; }
  .steps.is-waiting .step::before { transform: none; }
  .btn:active, .request:active, .plan:active { transform: none; }
}

@media (min-width: 961px) { .field-copy, .field-quiet { grid-row: 2; } }
