/* بنر — public site. One stylesheet for every page. RTL-first, light + dark, no framework.
   Tokens follow design/tokens.json (light) and apps/mobile/lib/core/theme/palette.dart (dark). */

@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap;
  src: url("/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"), url("/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap;
  src: url("/fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"), url("/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap;
  src: url("/fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"), url("/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); }

/* ───────────── Tokens ───────────── */
:root {
  color-scheme: light;
  --y: #F4C430; --y-hover: #E6B520; --y-press: #D4A30F; --y-soft: #FCE8A6; --y-subtle: #FEF5D7;
  --accent: #7A5800;            /* yellow-family TEXT on surfaces */
  --on-y: #17212B;              /* text/icons on yellow fills, both modes */
  --bg: #F8F9FB; --surface: #FFFFFF; --surface-alt: #F1F3F6; --border: #E2E6EB; --border-strong: #7E8996;
  --text: #17212B; --text-2: #4A5563; --text-3: #626C7A;
  --focus: #17212B;
  --success: #177A47; --success-subtle: #E6F4EC;
  --error: #C42B2B;
  --header-bg: rgba(248, 249, 251, .82);

  --hero-bg: linear-gradient(158deg, #FFE38A 0%, #F8CF45 38%, #F4C430 62%, #EDB21A 100%);
  --hero-ring: rgba(255, 241, 190, .55);
  --hero-glow: rgba(255, 246, 214, .75);
  --hero-text: #17212B; --hero-text-2: #3B3622;
  --hero-chip-bg: rgba(255, 255, 255, .62); --hero-chip-border: rgba(23, 33, 43, .10); --hero-chip-text: #17212B;
  --hl: rgba(255, 255, 255, .7);            /* highlighter behind the key word */
  --hl-text: #17212B;
  --btn-hero-bg: #17212B; --btn-hero-text: #FFFFFF; --btn-hero-hover: #26323F;
  --ghost-bg: rgba(255, 255, 255, .5); --ghost-border: rgba(23, 33, 43, .28); --ghost-text: #17212B;

  --soft-grad: linear-gradient(160deg, #FFFBEF 0%, #FEF1C9 100%);
  --ink-card: linear-gradient(160deg, #1F2A36 0%, #17212B 60%, #121A22 100%);
  --ink-card-text: #FFFFFF; --ink-card-text-2: #C9D0D8;
  --store-bg: #17212B; --store-text: #FFFFFF; --store-text-2: #C9D0D8;
  --phone-bezel: #0D1014; --phone-edge: #2A3039;

  --shadow-1: 0 1px 2px rgba(23, 33, 43, .06), 0 1px 3px rgba(23, 33, 43, .04);
  --shadow-2: 0 6px 18px rgba(23, 33, 43, .08);
  --shadow-3: 0 18px 44px rgba(23, 33, 43, .16);
  --shadow-phone: 0 30px 60px rgba(84, 58, 0, .28), 0 8px 18px rgba(23, 33, 43, .18);

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px;
  --ease: cubic-bezier(.2, 0, 0, 1); --ease-enter: cubic-bezier(0, 0, 0, 1);
  --wrap: 1160px; --gutter: 20px;
}

/* Dark tokens: used when the visitor chose dark, or (no choice / no JS) the OS prefers dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --y-soft: #4A3C14; --y-subtle: #2A2412; --accent: #F6CC4A;
    --bg: #0E1116; --surface: #151A21; --surface-alt: #1C232C; --border: #29313C; --border-strong: #6F7B89;
    --text: #ECEFF3; --text-2: #B7C0CB; --text-3: #97A2AF; --focus: #F6CC4A;
    --success: #4FC88E; --success-subtle: #12291E; --error: #FF8178;
    --header-bg: rgba(14, 17, 22, .8);
    --hero-bg: linear-gradient(158deg, #2C2B1E 0%, #22262A 40%, #1C232C 70%, #151A21 100%);
    --hero-ring: rgba(244, 196, 48, .09); --hero-glow: rgba(244, 196, 48, .22);
    --hero-text: #F3EEDD; --hero-text-2: #D6CDAE;
    --hero-chip-bg: rgba(244, 196, 48, .1); --hero-chip-border: rgba(244, 196, 48, .22); --hero-chip-text: #F3EEDD;
    --hl: rgba(244, 196, 48, .16); --hl-text: #F6CC4A;
    --btn-hero-bg: #F4C430; --btn-hero-text: #17212B; --btn-hero-hover: #F7CF55;
    --ghost-bg: rgba(255, 255, 255, .04); --ghost-border: rgba(243, 238, 221, .28); --ghost-text: #F3EEDD;
    --soft-grad: linear-gradient(160deg, #231E10 0%, #171A1F 100%);
    --ink-card: linear-gradient(160deg, #20262F 0%, #1A2028 55%, #151A21 100%);
    --ink-card-text: #ECEFF3; --ink-card-text-2: #B7C0CB;
    --store-bg: #1C232C; --store-text: #ECEFF3; --store-text-2: #B7C0CB;
    --phone-bezel: #05070A; --phone-edge: #3A424D;
    --shadow-1: none; --shadow-2: 0 6px 18px rgba(0, 0, 0, .35); --shadow-3: 0 18px 44px rgba(0, 0, 0, .5);
    --shadow-phone: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --y-soft: #4A3C14; --y-subtle: #2A2412; --accent: #F6CC4A;
  --bg: #0E1116; --surface: #151A21; --surface-alt: #1C232C; --border: #29313C; --border-strong: #6F7B89;
  --text: #ECEFF3; --text-2: #B7C0CB; --text-3: #97A2AF; --focus: #F6CC4A;
  --success: #4FC88E; --success-subtle: #12291E; --error: #FF8178;
  --header-bg: rgba(14, 17, 22, .8);
  --hero-bg: linear-gradient(158deg, #2C2B1E 0%, #22262A 40%, #1C232C 70%, #151A21 100%);
  --hero-ring: rgba(244, 196, 48, .09); --hero-glow: rgba(244, 196, 48, .22);
  --hero-text: #F3EEDD; --hero-text-2: #D6CDAE;
  --hero-chip-bg: rgba(244, 196, 48, .1); --hero-chip-border: rgba(244, 196, 48, .22); --hero-chip-text: #F3EEDD;
  --hl: rgba(244, 196, 48, .16); --hl-text: #F6CC4A;
  --btn-hero-bg: #F4C430; --btn-hero-text: #17212B; --btn-hero-hover: #F7CF55;
  --ghost-bg: rgba(255, 255, 255, .04); --ghost-border: rgba(243, 238, 221, .28); --ghost-text: #F3EEDD;
  --soft-grad: linear-gradient(160deg, #231E10 0%, #171A1F 100%);
  --ink-card: linear-gradient(160deg, #20262F 0%, #1A2028 55%, #151A21 100%);
  --ink-card-text: #ECEFF3; --ink-card-text-2: #B7C0CB;
  --store-bg: #1C232C; --store-text: #ECEFF3; --store-text-2: #B7C0CB;
  --phone-bezel: #05070A; --phone-edge: #3A424D;
  --shadow-1: none; --shadow-2: 0 6px 18px rgba(0, 0, 0, .35); --shadow-3: 0 18px 44px rgba(0, 0, 0, .5);
  --shadow-phone: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
}

/* Theme-specific media (screens, illustrations): light by default, swapped in dark. */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}

/* ───────────── Base ───────────── */
*, *::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; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.7 "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--y); color: var(--on-y);
  padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; text-decoration: none; transition: top .15s var(--ease); }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 26px; height: 26px; }
bdi { unicode-bidi: isolate; }

/* ───────────── Header ───────────── */
.top { position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; border-radius: 10px; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--text-2); font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.nav a:hover { color: var(--text); background: var(--surface-alt); }
.nav a[aria-current="page"] { color: var(--text); background: var(--y-subtle); }
.theme-toggle { flex: none; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), background-color .15s var(--ease); }
.nav + .theme-toggle { margin-inline-start: 4px; }
.top .wrap > .brand + .theme-toggle { margin-inline-start: auto; }
.theme-toggle:hover { background: var(--surface-alt); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* ───────────── Buttons ───────────── */
.btn { --bb: var(--y); --bt: var(--on-y); --bh: var(--y-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent; background: var(--bb); color: var(--bt);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .15s var(--ease), box-shadow .2s var(--ease), border-color .15s var(--ease); }
.btn:hover { background: var(--bh); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 33, 43, .16); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .08s; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico-go { transform: translateX(-4px); }
.btn-hero { --bb: var(--btn-hero-bg); --bt: var(--btn-hero-text); --bh: var(--btn-hero-hover); }
.btn-ghost { --bb: var(--ghost-bg); --bt: var(--ghost-text); --bh: var(--ghost-bg); border-color: var(--ghost-border); }
.btn-ghost:hover { border-color: var(--ghost-text); box-shadow: none; }

/* ───────────── Hero ───────────── */
.hero { position: relative; margin: 12px; border-radius: var(--r-2xl); background: var(--hero-bg); color: var(--hero-text);
  overflow: hidden; isolation: isolate; --rx: 26%; --ry: 74%; }
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-deco::before { content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at var(--rx) var(--ry), transparent 0 46px, var(--hero-ring) 46px 70px);
  -webkit-mask-image: radial-gradient(circle at var(--rx) var(--ry), #000 0, #000 22%, transparent 62%);
          mask-image: radial-gradient(circle at var(--rx) var(--ry), #000 0, #000 22%, transparent 62%); }
.hero-deco::after { content: ""; position: absolute; width: 640px; height: 640px; left: calc(var(--rx) - 320px); top: calc(var(--ry) - 380px);
  background: radial-gradient(circle, var(--hero-glow) 0, transparent 65%); }
.spark { position: absolute; width: 18px; height: 18px; color: var(--hero-text); opacity: .55; }
.spark svg { width: 100%; height: 100%; fill: currentColor; }
.spark-1 { top: 16%; left: 8%; }
.spark-2 { top: 10%; left: 44%; width: 12px; height: 12px; opacity: .4; }
.spark-3 { bottom: 14%; left: 47%; width: 14px; height: 14px; }
.spark-4 { top: 58%; right: 4%; width: 10px; height: 10px; opacity: .35; }
:root[data-theme="dark"] .spark { color: #F4C430; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .spark { color: #F4C430; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding-block: 64px 56px; min-height: 640px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--hero-chip-bg); border: 1px solid var(--hero-chip-border); color: var(--hero-chip-text);
  font-size: 14px; font-weight: 600; line-height: 1.5; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #177A47; box-shadow: 0 0 0 4px rgba(23, 122, 71, .18); flex: none; }
:root[data-theme="dark"] .pill .dot { background: #4FC88E; box-shadow: 0 0 0 4px rgba(79, 200, 142, .18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill .dot { background: #4FC88E; box-shadow: 0 0 0 4px rgba(79, 200, 142, .18); } }
.hero h1 { margin: 20px 0 16px; font-size: clamp(34px, 4.7vw, 60px); line-height: 1.28; font-weight: 700; text-wrap: balance; }
.hl { position: relative; z-index: 0; color: var(--hl-text); white-space: nowrap; }
.hl::after { content: ""; position: absolute; z-index: -1; inset-inline: -6px; bottom: .06em; height: .44em; border-radius: 10px;
  background: var(--hl); transform-origin: right; }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--hero-text-2); max-width: 30em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 28px 0 0; padding: 0;
  color: var(--hero-text); font-weight: 600; font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .tile { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--hero-chip-bg); border: 1px solid var(--hero-chip-border); }
.hero-points .ico { width: 17px; height: 17px; }

/* Phone mock-ups (pure CSS frame around real app screenshots) */
.hero-visual { position: relative; height: 620px; --spread: clamp(128px, 10.6vw, 152px); translate: -24px 0; }
.slot { position: absolute; top: 50%; left: 50%; width: var(--w); margin: calc(var(--w) * -1.044) 0 0 calc(var(--w) / -2);
  translate: var(--x, 0) var(--y, 0); rotate: var(--rot, 0deg); }
.slot-front { --w: clamp(240px, 19.8vw, 286px); z-index: 3; }
.slot-a, .slot-b { --w: clamp(186px, 15vw, 216px); --y: 34px; }
.slot-a { --x: calc(var(--spread) * -1); --rot: -8deg; z-index: 2; }
.slot-b { --x: var(--spread); --rot: 8deg; z-index: 1; }
.phone { position: relative; border-radius: calc(var(--w) * .15); padding: calc(var(--w) * .034); background: var(--phone-bezel);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px var(--phone-edge); }
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(var(--w) * .052); left: 50%; width: 27%; height: calc(var(--w) * .07);
  translate: -50% 0; border-radius: 999px; background: #000; }
.phone::after { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 12%; border-radius: 0 3px 3px 0; background: var(--phone-edge); }
.screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .118); background: var(--bg); aspect-ratio: 540 / 1170; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%); }
.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-3);
  font-size: 14px; line-height: 1.35; white-space: nowrap; }
.float-chip .tile { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-chip b { display: block; font-size: 16px; font-weight: 700; }
.float-chip small { display: block; color: var(--text-2); font-size: 13px; }
.chip-paid { top: 13%; right: 2%; }
.chip-paid .tile { background: var(--success-subtle); color: var(--success); }
.chip-views { bottom: 11%; left: 3%; }
.chip-views .tile { background: var(--y); color: var(--on-y); }

/* ───────────── Sections ───────────── */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 640px; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--y-subtle); color: var(--accent); font-weight: 600; font-size: 14px; line-height: 1.5; }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.sec-head p { color: var(--text-2); font-size: 18px; }

