/* zencards.app — tokens follow the app's «Свет» design system (mobile/src/theme/tokens.ts). */

@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/assets/a6591d1771/fonts/onest-regular.woff2) format("woff2"); }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(/assets/a6591d1771/fonts/onest-medium.woff2) format("woff2"); }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/assets/a6591d1771/fonts/onest-semibold.woff2) format("woff2"); }
/* Metric-matched fallback (Arial scaled to Onest): the swap to Onest doesn't move the layout. */
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 105.4%; ascent-override: 92%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/assets/a6591d1771/fonts/onest-bold.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;
  --bg: #140d0a;
  --bg-warm: #22140d;
  --bg-black: #100e0d;
  --bg-night: #070b1a;
  --text: #ffffff;
  --text-strong: rgba(255, 255, 255, 0.9);
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --gold: #f4d08b;
  --gold-soft: rgba(244, 208, 139, 0.16);
  --pill: #fff6e9;
  --on-pill: #22140d;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --glass-border: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  --card-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
  --card-hair: rgba(255, 255, 255, 0.32);
  --aurora-1: rgba(167, 112, 52, 0.42);
  --aurora-2: rgba(107, 63, 78, 0.45);
  --aurora-3: rgba(42, 52, 110, 0.42);
  --mote: 244, 208, 139;
  --mark-bg: #4a3b12;
  --mark-text: #ffe29a;
  --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fff3e4;
    --text: #17151d;
    --text-strong: #17151d;
    --text-2: rgba(23, 21, 29, 0.68);
    --text-3: rgba(23, 21, 29, 0.5);
    --gold: #8a4f12;
    --gold-soft: rgba(138, 79, 18, 0.1);
    --pill: #17151d;
    --on-pill: #ffffff;
    --glass: rgba(255, 255, 255, 0.55);
    --glass-strong: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.9);
    --line: rgba(23, 21, 29, 0.12);
    --shadow: 0 8px 24px rgba(27, 42, 78, 0.12);
    --card-shadow: 0 26px 50px rgba(27, 42, 78, 0.28), 0 2px 6px rgba(27, 42, 78, 0.18);
    --aurora-1: rgba(244, 199, 140, 0.55);
    --aurora-2: rgba(242, 190, 175, 0.5);
    --aurora-3: rgba(196, 208, 236, 0.6);
    --mote: 196, 131, 70;
    --mark-bg: #ffe29a;
    --mark-text: #4a3b12;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 Onest, "Onest Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--gold); color: #22140d; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.i { width: 22px; height: 22px; flex: none; }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--pill); color: var(--on-pill); text-decoration: none; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }

/* ── Ambient background ───────────────────────────────────────────────────────────────────── */

.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; view-transition-name: aurora; }
.aurora i { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -25vmax; top: -30vmax; background: radial-gradient(closest-side, var(--aurora-1), transparent); animation: drift-a 46s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -30vmax; top: 10vh; background: radial-gradient(closest-side, var(--aurora-2), transparent); animation: drift-b 58s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 10vw; bottom: -45vmax; background: radial-gradient(closest-side, var(--aurora-3), transparent); animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-22vw, 18vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(14vw, -26vh) scale(1.2); } }

