/* =========================================================
   Sallekha — landing page
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #1E3A8A;
  --navy-700: #16307A;
  --navy-900: #0B1B4D;
  --orange: #FF6B00;
  --orange-400: #FF8A33;
  --orange-glow: rgba(255, 107, 0, .45);

  --bg: #F7F8FC;
  --bg-elev: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F1F3FA;
  --ink: #0B1435;
  --ink-2: #26304F;
  --muted: #5B6483;
  --line: rgba(15, 30, 80, .09);
  --brand-ink: var(--navy);          /* headline brand colour */
  --accent-ink: var(--navy);
  --tint: #EEF1F9;
  --nav-glass: rgba(247, 248, 252, .68);
  --card-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 40px -18px rgba(11, 27, 77, .28), 0 4px 12px -4px rgba(11, 27, 77, .08);
  --glow-a: rgba(255, 107, 0, .30);
  --glow-b: rgba(30, 58, 138, .28);
  --glow-c: rgba(120, 150, 255, .22);
  --grid-line: rgba(30, 58, 138, .07);
  --phone-frame: #0A1028;

  --radius: 24px;
  --radius-sm: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Alexandria", system-ui, "Segoe UI", Tahoma, sans-serif;

  color-scheme: light;
}

/* Dark: designed, not inverted — deep ink-navy surfaces, brighter navy accent, warmer orange */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060B1F;
    --bg-elev: #0B1330;
    --surface: #0E1736;
    --surface-2: #142045;
    --ink: #EEF1FA;
    --ink-2: #C9D0E6;
    --muted: #8F99BA;
    --line: rgba(160, 180, 255, .10);
    --brand-ink: #FFFFFF;
    --accent-ink: #8FA8FF;
    --tint: #08102A;
    --nav-glass: rgba(6, 11, 31, .62);
    --card-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(160,180,255,.08);
    --glow-a: rgba(255, 107, 0, .22);
    --glow-b: rgba(46, 84, 220, .40);
    --glow-c: rgba(90, 120, 255, .18);
    --grid-line: rgba(140, 165, 255, .06);
    --phone-frame: #02040D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060B1F;
  --bg-elev: #0B1330;
  --surface: #0E1736;
  --surface-2: #142045;
  --ink: #EEF1FA;
  --ink-2: #C9D0E6;
  --muted: #8F99BA;
  --line: rgba(160, 180, 255, .10);
  --brand-ink: #FFFFFF;
  --accent-ink: #8FA8FF;
  --tint: #08102A;
  --nav-glass: rgba(6, 11, 31, .62);
  --card-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 50px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(160,180,255,.08);
  --glow-a: rgba(255, 107, 0, .22);
  --glow-b: rgba(46, 84, 220, .40);
  --glow-c: rgba(90, 120, 255, .18);
  --grid-line: rgba(140, 165, 255, .06);
  --phone-frame: #02040D;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; interpolate-size: allow-keywords; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding-inline: 24px;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease-spring), background-color .25s, box-shadow .35s var(--ease-out), border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding-inline: 20px; font-size: .92rem; }
.btn--primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 24px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost {
  padding-inline: 24px 8px; background: var(--surface); border-color: var(--line); color: var(--ink);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); transition: background-color .25s, transform .4s var(--ease-spring);
}
.btn__icon svg { width: 16px; fill: var(--ink); transform: scaleX(-1); transition: fill .25s; }
.btn--ghost:hover .btn__icon { background: var(--orange); transform: scale(1.06); }
.btn--ghost:hover .btn__icon svg { fill: #fff; }

/* Store buttons: the official App Store and Google Play badges, side by side at the same height */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; } /* ≥ ¼ of the badge height: both stores' minimum clear space */
.is-android .store-badge--play:not(.store-badge--soon) { order: -1; } /* Android: Google Play first once it's live */
.store-badge {
  --h: 56px;
  display: inline-block; position: relative; height: var(--h); flex: none; border-radius: calc(var(--h) * .17);
  box-shadow: 0 14px 30px -14px rgba(10, 16, 40, .7);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.store-badge img { display: block; height: 100%; width: auto; }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(10, 16, 40, .8), 0 0 0 4px rgba(255,107,0,.15); }
.store-badge:active { transform: scale(.97); }
/* Google's PNG is 646×250 with 41px of clear space around the 168px-high badge: shown at the App Store badge's height */
.store-badge--play { overflow: hidden; border-radius: calc(var(--h) * .09); direction: ltr; } /* the crop below is exact only in LTR */
.store-badge--play img { height: calc(var(--h) * 250 / 168); margin: calc(var(--h) * -41 / 168); }
/* Google Play not live yet: greyed out, "Coming soon", not a link */
.store-badge--soon { overflow: visible; cursor: default; box-shadow: none; }
.store-badge--soon img { filter: grayscale(1); opacity: .45; clip-path: inset(calc(100% * 41 / 250) calc(100% * 41 / 646) round calc(var(--h) * .09)); }
.store-badge--soon:hover, .store-badge--soon:active { transform: none; box-shadow: none; }
.store-badge__soon {
  position: absolute; top: -9px; inset-inline-end: -6px; z-index: 1;
  padding: 3px 9px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(255, 107, 0, .7);
}
.store--sm.store-badge { --h: 48px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .4s var(--ease-spring), border-color .25s;
}
.icon-btn:hover { transform: rotate(-18deg) scale(1.05); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.icon-btn svg { width: 20px; grid-area: 1 / 1; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; transition: opacity .3s, transform .5s var(--ease-spring); }
.icon-btn .i-moon { fill: var(--ink); stroke: none; }
.icon-btn .i-sun  { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .icon-btn .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .icon-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .i-sun { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .icon-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
}

/* ---------- Navbar (glass) ---------- */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  transition: inset .4s var(--ease-out);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px; padding-inline: 20px 12px; border-radius: 22px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled .nav__inner {
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(11, 27, 77, .35);
}
.nav__brand { display: block; color: var(--brand-ink); transition: color .4s; }
.nav__logo { width: 92px; height: 37px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 16px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 1000px);
  padding-block: clamp(120px, 14vh, 160px) 80px;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.glow--orange { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -6vw; top: 18%; background: var(--glow-a); animation: drift 18s ease-in-out infinite alternate; }
.glow--navy   { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: 14vw; top: -22%; background: var(--glow-b); animation: drift 22s ease-in-out infinite alternate-reverse; }
.glow--soft   { width: 34vw; height: 34vw; right: -8vw; bottom: -10%; background: var(--glow-c); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after { /* fade into next section */
  content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}

.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
}

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; padding-inline: 6px 14px;
  border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .25s, transform .35s var(--ease-spring);
}
.pill:hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); transform: translateY(-1px); }
.pill__tag { background: var(--orange); color: #fff; font-weight: 700; font-size: .75rem; padding: 3px 10px; border-radius: 999px; }
.pill__dot { display: none; }
.pill__arrow { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-spring); }
.pill:hover .pill__arrow { transform: translateX(-3px); }

