/* ============================================================
   SELL RIGHT — Certified Closers, recruit landing page
   Brand: Paper / Ink / Rust, Archivo throughout, Plex Mono for labels.
   Layout: an Ink poster hero with one oversized struck-through word,
   then short Paper sections, ending on a one-question-at-a-time form.
   ============================================================ */

:root {
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --ink: #1A1A17;
  --ink-2: #55534D;
  --ink-3: #8B887F;
  --rule: #D3CDC0;
  --rust: #A63328;
  --rust-2: #C04437;
  --on-rust: #F4F1EA;
  --field: #FBF9F4;
  --night: #1A1A17;      /* hero and dark bands, same in both themes */
  --night-fg: #F4F1EA;
  --night-2: #A9A59B;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gut: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161512; --paper-2: #201E1A; --ink: #EDE8DD; --ink-2: #B7B2A8; --ink-3: #8A867D;
    --rule: #34312C; --rust: #D35A4C; --rust-2: #E06C5E; --on-rust: #161512; --field: #1C1B17;
    --night: #0E0D0B; --night-fg: #EDE8DD; --night-2: #9C988F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161512; --paper-2: #201E1A; --ink: #EDE8DD; --ink-2: #B7B2A8; --ink-3: #8A867D;
  --rule: #34312C; --rust: #D35A4C; --rust-2: #E06C5E; --on-rust: #161512; --field: #1C1B17;
  --night: #0E0D0B; --night-fg: #EDE8DD; --night-2: #9C988F;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.02; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}

/* ── Wordmark: SELL solid, RIGHT outlined, like the logo ── */
.mark { display: inline-flex; gap: .3em; text-decoration: none; font-weight: 900; font-stretch: 115%; font-size: 1.15rem; letter-spacing: .02em; line-height: 1; }
.mark b { color: var(--rust); }
.mark i { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--rust); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 1rem/1 var(--font); letter-spacing: .02em; text-decoration: none;
  padding: 1.05em 1.6em; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--rust { background: var(--rust); color: var(--on-rust); }
.btn--rust:hover { background: var(--rust-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost { background: transparent; color: var(--night-fg); border-color: color-mix(in srgb, var(--night-fg) 40%, transparent); }
.btn--ghost:hover { border-color: var(--night-fg); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transform: none; transition: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--night); color: var(--night-fg); overflow: hidden; position: relative; }
.hero .eyebrow { color: var(--night-2); }
.hero .eyebrow span { color: var(--night-fg); }
.hero .eyebrow span::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--rust); margin-right: .55em; vertical-align: .05em; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.bar { display: flex; align-items: center; gap: 14px; padding-block: 22px; }
.bar .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-2); }
.bar__cta { margin-left: auto; font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--rust); padding-bottom: 2px; }

.hero__body { padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 84px); display: grid; gap: clamp(20px, 3vw, 30px); }
.hero__h { display: grid; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.hero__l1, .hero__l3 { font-size: clamp(1.7rem, 5.2vw, 3.6rem); font-stretch: 80%; line-height: 1; }
.hero__l3 { color: var(--night-fg); }

.loud { position: relative; display: block; width: max-content; max-width: 100%; margin-block: .02em .06em; }
.loud__w {
  display: block; font-size: clamp(6.4rem, 40vw, 23rem); line-height: .8; font-weight: 900; font-stretch: 62%;
  letter-spacing: -.01em; color: transparent; -webkit-text-stroke: clamp(1.5px, .35vw, 3px) var(--night-fg);
  animation: hush 1.1s var(--ease) .15s both;
}
.loud__strike {
  position: absolute; left: -2%; right: -2%; top: 50%; height: clamp(10px, 2.2vw, 26px);
  background: var(--rust); transform-origin: left center; transform: translateY(-50%) scaleX(1);
  animation: strike .7s var(--ease) .95s both;
}
@keyframes hush { from { letter-spacing: .08em; opacity: 0; } to { letter-spacing: -.01em; opacity: 1; } }
@keyframes strike { from { transform: translateY(-50%) scaleX(0); } to { transform: translateY(-50%) scaleX(1); } }

.hero__lede { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--night-2); line-height: 1.55; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ticker of the old way, crossed out */
.ticker { border-top: 1px solid color-mix(in srgb, var(--night-fg) 18%, transparent); padding-block: 16px; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker span {
  font-family: var(--mono); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--night-2); padding-inline: 1.4em; position: relative;
  text-decoration: line-through; text-decoration-color: var(--rust); text-decoration-thickness: 2px;
}
.ticker span::after { content: "\00D7"; position: absolute; right: -.35em; color: var(--rust); text-decoration: none; display: inline-block; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .loud__w, .loud__strike, .hero .eyebrow span::before { animation: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding-block: clamp(56px, 9vw, 112px); }
.sec--tight { padding-block: clamp(24px, 4vw, 48px); }
.head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 780px; }
.head h2, .mentor h2, .apply h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: -.005em; }