/* ── Header ───────────────────────────────────────────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  view-transition-name: top;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.top.scrolled, .doc .top { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.top > .btn-small { margin-left: 8px; }
@media (max-width: 900px) { .nav { display: none; } .top > .btn-small { margin-left: auto; } }

/* ── Buttons ──────────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--pill); color: var(--on-pill);
  font-weight: 600; font-size: 17px; letter-spacing: -0.02em; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
}
.btn, .store, .chip { position: relative; }
/* They rise 1–2 px on hover: this strip keeps the original bottom edge inside the hit area, so no hover flicker. */
.btn::after, .store::after, .chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35), 0 0 0 6px var(--gold-soft); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 176px; min-height: 58px;
  padding: 8px 22px; border-radius: 16px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-spring), background-color 0.3s, border-color 0.3s;
}
.store small { font-size: 12px; font-weight: 500; color: var(--text-2); line-height: 1.2; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.store:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: var(--gold); }
.store:first-child { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.store:first-child small { color: inherit; opacity: 0.72; }

/* ── Common section bits ──────────────────────────────────────────────────────────────────── */

.landing > section { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--gutter) 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2, .privacy h2, .download h2 { margin-top: 12px; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }
.glass { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: var(--shadow); }
.hint { font-size: 14px; color: var(--text-3); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Card surface shared by every card on the page. */
.fan-lift, .stack-card, .side, .deck-card, .dl-c, .marquee li {
  position: relative; border-radius: 7.6% / 5.07%; overflow: hidden; background: #1c1a20;
}
.fan-lift img, .stack-card img, .side img, .dl-c img, .marquee img { width: 100%; height: 100%; object-fit: cover; }
.fan-lift::after, .stack-card::after, .side::after, .dl-c::after, .marquee li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--card-hair); pointer-events: none;
}
.glare { position: absolute; inset: 0; border-radius: 7.6% / 5.07%; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.75), transparent 55%); transition: opacity 0.4s; }

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────── */

