@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #12302B;
  --ink-soft: #4C625D;
  --rule: #D9E2DF;
  --wash: #F3F6F5;
  --pine: #173A33;
  --pine-line: #1F473F;
  --on-pine: #C9DAD5;
  --teal: #0F766E;
  --teal-dark: #0B5C55;
  --mint: #8FE3D9;
  --slat: #DCE5E2;
  --slat-edge: #BFCEC9;
  --white: #FFFFFF;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-sm: .9375rem;
  --text-lg: 1.25rem;
  --h3: 1.25rem;
  --h2: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --h1: clamp(2.75rem, 1.5rem + 3.5vw, 4.25rem);
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  /* Every section's content lines up with one 76rem column. */
  --edge: max(var(--gutter), calc((100% - 76rem) / 2));
  --rail: minmax(0, 4fr) minmax(0, 8fr);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font); margin: 0; color: var(--ink); }
h1 { font-weight: 650; letter-spacing: -.032em; }
h2 { font-weight: 620; letter-spacing: -.02em; }
h3 { font-weight: 620; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible + .toggle-track {
  outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--edge);
  position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--rule);
}
.mark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); text-decoration: none;
}
.mark-icon { width: 1.625rem; height: 1.625rem; }
.nav-wide { display: flex; align-items: center; gap: 1.75rem; }
.nav-wide a:not(.btn) { color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.nav-wide a:not(.btn):hover, .nav-wide a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Small screens: a native disclosure, so the menu needs no script. */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: var(--text-sm); font-weight: 600; padding: .5rem .85rem; border: 1px solid var(--ink); border-radius: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: .5rem var(--edge) 1rem; background: var(--white); border-bottom: 1px solid var(--rule); }
.menu nav a { padding: .7rem 0; color: var(--ink); font-weight: 500; text-decoration: none; border-top: 1px solid var(--rule); }
.menu nav a:first-child { border-top: 0; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-block; background: var(--teal); color: var(--white);
  font: 600 1rem/1 var(--font); text-decoration: none;
  padding: .9rem 1.35rem; border-radius: 4px; border: 1px solid var(--teal);
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-small { padding: .6rem .9rem; font-size: var(--text-sm); }
.btn-quiet { background: transparent; color: var(--teal-dark); }
.btn-quiet:hover { background: var(--wash); color: var(--teal-dark); border-color: var(--teal-dark); }
.link { font-weight: 600; }

/* ---------- hero ---------- */
.hero-text {
  padding: clamp(2.5rem, 6vw, 5rem) var(--edge) clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: end;
}
.hero-text h1 { font-size: var(--h1); line-height: 1.02; }
.lede { font-size: var(--text-lg); line-height: 1.5; }
.actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* The band behind the demo is drawn like a lowered blind: flat pine with a line at each slat. */
.stage {
  padding: clamp(2rem, 5vw, 4rem) var(--edge) clamp(1.5rem, 3vw, 2.5rem);
  background: repeating-linear-gradient(var(--pine) 0 27px, var(--pine-line) 27px 28px);
}

/* ---------- the demo ---------- */
.demo { margin: 0; }
.demo-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); color: var(--ink);
  padding: .8rem 1.25rem; border-bottom: 1px solid var(--rule); border-radius: 6px 6px 0 0;
}
.demo-site { font-weight: 700; letter-spacing: -.01em; }
.toggle { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .875rem; font-weight: 600; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track {
  width: 2.5rem; height: 1.4rem; border-radius: 1rem; background: #6B7F7A; position: relative; transition: background .2s;
}
.toggle-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.4rem - 6px); height: calc(1.4rem - 6px);
  border-radius: 50%; background: var(--white); transition: transform .2s;
}
.toggle input:checked + .toggle-track { background: var(--teal); }
.toggle input:checked + .toggle-track::after { transform: translateX(1.1rem); }

