/* =============================================================================
   YoliVibe landing page. One stylesheet, no framework.
   Colours are tokens (dark by default, light by system or toggle); layout uses
   logical properties so right-to-left languages mirror for free.
   ========================================================================== */

/* ── Fonts: the app's own (OFL), self-hosted ─────────────────────────────── */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(../fonts/orbitron-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Vazirmatn"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/vazirmatn-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #050B16;
  --bg-2: #0A1424;
  --bg-3: #0F1C31;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --glass: rgba(10, 20, 36, .62);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --ink: #F2F6FB;
  --ink-2: #AEBBCC;
  --ink-3: #8394AA;
  --on-accent: #04121F;
  --accent-ink: #2FD0DA;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --glow-a: rgba(18, 194, 208, .34);
  --glow-b: rgba(247, 99, 52, .26);
  --glow-c: rgba(4, 71, 123, .55);
  --map-alpha: 1;
  --grain: .07;

  /* The logo's two halves: calm (deep blue → teal → leaf) and lively
     (red → orange → amber). */
  --teal: #12C2D0;
  --leaf: #2BC4A4;
  --blue: #2E8BD6;
  --amber: #F9B04E;
  --orange: #F76334;
  --red: #EF4A3A;
  --grad-text: linear-gradient(100deg, #22D3DE 0%, #43D6AE 28%, #F9C065 62%, #F7743E 82%, #F0503D 100%);
  --grad-accent: linear-gradient(110deg, #22C7D2 0%, #63D8B5 38%, #F9B04E 78%, #F98A4A 100%);
  --grad-line: linear-gradient(90deg, #0295A0, #2BC4A4, #F9B04E, #F76334);

  /* Category colours: fixed, like the app's categorical tags. */
  --cat-cafe: #2BC4A4;
  --cat-restaurant: #F9B04E;
  --cat-bar: #F76334;
  --cat-club: #EF4A3A;
  --cat-historical: #5AA9F0;
  --cat-local_spot: #12C2D0;
  --cat-shopping: #F28AA6;

  --font-body: "Inter", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", "Vazirmatn", system-ui, sans-serif;
  --font-num: "Space Grotesk", "Inter", "Vazirmatn", system-ui, sans-serif;
  --track-head: -.035em;

  --radius: 22px;
  --radius-lg: 32px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* Dark for everyone by default; light only when the visitor picks it
   (the toggle sets data-theme="light"). */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FBF8F1;
  --bg-2: #FFFFFF;
  --bg-3: #F3EEE3;
  --surface: rgba(4, 50, 90, .035);
  --surface-2: rgba(4, 50, 90, .065);
  --glass: rgba(255, 253, 248, .72);
  --line: rgba(10, 30, 55, .10);
  --line-2: rgba(10, 30, 55, .18);
  --ink: #0B1B2E;
  --ink-2: #3F4F66;
  --ink-3: #5B6A80;
  --shadow: 0 30px 70px -32px rgba(20, 40, 70, .35);
  --glow-a: rgba(18, 180, 196, .22);
  --glow-b: rgba(247, 120, 60, .18);
  --glow-c: rgba(46, 139, 214, .18);
  --map-alpha: .85;
  --grain: .045;
  --grad-text: linear-gradient(100deg, #04629A 0%, #06857F 30%, #C9701A 64%, #D9481F 84%, #C8322A 100%);
  --accent-ink: #036B78;
}

/* Arabic script: its own face first, and never letter-spacing (it breaks
   the joins between letters). */
:root:lang(fa), :root:lang(ar) {
  --font-body: "Vazirmatn", "Inter", system-ui, sans-serif;
  --font-head: "Vazirmatn", "Space Grotesk", "Inter", system-ui, sans-serif;
  --track-head: 0;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
:lang(fa) body, :lang(ar) body { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: var(--track-head); margin: 0; font-weight: 700; }
h3 { letter-spacing: calc(var(--track-head) * .4); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(18, 194, 208, .35); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 10px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg);
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* Gradient words in headings (*word* in the texts). */
em, .g {
  font-style: normal;
  background: var(--grad-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: shimmer 9s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding-inline: 22px; border-radius: 999px; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  white-space: nowrap; isolation: isolate;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background-color .3s;
  will-change: transform;
}
:lang(fa) .btn, :lang(ar) .btn { letter-spacing: 0; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { --h: 40px; padding-inline: 16px; font-size: .92rem; }
.btn-lg { --h: 56px; padding-inline: 26px; font-size: 1.05rem; }
.btn-xl { --h: 64px; padding-inline: 30px; font-size: 1.12rem; }
.btn-primary {
  color: var(--on-accent);
  background: var(--grad-accent);
  background-size: 160% 100%;
  box-shadow: 0 10px 30px -10px rgba(18, 194, 208, .55), 0 6px 24px -12px rgba(247, 99, 52, .55),
              inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background-position .6s var(--ease);
}
.btn-primary::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--grad-accent); filter: blur(18px); opacity: 0; transition: opacity .4s var(--ease);
}
.btn-primary:hover { background-position: 100% 50%; }
.btn-primary:hover::after { opacity: .6; }
.btn-primary:active { transform: scale(.97); }
.btn-ghost {
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn .flip { transition: transform .35s var(--ease-spring); }
.btn:hover .flip { transform: translateX(4px); }
[dir="rtl"] .flip { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .flip { transform: scaleX(-1) translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

/* ── Scroll progress ─────────────────────────────────────────────────────── */
.progress { position: fixed; inset-inline: 0; inset-block-start: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: var(--grad-line);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
[dir="rtl"] .progress span { transform-origin: right; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 50; height: var(--nav-h);
  transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 24px; height: 30px; transition: transform .5s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.wordmark { font-family: "Orbitron", var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: .94rem; font-weight: 500; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; inset-inline: 14px; inset-block-end: 2px; height: 2px; border-radius: 2px; background: var(--grad-line);
}
.nav-menu-cta { display: none; }
.nav-tools { display: flex; flex: none; align-items: center; gap: 6px; }
.lang { position: relative; }
.lang-btn { grid-auto-flow: column; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.lang-list {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; min-width: 190px; padding: 6px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow);
  animation: pop .22s var(--ease);
}
.lang-list a { display: block; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); font-size: .95rem; text-align: center; }
.lang-list a:hover { background: var(--surface-2); color: var(--ink); }
.lang-list a[aria-current] { color: var(--ink); font-weight: 600; background: var(--surface); }
.lang-list a[aria-current]::after { content: " ✓"; color: var(--accent-ink); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.theme-btn .when-light { display: none; }
:root[data-theme="light"] .theme-btn .when-light { display: block; }
:root[data-theme="light"] .theme-btn .when-dark { display: none; }
.menu-btn { display: none; }
.menu-btn .when-open { display: none; }
.nav.is-open .menu-btn .when-open { display: block; }
.nav.is-open .menu-btn .when-closed { display: none; }

/* The links fold into the menu while they would still fit, so a long
   language (Russian, German) never wraps them onto two lines. */
@media (max-width: 1120px) {
  .menu-btn { display: inline-grid; }
  .nav-links {
    position: fixed; inset-inline: 0; inset-block-start: var(--nav-h); margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 24px;
    background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-links a.is-active::after { display: none; }
  .nav-menu-cta { display: block; margin-top: 8px; text-align: center; color: var(--on-accent) !important; background: var(--grad-accent) !important; font-weight: 600; }
  .nav-tools { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .nav-inner { gap: 10px; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 1000px);
  padding-block: calc(var(--nav-h) + 48px) 96px;
  display: flex; align-items: center;
}
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .9; will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 56vmax; height: 56vmax; inset-inline-end: -14vmax; inset-block-start: -18vmax; background: radial-gradient(closest-side, var(--glow-a), transparent); }
.aurora i:nth-child(2) { width: 46vmax; height: 46vmax; inset-inline-end: 8vmax; inset-block-end: -26vmax; background: radial-gradient(closest-side, var(--glow-b), transparent); animation-duration: 27s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 50vmax; height: 50vmax; inset-inline-start: -20vmax; inset-block-start: 10vmax; background: radial-gradient(closest-side, var(--glow-c), transparent); animation-duration: 31s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-4vmax, 3vmax, 0) scale(1.12); }
  100% { transform: translate3d(3vmax, -2vmax, 0) scale(.94); }
}
.cosmos {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0;
  transition: opacity 1.6s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.cosmos.is-ready { opacity: var(--map-alpha); }
/* Wide screens: the map lives on the phone's side and fades out before
   it reaches the text. */
@media (min-width: 981px) {
  .cosmos {
    -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 80%);
    mask-image: linear-gradient(to left, #000 52%, transparent 80%);
  }
  [dir="rtl"] .cosmos {
    -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 80%);
    mask-image: linear-gradient(to right, #000 52%, transparent 80%);
  }
}
.hero::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--leaf);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hero h1 {
  font-size: clamp(2.7rem, 1.5rem + 5.2vw, 5.6rem);
  line-height: .98; font-weight: 700; letter-spacing: calc(var(--track-head) * 1.25);
  text-wrap: balance;
}
:lang(fa) .hero h1, :lang(ar) .hero h1 { line-height: 1.25; font-weight: 800; }
:lang(ru) .hero h1, :lang(de) .hero h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.8rem); }
.hero .lead { margin-top: 26px; max-width: 560px; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-3); font-size: .93rem; font-weight: 500; }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--grad-accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.6 5.2L7 9.8 4.4 7.2 3.3 8.3 7 12l5.7-5.7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.6 5.2L7 9.8 4.4 7.2 3.3 8.3 7 12l5.7-5.7z'/></svg>") center / contain no-repeat;
}

/* Words of the title rise in one by one, from the first paint (the
   server wraps each word; no script needed). */
.word { display: inline-block; animation: word-in .9s var(--ease-spring) .12s both; }
.word.g { animation: word-in .9s var(--ease-spring) .12s both, shimmer 9s ease-in-out infinite alternate; }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(10px); } }
.word:nth-child(2) { animation-delay: .19s; }
.word:nth-child(3) { animation-delay: .26s; }
.word:nth-child(4) { animation-delay: .33s; }
.word:nth-child(5) { animation-delay: .40s; }
.word:nth-child(6) { animation-delay: .47s; }
.word:nth-child(7) { animation-delay: .54s; }
.word:nth-child(8) { animation-delay: .61s; }
.word:nth-child(9) { animation-delay: .68s; }
.word:nth-child(10) { animation-delay: .75s; }
.word:nth-child(n+11) { animation-delay: .82s; }
.word.g:nth-child(1) { animation-delay: .12s, 0s; }
.word.g:nth-child(2) { animation-delay: .19s, 0s; }
.word.g:nth-child(3) { animation-delay: .26s, 0s; }
.word.g:nth-child(4) { animation-delay: .33s, 0s; }
.word.g:nth-child(5) { animation-delay: .40s, 0s; }
.word.g:nth-child(6) { animation-delay: .47s, 0s; }
.word.g:nth-child(7) { animation-delay: .54s, 0s; }
.word.g:nth-child(8) { animation-delay: .61s, 0s; }
.word.g:nth-child(9) { animation-delay: .68s, 0s; }
.word.g:nth-child(n+10) { animation-delay: .75s, 0s; }

.scroll-cue {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink-2); background: var(--glass);
  animation: bob 2.6s ease-in-out infinite;
}
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes bob { 50% { transform: translateY(7px); } }

/* ── The phone ───────────────────────────────────────────────────────────── */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1400px; }
.device {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: 300px; height: 620px; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #2A3446, #0B111B 40%, #1A2232);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08), 0 50px 100px -30px rgba(0, 0, 0, .65),
              0 0 120px -20px var(--glow-a), 60px 40px 140px -40px var(--glow-b);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  animation: device-in 1.4s var(--ease-spring) .25s both;
}
[dir="rtl"] .device { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(3deg); }
@keyframes device-in { from { opacity: 0; transform: translateY(60px) rotate(-8deg) scale(.92); } }
.device::before {
  content: ""; position: absolute; inset-block-start: 22px; inset-inline-start: 50%; width: 92px; height: 26px; translate: -50% 0;
  border-radius: 20px; background: #05080E; z-index: 3;
}
[dir="rtl"] .device::before { translate: 50% 0; }
.device-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: #F6F7FB; color: #111827; font-family: "Inter", "Vazirmatn", system-ui, sans-serif;
}
.app-status {
  position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 2; height: 46px;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0;
  font-size: 13px; font-weight: 700; background: linear-gradient(#F6F7FB 70%, rgba(246, 247, 251, 0));
}
.app-status-icons { display: flex; gap: 4px; align-items: center; }
.app-status-icons i { width: 15px; height: 9px; border-radius: 3px; background: #111827; }
.app-status-icons i:nth-child(1) { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.app-status-icons i:nth-child(2) { width: 13px; border-radius: 50% 50% 2px 2px / 100% 100% 2px 2px; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.app-status-icons i:nth-child(3) { width: 22px; height: 10px; border-radius: 3px; }
.app-scroll { padding: 52px 16px 90px; animation: app-scroll 16s ease-in-out 2s infinite; }
@keyframes app-scroll {
  0%, 12% { transform: translateY(0); }
  40%, 58% { transform: translateY(-235px); }
  86%, 100% { transform: translateY(0); }
}
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-head small { display: block; font-size: 11px; color: #6B7280; }
.app-head strong { font-family: "Space Grotesk", "Vazirmatn", sans-serif; font-size: 21px; letter-spacing: -.02em; }
:lang(fa) .app-head strong, :lang(ar) .app-head strong { letter-spacing: 0; }
.app-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: conic-gradient(from 20deg, #12C2D0, #2BC4A4, #F9B04E, #F76334, #12C2D0);
  box-shadow: inset 0 0 0 3px #F6F7FB;
}
.app-banner {
  position: relative; height: 112px; border-radius: 20px; overflow: hidden; margin-bottom: 14px; padding: 12px;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, #FF8A5B 0%, #FFB66E 45%, #FFD08A 58%, #2D8CBF 58%, #0E5486 100%);
}
.app-banner-sun {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; inset-inline-start: 58%; inset-block-start: 26px;
  background: radial-gradient(circle, #FFF4C9 30%, #FFD27F 60%, rgba(255, 210, 127, 0) 72%);
  animation: sun 8s ease-in-out infinite alternate;
}
@keyframes sun { to { transform: translateY(10px); } }
.app-banner-sea {
  position: absolute; inset-inline: 0; inset-block-end: 0; height: 42%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .0) 0 6px, rgba(255, 220, 160, .28) 6px 7px);
  animation: sea 3s linear infinite;
}
@keyframes sea { to { background-position: 0 13px; } }
.app-banner b {
  position: relative; padding: 6px 10px; border-radius: 12px; font-size: 13px; color: #fff;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.app-row-title { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 8px; font-size: 14px; }
.app-row-title span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
[dir="rtl"] .app-row-title span { transform: scaleX(-1); }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.app-card b { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.3; }
.app-card small { display: block; font-size: 10.5px; color: #6B7280; }
.app-photo { position: relative; height: 104px; border-radius: 16px; overflow: hidden; }
.app-rate { position: absolute; inset-block-start: 7px; inset-inline-start: 7px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 9.5px; font-weight: 700; color: #111827; }
.app-match {
  position: absolute; inset-block-end: 7px; inset-inline-end: 7px; padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; color: #04121F; background: linear-gradient(110deg, #5DE0E6, #F9C065);
}
.app-meter { background: #fff; border-radius: 18px; padding: 12px 14px; margin-bottom: 14px; box-shadow: 0 4px 18px rgba(17, 24, 39, .06); }
.app-meter-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.app-meter-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 26px;
  background: linear-gradient(100deg, #0477A2, #0B9390 50%, #E0662A); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.app-meter-bar { height: 7px; border-radius: 7px; background: #EEF0F5; margin: 6px 0; overflow: hidden; }
.app-meter-bar i { display: block; height: 100%; width: 87%; border-radius: inherit; background: linear-gradient(90deg, #12C2D0, #F9B04E); transform-origin: left; animation: meter 4s var(--ease) 1.2s infinite alternate both; }
[dir="rtl"] .app-meter-bar i { transform-origin: right; }
@keyframes meter { 0% { transform: scaleX(.15); } 40%, 100% { transform: scaleX(1); } }
.app-meter small { font-size: 10px; color: #9CA3AF; }
.app-tabs {
  position: absolute; inset-inline: 10px; inset-block-end: 12px; z-index: 2; height: 58px; padding: 0 6px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px rgba(17, 24, 39, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.app-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 8.5px; color: #6B7280; font-weight: 600; padding: 6px 0; border-radius: 14px; }
.app-tabs svg { width: 17px; height: 17px; }
.app-tabs .on { color: #04477B; background: linear-gradient(135deg, rgba(18, 194, 208, .18), rgba(249, 176, 78, .2)); }

/* Painted "photos" (no stock images, no weight). */
.ph-sea { background: radial-gradient(circle at 66% 44%, #FFF1C4 0 7%, rgba(255, 241, 196, 0) 15%), linear-gradient(180deg, #FF8F62 0%, #FFC27A 50%, #2A88BC 50%, #0C4F7E 100%); }
.ph-lamp { background: radial-gradient(circle at 28% 32%, #FFE1A0 0 6%, rgba(255, 190, 100, .0) 32%), radial-gradient(circle at 74% 26%, #FFC36E 0 5%, rgba(255, 170, 80, 0) 26%), radial-gradient(ellipse at 50% 120%, #C26A35 0%, rgba(194, 106, 53, 0) 60%), linear-gradient(160deg, #4A2618, #8B4426 55%, #2A150D); }
.ph-ruins { background: linear-gradient(#B98F57, #A27843) bottom / 100% 16% no-repeat, repeating-linear-gradient(90deg, #F1E1C0 0 9px, #E2CC9F 9px 11px, rgba(0, 0, 0, 0) 11px 22px) 6px 70% / 100% 52% no-repeat, linear-gradient(#E9DCC0, #E9DCC0) 0 22% / 100% 7% no-repeat, linear-gradient(180deg, #8FCBEB, #D9EEF8); }
.ph-night { background: radial-gradient(circle at 18% 68%, #F9B04E 0 3%, rgba(0, 0, 0, 0) 9%), radial-gradient(circle at 46% 58%, #F0503D 0 3%, rgba(0, 0, 0, 0) 10%), radial-gradient(circle at 78% 72%, #22D3DE 0 3%, rgba(0, 0, 0, 0) 10%), radial-gradient(circle at 64% 30%, #B97CF3 0 2%, rgba(0, 0, 0, 0) 12%), linear-gradient(180deg, #0B1530, #2A1B4A); }

.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 16px; font-size: .86rem; font-weight: 600; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line-2); color: var(--ink);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite, chip-in .9s var(--ease-spring) both;
}
.float-chip b { padding: 2px 8px; border-radius: 999px; background: var(--grad-accent); color: var(--on-accent); font-size: .78rem; }
.float-chip svg { width: 16px; height: 16px; color: var(--amber); }
.fc-1 { inset-block-start: 6%; inset-inline-start: -10%; animation-delay: 0s, .9s; }
.fc-2 { inset-block-start: 36%; inset-inline-end: -6%; animation-delay: -2s, 1.1s; }
.fc-3 { inset-block-end: 22%; inset-inline-start: -8%; animation-delay: -4s, 1.3s; }
.fc-4 { inset-block-end: 8%; inset-inline-end: 0; animation-delay: -5.5s, 1.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes chip-in { from { opacity: 0; scale: .7; } }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--teal); }
.dot-live { background: var(--leaf); box-shadow: 0 0 0 4px rgba(43, 196, 164, .22); }
.cat-cafe { background: var(--cat-cafe); }
.cat-restaurant { background: var(--cat-restaurant); }
.cat-bar { background: var(--cat-bar); }
.cat-club { background: var(--cat-club); }
.cat-historical { background: var(--cat-historical); }
.cat-local_spot { background: var(--cat-local_spot); }
.cat-shopping { background: var(--cat-shopping); }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-block-end: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .cta-row, .hero-notes { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero-stage { min-height: 560px; }
}
@media (max-width: 520px) {
  .device { width: 262px; height: 540px; border-radius: 42px; }
  .device-screen { border-radius: 33px; }
  .hero-stage { min-height: 520px; }
  .float-chip { font-size: .76rem; padding: 8px 11px; }
  .fc-1 { inset-inline-start: -2%; }
  .fc-2 { inset-inline-end: -3%; }
  .fc-3 { inset-inline-start: -3%; }
  .cta-row .btn { width: 100%; }
}

/* ── Ticker ──────────────────────────────────────────────────────────────── */
.ticker {
  position: relative; padding-block: 28px; border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-row { display: flex; overflow: hidden; }
.ticker-row + .ticker-row { margin-top: 12px; }
.ticker-track {
  display: flex; flex: none; align-items: center; gap: 26px; padding-inline-end: 26px;
  animation: marquee 70s linear infinite;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); letter-spacing: var(--track-head);
  white-space: nowrap;
}
.ticker-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink-3); }
.ticker-track i { font-style: normal; font-size: .5em; color: var(--amber); }
.ticker-reverse .ticker-track { animation-direction: reverse; animation-duration: 50s; font-size: clamp(1rem, .9rem + .6vw, 1.35rem); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.ticker-reverse .ticker-track span { color: var(--ink-2); -webkit-text-stroke: 0; }
.t-cat { display: inline-flex; align-items: center; gap: 10px; }
.t-cat .dot { width: 9px; height: 9px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { position: relative; padding-block: clamp(72px, 4vw + 40px, 120px); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
:lang(fa) .kicker, :lang(ar) .kicker { letter-spacing: 0; font-size: .92rem; }
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-line); }
.section h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); line-height: 1.04; text-wrap: balance; }
:lang(fa) .section h2, :lang(ar) .section h2 { line-height: 1.35; }
.section-lead { margin-top: 20px; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
.fineprint { margin-top: 18px; font-size: .86rem; color: var(--ink-3); }

/* Reveal on scroll (only when JS runs; without it everything is visible). */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ── Why ─────────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); min-height: 260px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .5s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.why-card h3 { font-size: 1.4rem; }
.why-card p { color: var(--ink-2); font-size: .98rem; }
.why-tag {
  align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  color: var(--ink-3); background: var(--surface-2); text-decoration: line-through; text-decoration-color: rgba(239, 74, 58, .7); text-decoration-thickness: 2px;
}
.why-card-us { background: var(--bg-2); border-color: transparent; isolation: isolate; }
.why-card-us::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), #12C2D0, #2BC4A4, #F9B04E, #F76334, #EF4A3A, #12C2D0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.why-card-us::after {
  content: ""; position: absolute; inset: 20% 10% -10%; z-index: -2; border-radius: inherit;
  background: var(--grad-accent); filter: blur(50px); opacity: .28;
}
.why-card-us .why-tag { color: var(--on-accent); background: var(--grad-accent); text-decoration: none; }
.why-card-us h3 { font-size: 1.7rem; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-card { min-height: 0; } }

/* ── How ─────────────────────────────────────────────────────────────────── */
.how { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 24px 24px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-block; margin-top: 22px; font-family: var(--font-num); font-weight: 800; font-size: .95rem; letter-spacing: .1em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: 8px; font-size: 1.45rem; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: .99rem; }
.step-art {
  position: relative; height: 170px; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), transparent), var(--surface);
  border: 1px solid var(--line);
}
.art-choice { grid-auto-flow: column; gap: 10px; }
.choice { padding: 12px 16px; border-radius: 16px; font-weight: 700; font-size: .95rem; border: 1.5px solid var(--line-2); background: var(--bg-2); white-space: nowrap; }
.choice-or { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.c-a { animation: pick 4s var(--ease) infinite; }
.c-b { animation: pick 4s var(--ease) -2s infinite; }
@keyframes pick {
  0%, 45% { border-color: transparent; background: var(--grad-accent); color: var(--on-accent); transform: scale(1.06); box-shadow: 0 10px 30px -12px rgba(18, 194, 208, .7); }
  50%, 100% { border-color: var(--line-2); background: var(--bg-2); color: var(--ink); transform: none; box-shadow: none; }
}
.ring { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-bg { stroke: var(--line-2); }
.ring-fg { stroke: var(--teal); stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 2s var(--ease) .3s; }
.step.in .ring-fg { stroke-dashoffset: 41; }
.ring b { font-family: var(--font-num); font-size: 1.6rem; font-weight: 800; }
.art-learn { position: relative; }
.learn-core {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad-accent);
  box-shadow: 0 0 40px 6px var(--glow-a); animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.15); box-shadow: 0 0 60px 14px var(--glow-b); } }
.learn-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 12px;
  font-size: .8rem; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line-2); white-space: nowrap;
  animation: feed 4.5s var(--ease) infinite;
}
.learn-chip svg { width: 15px; height: 15px; color: var(--accent-ink); }
.l1 { inset-block-start: 18px; inset-inline-start: 14px; --tx: 70px; --ty: 40px; }
.l2 { inset-block-start: 22px; inset-inline-end: 14px; --tx: -70px; --ty: 36px; animation-delay: -1.5s; }
.l3 { inset-block-end: 16px; inset-inline-start: 50%; margin-inline-start: -40px; --tx: 0px; --ty: -38px; animation-delay: -3s; }
[dir="rtl"] .l1 { --tx: -70px; }
[dir="rtl"] .l2 { --tx: 70px; }
@keyframes feed {
  0%, 20% { transform: none; opacity: 1; }
  55% { transform: translate(var(--tx), var(--ty)) scale(.5); opacity: 0; }
  56% { transform: none; opacity: 0; }
  80%, 100% { transform: none; opacity: 1; }
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ── 16 dimensions ───────────────────────────────────────────────────────── */
.vibe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vibe .section-head { margin-bottom: 32px; }
.personas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.personas button {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: all .3s var(--ease);
}
.personas button:hover { color: var(--ink); border-color: var(--ink-3); }
.personas button[aria-pressed="true"] { color: var(--on-accent); background: var(--grad-accent); border-color: transparent; box-shadow: 0 10px 30px -14px rgba(18, 194, 208, .8); }
.matches { position: relative; display: grid; gap: 8px; }
.matches li {
  display: grid; grid-template-columns: 14px minmax(0, 1.3fr) minmax(60px, 1fr) 48px; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  transition: background-color .3s;
}
.matches li:first-child { background: var(--surface-2); border-color: var(--line-2); }
.m-name { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.m-name small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-3); }
.m-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-line); transition: width 1s var(--ease); }
.m-pct { font-family: var(--font-num); font-size: .95rem; font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.radar { position: relative; margin: 0; }
.radar svg { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.radar .r-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.radar .r-ring:last-of-type { stroke: var(--line); }
.radar .r-spoke { stroke: var(--line); stroke-width: 1; }
.radar .r-zero { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.radar .r-shape { fill: url(#radar-fill); stroke: url(#radar-stroke); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(18, 194, 208, .35)); }
.radar .r-dot { fill: var(--bg); stroke: var(--teal); stroke-width: 2; }
.radar .r-label { fill: var(--ink-2); font-size: 10.5px; font-weight: 600; font-family: var(--font-body); }
.radar-cap { text-align: center; margin-top: 10px; font-size: .86rem; color: var(--ink-3); }
.js .dims-names { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dims-names { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.dims-names li { padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: .82rem; color: var(--ink-2); }
@media (max-width: 980px) {
  .vibe-grid { grid-template-columns: 1fr; gap: 24px; }
  .vibe-copy { display: contents; }
  .vibe .section-head { order: 1; margin-bottom: 0; }
  .radar { order: 2; max-width: 520px; margin-inline: auto; width: 100%; }
  .personas { order: 3; margin-bottom: 0; }
  .matches { order: 4; }
  .vibe .fineprint { order: 5; margin-top: 0; }
}
@media (max-width: 480px) { .matches li { grid-template-columns: 12px minmax(0, 1fr) 44px; } .m-bar { display: none; } }

/* ── Features (bento) ────────────────────────────────────────────────────── */
.bento {
  display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "f1 f1 f2" "f3 f4 f4" "f5 f5 f6";
}
.bento .tile:nth-child(1) { grid-area: f1; }
.bento .tile:nth-child(2) { grid-area: f2; }
.bento .tile:nth-child(3) { grid-area: f3; }
.bento .tile:nth-child(4) { grid-area: f4; }
.bento .tile:nth-child(5) { grid-area: f5; }
.bento .tile:nth-child(6) { grid-area: f6; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate; min-height: 240px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .5s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow-a), transparent 60%);
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.35rem; }
.tile p { color: var(--ink-2); font-size: .98rem; max-width: 520px; }
.tile-icon { width: 30px; height: 30px; color: var(--accent-ink); margin-bottom: 6px; }
.tile-art { flex: 1; min-height: 110px; position: relative; margin-bottom: 8px; }
.art-rows { display: grid; gap: 10px; align-content: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.mini-row { display: flex; gap: 10px; animation: slide 30s linear infinite; }
.mini-row.r2 { animation-direction: reverse; animation-duration: 38s; }
.mini-row i { flex: none; width: 120px; height: 64px; border-radius: 14px; }
/* Twelve cards, four repeated three times: sliding by four cards
   (4 × 130 px) loops without a seam. */
@keyframes slide { to { transform: translateX(-520px); } }
[dir="rtl"] .mini-row { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(520px); } }
.art-map {
  border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background:
    linear-gradient(transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 34px 34px,
    linear-gradient(90deg, transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 34px 34px,
    radial-gradient(80% 60% at 30% 70%, rgba(42, 136, 188, .25), transparent 70%), var(--bg-2);
}
.art-map i { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cat-cafe); box-shadow: 0 4px 10px rgba(0,0,0,.25); animation: pin-drop 4s var(--ease-spring) infinite; }
.art-map i:nth-of-type(1) { left: 18%; top: 30%; }
.art-map i:nth-of-type(2) { left: 44%; top: 56%; background: var(--cat-restaurant); animation-delay: .3s; }
.art-map i:nth-of-type(3) { left: 66%; top: 26%; background: var(--cat-bar); animation-delay: .6s; }
.art-map i:nth-of-type(4) { left: 78%; top: 62%; background: var(--cat-historical); animation-delay: .9s; }
.art-map i:nth-of-type(5) { left: 30%; top: 70%; background: var(--cat-local_spot); animation-delay: 1.2s; }
.art-map i:nth-of-type(6) { left: 56%; top: 38%; background: var(--cat-shopping); animation-delay: 1.5s; }
.art-map i:nth-of-type(7) { left: 86%; top: 36%; background: var(--cat-cafe); animation-delay: 1.8s; }
@keyframes pin-drop { 0% { translate: 0 -14px; opacity: 0; } 15%, 70% { translate: 0 0; opacity: 1; } 85%, 100% { opacity: .25; } }
.mm-chip { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--on-accent); background: var(--grad-accent); }
.art-review { display: grid; place-content: center; gap: 14px; justify-items: center; }
.stars { display: flex; gap: 6px; color: var(--amber); }
.stars svg { width: 26px; height: 26px; animation: star 3.5s var(--ease-spring) infinite; }
.stars svg:nth-child(2) { animation-delay: .1s; } .stars svg:nth-child(3) { animation-delay: .2s; }
.stars svg:nth-child(4) { animation-delay: .3s; } .stars svg:nth-child(5) { animation-delay: .4s; }
@keyframes star { 0%, 10% { transform: scale(.4); opacity: .2; } 25%, 85% { transform: none; opacity: 1; } 100% { opacity: .2; } }
.fit { display: flex; gap: 8px; }
.fit b { padding: 8px 16px; border-radius: 999px; font-size: .88rem; border: 1px solid var(--line-2); background: var(--bg-2); }
.fit b:first-child { color: var(--on-accent); background: var(--grad-accent); border-color: transparent; }
.art-xp { display: grid; place-items: center; }
.xp-ring {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--teal), var(--leaf), var(--amber) 72%, var(--line) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 41px, #000 42px);
  mask: radial-gradient(circle, transparent 0 41px, #000 42px);
  animation: spin-ring 10s linear infinite;
}
.xp-lv { position: absolute; font-family: var(--font-num); font-weight: 800; font-size: 1rem; }
@keyframes spin-ring { to { transform: rotate(360deg); } }
.xp-pop { position: absolute; inset-block-start: 6px; inset-inline-end: 22%; font-family: var(--font-num); font-weight: 800; font-size: .9rem; color: var(--amber); animation: pop-up 2.8s var(--ease) infinite; }
@keyframes pop-up { 0% { transform: translateY(20px); opacity: 0; } 30%, 60% { transform: none; opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
.art-lists { display: grid; gap: 8px; align-content: center; }
.list-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
  animation: list-in 6s var(--ease) infinite;
}
.list-row:nth-child(2) { animation-delay: .25s; margin-inline-start: 14px; }
.list-row:nth-child(3) { animation-delay: .5s; margin-inline-start: 28px; }
.list-row em { margin-inline-start: auto; font-style: normal; font-size: .8rem; color: var(--ink-3); background: none; animation: none; -webkit-background-clip: border-box; background-clip: border-box; }
@keyframes list-in { 0% { opacity: 0; transform: translateY(10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.art-gem { display: grid; place-items: center; }
.gem-pin {
  width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; color: var(--on-accent);
  background: var(--grad-accent); box-shadow: 0 16px 40px -14px rgba(18, 194, 208, .8);
  animation: bob 3s ease-in-out infinite;
}
.gem-pin svg { width: 32px; height: 32px; }
.gem-spark { position: absolute; width: 10px; height: 10px; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.4s ease-in-out infinite; }
.s1 { inset-block-start: 14%; inset-inline-start: 30%; }
.s2 { inset-block-start: 30%; inset-inline-end: 26%; animation-delay: -.8s; background: var(--teal); }
.s3 { inset-block-end: 30%; inset-inline-start: 24%; animation-delay: -1.6s; background: var(--orange); }
@keyframes twinkle { 50% { transform: scale(1.8) rotate(45deg); opacity: .4; } }
.gem-chip { position: absolute; inset-block-end: 0; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line-2); white-space: nowrap; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f1 f1" "f2 f3" "f4 f4" "f5 f6"; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; grid-template-areas: "f1" "f2" "f3" "f4" "f5" "f6"; } .tile { min-height: 0; } }

/* ── Journeys ────────────────────────────────────────────────────────────── */
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.journey .section-head { margin-bottom: 32px; }
.soon-badge {
  margin-inline-start: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em;
  color: var(--on-accent); background: var(--grad-accent);
}
.journey-points { display: grid; gap: 18px; margin-bottom: 28px; }
.journey-points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.jp-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px;
  font-family: var(--font-num); font-weight: 700; color: var(--accent-ink);
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.journey-points h3 { font-size: 1.12rem; }
.journey-points p { margin-top: 4px; color: var(--ink-2); font-size: .97rem; }
.journey-art { position: relative; margin: 0; }
.journey-map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2);
  background:
    linear-gradient(transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 40px 40px,
    linear-gradient(90deg, transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 40px 40px,
    radial-gradient(70% 55% at 18% 92%, rgba(42, 136, 188, .28), transparent 70%),
    radial-gradient(60% 50% at 88% 12%, rgba(247, 99, 52, .14), transparent 70%),
    var(--bg-2);
  box-shadow: var(--shadow);
}
.journey-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-bg { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.route { fill: none; stroke: url(#route-grad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.journey-art.in .route { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.route-dot { fill: #fff; stroke: var(--teal); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(18, 194, 208, .9)); }
/* Pins follow the map, which is geography and never mirrors; the label's
   own text still runs in its language's direction. */
.stop { position: absolute; display: inline-flex; align-items: center; gap: 8px; translate: -20px -50%; direction: ltr; }
.stop em { unicode-bidi: plaintext; }
.stop b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  font-family: var(--font-num); font-size: .9rem; color: var(--on-accent); background: var(--grad-accent);
  box-shadow: 0 0 0 5px rgba(18, 194, 208, .16), 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.stop em {
  font-style: normal; font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: 12px; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line-2); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: none; -webkit-background-clip: border-box; background-clip: border-box;
}
/* The pins sit on the route's corners (the SVG is 400 × 300). */
.st1 { left: 10%; top: 81.7%; }
.st2 { left: 41.25%; top: 46.7%; }
.st3 { left: 83.75%; top: 24%; }
.st4 { left: 75%; top: 76%; }
.st3, .st4 { flex-direction: row-reverse; translate: calc(-100% + 20px) -50%; }
.journey-art .stop { opacity: 0; scale: .6; transition: opacity .5s var(--ease), scale .6s var(--ease-spring); }
.journey-art.in .stop { opacity: 1; scale: 1; }
.journey-art.in .st1 { transition-delay: .3s; }
.journey-art.in .st2 { transition-delay: .9s; }
.journey-art.in .st3 { transition-delay: 1.5s; }
.journey-art.in .st4 { transition-delay: 2.1s; }
.journey-card {
  position: relative; display: flex; align-items: center; gap: 14px; margin: -38px 22px 0; padding: 14px 16px;
  border-radius: 20px; background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.jc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; color: var(--on-accent); background: var(--grad-accent); }
.jc-icon svg { width: 22px; height: 22px; }
.journey-card strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.journey-card small { display: block; color: var(--ink-3); font-size: .84rem; }
.jc-share {
  display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 8px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; border: 1px solid var(--line-2); white-space: nowrap;
}
.jc-share svg { width: 15px; height: 15px; }
[dir="rtl"] .jc-share svg { transform: scaleX(-1); }
@media (max-width: 980px) { .journey-grid { grid-template-columns: 1fr; gap: 40px; } .journey-art { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 480px) {
  .stop em { font-size: .72rem; padding: 4px 8px; }
  .stop b { width: 28px; height: 28px; }
  .journey-card { margin-inline: 10px; flex-wrap: wrap; }
  .jc-share { display: none; }
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats { padding-block: 56px; border-block: 1px solid var(--line); background: var(--bg-2); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 24px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; text-align: center; }
.stat dt { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.stat dd {
  margin: 0; font-family: var(--font-num); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1.1;
  background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; font-size: .86rem; color: var(--ink-3); }

/* ── Cities ──────────────────────────────────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.cities .section-head { margin-bottom: 32px; }
.globe-wrap { position: relative; margin: 0; max-width: 480px; width: 100%; margin-inline: auto; }
.globe { width: 100%; height: auto; overflow: visible; }
.g-sea { fill: #071A2E; }
:root[data-theme="light"] .g-sea { fill: #0B3A5C; }
.g-land { opacity: .6; animation: spin-land 40s linear infinite; }
#globe-dots circle { fill: #2BC4A4; }
/* The land texture repeats every 672 px; sliding one period loops it. */
@keyframes spin-land { from { transform: translateX(0); } to { transform: translateX(-672px); } }
.g-line { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.g-arc { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-dasharray: .25 1; stroke-dashoffset: 1.25; opacity: .9; animation: fly 4.8s var(--ease) infinite; }
.g-arc.a1 { animation-delay: 1.2s; stroke: var(--teal); }
.g-arc.a2 { animation-delay: 2.4s; stroke: var(--orange); }
.g-arc.a3 { animation-delay: 3.6s; stroke: var(--leaf); }
@keyframes fly { 0% { stroke-dashoffset: 1.25; } 70%, 100% { stroke-dashoffset: 0; } }
.g-end { fill: #fff; opacity: 0; animation: land 4.8s var(--ease) infinite; }
.g-end.a1 { animation-delay: 1.2s; } .g-end.a2 { animation-delay: 2.4s; } .g-end.a3 { animation-delay: 3.6s; }
@keyframes land { 0%, 55% { opacity: 0; r: 2; } 70% { opacity: 1; r: 5; } 100% { opacity: 0; r: 3; } }
.g-home { fill: #fff; stroke: var(--teal); stroke-width: 4; }
.g-ping { fill: none; stroke: var(--teal); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: g-ping 2.2s var(--ease) infinite; }
@keyframes g-ping { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.g-next { fill: var(--amber); stroke: #fff; stroke-width: 2; }
.g-label {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; white-space: nowrap; color: var(--ink);
  background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.g-label .pulse { width: 7px; height: 7px; }
/* Pinned to the dots (the SVG is 400 × 400): İzmir (168, 214), İstanbul (214, 170). */
.gl-home { left: 42%; top: 53.5%; translate: calc(-100% - 14px) -50%; }
.gl-next { left: 53.5%; top: 42.5%; translate: 14px -50%; }
.city-list { display: grid; gap: 12px; }
.city {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name state" "meta state";
  align-items: center; gap: 2px 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.city h3 { grid-area: name; font-size: 1.35rem; }
.city p { grid-area: meta; color: var(--ink-2); font-size: .95rem; }
.city-state {
  grid-area: state; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; white-space: nowrap; border: 1px solid var(--line-2); color: var(--ink-2);
}
.city.is-live { border-color: transparent; background: var(--bg-2); box-shadow: inset 0 0 0 1.5px rgba(43, 196, 164, .55); }
.city.is-live .city-state { color: var(--on-accent); background: var(--grad-accent); border-color: transparent; }
.city.is-live .city-state .pulse { background: var(--on-accent); }
.city.is-live .city-state .pulse::after { border-color: var(--on-accent); }
.city.is-next .city-state { color: var(--amber); border-color: rgba(249, 176, 78, .5); }
.city.is-yours { border-style: dashed; }
.city.is-yours h3 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 980px) { .cities-grid { grid-template-columns: 1fr; gap: 40px; } .globe-wrap { max-width: 380px; } }
@media (max-width: 420px) { .city { padding: 16px; } .city h3 { font-size: 1.2rem; } .g-label { font-size: .75rem; padding: 5px 10px; } }

/* ── Privacy ─────────────────────────────────────────────────────────────── */
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.privacy-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin-ring 30s linear infinite; }
.orbit i { position: absolute; inset-block-start: -6px; inset-inline-start: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px 4px var(--glow-a); }
.o1 { inset: 4%; }
.o2 { inset: 18%; animation-duration: 22s; animation-direction: reverse; }
.o2 i { background: var(--amber); box-shadow: 0 0 18px 4px var(--glow-b); }
.o3 { inset: 32%; animation-duration: 14s; }
.o3 i { background: var(--leaf); }
.vault {
  position: relative; z-index: 1; display: grid; place-items: center; gap: 10px; width: 44%; aspect-ratio: 1; border-radius: 32%;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 80px -10px var(--glow-a);
}
.vault svg { width: 44px; height: 44px; color: var(--accent-ink); }
.vault code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(.58rem, .5rem + .3vw, .72rem); color: var(--ink-3); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.privacy-list { display: grid; gap: 14px; }
.privacy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.privacy-list svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--accent-ink); background: var(--surface-2); }
.privacy-list h3 { font-size: 1.12rem; }
.privacy-list p { margin-top: 4px; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; gap: 40px; } .privacy-art { max-width: 300px; } .vault { width: 56%; } }

/* ── Download ────────────────────────────────────────────────────────────── */
.download-card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 72px); border-radius: 40px; border: 1px solid var(--line-2); background: var(--bg-2);
}
.aurora-soft i { opacity: .8; }
.aurora-soft i:nth-child(1) { width: 40vmax; height: 40vmax; }
.download-copy { max-width: 640px; }
.download h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.7rem); line-height: 1.05; }
.download .btn-xl { margin-top: 32px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 196px; min-height: 62px; padding: 12px 18px 10px 14px; border-radius: 16px;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease-spring), border-color .3s;
}
a.store:hover { transform: translateY(-3px); border-color: var(--ink-3); }
.store svg { width: 26px; height: 26px; color: var(--accent-ink); }
.store small { display: block; font-size: .72rem; color: var(--ink-3); line-height: 1.2; }
.store b { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; letter-spacing: -.01em; }
.store.is-soon { cursor: default; }
.store.is-soon > span, .store.is-soon > svg { opacity: .6; }
.store em {
  position: absolute; inset-block-start: -11px; inset-inline-end: 10px; padding: 2px 9px; border-radius: 999px; line-height: 1.5;
  font-size: .68rem; font-weight: 800; font-style: normal; color: var(--on-accent); background: var(--grad-accent); animation: none;
  -webkit-background-clip: border-box; background-clip: border-box;
}
.qr-box { display: grid; justify-items: center; gap: 12px; padding: 18px; border-radius: 24px; background: #FFFFFF; color: #061423; box-shadow: var(--shadow); max-width: 220px; text-align: center; }
.qr { width: 172px; height: 172px; }
.qr-box p { font-size: .82rem; font-weight: 600; color: #3F4F66; }
@media (max-width: 860px), (hover: none) and (pointer: coarse) { .download-card { grid-template-columns: 1fr; } .qr-box { display: none; } }
@media (max-width: 520px) { .download .btn-xl { width: 100%; padding-inline: 18px; } .store { flex: 1 1 100%; } }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: background-color .3s, border-color .3s; }
.faq details[open] { background: var(--surface-2); border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.08rem; font-weight: 600; }
.faq-x { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--surface-2); }
.faq-x::before, .faq-x::after { content: ""; position: absolute; inset: 50% 8px auto; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink-2); transition: transform .35s var(--ease); }
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x::after { transform: rotate(0); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq .section-head { position: static; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { padding-block: 72px 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid.has-guide { grid-template-columns: 1.5fr repeat(4, 1fr); }
.footer-brand p { margin: 14px 0 20px; color: var(--ink-2); max-width: 300px; }
.footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-family: var(--font-body); }
:lang(fa) .footer h2, :lang(ar) .footer h2 { letter-spacing: 0; font-size: .92rem; }
.footer ul { display: grid; gap: 8px; }
.footer nav a { color: var(--ink-2); transition: color .2s; }
.footer nav a:hover, .footer nav a[aria-current] { color: var(--ink); }
.footer-langs { grid-template-columns: 1fr 1fr; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .86rem; }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer-grid, .footer-grid.has-guide { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ── Language suggestion ─────────────────────────────────────────────────── */
.lang-suggest {
  position: fixed; inset-block-end: 20px; inset-inline-start: 50%; translate: -50% 0; z-index: 70;
  display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: chip-in .6s var(--ease-spring);
  max-width: calc(100vw - 32px);
}
[dir="rtl"] .lang-suggest { translate: 50% 0; padding: 6px 18px 6px 6px; }
.lang-suggest[hidden] { display: none; }
.lang-suggest a { font-weight: 600; font-size: .93rem; }
.lang-suggest a::after { content: " →"; color: var(--accent-ink); }
[dir="rtl"] .lang-suggest a::after { content: " ←"; }

/* ── Motion preferences ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .app-scroll { animation: none; }
  .route-dot { display: none; }
  .journey-art .stop { opacity: 1; scale: 1; }
}

/* ── Share page (/p/<uuid>) ─────────────────────────────────────────────── */
.share-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(60% 50% at 20% 10%, var(--glow-a), transparent 70%),
    radial-gradient(50% 45% at 85% 90%, var(--glow-b), transparent 70%),
    var(--bg);
}
.share-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  box-shadow: var(--shadow);
  text-align: center;
}
.share-logo { margin: 0 auto 16px; width: 56px; height: 56px; }
.share-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: var(--track-head);
  overflow-wrap: anywhere;
}
.share-where { margin: 6px 0 0; color: var(--ink-2); }
.share-status { margin: 20px 0 0; color: var(--ink-3); font-size: .95rem; }
.share-actions { display: grid; gap: 12px; margin-top: 24px; }
.share-actions .btn { width: 100%; justify-content: center; }
.share-web { border: 1px solid var(--line-2); color: var(--ink); }
.share-actions [hidden] { display: none; }
