/* recall-lang.com — Datum on the web. Values from the approved Datum proof
   (Recall Design System/proofs/app-ring-lexicon-v1.html); dark only, like the app. */
:root {
  --bg: #0A1A12; --s1: #0F2219; --s2: #14291E; --line: #1B3326; --hair: #23382C;
  --ink: #F3EEE4; --ink2: #CFD8D1; --muted: #9DB0A4; --faint: #6F8577;
  --em: #2FA35E; --mint: #6FD39A; --pale: #A8DDB9; --forest: #0D2E1E;
  --fem: #EE9BBA; --masc: #8DB2EA; --neut: #DCD3AE;
  --serif: 'Literata', Georgia, serif; --sans: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --gut: 24px; --max: 1120px;
  color-scheme: dark;
}
@media (max-width: 600px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
svg { overflow: visible; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(760px + 2 * var(--gut)); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: var(--forest); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.kicker { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
h1 { font: 600 clamp(36px, 4.6vw, 62px)/1.06 var(--serif); letter-spacing: -.025em; }
h1 span { display: block; white-space: nowrap; }
@media (max-width: 600px) { h1 { font-size: min(9vw, 44px); } }
@media (max-width: 320px) { h1 span { white-space: normal; } }
h2 { font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; max-width: 18ch; }
.center h2 { margin-left: auto; margin-right: auto; }
h3 { font: 600 21px/1.25 var(--serif); letter-spacing: -.005em; }
.body { color: var(--ink2); font-size: 18px; line-height: 1.6; max-width: 62ch; }
.lede { color: var(--ink2); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; max-width: 34em; margin-top: 26px; }
.fine { color: var(--faint); font-size: 14px; margin-top: 14px; }
.art-fem { color: var(--fem); } .art-masc { color: var(--masc); } .art-neut { color: var(--neut); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10, 26, 18, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.lockup.small { font-size: 17px; gap: 8px; }

/* the store button: the app's primary button, cream on forest */
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 14px; background: var(--ink); color: var(--forest); font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.store[aria-disabled="true"], span.store { cursor: default; }
.store.store-sm { height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14px; background: var(--s1); color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
a.store:hover { background: #fff; }
a.store.store-sm:hover { background: var(--s2); }
.cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.textlink { color: var(--ink2); font-weight: 500; text-decoration: none; box-shadow: inset 0 -1px 0 var(--hair); padding-bottom: 2px; transition: box-shadow .2s, color .2s; }
.textlink:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--muted); }
@media (max-width: 420px) { .store-sm { display: none; } }

/* hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero::before { content: ''; position: absolute; inset: -64px 0 0; background: radial-gradient(60% 55% at 72% 42%, #11271C 0%, rgba(10, 26, 18, 0) 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; }
.hero-phone { display: flex; flex-direction: column; align-items: center; }
.hero-phone figcaption { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.replay { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink2); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s; }
.replay:hover { background: var(--s2); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 620px; }
}

/* phone chassis (390 × 844 design pixels, scaled by --s) */
.phone-wrap { width: calc(390px * var(--s)); height: calc(844px * var(--s)); position: relative; flex: none; }
.phone { width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; border-radius: 50px; overflow: hidden; position: absolute; left: 0; top: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.4 var(--sans); box-shadow: 0 0 0 9px #050D09, 0 0 0 10px #1E3328, 0 40px 90px rgba(0, 0, 0, .55); }
@media (min-width: 901px) and (max-height: 960px) { .hero .phone-wrap { --s: .72 !important; } }
@media (min-width: 901px) and (max-height: 840px) { .hero .phone-wrap { --s: .64 !important; } }
@media (max-width: 380px) { .hero .phone-wrap { --s: .72 !important; } }
.sb { height: 50px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 32px 6px 38px; font: 600 15px/1 var(--sans); }
.sb i { display: inline-block; width: 26px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.sb i::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.scr { position: absolute; top: 50px; left: 0; right: 0; bottom: 84px; padding: 0 24px; display: flex; flex-direction: column; }
.grow { flex: 1; }
.hdr { display: flex; justify-content: space-between; align-items: center; height: 52px; flex: none; }
.wm { display: flex; align-items: center; gap: 9px; font: 600 22px/1 var(--serif); letter-spacing: -.01em; }
.rankchip { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 7px; border-radius: 17px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1 var(--serif); }
.date { font-size: 14px; color: var(--muted); margin-top: 8px; flex: none; }
.ringbox { position: relative; width: 320px; height: 320px; margin: 0 auto; flex: none; }
.ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.num { font: 400 66px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.lbl { font: 500 14px/1.2 var(--sans); color: var(--muted); margin-top: 10px; }
.ctr-done { position: absolute; left: 0; right: 0; top: 210px; text-align: center; font: 500 14px/1.2 var(--sans); color: var(--muted); opacity: 0; }
.under { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 14px; flex: none; min-height: 21px; }
.under b { color: var(--ink); font-weight: 600; }
.under.ok { color: var(--mint); font-weight: 600; }
.rankline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin: 12px auto 0; width: 260px; flex: none; opacity: 0; }
.bar { flex: 1; height: 4px; border-radius: 2px; background: var(--hair); position: relative; overflow: hidden; }
.bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--em); border-radius: 2px; }
.bar > em { position: absolute; left: 35%; top: 0; bottom: 0; width: 0; background: var(--mint); }
.btn { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 22px; border-radius: 14px; font: 600 17px/1 var(--sans); background: var(--ink); color: var(--forest); flex: none; }
.btn i { font-style: normal; font-weight: 500; color: #6E7E74; }
.stats { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-top: 16px; padding: 14px 0 16px; box-shadow: 0 -1px 0 var(--line); flex: none; }
.stats b { font: 600 16px/1 var(--serif); color: var(--ink); }
.chev { font-size: 18px; color: var(--faint); }
.tb { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 4px 26px; background: var(--bg); box-shadow: 0 -1px 0 var(--line); color: #869C8E; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 10px/1 var(--sans); }
.tab.on { color: var(--ink); font-weight: 700; }
.tab.cap { color: var(--ink2); }
.capbtn { width: 50px; height: 38px; border-radius: 13px; display: grid; place-items: center; margin-top: -2px; background: var(--ink); color: var(--forest); }

/* bands */
.band { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.band + .band::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--max), calc(100% - 2 * var(--gut))); height: 1px; background: var(--line); }
.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .body { margin-top: 24px; }

/* problem: the big serif lines */
.big { font: 500 clamp(28px, 3.6vw, 44px)/1.22 var(--serif); letter-spacing: -.015em; }
.big + .big { margin-top: 18px; }
.big.quiet { color: var(--faint); }
.big .w { white-space: nowrap; }
.problem .body { margin-top: 40px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: s; }
.step h3 { margin-top: 30px; display: flex; align-items: baseline; gap: 12px; }
.step h3 .n { font: 600 13px/1 var(--sans); color: var(--faint); width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair); display: inline-grid; place-items: center; transform: translateY(-3px); flex: none; }
.step p { color: var(--ink2); margin-top: 12px; font-size: 16.5px; max-width: 34ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 72px; max-width: 460px; margin: 0 auto; }
}

/* the panels: an app screen, cropped */
.panel { position: relative; aspect-ratio: 5 / 6; border-radius: 28px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, rgba(10, 26, 18, 0), var(--bg) 85%); pointer-events: none; }
#reviewPanel::after { display: none; }
.pscr { position: absolute; top: 0; left: 0; width: 390px; height: 468px; padding: 20px 22px 0; transform-origin: 0 0; transform: scale(var(--ps, .9)); }
.p-title { font: 600 30px/1.1 var(--serif); letter-spacing: -.01em; margin: 6px 0 16px; }
.field { height: 46px; border-radius: 14px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--faint); font-size: 16px; }
.field.on { box-shadow: inset 0 0 0 1.5px var(--muted); color: var(--ink); }
.field svg { color: var(--muted); flex: none; }
.caret { display: inline-block; width: 2px; height: 20px; background: var(--mint); margin-left: -8px; vertical-align: -4px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lbls { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 22px 0 12px; }
.card { background: var(--s1); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.res-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rescard { flex: 1; padding: 13px 16px; }
.hw { font: 600 23px/1.15 var(--serif); }
.meta { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 11.5px/1 var(--sans); }
.pill.fem { color: var(--fem); background: rgba(238, 155, 186, .14); }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink2); } .dots i.o { background: var(--hair); }
.freq { font-size: 13px; color: var(--muted); }
.gl { color: var(--ink2); font-size: 15px; margin-top: 7px; }
.savecol { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 10.5px/1 var(--sans); color: var(--muted); }
.p-top { display: flex; justify-content: space-between; color: var(--ink2); height: 34px; align-items: center; }
.wc-hw { font: 600 40px/1.1 var(--serif); letter-spacing: -.015em; margin-top: 14px; }
.wc-sense { margin-top: 20px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wc-mean { font: 500 21px/1.25 var(--serif); }
.savebox { width: 44px; height: 44px; flex: none; }
.wc-mem { margin-top: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.wc-mem.in { opacity: 1; transform: none; }
.wc-mem .lbls { margin: 0 0 6px; }
.mem-st { font: 600 18px/1.1 var(--serif); }
.mem-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.kv { display: flex; justify-content: space-between; padding: 13px 0; box-shadow: 0 1px 0 var(--line); font-size: 14.5px; color: var(--muted); }
.kv:first-of-type { margin-top: 10px; }
.kv span:last-child { font: 600 16px/1.2 var(--serif); color: var(--ink); }
.rv-top { height: 44px; display: flex; align-items: center; justify-content: space-between; color: var(--ink2); }
.sess { display: flex; align-items: center; gap: 9px; font: 600 15px/1 var(--serif); color: var(--ink); }
.sess span { color: var(--faint); font: 500 13px/1 var(--sans); }
.sent { font: 500 25px/1.32 var(--serif); letter-spacing: -.005em; }
.gap { display: inline-block; min-width: 3.2em; border-bottom: 2px solid var(--faint); line-height: 1.05; color: var(--ink); transition: color .3s, border-color .3s; }
.gap .caret { margin-left: 1px; height: 24px; vertical-align: -3px; }
.gap.ok { color: var(--mint); border-color: var(--mint); }
.en { font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.sheet { position: absolute; left: 0; right: 0; top: 282px; height: 200px; background: var(--s1); border-radius: 26px 26px 0 0; box-shadow: 0 -1px 0 var(--line), 0 -24px 50px rgba(0, 0, 0, .35); padding: 20px 22px; transform: translateY(105%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.sheet.in { transform: none; }
.res { display: flex; align-items: center; gap: 12px; font: 600 16px/1 var(--sans); }
.res .pts { margin-left: auto; font: 600 15px/1 var(--serif); color: var(--mint); }
.disc { width: 30px; height: 30px; border-radius: 50%; background: var(--em); display: grid; place-items: center; }
.mini-card { margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: var(--s2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.next { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.next b { color: var(--ink); font-weight: 600; }

/* chart */
.chart-card { background: var(--s1); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 3.4vw, 40px); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.chart-title { font: 600 20px/1.2 var(--serif); }
.chart-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.legend { display: flex; gap: 20px; font-size: 13.5px; color: var(--ink2); flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--ink); }
.legend i.sw-none { border-top: 2px dashed var(--faint); }
.chart { position: relative; width: 100%; height: clamp(240px, 32vw, 340px); touch-action: pan-y; }
.chart svg { width: 100%; height: 100%; }
.chart .ax { font: 500 12px/1 var(--sans); fill: var(--faint); }
.chart .ref { font: 600 12px/1 var(--sans); fill: var(--pale); }
.chart .dl { font: 600 12.5px/1 var(--sans); fill: var(--ink2); }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.chart.in .draw { transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1); stroke-dashoffset: 0; }
.chart .dotc { opacity: 0; transition: opacity .4s; }
.chart.in .dotc { opacity: 1; }
.tip { position: absolute; top: 0; pointer-events: none; background: var(--bg); box-shadow: inset 0 0 0 1px var(--hair), 0 10px 30px rgba(0, 0, 0, .4); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink2); white-space: nowrap; opacity: 0; transition: opacity .15s; }
.tip b { display: block; font: 600 13px/1 var(--sans); color: var(--ink); margin-bottom: 7px; }
.tip span { display: flex; justify-content: space-between; gap: 16px; margin-top: 3px; }
.tip span em { font-style: normal; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-note { font-size: 13px; color: var(--faint); margin-top: 20px; max-width: 80ch; line-height: 1.5; }

/* hero pillars: the three things inside */
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pillars li { font: 500 13.5px/1 var(--sans); color: var(--ink2); padding: 9px 12px; border-radius: 10px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }

/* tutor: the answer sits on the ground, the learner's turn is the sunken surface (Datum v4) */
.tutor-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.tutor-phone { display: flex; justify-content: center; }
.tutor-copy h2 { max-width: 19ch; }
.tutor-copy .body { margin-top: 24px; }
.asks { margin-top: 40px; display: grid; gap: 26px; }
.asks li { box-shadow: inset 0 1px 0 var(--line); padding-top: 20px; }
.asks h3 { font-size: 19px; }
.asks p { color: var(--ink2); margin-top: 8px; font-size: 16.5px; max-width: 48ch; }
.de { font-family: var(--serif); font-style: italic; color: var(--ink); }
@media (max-width: 900px) {
  .tutor-in { grid-template-columns: 1fr; }
  .tutor-phone { order: 2; }
}
.phone .tscr { gap: 12px; bottom: 148px; overflow: hidden; }
.t-title { font: 600 30px/1.1 var(--serif); letter-spacing: -.01em; margin: 6px 0 4px; flex: none; }
.th-u { align-self: flex-end; max-width: 82%; background: var(--s2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 18px 18px 6px 18px; padding: 10px 14px; font-size: 15px; color: var(--ink); flex: none; }
.tool { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--muted); flex: none; align-self: flex-start; }
.tool i { font: italic 400 13px/1 var(--serif); color: var(--ink2); }
.th-a { font-size: 15px; line-height: 1.5; color: var(--ink2); flex: none; }
.th-a h4 { font: 600 15px/1.5 var(--sans); color: var(--ink); margin: 12px 0 4px; }
.th-a p { margin: 0 0 9px; }
.th-a b { color: var(--ink); font-weight: 600; }
.th-a ul { margin: 0 0 9px; padding-left: 20px; list-style: disc; }
.th-a ol { margin: 0; padding-left: 22px; list-style: decimal; }
.th-a li { margin-bottom: 3px; }
.th-a .muted { color: var(--muted); }
.composer { position: absolute; left: 0; right: 0; bottom: 84px; padding: 10px 16px 12px; background: var(--bg); box-shadow: 0 -1px 0 var(--line); display: flex; gap: 10px; align-items: center; }
.cfield { flex: 1; height: 42px; border-radius: 21px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 16px; color: var(--faint); font-size: 15px; }
.send { width: 42px; height: 42px; border-radius: 50%; background: var(--s2); color: var(--faint); display: grid; place-items: center; flex: none; }
.js .ts { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.js .ts.in { opacity: 1; transform: none; }

/* faq */
.faq { box-shadow: 0 -1px 0 var(--line); }
.faq details { box-shadow: 0 1px 0 var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 19px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; flex: none; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--ink2); padding: 0 40px 24px 0; max-width: 66ch; }

/* final */
.final { padding-bottom: clamp(96px, 12vw, 160px); }
.final-mark { margin: 0 auto 40px; }
.final h2 { max-width: none; }
.final .body { margin: 18px auto 0; }

/* footer */
.foot { box-shadow: 0 -1px 0 var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); color: var(--faint); font-size: 14px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot .lockup { color: var(--ink2); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a, .foot-links button { color: var(--muted); text-decoration: none; }
.foot-links a:hover, .foot-links button:hover { color: var(--ink); }
.foot-links button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* cookie choice (analytics.js): a quiet card over the page, both answers the same size */
.consent { position: fixed; z-index: 30; left: var(--gut); bottom: calc(var(--gut) + env(safe-area-inset-bottom)); width: min(400px, calc(100% - 2 * var(--gut))); padding: 18px; border-radius: 18px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, .45); }
.consent p { color: var(--ink2); font-size: 15px; line-height: 1.5; }
.consent a { color: var(--pale); text-underline-offset: 3px; text-decoration-color: var(--hair); }
.consent a:hover { text-decoration-color: var(--pale); }
.consent-row { display: flex; gap: 10px; margin-top: 14px; }
.consent button { flex: 1; height: 42px; border: 0; border-radius: 12px; font: 600 15px/1 var(--sans); cursor: pointer; }
.consent .no { background: var(--s2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.consent .no:hover { background: var(--line); }
.consent .yes { background: var(--ink); color: var(--forest); }
.consent .yes:hover { background: #fff; }

/* privacy and support pages */
.doc { padding: clamp(56px, 8vw, 104px) 0 clamp(84px, 11vw, 140px); }
.doc h1 { font-size: clamp(38px, 5vw, 56px); overflow-wrap: break-word; }
.doc .lede { margin-top: 20px; }
.doc h2 { font-size: clamp(26px, 3vw, 32px); max-width: none; margin: 64px 0 18px; }
.doc h3 { margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink2); font-size: 17px; line-height: 1.65; max-width: 66ch; overflow-wrap: break-word; }
.doc p + p { margin-top: 14px; }
.doc ul { margin-top: 12px; }
.doc ul + p { margin-top: 16px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li + li { margin-top: 8px; }
.doc ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--em); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a:not(.textlink) { color: var(--pale); text-underline-offset: 3px; text-decoration-color: var(--hair); }
.doc a:not(.textlink):hover { text-decoration-color: var(--pale); }
.doc .faq { margin-top: 8px; }
.todo { background: #3A2E12; color: #F2D58A; border-radius: 4px; padding: 1px 6px; font: 600 .86em/1.5 var(--sans); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.contact { margin-top: 28px; padding: 24px; border-radius: 16px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.contact p { margin: 0; }
.contact .mail { font: 600 clamp(20px, 2.4vw, 24px)/1.3 var(--serif); color: var(--ink); margin-top: 6px; overflow-wrap: anywhere; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  .sheet, .wc-mem, .chart.in .draw { transition: none; }
  .js .ts { opacity: 1; transform: none; transition: none; }
}