.demo-page { background: var(--white); padding: 1.25rem; border-radius: 0 0 6px 6px; display: grid; gap: 1.25rem; }
.demo-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr); gap: 1.25rem; }
.demo-kicker { font-size: .8125rem; font-weight: 700; color: var(--teal-dark); }
.demo-head { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; margin: .25rem 0 1rem; }
.line { display: block; height: .5rem; border-radius: 1px; background: #E8EEEC; margin-bottom: .6rem; }
.line.short { width: 62%; }
.demo-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.ad { position: relative; border-radius: 3px; overflow: hidden; min-height: 11rem; }
.ad-wide { min-height: 6.5rem; }
.ad-art {
  position: absolute; inset: 0; padding: 1rem 1.15rem;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  font-size: .875rem; line-height: 1.3;
  transition: opacity .4s ease .35s;
}
.ad-art b { font-size: 1.2rem; letter-spacing: -.01em; }
.ad-art small { font-size: .6875rem; opacity: .8; }
/* The ads are loud on purpose: they are the world BetBlind closes off. */
.ad-book { background: #2E0C7A; color: #FFE066; }
.ad-book span { color: var(--white); font-weight: 600; }
.ad-market { background: #E2410F; color: var(--white); }
.ad-market b { font-size: 1.5rem; }
.ad-shoe { background: #EDE8DB; color: #2D3A1F; }

/* Each slat swings shut around its own centre line. */
.slats { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; }
.slats i {
  flex: 1; background: var(--slat); border-bottom: 1px solid var(--slat-edge);
  transform: scaleY(0); transform-origin: center;
  transition: transform .55s cubic-bezier(.3, .7, .2, 1);
}
.slats i:nth-child(2) { transition-delay: .05s; }
.slats i:nth-child(3) { transition-delay: .1s; }
.slats i:nth-child(4) { transition-delay: .15s; }
.slats i:nth-child(5) { transition-delay: .2s; }
.slats i:nth-child(6) { transition-delay: .25s; }
.hidden-note {
  position: absolute; left: .9rem; bottom: .6rem;
  background: var(--white); padding: .1rem .45rem; border-radius: 2px;
  font-size: .75rem; font-weight: 600; color: var(--ink-soft);
  opacity: 0; transition: opacity .3s ease .55s;
}
.demo.closed .gamble .slats i { transform: scaleY(1); }
.demo.closed .gamble .ad-art { opacity: 0; }
.demo.closed .gamble .hidden-note { opacity: 1; }
.demo:not(.closed) .gamble .ad-art { transition-delay: 0s; }
.demo:not(.closed) .gamble .hidden-note { transition-delay: 0s; }

.demo figcaption { margin-top: 1rem; font-size: var(--text-sm); color: var(--on-pine); max-width: var(--measure); }

/* ---------- sections ---------- */
/* Default section: heading in the left rail, content on the right. */
.band {
  padding: clamp(3rem, 7vw, 5.5rem) var(--edge);
  display: grid; grid-template-columns: var(--rail); column-gap: clamp(2rem, 5vw, 4.5rem);
}
.band + .band { border-top: 1px solid var(--rule); }
.band > * { grid-column: 2; min-width: 0; }
.band > h2 { grid-column: 1; grid-row: 1 / span 4; font-size: var(--h2); line-height: 1.12; }
.intro { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-soft); max-width: var(--measure); }
.aside { margin-top: 1.5rem; color: var(--ink-soft); font-size: var(--text-sm); max-width: var(--measure); }

/* Wide section: heading on top, content across the full column. */
.band-wide > * { grid-column: 1 / -1; }
.band-wide > h2 { grid-column: 1 / -1; grid-row: auto; }
.band-wide .intro { margin-top: .75rem; }
.band-tint { background: var(--wash); border-top: 0; }
.band-tint + .band { border-top: 0; }

.surfaces { margin: 2.25rem 0 0; }
.surfaces > div {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: .35rem 2rem;
  padding: 1.25rem 0; border-top: 1px solid var(--rule);
}
.surfaces > div:last-child { border-bottom: 1px solid var(--rule); }
.surfaces dt { font-weight: 620; letter-spacing: -.01em; }
.surfaces dd { margin: 0; color: var(--ink-soft); }

.features { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.features > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.features h3 { font-size: var(--h3); line-height: 1.25; margin-bottom: .5rem; }
.features p { color: var(--ink-soft); }

/* What BetBlind sees and keeps. A plain table: this is the page's evidence, so it isn't dressed up. */
.ledger { margin-top: 2.5rem; font-size: 1rem; }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.5fr) minmax(0, 4.5fr); gap: 2rem;
  padding: 1rem 0; border-top: 1px solid var(--rule);
}
.ledger-row:last-child { border-bottom: 1px solid var(--rule); }
.ledger-row > span:first-child { font-weight: 620; }
.ledger-row > span:not(:first-child) { color: var(--ink-soft); }
.ledger-head { border-top: 0; padding-block: 0 .75rem; border-bottom: 2px solid var(--ink); font-size: var(--text-sm); font-weight: 620; }
.ledger-head + .ledger-row { border-top: 0; }
.ledger-head > span:not(:first-child) { color: var(--ink); }

.get { list-style: none; padding: 0; margin: 2rem 0 0; }
.get li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  min-height: 4.5rem; padding: .75rem 0; border-top: 1px solid var(--rule);
}
.get li:last-child { border-bottom: 1px solid var(--rule); }
.get-what { font-weight: 620; letter-spacing: -.01em; }
.get-soon { color: var(--ink-soft); font-size: var(--text-sm); font-weight: 500; }

/* ---------- helplines ---------- */
.help {
  padding: clamp(3rem, 7vw, 5.5rem) var(--edge);
  background: var(--pine); color: var(--white);
  display: grid; grid-template-columns: var(--rail); column-gap: clamp(2rem, 5vw, 4.5rem);
}
.help > * { grid-column: 2; min-width: 0; }
.help > h2 { grid-column: 1; grid-row: 1 / span 3; color: var(--white); font-size: var(--h2); line-height: 1.12; }
.help-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); }
.help-num { display: block; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); font-weight: 620; letter-spacing: -.02em; line-height: 1.1; color: var(--white); text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }
.help-lines p { margin-top: .6rem; color: var(--on-pine); }
.help-note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .2); color: var(--on-pine); max-width: none; }
.help-note a { color: var(--mint); font-weight: 600; }