/* How it works */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 116px; inset-inline: 12%; border-top: 2px dashed var(--y-soft); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 8px 12px 24px; border-radius: var(--r-xl); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.step:hover { background: var(--surface); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step-art { width: 100%; max-width: 236px; aspect-ratio: 4 / 3; }
.step-art img { width: 100%; height: 100%; }
.step-num { position: absolute; top: 18px; inset-inline-start: 18px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 12px; background: var(--y); color: var(--on-y); font-weight: 700; font-size: 17px; box-shadow: 0 6px 14px rgba(212, 163, 15, .35); }
.step h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.step p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 22em; }

/* Audiences */
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aud { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-2xl); padding: clamp(24px, 3.4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag art" "title art" "list list"; column-gap: 12px; align-items: start; }
.aud-p { background: var(--soft-grad); border: 1px solid var(--y-soft); }
.aud-a { background: var(--ink-card); color: var(--ink-card-text); }
.aud-a::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -140px; bottom: -200px;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(244, 196, 48, .08) 34px 52px); border-radius: 50%; }
.aud .tag { grid-area: tag; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px;
  font-weight: 600; font-size: 14px; line-height: 1.5; background: var(--surface); color: var(--accent); border: 1px solid var(--y-soft); }
.aud-a .tag { background: rgba(244, 196, 48, .14); color: #F6CC4A; border-color: rgba(244, 196, 48, .3); }
.aud h3 { grid-area: title; margin-top: 16px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 700; }
.aud-art { grid-area: art; width: clamp(130px, 15vw, 190px); margin-inline-end: -12px; margin-top: -8px; }
.aud-art img { width: 100%; }
.ticks { grid-area: list; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-lg); font-weight: 600; font-size: 16.5px; line-height: 1.5;
  background: var(--surface); border: 1px solid var(--border); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.ticks li:hover { transform: translateX(-4px); border-color: var(--y); }
.ticks .tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--y); color: var(--on-y); }
.aud-a .ticks li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: var(--ink-card-text); }
.aud-a .ticks li:hover { border-color: rgba(244, 196, 48, .6); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.trust { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.trust:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.trust .badge { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: var(--on-y);
  background: linear-gradient(145deg, #FFD95C 0%, #F4C430 55%, #E8B01A 100%); box-shadow: 0 10px 22px rgba(212, 163, 15, .3); }
.trust h3 { font-size: 20px; line-height: 1.4; margin-bottom: 6px; }
.trust p { color: var(--text-2); }
.trust::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 140px; height: 140px; border-start-end-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 0 0, var(--y-subtle) 0, transparent 70%); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 96px; }
.faq-art { width: 200px; margin-top: 8px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: var(--y); box-shadow: var(--shadow-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 600; font-size: 17px; line-height: 1.5; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-lg); }
.faq summary .q { flex: 1; }
.faq summary .tile { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--y-subtle); color: var(--accent); }
.faq summary .chev { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--surface-alt); color: var(--text-2);
  transition: transform .25s var(--ease), background-color .2s var(--ease); }
