/* Line Item. Direction: the sentence is the layout. Light-led plum, black and pink. */

:root {
  --paper: #ffffff;
  --tint: #f6eff3;
  --tint-2: #ecdfe7;
  --ink: #101421;
  --muted: #595666;
  --plum: #470c35;
  --plum-soft: #dcc3d2;
  --black: #0d060b;
  --accent: #ff488b;
  --accent-ink: #0d060b;
  --navy: #256abf;
  --plum-mid: #8a2a6b;

  --font: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.125rem, 1.06rem + 0.28vw, 1.25rem);
  --step-lead: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --step-head: clamp(2.75rem, 1.2rem + 5.4vw, 6.5rem);
  --step-display: clamp(4rem, 13vw, 14rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 11vw, 12rem);
  --bar-h: 4.25rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.005em; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class] { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; max-width: 62ch; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { padding-inline: var(--margin); }
.head { font-size: var(--step-head); line-height: 0.92; letter-spacing: -0.05em; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; max-width: 34ch; }

/* fields */
.field-paper { background: var(--paper); color: var(--ink); }
.field-tint { background: var(--tint); color: var(--ink); }
.field-plum { background: var(--plum); color: #fff; }
.field-black { background: var(--black); color: #fff; }

/* controls */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, opacity var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button[disabled] { opacity: 0.35; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .button:not([disabled]):hover { background: #ff6aa1; }
  .link:hover { text-decoration-color: currentColor; }
}
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease; }
.textbtn { min-height: 3.25rem; padding: 0 0.25rem; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }

/* ---------- header: takes the colours of the chapter under it ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--bar-h); display: flex; align-items: center; gap: var(--gutter); padding-inline: var(--margin); background: var(--paper); color: var(--ink); transition: background-color 300ms ease, color 300ms ease; }
.bar[data-field="tint"] { background: var(--tint); }
.bar[data-field="plum"] { background: var(--plum); color: #fff; }
.bar[data-field="black"] { background: var(--black); color: #fff; }
.mark { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.05em; text-decoration: none; margin-right: auto; line-height: 1; }
.bar-links { display: none; gap: clamp(1rem, 2.4vw, 2.25rem); }
.bar .button { min-height: 2.75rem; padding: 0 1.1rem; }
@media (min-width: 56em) { .bar-links { display: flex; } }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 114svh; min-height: 46rem; background: var(--plum); overflow: hidden; }
.hero-top { position: absolute; inset: 0 0 auto 0; height: 50svh; background: var(--paper); }
.hero-title { position: absolute; top: 50svh; left: 50%; transform: translate(-50%, -66%); width: max-content; max-width: 100vw; text-align: center; font-size: var(--step-display); line-height: 0.86; letter-spacing: -0.055em; }
.copy { display: block; }
.copy-a { color: var(--ink); clip-path: inset(-10% -10% 34% -10%); }
.copy-b { position: absolute; inset: 0; color: #fff; clip-path: inset(66% -10% -10% -10%); }
.hero-lead { position: absolute; left: 50%; top: calc(100svh - 3.5rem); transform: translate(-50%, -100%); width: min(46ch, calc(100vw - 2 * var(--margin))); text-align: center; color: #fff; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; }
@media (max-width: 47.99em) {
  .hero-top { height: 46svh; }
  .hero-title { top: 46svh; }
  .hero-lead { top: calc(100svh - 2.5rem); font-size: var(--step-body); width: min(30ch, calc(100vw - 2 * var(--margin))); }
}

/* ---------- 2. the headline you can type ---------- */
.income { padding-block: calc(var(--section) * 0.75) calc(var(--section) / 2); min-height: 88svh; }
.typed { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 0.22em; font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.05em; white-space: nowrap; }
.typed label { flex: none; }
.typed-box { position: relative; display: inline-flex; align-items: baseline; min-width: 0; }
.typed input { width: 7ch; min-width: 2ch; max-width: 100%; padding: 0; border: 0; background: none; font-weight: 500; line-height: 1.05; color: var(--plum); outline: none; caret-color: var(--accent); }
.typed-box:focus-within .caret { visibility: hidden; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.caret { flex: none; align-self: center; width: 0.08em; height: 0.82em; margin-left: 0.04em; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }

.income-below { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; margin-top: 3rem; align-items: start; }
.answer { grid-column: 1 / span 6; max-width: 35rem; }
.answer-rows { display: grid; gap: 0.25rem; }
.answer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 0.9rem 1.1rem; background: var(--tint); }
.answer-row dd { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.answer-total { background: var(--plum); color: #fff; font-size: var(--step-lead); letter-spacing: -0.015em; }
.answer-day { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; }
.answer-day span { font-weight: 500; }
.income-note { grid-column: 8 / span 5; color: var(--muted); max-width: 36ch; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.75rem; margin-top: 3.5rem; }
.examples-label { color: var(--muted); }
.example { min-height: 2.75rem; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; font-variant-numeric: tabular-nums; }
@media (max-width: 47.99em) {
  .answer, .income-note { grid-column: 1 / -1; }
  .examples { gap: 0.5rem; }
  .example { padding: 0 1rem; background: var(--tint); text-decoration: none; }
  .examples-label { width: 100%; }
}

/* ---------- 3. one year of pay ---------- */
.pay { padding-block: calc(var(--section) / 2) var(--section); }
.paybar { display: flex; gap: 6px; height: 22vh; min-height: 9rem; margin-top: 4rem; }
.seg { position: relative; min-width: 12%; padding: 1.1rem 1.25rem; overflow: hidden; transition: flex-grow 500ms var(--ease-out); }
.seg-amt { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seg-name { display: block; font-size: var(--step-small); white-space: nowrap; }
.seg-home { background: var(--tint-2); color: var(--ink); }
.seg-fed { background: var(--plum-mid); color: #fff; }
.seg-ont { background: var(--accent); color: var(--accent-ink); }
.seg-own { background: var(--navy); color: #fff; }
.payclauses { display: flex; gap: 6px; margin-top: 1rem; }
.payclause { min-width: 12%; padding-right: 1rem; transition: flex-grow 500ms var(--ease-out); }
.payclause p { max-width: 24ch; }
@media (max-width: 47.99em) {
  .paybar { flex-direction: column; height: auto; min-height: 0; margin-top: 2.5rem; }
  .seg { flex: none !important; min-width: 0; min-height: calc(6.75rem + var(--g, 0) * 24rem); }
  .seg-name { display: none; }
  .seg-note { display: block; margin-top: 0.3rem; font-size: var(--step-body); line-height: 1.35; white-space: normal; }
  .payclauses { display: none; }
}
@media (min-width: 48em) { .seg-note { display: none; } }

/* ---------- 4. where it went ---------- */
.went { padding-block: var(--section); }
.went-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: center; }
.went-say { grid-column: 1 / span 5; }
.statement { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.035em; }
.statement span { display: block; white-space: nowrap; }
.statement .soft { color: var(--muted); }
.went-note { margin-top: 1.5rem; max-width: 38ch; }
.ledger { grid-column: 7 / span 6; display: grid; row-gap: 1.25rem; }
.lrow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 2.2fr); align-items: baseline; }
.lrow .whole, .lrow .dec { font-size: var(--step-head); line-height: 1; letter-spacing: -0.05em; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.lrow .whole { text-align: right; }
.lrow .cap { padding-left: 1.25rem; font-size: 1rem; line-height: 1.3; max-width: 22ch; }
.lrow .cap b { display: block; font-weight: 500; font-size: var(--step-body); }
@media (max-width: 63.99em) {
  .went-say, .ledger { grid-column: 1 / -1; }
}
@media (max-width: 47.99em) {
  .lrow { grid-template-columns: 34% 26% 40%; }
  .lrow .cap { padding-left: 0.6rem; font-size: 1rem; }
  .ledger { row-gap: 1.75rem; }
}

/* ---------- 5. now move it ---------- */
.move { padding-block: var(--section); }
.move-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: end; }
.move-top .head { grid-column: 1 / span 6; }
.move-lead { grid-column: 7 / span 6; max-width: 40ch; }
.mover { margin-top: 3.5rem; background: var(--tint); padding: clamp(0.75rem, 2vw, 1.75rem); }
.mover-head { padding-block: 0.5rem 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { min-height: 3.25rem; padding: 0 1.15rem; background: var(--paper); font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.pool { position: sticky; top: var(--bar-h); z-index: 5; display: flex; align-items: center; gap: 0.75rem; min-height: 3.5rem; padding: 0.5rem 1.15rem; line-height: 1.3; background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.pool b { font-weight: 500; font-size: var(--step-lead); letter-spacing: -0.02em; }
.pool.has { background: var(--accent); color: var(--accent-ink); }
.mover-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 1rem 0.35rem 1.25rem; }
.mover-sub input { width: 7.5ch; min-height: 2.75rem; padding: 0 0.6rem; border: 0; background: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }
.mover-sub .muted { color: var(--muted); }

.lines { display: grid; gap: 4px; }
.line { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2fr) auto; align-items: center; column-gap: var(--gutter); padding: 0.85rem 1rem; background: var(--paper); }
.line-name { font-weight: 500; line-height: 1.3; }
.line-note { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); line-height: 1.3; margin-top: 0.15rem; }
.line-bar { position: relative; height: 1.25rem; background: var(--tint); }
.line-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); width: 0; transition: width 320ms var(--ease-out); }
.line-was { position: absolute; top: -0.3rem; bottom: -0.3rem; width: 3px; background: var(--ink); transition: left 320ms var(--ease-out), opacity var(--t-ui) ease; opacity: 0; }
.line.changed .line-was { opacity: 1; }
.line-amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-amt b { display: block; font-weight: 500; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
.line-delta { display: block; font-size: 1rem; color: var(--muted); min-height: 1.3em; }
.line.changed .line-delta { color: var(--ink); }
.stepper { display: flex; gap: 4px; }
.step { width: 3rem; height: 3rem; background: var(--ink); color: #fff; font-size: 1.5rem; line-height: 1; font-weight: 500; transition: transform var(--t-press) var(--ease-out), opacity var(--t-hover) ease, background-color var(--t-hover) ease; }
.step:active { transform: scale(0.92); }
.step[disabled] { opacity: 0.22; cursor: not-allowed; }
.step.plus:not([disabled]) { background: var(--accent); color: var(--accent-ink); }
.line.locked .line-fill { background: var(--muted); }
.locked-tag { font-size: 1rem; color: var(--muted); width: calc(6rem + 4px); text-align: right; }
.mover-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.5rem 0.35rem 0.5rem; }
.mover-total { font-variant-numeric: tabular-nums; }
.mover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.mover-done { margin: 0.75rem 0.35rem 0.5rem; padding: 1rem 1.15rem; background: var(--plum); color: #fff; max-width: none; }
.mover-done a { font-weight: 500; }
@media (max-width: 47.99em) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr 1.35fr; }
  .tab { padding: 0.6rem 0.7rem; text-align: left; font-size: 1rem; line-height: 1.3; }
  .tab-amt { display: block; font-weight: 400; }
}
@media (max-width: 47.99em) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr 1.35fr; }
  .tab { padding: 0.6rem 0.7rem; text-align: left; font-size: 1rem; line-height: 1.3; }
  .tab-amt { display: block; font-weight: 400; }
}
@media (max-width: 63.99em) {
  .move-top .head, .move-lead { grid-column: 1 / -1; }
  .line { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name amt" "bar step"; row-gap: 0.7rem; column-gap: 1rem; }
  .line-name { grid-area: name; } .line-amt { grid-area: amt; } .line-bar { grid-area: bar; } .stepper, .locked-tag { grid-area: step; }
}

/* ---------- 6. council ---------- */
.council { padding-block: var(--section); }
.council-open { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: end; padding-bottom: calc(var(--section) / 2); }
.council-open .head { grid-column: 1 / span 7; }
.council-say { grid-column: 7 / span 6; } .council-say .lead { max-width: 40ch; } .council-say p + p { margin-top: 1rem; max-width: 44ch; }
.crow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: start; }
.crow + .crow { margin-top: clamp(4rem, 8vw, 7.5rem); }
.crow-text { grid-column: 2 / span 4; }
.crow-title { font-size: var(--step-lead); line-height: 1.05; letter-spacing: -0.035em; }
.crow-text p { margin-top: 1rem; max-width: 34ch; color: #fff; }
.panel { background: var(--paper); color: var(--ink); padding: 1.25rem; }
.panel-a { grid-column: 7 / span 6; }
.panel-b { grid-column: 8 / span 5; }
.panel-c { grid-column: 7 / span 6; }
.panel-d { grid-column: 8 / span 4; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.panel-head h3 { font-size: var(--step-body); font-weight: 500; }
.panel-head span { font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sample { display: inline-block; padding: 0.1rem 0.5rem; background: var(--tint-2); color: var(--ink); font-size: 1rem; }

.rank { display: grid; gap: 0.5rem; }
.rank-row { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 4.2rem; align-items: center; column-gap: 0.75rem; font-size: 1rem; }
.rank-row .nm { line-height: 1.3; }
.rank-track { position: relative; height: 1.1rem; background: var(--tint); }
.rank-track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); margin-left: -1px; }
.rank-fill { position: absolute; top: 0; bottom: 0; transition: width 500ms var(--ease-out), left 500ms var(--ease-out); }
.rank-fill.up { left: 50%; background: var(--accent); }
.rank-fill.down { right: 50%; background: var(--navy); }
.rank-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.rank-key { display: flex; justify-content: space-between; margin: 0.75rem 4.95rem 0 10.25rem; font-size: 1rem; color: var(--muted); }

.swap { display: grid; gap: 4px; }
.swap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1rem; padding: 0.8rem 0.9rem; background: var(--tint); font-size: 1rem; line-height: 1.3; }
.swap-row b { font-weight: 500; }
.swap-row .to { display: block; }
.swap-row .pct { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.ward { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ward th { text-align: left; font-weight: 400; color: var(--muted); font-size: 1rem; padding: 0 0.6rem 0.5rem 0; }
.ward td { padding: 0.65rem 0.6rem 0.65rem 0; vertical-align: top; line-height: 1.3; border-top: 4px solid var(--paper); background: var(--tint); }
.ward td:first-child { padding-left: 0.8rem; font-weight: 500; }
.ward td:last-child, .ward th:last-child { text-align: right; padding-right: 0.8rem; font-variant-numeric: tabular-nums; }

.who { display: grid; gap: 0.9rem; }
.who-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; column-gap: 0.75rem; font-size: 1rem; }
.who-bars { display: grid; gap: 2px; }
.who-bar { height: 0.7rem; }
.who-bar.ans { background: var(--accent); }
.who-bar.pop { background: var(--navy); }
.who-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1rem; font-size: 1rem; }
.who-key i { display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.4rem; vertical-align: -0.05rem; }
.panel-foot { margin-top: 1rem; font-size: 1rem; color: var(--muted); }
@media (max-width: 63.99em) {
  .council-open .head, .council-say, .crow-text { grid-column: 1 / -1; }
  .panel-a, .panel-c { grid-column: 1 / -1; }
  .panel-b { grid-column: 3 / -1; }
  .panel-d { grid-column: 1 / span 9; }
}
@media (max-width: 47.99em) {
  .panel-b, .panel-d { grid-column: 1 / -1; }
  .panel { padding: 1rem 0.85rem; }
  .rank-row { grid-template-columns: minmax(0, 6.6rem) minmax(0, 1fr) 3.6rem; column-gap: 0.5rem; font-size: 1rem; }
  .rank-key { margin: 0.75rem 4.1rem 0 7.1rem; }
}

/* ---------- 7. proof ---------- */
.proof { padding-block: var(--section); }
.names { max-width: 30ch; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; color: #77717f; text-wrap: balance; }
.names .lit-lead { color: var(--ink); }
.names .name { transition: color 400ms ease; }
.names .name.lit { color: var(--ink); }
.proof .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.names { grid-column: 1 / -1; max-width: 66ch; }
html:not(.js) .names .name { color: var(--ink); }

/* ---------- 8. kept honest ---------- */
.honest { padding-block: var(--section); }
.honest-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.honest-grid .head { grid-column: 1 / span 5; position: sticky; top: calc(var(--bar-h) + 2rem); }
.rules { grid-column: 7 / span 6; display: grid; gap: 2.5rem; }
.rules h3 { font-size: var(--step-lead); letter-spacing: -0.025em; line-height: 1.15; }
.rules p { margin-top: 0.5rem; max-width: 44ch; }
@media (max-width: 63.99em) {
  .honest-grid .head, .rules { grid-column: 1 / -1; position: static; }
}

/* ---------- 9. question at both edges ---------- */
.ask { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--bar-h) + 1rem) var(--margin) 1.5rem; text-align: center; }
.ask-q { display: contents; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.055em; }
.ask-q span { display: block; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.055em; font-weight: 500; }
.ask-l1 { grid-row: 1; }
.ask-l2 { grid-row: 3; }
.ask-mid { grid-row: 2; align-self: center; padding-block: 2.5rem; }
.ask-buttons { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
.ask-buttons .button { min-width: 13.5rem; min-height: 3.5rem; }
.ask-or { color: var(--plum-soft); }
.ask-note { margin: 1rem auto 0; color: var(--plum-soft); }
@media (max-width: 47.99em) {
  .ask-buttons { flex-direction: column; gap: 0.75rem; }
  .ask-buttons .button { width: 72%; }
}

/* ---------- 10. footer ---------- */
.foot { position: relative; overflow: hidden; padding-top: var(--section); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.foot-invite { grid-column: 1 / span 6; }
.foot-invite .button { margin-top: 2rem; }
.foot-sources { grid-column: 8 / span 5; }
.foot-sources h3 { font-size: var(--step-body); }
.foot-sources li { text-wrap: balance; }
.foot-sources ul { margin-top: 0.75rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 1rem; line-height: 1.35; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; margin-top: calc(var(--section) / 2); font-size: var(--step-small); max-width: none; }
.foot-name { font-size: 27vw; line-height: 0.8; letter-spacing: -0.06em; font-weight: 500; white-space: nowrap; margin: 0.5rem 0 -0.19em calc(var(--margin) - 0.04em); color: var(--plum); user-select: none; }
@media (max-width: 63.99em) {
  .foot-invite, .foot-sources { grid-column: 1 / -1; }
  .foot-name { font-size: 34vw; }
}

/* ---------- tooltip for the bar ---------- */
.tip { position: fixed; z-index: 40; max-width: 18rem; padding: 0.6rem 0.8rem; background: var(--ink); color: #fff; font-size: 1rem; line-height: 1.3; pointer-events: none; }

/* ---------- entrances (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(28px); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { transform: none; }
  .js .hero-title { animation: fade 900ms var(--ease-out) both; }
  .js .hero-lead { animation: fade 900ms var(--ease-out) 350ms both; }
  .lrow .whole, .lrow .dec { transition: opacity 300ms ease; }
}
@keyframes fade { from { opacity: 0; } }