/* Headline */
.hero__title {
  margin: 28px 0 0;
  font-weight: 900;
  font-size: clamp(3.3rem, 6.4vw, 6.6rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--brand { color: var(--brand-ink); display: flex; align-items: flex-end; gap: .06em; padding-bottom: .1em; }
.hero__waw { line-height: 1; padding-bottom: .02em; }
/* Logo wordmark: viewBox is 772×308 units, tall strokes ≈ 216 units */
.hero__wordmark { height: 1.12em; width: auto; aspect-ratio: 772 / 308; overflow: visible; }
.hero__kasra {
  transform-box: fill-box; transform-origin: 100% 50%;
  filter: drop-shadow(0 6px 10px rgba(255, 107, 0, .4));
}
.hero__lead {
  margin: 20px 0 0; max-width: 34ch;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted); line-height: 1.9;
}
.hero__lead strong { color: var(--ink); font-weight: 600; box-shadow: inset 0 -.38em 0 color-mix(in srgb, var(--orange) 22%, transparent); }

.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero__stats {
  margin: 48px 0 0; display: flex; gap: clamp(20px, 3.5vw, 48px); flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column-reverse; gap: 2px; padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.stat:first-child { padding-inline-start: 0; border: 0; }
.hero__facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.stat dt { font-size: .85rem; color: var(--muted); }
.stat dd { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.2; display: flex; align-items: center; gap: 6px; direction: ltr; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.star { width: .8em; fill: var(--orange); }

/* ---------- Hero visual ---------- */
.hero__visual { position: relative; display: grid; place-items: center; }
.stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(520px, 100%); aspect-ratio: 520 / 640;
  display: grid; place-items: center;
  perspective: 1600px;
}
.phone {
  position: relative; z-index: 2;
  width: 58%; aspect-ratio: 300 / 620;
  border-radius: 13% / 6.3%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2A3358, var(--phone-frame) 40%, var(--phone-frame) 70%, #2A3358);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.14),
    0 2px 0 rgba(255,255,255,.05),
    -40px 60px 80px -30px rgba(11, 27, 77, .55),
    -12px 24px 40px -18px rgba(11, 27, 77, .45);
  transform: rotateY(calc(16deg + var(--ry))) rotateX(calc(6deg + var(--rx))) rotateZ(-3deg);
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-out);
}
.phone__screen {
  height: 100%; border-radius: 10.5% / 5%; overflow: hidden;
  background: #F4F6FC;
  font-size: clamp(7px, 1.9vw, 10.5px); /* app UI is em-based so it scales with the phone */
  direction: rtl;
}
.stage__shadow {
  position: absolute; z-index: 0; width: 60%; height: 8%; bottom: 2%; left: 14%;
  background: radial-gradient(closest-side, rgba(11, 27, 77, .35), transparent);
  filter: blur(10px);
}

/* App UI inside the phone */
.app { height: 100%; display: flex; flex-direction: column; color: #0B1435; position: relative; }
.app__status { display: flex; align-items: center; justify-content: space-between; padding: 1.1em 2em .6em; font-weight: 700; font-size: 1.05em; direction: ltr; background: var(--navy); color: #fff; }
.app__notch { width: 30%; height: 1.9em; border-radius: 99px; background: #02040D; }
.app__sys { display: flex; gap: .25em; align-items: flex-end; }
.app__sys i { width: .35em; background: #fff; border-radius: 1px; }
.app__sys i:nth-child(1) { height: .5em; } .app__sys i:nth-child(2) { height: .75em; } .app__sys i:nth-child(3) { height: 1em; }
.app__top { display: flex; align-items: center; justify-content: space-between; padding: .4em 1.6em .2em; background: var(--navy); }
.app__logo { width: 6em; height: 2.4em; color: #fff; }
.app__bell { position: relative; width: 2.8em; height: 2.8em; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.app__bell svg { width: 1.5em; fill: none; stroke: #fff; stroke-width: 2; }
.app__bell b { position: absolute; top: .55em; right: .65em; width: .6em; height: .6em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--navy); }
.app__search {
  display: flex; align-items: center; gap: .7em; margin: 0; padding: 1em 1.6em 1.6em;
  background: var(--navy); color: rgba(255,255,255,.55); font-size: 1.05em;
  border-radius: 0 0 1.8em 1.8em; position: relative;
}
.app__search::before { content: ""; position: absolute; inset: .3em 1.4em 1.3em; border-radius: 1.2em; background: rgba(255,255,255,.1); z-index: 0; }
.app__search svg, .app__search { z-index: 1; }
.app__search svg { position: relative; width: 1.4em; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; stroke-linecap: round; margin-inline-start: .7em; }
.app__chips { display: flex; gap: .5em; padding: 1.2em 1.4em .6em; overflow: hidden; white-space: nowrap; }
.app__chips span { padding: .45em 1.1em; border-radius: 99px; background: #fff; font-size: .95em; font-weight: 500; border: 1px solid rgba(15,30,80,.07); }
.app__chips .is-active { background: var(--orange); color: #fff; border-color: transparent; }
.app__live {
  margin: .5em 1.4em; padding: 1em 1.1em; border-radius: 1.6em;
  background: linear-gradient(135deg, #0B1B4D, var(--navy)); color: #fff;
  box-shadow: 0 1em 2em -1em rgba(11,27,77,.6);
}
.app__live-head { display: flex; justify-content: space-between; align-items: center; font-size: .92em; }
.app__timer { font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.12); padding: .15em .7em; border-radius: 99px; direction: ltr; }
.app__live-body { display: flex; gap: .9em; align-items: center; margin-top: .8em; }
.app__live-body b { display: block; font-size: 1.05em; }
.app__live-body small { display: block; opacity: .65; font-size: .85em; }
.app__live-body strong { color: #FFB47A; font-size: 1.25em; }
.app__section { display: flex; justify-content: space-between; align-items: baseline; padding: .9em 1.6em .4em; }
.app__section b { font-size: 1.1em; }
.app__section span { font-size: .85em; color: var(--orange); font-weight: 600; }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: 0 1.4em; }
.tile { background: #fff; border-radius: 1.3em; padding: .55em; box-shadow: 0 .4em 1em -.6em rgba(11,27,77,.25); }
.tile .thumb { width: 100%; aspect-ratio: 1.35; border-radius: .9em; }
.tile b { display: block; font-size: .92em; margin-top: .45em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile small { color: var(--orange); font-weight: 700; font-size: .88em; }
.app__tabbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: .9em 1em 1.8em; background: #fff; border-top: 1px solid rgba(15,30,80,.06);
}
.app__tabbar span { width: 2.6em; height: 2.6em; display: grid; place-items: center; }
.app__tabbar svg { width: 1.6em; fill: none; stroke: #9AA3C2; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.app__tabbar .is-active svg { stroke: var(--navy); }
.app__fab { background: var(--orange); border-radius: 50%; transform: translateY(-.8em) scale(1.25); box-shadow: 0 .6em 1.2em -.4em var(--orange-glow); }
.app__fab svg { stroke: #fff !important; stroke-width: 2.6; }

/* Thumbnails (illustrated placeholders) */
.thumb { display: grid; place-items: center; flex: none; }
.thumb svg { width: 46%; fill: none; stroke: rgba(255,255,255,.95); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.thumb--watch   { width: 4.6em; height: 4.6em; border-radius: 1.1em; background: linear-gradient(135deg, #FF9A3D, #FF6B00); }
.thumb--phone   { background: linear-gradient(135deg, #5B7CFF, #1E3A8A); }
.thumb--car     { background: linear-gradient(135deg, #22C1A8, #0E7C86); }
.thumb--console { background: linear-gradient(135deg, #A78BFA, #5B3FD6); }
.thumb--sofa    { background: linear-gradient(135deg, #FFB86B, #F05A28); }
.thumb--lg { width: 72px; height: 72px; border-radius: 16px; }

/* ---------- Floating cards ---------- */
.float { position: absolute; z-index: 3; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.float__inner { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.card {
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--card-shadow);
  transition: transform .45s var(--ease-spring);
}
.card:hover { transform: translateY(-4px) scale(1.03); }

.float--listing { top: 6%; left: -10%; }
.float--listing .float__inner { display: flex; gap: 12px; align-items: center; padding: 10px 10px 10px 16px; padding-inline: 10px 16px; width: 270px; animation-delay: -1.5s; }
.listing__meta b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.listing__meta small { display: block; font-size: .72rem; color: var(--muted); }
.listing__row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.listing__row strong { color: var(--orange); font-size: 1rem; font-weight: 800; }
.tag { font-size: .68rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, #16A34A 14%, transparent); color: #16A34A; }

.float--auction { bottom: 14%; right: -6%; }
.card--navy {
  background: linear-gradient(150deg, #13286B, #0B1B4D);
  color: #fff; border-color: rgba(255,255,255,.08); padding: 16px 18px; width: 236px;
  box-shadow: 0 30px 60px -24px rgba(11, 27, 77, .8), inset 0 1px 0 rgba(255,255,255,.1);
}
.float--auction .float__inner { animation-delay: -3s; }
.auction__head { font-size: .78rem; opacity: .85; }
.countdown { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; direction: ltr; justify-content: center; }
.countdown span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 4px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.countdown b { font-size: 1.5rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .62rem; opacity: .6; }
.countdown i { font-style: normal; font-weight: 800; padding-top: 8px; color: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.auction__bid { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.15); font-size: .78rem; }
.auction__bid span { opacity: .7; }
.auction__bid strong { font-size: 1.05rem; color: #FFB47A; }
[data-live-bid].is-bumped { animation: bump .7s var(--ease-spring); display: inline-block; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: #fff; } 100% { transform: scale(1); } }

.live-dot { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.live-dot::before {
  content: ""; width: .6em; height: .6em; border-radius: 50%; background: #FF4D4D;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: ping 1.6s ease-out infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 .6em rgba(255, 77, 77, 0); } }

.float--verified { top: 28%; right: -4%; }
.card--compact { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; padding-inline: 12px 18px; }
.float--verified .float__inner { animation-delay: -4.2s; }
.card--compact b { display: block; font-size: .88rem; color: var(--ink); line-height: 1.3; }
.card--compact small { display: block; font-size: .72rem; color: var(--muted); }
.badge-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--navy) 14%, transparent); }
.badge-icon svg { width: 24px; fill: #2F6BFF; }
.badge-icon .check { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12; stroke-dashoffset: 12; animation: draw .6s 1.6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float--chat { bottom: 6%; left: -6%; }
.chat { display: flex; flex-direction: column; gap: 6px; width: 230px; animation-delay: -2.2s; }
.bubble {
  padding: 9px 14px; font-size: .84rem; line-height: 1.5; border-radius: 18px; max-width: 88%;
  box-shadow: var(--card-shadow);
}
.bubble--in  { align-self: flex-start; background: var(--bg-elev); color: var(--ink); border: 1px solid var(--line); border-start-start-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--orange); color: #fff; border-start-end-radius: 6px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 14px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--line); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Chat bubbles pop in sequentially */
.chat .bubble, .chat .typing { opacity: 0; transform: translateY(8px) scale(.96); }
.is-ready .chat .bubble--in  { animation: pop .5s 1.2s var(--ease-spring) forwards; }
.is-ready .chat .bubble--out { animation: pop .5s 2.1s var(--ease-spring) forwards; }
.is-ready .chat .typing      { animation: pop .5s 3s var(--ease-spring) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Scroll cue */
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 99px; border: 1.5px solid var(--line);
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--orange); animation: scrollcue 1.8s var(--ease-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Intro reveal ---------- */
[data-intro] { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.is-ready [data-intro] {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms + 80ms);
}
.hero__visual[data-intro] { transform: translateY(40px) scale(.96); }
.is-ready .hero__visual[data-intro] { transform: none; }
.hero__kasra { opacity: 0; transform: translateY(-60%) scaleX(0) rotate(-10deg); }
.is-ready .hero__kasra { opacity: 1; transform: none; transition: transform 1s .8s var(--ease-spring), opacity .3s .8s; }
.float { opacity: 0; }
.is-ready .float { opacity: 1; transition: opacity .8s var(--ease-out); }
.is-ready .float--listing  { transition-delay: .7s; }
.is-ready .float--verified { transition-delay: .9s; }
.is-ready .float--auction  { transition-delay: 1.05s; }
.is-ready .float--chat     { transition-delay: 1.2s; }


/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--orange);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: #FFB47A; }
.section__title {
  margin: 14px 0 0; font-size: clamp(2rem, 4.8vw, 3.7rem); font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
}
.hl { color: var(--accent-ink); }
.hl--orange { color: var(--orange); }
.section__lead { margin: 18px 0 0; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 52ch; line-height: 1.9; }
.section--tint { background: var(--tint); }

/* ---------- Categories marquee ---------- */
.marquee {
  padding-block: 18px; border-block: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.marquee__list li {
  white-space: nowrap; padding: 10px 20px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
@keyframes marquee { to { transform: translateX(50%); } } /* RTL: content flows right→left, so move positive */

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
}
.bento__card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out), border-color .3s;
}
.bento__card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--orange) 12%, transparent), transparent 60%);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); border-color: color-mix(in srgb, var(--orange) 25%, var(--line)); }
.bento__card:hover::before { opacity: 1; }
.bento__card h3 { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.bento__card p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.bento__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  transition: transform .5s var(--ease-spring);
}
.bento__card:hover .bento__icon { transform: rotate(-8deg) scale(1.08); }
.bento__icon svg { width: 24px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento__icon--light { background: rgba(255,255,255,.1); }
.bento__icon--light svg { stroke: #fff; }

.bento__card--auction { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.bento__card--code    { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.bento__card--code .bento__text { max-width: 270px; }
.bento__card--post    { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.bento__card--post .bento__text { max-width: 280px; }
.bento__card--map     { grid-column: span 2; flex-direction: row; align-items: stretch; background: linear-gradient(150deg, #13286B, #0B1B4D); border-color: transparent; color: #fff; }
.bento__card--map p { color: rgba(255,255,255,.7); }
.bento__card--map .bento__text { align-self: center; max-width: 260px; }
.bento__card--verified, .bento__card--chat { justify-content: flex-end; }

/* Auction viz */
.viz-auction { background: var(--surface-2); border-radius: 20px; padding: 18px; border: 1px solid var(--line); }
.viz-auction__head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.viz-auction__head strong { font-size: 1.6rem; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.viz-auction__head strong small { font-size: .8rem; }
.viz-auction__chart { width: 100%; height: 120px; margin-block: 8px; }
.viz-auction__chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.viz-auction__chart .area { opacity: 0; }
.is-in .viz-auction__chart .line { animation: drawline 1.8s .3s var(--ease-out) forwards; }
.is-in .viz-auction__chart .area { animation: fadein 1s 1.2s forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.viz-auction__bids, .bidlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.viz-auction__bids li, .bidlist li {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px;
  background: var(--surface); font-size: .88rem; border: 1px solid var(--line);
}
.viz-auction__bids li b, .bidlist li b { flex: 1; font-weight: 600; }
.viz-auction__bids li > span:last-child, .bidlist li > span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.viz-auction__bids li:first-child { border-color: color-mix(in srgb, var(--orange) 45%, transparent); }
.viz-auction__bids li:first-child > span:last-child { color: var(--orange); }
.viz-auction__bids li { opacity: 0; transform: translateX(-16px); }
.is-in .viz-auction__bids li { opacity: 1; transform: none; transition: all .6s var(--ease-spring); }
.is-in .viz-auction__bids li:nth-child(1) { transition-delay: 1s; }
.is-in .viz-auction__bids li:nth-child(2) { transition-delay: .8s; }
.is-in .viz-auction__bids li:nth-child(3) { transition-delay: .6s; }
.av {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: .8rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 85% 62%), hsl(calc(var(--h) + 30) 75% 45%));
}

/* Delivery code viz */
.viz-code { display: flex; gap: 10px; direction: ltr; perspective: 600px; }
.viz-code span {
  width: 58px; height: 72px; border-radius: 16px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, #1E3A8A, #0B1B4D);
  box-shadow: 0 12px 24px -12px rgba(11, 27, 77, .6), inset 0 1px 0 rgba(255,255,255,.12);
  transform: rotateX(90deg); opacity: 0;
}
.viz-code span:last-child { background: linear-gradient(160deg, #FF8A33, #FF6B00); box-shadow: 0 12px 24px -12px var(--orange-glow); }
.is-in .viz-code span, .panel.is-active .viz-code span {
  transform: none; opacity: 1;
  transition: transform .7s var(--ease-spring), opacity .3s;
  transition-delay: calc(var(--i) * 120ms + 300ms);
}

/* ID viz */
.viz-id { position: relative; flex: 1; display: grid; place-items: center; min-height: 110px; }
.viz-id__card {
  position: relative; overflow: hidden; width: 150px; height: 96px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; padding: 14px;
}
.viz-id__photo { width: 44px; height: 54px; border-radius: 8px; background: linear-gradient(160deg, #8FA8FF, #1E3A8A); flex: none; }
.viz-id__lines { display: grid; gap: 7px; flex: 1; }
.viz-id__lines i { height: 6px; border-radius: 3px; background: var(--line); background: color-mix(in srgb, var(--ink) 14%, transparent); }
.viz-id__lines i:nth-child(2) { width: 70%; } .viz-id__lines i:nth-child(3) { width: 45%; }
.viz-id__scan {
  position: absolute; inset-inline: 0; top: 0; height: 2px; background: #2F6BFF;
  box-shadow: 0 0 12px 3px rgba(47, 107, 255, .5);
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.viz-id__badge { position: absolute; top: 4px; left: calc(50% - 98px); width: 40px; height: 40px; display: grid; place-items: center; transform: scale(0); }
.viz-id__badge svg { grid-area: 1 / 1; width: 40px; fill: #2F6BFF; }
.viz-id__badge .tick { width: 20px; color: #fff; }
.is-in .viz-id__badge { transform: none; transition: transform .6s .8s var(--ease-spring); }

/* Chat viz */
.viz-chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.viz-chat .bubble { opacity: 0; transform: translateY(10px) scale(.95); font-size: .85rem; }
.is-in .viz-chat .bubble { opacity: 1; transform: none; transition: all .5s var(--ease-spring); }
.is-in .viz-chat .bubble--in { transition-delay: .5s; }
.is-in .viz-chat .bubble--out { transition-delay: 1.2s; }

/* Post viz */
.viz-post { width: min(250px, 50%); display: grid; gap: 12px; }
.viz-post__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.viz-post__photos span { aspect-ratio: 1; border-radius: 12px; transform: scale(.6); opacity: 0; }
.viz-post__photos span:nth-child(1) { background: linear-gradient(135deg, #A78BFA, #5B3FD6); }
.viz-post__photos span:nth-child(2) { background: linear-gradient(135deg, #22C1A8, #0E7C86); }
.viz-post__photos span:nth-child(3) { background: linear-gradient(135deg, #FFB86B, #F05A28); }
.viz-post__photos .add { display: grid; place-items: center; border: 2px dashed var(--line); border-color: color-mix(in srgb, var(--ink) 18%, transparent); color: var(--muted); font-size: 1.3rem; }
.is-in .viz-post__photos span { transform: none; opacity: 1; transition: all .5s var(--ease-spring); }
.is-in .viz-post__photos span:nth-child(2) { transition-delay: .15s; }
.is-in .viz-post__photos span:nth-child(3) { transition-delay: .3s; }
.is-in .viz-post__photos span:nth-child(4) { transition-delay: .45s; }
.viz-post__bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.viz-post__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-400)); margin-inline-start: 0; }
.is-in .viz-post__bar i { width: 100%; transition: width 1.6s .6s var(--ease-out); }
.viz-post__btn {
  text-align: center; padding: 10px; border-radius: 12px; font-weight: 600; font-size: .9rem;
  background: var(--surface-2); color: var(--muted); transition: background-color .4s 2.2s, color .4s 2.2s;
}
.is-in .viz-post__btn { background: var(--orange); color: #fff; }

/* Map viz */
.viz-map {
  position: relative; flex: 1; min-height: 200px; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(28deg, transparent 47%, rgba(255,255,255,.12) 47% 53%, transparent 53%),
    linear-gradient(-62deg, transparent 46%, rgba(255,255,255,.08) 46% 50%, transparent 50%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    rgba(255,255,255,.04);
}
.pin { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; border-radius: 50%; background: var(--orange); translate: -50% -50%; box-shadow: 0 0 0 4px rgba(255,107,0,.25); }
.pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: pinpulse 2.4s var(--delay, 0s) ease-out infinite; }
@keyframes pinpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.pin--me { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.pin--me::after { border-color: #fff; }

/* ---------- Auction explainer (navy) ---------- */
.section--navy {
  margin-inline: clamp(0px, 1.2vw, 16px); border-radius: clamp(28px, 4vw, 48px);
  background: linear-gradient(170deg, #12286E 0%, #0B1B4D 45%, #071235 100%);
  color: #fff; overflow: hidden; isolation: isolate;
}
:root[data-theme="dark"] .section--navy { background: linear-gradient(170deg, #0F1E52, #0A1438 50%, #070E28); box-shadow: inset 0 0 0 1px rgba(140,165,255,.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .section--navy { background: linear-gradient(170deg, #0F1E52, #0A1438 50%, #070E28); box-shadow: inset 0 0 0 1px rgba(140,165,255,.1); } }
.navy-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 80%, rgba(255,107,0,.22), transparent 70%),
    radial-gradient(500px 400px at 90% 10%, rgba(90,130,255,.25), transparent 70%);
}
.section--navy .section__lead { color: rgba(255,255,255,.7); }

.steps { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps__rail { position: absolute; inset-inline-start: 43px; top: 40px; bottom: 40px; width: 2px; background: rgba(255,255,255,.12); border-radius: 2px; }
.steps__fill { position: absolute; inset: 0 0 auto; height: calc(var(--progress, 0) * 100%); background: linear-gradient(var(--orange), #FFB47A); border-radius: inherit; transition: height .8s var(--ease-out); box-shadow: 0 0 12px rgba(255,107,0,.6); }
.step {
  position: relative; width: 100%; display: flex; gap: 18px; align-items: flex-start; text-align: start;
  padding: 20px; border-radius: 22px; border: 1px solid transparent; background: transparent; color: #fff; cursor: pointer; overflow: hidden;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease-spring);
}
.step:hover { background: rgba(255,255,255,.04); }
.step.is-active { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.step__num {
  position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; background: #0E1E57; border: 2px solid rgba(255,255,255,.18);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease-spring), box-shadow .4s;
}
.step.is-done .step__num { background: rgba(255,107,0,.18); border-color: var(--orange); }
.step.is-active .step__num { background: var(--orange); border-color: var(--orange); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255,107,0,.18); }
.step__body b { display: block; font-size: 1.2rem; font-weight: 700; margin-top: 8px; }
.step__body small { display: block; font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.62); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s, margin .4s; }
.step.is-active .step__body small { max-height: 120px; opacity: 1; margin-top: 4px; }
.step__progress { position: absolute; inset: auto 20px 0; height: 3px; border-radius: 3px; overflow: hidden; opacity: 0; }
.step__progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; }
.is-playing .step.is-active .step__progress { opacity: 1; }
.is-playing .step.is-active .step__progress i { animation: stepbar var(--step-ms, 5200ms) linear forwards; }
@keyframes stepbar { to { transform: scaleX(1); } }

.steps__stage { position: relative; display: grid; min-height: 480px; place-items: center; }
.steps__stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,107,0,.25), transparent); filter: blur(20px); }
.panel { grid-area: 1 / 1; width: min(380px, 100%); opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96); transition: opacity .5s, transform .7s var(--ease-out), visibility 0s .5s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .7s .1s var(--ease-spring), visibility 0s; }
.pcard {
  position: relative; background: var(--bg-elev); color: var(--ink); border-radius: 28px; padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  display: grid; gap: 16px;
}
.pcard--center { text-align: center; justify-items: center; padding-block: 32px; }
.pcard__row { display: flex; align-items: center; gap: 14px; }
.pcard__row b { display: block; font-size: 1.05rem; }
.pcard__row small { color: var(--muted); font-size: .85rem; }
.pcard__thumb { font-size: 12px; }
.deposit { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--orange) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--orange) 50%, transparent); }
.deposit span { font-weight: 600; font-size: .92rem; }
.deposit strong { font-size: 1.7rem; font-weight: 800; color: var(--orange); }
.deposit strong small { font-size: .85rem; }
.pcard__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.pcard__checks li { display: flex; align-items: center; gap: 8px; }
.pcard__checks svg, .checks svg { width: 18px; height: 18px; color: #16A34A; flex: none; }
.pcard__btn { text-align: center; padding: 14px; border-radius: 16px; background: var(--orange); color: #fff; font-weight: 700; box-shadow: 0 12px 24px -12px var(--orange-glow); }
.pcard__live { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.pcard__timer { font-weight: 700; padding: 4px 12px; border-radius: 99px; background: var(--surface-2); direction: ltr; font-variant-numeric: tabular-nums; }
.pcard__price small { display: block; color: var(--muted); font-size: .85rem; }
.pcard__price strong { font-size: 2.2rem; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.bidlist li.is-you { border-color: color-mix(in srgb, var(--orange) 50%, transparent); background: color-mix(in srgb, var(--orange) 8%, var(--surface)); }
.bidlist li.is-you > span:last-child { color: var(--orange); }
.bidbtns { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; }
.bidbtns span { text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--surface-2); font-weight: 700; font-size: .9rem; }
.bidbtns .is-main { background: var(--orange); color: #fff; }
.pcard__trophy { font-size: 2.6rem; line-height: 1; }
.pcard__title { font-size: 1.4rem; font-weight: 800; }
.pcard__sub { color: var(--muted); font-size: .9rem; max-width: 30ch; line-height: 1.7; }
.viz-code--big span { width: 64px; height: 80px; font-size: 2.3rem; }
.escrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600; background: color-mix(in srgb, #16A34A 12%, transparent); color: #16A34A; }
.escrow svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.done { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.done svg { width: 96px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done circle { stroke: #16A34A; stroke-width: 3; fill: color-mix(in srgb, #16A34A 12%, transparent); stroke-dasharray: 151; stroke-dashoffset: 151; }
.done path { stroke: #16A34A; stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; }
.panel.is-active .done circle { animation: dash .7s .2s var(--ease-out) forwards; }
.panel.is-active .done path { animation: dash .5s .8s var(--ease-out) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.done i { position: absolute; width: 4px; height: 10px; border-radius: 2px; background: var(--orange); top: 50%; left: 50%; opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-40px); }
.done i:nth-of-type(even) { background: #2F6BFF; }
.panel.is-active .done i { animation: burst .8s 1s var(--ease-out) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-40px); } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-70px); } }
.rate { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.rate__stars { font-size: 1.6rem; color: var(--orange); letter-spacing: 4px; }

/* ---------- Safety ---------- */
.safety { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li > span { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, #16A34A 12%, transparent); }
.checks b { display: block; font-size: 1.05rem; }
.checks small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.8; }

.flow {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 40px 24px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
.flow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 300px at 50% 50%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 70%); pointer-events: none; }
.flow__node { display: grid; justify-items: center; gap: 2px; text-align: center; position: relative; z-index: 1; }
.flow__node b { font-size: 1.05rem; }
.flow__node small { color: var(--muted); font-size: .85rem; }
.flow__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 6px; }
.flow__shield { width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; margin-bottom: 6px; background: linear-gradient(150deg, #1E3A8A, #0B1B4D); box-shadow: 0 20px 40px -16px rgba(11,27,77,.7), 0 0 0 8px color-mix(in srgb, var(--navy) 12%, transparent); }
.flow__shield svg { width: 46px; fill: rgba(255,255,255,.12); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.flow__shield .tick { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; }
.flow__node--vault b { color: var(--accent-ink); font-size: 1.2rem; }
.flow__path { position: relative; width: 2px; height: 76px; margin-block: 10px; background: repeating-linear-gradient(to bottom, var(--muted) 0 6px, transparent 6px 12px); opacity: .7; }
.flow__coin {
  position: absolute; left: 50%; top: 0; translate: -50% 0; font-style: normal;
  font-size: .62rem; font-weight: 800; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #FFB86B, #FF6B00); color: #fff; box-shadow: 0 6px 14px -4px var(--orange-glow);
  animation: coin 3.2s var(--ease-out) infinite;
}
.flow__path--2 .flow__coin { animation-delay: 1.6s; }
.flow__path em { position: absolute; inset-inline-start: 24px; top: 50%; translate: 0 -50%; white-space: nowrap; font-style: normal; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--orange) 12%, var(--surface)); color: var(--orange); border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); }
@keyframes coin { 0% { top: -10px; opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { top: calc(100% - 24px); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; margin: 0; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.qa[open] { border-color: color-mix(in srgb, var(--orange) 35%, var(--line)); box-shadow: var(--card-shadow); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-weight: 600; font-size: 1.05rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); transition: background-color .3s, transform .4s var(--ease-spring); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; transition: transform .4s var(--ease-spring), background-color .3s; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--orange); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 24px 22px; color: var(--muted); line-height: 1.9; }
.qa__a p { margin: 0; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ---------- Download CTA ---------- */
.section--cta { padding-top: clamp(64px, 8vw, 100px); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 80px); border-radius: clamp(28px, 4vw, 48px);
  background: linear-gradient(150deg, #1E3A8A 0%, #0B1B4D 60%, #071235 100%); color: #fff;
}
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 360px at 10% 100%, rgba(255,107,0,.45), transparent 70%), radial-gradient(400px 300px at 100% 0%, rgba(120,150,255,.3), transparent 70%); }
.cta__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%); }
.cta__mark { width: 120px; height: 48px; color: #fff; }
.cta__title { margin: 18px 0 0; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.2; }
.cta__copy p { margin: 14px 0 32px; color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 38ch; }
.cta__visual { position: relative; align-self: end; height: 100%; min-height: 300px; margin-bottom: calc(-1 * clamp(36px, 6vw, 80px)); }
.cta__phone {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: min(280px, 100%); height: 112%;
  border-radius: 44px 44px 0 0; padding: 12px 12px 0; background: #050A1E; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 -20px 60px -20px rgba(0,0,0,.6);
  transform: rotate(-4deg); transform-origin: bottom center;
}
.cta__screen { height: 100%; border-radius: 34px 34px 0 0; background: linear-gradient(170deg, #2C3E8F, #121F55); padding: 56px 12px 0; display: grid; align-content: start; gap: 10px; }
.cta__notif {
  display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 18px;
  background: rgba(255,255,255,.92); color: #0B1435; text-align: start;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(-16px) scale(.96);
}
.cta__notif b { display: block; font-size: .85rem; }
.cta__notif small { display: block; font-size: .72rem; color: #5B6483; line-height: 1.5; }
.cta__notif-logo { flex: none; width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: #1E3A8A; color: #fff; }
.is-in .cta__notif { opacity: 1; transform: none; transition: all .7s .6s var(--ease-spring); }
.is-in .cta__notif--2 { transition-delay: 1.3s; }

/* ---------- Footer ---------- */
.footer { padding-block: 72px 32px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo { width: 120px; height: 48px; color: var(--brand-ink); }
.footer__brand p { margin: 10px 0 0; color: var(--muted); }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols b { font-size: .95rem; margin-bottom: 4px; }
.footer__cols a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer__cols a:hover { color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; color: var(--muted); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .25s, border-color .25s, transform .4s var(--ease-spring); }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.footer__social svg { width: 18px; fill: var(--ink); transition: fill .25s; }
.footer__social svg.stroke { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.footer__social a:hover svg { fill: #fff; }
.footer__social a:hover svg.stroke { fill: none; stroke: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .float--listing { left: -4%; }
  .float--chat { left: -2%; }
  .float--auction { right: -2%; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { padding-top: 112px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__stats, .hero__facts { justify-content: center; }
  .hero__visual { margin-top: 24px; }
  .stage { width: min(460px, 100%); }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .nav { inset-block-start: 8px; }
  .nav__inner { height: 60px; padding-inline: 14px 8px; }
  .nav__cta { display: none; }
  .hero__title { margin-top: 22px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas > * { width: 100%; justify-content: center; }
  .stores { justify-content: center; gap: 12px; width: 100%; }
  .stores .store-badge { --h: 46px; }
  .btn--ghost { padding-inline: 24px 8px; justify-content: space-between; }
  .hero__stats { gap: 0; width: 100%; justify-content: space-between; margin-top: 36px; }
  .stat { padding-inline: 12px; border-inline-start: 1px solid var(--line); flex: 1; align-items: center; }
  .stat dd { justify-content: center; }
  .stat dt { font-size: .72rem; text-align: center; line-height: 1.4; }
  .stage { width: 100%; }
  .float { scale: .78; }
  .float--listing { top: 2%; left: -4%; }
  .float--verified { top: 30%; right: -5%; }
  .float--auction { bottom: 16%; right: -7%; }
  .float--chat { bottom: 2%; left: -6%; }

  .mobile-cta {
    display: block; position: fixed; z-index: 60; inset: auto 12px max(12px, env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .5s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .store-badge:not(.store-badge--soon) { box-shadow: 0 20px 40px -12px rgba(10, 16, 40, .55); }
}
/* Sections — tablet */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--auction { grid-row: span 1; }
  .steps { grid-template-columns: 1fr; }
  .steps__stage { min-height: 440px; }
  .safety { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
/* Sections — phone */
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__card { padding: 22px; }
  .bento__card--auction, .bento__card--code, .bento__card--post, .bento__card--map { grid-column: auto; }
  .bento__card--code, .bento__card--post, .bento__card--map { flex-direction: column; align-items: stretch; }
  .bento__card--code .viz-code { justify-content: center; }
  .viz-post { width: 100%; }
  .viz-map { min-height: 160px; order: 2; }
  .bento__card--verified, .bento__card--chat { min-height: 260px; }
  .viz-code span { width: 54px; height: 66px; }
  .step { padding: 16px; gap: 14px; }
  .steps__rail { inset-inline-start: 39px; }
  .steps__stage { min-height: 470px; }
  .pcard { padding: 20px; }
  .flow { padding: 32px 16px; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta__copy { display: flex; flex-direction: column; align-items: center; }
  .cta__visual { min-height: 260px; }
  .footer__inner { flex-direction: column; }
  .footer__bottom { flex-direction: column-reverse; }
  .footer { padding-bottom: 104px; } /* room for the sticky CTA */
}

@media (max-width: 380px) {
  .float { scale: .68; }
  .stores .store-badge { --h: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-intro], [data-reveal], .float, .hero__kasra, .bubble, .typing { opacity: 1 !important; transform: none !important; filter: none !important; }
  .float { --py: 0px !important; }
  .glow { animation: none; }
}

/* =========================================================
   Legal pages (privacy.html)
   ========================================================= */
.legal { position: relative; isolation: isolate; padding-block: 140px 40px; }
.legal__bg { position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; overflow: hidden; pointer-events: none; }
.legal__bg .glow--navy { left: 30%; top: -50%; }
.legal__bg .glow--orange { left: -10%; top: 0; width: 30vw; height: 30vw; }
.legal__hero { max-width: 1240px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal__back { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 28px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .2s, gap .3s var(--ease-spring); }
.legal__back svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal__back:hover { color: var(--orange); gap: 10px; }
.legal__title { display: block; margin: 12px 0 0; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.2; }
.legal__meta { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.legal__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: 48px; align-items: start; }
.legal__toc { position: sticky; top: 110px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal__toc b { display: block; font-size: .95rem; margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .88rem; color: var(--muted); transition: background-color .2s, color .2s; }
.legal__toc a::before { content: counter(toc); min-width: 1.2em; font-weight: 700; color: color-mix(in srgb, var(--muted) 60%, transparent); }
.legal__toc a:hover { background: var(--surface-2); color: var(--ink); }
.legal__toc a.is-current { background: color-mix(in srgb, var(--orange) 10%, transparent); color: var(--orange); }
.legal__toc a.is-current::before { color: var(--orange); }
.legal__body { max-width: 760px; }
.legal__body section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal__body section:last-child { border: 0; }
.legal__body h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.4; }
.legal__body h3 { margin: 28px 0 10px; font-size: 1.1rem; font-weight: 700; color: var(--accent-ink); }
.legal__body p, .legal__body li { color: var(--ink-2); line-height: 2; font-size: 1rem; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal__body ul li { position: relative; padding-inline-start: 22px; }
.legal__body ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .85em; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.legal__body b, .legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal__steps { margin: 0 0 14px; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.legal__grid div, .legal__contact div { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.legal__grid b { display: block; margin-bottom: 4px; }
.legal__grid small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.legal__contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.legal__contact small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.legal__contact a, .legal__contact b { font-weight: 600; word-break: break-word; }
@media (max-width: 900px) {
  .legal__layout { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .legal { padding-top: 112px; }
  .legal__toc ol, .legal__grid, .legal__contact { grid-template-columns: 1fr; }
  .legal ~ .footer { padding-bottom: 32px; }
}

/* =========================================================
   Shared additions: language switch, footer stores, QR
   ========================================================= */
.lang-btn {
  min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: border-color .25s, color .25s, transform .35s var(--ease-spring);
}
.lang-btn:hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); color: var(--orange); transform: translateY(-1px); }
.nav__links a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--orange) 10%, transparent); }

.footer__stores { margin-top: 20px; }
.footer__stores .stores { gap: 12px; }
.footer__end { display: flex; align-items: center; gap: 16px; }
.footer__lang { font-weight: 600; font-size: .9rem; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.footer__lang:hover { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.footer__bottom small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__cols a[aria-current="page"] { color: var(--orange); }

.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 600; color: var(--orange); }
.text-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease-spring); }
.text-link:hover svg { transform: translateX(-4px); }
.section__lead .text-link, .hint .text-link { margin: 0; }

.faq__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* QR code — desktop only (shown when the device isn't a phone) */
.qr { display: none; align-items: center; gap: 16px; margin-top: 28px; padding: 14px; padding-inline-end: 22px; border-radius: 22px; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-align: start; }
.qr__code { flex: none; width: 116px; height: 116px; padding: 10px; border-radius: 16px; background: #fff; }
.qr__code svg { width: 100%; height: 100%; }
.qr__text b { display: block; font-size: 1rem; color: #fff; }
.qr__text small { display: block; max-width: 32ch; margin-top: 4px; font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.qr--light { background: var(--surface); border-color: var(--line); margin-inline: auto; }
.qr--light .qr__code { border: 1px solid var(--line); }
.qr--light .qr__text b { color: var(--ink); }
.qr--light .qr__text small { color: var(--muted); }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  html:not(.is-ios):not(.is-android) .qr { display: flex; }
}

/* =========================================================
   Content pages (about, support, faq, safety, account…)
   ========================================================= */
.page-section { padding-block: clamp(40px, 6vw, 72px) 0; }
.page-section--tint { margin-top: clamp(40px, 6vw, 72px); padding-block: clamp(56px, 7vw, 96px); background: var(--tint); }
.page-section__head { margin-bottom: 28px; }
.page-section__title { margin: 12px 0 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.35; }
.prose { color: var(--ink-2); line-height: 2; font-size: 1.05rem; margin: 16px 0 0; max-width: 60ch; }
.page-section a:not(.btn):not(.contact-card):not(.text-link), .note-card a, .hint a, .tile-card a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; align-items: stretch; }
.stat-cards { display: grid; gap: 12px; }
.stat-cards div { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.stat-cards b { font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--orange); min-width: 1.2em; text-align: center; }
.stat-cards small { color: var(--ink-2); font-size: .98rem; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out), border-color .3s; }
.tile-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); border-color: color-mix(in srgb, var(--orange) 25%, var(--line)); }
.tile-card b { display: block; font-size: 1.12rem; margin-top: 14px; }
.tile-card p { margin: 6px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.85; }
.tile-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); }
.tile-card__icon svg { width: 24px; height: 24px; }

.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: fs; }
.flow-steps li { counter-increment: fs; position: relative; padding: 24px; padding-top: 68px; border-radius: var(--radius); background: linear-gradient(150deg, #13286B, #0B1B4D); color: #fff; overflow: hidden; }
.flow-steps li::before { content: counter(fs); position: absolute; top: 20px; inset-inline-start: 24px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,107,0,.18); }
.flow-steps b { display: block; font-size: 1.12rem; }
.flow-steps small { display: block; margin-top: 4px; color: rgba(255,255,255,.7); font-size: .94rem; line-height: 1.8; }

.note-card { padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.note-card > b { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.note-card p { margin: 8px 0 0; color: var(--ink-2); line-height: 1.95; }
.note-card--alert { margin-top: 20px; border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); background: color-mix(in srgb, var(--orange) 7%, var(--surface)); }
.hint { margin: 20px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.95; max-width: 80ch; }
.hint b { color: var(--ink); }

/* Store CTA band */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 44px); border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(150deg, #1E3A8A 0%, #0B1B4D 60%, #071235 100%); color: #fff;
}
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 280px at 0% 100%, rgba(255,107,0,.4), transparent 70%), radial-gradient(360px 260px at 100% 0%, rgba(120,150,255,.28), transparent 70%); }
.band__copy { display: grid; gap: 4px; }
.band__mark { width: 84px; height: 34px; color: #fff; margin-bottom: 6px; }
.band__copy b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; line-height: 1.3; }
.band__copy small { color: rgba(255,255,255,.72); font-size: 1rem; }

/* Support */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-card { display: grid; gap: 2px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-out), border-color .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); border-color: color-mix(in srgb, var(--orange) 35%, var(--line)); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: color-mix(in srgb, var(--navy) 12%, transparent); color: var(--accent-ink); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card--wa .contact-card__icon { background: color-mix(in srgb, #25D366 16%, transparent); color: #1DA851; }
.contact-card small { color: var(--muted); font-size: .85rem; }
.contact-card b { font-size: 1.15rem; word-break: break-word; }
.contact-card__note { margin-top: 6px; color: var(--muted); font-size: .85rem; line-height: 1.7; }

.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 110px; }
.guide:target { border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 15%, transparent); }
.guide__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); }
.guide__icon svg { width: 24px; height: 24px; }
.guide h3 { margin: 14px 0 6px; font-size: 1.25rem; font-weight: 800; }
.guide p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.9; font-size: .96rem; }
.guide .guide__label { font-weight: 700; color: var(--ink); margin-top: 14px; }
.howto { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: ht; }
.howto li { counter-increment: ht; position: relative; padding-inline-start: 40px; color: var(--ink-2); line-height: 1.85; font-size: .96rem; }
.howto li::before { content: counter(ht); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: var(--orange); background: color-mix(in srgb, var(--orange) 12%, transparent); }
.howto b { color: var(--ink); }

/* FAQ page */
.faq-groups { display: grid; gap: 44px; min-width: 0; }
.faq-group { scroll-margin-top: 110px; }
.faq-group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; }
.faq-group__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); flex: none; }
.faq-group__icon svg { width: 22px; height: 22px; }
.qa__a a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* Safety page */
.golden { display: flex; align-items: center; gap: 20px; padding: 26px 28px; margin-bottom: 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(150deg, #13286B, #0B1B4D); box-shadow: var(--card-shadow); }
.golden__key { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; background: rgba(255,255,255,.1); }
.golden b { font-size: 1.2rem; color: #FFB47A; }
.golden p { margin: 4px 0 0; font-size: 1.08rem; line-height: 1.9; }
.tip-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tip-group { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 110px; }
.tip-group header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.tip-group h2 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; }
.tip-group header p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.85; font-size: .96rem; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: .35em; color: #16A34A; }
.ticks--muted svg { color: var(--muted); }
.ticks--x svg { color: #DC2626; }
.ticks a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal__body .ticks li { padding: 0; }
.legal__body .ticks li::before { display: none; }

/* Legal tables */
.legal__table { display: grid; margin: 4px 0 18px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.legal__tr { display: grid; grid-template-columns: minmax(150px, .8fr) 1.6fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.8; }
.legal__tr:first-child { border-top: 0; }
.legal__tr--head { background: var(--surface-2); font-weight: 700; font-size: .85rem; color: var(--muted); }
.legal__tr > span { color: var(--ink-2); }
.legal__table--x .legal__tr b { display: flex; align-items: center; gap: 8px; }
.legal__table--x svg { width: 18px; height: 18px; flex: none; color: #DC2626; }

/* Delete account */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.option { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.option h2 { margin: 10px 0 8px; font-size: 1.4rem; font-weight: 800; }
.option p { color: var(--ink-2); line-height: 1.9; margin: 0 0 18px; }
.option a:not(.btn) { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.option__tag { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: #fff; background: var(--orange); }
.option__tag--muted { background: var(--surface-2); color: var(--ink-2); }
.btn__svg { width: 20px; height: 20px; }

/* Community guidelines */
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 14px; }
.do-dont__col { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.do-dont__col > b { display: block; margin-bottom: 10px; }
.do-dont__col--do > b { color: #16A34A; }
.do-dont__col--dont > b { color: #DC2626; }

/* Centered card: /download and 404 */
.center-card { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 640px; padding-block: 40px 20px; }
.center-card__mark { width: 120px; height: 48px; color: var(--brand-ink); }
.center-card h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.3; }
.center-card p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.center-card .stores { justify-content: center; margin-top: 8px; }
html:not(.is-ios):not(.is-android) .center-card .qr { display: flex; } /* /download on any computer: the QR code, whatever the window width */
.center-card .text-link { margin-top: 12px; }
.ios-only { display: none; }
.is-ios .ios-only:not(:empty) { display: block; }
.is-ios .not-ios { display: none; }
.android-only { display: none; }
.is-android .android-only:not(:empty) { display: block; }
.center-card .big404 { font-size: clamp(6rem, 20vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--brand-ink); direction: ltr; }
.big404 span { color: var(--orange); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; transition: border-color .2s, color .2s; }
.chips a:hover { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.center-card__en { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; width: 100%; }
.center-card__en h2 { margin: 0; font-size: 1.4rem; }

/* Content pages — responsive */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .contact-cards, .guides, .tip-groups, .options, .flow-steps { grid-template-columns: 1fr; }
  .lang-btn { min-width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .tiles, .do-dont { grid-template-columns: 1fr; }
  .legal__tr { grid-template-columns: 1fr; gap: 2px; }
  .legal__tr--head { display: none; }
  .band { flex-direction: column; align-items: stretch; text-align: center; }
  .band__copy { justify-items: center; }
  .golden { flex-direction: column; text-align: center; }
  .footer__end { flex-direction: column-reverse; }
  .nav__actions { gap: 8px; }
}

/* =========================================================
   English (LTR) adjustments — the base styles are authored RTL-first
   ========================================================= */
[dir="ltr"] .btn__icon svg { transform: none; }
[dir="ltr"] .pill__arrow, [dir="ltr"] .text-link svg, [dir="ltr"] .legal__back svg { transform: scaleX(-1); }
[dir="ltr"] .pill:hover .pill__arrow { transform: scaleX(-1) translateX(-3px); }
[dir="ltr"] .text-link:hover svg { transform: scaleX(-1) translateX(-4px); }
[dir="ltr"] .stat dd { justify-content: flex-start; }
[dir="ltr"] .marquee__list { padding: 0 0 0 12px; }
[dir="ltr"] .marquee__track { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }
[dir="ltr"] .step__progress i { transform-origin: left; }
[dir="ltr"] .hero__title { letter-spacing: -.03em; line-height: 1.15; }
[dir="ltr"] .hero__line--brand { padding-top: .08em; }
[dir="ltr"] .hero__waw { font-weight: 800; color: var(--orange); }
[dir="ltr"] .section__title, [dir="ltr"] .legal__title, [dir="ltr"] .cta__title { letter-spacing: -.02em; }
@media (max-width: 640px) { [dir="ltr"] .stat dd { justify-content: center; } }
