/* Hallmark · redesign v2 "the page plays" · genre: playful-editorial · theme: custom (Giftwrap, locked tokens)
 * macrostructure: stage-first (lyric-video hero = same look as the ads) → proof-by-process → rail → short FAQ → repeat CTA
 * form: one question per screen, gift-tag ticket builds as you answer · wait: lyrics appear while it records
 * pre-emit critique: P5 H5 E4 S5 R4 V5
 */

/* ── page chrome ───────────────────────────────────────────────────────── */
.bar-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
.bar-top .wordmark { font-size: var(--text-md); min-height: 44px; }
.bar-top .wordmark svg { width: 20px; height: 20px; }
.bar-top .price-chip { font-size: var(--text-xs); color: var(--color-ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero2 { padding-block: var(--space-2) var(--space-12); display: grid; gap: var(--space-4); }
.hero2 h1 { font-size: var(--text-hero); font-weight: 650; line-height: 1.04; letter-spacing: -0.022em; max-width: 16ch; }
.hero2 h1 .nm { color: var(--color-accent); }
@media (min-width: 56rem) {
  .hero2 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "h stage" "form stage"; align-items: start; column-gap: var(--space-16); padding-top: var(--space-10); }
  .hero2 h1 { grid-area: h; align-self: end; }
  .hero2 .stage { grid-area: stage; }
  .hero2 .nameform { grid-area: form; }
}

/* ── the stage: a lyric video you can play ─────────────────────────────── */
.stage {
  position: relative; display: grid; gap: var(--space-2);
  padding: var(--space-3) var(--space-4) var(--space-4);
  background: var(--color-stage); border: 1px solid var(--color-rule); border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 var(--color-rule), 0 18px 40px -26px var(--color-shadow);
  overflow: hidden; isolation: isolate;
}
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 32px; }
.pill { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; padding: 4px var(--space-3); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-xs); color: var(--color-muted); line-height: 1.3; }
.pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); flex: none; opacity: 0.45; }
.stage.is-playing .rec, .show .rec { opacity: 1; animation: rec 1.2s var(--ease-in-out) infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
.motion-btn { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--color-muted); cursor: pointer; }
.motion-btn svg { width: 16px; height: 16px; }
@media (hover: hover) { .motion-btn:hover { background: var(--color-paper-2); color: var(--color-ink); } }
.motion-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }

.lyric { display: grid; align-content: center; gap: var(--space-2); height: 9.75rem; text-align: center; font-family: var(--font-display); }
.ln { margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.ln-prev, .ln-next { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); line-height: 1.35; min-height: 1.35em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ln-now { font-size: var(--text-lyric); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--color-muted); min-height: 2.16em; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; column-gap: 0.26em; }
.ln-now.enter { animation: line-in var(--dur-med) var(--ease-out); }
@keyframes line-in { from { opacity: 0; transform: translateY(0.4em); } }
.w { display: inline-block; transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.w.on { color: var(--color-ink); }
.w.cur { transform: translateY(-0.06em); }
.w.nm { color: var(--color-accent); }
.w.nm.on { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; }
.ln-now.static .w { color: var(--color-ink); }
.ln-now.static .w.nm { color: var(--color-accent); }
/* their name being "sung" in, letter by letter */
.sing { display: inline-block; animation: sing 520ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes sing { 0% { transform: translateY(0.45em) scale(0.85); opacity: 0; } 60% { transform: translateY(-0.12em); opacity: 1; } 100% { transform: none; } }

.bars { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; }
.bars i { display: block; width: 5px; height: 100%; border-radius: 3px; background: var(--color-bar); transform: scaleY(0.12); transform-origin: center; will-change: transform; }
.bars i:nth-child(3n+1) { background: var(--color-accent); }
.bars.idle i { animation: bar 1.15s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--d) * -1s); }
.bars.burst i { animation: burst 600ms var(--ease-out) both; animation-delay: calc(var(--d) * 0.12s); }
@keyframes bar { from { transform: scaleY(0.12); } to { transform: scaleY(var(--h, 0.6)); } }
@keyframes burst { 0% { transform: scaleY(0.15); } 35% { transform: scaleY(var(--h, 0.8)); } 100% { transform: scaleY(0.18); } }

