/* Santa Call browser test version.
   Visual design adapted from the "storybook" mockup in the repo root:
   deep pine and crimson, gold accents, serif headings, frosted cards, snow. */
:root {
  --pine-deep: #091a14; --pine-mid: #102a20; --pine-rich: #173d2e; --hearth: #231115;
  --crimson: #c5223b; --crimson-deep: #8f1126; --crimson-bright: #e0354f;
  --emerald: #28b45c; --emerald-dark: #198443;
  --gold: #e7c26f; --gold-light: #f9e4ad; --gold-dim: rgba(231,194,111,.32);
  --ivory: #fff8ee; --ivory-soft: rgba(255,248,238,.76); --ivory-muted: rgba(255,248,238,.56);
  --glass: rgba(255,248,236,.085); --glass-strong: rgba(255,248,236,.15);
  --line: rgba(249,228,173,.18); --line-strong: rgba(249,228,173,.34);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  --font-story: "Cormorant Garamond", "New York", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.45 var(--font-ui); color: var(--ivory); background: #050d0a; }
.stage { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(900px 600px at 20% 10%, rgba(197,34,59,.16), transparent 60%),
              radial-gradient(900px 700px at 85% 90%, rgba(40,180,92,.12), transparent 60%), #050d0a; }
.phone { position: relative; width: 390px; height: 844px; max-height: calc(100vh - 48px); border-radius: 36px; overflow: hidden;
  background: radial-gradient(520px 380px at 50% -8%, rgba(197,34,59,.34), transparent 70%),
              radial-gradient(420px 420px at 0% 62%, rgba(40,180,92,.16), transparent 70%),
              linear-gradient(180deg, var(--hearth) 0%, var(--pine-mid) 48%, var(--pine-deep) 100%);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.6); }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.test-flag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 30; font-size: 10px;
  font-weight: 700; letter-spacing: .1em; background: rgba(0,0,0,.55); color: var(--gold-light);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.screen { position: relative; z-index: 2; height: 100%; overflow-y: auto; padding: 56px 20px 32px; display: flex; flex-direction: column; gap: 16px; }
.screen.tabs { padding-bottom: 104px; }
.screen.call { padding: 0; background: #060606; display: block; overflow: hidden; }
@media (max-width: 480px) {
  .stage { padding: 0; }
  .phone { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; box-shadow: none; }
}
h1 { font: 700 34px/1.1 var(--font-story); margin: 0; letter-spacing: .2px; }
h2 { font: 700 24px/1.15 var(--font-story); margin: 0; }
h3 { margin: 0 0 2px; font-size: 16px; }
p { margin: 0; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--ivory-muted); }
.small { font-size: 12px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ivory);
  display: flex; align-items: center; justify-content: center; flex: none; }
