/* Becomr: morning light. Warm, bright, calm. Fonts: Gowun Batang (titles), Lexend (text), Literata italic (the letter). */
:root {
  /* Sky to earth: a softened Luminous Blue sky, warm sand and clay below, a yellow sun. */
  --sky: #4a6cb3;     /* Luminous Blue, toned down */
  --haze: #9fb2d6;    /* dusty morning blue */
  --rose: #f0c4bd;    /* sunrise pink */
  --sand: #efe4d6;    /* warm sand */
  --clay: #d8bfa3;    /* earth */
  --bark: #5a3f2e;    /* deep earthy brown */
  --gold: #ffd36b;    /* the sun */
  --paper: #f7f1ea;
  --dawn: #f1e7da;
  --peach: #e6d5c2;
  --ink: #2b2433;
  --soft: #66606d;
  --pop: #c4626f;     /* deep rose: picks, progress, links */
  --line: #e7dccd;
  --card: #fffcf8;
}
/* 2027 palette (Michal's brief): earthy, restorative grounds + optimistic sun + WGSN/Coloro Luminous Blue as the accent. Try: /?palette=2027 */
body[data-palette="2027"] {
  --paper: #f5eee6;   /* warm sand */
  --dawn: #efe3d3;    /* linen */
  --peach: #e8d3bd;   /* soft clay light */
  --gold: #f2c75c;    /* optimistic sun */
  --ink: #1c2547;     /* deep blue ink */
  --soft: #55607a;
  --pop: #1f4fbf;     /* Luminous Blue */
  --line: #e2d5c4;
  --card: #fffbf5;
  --sage: #a8b89f;    /* restorative green */
}
body[data-palette="2027"] .hero { background: radial-gradient(60% 50% at 50% 0%, #fff8e6 0%, rgba(242,199,92,.28) 40%, rgba(245,238,230,0) 72%), radial-gradient(50% 40% at 0% 100%, rgba(168,184,159,.35), rgba(168,184,159,0) 70%), linear-gradient(180deg, var(--paper) 0%, var(--dawn) 60%, var(--peach) 100%); }
body[data-palette="2027"] .cta { background: var(--pop); box-shadow: 0 10px 28px rgba(31,79,191,.25); }
body[data-palette="2027"] .progress span { background: linear-gradient(90deg, var(--gold), var(--pop)); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 18px/1.6 "Lexend", system-ui, sans-serif; }
b, strong { font-weight: 500; }
h1, h2 { font-family: "Gowun Batang", Georgia, serif; color: var(--ink); }
h1 { font-weight: 700; font-size: clamp(34px, 6.2vw, 76px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 18px; }
h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 10px; }
a { color: inherit; }
.small { font-size: 14px; color: var(--soft); }
.center { text-align: center; }
.hand { font-family: "Literata", Georgia, serif; font-style: italic; color: var(--pop); font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 10px; }

.screen { display: none; }
.screen.is-on { display: block; }
#quiz, #email, #loading, #result { max-width: 760px; margin: 0 auto; padding: 20px 16px 56px; }
#landing > section:not(.hero), #landing > .foot { max-width: 640px; margin: 0 auto 56px; padding: 0 16px; }
.brand { font: 500 15px/1 "Lexend"; letter-spacing: .3em; color: var(--ink); }

/* Hero: the sun rises behind the words; the button rides in its light. */
.hero { position: relative; min-height: 100svh; overflow: hidden; padding: 22px 16px 28px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(180deg, var(--sky) 0%, #7f97cb 30%, #c7b5cf 50%, var(--rose) 64%, var(--sand) 82%, var(--clay) 100%); margin-bottom: 56px; }
.hero h1, .hero .sub, .hero .brand { color: #fffaf2; }
.hero h1 { text-shadow: 0 1px 24px rgba(30,40,80,.18); }
.hero h1 em { display: block; font: italic 400 1.02em/1.1 "Literata", Georgia, serif; color: #ffe39a; letter-spacing: -.02em; }
.hero .cta { background: var(--bark); box-shadow: 0 10px 28px rgba(90,63,46,.3); }
.hero-note { color: var(--bark); }
.hero .brand { align-self: flex-start; }
.hero-copy { position: relative; z-index: 2; max-width: 820px; margin-top: 11vh; }
.sub { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 30em; margin: 0 auto; }
.hero-note { position: relative; z-index: 2; margin-top: auto; }
.orb { position: absolute; z-index: 1; left: 0; top: 0; width: 300px; height: 300px; display: grid; place-items: center; will-change: transform; }
.glow { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #fffef8 0%, #fff4cf 38%, rgba(255,211,107,.45) 66%, rgba(255,211,107,0) 100%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.rise { opacity: 0; transform: translateY(14px); animation: rise 1.1s ease forwards; }
.r2 { animation-delay: .25s; } .r3 { animation-delay: .55s; } .r4 { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Buttons */
.cta { position: relative; display: inline-block; padding: 17px 28px; border: 0; border-radius: 999px; background: var(--bark); color: #fffaf2; cursor: pointer;
  font: 500 17px/1 "Lexend"; text-align: center; text-decoration: none; box-shadow: 0 10px 28px rgba(90,63,46,.25); transition: transform .2s, box-shadow .2s, opacity .2s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(59,35,64,.24); }
.cta:focus-visible, .option:focus-visible, .tile:focus-visible, .chip:focus-visible, input:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }
.cta:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.step .cta, form .cta, .offer .cta { width: 100%; margin-top: 18px; }
.link { background: none; border: 0; color: var(--soft); text-decoration: underline; font: inherit; font-size: 15px; display: block; margin: 14px auto 0; cursor: pointer; }

/* Bloom: warm white light fills the screen when you step inside. */
.bloom { position: fixed; z-index: 50; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #ffffff 0%, #fffbea 45%, #fff1c2 75%, #ffd36b 100%); transform: translate(-50%, -50%) scale(0); }
.bloom.go { animation: bloom 1.3s cubic-bezier(.5,0,.2,1) forwards; }
.bloom.out { opacity: 0; transition: opacity .7s ease; }
@keyframes bloom { 0% { opacity: 1; transform: translate(-50%,-50%) scale(0); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(var(--s, 60)); } }

/* Landing sections */
.letter-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; margin: 14px 0; font: italic 400 19px/1.7 "Literata", Georgia, serif;
  box-shadow: 0 18px 40px rgba(59,35,64,.07); }
.letter-card p { margin: 0 0 14px; } .letter-card p:first-child { color: var(--pop); }
.letter-card.big { font-size: 20px; }
.steps ol { padding-left: 22px; } .steps li { margin-bottom: 12px; }
.why p, .refs { font-size: 16px; } .refs { padding-left: 18px; } .refs li { margin-bottom: 10px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; } .faq summary { cursor: pointer; font-weight: 400; } .faq p { margin: 10px 0 0; font-size: 16px; color: var(--soft); }
.final { text-align: center; }
.foot { font-size: 13px; color: var(--soft); text-align: center; }

/* Quiz */
#quiz, #email, #result { background: transparent; }
body.inside { background: linear-gradient(180deg, var(--paper) 0%, var(--dawn) 100%) fixed; }
.bar { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.back { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); padding: 4px 8px; }
.progress { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--pop)); transition: width .4s; }
.count { font-size: 13px; color: var(--soft); white-space: nowrap; }
.why-line { color: var(--soft); font-size: 15px; margin: 0 0 4px; }
.hint { color: var(--pop); font-size: 14px; margin: 0 0 4px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tile .img { aspect-ratio: 4 / 3; } }
.tile { border: 2px solid var(--line); background: var(--card); border-radius: 14px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); }
.tile .img { display: block; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #fff3dc, var(--peach)); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .label { display: block; padding: 10px 12px; font-size: 15px; line-height: 1.35; }
.list { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .list { grid-template-columns: repeat(2, 1fr); } }
.option { border: 2px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px 16px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s; }
.option:hover, .tile:hover { border-color: #e6c6ad; }
.is-picked { border-color: var(--pop) !important; box-shadow: 0 0 0 1px var(--pop) inset; }
.step input, form input { width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; margin-top: 8px; background: #fff; color: var(--ink); }
form label { display: block; margin: 18px 0 0; font-weight: 400; }
.field-label { margin: 18px 0 0; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.error { color: #b3263e; min-height: 1em; margin: 10px 0 0; font-size: 15px; }
.eyebrow { font-family: "Literata", Georgia, serif; font-style: italic; color: var(--pop); font-size: 20px; margin: 14vh 0 6px; }
.loading { padding-top: 22vh; text-align: center; }
.brand-soft { font: 400 16px/1 "Gowun Batang", Georgia, serif; color: var(--soft); margin: 0 0 14px; }
.ring { position: relative; width: 96px; height: 96px; margin: 30px auto 26px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: var(--line); }
.ring .arc { stroke: var(--pop); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .25s linear; }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--soft); }
.loading-line { font: italic 400 19px/1.5 "Literata", Georgia, serif; color: var(--soft); min-height: 1.5em; transition: opacity .35s; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } .glow, .loading h2 { animation: none; } .bloom.go { animation-duration: .01s; } }

/* Vivid-to-pale hero with a white light (Michal, 2026-11-24). Try /?palette=blue or /?palette=violet */
body[data-palette="blue"] { --paper: #f4f7fd; --dawn: #e9effb; --peach: #dfe7fa; --ink: #121b3d; --soft: #4a5577; --pop: #1f4fbf; --line: #dae2f3; --card: #ffffff; --hero-a: #1f4fbf; --hero-b: #6f93e6; --hero-c: #eef3fd; }
body[data-palette="violet"] { --paper: #f8f5fe; --dawn: #f0eafc; --peach: #e9e0fa; --ink: #22163f; --soft: #5c5078; --pop: #6b3fd4; --line: #e4dbf5; --card: #ffffff; --hero-a: #6b3fd4; --hero-b: #ab8bec; --hero-c: #f5f1fd; }
body[data-palette="blue"] .hero, body[data-palette="violet"] .hero { background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 48%, var(--hero-c) 100%); }
body[data-palette="blue"] .hero h1, body[data-palette="violet"] .hero h1,
body[data-palette="blue"] .hero .sub, body[data-palette="violet"] .hero .sub,
body[data-palette="blue"] .hero .brand, body[data-palette="violet"] .hero .brand { color: #ffffff; }
body[data-palette="blue"] .hero .hand, body[data-palette="violet"] .hero .hand { color: #fff3c4; }
body[data-palette="blue"] .glow, body[data-palette="violet"] .glow { background: radial-gradient(closest-side, #ffffff 0%, #ffffff 45%, rgba(255,255,255,.75) 62%, rgba(255,255,255,0) 100%); }
body[data-palette="blue"] .orb, body[data-palette="violet"] .orb { width: 380px; height: 380px; }
body[data-palette="blue"] .progress span, body[data-palette="violet"] .progress span { background: var(--pop); }

@media (max-width: 480px) { .hero h1 { font-size: 36px; } .hero h1 em { font-size: 1.04em; } }
.progress span { background: linear-gradient(90deg, var(--gold), var(--rose), var(--sky)); }

/* Grown-up versions (2026-11-24): fewer hues, deeper and muted, thinner titles, a quieter sun. */
body[data-palette="dusk"], body[data-palette="linen"] { --bark: #4a3426; }
body[data-palette="dusk"] h1, body[data-palette="linen"] h1, body[data-palette="dusk"] h2, body[data-palette="linen"] h2 { font-weight: 400; }
body[data-palette="dusk"] .hero h1 em, body[data-palette="linen"] .hero h1 em { font-weight: 300; }
body[data-palette="dusk"] .glow, body[data-palette="linen"] .glow { background: radial-gradient(closest-side, rgba(255,244,222,.95) 0%, rgba(240,205,150,.55) 40%, rgba(230,180,120,.18) 68%, rgba(230,180,120,0) 100%); }

/* Dusk: deep blue night turning to a warm clay horizon. */
body[data-palette="dusk"] { --pop: #a8665c; --paper: #f6f1ea; --dawn: #efe6da; --line: #e4d8c8; --ink: #222a3d; --soft: #5f6473; }
body[data-palette="dusk"] .hero { background: linear-gradient(180deg, #1f2a45 0%, #33425f 38%, #6f6672 62%, #b48676 82%, #dcc3ad 100%); }
body[data-palette="dusk"] .hero h1 em { color: #e9cc92; }
body[data-palette="dusk"] .hero .cta { background: #f4ebde; color: #2a2230; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
body[data-palette="dusk"] .hero-note { color: #4a3426; }

/* Linen: light and calm, deep blue words, clay and gold accents. */
body[data-palette="linen"] { --pop: #a8665c; --paper: #f5efe7; --dawn: #efe6da; --line: #e3d6c6; --ink: #1f2a45; --soft: #5f6473; }
body[data-palette="linen"] .hero { background: radial-gradient(60% 45% at 50% 62%, rgba(240,205,150,.35), rgba(240,205,150,0) 70%), linear-gradient(180deg, #f6f1ea 0%, #efe5d8 60%, #e3cfbb 100%); }
body[data-palette="linen"] .hero h1, body[data-palette="linen"] .hero .brand { color: #1f2a45; text-shadow: none; }
body[data-palette="linen"] .hero .sub { color: #5f6473; }
body[data-palette="linen"] .hero h1 em { color: #a8665c; }
body[data-palette="linen"] .hero .cta { background: #1f2a45; color: #f6f1ea; box-shadow: 0 10px 30px rgba(31,42,69,.22); }
body[data-palette="linen"] .cta { background: #1f2a45; }
body[data-palette="linen"] .hero-note { color: #5f6473; }

/* Earth (2026-11-24): Linen + the Wix "Spa (Ethereal)" colors and fonts: warm white, espresso, terracotta; EB Garamond (free twin of Minion Pro) + Public Sans. Try /?palette=earth */
body.sunrise { --paper: #fbf8f4; --dawn: #f4ece3; --peach: #ead9c8; --ink: #2f1002; --soft: #6b5547; --pop: #b06847; --line: #eadfd3; --card: #ffffff; --bark: #2f1002;
  font-family: "Public Sans", system-ui, sans-serif; font-weight: 300; }
body.sunrise h1, body.sunrise h2, body.sunrise .brand-soft { font-family: "EB Garamond", Georgia, serif; font-weight: 400; letter-spacing: 0; }
body.sunrise .brand, body.sunrise .cta { font-family: "Public Sans", system-ui, sans-serif; }
body.sunrise .brand { font-family: "EB Garamond", Georgia, serif; font-size: 17px; letter-spacing: .42em; text-transform: uppercase; }
body.sunrise .hero { background: radial-gradient(55% 42% at 50% 64%, rgba(232,190,120,.38), rgba(232,190,120,0) 70%), linear-gradient(180deg, #fbf8f4 0%, #f4ece3 62%, #e9d6c2 100%); }
body.sunrise .hero h1, body.sunrise .hero .brand { color: #2f1002; text-shadow: none; }
body.sunrise .hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.05; }
body.sunrise .hero h1 em { font: italic 400 1em/1.1 "EB Garamond", Georgia, serif; color: #b06847; }
body.sunrise .hero .sub, body.sunrise .hero-note { color: #6b5547; }
body.sunrise .cta { background: #2f1002; color: #fbf8f4; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(47,16,2,.18); }
body.sunrise .glow { background: radial-gradient(closest-side, rgba(255,247,230,.95) 0%, rgba(240,205,150,.5) 42%, rgba(230,180,120,.15) 70%, rgba(230,180,120,0) 100%); }
body.sunrise .letter-card { font-family: "EB Garamond", Georgia, serif; font-size: 20px; }
body.sunrise .progress span { background: linear-gradient(90deg, #e8be78, #b06847); }

/* Earth hero, v3 (2026-11-24): dark wood and honey that slowly shifts; a sun rises over a soft horizon; you step from dark into light.
   No terracotta (too close to Claude's brand color). */
body.sunrise { --pop: #a8742c; --peach: #ecd6b4;
  --s1: #24140a; --s2: #3b2210; --s3: #5e3a18; --s4: #8a5a24; --s5: #b8843c; --s6: #d9aa5e;
  --ground1: #2a170a; --ground2: #1d1007; --on-hero: #fbf3e8; --italic: #f3d29a; --btn: #24140a; --btn-text: #fff8ec; --accent: #a8742c; }
body.sunrise .hero h1 em { color: var(--italic); }
body.sunrise .hero { color: var(--on-hero); --horizon: 78%;
  background: linear-gradient(160deg, var(--s1) 0%, var(--s2) 25%, var(--s3) 48%, var(--s4) 70%, var(--s5) 88%, var(--s6) 100%);
  background-size: 240% 240%; animation: earth-shift 24s ease-in-out infinite alternate; }
body.sunrise .hero::before { content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 35% at 20% 25%, rgba(255,240,210,.18), rgba(255,240,210,0) 70%), radial-gradient(45% 40% at 85% 40%, var(--shade, rgba(36,20,10,.45)), rgba(0,0,0,0) 70%);
  animation: earth-drift 30s ease-in-out infinite alternate; }
/* The ground below the horizon, with a thin line of light where the sun meets it. */
body.sunrise .hero::after { content: ""; position: absolute; left: 0; right: 0; top: var(--horizon); bottom: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,226,160,.55) 0, rgba(255,226,160,0) 2px, var(--ground1) 2px, var(--ground2) 100%); }
@keyframes earth-shift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes earth-drift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(6%, -4%) rotate(8deg); } }
body.sunrise .hero .brand { position: relative; z-index: 2; }
body.sunrise .hero h1, body.sunrise .hero .brand { color: var(--on-hero); }
body.sunrise .hero .sub { color: var(--on-hero); opacity: .88; }
body.sunrise .hero-note { color: var(--on-hero); opacity: .75; z-index: 3; }
body.sunrise .orb { z-index: 2; width: 620px; height: 620px; }
/* Only the half above the horizon shows: a rising sun, not a floating ball. */
body.sunrise .glow { animation: none;
  background: radial-gradient(closest-side, #fffef6 0%, #fff4d2 18%, rgba(255,222,150,.85) 32%, rgba(255,196,110,.38) 56%, rgba(255,180,90,.12) 78%, rgba(255,180,90,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 49.6%, transparent 50%); mask-image: linear-gradient(180deg, #000 49.6%, transparent 50%); }
body.sunrise .hero .cta { background: var(--btn); color: var(--btn-text); box-shadow: 0 10px 30px rgba(36,20,10,.4); transform: translateY(-34px); }
body.sunrise .hero .cta:hover { transform: translateY(-37px); }
body.sunrise .bloom { background: radial-gradient(circle, #ffffff 0%, #fffaf0 40%, #fff0c8 70%, #ffdf96 100%); }
body.sunrise.inside { background: linear-gradient(180deg, #fffdf8 0%, #fbf3e6 100%) fixed; }
body.sunrise .progress span { background: linear-gradient(90deg, #e6b96a, var(--accent)); }
@media (max-width: 600px) { body.sunrise .hero { --horizon: 74%; } body.sunrise .orb { width: 460px; height: 460px; } }
@media (prefers-reduced-motion: reduce) { body.sunrise .hero, body.sunrise .hero::before { animation: none; } }
.error .fix { background: none; border: 0; padding: 0; font: inherit; color: var(--pop); text-decoration: underline; cursor: pointer; }

/* Phone and reading fixes (2026-11-24) */
body.sunrise .hero-note { position: absolute; left: 0; right: 0; top: calc(var(--horizon) + 22px); margin: 0; text-align: center; z-index: 3; }
@media (max-width: 600px) { body.sunrise .hero { --horizon: 84%; min-height: 92svh; } body.sunrise .hero-copy { margin-top: 9vh; } }
/* The letter: upright and easy to read; only the opening two lines in italic. */
.letter-card { font-style: normal; }
body.sunrise .letter-card { font: 400 20px/1.65 "EB Garamond", Georgia, serif; color: #2f1002; }
.letter-card p:first-child { font-style: italic; }
body.sunrise .letter-card p:first-child { color: var(--accent); }
body.inside, body.sunrise.inside { background: #fbf3e6 linear-gradient(180deg, #fffdf8 0, #fbf3e6 700px) no-repeat; }

/* Four candidates between "too childish" and "too old" (2026-11-24). Same layout; only colors change. */
/* 1. Golden hour: light, airy honey sky; espresso words. */
body.sunrise[data-palette="golden"] { --s1: #f7e3c4; --s2: #f4d2a6; --s3: #efbf87; --s4: #e8a970; --s5: #e09a66; --s6: #d98c5f; --ground1: #c98a5e; --ground2: #b0744c; --on-hero: #2f1a0c; --italic: #9a4f1e; --btn: #2f1a0c; --btn-text: #fff8ec; --accent: #9a4f1e; }
body.sunrise[data-palette="golden"] { --shade: rgba(217,140,95,.25); }
body.sunrise[data-palette="golden"] .hero h1 { text-shadow: none; }
/* 2. Sage and sun: fresh, restorative green; cream words; gold sun. */
body.sunrise[data-palette="sage"] { --s1: #23352d; --s2: #2f4a3d; --s3: #4a6a55; --s4: #6f8b6e; --s5: #a5b38c; --s6: #d8cfa0; --ground1: #1f2e27; --ground2: #16211c; --on-hero: #f7f3e8; --italic: #f2d49a; --btn: #f7f3e8; --btn-text: #1f2e27; --accent: #4a6a55; }
/* 3. Blush and clay: dusty rose into warm sand; deep plum words. */
body.sunrise[data-palette="blush"] { --s1: #4a2a3a; --s2: #6e3f50; --s3: #9a5f66; --s4: #c48b83; --s5: #e2b7a3; --s6: #f1d7c2; --ground1: #3d2430; --ground2: #2b1922; --on-hero: #fff6f0; --italic: #f6d6a8; --btn: #fff6f0; --btn-text: #3d2430; --accent: #9a5f66; }
/* 4. Luminous dusk: the blue you liked, grown up; two hues only. */
body.sunrise[data-palette="dusk2"] { --s1: #172344; --s2: #22356a; --s3: #33508f; --s4: #5d72a8; --s5: #b9a6b4; --s6: #e8c9ad; --ground1: #1a2340; --ground2: #10172d; --on-hero: #f7f3ec; --italic: #f2d29a; --btn: #f7f3ec; --btn-text: #172344; --accent: #33508f; }
body.sunrise[data-palette="blush"] { --ink: #3d2430; --soft: #6e5562; --line: #ecdcd6; --paper: #fbf6f4; --bark: #3d2430; }
body.sunrise[data-palette="blush"] .letter-card { color: #3d2430; }
body.sunrise[data-palette="blush"].inside { background: #f8efec linear-gradient(180deg, #fffbfa 0, #f8efec 700px) no-repeat; }
body.sunrise[data-palette="blush"] .progress span { background: linear-gradient(90deg, #e2b7a3, #9a5f66); }

/* Easy to hit: the whole sun is clickable, and the button has a larger invisible tap area. */
.orb { cursor: pointer; }
.cta::after { content: ""; position: absolute; inset: -14px -18px; border-radius: 999px; }
.stem { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 0 0 0 14px; margin-top: 8px; }
.stem span { white-space: nowrap; color: var(--soft); }
.stem input { border: 0; margin: 0; padding-left: 0; background: transparent; min-width: 0; flex: 1; text-overflow: ellipsis; }
.stem { overflow: hidden; }
html, body { overflow-x: hidden; }
.stem:focus-within { outline: 3px solid var(--pop); outline-offset: 3px; }
.stem input:focus-visible { outline: none; }

/* Offer bar: always in view on the letter page */
.offer-bar { display: none; }
#result.is-on .offer-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,251,250,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transition: transform .3s; }
#result.is-on .offer-bar.is-hidden { transform: translateY(110%); }
.offer-bar p { margin: 0; font-size: 15px; color: var(--ink); }
.offer-bar .cta { width: auto; margin: 0; padding: 13px 20px; font-size: 15px; white-space: nowrap; }
#result { padding-bottom: 110px; }
@media (max-width: 600px) { .offer-bar p { display: none; } .offer-bar .cta { width: 100%; } }
