/* ==========================================================================
   Tripysi — website
   Visual identity mirrors the app (tripysi-app/src/shared/theme/tokens.ts,
   Figma "Tripysi — D2C App Design v1"): a bright, light interface with one
   electric-indigo brand colour, coral for commerce and promos, and a colour
   per progression so they never blur together:
     passport → navy and brass · league → teal · coins → gold · XP → indigo
   Dark mode follows the visitor's system setting, using the app's dark tokens.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #F6F6F9;
  --surface: #FFFFFF;
  --surface-alt: #F1F1F5;
  --border: #E9E9F0;
  --border-strong: #D6D6E0;
  --text: #0E1024;
  --muted: #5B5E73;
  --subtle: #9295A8;
  --inverse: #FFFFFF;

  --primary: #4A3AFF;
  --primary-deep: #2A1FB8;
  --primary-light: #7B5CFF;
  --primary-soft: #EEECFF;
  --accent: #FF5A36;
  --accent-soft: #FFEDE7;

  --navy: #171B3D;
  --navy-deep: #0E1128;
  --brass: #C9A45C;
  --brass-deep: #8C6A2F;
  --champagne: #CDAE74;
  --board: #161618;
  --paper: #F6F0E2;
  --stamp-ink: #171B3D;

  --teal: #0BA595;
  --teal-deep: #087A70;
  --teal-light: #2BC4A9;
  --teal-soft: #E2F6F2;

  --gold: #FFB800;
  --gold-light: #FFE08A;
  --coin-surface: #FFF5D6;
  --on-coin: #7A5200;

  --success: #12A150;
  --success-surface: #E5F6EC;
  --warning: #B7791F;
  --danger: #E5372B;

  --g-level: linear-gradient(135deg, #2A1FB8 0%, #4A3AFF 60%, #7B5CFF 100%);
  --g-league: linear-gradient(135deg, #087A70 0%, #0BA595 55%, #2BC4A9 100%);
  --g-coin: linear-gradient(135deg, #FFB800 0%, #FFE08A 100%);
  --g-promo: linear-gradient(135deg, #FF7A45 0%, #FF5A36 100%);

  --shadow-s: 0 1px 2px rgba(14,16,36,.04), 0 2px 8px rgba(14,16,36,.04);
  --shadow-m: 0 2px 4px rgba(14,16,36,.04), 0 12px 32px rgba(14,16,36,.08);
  --shadow-l: 0 8px 16px rgba(14,16,36,.06), 0 32px 64px rgba(14,16,36,.14);
  --shadow-brand: 0 10px 28px rgba(74,58,255,.30);

  --r-s: 8px; --r-m: 12px; --r-l: 16px; --r-xl: 20px; --r-2xl: 28px; --r-3xl: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --container: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B0C14;
    --surface: #15161F;
    --surface-alt: #1D1E29;
    --border: #262736;
    --border-strong: #343548;
    --text: #F4F4F8;
    --muted: #A3A5B8;
    --subtle: #6D7085;
    --inverse: #0B0C14;
    --primary: #7B6DFF;
    --primary-soft: #221E4D;
    --accent: #FF7A5C;
    --accent-soft: #3A1D16;
    --paper: #2A2415;
    --stamp-ink: #E3C98F;
    --brass: #E3C98F;
    --teal-soft: #0F2A26;
    --coin-surface: #2E2410;
    --on-coin: #FFD66B;
    --success: #4FD18B;
    --success-surface: #10271B;
    --warning: #F2B84B;
    --danger: #FF7A70;
    --shadow-s: 0 1px 2px rgba(0,0,0,.3);
    --shadow-m: 0 12px 32px rgba(0,0,0,.35);
    --shadow-l: 0 32px 64px rgba(0,0,0,.5);
    --shadow-brand: 0 10px 28px rgba(74,58,255,.35);
  }
  :root:not([data-theme="light"]) .display .grad { background-image: linear-gradient(135deg, #7B6DFF 0%, #A89BFF 55%, #FF8A6B 100%); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
small { font-size: 13px; }
::selection { background: var(--primary); color: #fff; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn--ink { background: var(--text); color: var(--bg); }
.btn--ink:hover { transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--subtle); transform: translateY(-1px); }
.btn--white { background: #fff; color: #0E1024; }
.btn--white:hover { transform: translateY(-1px); }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  white-space: nowrap;
}
.chip .ico { width: 14px; height: 14px; }
.chip--sm { height: 26px; padding: 0 10px; font-size: 12px; }
.chip--on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip--brand { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.chip--teal { background: var(--teal-soft); color: var(--teal-deep); border-color: transparent; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.overline { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.eyebrow--coral { color: var(--accent); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--brass { color: var(--brass); }
.eyebrow--gold { color: var(--warning); }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 24px 0 18px; border-radius: 16px;
  background: var(--text); color: var(--bg);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.store .ico { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: -0.01em; }
.store small { font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: 0; }
.store--white { background: #fff; color: #0E1024; }
.store--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; flex: none; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(14,26,43,.25); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; padding-top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-alt); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 82% 18%, rgba(74,58,255,.20), transparent 70%),
    radial-gradient(30% 40% at 6% 30%, rgba(255,90,54,.12), transparent 70%),
    radial-gradient(35% 40% at 60% 95%, rgba(255,184,0,.12), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__copy { max-width: 580px; }
.display { font-size: clamp(54px, 7.6vw, 104px); letter-spacing: -0.055em; line-height: .92; margin: 22px 0 0; }
.display .grad { background: var(--g-level); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lead { margin-top: 26px; font-size: 19.5px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions--center { justify-content: center; }
.hero__proof { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero__proof li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__proof ul { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; }
.hero__proof .ico { width: 18px; height: 18px; color: var(--success); }

.hero__stage { position: relative; height: 700px; display: grid; place-items: center; }
.hero__stage .glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(74,58,255,.28), rgba(123,92,255,.10) 45%, transparent 70%); filter: blur(10px); }

/* Floating cards around the hero phone */
.floater { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-l); }
.fl-toast { right: -6px; top: 118px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; }
.fl-toast__i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--success-surface); color: var(--success); }
.fl-toast strong { display: block; font-size: 14px; }
.fl-toast small { color: var(--muted); font-size: 12.5px; }
.fl-stamp { left: 0; bottom: 138px; padding: 14px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fl-stamp small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fl-coins { left: 34px; top: 150px; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.fl-like { right: 18px; bottom: 170px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.fl-like .av { width: 32px; height: 32px; }
.fl-like small { display: block; color: var(--muted); font-size: 12px; }
.fl-like strong { font-size: 13.5px; }
.fl-like .heart { color: var(--accent); }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; }
.float--late { animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee { margin-top: 56px; 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; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee__track span i { font-style: normal; font-size: 20px; line-height: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-alt); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--sm { padding: 64px 0; }
.section--tight { padding-top: 40px; }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sec-head h2, .split__copy h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.sec-head p { margin: 22px auto 0; color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 620px; }
.h-soft { color: var(--subtle); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--rev .split__copy { order: 2; }
.split__copy p { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 520px; }
.split__visual { display: grid; place-items: center; position: relative; }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 500; }
.ticks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); stroke-width: 2.6; margin-top: 1px; }
.ticks--teal .ico { background: var(--teal-soft); color: var(--teal-deep); }
.ticks--coral .ico { background: var(--accent-soft); color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 12px 12px 30px; border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.step__art { height: 240px; border-radius: 26px; background: var(--surface-alt); display: grid; place-items: center; margin-bottom: 26px; overflow: hidden; position: relative; }
.step__art--center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.step__art--center small { font-weight: 600; }
.step__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; margin: 0 18px 14px; }
.step h3 { font-size: 26px; margin: 0 18px; }
.step p { margin: 10px 18px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.city-stack { display: flex; flex-direction: column; gap: 8px; width: 240px; }
.city-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
.city-row .flag { font-size: 22px; line-height: 1; }
.city-row strong { display: block; font-size: 15px; }
.city-row small { color: var(--muted); }
.ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ways li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.ways span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }

/* ---------- Verification ---------- */
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; max-width: 520px; }
.vcard { padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-s); }
.vcard > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 8px; }
.vcard strong { font-size: 15.5px; }
.vcard small { color: var(--muted); }

