/* Bença website (docs/superpowers/specs/2026-10-06-website-design.md). Tokens from docs/design.md §3: the night
   palette for the hero, the ritual, Advent and the closing; the chrome palette (light/dark by the system) for the rest.
   No inline styles anywhere (CSP). Motion only without prefers-reduced-motion (W-15). */

@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url(/site/figtree-400-a64415e6dc.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url(/site/figtree-600-6e07244b0e.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: normal; font-display: swap; src: url(/site/literata-400-210d7e326f.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap; src: url(/site/literata-400-italic-658e89447e.woff2) format("woff2"); }
/* Arial (or a metric twin) shaped like Figtree while the web font loads: no reflow when it swaps in. */
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 99.9%; ascent-override: 95.1%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Corben"; font-weight: 400; font-style: normal; font-display: swap; src: url(/site/corben-400-4bb5669e6c.woff2) format("woff2"); }

:root {
  /* Night (same in both schemes) */
  --n-bg: #0F1433;
  --n-bg-2: #232A63;
  --n-ink: #F2EFFA;
  --n-ink-soft: #D8D4EA;
  --n-muted: #B6B8DE;
  --n-gold: #F4CA74;
  --n-gold-light: #F8DA97;
  --n-coral: #EFA98F;
  --n-rose: #F0AEA8;
  --n-line: rgba(242, 239, 250, 0.16);
  --n-glass: rgba(242, 239, 250, 0.07);
  /* Chrome, light */
  --bg: #F5F3FB;
  --surface: #FFFFFF;
  --surface-2: #ECE9F7;
  --ink: #1D2152;
  --muted: #5C5F8E;
  --line: #DDD9EE;
  --gold: #8F5D0A;
  --rose: #A6444F;

  --display: "Corben", Georgia, serif;
  --reading: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);       /* arriving: decelerate */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);         /* leaving: accelerate */
  --t-press: 150ms;                              /* hover and press feedback */
  --t-enter: 400ms;                              /* a block arriving (reveals) */
  --t-swap-out: 150ms;                           /* the phone mock: old screen out… */
  --t-swap-in: 250ms;                            /* …then the new one in */
  --section: 48px;                               /* vertical rhythm between sections */
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1230;
    --surface: #171C42;
    --surface-2: #1F2552;
    --ink: #ECEAF8;
    --muted: #A3A6D0;
    --line: #2A3166;
    --gold: #F0C46A;
    --rose: #EEA7A3;
  }
}

@media (min-width: 720px) { :root { --gutter: 32px; --section: 88px; } }
@media (min-width: 960px) { :root { --section: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--n-bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; text-wrap: balance; }
/* Corben's word space is narrow for headings: open it a little. */
.hero h1, .section-head h2, .faq-section h2, .advent-copy h2, .closing h2, .page-hero h1, .lost h1, .prose h2,
.step h3, .band h3, .moment, .screen-title, .screen-blessing { word-spacing: 0.06em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--n-gold); outline-offset: 3px; border-radius: 4px; }
.chrome :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: var(--r-s);
  background: var(--n-gold); color: var(--n-bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Surfaces */
.night {
  position: relative;
  isolation: isolate;
  color: var(--n-ink);
  background: linear-gradient(180deg, var(--n-bg) 0%, var(--n-bg-2) 100%);
}
.night a { color: var(--n-ink); }
.chrome { background: var(--bg); color: var(--ink); }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.stars { width: 100%; height: 100%; }

.eyebrow {
  margin-bottom: 12px;
  font: 600 0.8125rem/1.4 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.night .eyebrow { color: var(--n-gold); }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--n-muted); }
.chrome .lead { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--gold);
}
.night .text-link { color: var(--n-gold); }
.text-link::after { content: "→"; margin-left: 8px; }
.text-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: relative; z-index: 2; background: var(--n-bg); color: var(--n-ink); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 108px; height: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--n-muted); font-size: 0.9375rem; font-weight: 600; text-decoration: none; border-radius: var(--r-s);
}
.site-nav a:hover { color: var(--n-ink); background: var(--n-glass); }
.nav-wide { display: none; }
@media (min-width: 760px) {
  .nav-wide { display: inline-flex; }
  .nav-narrow { display: none; }
}

