/* Marketing Slides — visual system
   Idea: the page reads like a finished deck on good paper. Warm paper, ink-black
   type, one signal red used the way a strategist uses a highlighter. Serif for
   the headlines a boss reads, a plain grotesk for everything else, mono for
   slide numbers and sources. */

:root {
  --paper: #f3f0e8;
  --paper-2: #ebe7dc;
  --slide: #fffdf8;
  --ink: #16150f;
  --ink-2: #3b3930;
  --muted: #6d695d;
  --rule: #d9d4c6;
  --rule-strong: #bdb6a4;
  --signal: #d8401f;
  --signal-ink: #b13314;
  --signal-wash: #f7ddd2;
  --mark: #f3dc6b;
  --ok: #2f6b3d;
  --focus: #1f5fd1;

  --shadow-card: 0 0 0 1px rgb(22 21 15 / 0.07), 0 1px 2px rgb(22 21 15 / 0.05), 0 8px 24px -12px rgb(22 21 15 / 0.18);
  --shadow-lift: 0 0 0 1px rgb(22 21 15 / 0.09), 0 2px 4px rgb(22 21 15 / 0.06), 0 22px 40px -18px rgb(22 21 15 / 0.32);
  --shadow-slide: 0 0 0 1px rgb(22 21 15 / 0.08), 0 30px 60px -30px rgb(22 21 15 / 0.45), 0 12px 24px -16px rgb(22 21 15 / 0.2);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r-card: 14px;
  --r-inner: 8px;
  --gutter: 16px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12110e;
    --paper-2: #1a1915;
    --slide: #201f1a;
    --ink: #efebe0;
    --ink-2: #d2cdbf;
    --muted: #9a9585;
    --rule: #2f2d27;
    --rule-strong: #47443b;
    --signal: #ff6a47;
    --signal-ink: #ff8a6d;
    --signal-wash: #3a1d14;
    --mark: #6b5a12;
    --ok: #7cc28b;
    --focus: #7aa7ff;
    --shadow-card: 0 0 0 1px rgb(255 255 255 / 0.07), 0 8px 24px -12px rgb(0 0 0 / 0.6);
    --shadow-lift: 0 0 0 1px rgb(255 255 255 / 0.12), 0 22px 40px -18px rgb(0 0 0 / 0.8);
    --shadow-slide: 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12110e;
  --paper-2: #1a1915;
  --slide: #201f1a;
  --ink: #efebe0;
  --ink-2: #d2cdbf;
  --muted: #9a9585;
  --rule: #2f2d27;
  --rule-strong: #47443b;
  --signal: #ff6a47;
  --signal-ink: #ff8a6d;
  --signal-wash: #3a1d14;
  --mark: #6b5a12;
  --ok: #7cc28b;
  --focus: #7aa7ff;
  --shadow-card: 0 0 0 1px rgb(255 255 255 / 0.07), 0 8px 24px -12px rgb(0 0 0 / 0.6);
  --shadow-lift: 0 0 0 1px rgb(255 255 255 / 0.12), 0 22px 40px -18px rgb(0 0 0 / 0.8);
  --shadow-slide: 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* faint paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* lift page content above the grain; the order dialog keeps the browser's fixed, centred modal box */
body > *:not(dialog) { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; flex: none; border-radius: 6px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14); }
.top nav { display: flex; gap: var(--s5); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 10px 0; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition-property: background-color, color, scale, box-shadow; transition-duration: 160ms; transition-timing-function: var(--ease);
}
.btn:hover { --bg: var(--signal); color: #fff; }
.btn:active { scale: 0.96; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-quiet { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-quiet:hover { --bg: var(--paper-2); color: var(--ink); }
.btn .arrow { transition: translate 160ms var(--ease); }
.btn:hover .arrow { translate: 3px 0; }

/* ---------- hero ---------- */
.hero { display: grid; gap: var(--s7); padding-block: var(--s5) var(--s7); align-items: center; }
@media (min-width: 980px) { .hero { grid-template-columns: 1.05fr 1fr; gap: var(--s8); padding-block: var(--s7) var(--s8); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--signal); }
.hero h1 { font-size: clamp(44px, 8.4vw, 92px); line-height: 0.98; letter-spacing: -0.03em; margin: var(--s5) 0 var(--s5); }
.hero h1 em { font-style: italic; color: var(--signal); font-weight: 400; }
.hero .sub { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); max-width: 34em; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: var(--s5) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* the fanned deck */
.deck { position: relative; aspect-ratio: 16 / 11.5; width: 100%; max-width: 620px; justify-self: center; }
.deck .sheet {
  position: absolute; left: 6%; right: 6%; top: 8%; aspect-ratio: 16 / 9;
  background: var(--slide); border-radius: 10px; box-shadow: var(--shadow-slide);
  transform-origin: 50% 100%;
}
.deck .sheet.s3 { rotate: -7deg; translate: -4% 4%; opacity: 0.9; }
.deck .sheet.s2 { rotate: 4deg; translate: 5% 1%; }
.deck .sheet.s1 { rotate: -1deg; translate: 0 6%; padding: 5.2% 6%; display: grid; grid-template-rows: auto auto 1fr auto; }
.deck .s2-inner, .deck .s3-inner { position: absolute; inset: 9% 8%; }
.slide-kicker { font: 600 clamp(8px, 1.15vw, 11px)/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.slide-title { font: 500 clamp(15px, 2.4vw, 25px)/1.1 var(--serif); letter-spacing: -0.02em; margin-top: 2.5%; color: var(--ink); }
.slide-bars { display: grid; gap: clamp(8px, 1.4vw, 14px); align-content: center; padding: 4% 0; }
.bar-row { display: grid; grid-template-columns: 28% 1fr; align-items: center; gap: 4%; font: 500 clamp(8px, 1.1vw, 12px)/1 var(--sans); color: var(--ink-2); }
.bar { height: clamp(9px, 1.6vw, 16px); border-radius: 2px; background: var(--rule-strong); transform-origin: left; animation: grow 900ms var(--ease) both; }
.bar.you { background: var(--signal); }
.bar-row:nth-child(2) .bar { animation-delay: 90ms; }
.bar-row:nth-child(3) .bar { animation-delay: 180ms; }
.bar-row:nth-child(4) .bar { animation-delay: 270ms; }
@keyframes grow { from { scale: 0 1; } }
.slide-foot { display: flex; justify-content: space-between; font: 400 clamp(6.5px, 0.9vw, 9.5px)/1.3 var(--mono); color: var(--muted); border-top: 1px solid var(--rule); padding-top: 2.4%; gap: 12px; }
.deck .tag { position: absolute; right: 2%; bottom: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bar { animation: none; } }

/* ---------- section heads (deck dividers) ---------- */
.section { padding-block: var(--s7); }
@media (min-width: 900px) { .section { padding-block: var(--s8); } }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s6); } }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 32em; }