.landing > .hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px;
  min-height: min(860px, calc(100svh - 70px)); padding-top: clamp(24px, 4vw, 48px);
}
.hero h1 { margin-top: 18px; font-size: clamp(46px, 6.1vw, 88px); line-height: 0.98; letter-spacing: -0.055em; }
.hero h1 span { display: block; }
.grad { background: linear-gradient(100deg, var(--gold) 0%, #ffe9c4 45%, #e7b49c 80%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
@media (prefers-color-scheme: light) { .grad { background-image: linear-gradient(100deg, #8a4f12, #b5544a 70%, #6b3f4e); } }
.hero .lead { max-width: 520px; margin-top: 26px; font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; color: var(--text-2); }
.hero .stores { margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--text-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-copy > .reveal:nth-child(2) { --d: 0.08s; } .hero-copy > .reveal:nth-child(3) { --d: 0.16s; }
.hero-copy > .reveal:nth-child(4) { --d: 0.24s; } .hero-copy > .reveal:nth-child(5) { --d: 0.32s; }

.fan-wrap { position: relative; height: clamp(420px, 52vw, 640px); perspective: 1600px; }
.fan { --cw: clamp(160px, 17.5vw, 250px); position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.fan-card { position: absolute; left: calc(50% - var(--cw) / 2); top: 50%; width: var(--cw); aspect-ratio: 2 / 3;
  margin-top: calc(var(--cw) * -0.82); transform-origin: 50% 150%; rotate: var(--a); translate: var(--x) 0;
  animation: deal 1.4s var(--ease-out) both; animation-delay: var(--dd); transform-style: preserve-3d; will-change: transform, opacity; }
.js .fan:not(.go) .fan-card { animation-play-state: paused; }
.fan.dealt .fan-card { will-change: auto; }
.fan-0 { --a: -22deg; --x: -4%; --dd: 0.32s; z-index: 1; }
.fan-1 { --a: -11deg; --x: -2%; --dd: 0.16s; z-index: 2; }
.fan-2 { --a: 0deg; --x: 0; --dd: 0s; z-index: 4; }
.fan-3 { --a: 11deg; --x: 2%; --dd: 0.16s; z-index: 3; }
.fan-4 { --a: 22deg; --x: 4%; --dd: 0.32s; z-index: 2; }
@keyframes deal { from { rotate: 0deg; translate: 0 18%; opacity: 0; } 30% { opacity: 1; } }
html:not(.js) .fan-lift, .fan.dealt .fan-lift { animation: float 7s ease-in-out infinite; animation-delay: calc(var(--dd) * 3); }
.fan-lift { --z: 0px; --lift: 0%; width: 100%; height: 100%; box-shadow: var(--card-shadow);
  transform: translateZ(var(--z)) translateY(var(--lift)); transition: transform 0.7s var(--ease-out), box-shadow 0.6s; }
.fan-2 .fan-lift { --z: 60px; box-shadow: var(--card-shadow), 0 0 60px rgba(244, 208, 139, 0.28); }
.fan-1 .fan-lift, .fan-3 .fan-lift { --z: 30px; }
.fan-card.focus .fan-lift { --lift: -8%; }
.fan.tilting .glare { opacity: 1; }
@keyframes float { 50% { translate: 0 -10px; } }
.fan-glow { position: absolute; left: 50%; top: 46%; width: 90%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 208, 139, 0.34), rgba(244, 208, 139, 0.1) 45%, transparent); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.6; scale: 0.92; } }

@media (max-width: 900px) {
  .landing > .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 0; }
  .hero .fan-wrap { order: -1; height: clamp(330px, 92vw, 520px); margin: 0 calc(var(--gutter) * -1); }
  .fan { --cw: clamp(150px, 40vw, 250px); }
  .fan-card { margin-top: calc(var(--cw) * -0.72); }
  .hero .lead { margin-inline: auto; }
  .hero .stores, .facts { justify-content: center; }
  .hero h1 { margin-top: 10px; }
}

/* ── Ritual: draw a card ──────────────────────────────────────────────────────────────────── */

.ritual-ambient { position: absolute; inset: 6% 0 -6%; z-index: -1; pointer-events: none; mask-image: radial-gradient(closest-side, #000 40%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.amb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.3); opacity: 0; transition: opacity 1.4s var(--ease-out); }
.amb.on { opacity: 0.55; }
@media (prefers-color-scheme: light) { .amb.on { opacity: 0.4; } }

.chips { position: relative; display: flex; justify-content: center; gap: 6px; margin: -8px auto 44px; padding: 4px; flex-wrap: wrap; }
.chip { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease-spring); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip:hover { color: var(--text); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--pill); color: var(--on-pill); border-color: transparent; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
@media (max-width: 700px) {
  /* Full-bleed: edge to edge of the viewport, content inset by the page gutter on both sides. */
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); padding: 4px 0 4px var(--gutter); scroll-padding-inline: var(--gutter); }
  /* Inline-end padding of a flex scroller is dropped by some WebKit versions: a spacer item keeps the gutter. */
  .chips::after { content: ""; flex: 0 0 calc(var(--gutter) - 6px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.table { display: grid; grid-template-columns: auto minmax(0, 460px); justify-content: center; align-items: center; gap: clamp(32px, 6vw, 96px); }
.stage { --sw: clamp(230px, 26vw, 320px); position: relative; width: var(--sw); aspect-ratio: 2 / 3; perspective: 1400px; }
.stage::before { content: ""; position: absolute; inset: -28px; }
.stack-card { position: absolute; inset: 0; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.5); transition: transform 0.6s var(--ease-out); }
.stack-card.s0 { transform: translate(10px, 12px) rotate(4deg); }
.stack-card.s1 { transform: translate(-9px, 9px) rotate(-3.5deg); }
.stack-card.s2 { transform: translate(3px, 5px) rotate(1deg); }
.stage.shuffling .s0 { transform: translate(34%, 6px) rotate(10deg); }
.stage.shuffling .s1 { transform: translate(-34%, 4px) rotate(-10deg); }
.drawn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; border-radius: 7.6% / 5.07%;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.drawn.tilting .glare { opacity: 0.9; }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s var(--ease-out); }
/* WebKit (Safari, every iOS browser) honours backface-visibility only on an element with its own 3D transform:
   each side gets rotateY(0) or rotateY(180deg), never `none`. */
.side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--card-shadow); transform: rotateY(0deg); }
.side-face { transform: rotateY(180deg); }
.stage[data-state="open"] .flip { transform: rotateY(180deg); }
.stage[data-state="open"] .side-face { box-shadow: var(--card-shadow), 0 0 70px rgba(244, 208, 139, 0.3); }
.js .stage:not(.ready) .flip { transform: none; transition: none; }
.drawn.lift { animation: lift 1.1s var(--ease-out); }
@keyframes lift { 0% { translate: 0 0; scale: 1; } 40% { translate: 0 -5%; scale: 1.05; } 100% { translate: 0 0; scale: 1; } }
.drawn.sink { animation: sink 0.7s var(--ease-out) both; }
@keyframes sink { 0% { translate: 0 0; } 45% { translate: 0 5%; scale: 0.96; opacity: 0.6; rotate: -4deg; } 100% { translate: 0 0; } }

.reading { min-height: 330px; }
.reading-intro { display: none; }
.js .reading:not(.has-card) .reading-intro { display: block; }
.js .reading:not(.has-card) .r-card { display: none; }
.reading-intro p:first-child { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.reading-intro p + p { margin-top: 14px; color: var(--text-2); }
.reading-meta { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 0.01em; }
.r-title { margin-top: 8px; font-size: clamp(38px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.045em; }
.r-meaning { margin-top: 14px; font-size: 18px; color: var(--text-2); }
.r-panel { margin-top: 26px; padding: 20px 22px; border-radius: 28px; }
.r-q { margin-top: 6px; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--text-strong); }
.r-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.r-card > * { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s; }
.reading.out .r-card > * { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.r-card > :nth-child(2) { transition-delay: 0.06s; } .r-card > :nth-child(3) { transition-delay: 0.12s; } .r-card > :nth-child(4) { transition-delay: 0.2s; }
.reading.out .r-card > * { transition-delay: 0s; }

@media (max-width: 860px) {
  .table { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 44px; }
  .stage { --sw: min(62vw, 300px); }
  .reading { min-height: 0; }
  .r-panel { text-align: left; }
  .r-actions { justify-content: center; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(64px, 9vw, 110px) 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px; border-top: 1px solid var(--line); }
.steps li:nth-child(2) { --d: 0.08s; } .steps li:nth-child(3) { --d: 0.16s; } .steps li:nth-child(4) { --d: 0.24s; }
.step-n { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }
.steps b { font-size: 20px; letter-spacing: -0.03em; }
.steps span:last-child { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 0; } }

/* ── Features + phone mockups ─────────────────────────────────────────────────────────────── */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(24px, 4vw, 48px) 0; }
.feature.alt .feature-copy { order: 2; }
.feature-copy { max-width: 470px; justify-self: end; }
.feature.alt .feature-copy { justify-self: start; }
.feature h3 { margin-top: 12px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.045em; }
.feature-copy p:last-child { margin-top: 18px; font-size: 18px; color: var(--text-2); }
.feature-phone { display: flex; justify-content: center; }
.feature.alt .feature-phone { justify-content: center; }
@media (max-width: 860px) {
  .feature, .feature.alt { grid-template-columns: 1fr; text-align: center; }
  .feature-copy, .feature.alt .feature-copy { order: 0; justify-self: center; }
}

.phone { --pw: clamp(250px, 24vw, 310px); width: var(--pw); aspect-ratio: 390 / 844; padding: calc(var(--pw) * 0.03); border-radius: calc(var(--pw) * 0.15);
  background: linear-gradient(145deg, #3a3532, #0d0b0a 40%, #26221f); box-shadow: 0 50px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 80px rgba(244, 208, 139, 0.08);
  transform: perspective(1400px) rotateY(var(--prx, -8deg)) rotateX(var(--pry, 4deg)); transition: transform 1s var(--ease-out); }
.feature.alt .phone { --prx: 8deg; }
@media (prefers-color-scheme: light) { .phone { box-shadow: 0 40px 80px rgba(27, 42, 78, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.2) inset; } }
.feature:hover .phone { --prx: 0deg; --pry: 0deg; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .phone { animation: phone-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes phone-in { from { translate: 0 90px; opacity: 0.35; } }
  }
}
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * 0.125); background: #100e0d; container-type: inline-size; color: #fff; text-align: left; }
.u { --u: calc(100cqw / 390); position: absolute; inset: 0; font-size: calc(17 * var(--u)); line-height: 1.35; letter-spacing: -0.01em; }
.u > * { position: absolute; }
.u .i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.ib { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.ib.off { opacity: 0.4; }
.s-eyebrow { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #f4d08b; }

.s-today { background: #22140d; }
.s-art { left: 0; top: 0; width: 100%; height: calc(585 * var(--u)); object-fit: cover; }
.s-today picture { display: block; }
.s-today .s-art, .s-today picture img { position: absolute; left: 0; top: 0; width: 100%; height: calc(585 * var(--u)); object-fit: cover; }
.s-scrim { inset: 0; background: linear-gradient(#22140d99 0, transparent calc(150 * var(--u))),
  linear-gradient(transparent calc(270 * var(--u)), #22140dbd calc(415 * var(--u)), #22140df5 calc(510 * var(--u)), #22140d calc(586 * var(--u))); }
.s-top { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(60 * var(--u)); display: flex; justify-content: space-between; }
.pill-glass { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); height: calc(44 * var(--u)); padding: 0 calc(16 * var(--u)); border-radius: 999px;
  background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); font-size: calc(15 * var(--u)); font-weight: 600; }
.pill-glass em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.dot { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #f4d08b; box-shadow: 0 0 calc(10 * var(--u)) #f4d08b; }
.s-text { left: calc(24 * var(--u)); right: calc(24 * var(--u)); top: calc(446 * var(--u)); }
.s-cap { font-size: calc(13 * var(--u)); font-weight: 600; color: rgba(255, 255, 255, 0.84); }
.s-title { margin-top: calc(6 * var(--u)); font-size: calc(46 * var(--u)); font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; }
.s-meaning { margin-top: calc(8 * var(--u)); color: rgba(255, 255, 255, 0.84); font-size: calc(17 * var(--u)); line-height: 1.4; }
.s-panel { margin: calc(14 * var(--u)) calc(-8 * var(--u)) 0; padding: calc(17 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); border-radius: calc(34 * var(--u));
  background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.s-panel .s-eyebrow { padding-left: calc(6 * var(--u)); }
.s-q { margin-top: calc(4 * var(--u)); padding-left: calc(6 * var(--u)); font-size: calc(16 * var(--u)); font-weight: 500; line-height: 1.38; }
.s-row { display: flex; gap: calc(10 * var(--u)); margin-top: calc(12 * var(--u)); }
.s-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); height: calc(56 * var(--u)); border-radius: 999px; background: #fff6e9; color: #22140d; font-weight: 600; font-size: calc(17 * var(--u)); }
.s-heart { display: grid; place-items: center; width: calc(56 * var(--u)); height: calc(56 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.s-tabs { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(766 * var(--u)); height: calc(64 * var(--u)); display: flex; padding: calc(5 * var(--u)); gap: calc(2 * var(--u)); border-radius: calc(32 * var(--u));
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 28px rgba(0, 0, 0, 0.34); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(2 * var(--u)); border-radius: calc(27 * var(--u)); color: rgba(255, 255, 255, 0.6); }
.tab b { font-size: calc(11 * var(--u)); font-weight: 500; }
.tab.on { background: rgba(255, 255, 255, 0.13); color: #fff; }

.s-journal, .s-coll { background: radial-gradient(120% 60% at 30% 0%, #3a2618, transparent 70%), #100e0d; }
.s-h1 { left: calc(24 * var(--u)); top: calc(58 * var(--u)); font-size: calc(40 * var(--u)); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; }
.s-seg { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(122 * var(--u)); height: calc(52 * var(--u)); display: flex; padding: calc(3 * var(--u)); gap: calc(2 * var(--u)); border-radius: calc(26 * var(--u)); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.s-seg span { flex: 1; display: grid; place-items: center; border-radius: 999px; font-size: calc(15 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.s-seg .on { background: #fff6e9; color: #22140d; font-weight: 600; }
.s-month { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(188 * var(--u)); display: flex; align-items: center; justify-content: space-between; }
.s-month b { font-size: calc(19 * var(--u)); font-weight: 600; }
.s-week { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(246 * var(--u)); display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(6 * var(--u)); text-align: center;
  font-size: calc(12 * var(--u)); font-weight: 600; color: rgba(255, 255, 255, 0.74); }
.s-days { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(272 * var(--u)); display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(6 * var(--u)); }
.day { position: relative; height: calc(64 * var(--u)); border-radius: calc(12 * var(--u)); display: grid; place-items: center; font-size: calc(14 * var(--u)); font-weight: 500; overflow: hidden; }
.day.past { background: rgba(255, 255, 255, 0.1); }
.day.future { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.5); }
.day.has img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.day.has b { position: absolute; left: calc(4 * var(--u)); bottom: calc(4 * var(--u)); min-width: calc(18 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: calc(9 * var(--u)); background: rgba(16, 14, 13, 0.78); font-size: calc(11 * var(--u)); font-weight: 600; text-align: center; line-height: calc(18 * var(--u)); }
.day.today { box-shadow: 0 0 0 calc(2 * var(--u)) #f4d08b; overflow: visible; }
.day.today img { border-radius: inherit; }

.s-sub { left: calc(24 * var(--u)); top: calc(114 * var(--u)); font-size: calc(15 * var(--u)); color: rgba(255, 255, 255, 0.8); }
.s-banner { left: calc(16 * var(--u)); right: calc(16 * var(--u)); height: calc(158 * var(--u)); border-radius: calc(26 * var(--u)); overflow: hidden; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.s-banner > * { position: absolute; }
.b-tender { top: calc(152 * var(--u)); --tint: 34, 20, 13; }
.b-elements { top: calc(322 * var(--u)); --tint: 7, 11, 26; }
.s-banner img { position: absolute; right: 0; top: 0; width: 70%; height: 100%; object-fit: cover; }
.s-bfade { inset: 0; background: linear-gradient(90deg, rgba(var(--tint), 0.96) 0, rgba(var(--tint), 0.8) 42%, rgba(var(--tint), 0.1) 100%); }
.s-bsmall { left: calc(20 * var(--u)); top: calc(19 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.s-btitle { left: calc(20 * var(--u)); top: calc(39 * var(--u)); width: calc(190 * var(--u)); font-size: calc(26 * var(--u)); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.s-bopen { left: calc(20 * var(--u)); top: calc(113 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 500; }
.s-bar { left: calc(20 * var(--u)); top: calc(138 * var(--u)); width: calc(170 * var(--u)); height: calc(4 * var(--u)); border-radius: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.s-bar i { display: block; height: 100%; background: #f4d08b; }
.s-bar .w12 { width: 22%; } .s-bar .w5 { width: 9%; }
.s-bgo { right: calc(16 * var(--u)); bottom: calc(16 * var(--u)); width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.s-subhead { left: calc(24 * var(--u)); right: calc(16 * var(--u)); top: calc(500 * var(--u)); display: flex; justify-content: space-between; align-items: center; }
.s-subhead b { font-size: calc(19 * var(--u)); font-weight: 600; }
.s-subhead span { display: flex; align-items: center; gap: calc(2 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; color: #f4d08b; }
.s-subhead .i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.s-covers { left: calc(16 * var(--u)); right: calc(16 * var(--u)); top: calc(538 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(11 * var(--u)); }
.s-cover { position: relative; display: block; }
.s-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: calc(18 * var(--u)); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.3); filter: brightness(0.62) saturate(0.85); }
.s-lock { position: absolute; left: 50%; top: calc(84 * var(--u)); translate: -50% -50%; display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: rgba(34, 20, 13, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.s-lock .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.s-cover b { display: block; margin-top: calc(7 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 500; line-height: 1.3; color: rgba(255, 255, 255, 0.86); }

/* ── Decks ────────────────────────────────────────────────────────────────────────────────── */

.rail-wrap { position: relative; margin-inline: calc(50% - 50vw); --edge: max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter))); }
.rail { --rail-gap: clamp(18px, 2.4vw, 28px); display: flex; gap: var(--rail-gap); margin: 0; padding: 30px 0 40px var(--edge); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, transparent, #000 min(8vw, 120px), #000 calc(100% - min(8vw, 120px)), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 min(8vw, 120px), #000 calc(100% - min(8vw, 120px)), transparent); }
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 max(1px, calc(var(--edge) - var(--rail-gap))); }
.deck { flex: none; width: clamp(230px, 62vw, 280px); scroll-snap-align: start; }
.deck-card { display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; background: none; cursor: pointer; overflow: visible; perspective: 1200px; }
.deck-card .flip { transition: transform 0.9s var(--ease-out), translate 0.6s var(--ease-spring); }
.deck-card:hover .flip, .deck-card:focus-visible .flip { translate: 0 -8px; }
.deck-card .glare { transition: opacity 0.4s, translate 0.6s var(--ease-spring); }
.deck-card:hover .glare { translate: 0 -8px; }
.deck-card.turned .flip { transform: rotateY(180deg); }
@media (hover: hover) { .deck-card:hover .flip { transform: rotateY(180deg); } .deck-card.turned:hover .flip { transform: none; } }
.deck-card .side-face { transform: rotateY(0deg); }
.deck-card .side-back { transform: rotateY(180deg); }
.deck-card:hover .glare { opacity: 0.8; }
.deck-info { padding: 20px 4px 0; }
.deck-info h3 { margin-top: 10px; font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.deck-info p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-2); }
.tag.free { background: var(--gold-soft); border-color: transparent; color: var(--gold); }
.rail-btn { position: absolute; top: calc(30px + clamp(230px, 62vw, 280px) * 0.75); z-index: 2; translate: 0 -50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: var(--glass-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); transition: opacity 0.3s, transform 0.3s var(--ease-spring); }
.rail-btn:hover { transform: scale(1.08); }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-btn.prev { left: max(12px, calc(var(--edge) - 76px)); }
.rail-btn.next { right: max(12px, calc(var(--edge) - 76px)); }
@media (hover: none), (max-width: 700px) { .rail-btn { display: none; } }
html:not(.js) .rail-btn, html:not(.js) .chips, html:not(.js) .draw-btn { display: none; }

.weekly { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); border-radius: 40px;
  background: var(--glass); border: 1px solid var(--glass-border); overflow: hidden; }
.weekly h3 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.04em; line-height: 1.08; }
.weekly-copy p:last-child { margin-top: 12px; color: var(--text-2); }
.marquee { display: flex; overflow: hidden; margin-right: calc(clamp(28px, 4vw, 44px) * -1); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee ul { display: flex; flex: none; gap: 16px; margin: 0; padding: 18px 16px 18px 0; list-style: none; animation: marquee 60s linear infinite; }
.marquee li { width: 112px; aspect-ratio: 2 / 3; flex: none; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42); }
.marquee li:nth-child(odd) { rotate: -3deg; } .marquee li:nth-child(even) { rotate: 3deg; translate: 0 8px; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .weekly { grid-template-columns: 1fr; text-align: center; } .marquee { margin-inline: calc(clamp(28px, 4vw, 44px) * -1); } }

/* ── Privacy ──────────────────────────────────────────────────────────────────────────────── */

.privacy-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.privacy h2 { max-width: 640px; }
.vault { display: grid; place-items: center; padding: 30px 0; }
.vault-card { position: relative; width: min(100%, 360px); padding: 26px 26px 30px; border-radius: 30px; rotate: -3deg; }
.vault-card .s-eyebrow { font-size: 12px; }
@media (prefers-color-scheme: light) { .vault-card .s-eyebrow { color: var(--gold); } }
.vault-t { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; }
.vault-x { display: grid; gap: 10px; margin-top: 16px; }
.vault-x span { height: 10px; border-radius: 5px; background: var(--line); filter: blur(0.5px); }
.vault-x .short { width: 60%; }
.vault-lock { position: absolute; right: -4px; bottom: -22px; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--pill); color: var(--on-pill);
  box-shadow: 0 0 0 10px var(--gold-soft), 0 0 60px rgba(244, 208, 139, 0.45); animation: pulse 4s ease-in-out infinite; }
.vault-lock .i { width: 30px; height: 30px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px transparent, 0 0 80px rgba(244, 208, 139, 0.6); } }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.points li { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-border); }
.points li:nth-child(2) { --d: 0.08s; } .points li:nth-child(3) { --d: 0.16s; } .points li:nth-child(4) { --d: 0.24s; }
.points .i { width: 28px; height: 28px; margin-bottom: 8px; color: var(--gold); }
.points b { font-size: 18px; letter-spacing: -0.02em; }
.points span { font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .privacy-in { grid-template-columns: 1fr; text-align: center; } .privacy h2 { margin-inline: auto; } .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .points { grid-template-columns: 1fr; } }

/* ── Download ─────────────────────────────────────────────────────────────────────────────── */

.download-card { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px); border-radius: clamp(32px, 4vw, 48px); isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, rgba(244, 208, 139, 0.3), transparent 60%), linear-gradient(160deg, #3a2414, #1a100b 70%); color: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.download-card .eyebrow { color: #f4d08b; }
.download h2 { max-width: 640px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 30px 0 34px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.plan b { font-size: 18px; letter-spacing: -0.02em; }
.plan span { font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.plan.accent { box-shadow: inset 0 0 0 1px rgba(244, 208, 139, 0.55); background: rgba(244, 208, 139, 0.1); }
.plan.accent b { color: #f4d08b; }
.download .store { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.download .store small { color: rgba(255, 255, 255, 0.72); }
.download .store:first-child { background: #fff6e9; color: #22140d; }
.download .store:first-child small { color: rgba(34, 20, 13, 0.76); }
.download .hint { margin-top: 18px; color: rgba(255, 255, 255, 0.55); }
.dl-cards { position: absolute; right: clamp(-60px, -2vw, 0px); top: 50%; width: 400px; height: 360px; translate: 0 -50%; z-index: -1; pointer-events: none; }
.dl-c { position: absolute; width: 170px; aspect-ratio: 2 / 3; box-shadow: var(--card-shadow); animation: float 8s ease-in-out infinite; }
.dl-c.c1 { right: 210px; top: 40px; rotate: -14deg; animation-delay: -2s; }
.dl-c.c2 { right: 110px; top: 0; rotate: 2deg; animation-delay: -4s; z-index: 1; }
.dl-c.c3 { right: 10px; top: 50px; rotate: 16deg; animation-delay: -6s; }
@media (max-width: 1000px) { .dl-cards { opacity: 0.3; } }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } .dl-cards { display: none; } }

/* ── FAQ / details ────────────────────────────────────────────────────────────────────────── */

.faq-list { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-border); transition: transform 0.45s var(--ease-spring), background-color 0.3s; }
summary i::before, summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 1px; background: currentColor; translate: -50% -50%; }
summary i::after { rotate: 90deg; }
details[open] summary i { transform: rotate(45deg); background: var(--gold-soft); }
summary:hover i { background: var(--glass-strong); }
.ans { padding: 0 60px 26px 4px; color: var(--text-2); font-size: 17px; }
.ans a { color: var(--gold); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq-more { margin-top: 36px; text-align: center; color: var(--text-2); }
.faq-more a { color: var(--gold); }

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */

.foot { margin-top: clamp(80px, 12vw, 160px); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; max-width: var(--wrap); margin: 0 auto; padding: 44px var(--gutter) max(44px, env(safe-area-inset-bottom)); }
.foot-brand p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.foot-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 22px; font-size: 15px; }
.foot-nav a { color: var(--text-2); text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current] { color: var(--text); }
.foot-note, .foot-copy { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); }
.foot-note { max-width: 640px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } }

/* ── Documents (privacy, terms, support, 404) ─────────────────────────────────────────────── */

main.landing { overflow-x: clip; }
main.doc { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 0; }
.prose { font-size: 17px; line-height: 1.65; color: var(--text-strong); }
.prose h1 { margin: 10px 0 24px; font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 19px; letter-spacing: -0.02em; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); }
.prose .email { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.prose .email a { text-decoration: none; }
.muted { color: var(--text-2); }
.prose .faq-list details:first-child { border-top: 1px solid var(--line); }
.notfound { text-align: center; padding: 8vh 0; }
.notfound .btn { color: var(--on-pill); margin-top: 12px; }
.draft { margin: 0 0 28px; padding: 12px 18px; border-radius: 16px; background: var(--mark-bg); color: var(--mark-text); font-size: 15px; font-weight: 500; }
mark { background: var(--mark-bg); color: var(--mark-text); border-radius: 4px; padding: 0 3px; }

/* ── Page transitions (cross-document View Transitions; ignored where unsupported) ─────────── */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s ease-in both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }

/* ── Reduced motion: everything still, nothing hidden ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .fan, .drawn, .phone { transform: none !important; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee ul + ul { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .ambient { display: none; }
}
