/*
 * Birth Codes website: one stylesheet for the home page and the generated pages (privacy, support, delete account, 404).
 * Dark cosmic premium: the app's night sky (tokens below match apps/mobile/src/theme), antique gold, a violet glow.
 * Phone width first; wider layouts are added in the media queries at the end. All motion stops under reduced motion.
 */
:root {
  --night: #0B0D18; --bg: #0F0E1A; --bg-deep: #0A0914; --surface: #1A1829; --surface2: #242238; --border: #2E2B45;
  --glass: rgba(26, 24, 41, .62); --glass-hi: rgba(36, 34, 56, .72); --line: rgba(255, 255, 255, .08); --line-hi: rgba(217, 164, 65, .38);
  --text: #F4F1EA; --muted: #A9A4BD; --faint: #77728F;
  --gold: #D9A441; --gold-hi: #F3D08A; --gold-deep: #A8701E; --violet: #9B7BE0; --violet-deep: #5B3FB0;
  --radius: 24px; --radius-sm: 16px; --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }                        /* anchors land below the sticky nav */
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(95% 55% at 50% 0%, rgba(30, 42, 84, .85) 0%, transparent 100%) no-repeat, radial-gradient(45% 22% at 50% 0%, rgba(217, 164, 65, .07), transparent) no-repeat, var(--night);
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1a1407; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; position: relative; }

/* ---- Sky: "calm night" as in the app (owner, 22 Nov 2026): deep navy, one soft blue glow from the top, sparse dim stars.
        The drifting purple and blue nebula glows are switched off. ---- */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.sky .glow { display: none; }