.stage-ctrl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.stage .play { width: 52px; height: 52px; }
.picks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--color-paper-2); }
.picks button { min-height: 40px; min-width: 0; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.picks button[aria-pressed="true"] { background: var(--color-paper); color: var(--color-ink); box-shadow: 0 1px 2px var(--color-shadow); }
@media (hover: hover) { .picks button:hover { color: var(--color-ink); } }
.picks button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.stage-cap { font-size: var(--text-xs); color: var(--color-muted); text-align: center; min-height: 1.3em; }

/* ── "For ___" name form ───────────────────────────────────────────────── */
.nameform { display: grid; gap: var(--space-3); }
.forline { display: flex; align-items: center; min-height: 60px; border: 1.5px solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); padding-left: var(--space-4); transition: box-shadow var(--dur-short) var(--ease-out); }
.forline:focus-within { box-shadow: 0 0 0 3px var(--color-accent-tint); border-color: var(--color-accent); }
.forline label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--color-muted); padding-right: var(--space-2); }
.forline input { flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; color: var(--color-ink); font: 650 var(--text-lg)/1 var(--font-display); letter-spacing: -0.01em; padding: 0 var(--space-4) 0 0; outline: none; }
.forline input::placeholder { color: var(--color-muted); opacity: 1; font-weight: 500; }
.btn-xl { min-height: 58px; font-size: var(--text-md); width: 100%; border-radius: var(--radius-md); }
.btn-xl .arrow { transition: transform var(--dur-short) var(--ease-out); }
@media (hover: hover) { .btn-xl:hover .arrow { transform: translateX(3px); } }
.terms-line { font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; font-variant-numeric: tabular-nums; }
.terms-line b { font-weight: 600; color: var(--color-ink); }

/* ── proof by process: three true things → a chorus ────────────────────── */
.proc { padding-block: var(--space-16); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-8); }
.proc h2, .rail-sec h2, .faq2 h2 { font-size: var(--text-xl); max-width: 20ch; }
.proc-grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 56rem) { .proc-grid { grid-template-columns: minmax(0, 5fr) auto minmax(0, 6fr); gap: var(--space-8); } }
.typed { display: grid; gap: var(--space-2); }
.typed .k { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); letter-spacing: 0.02em; }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-sm); line-height: 1.35; }
.chip b { font-weight: 600; }
.chip.hl { border-color: var(--color-accent); background: var(--color-accent-tint); }
.proc .arrow-down { justify-self: center; color: var(--color-accent); }
.proc .arrow-down svg { width: 28px; height: 28px; }
@media (min-width: 56rem) { .proc .arrow-down { transform: rotate(-90deg); } }
.proc .out { margin: 0; padding: var(--space-6); background: var(--color-stage); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; }
.proc .out p + p { margin-top: var(--space-1); }
.proc .out mark { background: var(--color-accent-tint); color: inherit; padding: 0 0.12em; border-radius: 3px; }
.proc .out .nm { color: var(--color-accent); font-weight: 700; }
.proc .out figcaption { margin-top: var(--space-4); font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); }
.reveal > * { transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .reveal:not(.in) > * { opacity: 0; transform: translateY(12px); }
.reveal.in > *:nth-child(2) { transition-delay: 120ms; } .reveal.in > *:nth-child(3) { transition-delay: 240ms; } .reveal.in > *:nth-child(4) { transition-delay: 360ms; } .reveal.in > *:nth-child(5) { transition-delay: 480ms; }

/* three facts strip */
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.trio li { display: grid; gap: 2px; align-content: start; padding: var(--space-4) var(--space-3); border-radius: var(--radius-md); background: var(--color-paper-2); text-align: center; }
.trio b { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; font-weight: 650; font-variant-numeric: lining-nums; }
.trio span { font-size: var(--text-xs); color: var(--color-ink-2); line-height: 1.35; }

/* ── rail of more examples ─────────────────────────────────────────────── */
.rail-sec { padding-block: var(--space-16); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-6); }
.rail-sec .sub { color: var(--color-ink-2); margin-top: var(--space-2); max-width: 48ch; }
.rail { list-style: none; margin-block: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-1) var(--page-gutter) var(--space-4); margin-inline: calc(var(--page-gutter) * -1); scrollbar-width: thin; overscroll-behavior-x: contain; }
@media (min-width: 40rem) { .rail { grid-auto-columns: minmax(260px, 44%); } }
@media (min-width: 64rem) { .rail { grid-auto-columns: minmax(260px, 30%); } }
.rail > .ex { scroll-snap-align: start; }
.ex { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3) var(--space-4); align-content: start; padding: var(--space-5); background: var(--color-stage); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); min-height: 210px; }
.ex .who { font-size: var(--text-xs); color: var(--color-muted); }
.ex h3 { font-size: var(--text-lg); line-height: 1.2; }
.ex .line { grid-column: 1 / -1; font-family: var(--font-display); font-size: var(--text-md); line-height: 1.35; color: var(--color-ink-2); }
.ex .line .nm { color: var(--color-accent); font-weight: 650; }
.ex .bar { grid-column: 1 / -1; align-self: end; }
.ex.sk { background: var(--color-paper-2); }

