/* River Jordan Books — ledger-paper look. System fonts only, no JS. */
:root {
  color-scheme: light dark;
  --paper: #f5efe1;
  --paper-2: #ebe3cf;
  --card: #fffaf0;
  --ink: #13302b;
  --ink-2: #3b514c;
  --rule: #d8cdb2;
  --river: #0f5a4e;
  --river-deep: #0b3f37;
  --brass: #8a5a10;
  --brass-soft: #e9c46a;
  --red: #bf2a20;
  --green: #17704f;
  --btn-bg: #0f5a4e;
  --btn-fg: #fff8e6;
  --feat-bg: #0b3f37;
  --feat-fg: #f5efe1;
  --feat-mute: #b9cfc8;
  --shadow: 0 1px 0 rgba(19,48,43,.06), 0 18px 34px -22px rgba(19,48,43,.45);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1a17;
    --paper-2: #112521;
    --card: #14302a;
    --ink: #efe8d4;
    --ink-2: #b6c5bf;
    --rule: #26433c;
    --river: #6fd0b9;
    --river-deep: #0c1a17;
    --brass: #e6b45c;
    --brass-soft: #e6b45c;
    --red: #ff8479;
    --green: #7fdcae;
    --btn-bg: #e6b45c;
    --btn-fg: #1a1305;
    --feat-bg: #efe8d4;
    --feat-fg: #10241f;
    --feat-mute: #3b514c;
    --shadow: 0 1px 0 rgba(0,0,0,.4), 0 18px 34px -22px rgba(0,0,0,.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--river); text-underline-offset: .18em; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 22ch; }
h3 { font-size: 1.25rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 0; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }

.kicker {
  font: 600 .8rem/1 var(--mono);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--brass); margin-bottom: 1.1rem;
}
.sec-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  box-shadow: 0 6px 0 -2px rgba(0,0,0,.18);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 0 -4px rgba(0,0,0,.2); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-small { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-text { font: 400 1.15rem/1 var(--serif); letter-spacing: .01em; }
.brand-text b { font-weight: 800; }
.logo { width: 34px; height: 34px; flex: none; }
.logo-bg { fill: var(--river-deep); }
.logo-lines { stroke: color-mix(in srgb, #f5efe1 35%, transparent); stroke-width: 1.5; fill: none; }
.logo-river { stroke: var(--brass-soft); stroke-width: 3.2; fill: none; stroke-linecap: round; }
@media (prefers-color-scheme: dark) { .logo-bg { fill: #14302a; stroke: var(--rule); } }
.nav { display: none; gap: 1.6rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  background:
    linear-gradient(to right, transparent 3.2rem, color-mix(in srgb, var(--red) 40%, transparent) 3.2rem, color-mix(in srgb, var(--red) 40%, transparent) calc(3.2rem + 1px), transparent calc(3.2rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0 2.1rem, color-mix(in srgb, var(--river) 14%, transparent) 2.1rem calc(2.1rem + 1px));
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
@media (max-width: 700px) { .hero { background-position: -2rem 0, 0 0; } }
.hero-in { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 940px) { .hero-in { grid-template-columns: 1.08fr .92fr; gap: 3rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 600 .85rem/1.2 var(--mono); color: var(--ink-2); background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: .45rem .9rem; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); flex: none; }
h1 { font-size: clamp(2.5rem, 7vw, 4.3rem); line-height: 1; letter-spacing: -.025em; margin: 1.1rem 0 1.2rem; }
.squiggle { text-decoration: underline wavy var(--brass-soft); text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 54ch; }
.lede strong { color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--brass-soft) 55%, transparent) 62%); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.proof { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.1rem 0 0; margin: 0; border-top: 2px solid var(--ink); max-width: 36rem; }
.proof li { display: flex; flex-direction: column; }
.proof b { font: 800 2rem/1 var(--serif); }
.proof span { font-size: .85rem; color: var(--ink-2); line-height: 1.3; margin-top: .3rem; }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 22px 28px rgba(19,48,43,.18)); }
.caption { font: 400 .8rem/1.4 var(--mono); color: var(--ink-2); margin: .6rem 0 0; }
.hero-visual .caption { text-align: center; }

/* hero svg */
.chip rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.chip circle { fill: var(--river); }
.chip text { font: 700 13.5px var(--sans); fill: var(--ink); }
.flow { fill: none; stroke: var(--river); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 9; animation: flow 1.6s linear infinite; animation-delay: var(--d); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.ledger-shadow { fill: var(--brass-soft); opacity: .55; }
.ledger-page { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.ledger-margin { stroke: var(--red); stroke-width: 1; opacity: .7; fill: none; }
.ledger-title { font: 800 22px var(--serif); fill: var(--ink); }
.ledger-sub { font: 400 11px var(--mono); fill: var(--ink-2); }
.ledger-rule { stroke: var(--rule); stroke-width: 1; fill: none; }
.row-d { font: 400 11px var(--mono); fill: var(--ink-2); }
.row-n { font: 600 12px var(--sans); fill: var(--ink); }
.amt { font: 600 12px var(--mono); }
.amt.pos { fill: var(--green); }
.amt.neg { fill: var(--ink); }
.stamp rect { fill: none; stroke: var(--green); stroke-width: 2.5; }
.stamp text { font: 800 13px var(--mono); fill: var(--green); letter-spacing: .08em; }

/* ---------- problem ---------- */
.problem { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.prob-grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .prob-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .prob-grid { grid-template-columns: repeat(4, 1fr); } }
.prob { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--ink); border-radius: 4px 4px 14px 14px; padding: 1.4rem 1.3rem 1.2rem; box-shadow: var(--shadow); }
.num { display: block; font: 700 .85rem/1 var(--mono); color: var(--brass); margin-bottom: .9rem; }
.prob h3 { font-size: 1.2rem; }
.prob p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.prob p b { color: var(--ink); }

/* ---------- infographic ---------- */
.info-sec { background: var(--paper); }
.info-fig { margin: 2.5rem 0 0; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(.8rem, 3vw, 2rem); box-shadow: var(--shadow); }
.info { width: 100%; height: auto; }
.info-narrow { display: block; max-width: 420px; margin-inline: auto; }
.info-wide { display: none; }
@media (min-width: 760px) { .info-wide { display: block; } .info-narrow { display: none; } }
.info-fig figcaption { font: 400 .8rem/1.4 var(--mono); color: var(--ink-2); margin-top: 1rem; text-align: center; }
.tile-bg { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 5 4; }
.tile-label { font: 700 14px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; }
.tile-sub { font: 400 12px var(--mono); fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.xbadge circle { fill: var(--red); }
.xbadge path { fill: none; stroke: var(--btn-fg); stroke-width: 2.6; stroke-linecap: round; }
.arrow { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 0; }
.arrow-head { fill: var(--ink); }
.badge-star { fill: var(--brass-soft); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.badge-ring { fill: none; stroke: #13302b; stroke-width: 1.8; stroke-dasharray: 2 5; stroke-linecap: round; }
.badge-small { font: 800 12px var(--mono); letter-spacing: .22em; fill: #13302b; }
.badge-big { font: 800 25px var(--serif); fill: #13302b; }
.info-narrow .badge-big { font-size: 23px; }

/* ---------- how ---------- */
.how { background: var(--river-deep); color: #f5efe1; }
.how .kicker { color: var(--brass-soft); }
.how h2 { color: #f5efe1; }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.4rem; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } .steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; right: -1.6rem; width: 1.2rem; height: 2px; background: var(--brass-soft); } }
.steps li { position: relative; padding: 1.6rem 1.4rem; border: 1.5px solid rgba(245,239,225,.28); border-radius: 16px; background: rgba(245,239,225,.04); }
.step-n { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brass-soft); color: #13302b; font: 800 1.5rem/1 var(--serif); margin-bottom: 1rem; }
.steps h3 { color: #f5efe1; }
.steps p { color: #cfdcd6; margin: 0; }
@media (prefers-color-scheme: dark) { .how { background: #0a1311; border-block: 1px solid var(--rule); } }

/* ---------- plans ---------- */
.plans { background: var(--paper); }
.compare { margin: 2.2rem 0 2.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 1.2rem 1.3rem 1rem; box-shadow: var(--shadow); max-width: 52rem; }
.cmp-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name val" "track track"; gap: .3rem .8rem; align-items: center; margin-bottom: .9rem; }
.cmp-name { grid-area: name; font-weight: 700; font-size: .95rem; }
.cmp-val { grid-area: val; font: 700 .95rem var(--mono); }
.cmp-track { grid-area: track; position: relative; height: 1.1rem; background: repeating-linear-gradient(to right, var(--rule) 0 1px, transparent 1px 25%); background-color: var(--paper-2); border-radius: 999px; }
.cmp-bar { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.cmp-us { background: var(--river); }
.cmp-them { background: repeating-linear-gradient(135deg, var(--red) 0 6px, color-mix(in srgb, var(--red) 70%, var(--card)) 6px 12px); }
.cmp-axis { display: flex; justify-content: space-between; font: 400 .75rem var(--mono); color: var(--ink-2); }
@media (min-width: 640px) {
  .cmp-row { grid-template-columns: 11rem 1fr 6.5rem; grid-template-areas: "name track val"; }
  .cmp-val { text-align: right; }
  .cmp-axis { margin-left: 11.8rem; margin-right: 7.3rem; }
}
.plan-grid { display: grid; gap: 1.4rem; align-items: stretch; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; padding-block: 1rem; } .plan-feat { margin-block: -1rem; } }
.plan { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 1.8rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan .who { color: var(--ink-2); font-size: .95rem; min-height: 2.9em; }
.price { display: flex; align-items: flex-start; margin: .3rem 0 1.2rem; font-family: var(--serif); line-height: .9; }
.price .cur { font-size: 1.6rem; font-weight: 700; margin-top: .35rem; margin-right: .1rem; }
.price .amt { font-size: 4.4rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price .per { align-self: flex-end; font: 600 1rem var(--sans); color: var(--ink-2); margin: 0 0 .5rem .4rem; }
.ticks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) scale(.85); transform-origin: center; }
.plan .btn { margin-top: auto; }
.plan-feat { background: var(--feat-bg); color: var(--feat-fg); border-color: var(--feat-bg); padding-block: 2.4rem; transform: none; box-shadow: 0 30px 50px -28px rgba(11,63,55,.7); }

.plan-feat h3 { color: var(--feat-fg); }
.plan-feat .who, .plan-feat .price .per { color: var(--feat-mute); }
.plan-feat .ticks li::before { border-color: var(--brass-soft); }
@media (prefers-color-scheme: dark) { .plan-feat .ticks li::before { border-color: #17704f; } }
.plan-feat .btn { background: var(--brass-soft); border-color: var(--brass-soft); color: #13302b; }
.plan-feat .btn:hover { color: #13302b; }
.flag { position: absolute; top: -.85rem; left: 1.6rem; margin: 0; background: var(--brass-soft); color: #13302b; font: 800 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .8rem; border-radius: 999px; }
.fine { color: var(--ink-2); font-size: .92rem; max-width: 62ch; margin-top: 2rem; }

/* ---------- receipts ---------- */
.receipts { background: var(--paper-2); border-block: 1px solid var(--rule); }
.rcpt-in { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .rcpt-in { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.price-line { font: 400 1.05rem var(--mono); color: var(--ink-2); }
.price-line b { font: 800 1.6rem var(--serif); color: var(--ink); }
.receipts .ticks li b { color: var(--ink); }
.consent { border-left: 5px solid var(--brass-soft); background: var(--card); border-radius: 0 12px 12px 0; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.consent h3 { margin-bottom: .3em; }
.consent p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.consent p b { color: var(--ink); }
.phone-wrap { justify-self: center; width: 100%; max-width: 21rem; }
.phone { background: var(--card); border: 3px solid var(--ink); border-radius: 34px; padding: 1rem .9rem 1.2rem; box-shadow: 14px 14px 0 -2px var(--brass-soft), var(--shadow); }
.phone-bar { display: flex; justify-content: space-between; align-items: center; font: 700 .8rem var(--sans); padding: .1rem .6rem .8rem; border-bottom: 1px solid var(--rule); margin-bottom: .8rem; }
.phone-bar i { width: 3.2rem; height: .4rem; border-radius: 99px; background: var(--rule); }
.msgs { display: flex; flex-direction: column; gap: .55rem; }
.m { margin: 0; max-width: 84%; padding: .6rem .85rem; border-radius: 18px; font-size: .9rem; line-height: 1.4; }
.m.them { background: var(--paper-2); border-bottom-left-radius: 5px; align-self: flex-start; }
.m.me { background: var(--river); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
@media (prefers-color-scheme: dark) { .m.me { color: #07211b; } }
.m.sm { font-size: .75rem; color: var(--ink-2); background: transparent; padding: 0 .3rem; }
.att { display: inline-block; font: 600 .78rem var(--mono); margin-left: .2rem; }

/* ---------- FAQ ---------- */
.faq-in { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq-in { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.qa details { border-top: 1px solid var(--ink); }
.qa details:last-child { border-bottom: 1px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; padding: 1.15rem 2.6rem 1.15rem 0; font: 700 1.2rem/1.3 var(--serif); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font: 400 1.8rem/1 var(--mono); color: var(--brass); transition: rotate .2s; }
.qa details[open] summary::after { rotate: 45deg; }
.qa details p { color: var(--ink-2); padding: 0 2.6rem 1.3rem 0; margin: 0; max-width: 62ch; }

/* ---------- contact ---------- */
.contact { background: var(--river-deep); color: #f5efe1; }
.contact .kicker { color: var(--brass-soft); }
.contact h2 { color: #f5efe1; }
.contact-in { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .contact-in { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-copy > p { color: #cfdcd6; max-width: 46ch; }
.phonebox { margin: 2rem 0 1.5rem; padding: 1.2rem 1.4rem; border: 2px dashed rgba(245,239,225,.45); border-radius: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; }
.pb-label { font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .15em; color: var(--brass-soft); flex-basis: 100%; }
.pb-num { font: 800 clamp(1.9rem, 6vw, 2.6rem)/1 var(--serif); color: #f5efe1; text-decoration: none; }
.pb-num:hover { color: var(--brass-soft); }
.pb-sms { color: var(--brass-soft); font-weight: 700; }
.contact .small { color: #a9bdb6; }
.small { font-size: .85rem; }
.form { background: var(--card); color: var(--ink); border-radius: 20px; padding: clamp(1.3rem, 4vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.field { margin-bottom: 1.1rem; }
.field.two { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
input, textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 2px solid var(--rule); border-radius: 10px; padding: .75rem .9rem; min-height: 3rem; }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: .8; }
input:focus, textarea:focus { outline: none; border-color: var(--river); box-shadow: 0 0 0 4px color-mix(in srgb, var(--river) 28%, transparent); }
textarea { resize: vertical; }
.form .small { color: var(--ink-2); margin: 1rem 0 0; }
@media (prefers-color-scheme: dark) { .form .btn { background: var(--btn-bg); } }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--rule); padding: 2.5rem 0 3rem; font-size: .92rem; color: var(--ink-2); }
.foot-in { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.3fr 1.2fr auto; align-items: start; } .copy { grid-column: 1 / -1; } }
.foot-brand { display: flex; gap: .8rem; align-items: center; }
.foot-brand p { margin: 0; line-height: 1.4; }
.foot-brand b { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.foot-note { margin: 0; max-width: 34ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot-links a { color: var(--ink); font-weight: 600; }
.copy { margin: 0; font: 400 .8rem var(--mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow { animation: none; }
  .btn, .qa summary::after { transition: none; }
}
@media print { .top, .form, .skip { display: none; } }

/* small-screen header: keep brand and button on one line */
.brand-text, .btn-small { white-space: nowrap; }
@media (max-width: 420px) { .top-in { gap: .6rem; } .brand-text { font-size: 1rem; } .logo { width: 30px; height: 30px; } .btn-small { padding: .5rem .9rem; font-size: .9rem; } }

/* ---------- form extras (final) ---------- */
.opt { font-weight: 400; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; line-height: 1.45; color: var(--ink-2); margin: 0 0 1.2rem; cursor: pointer; }
.check input { width: 1.25rem; min-height: 0; height: 1.25rem; flex: none; margin-top: .1rem; accent-color: var(--river); }
.form .small a { color: var(--river); }

/* ---------- legal + thanks pages (final) ---------- */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 .4rem; }
.legal .eff { font: 400 .85rem/1.4 var(--mono); color: var(--ink-2); margin-bottom: 1.6rem; }
.legal .tldr { background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--brass-soft); border-radius: 0 12px 12px 0; padding: 1rem 1.3rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.legal .tldr p { margin: 0 0 .5em; color: var(--ink-2); }
.legal .tldr p:last-child { margin: 0; }
.legal .tldr b { color: var(--ink); }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.2rem 0 .6rem; max-width: none; }
.legal p, .legal li { color: var(--ink-2); max-width: 66ch; }
.legal li { margin-bottom: .4em; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal b { color: var(--ink); }
.thanks { text-align: left; max-width: 40rem; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 1.1rem 0 1rem; }
.thanks .steps-mini { padding-left: 1.2rem; color: var(--ink-2); margin: 0 0 2rem; }
.thanks .steps-mini li { margin-bottom: .5em; }
.page-hero { background:
    linear-gradient(to right, transparent 3.2rem, color-mix(in srgb, var(--red) 40%, transparent) 3.2rem, color-mix(in srgb, var(--red) 40%, transparent) calc(3.2rem + 1px), transparent calc(3.2rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0 2.1rem, color-mix(in srgb, var(--river) 14%, transparent) 2.1rem calc(2.1rem + 1px)); }
@media (max-width: 700px) { .page-hero { background-position: -2rem 0, 0 0; } }
