/* ══════════════════════════════════════════════════════════════
   PrideChat.app — Design System v3
   Mobile-first. Typographic scale, restrained brand palette,
   elevation over borders, real product imagery, minimal JS.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Brand — PrideChat's own deep violet, not a rainbow cliché */
  --brand:        #6C4CE0;
  --brand-strong: #5636C9;
  --brand-soft:   #F1EDFF;
  --brand-tint:   #F8F6FF;

  /* Accent used sparingly for warmth / highlight */
  --accent:       #FF5C8A;
  --accent-soft:  #FFEDF3;

  /* Ink */
  --ink:      #17162A;
  --ink-2:    #46436B;
  --ink-3:    #7A7795;

  /* Surfaces */
  --page:     #FFFFFF;
  --surface:  #FFFFFF;
  --surface-2:#F7F6FC;
  --surface-3:#F1EFFA;
  --line:     #EAE7F4;

  /* Radii — generous, consistent */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Elevation — depth from soft, layered shadows (borders stay subtle) */
  --e1: 0 1px 2px rgba(23,22,42,.04), 0 1px 1px rgba(23,22,42,.03);
  --e2: 0 2px 6px rgba(23,22,42,.05), 0 8px 24px rgba(108,76,224,.06);
  --e3: 0 4px 12px rgba(23,22,42,.06), 0 20px 48px rgba(108,76,224,.10);
  --e4: 0 8px 24px rgba(23,22,42,.08), 0 32px 80px rgba(108,76,224,.16);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-km: 'Noto Sans Khmer', 'Inter', sans-serif;

  /* Rhythm */
  --gut: 20px;
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Khmer / Thai scripts get a taller line-height and their own stack */
html[lang="km"] body,
html[lang="th"] body { line-height: 1.85; }
html[lang="km"] body { font-family: var(--font-km); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }

/* ══ HEADER ══ */
header.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
header.site-head.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 0; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo-img { width: 36px; height: 36px; border-radius: var(--r-xs); box-shadow: var(--e1); }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.4px; color: var(--ink); }
.brand-name em { font-style: normal; color: var(--brand); }

/* Primary nav: hidden on small screens, revealed by the toggle */
.nav-links { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: none; align-items: center; gap: 2px;
  background: var(--surface-2); border-radius: var(--r-pill); padding: 3px;
}
.lang-link {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
  color: var(--ink-3); padding: 5px 10px; border-radius: var(--r-pill);
  transition: color .15s, background .15s;
}
.lang-link:hover { color: var(--brand); }
.lang-link.active { background: var(--surface); color: var(--brand); box-shadow: var(--e1); }
.lang-sep { display: none; }

/* Header CTA — the primary conversion control, always visible */
.head-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -.1px;
  padding: 10px 16px; border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(108,76,224,.28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.head-cta:hover { background: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(108,76,224,.36); }
.head-cta svg { width: 15px; height: 15px; }
.head-cta span.full { display: none; }

/* Mobile menu toggle */
/* CSS-only disclosure state checkbox. Kept in the layout (not display:none) so
   :checked resolves in every browser; visually and a11y hidden. */
.nav-switch {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 9px; flex-shrink: 0;
  background: var(--surface-2); border: 0; border-radius: var(--r-xs); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
/* Open-state styling driven by :checked (no JS) AND by aria-expanded (JS enhancer). */
.nav-switch:checked ~ .container .nav-toggle span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-switch:checked ~ .container .nav-toggle span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-switch:checked ~ .container .nav-toggle span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
  border-top: 1px solid transparent;
}
.nav-drawer[data-open="true"] { grid-template-rows: 1fr; border-top-color: var(--line); }
/* CSS-only open: the hidden checkbox is a sibling of the drawer inside <header>,
   so :checked opens it with no JavaScript. */
.nav-switch:checked ~ .nav-drawer { grid-template-rows: 1fr; border-top-color: var(--line); }
.nav-drawer > div { overflow: hidden; }
.nav-drawer ul { list-style: none; padding: 8px 0 16px; }
.nav-drawer li + li { border-top: 1px solid var(--line); }
.nav-drawer a { display: block; padding: 14px 2px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.nav-drawer a:hover { color: var(--brand); }

/* Drawer language row */
.drawer-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px 20px; border-top: 1px solid var(--line); }
.drawer-lang-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); }
.nav-drawer .lang-switch { display: flex; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.1px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(108,76,224,.30); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108,76,224,.40); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.btn-block { width: 100%; }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: var(--r-sm);
  padding: 9px 16px; min-height: 52px;
  box-shadow: var(--e2); transition: transform .18s ease, box-shadow .18s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--e3); }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-top { font-size: 9.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; opacity: .78; }