/* ── short FAQ ─────────────────────────────────────────────────────────── */
.faq2 { padding-block: var(--space-16); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-6); }
.faq2 details { border-top: 1px solid var(--color-rule); }
.faq2 details:last-child { border-bottom: 1px solid var(--color-rule); }
.faq2 summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 60px; padding-block: var(--space-3); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--color-accent); flex: none; transition: transform var(--dur-short) var(--ease-out); }
.faq2 details[open] summary::after { transform: rotate(45deg); }
.faq2 summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq2 details p { padding-bottom: var(--space-5); color: var(--color-ink-2); max-width: 60ch; }
.faq2 details p a { font-weight: 500; }

.close2 { padding-block: var(--space-16) var(--space-20); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-5); }
.close2 h2 { font-size: var(--text-hero); max-width: 14ch; }
@media (min-width: 56rem) { .close2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: var(--space-16); } }

/* ── stepper (one question per screen) ─────────────────────────────────── */
.stepper { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 100svh; max-width: 40rem; margin-inline: auto; padding-inline: var(--page-gutter); padding-bottom: var(--space-12); }
.stepbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding-block: var(--space-3); position: sticky; top: 0; z-index: var(--z-raised); background: var(--color-paper); }
.back { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; }
.back svg { width: 22px; height: 22px; }
.back[hidden] { display: grid; visibility: hidden; }
@media (hover: hover) { .back:hover { background: var(--color-paper-2); } }
.back:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.track { height: 6px; border-radius: var(--radius-pill); background: var(--color-paper-3); overflow: hidden; }
.track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--color-accent); transition: width var(--dur-long) var(--ease-out); }
.count { font-size: var(--text-xs); color: var(--color-muted); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }

.ticket { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-2); margin-block: var(--space-1) var(--space-5); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-8); background: var(--color-paper-2); border: 1px solid var(--color-rule); clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px), 0 16px); border-radius: 0 var(--radius-md) var(--radius-md) 0; min-height: 52px; }
.ticket::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-rule-2); }
.ticket .t-title { font-family: var(--font-display); font-weight: 650; font-size: var(--text-md); margin-right: var(--space-1); }
.ticket .t-title .nm { color: var(--color-accent); }
.ticket .t-chip { font-size: var(--text-xs); padding: 3px var(--space-2); border-radius: var(--radius-pill); background: var(--color-paper); border: 1px solid var(--color-rule); color: var(--color-ink-2); white-space: nowrap; animation: pop var(--dur-med) var(--ease-out); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

.step { display: grid; align-content: start; gap: var(--space-5); }
.step[hidden] { display: none; }
.step.fwd { animation: from-right var(--dur-med) var(--ease-out); }
.step.bwd { animation: from-left var(--dur-med) var(--ease-out); }
@keyframes from-right { from { opacity: 0; transform: translateX(28px); } }
@keyframes from-left { from { opacity: 0; transform: translateX(-28px); } }
.step h2 { font-size: var(--text-xl); line-height: 1.12; max-width: 20ch; }
.step h2 .nm { color: var(--color-accent); }
.step h2:focus { outline: none; }
.step .help { color: var(--color-ink-2); margin-top: calc(var(--space-3) * -1); max-width: 46ch; }
.big-input { display: block; width: 100%; min-height: 60px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--color-rule-2); border-radius: var(--radius-md); background: var(--color-paper); color: var(--color-ink); font: 600 var(--text-lg)/1.3 var(--font-display); -webkit-appearance: none; appearance: none; }
.big-input::placeholder { color: var(--color-muted); opacity: 1; font-weight: 500; }
.big-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-tint); }
.big-input[aria-invalid="true"] { border-color: var(--color-error); background: var(--color-error-tint); }
textarea.big-input { min-height: 5.5rem; resize: vertical; font-size: var(--text-md); line-height: 1.45; }
.sm-input { font-size: var(--text-md); min-height: 52px; font-family: var(--font-body); font-weight: 400; }
.linkish { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1.3 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--rel .opt { min-height: 50px; padding-inline: var(--space-2); text-align: center; }
.opts--rel .opt b { font-size: var(--text-sm); }
@media (min-width: 30rem) { .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--color-paper-2); }
.seg .opt { min-height: 42px; border: 0; border-radius: var(--radius-pill); background: transparent; text-align: center; padding: 0 var(--space-2); }
.seg .opt b { font-size: var(--text-sm); }
.seg .opt:has(input:checked) { background: var(--color-paper); box-shadow: 0 1px 2px var(--color-shadow); border: 0; }
.seg .opt:has(input:checked) b { color: var(--color-accent); }
/* the main action stays in reach on long screens */
.step[data-step="5"] > .btn-xl { position: sticky; bottom: calc(var(--space-3) + env(safe-area-inset-bottom)); z-index: var(--z-raised); box-shadow: 0 -10px 18px -6px var(--color-paper), 0 6px 16px -8px var(--color-shadow); }
.opt { position: relative; display: grid; align-content: center; gap: 1px; min-height: 54px; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-rule-2); border-radius: 12px; background: var(--color-paper); cursor: pointer; text-align: left; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-instant) var(--ease-out); -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt b { font-weight: 600; font-size: var(--text-md); line-height: 1.25; }
.opt small { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.3; }
.opt.top { border-color: var(--color-ink-2); }
@media (hover: hover) { .opt:hover { background: var(--color-paper-2); } }
.opt:active { transform: scale(0.98); }
.opt:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-tint); box-shadow: inset 0 0 0 1px var(--color-accent); }
.opt:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.opt .hear { position: absolute; top: 6px; right: 6px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-paper-2); color: var(--color-accent); cursor: pointer; }
.opt .hear svg { width: 12px; height: 12px; }
.opt .hear[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
.opt .hear:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.opt:has(.hear) { padding-right: 40px; }
.sub-label { font-size: var(--text-sm); font-weight: 600; margin-bottom: calc(var(--space-3) * -1); }
.err { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); font-weight: 500; }
.err:empty { min-height: 0; }
.step .btn-xl { margin-top: var(--space-2); }
.more { display: grid; gap: var(--space-3); }
.more[hidden] { display: none; }
.fine-c { font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.consent-box { display: grid; gap: var(--space-1); }

/* ── the wait is part of the show ──────────────────────────────────────── */
.show { display: grid; gap: var(--space-4); padding: var(--space-5) var(--space-5) var(--space-6); background: var(--color-stage); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: 0 1px 0 var(--color-rule), 0 18px 40px -26px var(--color-shadow); }
.show .stage-top { justify-content: flex-start; }
.show h2 { font-size: var(--text-xl); line-height: 1.15; }
.show h2 .nm { color: var(--color-accent); }
.show .meter { height: 6px; border-radius: var(--radius-pill); background: var(--color-paper-3); overflow: hidden; }
.show .meter span { display: block; height: 100%; width: 4%; background: var(--color-accent); border-radius: inherit; transition: width 1s linear; }
.show .eta { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.draft { min-height: 8.5rem; display: grid; align-content: start; gap: 2px; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; }
.draft .sec { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); margin-top: var(--space-2); }
.draft p { animation: line-in var(--dur-long) var(--ease-out) both; }
.draft .nm { color: var(--color-accent); font-weight: 700; }
.draft .ghost { height: 1em; margin-block: 0.2em; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--color-paper-2), var(--color-paper-3), var(--color-paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.stepsline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.stepsline li { font-size: var(--text-xs); line-height: 1.3; color: var(--color-muted); padding-top: var(--space-2); border-top: 3px solid var(--color-paper-3); }
.stepsline li[data-s="now"] { color: var(--color-ink); font-weight: 600; border-color: var(--color-accent); }
.stepsline li[data-s="done"] { color: var(--color-ink-2); border-color: var(--color-success); }
.ready-hero { display: grid; gap: var(--space-3); }
.ready-hero .stage { margin-top: var(--space-2); }

/* song page */
.song-head--tight { padding-block: var(--space-4) var(--space-6); }
.song-head--tight h1 { font-size: var(--text-xl); }
.ready-pop { animation: ready 600ms var(--ease-out) both; }
@keyframes ready { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.show .typed { margin-bottom: var(--space-2); }

/* ── motion off (OS setting or the stage button) ───────────────────────── */
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
.motion-off .bars i { transform: scaleY(0.3); }
@media (prefers-reduced-motion: reduce) {
  .bars.idle i, .bars.burst i { animation: none !important; transform: scaleY(0.3); }
  .sing, .ln-now.enter, .step.fwd, .step.bwd, .draft p, .ticket .t-chip, .ready-pop { animation: none !important; }
  .js .reveal:not(.in) > * { opacity: 1; transform: none; }
}
@media (max-width: 22rem) { .picks button { font-size: var(--text-xs); } .stage .play { width: 46px; height: 46px; } }

/* ── content pages (facts, occasion pages) ─────────────────────────────── */
.page2 { padding-bottom: var(--space-12); }
.page2 .doc { padding-block: var(--space-6) var(--space-10); }
.page2 h1 { font-size: var(--text-hero); font-weight: 650; line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.factsheet .quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-6) 0 var(--space-4); }
@media (min-width: 40rem) { .facts .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.factsheet .quick div { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-paper-2); }
.factsheet .quick dt { font-size: var(--text-xs); color: var(--color-muted); }
.factsheet .quick dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 650; font-size: var(--text-md); line-height: 1.25; }
.factsheet h2 { scroll-margin-top: var(--space-6); }
.factsheet ol { padding-left: var(--space-5); }
.ex-grid, .ex-one { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.occ { display: grid; gap: var(--space-6); padding-top: var(--space-6); }
.occ .answer { font-size: var(--text-lg); line-height: 1.5; color: var(--color-ink-2); max-width: 52ch; }
.occ-ex { margin: 0; display: grid; gap: var(--space-4); }
@media (min-width: 56rem) { .occ-ex { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.occ-ex .out { margin: 0; padding: var(--space-6); background: var(--color-stage); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; }
.occ-ex .out .k { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); margin-bottom: var(--space-2); }
.occ-ex .out .nm { color: var(--color-accent); font-weight: 700; }
.occ-ex figcaption { margin-top: var(--space-4); font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.occ .nameform { max-width: 32rem; }
.occ-body { padding-block: 0; }
.occ-body section + section { margin-top: var(--space-8); }
.occ-body h2 { font-size: var(--text-xl); margin-top: 0; }
.occ-body blockquote { margin: var(--space-4) 0; padding: var(--space-2) 0 var(--space-2) var(--space-5); border-left: 3px solid var(--color-accent); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink); }
.occ-body blockquote p { margin: 0; }
.occ-body blockquote p + p { margin-top: var(--space-3); }
.occ-body table { font-size: var(--text-sm); }
.table-wrap { overflow-x: auto; }
.sources ul { font-size: var(--text-sm); color: var(--color-ink-2); }
.occ-links { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--color-rule); }
.occ-links a { font-weight: 500; }