.faq details[open] .chev { transform: rotate(180deg); background: var(--y); color: var(--on-y); }
.faq .a { padding: 0 20px 20px; padding-inline-start: 70px; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .a { animation: faq-in .3s var(--ease-enter); }
}
@keyframes faq-in { from { opacity: 0; translate: 0 -6px; } }

/* Coming soon */
.soon { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-2xl); background: var(--hero-bg); color: var(--hero-text);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: clamp(28px, 4vw, 48px); }
.soon::before { content: ""; position: absolute; z-index: -1; inset: 0;
  background: repeating-radial-gradient(circle at 12% 50%, transparent 0 40px, var(--hero-ring) 40px 62px);
  -webkit-mask-image: radial-gradient(circle at 12% 50%, #000 0, transparent 55%); mask-image: radial-gradient(circle at 12% 50%, #000 0, transparent 55%); }
.soon .app-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 14px 30px rgba(84, 58, 0, .25); }
.soon h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.soon p { color: var(--hero-text-2); margin-top: 4px; font-size: 17px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 20px 8px 18px; border-radius: 16px;
  background: var(--store-bg); color: var(--store-text); border: 1px solid rgba(255, 255, 255, .08); }
.store .ico { width: 26px; height: 26px; }
.store small { display: block; font-size: 12.5px; color: var(--store-text-2); line-height: 1.3; }
.store b { display: block; font-size: 18px; line-height: 1.3; }

/* ───────────── Footer ───────────── */
.foot { margin-top: auto; background: var(--surface); border-top: 1px solid var(--border); color: var(--text-2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 48px 32px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 12px; max-width: 22em; }
.foot h2 { font-size: 15px; color: var(--text); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 18px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }

/* ───────────── Document pages (privacy / terms / delete-account / 404) ───────────── */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; margin: 12px; border-radius: var(--r-2xl); background: var(--hero-bg);
  color: var(--hero-text); padding-block: 36px 108px; --rx: 14%; --ry: 30%; }
.doc-hero .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 860px; }
.doc-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex: none; background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border); color: var(--hero-text); }
.doc-ico .ico { width: 30px; height: 30px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.doc-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--hero-text); background: var(--hero-chip-bg); border: 1px solid var(--hero-chip-border);
  transition: background-color .15s var(--ease), transform .15s var(--ease); }
