:root {
  --paper: #fbf5ec;
  --paper-2: #f5ecdf;
  --card: #ffffff;
  --ink: #17130f;
  --muted: #6b6259;
  --line: #eadfcf;
  --good: #1f8a4c;
  --bad: #d23a2c;
  --sun: #f2b200;
  --accent: #e8553a;
  --accent-deep: #b8361f;
  --accent-soft: #fde4dc;
  --on-accent: #ffffff;
  --radius: 22px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(23, 19, 15, 0.05), 0 8px 28px rgba(23, 19, 15, 0.07);
  --gutter: 16px;
  color-scheme: light;
}
[data-tip="1"] { --accent: #e8553a; --accent-deep: #b23519; --accent-soft: #fde4dc; --on-accent: #fff; }
[data-tip="2"] { --accent: #0e9c8e; --accent-deep: #087368; --accent-soft: #d5f2ee; --on-accent: #fff; }
[data-tip="3"] { --accent: #f2b200; --accent-deep: #8a6300; --accent-soft: #fdf0c4; --on-accent: #17130f; }
[data-tip="4"] { --accent: #d2336b; --accent-deep: #a8184d; --accent-soft: #fbdbe6; --on-accent: #fff; }
[data-tip="5"] { --accent: #6c4ae0; --accent-deep: #5133b8; --accent-soft: #e6e0fb; --on-accent: #fff; }
[data-tip="6"] { --accent: #2e9b4f; --accent-deep: #1d7038; --accent-soft: #daf1e1; --on-accent: #fff; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding-top: env(safe-area-inset-top);
}
.top.scrolled { border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { height: 26px; width: auto; mix-blend-mode: multiply; }
.brand span { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.dots { margin-left: auto; display: flex; gap: 6px; }
.dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px var(--sans); text-decoration: none; border: 2px solid var(--line); color: var(--muted);
  position: relative;
}
.dot::after { content: ""; position: absolute; inset: -5px; } /* 44 px to press */
.dot.open { border-color: var(--c); color: var(--ink); }
.dot.here { background: var(--c); border-color: var(--c); color: var(--on-c, #fff); }
.dot.shut { opacity: 0.45; }
@media (max-width: 520px) { .dots { display: none; } }

/* Home */
.hero { padding: 40px 0 24px; text-align: center; }
.hero-logo { height: 84px; width: auto; mix-blend-mode: multiply; margin: 0 auto 18px; display: block; }
.kicker { font: 700 13px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(40px, 8vw, 76px); margin: 10px 0 14px; }
.hero h1 em { font-style: normal; color: #e8553a; }
.hero p { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 30ch; margin: 0 auto; }
.confetti { display: flex; justify-content: center; gap: 8px; margin: 22px 0 0; }
.confetti i { width: 12px; height: 12px; border-radius: 50%; display: block; animation: bob 2.4s ease-in-out infinite; }
.confetti i:nth-child(2) { animation-delay: 0.15s; } .confetti i:nth-child(3) { animation-delay: 0.3s; }
.confetti i:nth-child(4) { animation-delay: 0.45s; } .confetti i:nth-child(5) { animation-delay: 0.6s; } .confetti i:nth-child(6) { animation-delay: 0.75s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.tips { display: grid; gap: 14px; padding: 18px 0 56px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tips { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1040px) { .tips { grid-template-columns: 1fr 1fr 1fr; } }
.tip-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 176px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
}
.tip-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.tip-card.open:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 16px 40px rgba(23,19,15,.12); }
.tip-card .n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 20px var(--serif); }
.tip-card h3 { font-size: 24px; }
.tip-card p { color: var(--muted); font-size: 16px; }
.tip-card .go { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--accent-deep); }
.tip-card.shut { background: var(--paper-2); box-shadow: none; }
.tip-card.shut::before { background: var(--line); }
.tip-card.shut .n { background: var(--line); color: var(--muted); }
.tip-card.shut h3, .tip-card.shut p { color: var(--muted); }
.tip-card.next { outline: 2px dashed var(--line); outline-offset: -2px; }
.badge { align-self: flex-start; font: 700 13px var(--sans); letter-spacing: 0.04em; padding: 4px 10px; border-radius: 99px; background: var(--card); color: var(--muted); }
.home-foot { text-align: center; color: var(--muted); font-size: 14px; padding: 0 0 48px; }

/* A tip */
.tip-hero { padding: 34px 0 12px; display: grid; gap: 14px; }
.tip-hero .n {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font: 700 30px var(--serif);
  animation: pop 0.6s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.tip-hero h1 { font-size: clamp(38px, 7vw, 72px); max-width: 16ch; }
.tip-hero .idea { font-size: clamp(19px, 2.6vw, 26px); color: var(--muted); max-width: 34ch; }
.tip-hero .idea b { color: var(--ink); font-weight: 700; }

.block { padding: 36px 0; display: grid; gap: 20px; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }
.block h2 { font-size: clamp(26px, 3.6vw, 38px); }
.block .lead { margin-top: 10px; font-size: 18px; color: var(--muted); max-width: 42ch; }
.block .lead b { color: var(--ink); }
@media (min-width: 960px) {
  .block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 56px 0; }
  .block-text { position: sticky; top: 92px; }
  .block.wide { grid-template-columns: 1fr; }
}

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 18px; }
@media (min-width: 700px) { .panel { padding: 28px; } }
.panel + .panel { margin-top: 14px; }
.panel-title { font: 700 13px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Fields */
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field-label { font-size: 15px; font-weight: 500; color: var(--muted); }
.field-hint { font-size: 14px; color: var(--muted); }
.money {
  display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 16px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.money:focus-within { border-color: var(--accent); background: #fff; }
.money-r { font-weight: 700; color: var(--muted); font-size: 20px; }
.money input { border: 0; background: none; outline: none; width: 100%; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 0; }
.money input::placeholder { color: #c4b8a8; }
.rate { display: inline-flex; align-items: center; gap: 4px; height: 48px; padding: 0 12px; background: var(--paper); border: 2px solid var(--line); border-radius: 12px; }
.rate:focus-within { border-color: var(--accent); background: #fff; }
.rate input { border: 0; background: none; outline: none; width: 56px; font-size: 18px; font-weight: 700; text-align: right; -moz-appearance: textfield; }
.rate input::-webkit-outer-spin-button, .rate input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rate span { color: var(--muted); font-weight: 700; }

.slider { display: grid; gap: 8px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slider-value { font: 700 22px var(--sans); font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; touch-action: pan-y;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 99px;
  background: linear-gradient(to right, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 10px; border-radius: 99px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line); background: var(--card);
  font-weight: 700; font-size: 15px; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { width: 50px; height: 30px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background 0.2s; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.toggle input:checked + .toggle-track { background: var(--accent); }
.toggle input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn {
  min-height: 52px; padding: 0 24px; border-radius: 99px; border: 0; background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.12s, filter 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--accent-deep); border: 2px solid var(--accent); }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 18px; }
.link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--accent-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Numbers */
.num { font-variant-numeric: tabular-nums; }
.big { font: 700 clamp(44px, 8vw, 72px)/1 var(--serif); letter-spacing: -0.02em; color: var(--accent-deep); }
.mid { font: 700 clamp(28px, 4.6vw, 40px)/1.05 var(--serif); }
.stat { display: grid; gap: 6px; }
.stat-label { font-size: 15px; color: var(--muted); }
.stats { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.say { font-size: 18px; }
.say b { font-weight: 700; }
.note { font-size: 14px; color: var(--muted); }
.good { color: var(--good); }
.bad { color: var(--bad); }

/* Bars */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; gap: 6px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.bar-head span:first-child { font-weight: 500; }
.bar { height: 22px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent); transition: width 0.8s cubic-bezier(.2,.8,.2,1); }
.bar.thick { height: 40px; border-radius: 12px; }
.bar.thick i { border-radius: 12px; }

/* The split bar: one amount cut into its parts */
.split { display: flex; height: 64px; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.split > i { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; transition: flex-grow 0.9s cubic-bezier(.2,.8,.2,1); flex: 0 0 0; min-width: 0; }
.legend { display: grid; gap: 10px; }
.legend-row { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.legend-row .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.legend-row .v { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.legend-row.total { border-top: 2px solid var(--ink); padding-top: 10px; font-weight: 700; font-size: 19px; }

/* Takeaway */
.takeaway {
  margin: 24px 0 8px; padding: 34px 26px; border-radius: 28px; background: var(--accent); color: var(--on-accent);
  display: grid; gap: 10px; text-align: center;
}
.takeaway-kicker { font: 700 13px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.takeaway p { font: 700 clamp(26px, 4.6vw, 44px)/1.15 var(--serif); max-width: 22ch; margin: 0 auto; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px 0 56px; }
.pager a, .pager span {
  display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow);
  text-decoration: none; min-height: 72px; align-content: center;
}
.pager .to { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pager .t { font-weight: 700; font-size: 16px; }
.pager .next { text-align: right; }
.pager span { background: transparent; box-shadow: none; }

/* Closed tip */
.shut-page { padding: 80px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.shut-page .n { width: 72px; height: 72px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font: 700 32px var(--serif); color: var(--muted); }
.shut-page h1 { font-size: clamp(32px, 6vw, 56px); }
.shut-page p { color: var(--muted); font-size: 19px; max-width: 30ch; }

/* Tip 1: the debt line-up */
.debts { display: grid; gap: 10px; }
.debt-in { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: end; padding: 14px; border-radius: 16px; background: var(--paper); }
.debt-in .name { grid-column: 1 / -1; font-weight: 700; font-size: 16px; }
.debt-in .money { background: #fff; }
.lineup { display: grid; gap: 10px; position: relative; }
.lineup-row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: var(--paper); transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.lineup-row .rank { width: 40px; height: 40px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 700; grid-row: span 2; }
.lineup-row.first { background: var(--accent-soft); }
.lineup-row.first .rank { background: var(--accent); color: var(--on-accent); }
.lineup-row .what { font-weight: 700; }
.lineup-row .cost { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.lineup-row .sub { font-size: 14px; color: var(--muted); grid-column: 2 / -1; }
.first-tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); vertical-align: 2px; }
.empty { padding: 22px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }

/* Timelines (tip 1) */
.timeline { display: grid; gap: 14px; }
.tl { display: grid; gap: 6px; }
.tl-bar { height: 36px; border-radius: 10px; background: var(--paper-2); position: relative; overflow: hidden; }
.tl-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--line); border-radius: 10px; transition: width 0.9s cubic-bezier(.2,.8,.2,1); }
.tl.new .tl-bar i { background: var(--accent); }
.tl-head { display: flex; justify-content: space-between; font-weight: 700; gap: 10px; }
.tl-head span:first-child { font-weight: 500; color: var(--muted); }

/* Charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font: 500 13px var(--sans); fill: var(--muted); }
.chart path, .chart rect { transition: d 0.6s cubic-bezier(.2,.8,.2,1); }

/* Allowance meter (tip 2) */
.meter { height: 16px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 0.6s cubic-bezier(.2,.8,.2,1), background 0.2s; }
.meter.over i { background: var(--bad); }
.rules { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.rule { padding: 16px; border-radius: 16px; background: var(--accent-soft); display: grid; gap: 4px; align-content: start; }
.rule b { font: 700 24px/1.1 var(--serif); color: var(--accent-deep); }
.rule span { font-size: 15px; }

/* Box animation (tip 2) */
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.box { border-radius: 18px; padding: 14px; background: var(--paper); display: grid; gap: 10px; justify-items: center; text-align: center; }
.box-name { font-weight: 700; font-size: 15px; }
.jar { width: 100%; max-width: 150px; aspect-ratio: 3 / 4; border-radius: 14px 14px 22px 22px; border: 3px solid var(--ink); position: relative; overflow: hidden; background: #fff; }
.jar .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--accent); transition: height 1.6s cubic-bezier(.3,.7,.3,1); }
.jar .taken { position: absolute; left: 0; right: 0; height: 0; background: repeating-linear-gradient(45deg, var(--bad), var(--bad) 6px, #e86a5e 6px, #e86a5e 12px); transition: height 1s ease 1.4s, bottom 1.6s cubic-bezier(.3,.7,.3,1); }
.jar-sars { position: absolute; top: 8px; right: 8px; font: 700 12px var(--sans); color: #fff; background: var(--bad); padding: 2px 6px; border-radius: 6px; opacity: 0; transition: opacity 0.4s ease 2.2s; }
.box.played .jar-sars { opacity: 1; }
.box-say { font-size: 14px; color: var(--muted); }

/* Payslip (tip 3) */
.slip { border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; font-size: 16px; }
.slip-head { background: #e2e2e2; text-align: center; font-weight: 700; padding: 8px; }
.slip-row { display: flex; justify-content: space-between; padding: 8px 14px; transition: background 0.4s; }
.slip-row.hot { background: var(--accent-soft); font-weight: 700; }
.slip-row.total { border-top: 2px solid #c9ccd6; font-weight: 700; }
.slip-row .v { font-variant-numeric: tabular-nums; }

.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 220px; }
.mo { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.mo-track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.mo-bar { width: 100%; border-radius: 10px 10px 4px 4px; background: var(--line); position: relative; overflow: hidden; transition: height 0.8s cubic-bezier(.2,.8,.2,1); }
.mo-bar i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--accent); transition: height 0.8s cubic-bezier(.2,.8,.2,1); }
.mo span { font-size: 13px; color: var(--muted); font-weight: 700; }
.mo b { font-size: 13px; font-variant-numeric: tabular-nums; }

.where { display: grid; gap: 10px; }
@media (min-width: 560px) { .where { grid-template-columns: repeat(3, 1fr); } }
.where-card { padding: 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.where-card h3 { font-size: 20px; }
.where-card p { font-size: 15px; color: var(--muted); }
.where-card .plus { font-weight: 700; color: var(--accent-deep); font-size: 15px; }

.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.safety .jar { max-width: none; aspect-ratio: 4 / 5; }
.safety .jar .fill { transition: height 0.8s cubic-bezier(.2,.8,.2,1); }
.safety-label { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; }

/* Tip 4: what counts, the crowd, the stadium */
.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .counts { grid-template-columns: repeat(3, 1fr); } }
.count-card { padding: 16px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 6px; justify-items: start; opacity: 0; transform: scale(0.9); transition: opacity 0.4s, transform 0.5s cubic-bezier(.2,1.4,.4,1); }
.in .count-card { opacity: 1; transform: none; }
.count-card .ic { font-size: 28px; line-height: 1; }
.count-card b { font-size: 16px; }
.count-card span { font-size: 14px; color: var(--muted); }

.crowd { display: grid; grid-template-columns: repeat(40, 1fr); gap: 2px; }
.crowd i { aspect-ratio: 1; border-radius: 50%; background: var(--line); transition: background 0.35s; }
.crowd i.up { background: var(--good); }
.crowd i.down { background: var(--accent); }
.crowd-key { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.crowd-key span { display: inline-flex; align-items: center; gap: 6px; }
.crowd-key i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.stadiums { display: grid; grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 4px; }
.stadiums i { aspect-ratio: 1.4; border-radius: 40%; background: var(--line); opacity: 0; transform: scale(0.3); transition: opacity 0.3s, transform 0.4s cubic-bezier(.2,1.4,.4,1); }
.stadiums.go i { opacity: 1; transform: none; }
.stadiums i.you { background: var(--accent); }

.facts { display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.fact .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 22px; }
.fact p { font-size: 17px; }
.fact p b { display: block; font-size: 18px; }

/* Tip 5: the asks */
.purse { display: grid; gap: 8px; }
.ask-stage { position: relative; min-height: 240px; display: grid; }
.ask {
  grid-area: 1 / 1; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s; align-content: start;
}
.ask.gone-yes { transform: translateX(60%) rotate(8deg); opacity: 0; pointer-events: none; }
.ask.gone-no { transform: translateX(-60%) rotate(-8deg); opacity: 0; pointer-events: none; }
.ask.wait { transform: translateY(14px) scale(0.95); opacity: 0.6; pointer-events: none; z-index: -1; }
.ask .who { display: flex; align-items: center; gap: 12px; }
.ask .face { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
.ask .who b { font-size: 18px; display: block; }
.ask .who span { color: var(--muted); font-size: 15px; }
.ask .amt { font: 700 34px var(--serif); }
.ask .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask.child { background: var(--accent-soft); }
.ask .cant { color: var(--bad); font-weight: 700; }
.given { display: grid; gap: 6px; }
.given-row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.given-row.no { color: var(--muted); text-decoration: line-through; }

/* Tip 6: notes falling into piles */
.cash { display: grid; gap: 14px; }
.piles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; min-height: 210px; }
.pile { display: grid; justify-items: center; gap: 6px; align-content: end; height: 100%; }
.pile-stack { width: 100%; max-width: 120px; display: flex; flex-direction: column-reverse; gap: 3px; min-height: 8px; }
.note-r { height: 10px; border-radius: 3px; background: var(--c); animation: drop 0.45s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes drop { from { transform: translateY(-60px) rotate(-6deg); opacity: 0; } }
.pile-name { font-weight: 700; font-size: 15px; text-align: center; }
.pile-v { font: 700 22px var(--serif); font-variant-numeric: tabular-nums; }
.flip { display: grid; gap: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* A laptop shared on a webinar: everything a little larger */
@media (min-width: 1280px) {
  body { font-size: 19px; }
  .block .lead { font-size: 21px; }
  .say { font-size: 20px; }
}
