/* Daily Zest site v2 — shared styles.
   Colours mirror shared/design-tokens/tokens.json (module gradients, surfaces, semantic).
   No web fonts: ui-rounded is SF Pro Rounded on Apple devices, the app's own typeface. */

:root {
  --bg: #fff8f1; --bg-2: #fff1e4; --text: #1d1b26; --muted: #5d5a6b; --faint: #6f6b80;
  --card: #ffffff; --card-2: #fffcf8; --line: #eee3d4; --glass: rgba(255,255,255,.62); --glass-line: rgba(255,255,255,.75);
  --accent: #ff6a1a; --accent-ink: #c74800; --yes: #1f8a4c; --shadow: 0 18px 50px -20px rgba(80, 40, 10, .28);
  --sunrise: linear-gradient(135deg, #ff9a3c, #ff3cac);
  --lime: linear-gradient(135deg, #b8f84a, #2bd67b);
  --phoenix: linear-gradient(135deg, #ff4d8d, #ff9f1c);
  --electric: linear-gradient(135deg, #4f7cff, #8a5cff);
  --tomato: linear-gradient(160deg, #ff5f45, #ff2e63);
  --mint: linear-gradient(160deg, #3eecac, #4fc3f7);
  --midnight: linear-gradient(160deg, #6a5cff, #1b1464);
  --mango: linear-gradient(135deg, #ffc837, #ff8008);
  --lagoon: linear-gradient(135deg, #43e8ff, #2f80ed);
  --grape: linear-gradient(135deg, #c471f5, #fa71cd);
  --champion: linear-gradient(135deg, #ffd23f, #8a5cff);
  --volt: linear-gradient(135deg, #b4f000, #00b4db);
  --lotus: linear-gradient(135deg, #e0c3fc, #8ec5fc);
  --radius: 24px; --gutter: 16px; --max: 1160px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0b1a; --bg-2: #151027; --text: #f2eff8; --muted: #b3aec2; --faint: #938ea4;
    --card: #1a1528; --card-2: #201a31; --line: #2e2742; --glass: rgba(30,24,48,.6); --glass-line: rgba(255,255,255,.09);
    --accent: #ffa25c; --accent-ink: #ffb57d; --yes: #5fd28f; --shadow: 0 18px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0b1a; --bg-2: #151027; --text: #f2eff8; --muted: #b3aec2; --faint: #938ea4;
  --card: #1a1528; --card-2: #201a31; --line: #2e2742; --glass: rgba(30,24,48,.6); --glass-line: rgba(255,255,255,.09);
  --accent: #ffa25c; --accent-ink: #ffb57d; --yes: #5fd28f; --shadow: 0 18px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #4f7cff; outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 6px 10px; }
.ph { background: #ffe08a; color: #1d1b26; border-radius: 6px; padding: 0 5px; font-size: .9em; font-weight: 600; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }
h2.big { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 14px; font-weight: 800; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.grad-text { background: linear-gradient(90deg, #ff9a3c, #ff3cac, #8a5cff, #4f7cff, #2bd67b, #ff9a3c); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: hue 12s linear infinite; }
@keyframes hue { to { background-position: 300% 0; } }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 3px 10px rgba(255,106,26,.35); }
.links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.links a:hover, .links a[aria-current="page"] { background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 700 1rem var(--font);
  padding: 13px 22px; border-radius: 999px; text-decoration: none; transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; }
.btn:active { transform: scale(.94); }
.btn-primary { background: var(--sunrise); color: #fff; box-shadow: 0 10px 30px -8px rgba(255,60,172,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255,60,172,.6); }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.links .btn { color: #fff; margin-left: 6px; }
.links .btn:hover { background: var(--sunrise); }
.menu-btn, .theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--text); cursor: pointer; font-size: 1.05rem; }
.menu-btn { display: none; margin-left: auto; }
@media (max-width: 880px) {
  .menu-btn { display: inline-grid; }
  .links { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s cubic-bezier(.2,.9,.3,1); }
  .links.open { transform: none; }
  .links a { padding: 12px 14px; font-size: 1.05rem; }
  .links .btn { margin: 8px 0 0; }
  .theme-btn { align-self: flex-start; margin-top: 6px; }
  /* Without JavaScript the Menu button can't open anything, so show the links in the page instead. */
  html:not(.js) .menu-btn, html:not(.js) .theme-btn { display: none; }
  html:not(.js) header.top .wrap { flex-wrap: wrap; height: auto; }
  html:not(.js) .links { position: static; transform: none; flex-direction: row; flex-wrap: wrap; width: 100%; padding: 0 0 8px; border: 0; background: none; }
}

/* ---------- Store badge placeholder ---------- */
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px; border-radius: 14px; text-decoration: none;
  background: #000; color: #fff; font-weight: 700; border: 2px dashed #ffb27a; }
.store small { display: block; font-weight: 500; font-size: .72rem; opacity: .8; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 40px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy stage" "coach stage"; column-gap: 40px; align-items: center; }
.hero-copy { grid-area: copy; align-self: end; } .hero-grid .stage { grid-area: stage; } .hero-grid .coach { grid-area: coach; align-self: start; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin: 14px 0 18px; font-weight: 900; letter-spacing: -0.035em; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--glass);
  border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: .88rem; }
.chip .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: .75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--yes); font-weight: 900; margin-right: 6px; }
.req { color: var(--faint); font-size: .88rem; margin-top: 10px; }

.mesh { position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .55; }
.mesh i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 0; background: #ffb36b; }
.mesh i:nth-child(2) { width: 36vw; height: 36vw; left: 70%; top: 22%; background: #ff7ac8; animation-delay: -6s; }
.mesh i:nth-child(3) { width: 30vw; height: 30vw; left: 5%; top: 30%; background: #9fd8ff; animation-delay: -12s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mesh { opacity: .32; } }
:root[data-theme="dark"] .mesh { opacity: .32; }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.15); } }

/* ---------- 3D stage + phone ---------- */
.stage { position: relative; perspective: 1400px; display: grid; justify-items: center; padding: 10px 0 20px; }
.phone-3d { position: relative; transform-style: preserve-3d; will-change: transform;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -16deg)) rotateZ(var(--rz, 1.5deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.phone-3d.is-flat { --rx: 0deg; --ry: 0deg; --rz: 0deg; }
.phone { position: relative; width: 320px; height: 680px; border-radius: 54px; padding: 11px; transform-style: preserve-3d;
  background: linear-gradient(145deg, #3a3646, #15131c 40%, #2b2834); box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.14), inset 0 0 0 6px #0b0a10, 0 50px 90px -30px rgba(40,10,60,.55), 0 30px 40px -30px rgba(0,0,0,.6); }
.phone::before { /* side depth */ content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px);
  background: #0b0a10; box-shadow: 0 0 0 1px #24212c; }
.phone .glare { position: absolute; inset: 11px; border-radius: 44px; pointer-events: none; z-index: 30; mix-blend-mode: soft-light;
  background: radial-gradient(600px circle at var(--gx, 30%) var(--gy, 10%), rgba(255,255,255,.55), transparent 40%); transition: opacity .3s; }
.phone .btn-side { position: absolute; width: 4px; border-radius: 3px; background: #2a2731; right: -3px; top: 170px; height: 80px; }
.phone .btn-side.l1 { left: -3px; right: auto; top: 140px; height: 30px; } .phone .btn-side.l2 { left: -3px; right: auto; top: 190px; height: 56px; }
.floaters { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.floater { position: absolute; padding: 10px 14px; border-radius: 18px; font-weight: 800; font-size: .92rem; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow); color: var(--text); animation: bob 6s ease-in-out infinite; }
.floater small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.phone-3d.is-flat .floater { opacity: 0; translate: 0 10px; transition: opacity .3s, translate .3s; }
.floater.f1 { left: -78px; top: 120px; transform: translateZ(90px); }
.floater.f2 { right: -70px; top: 300px; transform: translateZ(120px); animation-delay: -2s; }
.floater.f3 { left: -60px; bottom: 120px; transform: translateZ(70px); animation-delay: -4s; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; box-shadow: inset -10px -14px 30px rgba(0,0,0,.18), inset 8px 10px 24px rgba(255,255,255,.55); }
.orb.o1 { width: 90px; height: 90px; background: var(--lime); right: -40px; top: 40px; transform: translateZ(-80px); }
.orb.o2 { width: 60px; height: 60px; background: var(--electric); left: -30px; top: 380px; transform: translateZ(-120px); }
.orb.o3 { width: 120px; height: 120px; background: var(--lagoon); right: -30px; bottom: 30px; transform: translateZ(-160px); opacity: .9; }
@keyframes bob { 50% { translate: 0 -10px; } }
.stage-note { margin-top: 18px; color: var(--muted); font-size: .85rem; text-align: center; }

/* Coach (demo tour) */
.coach { margin-top: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); max-width: 460px; }
.coach h3 { margin: 0 0 4px; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.coach ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.coach li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; font-weight: 600; font-size: .95rem; transition: background .3s; }
.coach li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-size: .8rem; color: transparent; transition: all .35s cubic-bezier(.3,1.6,.5,1); }
.coach li.done { background: color-mix(in srgb, #2bd67b 12%, transparent); }
.coach li.done .tick { background: var(--lime); border: 0; transform: scale(1.1); color: #fff; }
.coach li.done span:last-child { text-decoration: line-through; color: var(--muted); }
.coach .progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 12px; }
.coach .progress i { display: block; height: 100%; width: 0; background: var(--sunrise); transition: width .6s cubic-bezier(.2,.9,.3,1); }
.coach .finale { display: none; margin-top: 12px; font-weight: 700; }
.coach.complete .finale { display: block; }
.linkish { background: none; border: 0; color: var(--accent-ink); font: 600 .85rem var(--font); cursor: pointer; padding: 4px; }

/* ---------- Sections ---------- */
section.block { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.center { text-align: center; } .center .lede { margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; perspective: 1000px; }
.promise { position: relative; padding: 30px 26px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-style: preserve-3d; transition: transform .4s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.promise .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 18px;
  transform: translateZ(40px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35); }
.promise h3 { font-size: 1.5rem; margin: 0 0 8px; transform: translateZ(25px); }
.promise p { margin: 0; color: var(--muted); transform: translateZ(15px); }
.promise::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.18), transparent 40%); pointer-events: none; }

/* Privacy vault */
.vault { background: #0e0b1a; color: #f2eff8; border-radius: 40px; margin: 0 var(--gutter); overflow: hidden; position: relative; }
.vault .muted { color: #b3aec2; } .vault a { color: #ffb57d; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.vault-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.ring-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 40s linear infinite; }
.ring-orbit.r2 { inset: 14%; animation-duration: 28s; animation-direction: reverse; }
.ring-orbit.r3 { inset: 28%; animation-duration: 20s; }
.ring-orbit span { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; background: #1a1528; border: 1px solid #2e2742; }
.ring-orbit span:nth-child(2) { top: auto; bottom: -18px; } .ring-orbit span:nth-child(3) { top: 50%; left: -18px; translate: 0 -50%; } .ring-orbit span:nth-child(4) { top: 50%; left: auto; right: -18px; translate: 0 -50%; }
@keyframes spin { to { rotate: 360deg; } }
.ring-orbit span { animation: counter 40s linear infinite; } .r2 span { animation-duration: 28s; animation-direction: reverse; } .r3 span { animation-duration: 20s; }
@keyframes counter { to { rotate: -360deg; } }
.vault-core { position: absolute; inset: 38%; border-radius: 30%; background: var(--sunrise); display: grid; place-items: center; box-shadow: 0 0 80px rgba(255,90,140,.55); }
.vault-core img { width: 70%; border-radius: 22%; }
.netlog { margin-top: 26px; background: #1a1528; border: 1px solid #2e2742; border-radius: 20px; padding: 16px 18px; font-size: .92rem; }
.netlog .row { display: flex; justify-content: space-between; align-items: baseline; }
.netlog b { font-size: 2.2rem; font-variant-numeric: tabular-nums; }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: "🔒"; position: absolute; left: 0; }

/* Watch */
.watches { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; perspective: 1000px; }
.watch { width: 170px; transform-style: preserve-3d; animation: bob 7s ease-in-out infinite; }
.watch:nth-child(2) { animation-delay: -1.7s; } .watch:nth-child(3) { animation-delay: -3.4s; } .watch:nth-child(4) { animation-delay: -5.1s; }
.watch .case { position: relative; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #4a4655, #18161f 50%, #3a3644); box-shadow: 0 30px 50px -24px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.12); }
.watch .case::after { content: ""; position: absolute; right: -7px; top: 34%; width: 8px; height: 34px; border-radius: 4px; background: linear-gradient(90deg, #5b5766, #2b2833); }
.watch img { display: block; width: 100%; border-radius: 34px; background: #000; }
.watch p { text-align: center; font-weight: 700; margin: 12px 0 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.plans.single { grid-template-columns: minmax(0, 560px); justify-content: center; }   /* Free only, when Plus is not on sale */
.plan { border-radius: 30px; padding: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.plus { position: relative; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #ff9a3c, #ff3cac, #8a5cff) border-box; border: 2px solid transparent; }
.plan h3 { font-size: 1.6rem; margin: 0; } .plan .price { font-size: 2.4rem; font-weight: 900; margin: 10px 0 2px; letter-spacing: -.03em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 22px; } .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--yes); font-weight: 900; }
.plan.plus li::before { content: "✦"; color: #ff3cac; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); margin-top: 14px; }
.seg button { border: 0; background: none; font: 700 .9rem var(--font); color: var(--text); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ribbon { position: absolute; top: -13px; right: 24px; background: var(--sunrise); color: #fff; font-weight: 800; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details, .qa { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 20px; transition: box-shadow .3s; }
.faq details[open], .qa[open] { box-shadow: var(--shadow); }
.faq summary, .qa summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
.faq summary::after, .qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.4rem; color: var(--accent); transition: rotate .3s; }
.faq details[open] summary::after, .qa[open] summary::after { rotate: 45deg; }
.faq details > *:not(summary), .qa > *:not(summary) { margin-top: 0; }

/* Final CTA */
.final { text-align: center; padding: 100px 0 120px; }
.icon-3d { width: 140px; height: 140px; margin: 0 auto 28px; perspective: 600px; }
.icon-3d img { width: 100%; height: 100%; border-radius: 32px; box-shadow: 0 30px 60px -20px rgba(255,60,120,.6); animation: flip 8s ease-in-out infinite; }
@keyframes flip { 0%, 70%, 100% { transform: rotateY(0) rotateX(0); } 80% { transform: rotateY(180deg) rotateX(10deg); } 90% { transform: rotateY(360deg); } }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 50px 0 40px; background: var(--card-2); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--text); text-decoration: none; } .foot-grid a:hover { color: var(--accent-ink); }
.fine { margin-top: 34px; color: var(--muted); font-size: .85rem; display: grid; gap: 4px; }
/* Phones: the brand and the support address get a row of their own, so the address never breaks mid-word, and footer
   links are 44 px tall to tap (docs/launch/site W5.5). */
@media (max-width: 960px) { .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .foot-grid ul { gap: 0; } .foot-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
  .seg button, .cats button { min-height: 44px; }
  .wl-platform label { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; } }

/* ---------- Doc pages (guide, help, legal) ---------- */
.page-head { padding: 56px 0 28px; position: relative; overflow: clip; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0 10px; font-weight: 900; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-bottom: 80px; }
.toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; font-size: .92rem; }
.toc h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); } .toc a.active { color: var(--text); font-weight: 700; border-left-color: var(--accent); }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.55rem; margin: 2.6rem 0 .6rem; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.prose li { margin: 4px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 22px; }
.callout { border-radius: 20px; padding: 14px 20px; margin: 18px 0; background: color-mix(in srgb, #ffc837 18%, var(--card)); border: 1px solid color-mix(in srgb, #ff8008 30%, var(--line)); }
.draft-banner { background: repeating-linear-gradient(-45deg, #ffe08a, #ffe08a 14px, #ffd25a 14px, #ffd25a 28px); color: #1d1b26; font-weight: 700; text-align: center; padding: 10px 16px; }
.kbd { font: 600 .9em var(--font); background: color-mix(in srgb, var(--text) 7%, transparent); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.path { font-weight: 700; white-space: normal; }
.try { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #ff3cac 12%, transparent); text-decoration: none; margin-top: 4px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 26px 0 10px; }
.guide-cards a { display: block; padding: 18px; border-radius: 22px; color: #fff; text-decoration: none; font-weight: 800; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.guide-cards a:hover { transform: translateY(-4px) rotate(-1deg); }
.guide-cards a span { display: block; font-size: 1.8rem; } .guide-cards a small { display: block; font-weight: 600; opacity: .9; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sunrise); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

/* Help center */
.search { position: relative; max-width: 640px; }
.search input { width: 100%; font: 600 1.1rem var(--font); padding: 18px 20px 18px 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.search::before { content: "🔎"; position: absolute; left: 20px; top: 50%; translate: 0 -50%; }
.help-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 0; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.cats button { border: 1px solid var(--line); background: var(--card); color: var(--text); font: 700 .9rem var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.cats button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.qa-list { display: grid; gap: 12px; margin-top: 18px; }
.qa .plat { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, #34c759 18%, transparent); margin-right: 6px; }

.empty { display: none; padding: 30px; text-align: center; color: var(--muted); }
.contact-card { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: 26px; background: var(--sunrise); color: #fff; margin-top: 34px; }
.contact-card a.btn { background: #fff; color: #d62f7a; }

/* Legal hub */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
.legal-grid a { display: block; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.legal-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.legal-grid b { display: block; font-size: 1.1rem; margin: 6px 0 4px; } .legal-grid span { color: var(--muted); font-size: .92rem; }
.legal-grid .status { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.status.live { background: color-mix(in srgb, #2bd67b 20%, transparent); color: var(--yes); }
.status.draft { background: #ffe08a; color: #6b4a00; }
.datamap { width: 100%; margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.datamap th { background: color-mix(in srgb, var(--text) 4%, transparent); }

@media (max-width: 960px) {
  .hero-grid, .vault-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-areas: "copy" "stage" "coach"; }
  .hero-copy { text-align: center; } .hero-copy .lede { margin-inline: auto; } .cta-row, .trust { justify-content: center; }
  .coach { margin-inline: auto; }
  .promises { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; gap: 0; } .toc { position: static; max-height: none; margin-bottom: 20px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin: 0; background: var(--card); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .floater.f1 { left: -14px; } .floater.f2 { right: -10px; } .floater.f3 { left: -8px; }
  .vault { border-radius: 28px; margin: 0 8px; }
  .watch { width: 140px; }
  th, td { padding: 8px 4px; font-size: .88rem; }
}
@media (max-width: 360px) { .phone { transform: scale(.9); transform-origin: top center; margin-bottom: -68px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .phone-3d { --rx: 0deg; --ry: 0deg; --rz: 0deg; }
}

/* Apple's official badge, used as downloaded (no border, background or effects). */
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 54px; width: auto; }

/* ---------- iPhone / Android ----------
   html[data-platform] is set before paint by a tiny script in each page's head (saved choice, else the visitor's
   device). Without JavaScript the iPhone wording shows. The help page's "Both" sets "all" for that visit only. */
.android-only { display: none; }
html[data-platform="android"] .android-only, html[data-platform="all"] .android-only { display: revert; }
html[data-platform="android"] .ios-only { display: none; }
.plat-switch { margin: 0 0 22px; position: relative; z-index: 5; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-copy .stores { margin-bottom: 4px; }
@media (max-width: 960px) { .stores { justify-content: center; } }
/* The visitor's own store first. */
html[data-platform="android"] .stores .android { order: -1; }
html[data-platform="android"] .stores .store-badge:has(img[alt*="Google"]) { order: -1; }

/* Android phone: slimmer, flatter, hole-punch camera, buttons on the right only. */
.phone.android { border-radius: 44px; padding: 9px; background: linear-gradient(145deg, #2c2e33, #111214 45%, #26282d); }
.phone.android .glare { inset: 9px; border-radius: 36px; }
.phone.android .screen { border-radius: 36px; }
.phone.android .btn-side.l1, .phone.android .btn-side.l2 { display: none; }
.phone.android .btn-side { top: 130px; height: 60px; }
.phone.android::after { content: ""; position: absolute; right: -3px; top: 210px; width: 4px; height: 90px; border-radius: 3px; background: #2a2b30; }

/* Comparison pages */
.comparison-page { padding-top: 2rem; padding-bottom: 3rem; max-width: 70rem; }
.comparison-page > h1, .comparison-page a { overflow-wrap: anywhere; }
.comparison-panel { max-width: 48rem; padding: 1.3rem; margin: 1.5rem 0; border: 1px solid var(--line, #b7aa9b); border-radius: 1rem; }
.comparison-page :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ---------- Get the app: store badges and the waitlist form ----------
   build.py writes these from the launch flags. The form is a plain POST to /api/waitlist and works without
   JavaScript; assets/site.js only fills in the referral code and the visitor's platform. */
.get-app { display: grid; gap: 14px; justify-items: start; }
.waitlist { width: 100%; max-width: 460px; text-align: left; }
.waitlist .wl-head { margin: 0 0 6px; font-weight: 800; }
.waitlist .wl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.waitlist .wl-email { flex: 1 1 220px; display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.waitlist input[type="email"] { width: 100%; min-height: 50px; font: 600 1rem var(--font); padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); }
.waitlist .btn { min-height: 50px; border: 0; cursor: pointer; font-family: var(--font); }
.wl-platform { border: 0; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: .95rem; }
.wl-platform legend { float: left; margin-right: 6px; padding: 0; color: var(--muted); font-weight: 700; }
.wl-platform label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-note { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.wl-share { margin: 1.2rem 0; padding: 10px 22px; }
.wl-share code { overflow-wrap: anywhere; font-size: 1rem; }
.waitlist.compact input[type="email"], .waitlist.compact .btn { min-height: 44px; }
.final .get-app { justify-items: center; } .final .stores { justify-content: center; }
.final .waitlist { margin-inline: auto; }
@media (max-width: 960px) { .hero-copy .get-app { justify-items: center; } .hero-copy .waitlist { margin-inline: auto; } }

/* ---------- Press kit ---------- */
.press { padding-top: 32px; padding-bottom: 64px; }
.press h1 { font-size: 2rem; margin: 0 0 4px; } .press h2 { font-size: 1.15rem; margin-top: 1.75rem; }
.press .card { padding: 4px 20px; }
.press ul.files { padding-left: 1.2em; } .press .files li { margin: 4px 0; }
.press .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.press .thumbs img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.press video { width: 100%; max-width: 320px; height: auto; border-radius: 18px; border: 1px solid var(--line); display: block; }
.press dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 16px 0; }
.press dt { font-weight: 600; } .press dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .press dl { grid-template-columns: 1fr; } .press dd { margin-bottom: 8px; } }

/* ---------- Help and guide (batch 4, docs/launch/site/04-help-and-guide.md) ---------- */
/* Help: the known-issues note (rendered only when site.config.toml has one) and the one-line contact strip. */
.known-issues { margin: 0 0 18px; padding: 14px 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, #ff9f0a 45%, var(--line)); background: color-mix(in srgb, #ff9f0a 12%, var(--card)); }
.known-issues b { display: block; margin-bottom: 4px; }
.known-issues p { margin: 0; }
.contact-strip { margin: 14px 0 0; padding: 10px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: .95rem; }
.qa ul, .qa ol { margin: 0 0 1em; padding-left: 1.3em; } .qa li { margin: 4px 0; }
/* Guide: sub-entries in the table of contents, and screenshots beside their sections. */
.toc li.sub a { padding-left: 28px; font-size: .86rem; }
.shot { float: right; width: 200px; margin: 4px 0 16px 24px; }
.shot img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.prose h2 { clear: both; }
@media (max-width: 640px) { .shot { float: none; width: min(220px, 70%); margin: 8px auto 18px; } .toc li.sub a { padding-left: 12px; } }