.doc-tabs a:hover { transform: translateY(-1px); }
.doc-tabs a[aria-current="page"] { background: var(--btn-hero-bg); color: var(--btn-hero-text); border-color: transparent; }
.doc-main { padding-bottom: 72px; }
.doc-main > .wrap { max-width: 860px; }
.doc-card { position: relative; margin-top: -84px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: clamp(22px, 5vw, 52px); box-shadow: var(--shadow-3); min-height: 280px; }
.doc-card h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.35; margin: 0 0 8px; }
.doc-card .meta { display: inline-block; color: var(--text-3); font-size: 14px; line-height: 1.7; margin-bottom: 20px;
  padding: 4px 12px; border-radius: 14px; background: var(--surface-alt); }
.doc-card .meta bdi { white-space: nowrap; }
.doc-card h2 { position: relative; font-size: 21px; line-height: 1.45; margin: 34px 0 10px; padding-inline-start: 16px; }
.doc-card h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 5px; border-radius: 4px; background: var(--y); }
.doc-card p { margin: 0 0 12px; color: var(--text-2); }
.doc-card li { color: var(--text-2); }
.doc-card strong { color: var(--text); }
.doc-card ul, .doc-card ol { padding-inline-start: 24px; margin: 0 0 14px; }
.doc-card li + li { margin-top: 6px; }
.doc-card ul li::marker { color: var(--accent); }
.doc-card ol li::marker { color: var(--accent); font-weight: 700; }
.doc-card blockquote { margin: 0 0 18px; padding: 14px 18px; background: var(--y-subtle); border-radius: var(--r-md); color: var(--text);
  font-weight: 600; border-inline-start: 4px solid var(--y); }
