/* ============================================================================
   Square Orange Media, Immersive Onboarding (cinematic beat runtime)
   A dark, evolving stage. One beat per screen. Orange is the light in the room.
   ========================================================================== */
:root {
  --bg: #0d0b09;
  --cream: #f4efe6;
  --cream-dim: rgba(244, 239, 230, 0.62);
  --cream-faint: rgba(244, 239, 230, 0.34);
  --orange: #ec6a11;
  --orange-light: #f4861f;
  --orange-glow: rgba(236, 106, 17, 0.55);
  --lime: #c7f046;
  --sage: #9fae74;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Schibsted Grotesk", "Hanken Grotesk", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- evolving base stage. The glow position/color is set per beat in JS ---- */
.stage-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 70% at var(--gx, 50%) var(--gy, 38%), var(--glow, rgba(236,106,17,0.30)), transparent 62%),
    radial-gradient(120% 120% at 50% 120%, #17110b, var(--bg) 70%);
  transition: background 1.15s cubic-bezier(.22,.61,.36,1);
  will-change: background;
}
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 42%, transparent 52%, rgba(0,0,0,0.55) 100%); }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 3px 3px; }

/* ---- the orange flood used during transitions ---- */
.flood { position: fixed; inset: -20%; z-index: 40; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 55%, var(--orange-light), var(--orange) 45%, var(--orange) 100%);
  will-change: opacity, transform, filter; }

.embers { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.ember { position: absolute; border-radius: 50%; filter: blur(0.3px); will-change: transform, opacity; }

/* ---- journey rail + chapter ---- */
.rail { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; background: rgba(255,255,255,0.06); }
.rail span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--orange-light));
  box-shadow: 0 0 12px var(--orange-glow); transition: width 0.9s cubic-bezier(.22,.61,.36,1); }
.chapter { position: fixed; top: 22px; left: 28px; z-index: 30; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-faint);
  transition: opacity 0.5s ease; }

/* ---- the stage where a beat renders ---- */
.stage { position: relative; z-index: 10; height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 0 clamp(24px, 8vw, 140px); max-width: 1400px; margin: 0 auto; }
.beat { width: 100%; max-width: 900px; }

/* prompt (the question, the hero of the screen) */
.prompt { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  font-size: clamp(2.4rem, 6vw, 5.4rem); color: var(--cream); text-wrap: balance; }
.prompt .caret-t { display: inline-block; width: 3px; height: 0.9em; background: var(--orange); margin-left: 4px;
  vertical-align: -0.08em; animation: blink 1s step-end infinite; box-shadow: 0 0 10px var(--orange-glow); }
@keyframes blink { 50% { opacity: 0; } }
.em { color: var(--orange-light); position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--orange), var(--orange-light) 40%, var(--lime) 70%, var(--orange-light));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent; animation: em-flow 9s ease-in-out infinite; }
@keyframes em-flow { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.em-underline { display: inline-block; height: 4px; border-radius: 4px; margin-top: 4px;
  background: linear-gradient(90deg, var(--orange), var(--lime)); transform-origin: left; }

/* open line input (name, email, url, sentence). No box, ever. */
.answer-line { margin-top: clamp(20px, 4vh, 44px); position: relative; }
.answer-line input {
  width: 100%; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(1.9rem, 5vw, 3.6rem); color: var(--cream); background: transparent; border: none; outline: none;
  padding: 2px 0; caret-color: var(--orange);
}
.answer-line input::placeholder { color: var(--cream-faint); -webkit-text-fill-color: var(--cream-faint); font-weight: 700; }
.hint { margin-top: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-faint); }
.hint kbd { font-family: var(--font-body); font-weight: 800; color: var(--cream-dim); background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 1px 7px; letter-spacing: 0; }
.hint.ready { color: var(--orange-light); }
.sub { margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 500; color: var(--cream-dim);
  line-height: 1.5; max-width: 30em; }

/* turn (statement) */
.turn-line { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(2.6rem, 7vw, 6rem); color: var(--cream); }