.icon-btn svg, .tab svg, .ctrl svg { width: 22px; height: 22px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.label { font-size: 11px; font-weight: 700; color: var(--ivory-muted); text-transform: uppercase; letter-spacing: .12em; }
.balance { font: 700 34px/1 var(--font-story); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
button { font: inherit; cursor: pointer; color: inherit; }
.btn { border: 0; border-radius: 16px; min-height: 52px; padding: 14px 18px; font-size: 17px; font-weight: 600; width: 100%; }
.btn.primary { background: linear-gradient(180deg, var(--crimson-bright), var(--crimson)); color: #fff; box-shadow: 0 8px 22px rgba(197,34,59,.35); }
.btn.go { background: linear-gradient(180deg, #34c96b, var(--emerald-dark)); color: #fff; box-shadow: 0 10px 26px rgba(40,180,92,.35);
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 18px; }
.btn.danger { background: var(--crimson-deep); color: #fff; }
.btn.secondary { background: var(--glass); color: var(--ivory); border: 1px solid var(--line-strong); }
.btn.link { background: transparent; color: var(--gold-light); min-height: 44px; padding: 8px; }
.btn.compact { width: auto; min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.notice { color: #ffd0d6; background: rgba(197,34,59,.22); border: 1px solid rgba(224,53,79,.45); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
input, textarea { font: inherit; font-size: 17px; width: 100%; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(0,0,0,.28); color: var(--ivory); }
input::placeholder, textarea::placeholder { color: var(--ivory-muted); }
textarea { min-height: 76px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ivory-soft); }
/* Home hero */
.hero { align-items: center; text-align: center; padding: 22px 16px 18px;
  background: linear-gradient(180deg, rgba(197,34,59,.20), rgba(255,248,236,.06)); border-color: var(--line-strong); }
.portrait { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 0 0 5px rgba(231,194,111,.16), 0 12px 30px rgba(0,0,0,.45); }
.hero h2 { font-size: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold-light); background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); flex: none; }
.hero .kids { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.child { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; min-height: 52px; background: rgba(0,0,0,.22); }
.child.on { border-color: var(--gold); background: rgba(231,194,111,.14); }
.child .pick { flex: 1; display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; font-size: 17px; min-height: 52px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ivory-muted); flex: none; }
.child.on .radio { border-color: var(--gold); background: var(--gold); }
.child .edit { background: none; border: 0; color: var(--gold-light); font-weight: 600; min-height: 44px; padding: 0 6px; }
/* Consent */
.point { display: flex; gap: 12px; align-items: flex-start; }
.point + .point { margin-top: 14px; }
.point-icon { flex: none; width: 30px; font-size: 22px; line-height: 1.2; text-align: center; }
.point h3 { margin: 0 0 2px; }
.point p { font-size: 15px; color: var(--ivory-soft); margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; background: none; border: 0; text-align: left; padding: 4px 0; font-size: 15px; width: 100%; }
.box { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--ivory-muted); flex: none; display: flex; align-items: center; justify-content: center; color: #0b1a14; font-weight: 800; }
.check[aria-checked="true"] .box { background: var(--gold); border-color: var(--gold); }
/* Activities */
.big { font: 700 64px/1 var(--font-story); color: var(--gold-light); text-align: center; }
.deed { display: flex; align-items: center; gap: 12px; min-height: 48px; background: none; border: 0; width: 100%; text-align: left; font-size: 17px; }
.star { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold); flex: none; }
.deed[aria-checked="true"] .star { background: rgba(231,194,111,.25); }
/* Keypad */
.dial-display { text-align: center; font: 600 34px/1.2 var(--font-ui); letter-spacing: 2px; min-height: 42px; }
.keys { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 22px; justify-content: center; }
.key { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.key b { font-size: 30px; font-weight: 400; }
.key i { font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--gold); margin-top: 4px; min-height: 10px; }
.key:active { background: rgba(249,228,173,.28); }
.dial-row { display: grid; grid-template-columns: 76px 76px 76px; gap: 22px; justify-content: center; align-items: center; }
.dial-call { width: 76px; height: 76px; border-radius: 50%; border: 0; background: linear-gradient(180deg, #34c96b, var(--emerald-dark)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(40,180,92,.4); }
.dial-call svg { width: 30px; height: 30px; }
.dial-call:disabled { opacity: .4; box-shadow: none; }
.dial-back { background: none; border: 0; color: var(--ivory-soft); min-height: 44px; font-size: 15px; }
/* Recents */
.recent { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent:last-child { border-bottom: 0; }
.recent strong { font-family: var(--font-story); font-size: 20px; }
/* Tab bar */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 10px 12px 22px;
  background: rgba(6,16,12,.82); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tab { flex: 1; background: none; border: 0; color: var(--ivory-muted); font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 48px; }
.tab[aria-current="page"] { color: var(--gold); }
/* Tester tools */
.devbox { border: 1px dashed var(--line-strong); border-radius: 14px; padding: 12px; font-size: 12px; color: var(--ivory-muted); display: flex; flex-direction: column; gap: 8px; }
.devbox code { display: block; background: rgba(0,0,0,.4); padding: 8px; border-radius: 8px; color: var(--ivory-soft); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }
.devbox button { border: 1px solid var(--line-strong); background: var(--glass); border-radius: 8px; padding: 6px 10px; font-size: 12px; min-height: 32px; }
/* Parental gate */
.gate { position: absolute; inset: 0; background: rgba(0,0,0,.62); z-index: 40; display: flex; align-items: center; padding: 24px; }
.gate[hidden] { display: none; }
.gate .box-wrap { background: linear-gradient(180deg, #1b3a2d, #10261d); border: 1px solid var(--line-strong); border-radius: 22px; padding: 20px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.gate .q { font: 700 34px/1.2 var(--font-story); text-align: center; color: var(--gold-light); }
.gate input { text-align: center; font-size: 22px; }
/* Call */
#santaVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #060606; }
.call-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 55%, rgba(0,0,0,.72) 100%); }
.ringing { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(420px 320px at 50% 30%, rgba(197,34,59,.35), transparent 70%), linear-gradient(180deg, var(--hearth), var(--pine-deep)); }
.ringing .portrait { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(231,194,111,.16), 0 0 0 0 rgba(231,194,111,.35); } 50% { box-shadow: 0 0 0 5px rgba(231,194,111,.16), 0 0 0 22px rgba(231,194,111,0); } }
.spinner { width: 40px; height: 40px; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } .ringing .portrait { animation: none; } }
.plate { position: absolute; top: 44px; left: 14px; max-width: 56%; background: rgba(8,14,11,.62); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.plate .name { font: 700 22px/1.1 var(--font-story); }
.plate .sub { font-size: 12px; color: var(--ivory-soft); font-variant-numeric: tabular-nums; }
.plate .live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--gold-light); margin-top: 2px; }
/* Crisis card for the supervising grown-up. Solid, so it reads over the video. */
.crisis { position: absolute; z-index: 5; left: 14px; right: 14px; top: 186px; max-height: calc(100% - 186px - 270px); overflow-y: auto;
  background: #0f1d17; border: 2px solid var(--gold); border-radius: 18px; padding: 8px 14px 10px; }
.crisis-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crisis h3 { font-size: 16px; margin: 0; }
.crisis p { font-size: 14px; line-height: 1.35; margin: 3px 0; }
.crisis .btn.link { width: auto; flex: none; padding: 4px 8px; }
.crisis-note { border: 2px solid var(--gold); }
.crisis-note p { margin: 6px 0; }
#selfView { position: absolute; top: 44px; right: 14px; width: 92px; height: 128px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line-strong); background: #16241d; transform: scaleX(-1); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.caption { position: absolute; left: 14px; right: 14px; bottom: 176px; background: rgba(8,14,11,.72); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.caption .who { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.caption p { font-size: 15px; line-height: 1.35; max-height: 4.1em; overflow: hidden; }
.banner { position: absolute; left: 14px; right: 14px; top: 190px; background: rgba(143,17,38,.86); border: 1px solid rgba(224,53,79,.6); color: #fff; border-radius: 14px; padding: 10px 12px; text-align: center; font-size: 14px; }
.chips { position: absolute; left: 0; right: 0; bottom: 124px; display: flex; gap: 8px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-strong); background: rgba(8,14,11,.66); border-radius: 999px; padding: 0 14px; min-height: 40px; font-size: 14px; font-weight: 600; }
.controls { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 14px; align-items: center; background: rgba(8,14,11,.66); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ctrl { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.ctrl[aria-pressed="true"] { background: var(--ivory); color: #10261d; }
.hangup { width: 64px; height: 52px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #ff4b5f, #c81e33); color: #fff; display: flex; align-items: center; justify-content: center; }
.hangup svg { width: 28px; height: 28px; }
.hangup:disabled { opacity: .5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

#frameHint { position: absolute; top: 188px; left: 50%; transform: translateX(-50%); z-index: 5; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; white-space: nowrap; }

.plate .ending { margin-top: 4px; font-size: 12px; font-weight: 700; color: #ffd9df; }

/* ---------- first screen (hero) ---------- */
/* Newer look: one picture, one headline, one button, short selling points.
   No cards and no small capital labels here on purpose. */
.wordmark { font-family: var(--font-story); font-weight: 700; font-size: 21px; color: var(--gold-light); }
.hero-pic { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 22%; border-radius: 24px; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.screen .hero-h.big { font-size: 40px; line-height: 1.02; letter-spacing: -.2px; text-align: left; color: var(--gold-light); }
.price-cue { text-align: center; font-size: 14px; color: var(--ivory-soft); margin-top: -4px; }
.points { list-style: none; margin: 8px 0 4px; padding: 0; }
.points li { padding: 16px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { display: block; font: 700 27px/1.08 var(--font-story); color: var(--ivory); }
.points span { display: block; margin-top: 4px; font-size: 15px; color: var(--ivory-soft); }
.hero-h { font-size: 34px; line-height: 1.08; }
.hero-lead { font-size: 17px; line-height: 1.45; color: var(--ivory-soft); }
.hero-line { text-align: center; font-family: var(--font-story); font-size: 21px; line-height: 1.25; color: var(--gold-light); margin: 6px 0; }
.center { text-align: center; }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.4; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.linkish { background: none; border: 0; padding: 8px 4px; color: var(--gold); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ---------- welcome, incoming call, certificate ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { min-height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.35); color: var(--ivory); font: inherit; font-weight: 400; padding: 0 14px; }
.card.greeting p { margin: 0; font-family: var(--font-story); font-size: 22px; line-height: 1.25; }
.ring-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ring-row .btn { flex: 1; min-width: 92px; }
.incoming { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; box-sizing: border-box; }
.incoming h1 { margin: 0; }
.incoming p { margin: 0; }
.ring-wrap { border-radius: 50%; padding: 10px; animation: ringPulse 1.4s ease-out infinite; }
.ring-wrap .portrait { width: 148px; height: 148px; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(231,194,111,.55); } 100% { box-shadow: 0 0 0 34px rgba(231,194,111,0); } }
@media (prefers-reduced-motion: reduce) { .ring-wrap { animation: none; } }
.incoming-actions, .incoming-labels { display: flex; justify-content: space-between; width: 240px; }
.incoming-actions { margin-top: 26px; }
.incoming-labels { font-size: 14px; color: var(--ivory-soft, #cfc8bb); }
.incoming-labels span { width: 76px; text-align: center; }
.round { width: 76px; height: 76px; border-radius: 50%; border: 0; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.round svg { width: 30px; height: 30px; }
.round.answer { background: linear-gradient(180deg, #34c96b, var(--emerald-dark)); }
.round.decline { background: linear-gradient(180deg, #e0354f, #8f1126); }
.certificate { background: #f6ecd2; color: #3a2a0c; border: 6px double #b8923a; border-radius: 10px; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.certificate h1 { margin: 0; color: #3a2a0c; font-size: 38px; line-height: 1; }
.certificate p { margin: 0; color: #3a2a0c; }
.cert-eyebrow, .cert-small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b4e10 !important; }
.cert-name { font-family: var(--font-story); font-size: 46px; font-weight: 700; color: #8f1126 !important; line-height: 1.05; overflow-wrap: anywhere; }
.cert-seal { width: 84px; height: 84px; border-radius: 50%; background: #8f1126; color: #f6ecd2; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .08em; margin: 8px 0; }

.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 14px; margin: 0; }
.legal-links a { color: var(--gold-light); padding: 6px 0; }

/* Tap-to-add ideas under the good deed box */
.ideas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 14px; }
.ideas > span { width: 100%; }
.idea { border: 1px solid var(--line-strong); background: transparent; color: inherit; border-radius: 999px; padding: 0 14px; min-height: 40px; font-size: 14px; font-weight: 600; }
.idea:active { background: rgba(231,194,111,.2); }

/* Yes or No choice */
.yesno { display: flex; gap: 10px; margin-top: 8px; }
.yesno button { flex: 1; min-height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: inherit; font-size: 16px; font-weight: 700; }
.yesno button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1a1408; }

/* ==========================================================================
   LIGHT LOOK
   Adopted from the "Sales Edition" mockup (sales-v3/): warm paper background,
   dark ink, Fraunces headings, one strong green button. The colour names
   above are kept and given light values here, so every screen follows. The
   live call screen keeps the dark values, because it sits on top of video.
   ========================================================================== */
:root {
  --paper: #f3efe8; --app: #fbf9f5; --ink: #2b1d15; --ink-2: #5a4a40; --ink-3: #7b6b61;
  --cta: #0f8a41; --cta-dark: #0a6e33; --cta-soft: #e3f4e8; --crimson-soft: #fdeef0; --gold-soft: #fdf3d7; --gold-fill: #e3b23c;
  --ivory: var(--ink); --ivory-soft: var(--ink-2); --ivory-muted: var(--ink-3);
  --glass: #ffffff; --glass-strong: #f4efe7;
  --line: #e6dfd3; --line-strong: #cfc3b3;
  --gold: #a66f00; --gold-light: #b3122e; --gold-dim: #e6dfd3;
  --emerald: #19a552; --emerald-dark: #0a6e33;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-story: "Fraunces", "New York", Georgia, "Times New Roman", serif;
}
.screen.call {
  --ivory: #fff8ee; --ivory-soft: rgba(255,248,238,.76); --ivory-muted: rgba(255,248,238,.56);
  --glass: rgba(255,248,236,.085); --glass-strong: rgba(255,248,236,.15);
  --line: rgba(249,228,173,.18); --line-strong: rgba(249,228,173,.34);
  --gold: #e7c26f; --gold-light: #f9e4ad; --emerald: #28b45c; --emerald-dark: #198443;
  color: #fff8ee;
}
body { color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
.stage { background: var(--paper); }
.phone { background: var(--app); box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(60,40,20,.16); }
#snow { display: none; }
h1 { font-weight: 700; letter-spacing: -.4px; line-height: 1.06; }
h2 { letter-spacing: -.2px; }
.eyebrow { color: var(--gold-light); letter-spacing: .1em; }
.card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 2px rgba(60,40,20,.04); }
.btn { border-radius: 16px; font-weight: 700; }
.btn.primary, .btn.go { background: var(--cta); color: #fff; box-shadow: 0 4px 0 var(--cta-dark), 0 14px 26px rgba(15,138,65,.22); }
.btn.primary:active, .btn.go:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cta-dark); }
.btn.danger { background: #b3122e; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn.link { color: var(--gold-light); font-weight: 700; }
.btn:disabled { box-shadow: none; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.notice { color: #8f1126; background: var(--crimson-soft); border-color: #f3c3ca; }
input, textarea, .field input { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
input:focus, textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(15,138,65,.14); }
.hero { background: linear-gradient(180deg, var(--crimson-soft), #fff); }
.portrait { border-color: var(--gold-fill); box-shadow: 0 0 0 5px rgba(227,178,60,.2), 0 10px 24px rgba(60,40,20,.18); }
.pill { color: var(--ink-2); background: var(--glass-strong); }
.child { background: #fff; }
.child.on { border-color: var(--cta); background: var(--cta-soft); }
.child.on .radio { border-color: var(--cta); background: var(--cta); }
.check[aria-checked="true"] .box { background: var(--cta); border-color: var(--cta); color: #fff; }
.star { background: var(--glass-strong); color: var(--gold-fill); }
.deed[aria-checked="true"] .star { background: var(--gold-soft); }
.key { background: #fff; }
.key:active { background: var(--glass-strong); }
.tabbar { background: rgba(255,255,255,.94); }
.tab[aria-current="page"] { color: var(--gold-light); }
.devbox code { background: var(--glass-strong); }
.gate { background: rgba(43,29,21,.5); }
.gate .box-wrap { background: #fff; }
.gate .q { color: var(--ink); }
.big { color: var(--gold-light); }
.idea { background: #fff; }
.idea:active { background: var(--cta-soft); }
.yesno button { background: #fff; }
.yesno button[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: #fff; }
.legal-links a, .linkish { color: var(--ink-2); }
.ticks li::before { color: var(--cta); }
.incoming-labels { color: var(--ink-2); }
/* the live call keeps its own dark surfaces */
.screen.call .btn.link { color: var(--gold-light); }
.screen.call input { background: rgba(0,0,0,.28); color: #fff8ee; }

/* ---------- first screen: photo, live caption, one button, packs ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.media { position: relative; flex: none; margin: -56px -20px 0; height: 400px; overflow: hidden; background: #2a1410; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,8,6,.5) 0%, rgba(20,8,6,0) 24%, rgba(20,8,6,0) 56%, rgba(20,8,6,.82) 100%); }
.media-top { position: absolute; top: 44px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag-live, .tag-nosub { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.tag-live { background: rgba(24,12,8,.78); color: #fff; }
.tag-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: liveBlink 1.6s ease-in-out infinite; }
.tag-nosub { background: var(--gold-fill); color: var(--ink); }
.media-quote { position: absolute; left: 20px; right: 20px; bottom: 16px; margin: 0; font: italic 600 25px/1.15 var(--font-story); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.media-quote b { font-style: normal; font-weight: 700; color: #ffe08a; border-bottom: 3px solid var(--gold-fill); }
.brand { font: 700 15px/1 var(--font-ui); color: var(--gold-light); letter-spacing: .02em; margin-top: 4px; }
.screen .lead-h { font-size: 36px; line-height: 1.04; letter-spacing: -.8px; color: var(--ink); margin-top: -6px; }
.lead-p { font-size: 16px; line-height: 1.45; color: var(--ink-2); margin-top: -6px; }
.name-box input { width: 100%; min-height: 56px; border-radius: 16px; font-size: 17px; padding: 0 16px; }
.btn.cta { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; font-size: 18px; font-weight: 800; border-radius: 18px; }
.cta-ic { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.2); animation: answerRing 1.9s ease-out infinite; }
.cta-ic svg { width: 19px; height: 19px; animation: answerShake 1.9s ease-in-out infinite; }
.assure { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 14px; background: var(--gold-soft); border: 1.5px solid #ecd28c; font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; }
.assure i { font-style: normal; color: var(--cta); font-weight: 800; }
.fine { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.sec-h { font-size: 26px; margin-top: 22px; }
.talk { display: flex; flex-direction: column; gap: 8px; }
.say { max-width: 88%; margin: 0; padding: 12px 16px; border-radius: 20px; font: 600 19px/1.25 var(--font-story); }
.say.santa { align-self: flex-start; background: var(--crimson-soft); border: 1px solid #f3c3ca; border-bottom-left-radius: 6px; color: var(--ink); }
.say.santa b { color: var(--gold-light); }
.say.kid { align-self: flex-end; background: #fff; border: 1px solid var(--line-strong); border-bottom-right-radius: 6px; font: 500 16px/1.3 var(--font-ui); }
.why { font-size: 13px; font-weight: 800; color: var(--cta-dark); margin: 0 0 10px 4px; }
.offers { display: flex; flex-direction: column; gap: 10px; }
.offer { position: relative; display: block; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 0; overflow: hidden; color: var(--ink); }
.offer.is-on { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(15,138,65,.12); }
.offer-flag { display: block; padding: 6px 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--cta-dark); }
.offer-body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.offer-name { font-size: 18px; font-weight: 800; }
.offer-meta { font-size: 14px; color: var(--ink-2); }
.offer-price { font-size: 22px; font-weight: 800; text-align: right; }
.offer-rate { font-size: 13px; font-weight: 700; color: var(--ink-3); text-align: right; }
.offer-rate.save { color: var(--cta-dark); }
.promise { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.promise li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 600; }
.promise li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--cta-soft); color: var(--cta-dark); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.price-cue { color: var(--ink-2); }
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes answerRing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
@keyframes answerShake { 0%, 60%, 100% { transform: rotate(0); } 8%, 24% { transform: rotate(-14deg); } 16%, 32% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .tag-live i, .cta-ic, .cta-ic svg { animation: none; } }
.test-flag { color: #fff; background: rgba(43,29,21,.72); border-color: transparent; }

/* ---------- sign-up steps, banners, consent cards, pack picker ----------
   The look of the "Sales Edition" flow: Back + progress bar + step count,
   a green "no subscription" banner, a yellow notice box, one card per
   consent tick, and pack cards with a ribbon. Packs show a price and a call
   count, never a per-minute rate. */
.stepbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: -14px 0 2px; }
.step-back { background: none; border: 0; padding: 0 4px 0 0; min-height: 44px; font: 800 17px/1 var(--font-ui); color: var(--ink); }
.step-track { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; max-width: 120px; justify-self: end; width: 100%; }
.step-track span { display: block; height: 100%; border-radius: inherit; background: var(--gold-light); transition: width .3s ease; }
.step-label { font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.banner-ok { display: flex; gap: 12px; align-items: center; background: var(--cta-soft); border: 1.5px solid #8fcda5; border-radius: 16px; padding: 14px 16px; }
.banner-ok strong { display: block; color: var(--cta-dark); font-size: 15.5px; font-weight: 800; }
.banner-ok span:not(.banner-ic) { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.banner-ok.slim { padding: 10px 14px; justify-content: center; }
.banner-ic { font-size: 18px; line-height: 1; flex: none; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -2px; }
.feats span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.feats i { font-style: normal; font-size: 14px; }
.alert-gold { background: var(--gold-soft); border: 1.5px solid #ecd28c; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.alert-h { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.alert-gold strong { font-size: 15px; }
.alert-gold p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.check.check-card { background: #fff; border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 14px; gap: 14px; line-height: 1.4; color: var(--ink); }
.check.check-card[aria-checked="true"] { border-color: var(--cta); background: #f6fbf8; }
.offer { cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.offer-flag { background: var(--gold-light); text-transform: uppercase; }
.offer.is-on .offer-flag { background: var(--cta-dark); }
.offer-left, .offer-right, .offer-name, .offer-meta, .offer-price, .offer-rate { display: block; }
.offer-left { min-width: 0; }
.offer-right { flex: none; }
.offer-rate { color: var(--cta-dark); }
.promise.card { padding: 14px 16px; gap: 10px; }
.promise.card li { font-size: 15px; font-weight: 600; }
.fine.strong { font-weight: 700; color: var(--ink-2); margin-top: -4px; }