.skeleton { height: 14px; border-radius: 7px; margin: 14px 0; background: linear-gradient(90deg, var(--surface-alt) 0%, var(--border) 50%, var(--surface-alt) 100%);
  background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: shimmer 1.4s linear infinite; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.error { color: var(--error); font-weight: 600; }

/* Delete-account page blocks */
.del-steps { list-style: none; padding: 0 !important; margin: 0 0 14px; display: grid; gap: 10px; counter-reset: d; }
.del-steps li { counter-increment: d; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface-alt); color: var(--text); margin: 0 !important; }
.del-steps li::before { content: counter(d); width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--y); color: var(--on-y); font-weight: 700; }
.del-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.del-box { border: 1px solid var(--border); border-radius: var(--r-xl); padding: 20px; }
.del-box h2 { margin: 0 0 12px; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 19px; }
.del-box h2::before { display: none; }
.del-box h2 .tile { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.del-box.gone .tile { background: rgba(196, 43, 43, .1); color: var(--error); }
.del-box.kept .tile { background: var(--y-subtle); color: var(--accent); }
.del-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.del-box li { display: flex; gap: 10px; align-items: flex-start; margin: 0 !important; }
.del-box li .ico { margin-top: 4px; color: var(--text-3); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--y-subtle); color: var(--text); }
.note .ico { color: var(--accent); margin-top: 3px; }
.note h2 { margin: 0 0 6px; padding: 0; font-size: 18px; }
.note h2::before { display: none; }
.note ul { margin: 0; }
.note li { color: var(--text); }