.store-badge .sb-bot { font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; }

/* ══ SECTION SHELL ══ */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.eyebrow.center { justify-content: center; }

/* ══ HERO ══ */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 0 8px;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(108,76,224,.16) 0%, rgba(108,76,224,0) 58%),
    radial-gradient(90% 70% at 0% 8%, rgba(255,92,138,.10) 0%, rgba(255,92,138,0) 55%),
    var(--page);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: var(--r-pill);
  padding: 7px 15px 7px 11px;
  font-size: 13px; font-weight: 700; color: var(--brand);
  box-shadow: var(--e2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.16); }

.hero h1 {
  font-size: clamp(34px, 9vw, 42px);
  font-weight: 800; line-height: 1.08; letter-spacing: -1.4px;
  color: var(--ink); text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(96deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  font-size: 16.5px; line-height: 1.62; color: var(--ink-2); max-width: 46ch;
}
.hero-cta { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero-note { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }

/* Hero visual — real product screenshot in a device shell */
.hero-visual { position: relative; display: flex; justify-content: center; }
.device {
  position: relative; width: 262px; max-width: 76vw;
  background: #14132A; border-radius: 38px; padding: 9px;
  box-shadow: var(--e4), 0 0 0 1px rgba(23,22,42,.05);
}
.device::after {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 22px; background: #14132A; border-radius: 0 0 14px 14px; z-index: 2;
}
.device img { border-radius: 30px; width: 100%; height: auto; }
/* Secondary screenshot offset behind, desktop only */
.device-float { display: none; }

.hero-proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 4px;
}
.avatars { display: flex; }
.avatars img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--page); margin-left: -11px; background: var(--surface-3);
}
.avatars img:first-child { margin-left: 0; }
.hero-proof .txt { font-size: 13.5px; color: var(--ink-3); }
.hero-proof .txt b { color: var(--ink); font-weight: 700; }