/* editable statement (recognition, promise) */
.statement { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.02em; line-height: 1.22;
  font-size: clamp(1.7rem, 4vw, 3rem); color: var(--cream); text-wrap: balance; }
.statement .edit {
  color: var(--orange-light); cursor: pointer; border-bottom: 2px dotted var(--orange-glow);
  transition: border-color 0.15s ease; white-space: nowrap;
}
.statement .edit:hover { border-bottom-color: var(--orange-light); }
.statement .edit.ghost { color: var(--orange); opacity: 0.72; border-bottom-style: dashed; font-style: italic; }
.statement input.inline {
  font: inherit; color: var(--orange-light); background: transparent; border: none; outline: none;
  border-bottom: 2px solid var(--orange); caret-color: var(--orange); min-width: 2ch; padding: 0;
}
.statement.quote { font-style: italic; }

.actions { margin-top: clamp(24px, 4.5vh, 48px); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn {
  font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer; color: var(--bg);
  background: var(--orange); border: none; border-radius: 99px; padding: 14px 26px;
  box-shadow: 0 10px 30px -10px var(--orange-glow); transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-light); }
.btn.ghost { background: transparent; color: var(--cream-dim); box-shadow: none; border: 1px solid rgba(255,255,255,0.16); }
.btn.ghost:hover { color: var(--cream); border-color: rgba(255,255,255,0.4); background: transparent; }

/* ignition */
.ignite { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%;
  height: 100vh; justify-content: center; }
.mark { position: relative; width: 76px; height: 76px; }
.mark .tile { position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(155deg, var(--orange-light) 0%, var(--orange) 58%, #d85f0c 100%);
  box-shadow: 0 20px 50px -12px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.mark .leaf { position: absolute; top: -6px; left: 31px; width: 24px; height: 16px; background: var(--sage);
  border-radius: 0 90% 0 90%; transform-origin: bottom left; }
.mark .stem { position: absolute; top: -14px; left: 46px; width: 5px; height: 18px; background: var(--sage);
  border-radius: 3px; transform: rotate(15deg); }
.ignite .word { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; color: var(--cream); }
.ignite .word em { font-style: normal; color: var(--orange-light); }
.ignite .sub-word { font-size: 10px; font-weight: 700; letter-spacing: 0.46em; color: var(--cream-faint); margin-top: -14px; }

/* demo badge */
.demo-badge { position: fixed; z-index: 30; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 600;
  color: var(--cream-dim); background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08);
  padding: 7px 14px; border-radius: 99px; backdrop-filter: blur(6px); pointer-events: none; }
.demo-badge .d-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  .prompt .caret-t, .em { animation: none; }
  .stage-bg { transition: none; }
}
@media (max-width: 640px) {
  .chapter { top: 16px; left: 18px; }
  .stage { padding: 0 22px; }
}

/* staged prompt: "Hello." lands on its own line, then the rest */
.prompt .pline { display: block; }
.prompt .pline:not(:first-child):empty { min-height: 0; }

/* ---- promise / look / score beats ---- */
.prompt.small { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.beat.wide { max-width: 1120px; }
.answer-line.quote textarea {
  width: 100%; font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.22; letter-spacing: -0.02em;
  color: var(--cream); background: transparent; border: none; outline: none; resize: none;
  padding: 2px 0; caret-color: var(--orange); overflow: hidden; display: block;
}
.answer-line.quote textarea::placeholder { color: var(--cream-faint); -webkit-text-fill-color: var(--cream-faint); }

/* the look (reactive site reveal) */
.look-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; margin-top: 26px; }
.look-frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8); background: #14110c; }
.look-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.07); }
.look-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.look-bar b { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--cream-dim); }
.look-shot { position: relative; aspect-ratio: 16/10; background: #0a0805; display: grid; place-items: center; overflow: hidden; }
.look-shot .shot-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.look-load { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--cream-faint); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.look-load .scan { width: 60px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--orange), transparent); animation: scanline 1.4s ease-in-out infinite; }
@keyframes scanline { 0%{transform:translateY(-30px);opacity:0;} 30%,70%{opacity:1;} 100%{transform:translateY(30px);opacity:0;} }
.look-read { padding-top: 6px; }
.read-head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; color: var(--cream); }
.read-notes { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.read-note { display: flex; gap: 11px; align-items: flex-start; }
.read-note .rn-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.read-note.strength .rn-dot { background: var(--sage); }
.read-note.opportunity .rn-dot { background: var(--orange); }
.read-note b { display: block; font-weight: 700; font-size: 15px; color: var(--cream); }
.read-note span { font-size: 13.5px; color: var(--cream-dim); line-height: 1.45; }
.read-pal { margin-top: 20px; }
.read-pal > span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); }
.read-pal > div { display: flex; gap: 8px; margin-top: 8px; }
.read-pal i { width: 28px; height: 28px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }

/* the score model */
.score-wrap { margin-top: 20px; }
.score-head { max-width: 560px; }
.score-today { font-size: 14px; color: var(--cream-dim); font-weight: 500; }
.score-today b { color: var(--cream); font-weight: 800; }
.score-big { font-family: var(--font-display); font-weight: 850; font-size: clamp(3.4rem, 8vw, 6rem); letter-spacing: -0.03em;
  color: var(--cream); line-height: 1; margin-top: 4px; transition: color 0.35s ease, text-shadow 0.35s ease; font-variant-numeric: tabular-nums; }
.score-big.goal { color: var(--lime); text-shadow: 0 0 34px rgba(199,240,70,0.45); }
.score-bar { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,0.08); margin-top: 26px; }
.s-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--lime));
  transition: width 0.7s cubic-bezier(.22,.61,.36,1); }
.s-tick { position: absolute; top: -5px; bottom: -5px; width: 2px; background: rgba(244,239,230,0.55); }
.s-tick::after { content: "goal"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); }
.score-explain { font-size: 12.5px; color: var(--cream-faint); margin-top: 15px; line-height: 1.5; max-width: 46ch; }
.score-list-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-faint); margin: 30px 0 12px; }
.score-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opp { display: flex; align-items: flex-start; gap: 13px; text-align: left; cursor: pointer; font-family: var(--font-body);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 15px 16px;
  transition: border-color 0.15s, background 0.15s, transform 0.12s; }
.opp:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-1px); }
.opp.sel { border-color: var(--orange); background: rgba(236,106,17,0.1); }
.opp-check { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255,255,255,0.2); margin-top: 2px; display: grid; place-items: center; transition: all 0.15s; }
.opp.sel .opp-check { background: var(--orange); border-color: var(--orange); }
.opp.sel .opp-check::after { content: "\2713"; color: #fff; font-size: 13px; font-weight: 800; }
.opp-body { display: flex; flex-direction: column; gap: 2px; }
.opp-area { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-light); }
.opp-title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--cream); }
.opp-detail { font-size: 12.5px; color: var(--cream-dim); line-height: 1.4; }
.opp-lift { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--lime); flex: none; }

@media (max-width: 820px) { .look-grid, .score-list { grid-template-columns: 1fr; } }

/* ---- taste ---- */
.taste-result { margin-top: 24px; }
.taste-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.taste-read { padding-top: 4px; }
.taste-attrs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tattr { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem,2vw,1.5rem); color: var(--lime);
  background: rgba(199,240,70,0.08); border: 1px solid rgba(199,240,70,0.25); border-radius: 99px; padding: 6px 16px; }
.taste-saved { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tchip { font-size: 12.5px; font-weight: 700; color: var(--cream-dim); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 99px; padding: 6px 13px; }

/* ---- plan ---- */
.plan-summary { font-family: var(--font-display); font-weight: 750; font-size: clamp(1.5rem,3.2vw,2.4rem);
  line-height: 1.25; color: var(--cream); margin-top: 18px; max-width: 22ch; }
.plan-summary b { color: var(--orange-light); }
.plan-ups { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; max-width: 640px; }
.upg { display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; font-family: var(--font-body);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 15px 18px;
  transition: border-color 0.15s, background 0.15s, transform 0.12s; }
.upg:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-1px); }
.upg.on { border-color: var(--orange); background: rgba(236,106,17,0.1); }
.upg-check { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: all 0.15s; }
.upg.on .upg-check { background: var(--orange); border-color: var(--orange); }
.upg.on .upg-check::after { content: "\2713"; color: #fff; font-size: 13px; font-weight: 800; }
.upg-body { display: flex; flex-direction: column; gap: 2px; }
.upg-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--cream); }
.upg-desc { font-size: 13px; color: var(--cream-dim); }
.upg-price { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--orange-light); }

