/* The public homepage (and /privacy). Apricot tokens are inline here because this page has its own
   light/dark toggle (data-theme), separate from the app's theme.js. Source: marketing/homepage-combined.html. */
@font-face { font-family: "Fredoka"; src: url(/fonts/fredoka.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/fonts/atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/fonts/atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/fonts/atkinson-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Layout: the clear homepage (promise, steps, questions, sign-up) with a 4-panel comic strip as the emotional hook.
   Tokens: design/tokens.css, direction B "Apricot" (owner's pick, 26 Oct 2026). */
:root {
  --bg: #FFF3E8; --surface: #FFFFFF; --surface-2: #FFE8D6; --line: #F1DCCB; --field-line: #9C8378;
  --ink: #2A1E1A; --ink-2: #6B5A52; --link: #9A3D12; --on-color: #2A1E1A;
  --apricot: #FF8A4C; --apricot-press: #F2733A; --apricot-deep: #E8692B; --apricot-soft: #FFE1CF;
  --mint: #9FDFC0; --mint-soft: #E1F5EA; --lilac: #CBB8FF; --lilac-soft: #EEE8FF; --butter: #FFD46B; --butter-soft: #FFF1C9;
  --info: #4B3A99; --info-soft: #EEE8FF; --error: #A8261B; --error-soft: #FDE4DF;
  --inverse: #2A1E1A; --inverse-ink: #FFF3E8; --inverse-ink-2: #D9C8BD;
  --hair-grey: #E4DAD2; --hair-dark: #3A2A22; --phone: #2A1E1A; --screen: #E1F5EA;
  --focus: #2A1E1A;
  --font-display: "Fredoka", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --r-sm: 14px; --r-md: 20px; --r-lg: 26px; --r-xl: 32px; --r-pill: 999px;
  --r-blob: 58% 42% 55% 45% / 52% 60% 40% 48%; --r-blob-2: 45% 55% 40% 60% / 55% 45% 60% 40%;
  --shadow: 0 6px 20px rgba(42, 30, 26, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1411; --surface: #2A201C; --surface-2: #352924; --line: #4A3A33; --field-line: #8C7368;
    --ink: #FFF3E8; --ink-2: #CDB8AC; --link: #FFB38A; --on-color: #2A1E1A;
    --apricot: #FF9A62; --apricot-press: #FF8A4C; --apricot-deep: #FF9A62; --apricot-soft: #4A2A1C;
    --mint: #8ED9B8; --mint-soft: #1D3A2E; --lilac: #B9A6FF; --lilac-soft: #2F2748; --butter: #FFD46B; --butter-soft: #3D3218;
    --info: #CFC2FF; --info-soft: #2F2748; --error: #FFA89C; --error-soft: #4A1F1A;
    --inverse: #352924; --inverse-ink: #FFF3E8; --inverse-ink-2: #CDB8AC;
    --hair-grey: #D9CFC7; --hair-dark: #120C0A; --phone: #120C0A; --screen: #1D3A2E;
    --focus: #FFF3E8; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1411; --surface: #2A201C; --surface-2: #352924; --line: #4A3A33; --field-line: #8C7368;
  --ink: #FFF3E8; --ink-2: #CDB8AC; --link: #FFB38A; --on-color: #2A1E1A;
  --apricot: #FF9A62; --apricot-press: #FF8A4C; --apricot-deep: #FF9A62; --apricot-soft: #4A2A1C;
  --mint: #8ED9B8; --mint-soft: #1D3A2E; --lilac: #B9A6FF; --lilac-soft: #2F2748; --butter: #FFD46B; --butter-soft: #3D3218;
  --info: #CFC2FF; --info-soft: #2F2748; --error: #FFA89C; --error-soft: #4A1F1A;
  --inverse: #352924; --inverse-ink: #FFF3E8; --inverse-ink-2: #CDB8AC;
  --hair-grey: #D9CFC7; --hair-dark: #120C0A; --phone: #120C0A; --screen: #1D3A2E;
  --focus: #FFF3E8; --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.5; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(48px, 8vw, 88px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
a { color: var(--link); }
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 32em; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 40em; }

/* Buttons (pill, Fredoka 20px, 56px tall) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--apricot); color: var(--on-color); }
.btn-primary:hover { background: var(--apricot-press); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }
.btn svg { width: 22px; height: 22px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--on-color); flex: none; }
.circle .icon { width: 28px; height: 28px; }
.c-apricot { background: var(--apricot); } .c-mint { background: var(--mint); } .c-lilac { background: var(--lilac); } .c-butter { background: var(--butter); }

/* Top bar */
.top { padding-block: 16px; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo { width: 40px; height: 40px; background: var(--apricot); border-radius: var(--r-blob); display: grid; place-items: center; }
.logo svg { width: 22px; height: 12px; }
.top .btn { min-height: 48px; padding: 0 20px; font-size: 1.05rem; }
.top-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 420px) {
  .brand { gap: 8px; font-size: 1.25rem; }
  .logo { width: 32px; height: 32px; }
  .logo svg { width: 18px; height: 10px; }
  .top-actions { gap: 8px; }
}
@media (max-width: 400px) { .top-actions .signin-link[href="/gift"] { display: none; } }  /* it's in the footer too */
@media (max-width: 340px) { .brand { font-size: 1.125rem; } }
.theme-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-btn:hover { border-color: var(--ink-2); }
.theme-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.theme-btn .moon { display: none; }
.theme-btn.is-dark .sun { display: none; }
.theme-btn.is-dark .moon { display: block; }

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pebbles { position: relative; min-height: 340px; display: grid; place-items: center; }
.pebble { position: absolute; }
.p1 { width: 62%; aspect-ratio: 1.1; background: var(--butter); border-radius: var(--r-blob); top: 0; left: 4%; }
.p2 { width: 52%; aspect-ratio: 1; background: var(--lilac); border-radius: var(--r-blob-2); bottom: 0; right: 2%; }
.p3 { width: 22%; aspect-ratio: 1; background: var(--mint); border-radius: var(--r-blob); top: 8%; right: 10%; }
.story-row {
  position: relative; width: min(100%, 360px); background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px;
  display: grid; grid-template-columns: 48px 1fr 48px; gap: 12px; align-items: center; box-shadow: var(--shadow);
}
.story-row > * { min-width: 0; }
.avatar { width: 48px; height: 48px; border-radius: var(--r-blob); background: var(--butter); color: var(--on-color); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.story-row b { display: block; font-size: 1.0625rem; line-height: 1.3; }
.story-row > div span { font-size: .9375rem; color: var(--ink-2); }
.play { width: 48px; height: 48px; border-radius: 50%; background: var(--apricot); color: var(--on-color); display: grid; place-items: center; }
.play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
button.play { border: 0; cursor: pointer; padding: 0; }
/* Live sound wave under the sample story while it plays */
.sample-wave { grid-column: 1 / -1; width: 100%; height: 40px; display: block; }
.sample-wave[hidden] { display: none; }
.play .i-pause { display: none; margin-left: 0; }
.play.playing .i-play { display: none; }
.play.playing .i-pause { display: block; }
.play:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-note { position: absolute; bottom: 6%; left: 2%; background: var(--surface); border-radius: var(--r-md); padding: 8px 14px; font-size: .9375rem; box-shadow: var(--shadow); }

/* Comic strip */
.strip-sec { background: var(--surface); }
.strip-head { margin-top: 28px; }
.strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.panel { background: var(--bg); border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel.night { background: var(--lilac-soft); }
.cap { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.bubble {
  position: relative; align-self: flex-start; background: var(--surface); border-radius: var(--r-md); padding: 8px 12px;
  font-size: 1rem; line-height: 1.3; box-shadow: var(--shadow); max-width: 100%;
}
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -8px; width: 16px; height: 16px; background: var(--surface); transform: rotate(45deg); border-radius: 3px; }
.bubble.r { align-self: flex-end; } .bubble.r::after { left: auto; right: 22px; }
.bubble.think { border-radius: var(--r-pill); font-style: italic; }
.bubble.think::after { width: 9px; height: 9px; border-radius: 50%; bottom: -14px; transform: none; }
.panel svg.art { width: 100%; height: auto; display: block; margin-top: auto; }
.panel:nth-child(4) { background: var(--butter-soft); }
.callout { margin-top: 36px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.15; max-width: 22em; text-wrap: balance; }
.callout span { color: var(--link); }

/* Art fills (flat, no outlines) */
.f-ink { fill: var(--ink); } .f-phone { fill: var(--phone); } .f-screen { fill: var(--screen); }
.f-apricot { fill: var(--apricot); } .f-mint { fill: var(--mint); } .f-lilac { fill: var(--lilac); } .f-butter { fill: var(--butter); }
.f-hair-grey { fill: var(--hair-grey); } .f-hair-dark { fill: var(--hair-dark); } .f-hair-brown { fill: #5A3A26; } .f-hair-chestnut { fill: #8A5530; } .f-face { fill: #2A1E1A; }
.s-face { fill: none; stroke: #2A1E1A; stroke-width: 3; stroke-linecap: round; }
.s-ink { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }
.s-apricot { fill: none; stroke: var(--apricot-deep); stroke-width: 3.5; stroke-linecap: round; }

/* Steps and ways */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.num { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.way { border-radius: var(--r-lg); padding: 20px; display: flex; gap: 14px; align-items: flex-start; color: var(--on-color); min-width: 0; }
.way > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.way .circle { width: 46px; height: 46px; background: var(--surface); color: #2A1E1A; }
.way h3 { font-size: 1.15rem; }
.way p { font-size: 1rem; }
.ways-label { margin-top: 40px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }

/* Questions as speech bubbles */
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; margin-top: 32px; }
.qa > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.q { align-self: flex-start; background: var(--surface); border-radius: var(--r-md); padding: 10px 16px; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; position: relative; }
.q::after { content: ""; position: absolute; left: 22px; bottom: -8px; width: 16px; height: 16px; background: var(--surface); transform: rotate(45deg); border-radius: 3px; }
.a { margin-left: 22px; padding: 12px 16px; border-radius: var(--r-md); background: var(--butter-soft); }
.a b { font-weight: 700; }

/* Proof */
.proof { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 36px); }
.proof > * { min-width: 0; }

/* Rewards */
.rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.reward { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.reward ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }

/* Kept */
.kept { background: var(--inverse); color: var(--inverse-ink); position: relative; overflow: hidden; }
.kept .wrap { position: relative; }
.kept h2 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.kept p { color: var(--inverse-ink-2); max-width: 34em; font-size: 1.2rem; }
.kept .pebble { opacity: .9; }
.k1 { width: 140px; height: 120px; background: var(--apricot); border-radius: var(--r-blob); right: -30px; top: -40px; }
.k2 { width: 70px; height: 64px; background: var(--butter); border-radius: var(--r-blob-2); right: 110px; top: 40px; }


/* Join */
.join { background: var(--surface); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.join-grid > * { min-width: 0; }
.deal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.deal li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.tick { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #2A1E1A; display: grid; place-items: center; }
.tick .icon { width: 18px; height: 18px; stroke-width: 2.6; }
form { background: var(--bg); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 1.0625rem; }
.hint { font-weight: 400; font-size: 1rem; color: var(--ink-2); }
input, select {
  font: inherit; font-weight: 400; font-size: 1.125rem; color: var(--ink); background: var(--surface);
  border: 2px solid var(--field-line); border-radius: var(--r-md); min-height: 56px; padding: 0 16px; width: 100%;
}
input:focus, select:focus { border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > * { min-width: 0; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.check input { width: 30px; min-height: 30px; height: 30px; flex: none; accent-color: var(--apricot-deep); padding: 0; }
.notice { border-radius: var(--r-md); padding: 14px 16px; background: var(--info-soft); color: var(--info); }
.notice.err { background: var(--error-soft); color: var(--error); }

footer { padding-block: 32px 40px; font-size: .9375rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 860px) {
  .hero-grid, .join-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .steps, .ways, .rewards { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .pebbles { min-height: 280px; }
}
@media (max-width: 480px) {
  .top .btn { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .strip { gap: 10px; }
  .panel { padding: 10px; }
  .bubble { font-size: .95rem; }
}

/* Moved out of inline style attributes (the site's Content-Security-Policy blocks those) */
.sprite { position: absolute; }
.s-face.thin { stroke-width: 2.4; }
.no-top { padding-top: 0; }
.h2-tight { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
/* Digits in Fredoka 500: Atkinson's slashed zero reads like "Ø" */
.num { font-family: var(--font-display); font-weight: 500; }

/* Sign-up form: hidden bot trap, privacy note, sign-in link, success state */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.form-privacy a, .privacy a { color: var(--link); }
.form-privacy a { display: inline-block; padding: 8px 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.notice.ok { background: var(--mint-soft); color: var(--ink); }
.signin-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 420px) { .signin-link { font-size: .9375rem; } }
.privacy { max-width: 680px; margin: 0 auto; padding: 32px 20px 72px; }
.privacy h1 { margin: 0 0 16px; }
.privacy h2 { margin: 28px 0 8px; font-size: 1.375rem; }
.privacy p, .privacy li { line-height: 1.6; }

/* homepage: plan teaser */
.plan-cta { display: grid; gap: 12px; align-content: start; background: var(--bg); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 32px); }
.plan-cta-price { margin: 0; font-size: 1.125rem; }
.plan-cta-price b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; display: block; }
footer a { color: inherit; }
@media (max-width: 520px) { .top-cta { display: none; } }

/* /pricing */
.price-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: end; margin: 8px 0 24px; }
.seg { display: inline-flex; background: var(--surface); border-radius: var(--r-pill); padding: 4px; gap: 4px; }
.seg-btn { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink);
  font: 600 1.0625rem/1 var(--font-display); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--apricot); color: var(--on-color); }
.seg-btn .save { font: 700 .8125rem/1 var(--font-body); margin-left: 6px; }
.cur { display: grid; gap: 6px; font-weight: 700; }
.cur select { min-width: 190px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { display: grid; align-content: start; gap: 10px; background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 32px); position: relative; }
.plan h2 { margin: 0; }
.plan-family { box-shadow: inset 0 0 0 3px var(--apricot-deep); }
.plan-badge { position: absolute; top: -14px; right: 20px; margin: 0; background: var(--butter); color: var(--on-color); border-radius: var(--r-pill);
  padding: 6px 14px; font: 700 .875rem/1 var(--font-body); }
.plan-price { margin: 0; font-size: 1.125rem; }
.plan-price b { font: 600 2.6rem/1 var(--font-display); }
.plan-sub { margin: 0; color: var(--ink-2); font-family: var(--font-display); font-weight: 500; }
.plan-eur { margin: 0; color: var(--ink-2); font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.plan .deal { margin: 8px 0 12px; }
.plan .btn { width: 100%; }
.tax-note { margin-top: 14px; text-align: center; }
@media (max-width: 430px) { .nav-extra { display: none; } }
.privacy h3 { margin: 20px 0 6px; font-size: 1.125rem; }
.deleted-note { max-width: 680px; margin: 16px auto 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--mint-soft); color: var(--ink); }

/* Gift pages */
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .gift-grid { grid-template-columns: 1fr; } }
.gift-grid > * { min-width: 0; }
.gift-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.gift-steps li { display: flex; gap: 12px; align-items: flex-start; }
.gift-form { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 32px); }
.gift-form textarea { font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--surface); border: 2px solid var(--field-line);
  border-radius: var(--r-md); padding: 12px 16px; width: 100%; min-height: 96px; }
.gift-choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift-choice legend { font-weight: 700; margin-bottom: 8px; }
.gift-opt { position: relative; }
.gift-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gift-opt > span { display: grid; gap: 2px; padding: 14px; border-radius: var(--r-lg); border: 2px solid var(--field-line); height: 100%; }
.gift-opt b { font: 600 1.0625rem/1.2 var(--font-display); }
.gift-opt i { font: 600 1.5rem/1.2 var(--font-display); font-style: normal; }
.gift-opt small { color: var(--ink-2); font-weight: 400; }
.gift-opt input:checked + span { border-color: var(--apricot-deep); background: var(--apricot-soft); box-shadow: inset 0 0 0 1px var(--apricot-deep); }
.gift-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.narrow { max-width: 560px; }
.gift-card { display: grid; gap: 14px; background: var(--surface); border-radius: var(--r-xl); padding: clamp(22px, 5vw, 36px); }
.gift-card h1 { margin: 0; font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
.gift-card .lede { margin: 0; }
.gift-card .btn { width: 100%; }
.gift-story { width: 100%; box-shadow: none; background: var(--bg); }
.keep { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; font-size: .9375rem; }
.keep p { margin: 0; }
.keep a, .gift-card a:not(.btn):not(.google-btn) { color: var(--link); }
.gift-reveal { text-align: center; justify-items: center; }
.gift-reveal blockquote { margin: 0; font-size: 1.25rem; font-style: italic; }
.gift-pebbles { display: flex; gap: 10px; justify-content: center; }
.gift-pebbles span { width: 26px; height: 24px; border-radius: var(--r-blob); background: var(--apricot); animation: float 2.4s ease-in-out infinite; }
.gift-pebbles span:nth-child(2) { background: var(--butter); animation-delay: .4s; }
.gift-pebbles span:nth-child(3) { background: var(--lilac); animation-delay: .8s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .gift-pebbles span { animation: none; } }
.cell-link { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
/* Continue with Google on the gift page (Google's own colours) */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; width: 100%; padding: 0 20px;
  background: #131314; color: #E3E3E3; border: 1px solid #8E918F; border-radius: 999px; font: 500 17px Roboto, Arial, sans-serif; text-decoration: none; }
.google-btn svg { width: 22px; height: 22px; background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
:root[data-theme="dark"] .google-btn { background: #fff; color: #1F1F1F; border-color: #747775; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .google-btn { background: #fff; color: #1F1F1F; border-color: #747775; } }
.gift-line { text-align: center; margin: 18px 0 0; } .gift-line a { color: var(--link); font-weight: 700; }
[hidden] { display: none !important; }
.todo { background: #FFD46B; color: #2A1E1A; padding: 0 4px; border-radius: 4px; }
.muted-line { color: var(--ink-2); }
.legal-links { margin-top: 32px; font-size: .9375rem; }
.legal-links a { color: var(--link); }
.tax-note a { color: var(--link); }