/* ══ FEATURE / VALUE GRID ══ */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.value-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--e2);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--e3); }
.value-ico {
  width: 46px; height: 46px; border-radius: var(--r-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.value-ico svg { width: 23px; height: 23px; }
.value-card h3 { font-size: 17.5px; font-weight: 750; letter-spacing: -.3px; color: var(--ink); }
.value-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ══ FEATURES SHOWCASE (real screenshots) ══ */
.showcase { background: var(--surface-2); }
.showcase-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.showcase-head h2 { font-size: clamp(26px, 6.4vw, 34px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.showcase-head p { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { display: flex; flex-direction: column; gap: 12px; }
.shot .frame {
  border-radius: var(--r-md); overflow: hidden; background: #14132A;
  box-shadow: var(--e2); aspect-ratio: 1080 / 2220;
}
.shot .frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { font-size: 13.5px; font-weight: 650; color: var(--ink-2); text-align: center; }

/* ══ BLOG ══ */
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.blog-head h2 { font-size: clamp(24px, 6vw, 32px); font-weight: 800; letter-spacing: -.9px; }
.blog-head a { font-size: 14.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.blog-head a:hover { text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.post-card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--e2); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--brand); }
.post-card h3 {
  font-size: 16.5px; font-weight: 750; line-height: 1.35; letter-spacing: -.2px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .more { font-size: 13.5px; font-weight: 700; color: var(--brand); margin-top: 2px; }

/* ══ FAQ ══ */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--e1); overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--e2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.2px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
  transition: transform .22s ease;
}
.faq summary .chev svg { width: 14px; height: 14px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 20px; font-size: 15px; line-height: 1.68; color: var(--ink-2); }
.faq .ans a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ══ FINAL CTA ══ */
.final-cta {
  margin: 8px auto 0; max-width: var(--maxw);
  border-radius: var(--r-xl); padding: 40px 24px; text-align: center;
  background:
    radial-gradient(110% 130% at 80% 0%, rgba(255,92,138,.22) 0%, rgba(255,92,138,0) 55%),
    linear-gradient(150deg, var(--brand) 0%, #4B2FBE 100%);
  color: #fff; box-shadow: var(--e3);
}
.final-cta h2 { font-size: clamp(24px, 6.4vw, 34px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.final-cta p { margin: 12px auto 24px; max-width: 46ch; font-size: 16px; color: rgba(255,255,255,.86); }
.final-cta .stores { justify-content: center; }
.final-cta .store-badge { background: #fff; color: var(--ink); }

/* ══ FOOTER ══ */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 64px; }
.foot-grid { display: flex; flex-direction: column; gap: 26px; padding: 40px 0 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 34ch; }
.foot-brand .brand-name { font-size: 18px; }
.foot-brand p { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.foot-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 14.5px; color: var(--ink-2); transition: color .15s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  border-top: 1px solid var(--line); padding: 18px 0 32px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
}
.foot-bottom .stores { gap: 10px; }
.foot-bottom .store-badge { min-height: 44px; padding: 7px 14px; }
.foot-bottom .store-badge .sb-bot { font-size: 14px; }
.foot-copy { font-size: 13px; color: var(--ink-3); }

/* ══ SCROLL REVEAL (motion used sparingly) ══
   Fail-safe: content is visible by default. Only elements inside a JS-enabled
   page that has NOT yet been revealed are hidden. */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal { transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }

/* ══ FOCUS — visible, considered ══ */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px;
}

/* ══════════════════════════════════════════════════════════════
   UP-SCALES — desktop is the adaptation, not the source of truth
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --gut: 28px; }
  .section { padding: 84px 0; }
  .hero { padding: 44px 0 8px; }
  .value-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .foot-grid { flex-direction: row; justify-content: space-between; gap: 40px; padding: 52px 0 34px; }
  .foot-cols { grid-template-columns: repeat(3, auto); gap: 28px 48px; }
  .foot-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .head-cta span.full { display: inline; }
  .head-cta span.short { display: none; }
}

@media (min-width: 900px) {
  :root { --gut: 32px; }
  .hero { padding: 60px 0 24px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-copy { gap: 22px; }
  .hero h1 { font-size: 56px; letter-spacing: -2px; }
  .hero-lede { font-size: 18px; }
  .hero-cta { flex-direction: row; align-items: center; width: auto; }
  .device { width: 300px; }
  .device-float {
    display: block; position: absolute; z-index: -1;
    right: 50%; top: 8%; transform: translateX(64%);
    width: 218px; border-radius: 32px; padding: 8px;
    background: #14132A; box-shadow: var(--e3); opacity: .96;
  }
  .device-float img { border-radius: 26px; }
  .blog-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 104px 0; }
  .final-cta { padding: 64px 40px; }

  /* Desktop nav */
  .nav-toggle, .nav-drawer { display: none; }
  .lang-switch { display: flex; }
  .nav-links {
    display: flex; gap: 26px; align-items: center;
    flex: 1; justify-content: center;
  }
  .nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .15s; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: var(--brand); border-radius: 2px; transition: right .22s ease;
  }
  .nav-links a:hover { color: var(--brand); }
  .nav-links a:hover::after { right: 0; }
}

@media (min-width: 1120px) {
  .hero h1 { font-size: 60px; }
}

/* ══ DARK MODE ══ */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F3F1FA; --ink-2: #B9B5D4; --ink-3: #8E8AAB;
    --page: #0C0B16; --surface: #141222; --surface-2: #100E1C; --surface-3: #1B1830;
    --line: #262244;
    --brand: #9B7BFF; --brand-strong: #AC90FF; --brand-soft: #221C3D; --brand-tint: #1A1530;
    --accent: #FF7BA3; --accent-soft: #2A1524;
    --e1: 0 1px 2px rgba(0,0,0,.4);
    --e2: 0 2px 8px rgba(0,0,0,.45), 0 10px 30px rgba(108,76,224,.14);
    --e3: 0 6px 20px rgba(0,0,0,.5), 0 24px 60px rgba(108,76,224,.20);
    --e4: 0 10px 30px rgba(0,0,0,.55), 0 36px 90px rgba(108,76,224,.26);
  }
  .hero {
    background:
      radial-gradient(120% 90% at 82% -10%, rgba(108,76,224,.30) 0%, rgba(108,76,224,0) 58%),
      radial-gradient(90% 70% at 0% 8%, rgba(255,92,138,.14) 0%, rgba(255,92,138,0) 55%),
      var(--page);
  }
  header.site-head { background: rgba(12,11,22,.78); }
  header.site-head.is-scrolled { background: rgba(12,11,22,.94); }
  .store-badge { background: #F3F1FA; color: #17162A; }
  .final-cta { background: linear-gradient(150deg, #4A31C4 0%, #2E1E86 100%); }
  .final-cta .store-badge { background: #fff; color: #17162A; }
  .device { background: #050410; }
  .device::after { background: #050410; }
  .device-float { background: #050410; }
  .shot .frame { background: #050410; }
}

/* ══ PRINT (legal pages occasionally get printed) ══ */
@media print {
  header.site-head, .final-cta, .nav-drawer { display: none; }
  body { color: #000; background: #fff; }
}