/* ---- calendar ---- */
.cal-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: start; margin-top: 20px; }
.cal-readout { margin-top: 22px; }
.cal-date { font-family: var(--font-display); font-weight: 850; font-size: clamp(1.5rem,3vw,2.2rem); color: var(--cream); letter-spacing: -0.02em; }
.cal-when { font-size: 13px; font-weight: 700; color: var(--cream-faint); margin-top: 3px; text-transform: capitalize; }
.cal-fee { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-top: 12px; }
.cal-fee.incl { color: var(--sage); }
.cal-fee.rush { color: var(--orange-light); }
.cal-legend { display: flex; gap: 18px; margin-top: 20px; font-size: 11.5px; font-weight: 700; color: var(--cream-faint); }
.cal-legend .lg { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.cal-legend .lg.std { background: rgba(159,174,116,0.35); border: 1px solid var(--sage); }
.cal-legend .lg.rush { background: rgba(236,106,17,0.3); border: 1px solid var(--orange); }
/* what the chosen date actually is (first cut, not final), + the revision clock */
.cal-what { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--orange-light);
  margin-top: 5px; letter-spacing: 0.04em; }
.cal-rev { font-size: 12.5px; color: var(--cream-faint); margin-top: 9px; line-height: 1.45; max-width: 30em; }

/* The assets condition. Deliberately the loudest non-price element on the beat:
   the date is worthless as a promise if the footage arrives two weeks late. */
.asset-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 26px; padding: 14px 16px;
  border-radius: 14px; background: rgba(236,106,17,0.09); border: 1px solid rgba(236,106,17,0.34);
  font-size: 13.5px; line-height: 1.5; color: var(--cream-dim); max-width: 64em; }
.asset-note .an-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--orange); color: var(--bg); font-family: var(--font-display); font-weight: 850;
  font-size: 13px; display: grid; place-items: center; }

/* The same promise, restated at the point of payment. */
.inv-timing { margin-top: 16px; padding: 13px 15px; border-radius: 13px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.11); }
.inv-timing b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--cream); }
.inv-timing span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--cream-faint); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmname { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--cream); text-align: center; margin-bottom: 12px; }
.cgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cdow { text-align: center; font-size: 10px; font-weight: 800; color: var(--cream-faint); padding-bottom: 4px; }
.ccell { aspect-ratio: 1; border: none; background: transparent; border-radius: 9px; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: 13px; color: var(--cream); transition: transform 0.1s, background 0.14s; }
.ccell.empty { visibility: hidden; cursor: default; }
.ccell.off { color: rgba(255,255,255,0.15); cursor: not-allowed; }
.ccell.std { background: rgba(159,174,116,0.14); }
.ccell.std:hover { background: rgba(159,174,116,0.30); transform: translateY(-1px); }
.ccell.rush { background: rgba(236,106,17,0.14); color: var(--orange-light); }
.ccell.rush:hover { background: rgba(236,106,17,0.30); transform: translateY(-1px); }
.ccell.sel { background: var(--orange) !important; color: #fff !important; box-shadow: 0 0 18px var(--orange-glow); }

/* ---- invest ---- */
.invest { margin-top: 22px; max-width: 460px; }
.inv-total { font-family: var(--font-display); display: flex; align-items: baseline; gap: 12px; }
.inv-total span { font-weight: 850; font-size: clamp(3rem,7vw,5rem); color: var(--cream); letter-spacing: -0.03em; }
.inv-total small { font-size: 1rem; color: var(--cream-faint); font-weight: 600; }
.inv-lines { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.inv-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 14.5px; color: var(--cream-dim); }
.inv-line b { color: var(--cream); font-weight: 700; }
.inv-note { margin-top: 18px; font-size: 13.5px; color: var(--cream-dim); line-height: 1.5; }
.btn.big { margin-top: 24px; font-size: 17px; padding: 16px 34px; }

/* ---- coupon savings: the pill, the struck-through was-price, the credit line ---- */
.savings { position: fixed; z-index: 31; top: 16px; right: 20px; display: flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 99px; background: rgba(199,240,70,0.11); border: 1px solid rgba(199,240,70,0.34);
  color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  backdrop-filter: blur(8px); max-width: calc(100vw - 40px); }
.savings .s-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.savings span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-total .inv-was { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem,2.2vw,1.6rem);
  color: var(--cream-faint); text-decoration-thickness: 2px; }