/* Hero (2026-10-14 redesign): the promise and the reminder on the left; on the right a stage with the app's own
   goodnight screen, Nina leaning on the phone, the moon and the old dialogue the name comes from. Phones: the copy
   first (the call to action above the fold at 390 × 844), the stage under it. */
.hero { padding: 8px 0 0; overflow: hidden; }
.hero-horizon {
  position: absolute; left: 50%; bottom: -38%; width: 160%; height: 70%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 202, 116, 0.20), rgba(240, 174, 168, 0.08) 55%, rgba(35, 42, 99, 0) 100%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-bottom: 18px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(35, 42, 99, 0.85); border: 1px solid var(--n-line);
  font: 600 0.875rem/1.35 var(--ui); color: var(--n-ink-soft); text-align: left; text-wrap: balance;
}
.hero-badge-moon { flex: none; width: 18px; height: 18px; }
.hero h1 { font: 400 clamp(2.5rem, 10.5vw, 4.25rem)/1.06 var(--display); letter-spacing: -0.015em; margin-bottom: 18px; }
.hero-accent {
  color: var(--n-gold);
  background: linear-gradient(100deg, var(--n-gold-light) 0%, var(--n-gold) 45%, var(--n-coral) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { max-width: 30em; margin: 0 auto 26px; color: var(--n-ink-soft); }
.hero .cta { gap: 10px; }
.hero .cta .button { flex: 1 1 100%; }
.hero .button-ghost { min-height: 56px; border-color: var(--n-line); background: var(--n-glass); }
.hero .button-ghost:hover { border-color: var(--n-muted); }

.hero-stage { position: relative; justify-self: center; width: min(100%, 340px); height: 560px; margin-top: 4px; }
.hero-halo {
  position: absolute; left: 50%; top: 46%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 202, 116, 0.26), rgba(122, 108, 190, 0.14) 50%, rgba(15, 20, 51, 0) 100%);
}
.hero-moon { position: absolute; top: -6px; right: -4px; width: 92px; height: 92px; }
.hero-phone { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); }
.hero-phone .phone { width: 228px; padding: 8px; border-radius: 38px; font-size: 0.76rem; box-shadow: 0 30px 80px rgba(8, 10, 30, 0.55), 0 0 0 1px rgba(244, 202, 116, 0.10); }
.hero-phone .phone-screen { border-radius: 30px; }
.phone-still .screen { opacity: 1; visibility: visible; }
.hero-nina { position: absolute; left: -6px; bottom: 40px; width: 118px; height: auto; filter: drop-shadow(0 14px 24px rgba(5, 7, 24, 0.55)); }
.hero-quote {
  position: absolute; right: -6px; bottom: 0; margin: 0; padding: 12px 16px; max-width: 210px;
  border-radius: var(--r-l); background: rgba(35, 42, 99, 0.72); border: 1px solid var(--n-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: italic 400 1rem/1.45 var(--reading); color: var(--n-ink); text-align: left;
}

.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding-top: 28px; padding-bottom: 36px;
  font-size: 0.9375rem; font-weight: 600; color: var(--n-ink-soft);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 20px; height: 20px; stroke: var(--n-gold); }
.hero + .story { padding-top: 40px; }