/* 404 */
.nf { display: grid; place-items: center; text-align: center; padding-block: 48px 80px; }
.nf-art { width: min(300px, 80vw); margin-inline: auto; }
.nf .code { display: inline-block; margin-top: 8px; padding: 4px 14px; border-radius: 999px; background: var(--y); color: var(--on-y); font-weight: 700; font-size: 15px; }
.nf h1 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 8px; line-height: 1.35; }
.nf p { color: var(--text-2); margin-bottom: 24px; }

/* ───────────── Motion ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-enter), translate .7s var(--ease-enter); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .slot { animation: rise .9s var(--ease-enter) both; animation-delay: var(--in, 0ms); }
  .slot-a { --in: 120ms; } .slot-b { --in: 220ms; }
  .slot .phone { animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
  .slot-a .phone { --fd: -2.4s; animation-duration: 8s; }
  .slot-b .phone { --fd: -4.8s; animation-duration: 9s; }
  .float-chip { animation: rise .8s var(--ease-enter) both, bob 6s ease-in-out infinite; animation-delay: .5s, 1.3s; }
  .chip-views { animation-delay: .65s, 2.6s; }
  .spark { animation: twinkle 4.5s ease-in-out infinite; }
  .spark-2 { animation-delay: -1.5s; } .spark-3 { animation-delay: -3s; } .spark-4 { animation-delay: -2.2s; }
  .is-paused .phone, .is-paused .float-chip, .is-paused .spark { animation-play-state: paused; }
  .hl::after { animation: hl-in .9s .35s var(--ease-enter) both; }
  .theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease) !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes twinkle { 0%, 100% { opacity: .2; scale: .7; } 50% { opacity: .7; scale: 1; } }
@keyframes hl-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ───────────── Responsive ───────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px 24px; min-height: 0; gap: 8px; }
  .hero { --rx: 50%; --ry: 78%; }
  .hero-visual { height: 600px; translate: none; --spread: 168px; }
  .slot-front { --w: 280px; } .slot-a, .slot-b { --w: 216px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps::before { display: none; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .sec-head { position: static; }
  .faq-art { display: none; }
  .soon { grid-template-columns: auto minmax(0, 1fr); }
  .soon .stores { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .aud-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .nav { display: none; }
  .nav.nav-keep { display: flex; }
  .del-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .top .wrap { min-height: 60px; }
  .brand img { height: 30px; }
  .hero { margin: 8px; border-radius: var(--r-xl); }
  .hero-grid { padding-block: 32px 8px; }
  .hero h1 { margin: 16px 0 12px; }
  .hero .actions { margin-top: 22px; }
  .hero .actions .btn { flex: 1 1 140px; }
  .hero-points { gap: 10px 14px; font-size: 14px; margin-top: 22px; }
  .hero-visual { height: 470px; --spread: 104px; }
  .slot-front { --w: 206px; }
  .slot-a, .slot-b { --w: 160px; --y: 30px; }
  .spark-1, .spark-2 { display: none; }
  .spark-3 { bottom: 4%; left: 50%; }
  .spark-4 { top: 52%; right: 3%; }
  .float-chip { padding: 8px 12px 8px 10px; gap: 8px; font-size: 13px; border-radius: 15px; }
  .float-chip .tile { width: 30px; height: 30px; border-radius: 10px; }
  .float-chip .ico { width: 17px; height: 17px; }
  .float-chip b { font-size: 14px; }
  .float-chip small { font-size: 12px; }
  .chip-paid { top: 6%; right: 0; }
  .chip-views { bottom: 7%; left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "art h" "art p"; text-align: start; align-items: center;
    column-gap: 14px; row-gap: 2px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); }
  .step:hover { transform: none; }
  .step-art { grid-area: art; width: 120px; }
  .step h3 { grid-area: h; align-self: end; font-size: 18px; }
  .step p { grid-area: p; align-self: start; font-size: 15px; }
  .step-num { top: 8px; inset-inline-start: 8px; width: 28px; height: 28px; border-radius: 9px; font-size: 14px; }
  .aud { grid-template-columns: minmax(0, 1fr) auto; }
  .aud-art { width: 112px; margin-inline-end: -8px; }
  .ticks li { font-size: 15.5px; padding: 10px 12px; gap: 12px; }
  .ticks .tile { width: 38px; height: 38px; }
  .trust { padding: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .trust .badge { grid-row: span 2; margin: 0; width: 54px; height: 54px; }
  .trust h3 { margin: 0; align-self: end; font-size: 18px; }
  .trust p { align-self: start; font-size: 15px; }
  .faq summary { padding: 14px 14px; gap: 12px; font-size: 16px; }
  .faq .a { padding: 0 16px 16px; padding-inline-start: 62px; }
  .soon { grid-template-columns: minmax(0, 1fr); text-align: start; gap: 18px; }
  .soon .app-icon { width: 68px; height: 68px; border-radius: 18px; }
  .stores { gap: 10px; }
  .store { flex: 1 1 140px; min-height: 56px; padding: 8px 14px; }
  .doc-hero { margin: 8px; border-radius: var(--r-xl); padding-block: 24px 96px; }
  .doc-ico { width: 52px; height: 52px; border-radius: 16px; }
  .doc-tabs a { min-height: 40px; padding: 0 12px 0 10px; font-size: 14px; gap: 6px; }
  .doc-card { border-radius: var(--r-xl); }
}
@media (max-width: 360px) {
  .hero-visual { --spread: 92px; }
  .slot-front { --w: 190px; }
  .doc-tabs .ico { display: none; }
}
