/* Kartenscan landing pages, CI "Holo Night" (see brand/index.html).
   Self-hosted fonts only, no external requests. Light and dark via prefers-color-scheme, overridable with the
   theme switch (data-theme on <html>).
   Tokens mirror brand/tokens/tokens.css; the hero and CTA "stage" is night in both modes. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Theme: light tokens by default; dark via the system setting unless the visitor chose light,
   or explicitly via <html data-theme="dark"> (set by the theme switch). */
:root {
  color-scheme: light dark;
  --bg: #F7F7F8;
  --bg-alt: #EFEFF1;
  --surface: #FFFFFF;
  --ink: #111113;
  --ink-soft: #2B2B30;
  --muted: #5D5D63;
  --line: #E4E4E7;
  --line-strong: #D1D1D6;
  --primary: #5A3ECF;
  --primary-hover: #4630A8;
  --on-primary: #FFFFFF;
  --primary-soft: #EEEBFA;
  --on-primary-soft: #4630A8;
  --secondary: #06708A;
  --accent: #B8155F;
  --rare: #8A5800;
  --rare-soft: #FFF2D3;
  --up: #0B7A45;
  --down: #C42B3A;
  --focus: #5A3ECF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px -2px rgba(0, 0, 0, .08);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .04), 0 16px 36px -14px rgba(0, 0, 0, .18);
  /* Stage (hero, CTA): light gray here, near-black in dark mode */
  --stage-bg: #ECECEF;
  --on-stage: #111113;
  --on-stage-soft: #2B2B30;
  --on-stage-muted: #5D5D63;
  --stage-line: rgba(17, 17, 19, .14);
  --stage-tint: rgba(17, 17, 19, .04);
  --stage-glow-1: rgba(169, 139, 255, .32);
  --stage-glow-2: rgba(124, 245, 225, .5);
  --stage-grid: rgba(17, 17, 19, .05);
  --stage-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 60px -36px rgba(0, 0, 0, .35);
  --chip-bg: rgba(255, 255, 255, .92);
  --chip-line: #E4E4E7;
  --holo-text: linear-gradient(115deg, #0A7F73 0%, #2563D9 30%, #6B3FD6 55%, #C0267A 80%, #A45F00 100%);
  --holo-text-fallback: #6B3FD6;
  --rare-fill: #F5B52E;
  /* Fixed accents (same in both modes) */
  --night: #18181B;
  --ink-on-holo: #0F0F10;
  --cyan: #3FD6F2;
  --pink: #FF6FB0;
  --gold: #FFCB57;
  --mint: #3DDC8E;

  --holo: linear-gradient(115deg, #7CF5E1 0%, #74B6FF 26%, #A98BFF 50%, #FF8FD6 74%, #FFD37E 100%);
  --holo-conic: conic-gradient(from 200deg, #7CF5E1, #74B6FF, #A98BFF, #FF8FD6, #FFD37E, #7CF5E1);
  --holo-shine: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .7) 48%, transparent 60%);

  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}
:root[data-theme="light"] { color-scheme: light; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0F10;
    --bg-alt: #141416;
    --surface: #1B1B1E;
    --ink: #F4F4F5;
    --ink-soft: #D8D8DC;
    --muted: #A1A1A8;
    --line: #27272B;
    --line-strong: #36363C;
    --primary: #A491FF;
    --primary-hover: #BEB0FF;
    --on-primary: #0F0F10;
    --primary-soft: #2A2640;
    --on-primary-soft: #D9D2FF;
    --secondary: #3FD6F2;
    --accent: #FF6FB0;
    --rare: #FFCB57;
    --rare-soft: #3A2C10;
    --up: #3DDC8E;
    --down: #FF7A84;
    --focus: #BEB0FF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, .35), 0 20px 44px -16px rgba(0, 0, 0, .75);
    --stage-bg: #141416;
    --on-stage: #F4F4F5;
    --on-stage-soft: #D8D8DC;
    --on-stage-muted: #A1A1A8;
    --stage-line: rgba(244, 244, 245, .16);
    --stage-tint: rgba(244, 244, 245, .05);
    --stage-glow-1: rgba(122, 98, 230, .16);
    --stage-glow-2: rgba(255, 111, 176, .08);
    --stage-grid: rgba(244, 244, 245, .05);
    --stage-shadow: inset 0 0 0 1px #27272B;
    --chip-bg: rgba(35, 35, 39, .92);
    --chip-line: #36363C;
    --holo-text: linear-gradient(115deg, #7CF5E1 0%, #74B6FF 26%, #A98BFF 50%, #FF8FD6 74%, #FFD37E 100%);
    --holo-text-fallback: #BEB0FF;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F0F10;
  --bg-alt: #141416;
  --surface: #1B1B1E;
  --ink: #F4F4F5;
  --ink-soft: #D8D8DC;
  --muted: #A1A1A8;
  --line: #27272B;
  --line-strong: #36363C;
  --primary: #A491FF;
  --primary-hover: #BEB0FF;
  --on-primary: #0F0F10;
  --primary-soft: #2A2640;
  --on-primary-soft: #D9D2FF;
  --secondary: #3FD6F2;
  --accent: #FF6FB0;
  --rare: #FFCB57;
  --rare-soft: #3A2C10;
  --up: #3DDC8E;
  --down: #FF7A84;
  --focus: #BEB0FF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .35), 0 20px 44px -16px rgba(0, 0, 0, .75);
  --stage-bg: #141416;
  --on-stage: #F4F4F5;
  --on-stage-soft: #D8D8DC;
  --on-stage-muted: #A1A1A8;
  --stage-line: rgba(244, 244, 245, .16);
  --stage-tint: rgba(244, 244, 245, .05);
  --stage-glow-1: rgba(122, 98, 230, .16);
  --stage-glow-2: rgba(255, 111, 176, .08);
  --stage-grid: rgba(244, 244, 245, .05);
  --stage-shadow: inset 0 0 0 1px #27272B;
  --chip-bg: rgba(35, 35, 39, .92);
  --chip-line: #36363C;
  --holo-text: linear-gradient(115deg, #7CF5E1 0%, #74B6FF 26%, #A98BFF 50%, #FF8FD6 74%, #FFD37E 100%);
  --holo-text-fallback: #BEB0FF;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: calc(var(--wrap) + 80px); padding: 0 12px; }
.narrow { max-width: 780px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Holo text: the signature gradient as text fill, with a plain fallback colour. */
.holo-text {
  color: var(--holo-text-fallback);
  background: var(--holo-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.site-header { position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; border-radius: 12px; }
.brand:hover { color: var(--ink); }
.logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; font-size: .95rem; font-weight: 600; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav .nav-lang { border: 1.5px solid var(--line-strong); padding: 6px 12px; margin-left: 6px; font-size: .85rem; letter-spacing: .04em; }
.nav .nav-cta { background: var(--ink); color: var(--bg); padding: 8px 16px; margin-left: 4px; }
.nav .nav-cta:hover { background: var(--primary); color: var(--on-primary); }
/* Theme switch: System / Light / Dark (hidden without JavaScript) */
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; margin-left: 6px; border-radius: 999px; border: 1.5px solid var(--line-strong); }
.theme-switch[hidden] { display: none; }
.theme-switch button {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color .14s, color .14s;
}
.theme-switch button:hover { color: var(--ink); background: var(--bg-alt); }
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-switch button:focus-visible { outline-offset: 1px; }
.theme-switch svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .nav .nav-link { display: none; } }
@media (max-width: 480px) { .nav .nav-cta { display: none; } .nav .nav-lang { margin-left: 0; } .header-inner { gap: 8px; } }
@media (max-width: 380px) { .logo { height: 34px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1.2 var(--font); text-decoration: none; border-radius: 999px;
  padding: 15px 26px; border: 2px solid transparent; position: relative; overflow: hidden;
  transition: transform .24s var(--ease-pop), box-shadow .24s var(--ease), background-color .14s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
/* Holo button: night label on the holo gradient (contrast at least 7:1 on every stop). */
.btn-holo { background: var(--holo); background-size: 140% 100%; color: var(--ink-on-holo); box-shadow: 0 10px 30px -10px rgba(169, 139, 255, .8); }
.btn-holo:hover { color: var(--ink-on-holo); background-position: 100% 0; box-shadow: 0 14px 36px -10px rgba(255, 143, 214, .8); }
.btn-holo::after { content: ""; position: absolute; inset: 0; background: var(--holo-shine); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn-holo:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--on-stage); border-color: var(--stage-line); }
.btn-ghost:hover { color: var(--on-stage); border-color: var(--on-stage); background: var(--stage-tint); }
.btn-lg { font-size: 1.1rem; padding: 18px 32px; }

/* Stage: night panel for hero and CTA */
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--stage-bg);
  color: var(--on-stage); border-radius: var(--radius-xl);
  box-shadow: var(--stage-shadow);
}
.stage-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.glow.g1 { width: 420px; height: 420px; right: 4%; top: 10%; background: var(--stage-glow-1); opacity: 1; }
.glow.g2 { width: 320px; height: 320px; right: 30%; bottom: -120px; background: var(--stage-glow-2); opacity: 1; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--stage-grid) 1px, transparent 1px), linear-gradient(90deg, var(--stage-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 75%);
}

/* Hero */
.hero { padding: 4px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 64px 56px 56px; }
.hero h1 { color: var(--on-stage); margin-bottom: .35em; }
.hero .holo-text { display: inline; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; font-size: .9rem; font-weight: 600; }
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--stage-tint); border: 1px solid var(--stage-line); color: var(--on-stage);
}
.eyebrow-badge::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--holo); transform: rotate(-12deg); }
.eyebrow-note { color: var(--on-stage-muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--on-stage-soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.cta-note { font-size: .9rem; color: var(--on-stage-muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.play-soon { display: inline-flex; align-items: center; gap: 6px; }
.play-soon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.games-strip { list-style: none; margin: 26px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--stage-line); }
.game-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  color: var(--on-stage-muted); border: 1px dashed var(--stage-line);
}
.game-chip.game-now { color: var(--ink-on-holo); background: var(--holo); border: 0; padding: 7px 13px; }
.game-state { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding-left: 6px; margin-left: 2px; border-left: 1px solid rgba(15, 15, 16, .3); }
.chip-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Hero visual: phone, cards, market chips */
.hero-visual { display: flex; justify-content: center; }
.mock { margin: 0; width: 100%; max-width: 470px; }
.mock-inner { position: relative; aspect-ratio: 1 / 1.2; }
.radar { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--stage-line); stroke-width: 1.2; stroke-dasharray: 3 7; }
.radar circle:nth-child(2) { stroke: rgba(19, 182, 214, .35); }
.radar circle:nth-child(3) { stroke: rgba(240, 53, 140, .28); }

.phone {
  position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 9 / 17.4; transform: translate(-50%, -50%) rotate(3deg);
  background: #0B0B0C; border-radius: 34px; padding: 9px;
  box-shadow: 0 0 0 1.5px #36363C, 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 60px -14px rgba(122, 98, 230, .35);
}
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #F7F7F8; color: #111113; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 7px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); background: #0B0B0C; border-radius: 999px; z-index: 3; }
.scan-view { position: relative; flex: 0 0 47%; background: radial-gradient(90% 70% at 50% 40%, #3A3A42, #121214); display: grid; place-items: center; overflow: hidden; }
.scan-frame { position: absolute; inset: 15% 20% 19%; }
.scan-frame span { position: absolute; width: 18px; height: 18px; border: 3px solid #fff; }
.scan-frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.scan-frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.scan-frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.scan-frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.beam {
  position: absolute; left: 10%; right: 10%; height: 3px; top: 30%; border-radius: 3px; background: #fff;
  box-shadow: 0 0 12px 3px rgba(63, 214, 242, .8), 0 0 30px 6px rgba(169, 139, 255, .5);
  animation: sweep 2.8s var(--ease) infinite alternate;
}
@keyframes sweep { from { top: 22%; } to { top: 70%; } }
.scan-pill {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px; background: rgba(15, 15, 16, .8); color: #fff;
  font-size: .64rem; font-weight: 700; padding: 4px 9px 4px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
}
.pill-check { width: 12px; height: 12px; fill: none; stroke: var(--mint); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* Generic holo card silhouette */
.hcard {
  position: relative; aspect-ratio: 5 / 7; border-radius: 7% / 5%; padding: 5%;
  background: var(--holo-conic); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.hcard::after {
  content: ""; position: absolute; inset: 0; background: var(--holo-shine); background-size: 250% 250%;
  background-position: 100% 100%; mix-blend-mode: soft-light; animation: shimmer 4.8s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 100%; } 50% { background-position: 0 0; } }
.hcard-in { height: 100%; border-radius: 5% / 3.6%; background: linear-gradient(170deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .2)); display: flex; flex-direction: column; gap: 6%; padding: 7% 7% 6%; }
.hcard-top { display: flex; align-items: center; justify-content: space-between; }
.hcard-top i { height: 6px; width: 52%; border-radius: 3px; background: rgba(17, 17, 19, .55); }
.hcard-top b { width: 14px; height: 14px; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); background: rgba(17, 17, 19, .6); }
.hcard-art { position: relative; flex: 0 0 44%; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #2B1F7A, #7652FF 70%, #FF8FD6); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.hcard-art .orb { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; left: 56%; top: 16%; background: radial-gradient(circle at 35% 35%, #FFF3C9, #FFCB57 60%, #F5A52E); box-shadow: 0 0 18px 4px rgba(255, 203, 87, .6); }
.hcard-art .ridge { position: absolute; left: -10%; right: -10%; bottom: -8%; height: 52%; background: #141416; clip-path: polygon(0 100%, 0 55%, 18% 30%, 34% 52%, 52% 12%, 70% 46%, 84% 28%, 100% 50%, 100% 100%); opacity: .85; }
.hcard-lines { display: grid; gap: 5px; }
.hcard-lines i { height: 5px; border-radius: 3px; background: rgba(17, 17, 19, .35); }
.hcard-lines i:last-child { width: 70%; }
.hcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.hcard-foot b { font: 700 .55rem/1 var(--font); color: rgba(17, 17, 19, .75); font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 8px; height: 8px; background: #8A5800; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 61%, 81% 100%, 50% 78%, 19% 100%, 28% 61%, 0 38%, 37% 35%); }

.hcard-scan { width: 46%; transform: rotate(-6deg); }
.hcard-back { position: absolute; width: 34%; left: 2%; top: 14%; transform: rotate(-18deg); opacity: .95; }

/* Bottom sheet */
.sheet { flex: 1; position: relative; margin-top: -14px; background: #fff; border-radius: 18px 18px 0 0; padding: 8px 12px 10px; display: flex; flex-direction: column; min-height: 0; }
.sheet-grip { width: 34px; height: 4px; border-radius: 4px; background: #D1D1D6; margin: 0 auto 6px; }
.sheet-name { font: 800 .9rem/1.15 var(--font-display); margin: 0; letter-spacing: -0.01em; }
.sheet-meta { font-size: .6rem; color: #5E5980; margin: 1px 0 6px; }
.sheet-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.sheet-price-label { width: 100%; font-size: .56rem; font-weight: 600; color: #5E5980; text-transform: uppercase; letter-spacing: .06em; }
.sheet-price b { font: 800 1.25rem/1.1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.trend { font-size: .6rem; font-weight: 700; color: #0B7A45; background: #DDF6E8; border-radius: 999px; padding: 1px 6px; }
.spark-chart { width: 100%; height: 36px; color: #5A3ECF; margin: 4px 0 2px; }
.hilo { display: flex; justify-content: space-between; font-size: .58rem; color: #5E5980; }
.hilo b { color: #111113; font-variant-numeric: tabular-nums; }
.sheet-title { font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5E5980; margin: 6px 0 2px; }
.bylang { list-style: none; margin: 0; padding: 0; font-size: .64rem; }
.bylang li { display: flex; justify-content: space-between; padding: 3px 0; border-top: 1px solid #E4E4E7; }
.bylang b { font-variant-numeric: tabular-nums; }
.bylang b.hl { color: #5A3ECF; }

/* Market chips around the phone: the "scan the market" half */
.chips { list-style: none; margin: 0; padding: 0; }
.chip {
  position: absolute; display: grid; gap: 1px; padding: 9px 14px; border-radius: 14px; white-space: nowrap;
  background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--on-stage);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: bob 6s ease-in-out infinite;
}
.chip span { font-size: .7rem; color: var(--on-stage-muted); font-weight: 600; }
.chip b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.chip::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.chip-1 { right: -2%; top: 12%; }
.chip-2 { right: -6%; top: 46%; animation-delay: -2s; }
.chip-2::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.chip-3 { left: -4%; top: 5%; animation-delay: -4s; }
.chip-3::before { left: auto; right: -5px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.spark { position: absolute; fill: var(--on-stage); }
.mock .spark { animation: twinkle 3.2s ease-in-out infinite; }
.mock .s1 { width: 26px; left: 10%; bottom: 14%; fill: var(--gold); }
.mock .s2 { width: 16px; right: 18%; top: 2%; animation-delay: -1s; }
.mock .s3 { width: 20px; right: 4%; bottom: 20%; fill: var(--cyan); animation-delay: -2s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
.sample-tag { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); font-size: .72rem; font-weight: 600; color: var(--on-stage-muted); letter-spacing: .04em; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .24s var(--ease-pop), box-shadow .24s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-art { background: var(--night); border-radius: var(--radius); margin-bottom: 18px; padding: 12px; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.step-art svg { width: 100%; height: 100%; }
.step-n { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 800 1.05rem/1 var(--font-display); color: var(--ink-on-holo); background: var(--holo); transform: rotate(-8deg); box-shadow: 0 6px 16px -6px rgba(118, 82, 255, .8); }
.step p { color: var(--muted); margin: 0; }
.sa-frame path { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; }
.step-art .sa-card { fill: #A98BFF; }
.sa-shine { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 2; }
.sa-beam { stroke: #fff; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 4px #3FD6F2); }
.sa-arc1, .sa-arc2 { fill: none; stroke-width: 4; stroke-linecap: round; }
.sa-arc1 { stroke: #3FD6F2; }
.sa-arc2 { stroke: #FF6FB0; }
.sa-node circle { fill: #232327; stroke: #FFCB57; stroke-width: 3; }
.sa-link { fill: none; stroke: rgba(182, 166, 255, .45); stroke-width: 2; stroke-dasharray: 3 4; }
.sa-axis { fill: none; stroke: rgba(182, 166, 255, .4); stroke-width: 2; stroke-linecap: round; }
.sa-line { fill: none; stroke: #3DDC8E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sa-sparkle { fill: #FFCB57; }
.sa-bubble { fill: #fff; }
.sa-bubble-line { stroke: #5A3ECF; stroke-width: 5; stroke-linecap: round; }
.step:nth-child(1) .sa-card { fill: #74B6FF; }
.step:nth-child(2) .sa-card { fill: #FF8FD6; }

/* Features */
.features-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.features-head .section-lead { margin-bottom: 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: transform .24s var(--ease-pop), box-shadow .24s var(--ease), border-color .24s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature h3 { margin-top: 16px; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--primary-soft); color: var(--on-primary-soft); position: relative; }
.feature-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; }

.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.compare-title { font: 700 1.05rem/1.2 var(--font-display); margin-bottom: 14px; }
.compare dl { margin: 0; display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; }
.bar-row dt { font-size: .9rem; color: var(--muted); font-weight: 600; }
.bar-row dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.bar { display: block; height: 12px; width: 50%; border-radius: 999px; background: var(--holo); }
.bar-60 { width: 60%; }
.bar-80 { width: 80%; }
.bar-row:first-child .bar { background: var(--primary); }
.bar-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-caption { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* Games roadmap */
.games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.game { text-align: center; --hue: 262; }
.game:nth-child(2) { --hue: 200; }
.game:nth-child(3) { --hue: 330; }
.game:nth-child(4) { --hue: 15; }
.game:nth-child(5) { --hue: 170; }
.game:nth-child(6) { --hue: 45; }
.game-card {
  position: relative; aspect-ratio: 5 / 7; border-radius: 14px; overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(160deg, hsl(var(--hue) 70% 62%), hsl(calc(var(--hue) + 40) 70% 42%));
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-pop);
}
.game-pattern { position: absolute; inset: 7%; border-radius: 9px; border: 2px solid rgba(255, 255, 255, .55);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 6px, transparent 6px 14px); }
.game-card .game-spark { width: 30%; left: 35%; top: 50%; transform: translateY(-50%); fill: rgba(255, 255, 255, .9); }
.game-planned .game-card { filter: saturate(.55); opacity: .8; }
.game-now .game-card { background: var(--holo-conic); box-shadow: 0 16px 34px -14px rgba(118, 82, 255, .8); }
.game-now .game-card::after { content: ""; position: absolute; inset: 0; background: var(--holo-shine); background-size: 250% 250%; animation: shimmer 4.8s ease-in-out infinite; mix-blend-mode: soft-light; }
.game:hover .game-card { transform: translateY(-6px) rotate(-3deg); }
.game-name { font: 700 1rem/1.25 var(--font-display); margin: 0 0 6px; }
.game-badge { display: inline-block; margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line-strong); }
.game-now .game-badge { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.games-note { margin: 28px 0 0; font-weight: 600; }

/* Status timeline */
.status { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.status li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px 20px; }
.status p { color: var(--muted); margin: 0; font-size: .98rem; }
.status-dot { display: block; width: 14px; height: 14px; border-radius: 50%; margin-bottom: 12px; background: var(--line-strong); }
.status-label { display: inline-block; font: 800 1.1rem/1.2 var(--font-display); margin-bottom: 6px; }
.status-done .status-dot { background: var(--up); box-shadow: 0 0 0 4px color-mix(in srgb, var(--up) 20%, transparent); }
.status-wip .status-dot { background: var(--holo); box-shadow: 0 0 0 4px var(--primary-soft); animation: pulse 2s ease-in-out infinite; }
.status-next .status-dot { background: transparent; border: 2.5px solid var(--primary); }
.status-wip { border-color: var(--primary) !important; box-shadow: var(--shadow-md); }
@keyframes pulse { 50% { transform: scale(1.25); } }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 8px;
  background: var(--primary-soft) linear-gradient(var(--on-primary-soft), var(--on-primary-soft)) center / 10px 2px no-repeat;
  transition: transform .24s var(--ease-pop);
}
.faq summary::before {
  content: ""; position: absolute; right: 30px; top: 50%; width: 2px; height: 10px; margin-top: -5px; background: var(--on-primary-soft); z-index: 1; transition: transform .24s var(--ease-pop);
}
.faq details[open] summary::before { transform: scaleY(0); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* CTA */
.cta-section { padding-top: 24px; }
.cta-stage { text-align: center; padding: 80px 24px; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-stage h2 { color: var(--on-stage); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-stage p { color: var(--on-stage-soft); font-size: 1.12rem; }
.cta-stage .btn { margin-top: 10px; }
.cta-mail { margin-top: 16px; font-size: .9rem; color: var(--on-stage-muted) !important; }
.cta-stage .spark { animation: twinkle 3.6s ease-in-out infinite; }
.cta-stage .cs1 { width: 34px; left: 12%; top: 22%; fill: var(--gold); }
.cta-stage .cs2 { width: 18px; right: 16%; top: 18%; fill: var(--cyan); animation-delay: -1.2s; }
.cta-stage .cs3 { width: 24px; right: 10%; bottom: 20%; animation-delay: -2.4s; }

/* Footer */
.site-footer { padding: 64px 0 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font: 700 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--primary); text-decoration: underline; }
.footer-brand .logo { height: 36px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { font: 700 1.1rem/1.3 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.footer-brand p { color: var(--muted); }
.footer-fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-fine p { margin-bottom: .6em; max-width: 80em; }

/* Legal pages (restyled only) */
.legal { padding-top: 48px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal p, .legal li { color: var(--ink-soft); overflow-wrap: anywhere; }
.legal strong { color: var(--ink); }
.legal-updated { display: inline-block; color: var(--on-primary-soft); background: var(--primary-soft); font-size: .88rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.legal-note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; }
.legal .btn { margin-top: 4px; }
.legal-page main { position: relative; }
.legal-page main::before { content: ""; display: block; height: 6px; max-width: var(--wrap); margin: 0 auto; border-radius: 6px; background: var(--holo); opacity: .9; }
.placeholder { background: var(--rare-soft); color: var(--ink); padding: 0 .25em; border-radius: 4px; font-weight: 600; }

/* 404 */
.notfound { text-align: center; min-height: 50vh; }
.notfound-art { width: 120px; margin: 0 auto 24px; transform: rotate(-8deg); }
.eyebrow-plain { font: 800 1rem/1 var(--font-display); color: var(--primary); letter-spacing: .1em; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 32px 40px; gap: 40px; }
  .mock { max-width: 440px; }
  .features-head { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .games { grid-template-columns: repeat(3, 1fr); }
  .status { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .steps, .features, .status { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid { padding: 36px 20px 32px; }
  .stage { border-radius: var(--radius-lg); }
  .actions .btn { flex: 1 1 100%; }
  .chip { padding: 7px 11px; }
  .chip b { font-size: .9rem; }
  .chip span { font-size: .64rem; }
  .chip-1 { right: -1%; top: 24%; }
  .chip-2 { right: -2%; top: 52%; }
  .chip-3 { left: -1%; }
}
@media (max-width: 460px) {
  .games { grid-template-columns: repeat(2, 1fr); }
  .phone { width: 58%; border-radius: 28px; padding: 7px; }
  .phone-screen { border-radius: 22px; }
}

/* Motion: everything decorative stops for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .beam { top: 46%; }
}