#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
html, body { overscroll-behavior-y: none; }   /* no rubber-band bounce past the footer, which jolted the fixed sky */

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(42px, 11vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(32px, 7.5vw, 56px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.3; color: var(--gold-hi); }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.gold { color: var(--gold-hi); }
.shine { background: linear-gradient(100deg, var(--gold-hi) 10%, var(--gold) 45%, #FFF3D6 60%, var(--gold) 80%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s ease-in-out infinite; }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 16px/1.2 var(--sans); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn-gold { color: #1F1606; background: linear-gradient(135deg, #FBE3A1, var(--gold) 55%, var(--gold-deep)); box-shadow: 0 8px 28px -8px rgba(217, 164, 65, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover { color: #1F1606; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(217, 164, 65, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.btn-ghost:hover { color: #fff; border-color: var(--line-hi); background: rgba(255, 255, 255, .07); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px 10px 16px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: rgba(10, 9, 20, .7); border: 1px solid var(--border); transition: transform .25s var(--ease), border-color .25s; }
.store:hover { color: #fff; transform: translateY(-2px); border-color: var(--line-hi); }
.store span { display: flex; flex-direction: column; font: 700 18px/1.15 var(--sans); }
.store small { font: 500 11px/1.3 var(--sans); letter-spacing: .04em; color: var(--muted); }

/* ---- Glass ---- */
/* No backdrop blur: blurring the moving star canvas behind every card re-rendered each frame and made the page flicker
   while scrolling (owner, 24 Nov 2026). A denser fill keeps the same look. */
.glass { background: linear-gradient(160deg, rgba(36, 34, 56, .9), rgba(26, 24, 41, .84)); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15, 14, 26, .72); border-bottom-color: var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 20px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 24px -4px rgba(217, 164, 65, .45); }
.nav .links { display: none; gap: 28px; }
.nav .links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav .links a:hover { color: var(--text); }

/* ---- Sections ---- */
section { padding: 72px 0; position: relative; }
.head { max-width: 760px; margin-bottom: 40px; }
.head h2 { margin-top: 14px; }
.head p { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---- Hero ---- */
.hero { padding: 36px 0 64px; overflow: hidden; }   /* the halo and rings are wider than a phone */
.hero .wrap { display: grid; gap: 48px; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 560px; }
.hero .stores { margin-top: 30px; }
.soon { margin-top: 12px; font-size: 14px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 14px; color: var(--muted); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.chip b { color: var(--text); font-weight: 600; }

.stage { position: relative; height: 560px; max-width: 420px; width: 100%; margin: 0 auto; }
.stage .halo { position: absolute; left: 50%; top: 48%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 164, 65, .32), rgba(155, 123, 224, .2) 45%, transparent 72%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
.stage .ring { position: absolute; left: 50%; top: 48%; border: 1px solid rgba(217, 164, 65, .22); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.stage .r1 { width: 400px; height: 400px; }
.stage .r2 { width: 520px; height: 520px; border-color: rgba(155, 123, 224, .14); border-style: dashed; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cardback { position: absolute; z-index: 1; width: 150px; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 50px -10px rgba(217, 164, 65, .55); }
.cardback.c1 { left: -6px; top: 70px; transform: rotate(-14deg); animation: float1 9s ease-in-out infinite; }
.cardback.c2 { right: -6px; top: 250px; width: 132px; transform: rotate(11deg); animation: float2 10s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: rotate(11deg) translateY(0); } 50% { transform: rotate(9deg) translateY(-10px); } }

.phone { position: absolute; z-index: 2; left: 50%; top: 0; transform: translateX(-50%); width: 268px; height: 548px; border-radius: 46px; padding: 10px;
  background: linear-gradient(150deg, #3a3550, #12101f 40%, #2a2640); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 70px -20px rgba(155, 123, 224, .5); }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; padding: 44px 16px 16px; background: radial-gradient(120% 60% at 50% 0%, #1E2A54, var(--night) 70%); }
.screen .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05040a; }
.screen .date { font: 600 10px/1 var(--sans); letter-spacing: .16em; color: var(--faint); }
.screen .hello { font: 700 22px/1.2 var(--serif); margin-top: 6px; }
.energy { margin-top: 14px; border-radius: 20px; padding: 14px; background: linear-gradient(160deg, rgba(36, 34, 56, .95), rgba(26, 24, 41, .9)); border: 1px solid rgba(217, 164, 65, .25); }
.energy .top { display: flex; gap: 12px; align-items: center; }
.energy img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 22px -4px rgba(155, 123, 224, .8); }
.energy .t { font: 600 9px/1 var(--sans); letter-spacing: .16em; color: var(--gold); }
.energy .h { font: 700 19px/1.15 var(--serif); margin-top: 5px; }
.energy p { font-size: 12.5px; line-height: 1.5; color: #DDD8EA; margin-top: 10px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tile { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 14px; background: rgba(36, 34, 56, .8); border: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.tile img { width: 30px; height: 30px; border-radius: 9px; }
.tile small { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); }
.cotd { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 12px 9px 9px; border-radius: 14px; background: linear-gradient(135deg, rgba(91, 63, 176, .35), rgba(36, 34, 56, .85)); border: 1px solid rgba(155, 123, 224, .35); }
.cotd img { width: 26px; height: 39px; border-radius: 4px; box-shadow: 0 0 12px -2px rgba(217, 164, 65, .6); }
.cotd span { flex: 1; font-size: 12px; font-weight: 600; }
.cotd small { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); }
.cotd i { font-style: normal; color: var(--gold); font-size: 18px; }
.screen .tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; padding: 10px 0; border-radius: 18px; background: rgba(15, 14, 26, .9); border: 1px solid var(--border); font-size: 10px; color: var(--faint); }
.screen .tabbar b { color: var(--gold); font-weight: 600; }

/* ---- Readings grid ---- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rcard { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.rcard:hover { transform: translateY(-6px); border-color: var(--line-hi); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 40px -18px rgba(217, 164, 65, .5); }
.rcard .art { position: relative; aspect-ratio: 720 / 542; overflow: hidden; }
.rcard .art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rcard:hover .art img { transform: scale(1.06); }
.rcard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26, 24, 41, .95)); }
.rcard .body { padding: 4px 22px 24px; }
.rcard p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.tag { position: absolute; top: 14px; right: 14px; z-index: 2; font: 700 11px/1 var(--sans); letter-spacing: .12em; padding: 7px 10px; border-radius: 999px;
  color: var(--text); background: rgba(15, 14, 26, .88); border: 1px solid var(--line); }
.tag.pro { color: #1F1606; background: linear-gradient(135deg, #FBE3A1, var(--gold)); border: 0; }
.sigils { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 18px; aspect-ratio: 720 / 542; align-content: center; background: radial-gradient(closest-side, rgba(155, 123, 224, .25), transparent); }
.sigils img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 16px -6px rgba(155, 123, 224, .9); }

/* ---- Split layouts ---- */
.split { display: grid; gap: 44px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold-hi) 0 3px, transparent 4px), rgba(217, 164, 65, .14); border: 1px solid rgba(217, 164, 65, .45); }

/* ---- How it works ---- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; position: relative; }
.step .num { font: 700 15px/1 var(--serif); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-hi);
  border: 1px solid rgba(217, 164, 65, .45); background: radial-gradient(circle, rgba(217, 164, 65, .18), transparent 70%); box-shadow: 0 0 30px -8px rgba(217, 164, 65, .55); }
.step h3 { margin-top: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.solar { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(10, 9, 20, .55); border: 1px solid var(--border); font-size: 14px; }
.solar .row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.solar .row span { color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; font: 600 12px/1 var(--sans); letter-spacing: .06em; }
.flow span { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: rgba(10, 9, 20, .55); color: var(--muted); }
.flow span.on { color: var(--gold-hi); border-color: rgba(217, 164, 65, .45); }
.flow i { font-style: normal; color: var(--faint); align-self: center; }

/* ---- Journal ---- */
.journal-ui { padding: 22px; max-width: 460px; width: 100%; margin: 0 auto; }
.journal-ui .label { font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }
.dots { display: flex; justify-content: space-between; margin-top: 12px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--border)); box-shadow: 0 0 10px -2px var(--c, transparent); }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.moods span { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: rgba(10, 9, 20, .45); }
.moods span.on { color: #1F1606; background: linear-gradient(135deg, #FBE3A1, var(--gold)); border-color: transparent; font-weight: 600; }
.entry { margin-top: 18px; padding: 16px; border-radius: var(--radius-sm); background: rgba(10, 9, 20, .55); border: 1px solid var(--border); }
.entry .prompt { font: italic 600 16px/1.4 var(--serif); color: var(--gold-hi); }
.entry p { font-size: 14.5px; color: #DDD8EA; margin-top: 8px; }
.bubble { margin-top: 14px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; font-size: 14.5px; line-height: 1.55; color: #EDE8F8;
  background: linear-gradient(150deg, rgba(155, 123, 224, .28), rgba(91, 63, 176, .18)); border: 1px solid rgba(155, 123, 224, .35); }
.bubble b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; }
.journal-ui .actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.journal-ui .actions span { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); background: rgba(255, 255, 255, .04); }