@media (min-width: 560px) {
  .hero .cta .button { flex: 0 1 auto; }
}
@media (min-width: 960px) {
  .hero { padding: 32px 0 0; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; min-height: min(78vh, 720px); }
  .hero-copy { text-align: left; }
  .hero .lead { margin-left: 0; font-size: 1.25rem; }
  .hero-stage { width: 440px; height: 600px; margin: 0; }
  .hero-phone .phone { width: 280px; padding: 10px; border-radius: 44px; font-size: 0.92rem; }
  .hero-phone .phone-screen { border-radius: 35px; }
  .hero-phone { top: 30px; }
  .hero-moon { width: 132px; height: 132px; top: -10px; right: -14px; }
  .hero-nina { width: 168px; left: -30px; bottom: 10px; }
  .hero-quote { left: -96px; top: 96px; right: auto; bottom: auto; max-width: 236px; font-size: 1.0625rem; }
  .hero-trust { justify-content: flex-start; gap: 12px 36px; padding-top: 36px; padding-bottom: 56px; border-top: 1px solid var(--n-line); margin-top: 24px; }
  .hero + .story { padding-top: 64px; }
  .hero .cta .button { white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .hero-quote { left: -24px; top: 70px; }
}

/* Store buttons (W-10) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 164px; min-height: 56px;
  padding: 8px 20px; border-radius: var(--r-m); text-align: left; line-height: 1.2; text-decoration: none;
  background: var(--n-gold); color: var(--n-bg);
}
.store-pre { font-size: 0.8125rem; }
.store-name { font-size: 1.125rem; font-weight: 600; }
a.store:hover { filter: brightness(1.06); }
/* Before launch the stores are badges, not buttons: flat, smaller, nothing to press. */
.store.is-soon {
  flex-direction: row; align-items: baseline; gap: 5px; min-width: 0; min-height: 0; padding: 6px 12px;
  border-radius: 999px; background: var(--n-glass); color: var(--n-ink); border: 0;
}
.store.is-soon .store-pre { font-size: 0.75rem; color: var(--n-muted); }
.store.is-soon .store-name { font-size: 0.875rem; }
.stores-soon .stores { gap: 6px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 14px; }
.cta-note { max-width: 26em; margin: 12px auto 0; font-size: 0.875rem; line-height: 1.5; color: var(--n-muted); }
.stores-note { margin-top: 12px; font-size: 0.9375rem; color: var(--n-muted); text-align: center; }
.hero .text-link { margin-top: 8px; }
@media (min-width: 960px) {
  .hero .stores, .hero .cta { justify-content: flex-start; }
  .hero .stores-note, .hero .cta-note { text-align: left; margin-left: 0; }
}

/* Sections */
section { scroll-margin-top: 8px; }
.section-head { max-width: 40em; margin-bottom: 24px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2, .faq-section h2 { font: 400 clamp(1.75rem, 5vw, 2.5rem)/1.18 var(--display); margin-bottom: 10px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }
.night .section-head p:not(.eyebrow) { color: var(--n-muted); }
.story, .bands, .advent, .features, .privacy, .price, .faq-section, .closing { padding: var(--section) 0; }
.price + .faq-section { padding-top: 0; }
@media (min-width: 960px) { .section-head { margin-bottom: 48px; } }

/* The ritual story */
.story-grid { display: grid; gap: 40px; }
.steps { display: grid; gap: 18px; }
.step { position: relative; padding-left: 48px; }
/* The thread that joins the steps (phones). */
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 15.5px; top: 40px; bottom: -14px; width: 1px; background: var(--n-line);
}
.step h3 { display: flex; align-items: center; gap: 16px; margin-left: -48px; font: 400 1.375rem/1.25 var(--display); margin-bottom: 4px; }
.step p { color: var(--n-muted); font-size: 1rem; }
.step-num {
  flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font: 600 0.9375rem/1 var(--ui); color: var(--n-bg); background: var(--n-gold);
}
.step-moon { background: transparent; }
.step-moon svg { width: 26px; height: 26px; }
.story-phone { display: flex; justify-content: center; order: 2; }
.story { background: linear-gradient(180deg, var(--n-bg-2) 0%, var(--n-bg) 100%); }
.moment {
  margin-top: 44px; text-align: center; font: italic 400 1.25rem/1.5 var(--reading); color: var(--n-ink);
}
@media (min-width: 960px) { .moment { margin-top: 56px; font-size: 1.375rem; } }
.moment span { display: block; color: var(--n-gold); }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
  .story-phone { order: 0; position: sticky; top: max(24px, calc(50vh - 330px)); }
  .steps { gap: 0; }
  .step { min-height: 40vh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 4px; }
  .step:not(:last-child)::before { display: none; }
  .step h3 { margin-left: 0; }
  .step h3 { font-size: 1.75rem; }
  .step p { font-size: 1.1875rem; max-width: 26em; }
  .step-num { width: 40px; height: 40px; }
}