/* ---------- inner pages (help, privacy, terms) ---------- */
.page-head { padding: clamp(2.5rem, 5vw, 4.5rem) var(--edge) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.05; }
.page-head .intro { margin-top: 1rem; }
.page-head .updated { margin-top: 1rem; font-size: var(--text-sm); color: var(--ink-soft); }

/* Long pages: contents in the left rail, text on the right. */
.doc {
  padding: clamp(2.5rem, 5vw, 4rem) var(--edge) clamp(3rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: var(--rail); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.doc > * { grid-column: 2; min-width: 0; max-width: var(--measure); }
.doc > .toc { grid-column: 1; grid-row: 1 / span 300; position: sticky; top: 6rem; max-width: none; font-size: var(--text-sm); }
.doc > .ledger { max-width: none; }
.doc:not(:has(.toc)) > * { grid-column: 1 / -1; }
.doc > h2:first-of-type { margin-top: 0; }
.doc h2 { font-size: 1.5rem; line-height: 1.2; margin: 2.75rem 0 .6rem; scroll-margin-top: 5.5rem; }
.doc h3 { font-size: 1.0625rem; line-height: 1.4; margin: 1.75rem 0 .3rem; scroll-margin-top: 5.5rem; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: .9rem; }
.doc > ul { padding-left: 1.25rem; margin-block: .5rem 0; }
.doc li + li { margin-top: .4rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li + li { margin-top: .45rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

/* Hotlines at the top of the help page. Each number is a call link. */
.doc-top { padding: clamp(2rem, 4vw, 3rem) var(--edge) 0; }
.doc-top > p { max-width: var(--measure); margin-top: 1rem; color: var(--ink-soft); }
.lines { list-style: none; margin: 0 0 1.5rem; padding: 0; background: var(--pine); border-radius: 6px; color: var(--white); }
.lines li {
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: center;
}
.lines li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
.lines .num { display: inline-block; font-size: clamp(1.5rem, 1rem + 2.5vw, 2.25rem); font-weight: 620; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; color: var(--white); text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; margin-bottom: .5rem; }
.lines .who { font-weight: 620; color: var(--white); }
.lines p { color: var(--on-pine); max-width: var(--measure); }
.lines .acts { display: flex; flex-wrap: wrap; gap: 1rem; }
.lines .acts a { color: var(--mint); font-weight: 600; }

/* ---------- new page parts ---------- */
.shot { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); }
.intro a { color: var(--teal-dark); }

.moment { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.moment figure { margin: 0; }
.moment .features { margin-top: 0; grid-template-columns: 1fr; gap: 1.5rem; max-width: var(--measure); }
.moment .aside { margin-top: 0; }

.splits .split {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  border-top: 1px solid var(--rule); scroll-margin-top: 4rem;
}
.splits .split:first-child { border-top: 0; }
.splits .split:nth-child(even) figure { order: -1; }
.splits #partner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.splits #partner figure { padding: clamp(.75rem, 1.5vw, 1.25rem); }
.split h2 { font-size: var(--h2); line-height: 1.12; margin-bottom: 1rem; }
.split p + p, .split ul + p { margin-top: .9rem; }
.split ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.split figure { margin: 0; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--wash); border-radius: 6px; display: flex; justify-content: center; }
.shot-note { padding: 0 var(--edge) 3rem; font-size: var(--text-sm); color: var(--ink-soft); }

.table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.doc > .table-wrap { max-width: none; }
.table-wrap:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.matrix { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: var(--text-sm); }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: .8rem 1rem .8rem 0; border-top: 1px solid var(--rule); }
.matrix thead th { border-top: 0; border-bottom: 2px solid var(--ink); font-weight: 620; }
.matrix tbody tr:first-child th, .matrix tbody tr:first-child td { border-top: 0; }
.matrix tbody th { font-weight: 620; width: 30%; }
.yes { color: var(--teal-dark); font-weight: 600; }
.part { color: var(--ink-soft); }
.no { color: #94370F; font-weight: 600; }

/* Numbered only where the content really is a sequence. */
.steps, .flow { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.doc > .flow { max-width: none; margin-block: 1.25rem; }
.steps > li, .flow > li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: .85rem; }
.steps > li::before, .flow > li::before { content: counter(step); display: block; font-size: 1.5rem; font-weight: 650; color: var(--teal-dark); margin-bottom: .4rem; }
.doc > .flow > li { margin-top: 0; }
.steps h3 { font-size: var(--h3); line-height: 1.25; margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); }
.band .actions { margin-top: 2rem; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.pair h3 { font-size: var(--h3); line-height: 1.25; margin-bottom: .5rem; }
.pair h3 a { color: var(--ink); }
.pair p { color: var(--ink-soft); }

.sees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.sees h3 { margin-top: 0; }
.sees > div { border-top: 2px solid var(--ink); padding-top: .85rem; }
.sees ul { padding-left: 1.25rem; margin: .4rem 0 0; }
.doc > .rules { list-style: none; padding-left: 0; }
.doc > .rules li { padding-block: .75rem; margin: 0; border-top: 1px solid var(--rule); }
.ref { vertical-align: super; font-size: .72em; line-height: 0; margin-left: .15em; }
.doc > .sources { padding-left: 1.25rem; margin: .5rem 0 0; font-size: var(--text-sm); color: var(--ink-soft); }
.prose h3 { font-size: 1.0625rem; margin-top: 1.5rem; margin-bottom: .25rem; }
.prose h3:first-child { margin-top: 0; }
.prose { max-width: var(--measure); }
.get-what small { display: block; font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.band-get .get { margin-top: 0; }

/* ---------- analytics choice ---------- */
/* Both answers look the same: saying no should be as easy as saying yes. */
.btn { cursor: pointer; }
.consent {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 6; width: min(46rem, calc(100% - 2rem));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
  padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--ink); border-radius: 6px; font-size: var(--text-sm);
}
.consent-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-buttons .btn { padding: .65rem .9rem; font-size: var(--text-sm); }
.choice { margin-top: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--rule); border-radius: 6px; }
.choice[hidden] { display: none; }
.choice p { margin-bottom: .75rem; font-weight: 600; }

/* ---------- footer ---------- */
.foot { padding: 3rem var(--edge) 2rem; background: var(--wash); color: var(--ink-soft); font-size: var(--text-sm); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot h2 { font-size: var(--text-sm); font-weight: 650; letter-spacing: 0; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: .4rem; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); max-width: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .hero-text { grid-template-columns: 1fr; }
  .lede { max-width: var(--measure); }
  .features { grid-template-columns: 1fr; }
  .band, .help, .doc { grid-template-columns: 1fr; }
  .band > *, .band > h2, .help > *, .help > h2, .doc > * { grid-column: 1; grid-row: auto; }
  .band > h2 { margin-bottom: 1rem; }
  .help > h2 { margin-bottom: 1.5rem; }
  .doc > .toc { grid-column: 1; grid-row: auto; position: static; margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--wash); border-radius: 4px; }
  .toc ul { columns: 2 12rem; column-gap: 1.5rem; }
  .toc li { break-inside: avoid; }
  .nav-wide { display: none; }
  .menu { display: block; }
  .moment { grid-template-columns: 1fr; }
  .splits .split, .splits #partner { grid-template-columns: 1fr; }
  .splits .split:nth-child(even) figure { order: 0; }
}
@media (max-width: 720px) {
  .steps, .flow, .pair, .consent { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-cols { grid-template-columns: 1fr; }
  .surfaces > div { grid-template-columns: 1fr; }
  .help-lines { grid-template-columns: 1fr; }
  .ledger-head { display: none; }
  .ledger-head + .ledger-row { border-top: 1px solid var(--rule); }
  .ledger-row { grid-template-columns: 1fr; gap: .35rem; }
  .ledger-row > span:nth-child(2)::before { content: "Sees: "; font-weight: 600; color: var(--ink); }
  .ledger-row > span:nth-child(3)::before { content: "Keeps: "; font-weight: 600; color: var(--ink); }
  .lines li { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ad { min-height: 8rem; }
  .ad-wide { min-height: 6rem; }
  .lede { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slats i, .ad-art, .hidden-note, .toggle-track, .toggle-track::after { transition: none !important; }
}