.inv-line.disc, .inv-line.disc b { color: var(--lime); }
.inv-cpn-note { margin-top: 14px; padding-left: 12px; border-left: 2px solid rgba(176,130,31,0.55);
  font-size: 13px; color: var(--cream-dim); line-height: 1.5; }

@media (max-width: 860px) { .taste-grid, .cal-layout, .cal-months { grid-template-columns: 1fr; } }

/* back navigation */
.nav-back { position: fixed; bottom: 22px; left: 26px; z-index: 31; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); color: var(--cream-dim); font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.02em; padding: 8px 16px; border-radius: 99px; cursor: pointer;
  backdrop-filter: blur(6px); transition: color 0.15s, border-color 0.15s, transform 0.15s; }
.nav-back:hover { color: var(--cream); border-color: rgba(255,255,255,0.32); transform: translateX(-2px); }
/* the always-visible "next" affordance so it's never unclear how to move on */
.nav-next { position: fixed; bottom: 22px; right: 26px; z-index: 31; background: var(--orange);
  border: none; color: #1a1206; font-family: var(--font-body); font-weight: 800; letter-spacing: 0.01em;
  font-size: 14px; padding: 11px 22px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 12px 34px -12px var(--orange-glow); transition: background 0.15s, transform 0.15s, box-shadow 0.15s; }
.nav-next span { font-size: 17px; line-height: 1; margin-top: -1px; }
.nav-next:hover { background: var(--orange-light); transform: translateX(2px); box-shadow: 0 16px 40px -12px var(--orange-glow); }

/* ---- mobile pass ---- */
@media (max-width: 860px) {
  .taste-grid, .cal-layout, .cal-months, .score-list, .look-grid { grid-template-columns: 1fr; }
  .plan-ups { max-width: 100%; }
}
@media (max-width: 640px) {
  /* let tall beats (calendar, score) scroll instead of being clipped */
  body { overflow-y: auto; overflow-x: hidden; }
  .stage { height: auto; min-height: 100dvh; padding: 84px 20px 96px; }
  .beat, .beat.wide { max-width: 100%; }
  .prompt { font-size: clamp(2rem, 8.5vw, 2.9rem); }
  .name-line, .answer-line input { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .answer-line.quote textarea { font-size: clamp(1.4rem, 6.5vw, 2rem); }
  .turn-line { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .statement { font-size: clamp(1.45rem, 6vw, 2.1rem); }
  .score-big { font-size: clamp(3rem, 17vw, 4rem); }
  .cal-date { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .inv-total span { font-size: clamp(2.8rem, 14vw, 4rem); }
  .cal-months { gap: 18px; }
  .chapter { top: 16px; left: 18px; }
  .nav-back { bottom: 16px; left: 16px; }
  .nav-next { bottom: 16px; right: 16px; padding: 10px 18px; }
  .demo-badge { bottom: 66px; }
  /* Narrow screens: the pill drops under the chapter label so the two can't meet. */
  .savings { top: 40px; right: 14px; left: 14px; justify-content: center; padding: 7px 12px; font-size: 10px; letter-spacing: 0.09em; }
}

/* "continue later" magic link */
.ml-link { display: block; margin-top: 16px; background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--cream-faint);
  text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; }
.ml-link:hover { color: var(--cream-dim); }
.ml-link.done { text-decoration: none; color: var(--lime); cursor: default; }