/* Phone mockup */
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 300 / 620; padding: 10px; border-radius: 44px;
  font-size: 1rem; background: #080A1E; border: 1px solid var(--n-line);
  box-shadow: 0 30px 80px rgba(8, 10, 30, 0.55);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 34px;
  background: linear-gradient(180deg, var(--n-bg) 0%, var(--n-bg-2) 100%);
}
/* Phones: a smaller mock (it is decorative; the steps beside it say it all). Its type scales with it. */
@media (max-width: 959px) {
  .phone { width: 228px; padding: 8px; border-radius: 38px; font-size: 0.76rem; }
  .phone-screen { border-radius: 30px; }
  .phone .screen { gap: 8px; padding: 28px 16px 16px; }
}
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 34px 22px 22px;
  opacity: 0; visibility: hidden;
}
.phone[data-active="1"] [data-screen="1"], .phone[data-active="2"] [data-screen="2"],
.phone[data-active="3"] [data-screen="3"], .phone[data-active="4"] [data-screen="4"],
.phone[data-active="5"] [data-screen="5"] { opacity: 1; visibility: visible; }
/* Phones without motion (or without JS) see the goodnight; with motion, site.js cycles the steps (is-cycling). */
@media (max-width: 959px) {
  .phone:not(.is-cycling) .screen:not([data-screen="5"]) { opacity: 0; visibility: hidden; }
  .phone:not(.is-cycling) .screen[data-screen="5"] { opacity: 1; visibility: visible; }
}
.screen-progress { display: flex; gap: 4px; }
.seg { flex: 1; height: 3px; border-radius: 2px; background: var(--n-line); }
.seg.on { background: var(--n-gold); }
.screen-title { margin-top: 8px; font: 400 1.5em/1.2 var(--display); color: var(--n-ink); }
.screen-ref { font-size: 0.8125em; color: var(--n-gold); }
.screen-lines, .screen-tip p { display: flex; flex-direction: column; gap: 9px; }
.screen-lines { margin-top: 10px; }
.screen-lines span, .screen-tip span, .screen-questions span {
  display: block; height: 9px; border-radius: 5px; background: rgba(242, 239, 250, 0.22);
}
.screen-lines .short, .screen-tip .short, .screen-questions .short { width: 62%; }
/* The app's hint (U5): a small gold mark beside a gold label and the parent's line; no box, no rule. */
.screen-tip { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.screen-tip .icon { width: 1.125em; height: 1.125em; margin-top: 1px; stroke: var(--n-gold); }
.screen-tip p { flex: 1; gap: 7px; }
.screen-tip span.screen-tip-label { height: auto; background: none; font-size: 0.75em; color: var(--n-gold); }
/* Converse as the app draws it (6.5 R2): a numbered list, gold numerals, hairlines between, no card. */
.screen-questions { display: grid; margin-top: 8px; counter-reset: q; }
.screen-questions li { position: relative; display: grid; gap: 7px; padding: 12px 0 12px 28px; }
.screen-questions li + li { border-top: 1px solid var(--n-line); }
.screen-questions li::before {
  counter-increment: q; content: counter(q); position: absolute; left: 0; top: 9px;
  font: 400 1.0625em/1 var(--reading); color: var(--n-gold);
}
.screen-prayer { display: grid; gap: 8px; margin-top: 6px; font: 400 1.0625em/1.45 var(--reading); color: var(--n-ink-soft); }
.screen-idea { display: grid; gap: 4px; margin-top: 8px; font: 400 1.0625em/1.4 var(--reading); color: var(--n-ink); }
.screen-idea .screen-tip-label { font: 600 0.75em/1.3 var(--ui); color: var(--n-gold); }
.screen-ritual { display: grid; margin-top: 8px; font-size: 0.9375em; line-height: 1.4; color: var(--n-ink); }
.screen-ritual li { padding: 9px 0; }
.screen-ritual li + li { border-top: 1px solid var(--n-line); }
/* The steps' edge row (design.md §ritual): no button, the step's way on as a gold "{ação} ›", the way back muted. */
.screen-edge { display: flex; align-self: stretch; margin-top: auto; font-size: 0.9375em; }
.screen-edge-back { color: var(--n-muted); }
.screen-edge-next { margin-left: auto; color: var(--n-gold); font-weight: 600; }
/* The goodnight's quiet primary (D-49): glass, a gold hairline and a gold label. */
.screen-button {
  margin-top: auto; align-self: flex-end; padding: 12px 22px; border-radius: 999px;
  background: var(--n-glass); border: 1px solid var(--n-gold); color: var(--n-gold); font-weight: 600; font-size: 0.9375em;
}
/* The goodnight's quiet row (6.5 R1): equal columns on one line, each an icon over a muted label. */
.screen-row { display: grid; grid-template-columns: repeat(3, 1fr); align-self: stretch; column-gap: 8px; font-size: 0.8125em; color: var(--n-muted); }
.screen-action { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.screen-action .icon { width: 1.5em; height: 1.5em; stroke: var(--n-gold); }
.screen-action-rose .icon { stroke: var(--n-rose); }
.screen-goodnight { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.screen-goodnight .screen-button { align-self: stretch; text-align: center; margin-top: 40px; }
.screen-moon { width: 72px; height: 72px; margin-bottom: 8px; }
.screen-night { font: 400 1.1875em/1.4 var(--reading); color: var(--n-muted); }
.screen-blessing { font: 400 1.5em/1.3 var(--display); color: var(--n-ink); }

@media (max-width: 959px) {
  .screen-goodnight .screen-button { margin-top: 24px; }
  .screen-moon { width: 56px; height: 56px; }
}

/* Bands */
.band-list { display: grid; gap: 10px; }
.band { padding: 16px 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.band { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.band p { grid-column: 2; margin-top: 4px; }
.band h3 { font: 400 1.3125rem/1.25 var(--display); margin: 0; }
@media (min-width: 1040px) { .band h3 { font-size: 1.375rem; } }
@media (min-width: 1040px) {
  .band { grid-template-columns: 1fr; align-content: start; padding: 24px; }
  .band h3 { margin-top: 14px; }
  .band p { grid-column: 1; margin-top: 8px; }
}
.band h3 span { display: block; margin-top: 4px; font: 600 0.8125rem/1.4 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.band p { color: var(--muted); }
.growth { width: 48px; height: 48px; grid-row: span 2; }
@media (min-width: 1040px) { .growth { width: 64px; height: 64px; grid-row: auto; } }
.growth .ground { stroke: var(--muted); }
.growth .stem, .growth .leaf { stroke: var(--gold); }
.growth .leaf { fill: var(--gold); fill-opacity: 0.22; }
.growth .seed { fill: var(--gold); stroke: none; }
@media (min-width: 640px) { .band-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .band-list { grid-template-columns: repeat(4, 1fr); } }

/* Advent */
.advent { overflow: hidden; }
.advent-grid { display: grid; gap: 32px; align-items: center; }
.advent-art { display: flex; justify-content: center; }
.wreath { width: 260px; height: auto; }
.advent-copy h2 { font: 400 clamp(1.75rem, 5vw, 2.5rem)/1.18 var(--display); margin-bottom: 16px; }
.advent-copy p { color: var(--n-muted); }
.advent-copy p + p { margin-top: 14px; }
.advent-copy .note { font-size: 0.9375rem; color: var(--n-ink); padding-left: 12px; border-left: 2px solid var(--n-gold); }
@media (min-width: 960px) {
  .advent-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .wreath { width: 420px; }
}

/* Features */
/* Features: no boxes, an icon in a soft chip, the title and one line. */
.feature-list { display: grid; gap: 24px; }
.feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.feature .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: var(--r-m); background: var(--surface-2); grid-row: span 2; }
.feature h3 { font: 600 1.125rem/1.3 var(--ui); margin: 0; }
.feature p { margin-top: 4px; color: var(--muted); }
@media (min-width: 640px) { .feature-list { gap: 32px 40px; } }
.icon { width: 28px; height: 28px; stroke: var(--gold); flex: none; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .feature-list { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .feature { grid-template-columns: 1fr; align-content: start; }
  .feature .icon { grid-row: auto; margin-bottom: 16px; }
  .feature p { margin-top: 6px; }
}

/* Privacy */
.privacy { background: var(--surface-2); }
.privacy-grid { display: grid; gap: 8px; }
.privacy .section-head p + p { margin-top: 12px; }
.checks { display: grid; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; font-size: 1rem; line-height: 1.5; }
@media (min-width: 720px) { .checks li { gap: 14px; padding: 14px 18px; font-size: 1.0625rem; } }
.checks li + li { border-top: 1px solid var(--line); }
.checks .icon { width: 24px; height: 24px; margin-top: 1px; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* Price */
.price-grid { display: grid; gap: 8px; }
.price .section-head { margin-bottom: 16px; }
.price-copy { max-width: 40em; display: grid; gap: 16px; }
.price-copy .checks li { color: var(--ink); }
.price-copy p { color: var(--muted); }
.price-copy strong { color: var(--ink); font-weight: 600; }
.free-line { padding: 14px 18px; border-radius: var(--r-l); background: var(--surface-2); }
.reviewed { display: flex; gap: 12px; align-items: center; color: var(--ink) !important; font-weight: 600; }
@media (min-width: 960px) {
  .price-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .price .section-head { margin-bottom: 40px; }
}

/* FAQ */
.faq-section { background: var(--bg); }
.faq-section h2 { margin-bottom: 24px; }
.faq { display: grid; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px;
  padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.faq-answer a { color: var(--gold); }

/* Closing */
.closing { text-align: center; overflow: hidden; }
.closing-inner { display: grid; justify-items: center; gap: 16px; }
.closing-nina { width: 96px; height: auto; }
@media (min-width: 960px) { .closing-nina { width: 120px; } }
.closing h2 { font: 400 clamp(1.75rem, 5vw, 2.5rem)/1.18 var(--display); }
.closing p { color: var(--n-muted); }
.closing .stores { margin-top: 12px; }
.blessing { margin-top: 16px; font: italic 400 1.3125rem/1.5 var(--reading); color: var(--n-ink) !important; }

/* Inner pages */
.page-hero { padding: 40px 0 48px; overflow: hidden; }
.page-hero h1 { font: 400 clamp(2rem, 6.4vw, 3rem)/1.15 var(--display); margin: 12px 0 14px; max-width: 18em; }
.page-hero .lead { max-width: 40em; }
.crumbs { font-size: 0.9375rem; color: var(--n-muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--n-muted); }
.updated { margin-top: 14px; font-size: 0.875rem; color: var(--n-muted); }
.prose-wrap { background: var(--bg); color: var(--ink); padding: 48px 0 88px; }
.prose { max-width: 760px; }
.prose h2 { font: 400 clamp(1.5rem, 4vw, 1.875rem)/1.25 var(--display); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 1.1875rem/1.35 var(--ui); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p, .prose ul + p, .prose ol + p, .prose .box + p, .prose .table-wrap + p { margin-top: 14px; }
.prose .box + p { margin-top: 20px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose .muted { color: var(--muted); }
.box {
  margin: 20px 0 0; padding: 18px 20px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
}
.box > :first-child { margin-top: 0; }
.box-gold { border-left: 3px solid var(--gold); }
.draft-note {
  margin: 0 0 32px; padding: 16px 18px; border-radius: var(--r-m);
  background: var(--surface-2); border: 1px dashed var(--gold); color: var(--ink); font-size: 0.9375rem;
}
.toc { margin: 0 0 40px; padding: 18px 20px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.toc h2 { font: 600 0.8125rem/1.4 var(--ui) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px !important; }
.toc ol { gap: 4px; }
.toc a { font-weight: 400; color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 14px; border-radius: var(--r-m); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--surface); }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
/* Phones: each row is a card, each cell labeled by its column (data-label), no sideways scroll. */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; border: 0; }
  table, tbody, tr, td { display: block; width: 100%; background: none; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { margin-bottom: 12px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
  td { border-bottom: 1px solid var(--line); }
  td::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.prose .cta-row + p { margin-top: 16px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--gold); color: var(--surface);
  border: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.night .button { background: var(--n-gold); color: var(--n-bg); }
/* The one primary action: a soft gold halo that grows on hover (no layout change, no heavy shadow). */
.button-primary { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; border: 2px solid transparent; box-shadow: 0 0 0 0 rgba(244, 202, 116, 0); }
.button:hover { filter: brightness(1.05); }
.button-primary:hover { box-shadow: 0 0 0 6px rgba(244, 202, 116, 0.16); }
.button-ghost, .night .button-ghost { background: transparent; color: var(--n-ink); border: 1px solid var(--n-muted); }
.chrome .button-ghost, .prose .button-ghost { color: var(--ink); border-color: var(--muted); }
.prose a.button { color: var(--surface); }
.prose a.button-ghost { color: var(--ink); }

/* Invite */
.invite-card {
  margin-top: 28px; padding: 24px; border-radius: var(--r-l); max-width: 30em;
  background: var(--n-glass); border: 1px solid var(--n-line);
}
.invite-label { font: 600 0.8125rem/1.4 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-gold); }
.invite-code { display: block; margin: 8px 0 4px; font: 400 clamp(2rem, 10vw, 2.75rem)/1.2 var(--display); letter-spacing: 0.08em; color: var(--n-ink); }
.invite-none { color: var(--n-muted); }
.invite-status { min-height: 1.6em; margin-top: 8px; font-size: 0.9375rem; color: var(--n-muted); }
.invite-card .button { margin-top: 12px; }
.invite-card [data-invite-copy][hidden] + .invite-status { min-height: 0; margin-top: 0; }
.steps-plain { display: grid; gap: 16px; counter-reset: s; margin-top: 8px; padding: 0 !important; list-style: none !important; }
.steps-plain > li { position: relative; padding-left: 48px; }
.steps-plain > li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font: 600 0.9375rem/1 var(--ui); background: var(--gold); color: var(--surface);
}
.steps-plain .stores { justify-content: flex-start; margin-top: 12px; }
.prose .store.is-soon { background: var(--surface); color: var(--ink); border-color: var(--line); }
.prose .store.is-soon .store-pre { color: var(--muted); }
.prose .stores-note { text-align: left; color: var(--muted); }

/* 404 */
.lost { min-height: 72vh; display: grid; align-content: center; padding: 56px 0 88px; text-align: center; }
.lost-inner { display: grid; justify-items: center; gap: 16px; }
.lost h1 { font: 400 clamp(2rem, 6vw, 2.75rem)/1.2 var(--display); }
.lost p { color: var(--n-muted); max-width: 30em; }
.lost .cta-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--n-bg); color: var(--n-ink); padding: 48px 0 28px; border-top: 1px solid var(--n-line); }
.footer-grid { display: grid; gap: 24px; }
.footer-brand img { width: 140px; height: auto; margin-bottom: 10px; }
.footer-brand p { color: var(--n-muted); }
.footer-small { margin-top: 8px; font-size: 0.9375rem; max-width: 22em; }
.footer-title { font: 600 0.8125rem/1.4 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-gold); margin-bottom: 8px; }
/* Phones: the links wrap in rows (each still 44 px tall), so the footer stays short. */
.site-footer ul { display: flex; flex-wrap: wrap; column-gap: 20px; font-size: 0.9375rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--n-ink); text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-base {
  display: grid; gap: 6px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--n-line);
  font-size: 0.875rem; color: var(--n-muted);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px 20px; }
  .footer-brand img { width: 168px; margin-bottom: 12px; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .site-footer ul { display: grid; font-size: 1rem; }
  .footer-base { grid-auto-flow: column; justify-content: space-between; }
}

/* Wide screens: the stars stay out of the text column (they twinkle; text must stay calm and legible). */
@media (min-width: 960px) {
  .hero .sky, .page-hero .sky { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 8%, transparent 12%, transparent 56%, #000 62%); mask-image: linear-gradient(90deg, #000 0%, #000 8%, transparent 12%, transparent 56%, #000 62%); }
  .page-hero .sky { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 8%, transparent 12%, transparent 76%, #000 82%); mask-image: linear-gradient(90deg, #000 0%, #000 8%, transparent 12%, transparent 76%, #000 82%); }
  .advent .sky { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 50%, transparent 88%, #000 92%); mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 50%, transparent 88%, #000 92%); }
  .closing .sky, .lost .sky { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 20%, transparent 26%, transparent 74%, #000 80%); mask-image: linear-gradient(90deg, #000 0%, #000 20%, transparent 26%, transparent 74%, #000 80%); }
}

/* Motion (D-21; ux-polish spec §6 and W6): ambient loops 3–9 s, low amplitude; reveals 400 ms / 12 px with a short
   stagger; press feedback 150 ms; the phone mock swaps screens out-then-in. All off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  .tw { animation: twinkle 6s ease-in-out infinite; }
  .tw1 { animation-duration: 4.2s; }
  .tw2 { animation-duration: 6.4s; animation-delay: -1.2s; }
  .tw3 { animation-duration: 8.6s; animation-delay: -3s; }
  .tw4 { animation-duration: 5.4s; animation-delay: -2.1s; }
  .tw5 { animation-duration: 7.2s; animation-delay: -4s; }
  .tw6 { animation-duration: 3.6s; animation-delay: -0.6s; }
  .nina-breathe { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 6s ease-in-out infinite; }
  .hero-halo, .hero-horizon { animation: glow 9s ease-in-out infinite; }
  .hero-phone .phone { animation: float 7s ease-in-out infinite; }
  .moon-glow { animation: moon-glow 9s ease-in-out infinite; }
  .dialogue p { animation: line-in 600ms var(--ease) both; }
  .dialogue p:nth-child(1) { animation-delay: 150ms; }
  .dialogue p:nth-child(2) { animation-delay: 750ms; }
  .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 3s ease-in-out infinite; }
  .f2 { animation-delay: -0.8s; } .f3 { animation-delay: -1.6s; } .f4 { animation-delay: -2.2s; }

  /* Press and hover: quick, and the press never moves anything around it. */
  .button, .text-link::after { transition: transform var(--t-press) var(--ease), box-shadow 250ms var(--ease), filter var(--t-press) var(--ease); }
  .faq summary::after { transition: transform 250ms var(--ease); }
  .button:active { transform: scale(0.97); }

  /* The phone mock: the old screen fades out (150 ms), then the new one fades in (250 ms). Never two at once. */
  .screen { transition: opacity var(--t-swap-out) var(--ease-in), visibility 0s linear var(--t-swap-out); }
  .phone[data-active="1"] [data-screen="1"], .phone[data-active="2"] [data-screen="2"],
  .phone[data-active="3"] [data-screen="3"], .phone[data-active="4"] [data-screen="4"],
  .phone[data-active="5"] [data-screen="5"] {
    transition: opacity var(--t-swap-in) var(--ease) var(--t-swap-out), visibility 0s linear var(--t-swap-out);
  }

  /* Advent: the four candles light as the section scrolls in (scroll-driven, where supported). */
  @supports (animation-timeline: view()) {
    .flame { animation: light linear both, flicker 3s ease-in-out infinite; animation-timeline: view(), auto; }
    .f1 { animation-range: entry 40% cover 35%, normal; }
    .f2 { animation-range: cover 30% cover 40%, normal; }
    .f3 { animation-range: cover 35% cover 45%, normal; }
    .f4 { animation-range: cover 40% cover 50%, normal; }
  }

  /* Reveals: site.js marks what is still below the fold (is-pending) and lets it in when it scrolls into view.
     Without JS nothing is hidden. Items that arrive together follow each other by 50 ms (at most 200 ms). */
  [data-reveal] { transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
  [data-reveal].is-pending { opacity: 0; transform: translateY(12px); }
  [data-reveal].d1 { transition-delay: 50ms; }
  [data-reveal].d2 { transition-delay: 100ms; }
  [data-reveal].d3 { transition-delay: 150ms; }
  [data-reveal].d4 { transition-delay: 200ms; }
}

@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes moon-glow { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.05; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: 0.8; } 50% { transform: translateY(-6px); opacity: 0.4; } }
@keyframes line-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes light { from { opacity: 0; } to { opacity: 1; } }
@keyframes flicker { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.94, 1.04); } }

/* Store buttons inside a page's prose (the invite steps) */
.prose .stores { list-style: none; padding: 0; margin-top: 12px; display: flex; }