/* ── Self-check ── */
.check { background: var(--paper-2); }
.check__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tick { position: relative; display: block; cursor: pointer; }
.tick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tick span {
  display: flex; gap: 14px; align-items: flex-start; min-height: 100%;
  padding: 20px 20px 20px 18px; background: var(--paper); border: 1.5px solid var(--rule);
  font-weight: 600; font-size: 1.08rem; line-height: 1.35;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.tick span::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--ink-3);
  background: no-repeat center / 14px 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.tick:hover span { border-color: var(--ink-2); }
.tick input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.tick input:checked + span::before {
  border-color: var(--rust); background-color: var(--rust);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23F4F1EA' stroke-width='2.4'/%3E%3C/svg%3E");
}
.tick input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 3px; }

.check__out { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.check__n { font-family: var(--mono); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.check__n small { font-size: .4em; color: var(--ink-3); margin-left: .15em; }
.check__msg { flex: 1 1 280px; min-width: 0; font-size: 1.15rem; font-weight: 600; max-width: 44ch; }
.check__cta { opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.check[data-live="on"] .check__cta { opacity: 1; pointer-events: auto; transform: none; }
.check[data-live="on"] .check__n span { color: var(--rust); }
html:not(.js) .check__cta { opacity: 1; pointer-events: auto; transform: none; }

/* ── Story video ── */
.story { max-width: 860px; margin-inline: auto; }
.story--portrait { max-width: 380px; }
.story .vid__shot, .story .vid__frame { aspect-ratio: 16 / 9; }
.story--portrait .vid__shot, .story--portrait .vid__frame { aspect-ratio: 9 / 16; }

/* ── Why ── */
.why__big { font-size: clamp(1.9rem, 4.6vw, 3.5rem); font-weight: 800; font-stretch: 85%; line-height: 1.08; letter-spacing: -.015em; max-width: 20ch; margin-top: 18px; text-wrap: balance; }
.why__big em { font-style: normal; color: var(--rust); }
.why__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px 40px; margin-top: 36px; color: var(--ink-2); max-width: 900px; }
.vm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 64px); border-top: 2px solid var(--ink); }
.vm > div { display: grid; gap: 10px; align-content: start; padding: 24px 0 8px; min-width: 0; }
@media (min-width: 720px) { .vm > div + div { border-left: 1px solid var(--rule); padding-left: 32px; } .vm > div:first-child { padding-right: 32px; } }
.vm__line { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; line-height: 1.25; }
.vm__sub { color: var(--ink-2); }

/* ── Path ── */
.path-sec { background: var(--night); color: var(--night-fg); }
.path-sec .eyebrow { color: var(--night-2); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--night-fg) 22%, transparent); }
.path li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 26px 24px 30px 0; border-bottom: 1px solid color-mix(in srgb, var(--night-fg) 22%, transparent); }
.path__n { font-family: var(--mono); font-size: 2.6rem; line-height: .9; font-weight: 500; color: transparent; -webkit-text-stroke: 1.2px var(--night-2); font-variant-numeric: tabular-nums; }
.path li:last-child .path__n { color: var(--rust); -webkit-text-stroke: 0; }
.path h3 { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; font-stretch: 85%; letter-spacing: .01em; margin-bottom: 8px; }
.path p { color: var(--night-2); font-size: 1rem; }

.method { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border: 1px solid color-mix(in srgb, var(--night-fg) 22%, transparent); display: grid; gap: 14px; }
.method__seq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.5rem, 4.4vw, 2.8rem); line-height: 1; }
.method__seq i { font-style: normal; color: var(--rust); font-stretch: 100%; }
.method__p { color: var(--night-2); max-width: 62ch; }