.shelf { padding-top: var(--s6); margin-top: var(--s6); border-top: 1px solid var(--rule-strong); }
.shelf:first-of-type { margin-top: 0; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: var(--s5); }
.shelf-num { color: var(--signal); font-weight: 600; }
.shelf-head h3 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; }
.shelf-head p { color: var(--muted); flex-basis: 100%; }
@media (min-width: 720px) { .shelf-head p { flex-basis: auto; margin-left: auto; } }

/* ---------- report cards ---------- */
.grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .shelf { display: grid; grid-template-columns: 260px 1fr; gap: var(--s6); }
  .shelf-head { flex-direction: column; align-items: flex-start; gap: 10px; position: sticky; top: 24px; align-self: start; }
  .shelf-head p { margin-left: 0; flex-basis: auto; }
}

.card {
  display: flex; flex-direction: column;
  background: var(--slide); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 6px;
  transition-property: box-shadow, translate; transition-duration: 220ms; transition-timing-function: var(--ease);
  animation: rise 600ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes rise { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } }
.card:hover { box-shadow: var(--shadow-lift); translate: 0 -2px; }
.thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-inner); overflow: hidden;
  background: var(--paper-2);
  outline: 1px solid rgb(22 21 15 / 0.06); outline-offset: -1px;
}
.thumb svg, .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 8px; border-radius: 5px;
  background: var(--ink); color: var(--paper);
}
.badge.live { background: var(--signal); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) var(--s4) var(--s3); flex: 1; }
.card-num { color: var(--muted); }
.card h4 { font: 500 25px/1.1 var(--serif); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.card .question { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.learn { list-style: none; margin: var(--s1) 0 0; padding: var(--s3) 0 0; border-top: 1px dashed var(--rule); display: grid; gap: 7px; font-size: 14.5px; }
.learn-label { color: var(--muted); margin-bottom: 2px; }
.learn li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; line-height: 1.4; }
.learn li::before { content: ""; width: 8px; height: 2px; background: var(--signal); margin-top: 0.62em; }
.card-foot { padding: var(--s3) var(--s4) var(--s4); display: grid; gap: var(--s3); border-top: 1px solid var(--rule); margin: 0 2px; }
.terms-line { color: var(--muted); font-size: 13.5px; }
.terms-line strong { color: var(--ink); font-weight: 600; }
.card-foot .btn { width: 100%; }

/* inline "tell me when" */
.notify { display: grid; gap: 6px; }
.notify-row { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); transition: box-shadow 160ms var(--ease); }
.notify-row:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.notify-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font: 400 15px var(--sans); color: var(--ink); min-height: 36px; }
.notify-row input:focus { outline: none; }
.notify-row .btn { width: auto; min-height: 36px; padding: 0 14px; font-size: 14px; flex: none; }
.notify .msg { font-size: 13.5px; min-height: 0; }
.notify .msg.err { color: var(--signal-ink); }
.notify .msg.ok { color: var(--ok); }
.notify.done .notify-row { display: none; }
.notify-label { color: var(--muted); font-size: 13.5px; }