/* ---- Zodiac strip ---- */
.zodiac { overflow: hidden; padding: 8px 0 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.zodiac .track { display: flex; gap: 18px; width: max-content; animation: drift 70s linear infinite; }
.zodiac:hover .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(calc(-50% - 9px)); } }
.animal { width: 132px; flex: none; text-align: center; }
.animal img { width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(217, 164, 65, .35), 0 16px 40px -16px rgba(0, 0, 0, .9), 0 0 36px -14px rgba(217, 164, 65, .55); transition: transform .4s var(--ease); }
.animal:hover img { transform: translateY(-6px) scale(1.04); }
.animal b { display: block; margin-top: 12px; font: 700 17px/1.2 var(--serif); }
.animal small { color: var(--muted); font-size: 14px; }

/* ---- Pricing ---- */
.plans { display: grid; gap: 18px; }
.plan { padding: 30px 24px; position: relative; display: flex; flex-direction: column; }
.plan.pro { border-color: rgba(217, 164, 65, .45); background: linear-gradient(160deg, rgba(58, 46, 30, .55), rgba(36, 34, 56, .6) 40%, rgba(26, 24, 41, .55));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -24px rgba(217, 164, 65, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
.plan .name { font: 700 28px/1.1 var(--serif); }
.plan .sub { color: var(--muted); margin-top: 8px; font-size: 16px; }
.prices { display: grid; gap: 10px; margin-top: 22px; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(10, 9, 20, .45); }
.price.best { border-color: rgba(217, 164, 65, .55); background: rgba(217, 164, 65, .08); }
.price b { font: 700 22px/1.1 var(--serif); }
.price small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.price s.was { font: 500 16px/1 var(--sans); color: var(--muted); margin-right: 6px; text-decoration-thickness: 1.5px; }
.price .badge { font: 700 11px/1 var(--sans); letter-spacing: .1em; padding: 6px 9px; border-radius: 999px; color: #1F1606; background: var(--gold); white-space: nowrap; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 28px; color: #DDD8EA; font-size: 16px; }
.plan li::before { content: "✦"; position: absolute; left: 2px; top: 0; color: var(--gold); font-size: 14px; }
.plan li .play { color: var(--violet); }
.plan .note { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--faint); }
.compare { margin-top: 22px; }
.compare summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--gold); transition: transform .3s; }
.compare[open] summary::after { transform: rotate(45deg); }
.table-wrap { overflow-x: auto; padding: 0 8px 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
th { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border-top: 0; }
td:first-child { color: var(--text); }
td { color: var(--muted); }
td.yes { color: var(--gold-hi); font-weight: 700; }
th.pro-col, td.pro-col { background: rgba(217, 164, 65, .06); }

/* ---- Privacy ---- */
.promises { display: grid; gap: 14px; margin-top: 8px; }
.promise { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.promise .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-hi); background: rgba(217, 164, 65, .1); border: 1px solid rgba(217, 164, 65, .3); }
.promise h3 { font-size: 18px; }
.promise p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 22px; font: 600 18px/1.4 var(--sans); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--sans); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* ---- CTA and footer ---- */
.cta { text-align: center; padding: 90px 0; }
.cta .mark { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 0 30px rgba(217, 164, 65, .55)); }
.cta p { margin: 16px auto 0; max-width: 520px; }
.cta .stores { justify-content: center; margin-top: 30px; }
footer.site { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 15px; color: var(--muted); background: linear-gradient(180deg, transparent, rgba(10, 9, 20, .6)); }
footer.site .wrap { display: grid; gap: 26px; }
footer.site .fl { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site a.brand { color: var(--text); }
footer.site .disclaimer { color: var(--faint); font-size: 14px; margin-top: 10px; max-width: 520px; }

/* ---- Document pages (privacy, support, delete account, 404) ---- */
.doc { max-width: 780px; margin: 0 auto; padding: 32px 16px 40px; }
.doc .panel { padding: 28px 22px; }
.doc h1 { font-size: clamp(36px, 8vw, 56px); margin: 6px 0 14px; }
.doc h2 { font-size: clamp(24px, 4.5vw, 30px); margin: 40px 0 10px; color: var(--gold-hi); }
.doc h3 { font-size: 19px; margin: 28px 0 8px; color: var(--text); }
.doc p, .doc li { color: #DDD8EA; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 7px 0; }
.doc .lead { color: var(--muted); }
.doc .card { margin: 24px 0; padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(10, 9, 20, .5); border: 1px solid var(--border); }
.doc .btn { margin-top: 10px; }
.doc .small { color: var(--muted); font-size: 15px; }

/* ---- Reveal on scroll (only when JS is running; see site.js) ---- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* The hero is above the fold: it rises on load instead of waiting for the observer. */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) both; }
.js .hero .reveal:nth-child(2) { animation-delay: .08s; } .js .hero .reveal:nth-child(3) { animation-delay: .16s; } .js .hero .reveal:nth-child(4) { animation-delay: .24s; } .js .hero .reveal:nth-child(5) { animation-delay: .32s; }
.js .hero .stage.reveal { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- Wider screens ---- */
@media (min-width: 560px) {
  .wrap, .doc { padding-left: 24px; padding-right: 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .doc .panel { padding: 40px 44px; }
}
@media (min-width: 860px) {
  section { padding: 110px 0; }
  .nav .links { display: flex; }
  .nav .wrap { height: 72px; }
  .hero { padding: 56px 0 90px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .stage { height: 600px; max-width: 480px; }
  .phone { width: 286px; height: 584px; }
  .cardback { width: 172px; }
  .cardback.c1 { left: -20px; }
  .cardback.c2 { width: 150px; right: -20px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip > :first-child { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .promises { grid-template-columns: 1fr 1fr; }
  .animal, .animal img { width: 150px; }
  .animal img { height: 150px; }
  footer.site .wrap { grid-template-columns: 1.4fr 1fr; align-items: start; }
  footer.site .fl { justify-content: flex-end; }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid .wide { grid-column: span 2; }
}
@media (max-width: 380px) {
  .stage { height: 520px; }
  .phone { width: 250px; height: 512px; }
  .cardback { width: 122px; }
  .cardback.c2 { width: 108px; }
}

/* ---- Reduced motion: everything still, nothing hidden ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .zodiac { -webkit-mask-image: none; mask-image: none; }
  .zodiac .track { width: auto; flex-wrap: wrap; justify-content: center; }
  .zodiac .track [aria-hidden="true"] { display: none; }
}