/* ── Video testimonials (same facade pattern as the audit page) ── */
.vids { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.vids--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.vid { display: flex; flex-direction: column; min-width: 0; }
.vid__shot, .vid__frame { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #1A1A17; border: 0; padding: 0; display: block; }
.vids--wide .vid__shot, .vids--wide .vid__frame, .vid--wide .vid__frame { aspect-ratio: 16 / 9; }
.vid__shot { cursor: pointer; }
.vid__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vid__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,23,.6), rgba(26,26,23,.08)); }
.vid__shot:hover img { transform: scale(1.04); }
.vid__btn { position: absolute; inset: 0; margin: auto; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #A63328; color: #F4F1EA; transition: transform .3s var(--ease); }
.vid__shot:hover .vid__btn { transform: scale(1.1); }
.vid__btn svg { width: 22px; height: 22px; margin-left: 3px; }
.vid__frame iframe, .vid__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__meta { padding-top: 14px; }
.vid__quote { font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.vid__who { font-size: .85rem; color: var(--ink-2); }
.vid__who b { color: var(--ink); }
.vid__who b::after { content: " \00B7 "; font-weight: 400; color: var(--ink-3); }

/* ── Written testimonials ── */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quotes li { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.quotes blockquote { margin: 0; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.quotes cite { font-style: normal; font-size: .85rem; color: var(--ink-2); }
.quotes cite b { color: var(--ink); }

/* ── Photos (real photography, own colour, per the brand system) ── */
.photo { margin: clamp(36px, 5vw, 56px) 0 0; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide img { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .photo--wide img { aspect-ratio: 4 / 3; } }
.photo--side { margin-top: 18px; }
.photo--side img { aspect-ratio: 4 / 5; max-width: 380px; }
.photo figcaption { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.photo--night figcaption, .apply .photo figcaption { color: var(--night-2); }

/* ── Mentor ── */
.mentor { background: var(--paper-2); }
.mentor__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .mentor__grid { grid-template-columns: 1fr; } .mentor__pic { max-width: 360px; } }
.mentor__pic { margin: 0; position: relative; }
.mentor__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.mentor__pic::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 10px; background: var(--rust); }
.mentor__text { display: grid; gap: 18px; min-width: 0; }
.mentor__text > p:not(.eyebrow) { color: var(--ink-2); max-width: 60ch; }
.mentor__text strong { color: var(--ink); }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.facts dt { font-weight: 900; font-stretch: 70%; font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }

/* ── FAQ ── */
.faq-wrap { max-width: 900px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.4rem; color: var(--rust); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding-bottom: 22px; max-width: 62ch; }

/* ============================================================
   APPLY
   ============================================================ */
.apply { background: var(--night); color: var(--night-fg); }
.apply .eyebrow { color: var(--night-2); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .apply__grid { grid-template-columns: 1fr; } }
.apply__intro { display: grid; gap: 14px; }
.apply__intro > p:last-child { color: var(--night-2); max-width: 36ch; }

.formbox { background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 40px); position: relative; min-width: 0; }
.progress { height: 4px; background: var(--rule); margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--rust); transition: width .35s var(--ease); }
.stepcount { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; min-height: 1.2em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.js .step { display: none; }
.js .step.is-on { display: grid; animation: in .35s var(--ease) both; }
html:not(.js) .step + .step { margin-top: 32px; }
@keyframes in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .step.is-on { animation: none; } }

.step legend { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 800; font-stretch: 85%; line-height: 1.15; margin-bottom: 18px; padding: 0; text-wrap: balance; }
.step legend small { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-left: .5em; vertical-align: middle; }
.sub { font-weight: 600; font-size: .92rem; margin-top: 6px; }

.formbox input[type="text"], .formbox input[type="email"], .formbox input[type="tel"], .formbox textarea {
  width: 100%; font: inherit; font-size: 1.15rem; color: var(--ink); background: var(--field);
  border: 1px solid var(--rule); border-bottom: 2px solid var(--ink); border-radius: 0; padding: 14px 16px;
}
.formbox textarea { min-height: 140px; resize: vertical; }
.formbox input::placeholder, .formbox textarea::placeholder { color: var(--ink-3); }
.formbox [aria-invalid="true"] { border-bottom-color: var(--rust); }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.opts label { position: relative; display: block; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: block; padding: 15px 16px; border: 1.5px solid var(--rule); background: var(--field); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.opts label:hover span { border-color: var(--ink-2); }
.opts input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin-top: 18px; line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rust); }

.formnav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.formnav [data-submit] { display: none; }
.formnav.is-last [data-next] { display: none; }
.formnav.is-last [data-submit] { display: inline-flex; }
.formnav.is-first [data-back] { display: none; }
html:not(.js) .formnav [data-next], html:not(.js) .formnav [data-back] { display: none; }
html:not(.js) .formnav [data-submit] { display: inline-flex; }
.formnav button[disabled] { opacity: .6; cursor: progress; }
.formmsg { margin-top: 14px; font-size: .92rem; color: var(--rust); min-height: 1.3em; }

.done { display: grid; gap: 12px; }
.done h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.done p:last-child { color: var(--ink-2); }

/* ── Privacy page ── */
.docbar { border-bottom: 1px solid var(--rule); }
.docbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.docbar__link { font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--rust); padding-bottom: 2px; }
.sec--doc { padding-block: clamp(40px, 7vw, 80px); }
.doc { max-width: 68ch; display: grid; gap: 14px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; }
.doc h2 { font-size: 1.3rem; font-weight: 800; margin-top: 22px; }
.doc p, .doc li { color: var(--ink-2); }
.doc b { color: var(--ink); }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc__date { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.doc__lede { font-size: 1.15rem; color: var(--ink) !important; }
.doc__back { margin-top: 24px; }
.doc__back a { font-weight: 700; color: var(--ink); }

/* ── Footer ── */
.foot { padding-block: 36px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.foot__row a:not(.mark) { font-weight: 700; }
.foot__small { margin-left: auto; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ── Phone dock ── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .3s var(--ease); }
.dock .btn { width: 100%; }
.dock[data-show="on"] { transform: none; }
@media (min-width: 761px) { .dock { display: none; } }