/* ==========================================================================
   Phone mock + in-app components (a-*)
   ========================================================================== */
.phone {
  position: relative; z-index: 2;
  width: 312px; height: 656px; padding: 10px;
  border-radius: 52px;
  background: #0E1024;
  box-shadow: 0 0 0 1.5px #2a2c44 inset, 0 0 0 1px rgba(14,16,36,.08), var(--shadow-l), 0 50px 100px -20px rgba(74,58,255,.25);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 5; }
.phone__screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); color: var(--text); font-size: 13px; }
.phone--sm { width: 290px; height: 600px; }

.sb { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0 30px; font-size: 13px; font-weight: 700; }
.sb__r { display: flex; gap: 4px; align-items: center; }
.sb__r i { display: block; width: 16px; height: 9px; border-radius: 2px; background: currentColor; opacity: .9; }
.sb__r i:nth-child(1) { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb__r i:nth-child(2) { width: 12px; border-radius: 6px 6px 1px 1px; opacity: .8; }
.sb__r i:nth-child(3) { width: 22px; border-radius: 3px; }

.screens { position: absolute; inset: 46px 0 0; }
.scr { position: absolute; inset: 0; padding: 4px 14px 90px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; opacity: 0; transform: translateX(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.scr.left { transform: translateX(-24px); }
.scr.on { opacity: 1; transform: none; pointer-events: auto; }
.scr--flush { padding-left: 0; padding-right: 0; }

.a-head { display: flex; align-items: center; gap: 10px; }
.a-head__t { flex: 1; min-width: 0; }
.a-head__t small { display: block; font-size: 11.5px; color: var(--muted); }
.a-head__t strong { display: block; font-size: 23px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.a-pills { display: flex; gap: 6px; }
.a-pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px 0 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.coin, .xpi { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.coin { background: var(--g-coin); box-shadow: inset 0 0 0 1.5px rgba(122,82,0,.25); }
.coin::after { content: "T"; font-size: 10.5px; font-weight: 900; color: #7A5200; }
.xpi { background: var(--primary); color: #fff; }
.xpi .ico { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.coin--lg { width: 30px; height: 30px; }
.coin--lg::after { font-size: 15px; }

.a-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 19px; background: var(--surface); border: 1px solid var(--border); color: var(--subtle); font-size: 12px; }
.a-search .ico { width: 15px; height: 15px; }
.a-search span { flex: 1; }

.a-level { position: relative; overflow: hidden; border-radius: 18px; padding: 14px; background: var(--g-level); color: #fff; box-shadow: 0 8px 16px rgba(74,58,255,.28); display: flex; flex-direction: column; gap: 8px; }
.a-level::before { content: ""; position: absolute; right: -40px; top: -60px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.1); }
.a-level__top { display: flex; align-items: flex-start; justify-content: space-between; }
.a-level small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.a-level strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.a-level__xp { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 700; }
.a-level__xp .ico { width: 11px; height: 11px; fill: #fff; stroke: none; }
.a-level__meta { font-size: 10.5px; opacity: .78; }
.bar { height: 6px; border-radius: 3px; background: var(--surface-alt); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.bar--white { background: rgba(255,255,255,.25); }
.bar--white span { background: #fff; }
.bar--brass span { background: var(--brass); }
.bar--teal span { background: var(--teal); }
.bar--teal { background: var(--teal-soft); }
.bar--gold span { background: var(--gold); }

.a-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); }
.a-next__img { position: relative; height: 84px; }
.a-next__img .scene { width: 100%; height: 100%; }
.a-next__stamp { position: absolute; right: 10px; bottom: -20px; padding: 2px; border-radius: 50%; background: var(--surface); }
.a-next__stamp > div { opacity: .6; }
.a-next__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.a-next__body .overline { color: var(--warning); }
.a-next__body strong { font-size: 14px; padding-right: 56px; }
.a-next__foot { display: flex; align-items: center; gap: 8px; }
.a-next__foot small { flex: 1; font-size: 10.5px; color: var(--muted); }
.a-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--primary); color: #fff; font-weight: 700; font-size: 11px; }

.a-sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.a-sec strong { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.a-sec small { font-size: 11.5px; font-weight: 600; color: var(--primary); }

.a-mission { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.a-mission__i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); overflow: hidden; }
.a-mission__i .ico { width: 18px; height: 18px; }
.a-mission__i .scene { width: 100%; height: 100%; }
.a-mission > div { flex: 1; min-width: 0; }
.a-mission small.overline { font-size: 9px; }
.a-mission strong { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-mission small:not(.overline) { display: block; font-size: 10.5px; color: var(--muted); }
.a-xp { font-size: 10.5px; font-weight: 800; color: var(--primary); background: var(--primary-soft); padding: 4px 7px; border-radius: 8px; white-space: nowrap; }

.a-shelf { display: flex; gap: 8px; }
.a-shelf .slot { width: 50px; height: 50px; border-radius: 50%; border: 1.5px dashed var(--border-strong); display: grid; place-items: center; color: var(--subtle); flex: none; }
.a-shelf .slot .ico { width: 14px; height: 14px; }

/* Tab bar: the app's floating pill */
.tabbar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 60px; padding: 5px; border-radius: 30px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(14,16,36,.14); display: flex; z-index: 4; backdrop-filter: blur(12px); }
.tabbar__cap { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 25px; background: var(--primary-soft); transition: transform .45s var(--ease); }
.tab { position: relative; flex: 1; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 9.5px; font-weight: 500; cursor: pointer; transition: color .3s; }
.tab .ico { width: 21px; height: 21px; }
.tab.on { color: var(--primary); font-weight: 700; }
.tab b { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--accent); border: 1.5px solid var(--surface); color: #fff; font-size: 8.5px; line-height: 12px; font-weight: 800; }

/* Explore */
.a-chips { display: flex; gap: 6px; overflow: hidden; }
.a-chips .chip { height: 28px; font-size: 11px; padding: 0 11px; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -14px; }
.a-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-alt); }
.a-tile .scene { width: 100%; height: 100%; }
.a-tile .ico { position: absolute; top: 5px; right: 5px; width: 13px; height: 13px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }

/* Store */
.a-title { display: flex; align-items: center; justify-content: space-between; }
.a-title strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.a-icon-btn { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }
.a-icon-btn .ico { width: 17px; height: 17px; }
.a-icon-btn b { position: absolute; top: -3px; right: -3px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 8.5px; font-weight: 800; display: grid; place-items: center; border: 1.5px solid var(--bg); }
.a-promo { position: relative; overflow: hidden; border-radius: 18px; padding: 14px; color: #fff; display: flex; align-items: center; gap: 10px; background: var(--g-level); }
.a-promo--coral { background: var(--g-promo); }
.a-promo > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.a-promo small { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .82; }
.a-promo strong { font-size: 16px; line-height: 1.15; font-weight: 800; }
.a-promo em { font-style: normal; font-size: 10px; opacity: .82; }
.a-promo i { font-style: normal; align-self: flex-start; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 9px; border-radius: 11px; background: #fff; color: #0E1024; font-size: 10px; font-weight: 800; }
.a-promo__art { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--primary); flex: none; }
.a-promo--coral .a-promo__art { color: var(--accent); }
.a-promo__art .ico { width: 32px; height: 32px; }
.a-nudge { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--coin-surface); color: var(--on-coin); font-size: 11px; }
.a-nudge strong { font-size: 12px; display: block; }
.a-nudge > div { flex: 1; }
.a-nudge .ico { width: 14px; height: 14px; }
.a-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-prod { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.a-prod__img { aspect-ratio: 1; background: var(--surface-alt); display: grid; place-items: center; position: relative; }
.a-prod__img svg { width: 70%; height: 70%; }
.a-prod__img .heart { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.a-prod__img .heart .ico { width: 12px; height: 12px; }
.a-prod > div:last-child { padding: 7px 8px 9px; }
.a-prod strong { display: block; font-size: 10.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-prod span { display: block; font-size: 11.5px; font-weight: 800; margin-top: 2px; }
.a-prod s { color: var(--subtle); font-weight: 500; font-size: 9.5px; margin-left: 3px; }

/* Profile */
.a-prof { display: flex; align-items: center; gap: 14px; }
.a-prof__stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.a-prof__stats strong { display: block; font-size: 15px; font-weight: 800; }
.a-prof__stats small { font-size: 10.5px; color: var(--muted); }
.a-bio strong { font-size: 13px; display: block; }
.a-bio small { font-size: 11.5px; color: var(--muted); display: block; margin-top: 1px; }
.a-bio .chips { display: flex; gap: 5px; margin-top: 7px; }
.a-bio .chip { height: 22px; font-size: 10px; padding: 0 8px; gap: 4px; }
.a-bio .chip .ico { width: 11px; height: 11px; }
.a-actions { display: grid; grid-template-columns: 1fr 1fr 32px; gap: 6px; }
.a-actions span { height: 30px; border-radius: 10px; background: var(--surface-alt); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.a-actions .ico { width: 14px; height: 14px; }
.a-travel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-travel > div { border-radius: 16px; padding: 10px; height: 104px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.a-travel small { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.a-travel strong { font-size: 15px; font-weight: 800; }
.a-travel__pass { background: var(--navy); color: #fff; }
.a-travel__pass small { color: var(--champagne); }
.a-travel__pass > [data-stamp] { position: absolute; top: 8px; right: 8px; }
.a-travel__world { background: var(--surface); border: 1px solid var(--border); }
.a-travel__world svg { position: absolute; inset: 0; width: 100%; height: 70%; }
.a-travel__world small { color: var(--muted); }

.av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: var(--g-level); }
.av--lg { width: 64px; height: 64px; font-size: 24px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.av--c1 { background: linear-gradient(135deg, #FF7A45, #FF5A36); }
.av--c2 { background: var(--g-league); }
.av--c3 { background: linear-gradient(135deg, #FFB800, #FF7A45); }
.av--c4 { background: linear-gradient(135deg, #171B3D, #4A3AFF); }

/* Mission detail (flat phone) */
.m-hero { position: relative; height: 196px; margin: -46px 0 0; }
.m-hero .scene { width: 100%; height: 100%; }
.m-hero .chip { position: absolute; left: 14px; bottom: 12px; background: rgba(255,255,255,.92); color: #0E1024; border: 0; }
.m-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; }
.m-body h4 { font-size: 21px; letter-spacing: -0.03em; }
.m-body p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.m-rewards { display: flex; gap: 6px; }
.verify-box { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--success-surface); }
.verify-box strong { display: block; font-size: 12.5px; color: var(--success); }
.verify-box small { font-size: 11px; color: var(--muted); }
.radar { position: relative; width: 44px; height: 44px; flex: none; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--success); opacity: 0; animation: ping 2.4s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: .8s; }
.radar i:nth-child(3) { animation-delay: 1.6s; }
.radar span { position: absolute; inset: 15px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 25%, transparent); }
@keyframes ping { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
.a-cta { height: 44px; border-radius: 22px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; box-shadow: var(--shadow-brand); }

/* Post card (Explore section) */
.post { width: 340px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); overflow: hidden; position: relative; z-index: 2; }
.post__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post__head .av { width: 36px; height: 36px; font-size: 14px; }
.post__head div { flex: 1; }
.post__head strong { display: block; font-size: 14px; }
.post__head small { color: var(--muted); font-size: 12px; }
.post__media { position: relative; aspect-ratio: 4 / 5; }
.post__media .scene { width: 100%; height: 100%; }
.post__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.post__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.post__dots i:first-child { background: #fff; }
.post__count { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 10px; background: rgba(0,0,0,.45); color: #fff; font-size: 11px; font-weight: 700; }
.post__bar { display: flex; gap: 14px; padding: 12px 14px 6px; }
.post__bar .ico { width: 23px; height: 23px; }
.post__bar .heart { color: var(--accent); fill: var(--accent); }
.post__bar .sp { flex: 1; }
.post__body { padding: 0 14px 16px; font-size: 13.5px; line-height: 1.45; }
.post__body strong { font-weight: 800; }
.post__body small { display: block; color: var(--subtle); margin-top: 4px; font-size: 12px; }
.post-stack { position: relative; }
.post-stack .mini-grid { position: absolute; z-index: 3; right: -84px; bottom: 190px; width: 200px; padding: 8px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.post-stack .mini-grid .scene { width: 100%; aspect-ratio: 4 / 5; border-radius: 6px; }
.post-stack .qr-card { position: absolute; z-index: 3; left: -92px; top: 90px; width: 168px; padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); text-align: center; }
.qr-card .qr { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--surface-alt); padding: 10px; color: var(--text); }
.qr-card .qr svg { width: 100%; height: 100%; }
.qr-card strong { display: block; font-size: 13px; margin-top: 10px; }
.qr-card small { color: var(--muted); font-size: 11.5px; }

.feed-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* ---------- Passport (navy band) ---------- */
.section--navy { background: radial-gradient(60% 50% at 50% 0%, rgba(201,164,92,.16), transparent 70%), linear-gradient(180deg, #171B3D, #0E1128); color: #F4F4F8; }
.section--navy .sec-head p, .section--navy p { color: rgba(244,244,248,.72); }
.section--navy .eyebrow { color: var(--champagne); }
.section--navy .h-soft { color: rgba(244,244,248,.45); }

.book-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: stretch; }
.book { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; background: #F6F0E2; color: #171B3D; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 8px #161618; overflow: hidden; }
.book__spine { position: absolute; top: 0; bottom: 0; left: 50%; width: 60px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(23,27,61,.10) 45%, rgba(23,27,61,.18) 50%, rgba(23,27,61,.10) 55%, transparent); pointer-events: none; }
.page { padding: 28px; min-height: 420px; background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(140,106,47,.06) 22px 23px), radial-gradient(circle at 50% 50%, rgba(201,164,92,.10), transparent 60%); }
.page__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: #8C6A2F; margin-bottom: 22px; }
.datapage { display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.photo { aspect-ratio: 3 / 4; border-radius: 8px; background: var(--g-level); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 40px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.3); }
.datapage dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.datapage dl > div.wide { grid-column: 1 / -1; }
.datapage dt { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #8C6A2F; }
.datapage dd { margin: 2px 0 0; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.mrz { margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; line-height: 1.7; color: #171B3D; opacity: .75; word-break: break-all; }
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; place-items: center; }
.stamps .slot { width: 96px; height: 96px; border-radius: 50%; border: 1.5px dashed rgba(23,27,61,.25); }

.progress-card { border-radius: 22px; padding: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.ring { position: relative; width: 180px; height: 180px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring__track { stroke: rgba(255,255,255,.1); }
.ring__fill { stroke: var(--champagne); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease); }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__label strong { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ring__label small { color: rgba(244,244,248,.6); }
.progress-card__meta { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; text-align: center; }
.progress-card__meta strong { display: block; font-size: 22px; font-weight: 800; }
.progress-card__meta small { color: rgba(244,244,248,.6); }

.physical { margin-top: 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 48px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.physical h3 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.04em; margin-top: 4px; }
.physical p { margin-top: 18px; font-size: 17px; line-height: 1.65; max-width: 520px; }
.rule { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border-radius: 999px; background: rgba(201,164,92,.12); color: var(--champagne); font-weight: 600; font-size: 14px; }
.rule .ico { width: 16px; height: 16px; }
.physical__visual { display: grid; place-items: center; min-height: 320px; position: relative; }
.physical__visual::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.28), transparent 65%); }

.cover { position: relative; width: 200px; aspect-ratio: 1 / 1.42; border-radius: 10px 18px 18px 10px; background: linear-gradient(135deg, #1d1d20, #161618 60%, #0f0f10); color: var(--champagne); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 18px 26px; box-shadow: inset 6px 0 0 rgba(0,0,0,.35), inset 7px 0 0 rgba(255,255,255,.04), 0 30px 60px rgba(0,0,0,.5); overflow: hidden; }
.cover--lg { width: 220px; }
.cover__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 45%, transparent 60%); }
.cover__label { font-size: 12px; letter-spacing: .38em; font-weight: 600; padding-left: .38em; }
.cover__center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cover__emblem { width: 74px; height: 74px; }
.cover__emblem svg { width: 100%; height: 100%; }
.cover__name { font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.cover__chip { width: 30px; height: 22px; border-radius: 4px; border: 1.5px solid var(--champagne); display: grid; place-items: center; }
.cover__chip i { width: 12px; height: 8px; border: 1px solid var(--champagne); border-radius: 2px; }

.timeline { grid-column: 1 / -1; list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.timeline li { position: relative; padding-top: 22px; font-size: 12.5px; font-weight: 600; color: rgba(244,244,248,.45); }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; right: -6px; height: 2px; background: rgba(255,255,255,.12); }
.timeline li:last-child::before { right: 0; }
.timeline li span { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #0E1128; border: 2px solid rgba(255,255,255,.2); z-index: 1; }
.timeline li.done { color: rgba(244,244,248,.9); }
.timeline li.done::before { background: var(--champagne); }
.timeline li.done span { background: var(--champagne); border-color: var(--champagne); }
.timeline li.now { color: var(--champagne); }
.timeline li.now span { border-color: var(--champagne); box-shadow: 0 0 0 5px rgba(205,174,116,.2); }

/* ---------- Trips ---------- */
.trips { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.trip-plan { position: relative; overflow: hidden; border-radius: 32px; padding: 44px; background: var(--g-promo); color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; }
.trip-plan::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); }
.trip-plan .eyebrow { color: rgba(255,255,255,.85); }
.trip-plan h3 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1; }
.trip-plan p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 420px; }
.countries { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.countries span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: #0E1024; font-weight: 700; font-size: 14px; }
.countries span i { font-style: normal; font-size: 18px; }
.countries span b { font-weight: 600; color: #5B5E73; font-size: 12px; }
.guide { border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; }
.guide__hero { position: relative; height: 170px; }
.guide__hero .scene { width: 100%; height: 100%; }
.guide__hero > div { position: absolute; left: 20px; bottom: 16px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.guide__hero small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.guide__hero strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.guide__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.guide__mode { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--primary-soft); }
.guide__mode > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--primary); }
.guide__mode strong { display: block; font-size: 14.5px; }
.guide__mode small { color: var(--muted); }
.guide__list { display: grid; gap: 8px; }
.guide__list h4 { font-size: 15px; letter-spacing: -0.02em; margin-top: 6px; }
.gl { display: flex; align-items: center; gap: 12px; }
.gl .scene { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.gl strong { display: block; font-size: 14px; }
.gl small { color: var(--muted); font-size: 12.5px; }
.gl > div { flex: 1; min-width: 0; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.fcard { padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
.fcard__i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.fcard__i--coral { background: var(--accent-soft); color: var(--accent); }
.fcard__i--teal { background: var(--teal-soft); color: var(--teal-deep); }
.fcard__i--gold { background: var(--coin-surface); color: var(--on-coin); }
.fcard__i--navy { background: var(--navy); color: var(--champagne); }
.fcard h3 { font-size: 20px; letter-spacing: -0.025em; }
.fcard p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- World ---------- */
.worldmap { position: relative; border-radius: 32px; padding: 40px 28px 28px; background: #0B0C1C; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-m); }
.worldmap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 60% 40%, rgba(74,58,255,.14), transparent 70%); pointer-events: none; }
.worldmap svg#world-svg { position: relative; width: 100%; height: auto; }
.wm-dot { fill: #2A2C48; }
.wm-pin { position: absolute; z-index: 2; transform: translate(-50%, -100%); }
.wm-pin__img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.45); background: #2C2C2E; }
.wm-pin__img .scene { width: 100%; height: 100%; }
.wm-pin b { position: absolute; top: -4px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #fff; color: #111; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.wm-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.96); color: #0E1024; box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: translate(-50%, calc(-100% - 78px)); white-space: nowrap; }
.wm-card .scene { width: 40px; height: 40px; border-radius: 10px; }
.wm-card strong { display: block; font-size: 14px; }
.wm-card small { color: #5B5E73; font-size: 12px; }
.wm-legend { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 18px; color: rgba(244,244,248,.7); font-size: 13px; font-weight: 500; }
.wm-legend .ramp { width: 160px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(70,90,235,.4), #6E4BE1, #A53CC8, #D7378C, #F2733C, #FCD450); }

/* ---------- League ---------- */
.board { width: 100%; max-width: 480px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); overflow: hidden; }
.board__head { padding: 22px 24px 20px; background: var(--g-league); color: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.board__head small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.board__head strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.board__head .chip { background: rgba(255,255,255,.2); color: #fff; border: 0; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; padding: 18px 24px 4px; }
.podium > div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.podium .av { width: 44px; height: 44px; font-size: 16px; }
.podium > div:nth-child(2) .av { width: 56px; height: 56px; font-size: 20px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold); }
.podium strong { font-size: 13px; }
.podium small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.podium i { font-style: normal; display: block; width: 100%; border-radius: 10px 10px 0 0; background: var(--teal-soft); color: var(--teal-deep); font-weight: 800; font-size: 13px; padding-top: 6px; }
.rows { list-style: none; margin: 0; padding: 8px 12px 12px; }
.rows li { display: grid; grid-template-columns: 26px 32px 1fr auto 18px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; }
.rows .rk { font-weight: 800; color: var(--subtle); font-variant-numeric: tabular-nums; }
.rows .nm { font-weight: 600; }
.rows .sc { font-weight: 700; font-variant-numeric: tabular-nums; }
.rows .ico.up { width: 16px; height: 16px; color: var(--success); }
.rows .ico.down { width: 16px; height: 16px; color: var(--danger); }
.rows .flat { color: var(--subtle); text-align: center; }
.rows li.me { background: var(--teal-soft); }
.rows li.me .rk, .rows li.me .nm { color: var(--teal-deep); }
.rows li.zone { display: flex; align-items: center; gap: 10px; padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.rows li.zone::before, .rows li.zone::after { content: ""; flex: 1; height: 1px; border-top: 1.5px dashed color-mix(in srgb, var(--teal) 45%, transparent); }
.qual { margin: 0 24px 24px; padding: 14px 16px; border-radius: 16px; background: var(--surface-alt); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.qual strong { color: var(--text); }

/* ---------- Store ---------- */
.shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.product__img { position: relative; aspect-ratio: 1; background: var(--surface-alt); display: grid; place-items: center; }
.product__img > svg { width: 62%; height: 62%; transition: transform .5s var(--ease); }
.product:hover .product__img > svg { transform: scale(1.05) rotate(-2deg); }
.tag { position: absolute; top: 12px; left: 12px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
.tag--best { background: var(--coin-surface); color: var(--on-coin); }
.tag--new { background: var(--primary-soft); color: var(--primary); }
.tag--few { background: var(--accent-soft); color: var(--accent); }
.tag--exp { background: var(--teal-soft); color: var(--teal-deep); }
.product__heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--muted); box-shadow: var(--shadow-s); }
.product__heart .ico { width: 16px; height: 16px; }
.product__body { padding: 14px 16px 18px; }
.product__body small { color: var(--subtle); font-size: 12px; font-weight: 600; }
.product__body strong { display: block; font-size: 15.5px; margin-top: 2px; letter-spacing: -0.01em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; font-weight: 800; }
.price s { color: var(--subtle); font-size: 13px; }
.price em { font-style: normal; color: var(--success); font-size: 13px; font-weight: 700; }
.coins-price { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--coin-surface); color: var(--on-coin); font-size: 12.5px; font-weight: 700; }
.coins-price .coin { width: 18px; height: 18px; }
.coins-price .coin::after { font-size: 9.5px; }


/* ---------- Rewards bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; overflow: hidden; position: relative; }
.tile--xp { grid-column: span 4; gap: 20px; background: var(--g-level); color: #fff; border: 0; box-shadow: 0 20px 40px rgba(74,58,255,.25); }
.tile--xp::before { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.tile--coins { grid-column: span 2; }
.tile--ach { grid-column: span 3; }
.tile--league { grid-column: span 3; }
.tile__h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tile--xp .tile__h { color: rgba(255,255,255,.8); }
.tile__i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.tile--xp .tile__i { background: rgba(255,255,255,.18); color: #fff; }
.tile__i--gold { background: var(--coin-surface); color: var(--on-coin); }
.tile__i--coral { background: var(--accent-soft); color: var(--accent); }
.tile__i--teal { background: var(--teal-soft); color: var(--teal-deep); }
.big-num { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num span { font-size: 22px; letter-spacing: -0.02em; opacity: .7; }
.ladder { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; }
.ladder li { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.62); }
.ladder li i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.ladder li b { font-weight: 800; font-size: 11px; opacity: .8; }
.ladder li.done i { background: #fff; }
.ladder li.done { color: rgba(255,255,255,.95); }
.ladder li.now { color: #fff; }
.ladder li.now i { background: linear-gradient(90deg, #fff 62%, rgba(255,255,255,.2) 62%); }
.ladder { padding: 0; margin-bottom: 0; }
.lvl-note { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.8); }
.lvl-note strong { color: #fff; }
.tx { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tx li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.tx b { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.tx b.pos { color: var(--success); }
.note { font-size: 13px; color: var(--subtle); }
.ach { display: grid; gap: 14px; }
.ach > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.badge--1 { background: var(--coin-surface); color: var(--on-coin); }
.badge--2 { background: var(--accent-soft); color: var(--accent); }
.badge--3 { background: var(--primary-soft); color: var(--primary); }
.ach strong { display: block; font-size: 15px; }
.ach small { color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 6px; }
.tile--league .league-mini { display: flex; align-items: center; gap: 16px; }
.tile--league .league-mini > div:first-child { width: 72px; height: 72px; border-radius: 22px; background: var(--g-league); color: #fff; display: grid; place-items: center; }
.tile--league .league-mini .ico { width: 34px; height: 34px; }
.tile--league strong { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; display: block; }
.tile--league p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 120px; }
.cta__inner { position: relative; overflow: hidden; border-radius: 40px; padding: 96px 32px; text-align: center; background: var(--g-level); color: #fff; box-shadow: 0 40px 80px rgba(74,58,255,.3); }
.cta__inner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
.cta__inner h2 { position: relative; font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.05em; line-height: .98; }
.cta__inner p { position: relative; margin-top: 20px; font-size: 19px; color: rgba(255,255,255,.85); }
.cta__inner .hero__actions { position: relative; }
.cta__stamps > div { position: absolute; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.cta__stamps > div:nth-child(1) { left: 7%; top: 18%; }
.cta__stamps > div:nth-child(2) { right: 8%; top: 14%; }
.cta__stamps > div:nth-child(3) { right: 14%; bottom: 12%; }
.cta__stamps > div:nth-child(4) { left: 12%; bottom: 14%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 280px; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols strong { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 4px; }
.footer__cols a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.footer__cols a:hover { color: var(--primary); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }

/* ---------- Stamps ---------- */
[data-stamp] { display: inline-block; line-height: 0; }
.stamp-svg { overflow: visible; }

/* ---------- Toast ---------- */
.site-toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-l); transition: opacity .3s, transform .3s var(--ease); }
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: 170px 0 72px; overflow: hidden; }
.page-hero .container { position: relative; max-width: 880px; text-align: center; }
.page-hero h1 { font-size: clamp(46px, 6.6vw, 88px); letter-spacing: -0.055em; line-height: .96; }
.page-hero p { margin: 24px auto 0; font-size: 19.5px; color: var(--muted); max-width: 620px; line-height: 1.6; }
.page-hero .hero__actions { justify-content: center; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.icard { padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.icard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.icard .tile__i { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 8px; }
.icard h3 { font-size: 22px; letter-spacing: -0.03em; }
.icard p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.story h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.045em; }
.story__body p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.story__body p + p { margin-top: 18px; }
.story__body strong { color: var(--text); font-weight: 700; }

.numbered { counter-reset: n; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.numbered li { counter-increment: n; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
.numbered li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 16px; }
.numbered strong { display: block; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.02em; }
.numbered span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.band { position: relative; overflow: hidden; margin-top: 24px; padding: 64px 32px; border-radius: 36px; text-align: center; background: var(--g-level); color: #fff; box-shadow: 0 30px 60px rgba(74,58,255,.25); }
.band h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.045em; }
.band p { margin: 14px auto 0; color: rgba(255,255,255,.85); max-width: 520px; font-size: 17px; }
.band .btn { margin-top: 28px; }

.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.form { padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239295A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field .err { display: none; font-size: 12.5px; color: var(--danger); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--subtle); }
.form .sent-msg { display: none; grid-column: 1 / -1; color: var(--success); font-size: 14px; }
.form.sent .sent-msg { display: block; }
.side-cards { display: flex; flex-direction: column; gap: 12px; }
.side-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
.side-card .tile__i { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.side-card strong { display: block; font-size: 15.5px; }
.side-card small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; line-height: 1.5; }
.side-card a { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 600; font-size: 14.5px; }

.legal { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.toc a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.toc a:hover { color: var(--primary); background: var(--primary-soft); }
.prose { max-width: 720px; }
.prose .meta { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; margin: 48px 0 14px; }
.prose h3 { font-size: 18px; letter-spacing: -0.02em; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); font-weight: 600; }
.prose .callout { margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: var(--accent-soft); color: var(--text); border-left: 3px solid var(--accent); }

.lost { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; overflow: hidden; }
.lost h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.05em; margin-top: 30px; }
.lost p { margin: 18px auto 0; color: var(--muted); max-width: 480px; font-size: 18px; line-height: 1.6; }
.lost .hero__actions { justify-content: center; }
.stamp-404 { display: grid; place-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { max-width: 680px; margin: 0 auto; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__proof, .hero__proof ul { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split--rev .split__copy { order: 0; }
  .split__copy { text-align: center; }
  .split__copy p { margin-left: auto; margin-right: auto; }
  .verify-grid { margin-left: auto; margin-right: auto; text-align: left; }
  .ticks { justify-content: center; text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .feed-pills { justify-content: center; }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--xp, .tile--coins, .tile--ach, .tile--league { grid-column: span 2; }
  .book-wrap { grid-template-columns: 1fr; }
  .progress-card { flex-direction: row; flex-wrap: wrap; }
  .trips { grid-template-columns: 1fr; }
  .post-stack .qr-card { left: -40px; }
  .post-stack .mini-grid { right: -40px; }
}
@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .steps, .feature-row { grid-template-columns: 1fr; }
  .physical { grid-template-columns: 1fr; padding: 32px 24px; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .numbered { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 24px; }
  .contact { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .book { grid-template-columns: 1fr; }
  .book__spine { display: none; }
  .post-stack .qr-card, .post-stack .mini-grid { display: none; }
  .wm-card { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 112px; }
  .hero__stage { height: 640px; transform: scale(.92); margin: -20px 0; }
  .fl-toast { right: -8px; }
  .fl-coins { left: -4px; }
  .fl-stamp { left: -8px; }
  .fl-like, .fl-toast { display: none; }
  .store { height: 54px; padding: 0 18px 0 14px; }
  .sec-head { margin-bottom: 44px; }
  .sec-head p, .split__copy p, .lead { font-size: 17px; }
  .shop { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product__body { padding: 12px; }
  .product__body strong { font-size: 14px; }
  .trip-plan { padding: 30px 24px; min-height: 0; }
  .worldmap { padding: 20px 12px 16px; border-radius: 24px; }
  .wm-pin__img { width: 38px; height: 38px; border-width: 2px; }
  .wm-pin b { min-width: 18px; height: 18px; font-size: 10px; }
  .cta__inner { padding: 72px 20px; border-radius: 28px; }
  .cta__stamps { display: none; }
  .numbered { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .page { padding: 20px; min-height: 0; }
  .datapage { grid-template-columns: 84px 1fr; }
  .stamps .slot { width: 72px; height: 72px; }
  .rows li { grid-template-columns: 22px 30px 1fr auto 16px; gap: 8px; padding: 9px 8px; font-size: 14px; }
  .ladder li { font-size: 0; }
  .ladder li b { font-size: 11px; }
  .footer__cols { gap: 40px; }
  .progress-card { padding: 22px; }
  .ring { width: 150px; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