/* ---------- proof + how ---------- */
.proof { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 980px) { .proof { grid-template-columns: 1fr 1.1fr; } }
.proof h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.03; letter-spacing: -0.025em; }
.proof p { color: var(--ink-2); font-size: 17px; margin-top: var(--s4); max-width: 30em; }
.cite-slide { background: var(--slide); border-radius: 12px; box-shadow: var(--shadow-slide); padding: clamp(18px, 3.5vw, 36px); display: grid; gap: 14px; }
.cite-slide .slide-title { font-size: clamp(19px, 2.4vw, 26px); }
.cite-slide .claim { font-size: clamp(14px, 1.6vw, 16px); color: var(--ink-2); line-height: 1.55; }
.cite-slide sup { font: 600 10px var(--mono); color: var(--signal); margin-left: 2px; }
.cite-slide mark { background: linear-gradient(transparent 55%, var(--mark) 55%); color: inherit; padding: 0 2px; }
.sources { border-top: 1px solid var(--rule); padding-top: 12px; display: grid; gap: 6px; color: var(--muted); font: 400 11.5px/1.4 var(--mono); }
.sources span { color: var(--signal); margin-right: 6px; }

.steps { display: grid; gap: var(--s5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border-top: 2px solid var(--ink); padding-top: var(--s4); display: grid; gap: var(--s2); }
.steps li::before { counter-increment: step; content: "0" counter(step); font: 600 13px var(--mono); color: var(--signal); }
.steps h3 { font-size: 26px; letter-spacing: -0.02em; }
.steps p { color: var(--ink-2); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font: 500 20px/1.3 var(--serif); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--muted); transition: rotate 200ms var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 46em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule-strong); margin-top: var(--s8); padding-block: var(--s6) var(--s7); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- order dialog ---------- */
dialog.order {
  border: 0; padding: 0; margin: auto; color: var(--ink);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100dvh - 32px);
  background: var(--slide); border-radius: 18px; box-shadow: var(--shadow-slide);
  overflow: auto; overscroll-behavior: contain;
}
dialog.order::backdrop { background: rgb(18 17 14 / 0.5); backdrop-filter: blur(3px); }
dialog.order[open] { animation: pop 260ms var(--ease); }
dialog.order[open]::backdrop { animation: fade 260ms var(--ease); }
@keyframes pop { from { opacity: 0; translate: 0 12px; scale: 0.98; } }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 600px) {
  dialog.order { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92dvh; }
  dialog.order[open] { animation: sheet 300ms var(--ease); }
  @keyframes sheet { from { translate: 0 40px; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { dialog.order[open], dialog.order[open]::backdrop, .thanks .check { animation: none; } }
.order-head { position: sticky; top: 0; z-index: 2; background: var(--slide); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 22px 24px 16px; border-bottom: 1px solid var(--rule); }
.order-head .mono { color: var(--signal); grid-column: 1; }
.order-head h2 { font-size: 30px; line-height: 1.05; grid-column: 1; }
.order-head .q { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.x { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 160ms var(--ease), scale 160ms var(--ease); }
.x:hover { background: var(--rule); }
.x:active { scale: 0.96; }
.order form { padding: 20px 24px 24px; display: grid; gap: 18px; }
.order form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 600; font-size: 14.5px; }
.field .hint { color: var(--muted); font-size: 13.5px; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 0 14px;
  font: 400 16px var(--sans); color: var(--ink);
  background: var(--paper); border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  transition: box-shadow 140ms var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236d695d' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:hover, .field select:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--signal); }
.field .err { color: var(--signal-ink); font-size: 13.5px; display: none; }
.field .err:not(:empty) { display: block; }
.list-items { display: grid; gap: 8px; }
.list-item { display: flex; gap: 8px; }
.list-item button { flex: none; width: 46px; border: 0; border-radius: 10px; background: var(--paper-2); color: var(--muted); cursor: pointer; font-size: 18px; }
.list-item button:hover { color: var(--ink); background: var(--rule); }
.add-item { justify-self: start; background: none; border: 0; padding: 8px 0; color: var(--signal-ink); font: 600 14px var(--sans); cursor: pointer; min-height: 40px; }
.add-item:hover { text-decoration: underline; }
.form-alert { border-radius: 10px; padding: 12px 14px; background: var(--signal-wash); color: var(--ink); font-size: 14.5px; }
.form-alert[hidden] { display: none; }
.form-actions { display: grid; gap: 10px; }
.form-actions .btn { width: 100%; min-height: 50px; font-size: 16px; }
.small-print { color: var(--muted); font-size: 13px; text-align: center; }
.thanks { padding: 32px 24px 28px; display: grid; gap: 14px; justify-items: start; }
.thanks[hidden] { display: none; }
.thanks .check { width: 48px; height: 48px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .thanks .check { animation: pop 300ms var(--ease); } }
.thanks h3 { font-size: 30px; line-height: 1.1; }
.thanks p { color: var(--ink-2); font-size: 16.5px; }
.thanks strong { color: var(--ink); overflow-wrap: anywhere; }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; padding: var(--s7) 0 var(--s8); }
.legal h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s3); }
.legal .updated { color: var(--muted); margin-bottom: var(--s6); }
.legal h2 { font-size: 26px; margin: var(--s6) 0 var(--s3); }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.legal p + p { margin-top: var(--s3); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- drawn thumbnails ---------- */
.t-paper { fill: var(--paper-2); }
.t-slide { fill: var(--slide); filter: drop-shadow(0 6px 8px rgb(22 21 15 / 0.12)); }
.t-ink { fill: var(--ink); }
.t-red { fill: var(--signal); }
.t-redwash { fill: var(--signal-wash); }
.t-redtext { fill: var(--signal); font: 600 20px var(--serif); }
.t-quote { fill: var(--rule-strong); font: 600 20px var(--serif); }
.t-g { fill: var(--rule-strong); }
.t-g2 { fill: var(--rule); }
.t-tile { fill: var(--paper-2); }
.t-rule { fill: var(--rule); }
.t-dash { stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.7; }
.t-lineg { fill: none; stroke: var(--rule-strong); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.t-liner { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- samples + the one "tell me when" form ---------- */
.samples-line { font-size: 14px; color: var(--muted); margin-top: var(--s3); }
.samples-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.thumb a { display: block; height: 100%; }
.sample-decks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); padding: 0; }
.sample-decks a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; font-size: 13.5px; }
.sample-decks img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--rule-strong); transition: translate 160ms var(--ease); }
.sample-decks a:hover img { translate: 0 -2px; }
@media (max-width: 560px) { .sample-decks { grid-template-columns: 1fr; } }
.notify-all { margin-top: var(--s7); padding: var(--s6); border-radius: 18px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.notify-all h3 { font-size: clamp(24px, 3vw, 32px); }
.notify-all > form > p:not(.msg) { color: var(--ink-2); margin-top: var(--s2); }
.notify-all .picks { border: 0; padding: 0; margin: var(--s4) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.notify-all .pick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); font-size: 14.5px; cursor: pointer; }
.notify-all .pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.notify-all .notify-row { max-width: 520px; }
.notify-all .msg { margin-top: 8px; font-size: 14px; }
.notify-all .msg.err { color: var(--signal-ink); }
.notify-all .msg.ok { color: var(--ok); }
.notify-all form.done .notify-row, .notify-all form.done .picks { display: none; }
@media (max-width: 560px) { .notify-all { padding: var(--s5) var(--s4); } }
/* the mail-draft fallback when a form can't post */
.mail-instead { display: flex; width: fit-content; min-height: 44px; margin-top: 10px; color: var(--ink); }
@media (max-width: 560px) { .mail-instead { width: 100%; } }
/* a fallback is a way through, not an error: neutral, never the red wash */
.notify-all .msg.note { color: var(--ink-2); }
.form-alert.note { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.mail-address { margin-top: 10px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mail-address .addr { color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.copy-addr { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink); font: 600 13px var(--sans); cursor: pointer; }
.copy-addr:hover { box-shadow: inset 0 0 0 1px var(--ink); }
/* arriving from a link to a report that isn't open yet */
.closed-note h3 { font-size: clamp(24px, 3vw, 32px); }
.closed-note > p { color: var(--ink-2); margin-top: var(--s2); }
.closed-note .closed-mail { margin-top: var(--s3); }
.closed-note .closed-mail[hidden] { display: none; }
.notify-all.has-closed > form > h3, .notify-all.has-closed > form > p:not(.msg) { display: none; }
.notify-all.has-closed .picks { margin-top: var(--s4); }
/* the proof section's real slide crop */
.proof-crop { padding: clamp(10px, 1.6vw, 16px); }
.proof-crop img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--rule); }
.proof-crop figcaption { color: var(--muted); font-size: 13.5px; line-height: 1.5; padding: 2px 4px 2px; }
.proof-crop figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
