/* =====================================================================
   Gather — landing v2
   Polished around the Gather Brand Guide v1.0
   Surface modes: paper (default) | stage (dark)
   Accents: lilac (primary) | coral (secondary)
   ===================================================================== */

:root {
  /* brand neutrals */
  --cream: #f0eee9;
  --paper: #fff8e8;
  --ink: #0f0f0f;
  --ash: #7a7668;

  /* brand accents */
  --lilac: #a685ff;
  --lilac-deep: #7a52e6;
  --coral: #ff5a3c;
  --coral-deep: #c8351d;

  /* rarity-only tints (used very sparingly, as per brand guide) */
  --mint: #6dd2d8;
  --lemon: #fde047;
  --pink: #ff3d81;

  /* surface tokens (PAPER mode — default) */
  --bg: var(--cream);
  --fg: var(--ink);
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --line: rgba(15, 15, 15, 0.14);
  --line-strong: rgba(15, 15, 15, 0.85);
  --dim: rgba(15, 15, 15, 0.55);
  --soft: rgba(15, 15, 15, 0.06);
  --shadow-ink: var(--ink);

  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* sticker drop shadow */
  --sticker: 5px 5px 0 var(--ink);
  --sticker-sm: 3px 3px 0 var(--ink);
  --sticker-lg: 7px 7px 0 var(--ink);

  /* density (airy default) */
  --density: 1;
  --section-y: clamp(72px, 9vw, 120px);

  /* active accent (defaults to lilac) */
  --accent: var(--lilac);
  --accent-deep: var(--lilac-deep);
  --on-accent: #ffffff;
}

/* STAGE (dark) mode */
[data-mode="stage"] {
  --bg: #0f0d14;
  --fg: var(--cream);
  --surface: #1a1822;
  --surface-2: #141318;
  --line: rgba(240, 238, 233, 0.18);
  --line-strong: rgba(240, 238, 233, 0.92);
  --dim: rgba(240, 238, 233, 0.6);
  --soft: rgba(240, 238, 233, 0.06);
  --shadow-ink: #000;
  --sticker: 5px 5px 0 #000;
  --sticker-sm: 3px 3px 0 #000;
  --sticker-lg: 7px 7px 0 #000;
}

/* CORAL accent override */
[data-accent="coral"] {
  --accent: var(--coral);
  --accent-deep: var(--coral-deep);
  --on-accent: #ffffff;
}

/* PACKED density */
[data-density="packed"] {
  --section-y: clamp(48px, 6vw, 80px);
}

/* ───────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 200ms ease, color 200ms ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

/* Type system */
h1, h2, h3, h4 {
  margin: 0;
  font-family: Archivo, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(64px, 10vw, 156px); line-height: 0.86; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: 0.94; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.18; }
h4 { font-size: 17px; line-height: 1.25; font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px; height: 2px;
  background: currentColor;
}
.eyebrow.muted { color: var(--dim); }

.lede {
  color: var(--dim);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 60ch;
}

/* Material symbols sizing */
.material-symbols-outlined {
  font-size: 1em;
  line-height: 1;
  vertical-align: -0.15em;
}

/* ─── Shell ────────────────────────────────────────────────────────── */

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

/* Subtle dot grid (soft, not a tech-y mesh) */
.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}

main, section, header, footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* ─── Topbar ───────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: Archivo, Inter, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  border: 2.5px solid var(--surface);
  background: var(--lilac);
  color: var(--surface);
  font-family: Fredoka, Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  padding-top: 1px;
  outline: 2.5px solid var(--ink);
}

[data-mode="stage"] .brand-mark { outline-color: var(--cream); border-color: #1a1822; }

nav.primary {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
nav.primary a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--fg);
  transition: background 160ms ease, color 160ms ease;
}
nav.primary a:hover { background: var(--soft); }
nav.primary a[aria-current="page"] {
  background: var(--accent);
  color: var(--on-accent);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 32px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--sticker-sm);
  transition: transform 140ms ease, box-shadow 140ms ease;
  color: var(--ink);
}
.mode-toggle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-ink); }
.mode-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }

.mt-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--r-pill);
}
.mt-knob {
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
  transition: left 200ms cubic-bezier(.5,1.6,.5,1), background 200ms ease;
}
[data-mode="stage"] .mt-knob { left: calc(100% - 25px); background: var(--cream); }
[data-mode="stage"] .mode-toggle { color: var(--cream); border-color: var(--cream); background: var(--surface); }

.mt-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.mt-icon.sun { left: 3px; opacity: 1; color: var(--ink); }
.mt-icon.moon { right: 3px; opacity: 0.4; color: var(--ink); }
[data-mode="stage"] .mt-icon.sun { opacity: 0.5; color: var(--cream); }
[data-mode="stage"] .mt-icon.moon { opacity: 1; color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  border: 2px solid var(--ink);
  box-shadow: var(--sticker-sm);
  font-size: 14px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.nav-cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-ink); }
.nav-cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }

/* ─── Mobile menu toggle (hamburger) ──────────────────────────────── */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid var(--ink);
  background: var(--surface);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--fg);
  box-shadow: var(--sticker-sm);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.menu-toggle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow-ink); }
.menu-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-hamburger { display: none; }
.menu-toggle.open .icon-close { display: block; }

/* Mobile nav dropdown panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; /* default topbar height */
  left: 0; right: 0;
  z-index: 29;
  background: color-mix(in oklab, var(--bg) 97%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 2.5px solid var(--ink);
  padding: 10px 14px 18px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 13px 16px;
  font-family: Archivo, Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition: background 120ms ease, border-color 120ms ease;
}
.mobile-nav a:hover { background: var(--soft); border-color: var(--line); }
.mobile-nav a.active { color: var(--accent); }

/* ─── Buttons ──────────────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 2.5px solid var(--ink);
  background: var(--surface);
  color: var(--fg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: var(--sticker);
  transition: transform 140ms ease, box-shadow 140ms ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }

.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.dark { background: var(--ink); color: var(--cream); }
.btn.ghost { background: transparent; }

.btn .ico { font-size: 18px; }
.btn small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 1px;
}

/* App-store shaped button */
.store-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  padding: 12px 20px 12px 14px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  background: var(--surface);
  color: var(--fg);
  text-align: left;
  box-shadow: var(--sticker);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.store-button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow-ink); }
.store-button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }
.store-button.primary { background: var(--ink); color: var(--cream); }
[data-mode="stage"] .store-button.primary { background: var(--cream); color: var(--ink); }

.store-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: Fredoka, sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.store-mark svg { width: 60%; height: 60%; display: block; }
.store-button.android .store-mark { background: var(--cream); }
[data-mode="stage"] .store-button.android .store-mark { background: var(--cream); }
.store-button.primary .store-mark { background: var(--cream); color: var(--ink); }
[data-mode="stage"] .store-button.primary .store-mark { background: var(--ink); color: var(--cream); }
.store-button small { display: block; font-size: 11px; opacity: 0.75; font-weight: 600; }
.store-button strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; margin-top: 2px; }

.store-button.android {
  position: relative;
}
.store-button .badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.store-buttons.centered { justify-content: center; }

/* ─── Pills ───────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill.live { background: var(--coral); color: #fff; }
.pill.live::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}
.pill.muted { background: var(--soft); color: var(--dim); border: 1px solid var(--line); }
.pill.accent { background: var(--accent); color: var(--on-accent); }
.pill.outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--line-strong);
}

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero-banner {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 8px;
  text-align: center;
  font-family: Fredoka, "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  text-transform: none;
  opacity: 1;
}
.hero-banner .hb-accent {
  display: inline-block;
  color: var(--coral);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  line-height: 1;
}
.hero-banner .hb-dot {
  font-style: normal;
  color: var(--coral);
}
.hero-banner .hb-break { display: none; }
@media (max-width: 640px) {
  .hero-banner .hb-break { display: inline; }
}
[data-mode="stage"] .hero-banner { color: var(--cream); }

.hero {
  padding-top: clamp(28px, 3.5vw, 56px);
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  text-align: center;
}
.hero-copy { min-width: 0; text-align: center; }
.hero .store-buttons { justify-content: center; }
.hero .mascot-row { margin-left: auto; margin-right: auto; }
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  margin-top: 16px;
  margin-bottom: 0;
}
.hero h1 .ital {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--accent); }

.hero .lede {
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 21px);
}

.hero .store-buttons { margin-top: 32px; }

/* tiny social proof row */
.proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 24px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}
.proof-row .stack {
  display: inline-flex;
}
.proof-row .stack > * + * { margin-left: -10px; }
.proof-row .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--lilac), var(--coral));
}
.proof-row .av:nth-child(2) { background: linear-gradient(135deg, var(--mint), var(--lilac)); }
.proof-row .av:nth-child(3) { background: linear-gradient(135deg, var(--lemon), var(--coral)); }
.proof-row .av:nth-child(4) { background: linear-gradient(135deg, var(--pink), var(--lilac-deep)); }

/* Hero stage — phone + scattered tiles */
.hero-stage {
  position: relative;
  min-height: 540px;
}

.phone {
  position: relative;
  width: 232px;
  margin: 0 auto;
  border-radius: 34px;
  border: 3px solid var(--ink);
  background: var(--ink);
  padding: 7px;
  box-shadow: var(--sticker-lg);
  transform: rotate(-3deg);
}
.phone .notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 19px;
  background: #000;
  border-radius: var(--r-pill);
  z-index: 2;
}
.phone .screen {
  position: relative;
  height: 422px;
  overflow: hidden;
  border-radius: 27px;
  background: #14111c;
  display: flex;
  flex-direction: column;
}

/* phone status bar */
.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 6px;
  color: var(--cream);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.ph-status .right { display: inline-flex; gap: 5px; align-items: center; }
.ph-status .bars { width: 16px; height: 10px; background:
  linear-gradient(to top, var(--cream) 25%, transparent 25%) left bottom / 3px 25% no-repeat,
  linear-gradient(to top, var(--cream) 50%, transparent 50%) 33% bottom / 3px 50% no-repeat,
  linear-gradient(to top, var(--cream) 75%, transparent 75%) 66% bottom / 3px 75% no-repeat,
  linear-gradient(to top, var(--cream) 100%, transparent 100%) right bottom / 3px 100% no-repeat;
}
.ph-status .battery {
  width: 22px; height: 11px;
  border: 1px solid var(--cream);
  border-radius: 3px;
  position: relative;
}
.ph-status .battery::before { content:""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 60%; background: var(--cream); border-radius: 1px; }
.ph-status .battery::after { content:""; position: absolute; right: -3px; top: 3px; height: 5px; width: 2px; background: var(--cream); border-radius: 1px; }

.ph-body {
  flex: 1;
  padding: 14px 14px 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--cream);
}

.ph-drop {
  position: relative;
  border-radius: 18px;
  border: 1.5px solid rgba(240,238,233,0.16);
  background: linear-gradient(135deg, rgba(166,133,255,0.18), rgba(255,90,60,0.14));
  padding: 14px;
}
.ph-drop .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ph-drop h4 { font-family: Archivo, sans-serif; font-size: 17px; font-weight: 700; margin-top: 8px; letter-spacing: -0.01em; }
.ph-drop p { font-size: 11px; color: rgba(240,238,233,0.65); margin-top: 4px; line-height: 1.4; }
.ph-drop .bar { height: 6px; border-radius: var(--r-pill); background: rgba(240,238,233,0.12); margin-top: 12px; overflow: hidden; }
.ph-drop .bar > span { display: block; height: 100%; width: 88%; background: var(--coral); border-radius: var(--r-pill); transition: width 600ms cubic-bezier(.4,1.2,.4,1); }
.ph-drop .bar > span.bar-fill { animation: barPulse 2.4s ease-in-out infinite; }
@keyframes barPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0); }
  50% { box-shadow: 0 0 0 4px rgba(255,90,60,0.18); }
}
.ph-drop .ph-cd, .ph-drop .ph-pct { font-variant-numeric: tabular-nums; }
.ph-drop .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-family: "JetBrains Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(240,238,233,0.65); }
.ph-drop .meta strong { color: var(--cream); font-size: 11px; }

.ph-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ph-card {
  aspect-ratio: 3/4;
  border-radius: 12px;
  border: 1.5px solid rgba(240,238,233,0.12);
  background: rgba(240,238,233,0.04);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ph-card .art {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lilac), var(--lilac-deep));
}
.ph-card:nth-child(2) .art { background: conic-gradient(from 210deg, #ff7a9f, #ffd36b, #b6f3ff, #c7a8ff, #ff9ec2, #ff7a9f); }
.ph-card:nth-child(3) .art { background: linear-gradient(135deg, var(--mint), var(--lilac)); }
.ph-card .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,238,233,0.55);
  margin-top: 6px;
}
.ph-card .name { font-size: 10px; font-weight: 700; line-height: 1.1; margin-top: 2px; }

/* === Card-reveal moment ============================================ */
.ph-reveal {
  position: absolute;
  inset: 14px 14px auto 14px;
  top: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
}
.ph-reveal.show { opacity: 1; }
.reveal-card {
  position: relative;
  width: 78%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.18);
  background: #1a1525;
  overflow: hidden;
  transform: translateY(40px) scale(0.7) rotate(-6deg);
  opacity: 0;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(253,224,71,0.4) inset;
}
.ph-reveal.show .reveal-card {
  animation: revealFlip 6.5s cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes revealFlip {
  0%   { transform: translateY(40px) scale(0.7) rotate(-6deg); opacity: 0; }
  18%  { transform: translateY(0) scale(1) rotate(-3deg); opacity: 1; }
  60%  { transform: translateY(0) scale(1) rotate(-3deg); opacity: 1; }
  85%  { transform: translateY(-6px) scale(0.98) rotate(-3deg); opacity: 1; }
  100% { transform: translateY(-30px) scale(0.85) rotate(-6deg); opacity: 0; }
}
.reveal-art {
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 25%, #ffd36b 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, #c7a8ff 0%, transparent 45%),
    conic-gradient(from 210deg, #ff7a9f, #ffd36b, #b6f3ff, #c7a8ff, #ff9ec2, #ff7a9f);
  filter: saturate(1.1);
}
.reveal-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 60%; height: 200%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.85) 50%, transparent 70%);
  transform: rotate(20deg) translateX(0);
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0;
}
.ph-reveal.show .reveal-shine {
  animation: revealShine 6.5s cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes revealShine {
  0%, 18% { opacity: 0; transform: rotate(20deg) translateX(-200%); }
  35%     { opacity: 1; transform: rotate(20deg) translateX(0%); }
  55%     { opacity: 0; transform: rotate(20deg) translateX(200%); }
  100%    { opacity: 0; transform: rotate(20deg) translateX(200%); }
}
.reveal-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 30%, transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.reveal-tier {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fde047;
}
.reveal-name {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .ph-reveal.show .reveal-card,
  .ph-reveal.show .reveal-shine { animation: none; opacity: 0; transform: none; }
}

.ph-tab {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 16px 4px;
  border-top: 1px solid rgba(240,238,233,0.1);
  margin-top: auto;
}
.ph-tab .ti {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(240,238,233,0.5);
  font-size: 9px; font-weight: 600;
}
.ph-tab .ti.active { color: var(--lilac); }
.ph-tab .ti .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; }
.ph-tab .ti.active .dot { background: var(--lilac); border-color: var(--lilac); }

/* hero floaters */
.floater {
  position: absolute;
  border-radius: 18px;
  border: 2.5px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--sticker);
  padding: 14px 16px;
  z-index: 2;
  font-family: Inter, sans-serif;
}
.floater.badge {
  top: 6%; left: -8%;
  display: flex; gap: 12px; align-items: center;
  background: var(--lemon);
  transform: rotate(-6deg);
}
.floater.badge .glyph {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lemon);
  display: grid; place-items: center;
  font-family: Fredoka, sans-serif; font-size: 24px; font-weight: 700;
}
.floater.badge .small { font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; color: var(--ink); }
.floater.badge .big { font-family: Archivo, sans-serif; font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 1px; }

.floater.gift {
  bottom: 14%; right: -10%;
  background: var(--mint);
  transform: rotate(5deg);
  display: flex; gap: 10px; align-items: center;
  color: var(--ink);
}
.floater.gift .glyph {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--mint);
  display: grid; place-items: center; font-size: 18px;
}
.floater.gift .big { font-family: Archivo, sans-serif; font-size: 14px; font-weight: 800; color: var(--ink); }
.floater.gift .small { font-size: 11px; color: var(--ink); opacity: 0.75; margin-top: 1px; }

.floater.ticker {
  top: 38%; right: -14%;
  background: var(--ink); color: var(--cream);
  transform: rotate(3deg);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 10px 14px;
}
.floater.ticker .num { color: var(--coral); font-size: 14px; }

/* mascot speech */
.mascot-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mascot-row.mascot-kicker {
  margin: 24px 0 0;
}
.mascot-row .mascot {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--lilac);
  border: 3.5px solid var(--surface);
  outline: 3.5px solid var(--ink);
  display: grid; place-items: center;
  font-family: Fredoka, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  padding-top: 1px;
  color: var(--surface);
  box-shadow: var(--sticker-sm);
  flex: 0 0 56px;
}
[data-mode="stage"] .mascot-row .mascot { outline-color: var(--cream); border-color: #1a1822; }
.mascot-row .speech {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--sticker-sm);
  max-width: 340px;
}
.mascot-row .speech::before {
  content: "";
  position: absolute;
  left: -8px; top: 18px;
  width: 14px; height: 14px;
  background: var(--surface);
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

/* ─── Section header pattern ──────────────────────────────────────── */

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto var(--gap, 56px);
  text-align: center;
  align-items: end;
}
.section-head.left { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head h2 { margin-top: 4px; }
.section-head p { color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); margin: 0 auto; max-width: 56ch; }
.section-head.left p { margin: 0 auto; }

/* ─── How it works ────────────────────────────────────────────────── */

.howitworks {
  padding-block: var(--section-y);
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}
.steps-track::before {
  content: "";
  position: absolute;
  top: 38px; left: 8%; right: 8%;
  height: 3px;
  background: repeating-linear-gradient(to right, var(--ink) 0 8px, transparent 8px 16px);
  opacity: 0.3;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sticker);
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-family: Archivo, sans-serif;
  font-size: 24px; font-weight: 800;
  border: 2.5px solid var(--ink);
}
.step:nth-child(2) .num { background: var(--lemon); color: var(--ink); }
.step:nth-child(3) .num { background: var(--mint); color: var(--ink); }
.step h3 { font-size: 22px; }
.step p { color: var(--dim); font-size: 15px; line-height: 1.55; }

/* Step illustrations */
.step-art {
  position: relative;
  margin-top: 18px;
  margin-bottom: 18px;
  height: 130px;
  border-radius: 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-mode="stage"] .step-art { background: rgba(246,244,239,0.06); }

.art-notif .notif {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 14px;
  border-radius: 14px;
  width: 86%;
  box-shadow: 2px 2px 0 var(--shadow-ink);
  animation: notifSlide 2.6s ease-in-out infinite;
}
.art-notif .notif-dot {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  flex: 0 0 28px;
}
.art-notif .notif-body { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; }
.art-notif .notif-body strong { font-family: Archivo, sans-serif; font-size: 12px; letter-spacing: 0.04em; }
.art-notif .notif-body span { opacity: 0.78; font-size: 11px; margin-top: 2px; }
@keyframes notifSlide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.art-claim .claim-card {
  width: 96px; height: 110px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--shadow-ink);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: rotate(-3deg);
}
.art-claim .claim-art {
  flex: 1;
  background: conic-gradient(from 220deg, var(--lilac), var(--coral), var(--lemon), var(--mint), var(--lilac));
}
.art-claim .claim-btn {
  background: var(--coral);
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 6px 0;
  border-top: 2px solid var(--ink);
  animation: claimPulse 1.4s ease-in-out infinite;
}
@keyframes claimPulse {
  0%, 100% { background: var(--coral); }
  50% { background: var(--coral-deep); }
}

.art-shelf { gap: 10px; }
.art-shelf .shelf-card {
  width: 56px; height: 72px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-ink);
}
.art-shelf .sc1 { background: linear-gradient(135deg, var(--lilac), var(--coral)); transform: rotate(-6deg) translateY(4px); }
.art-shelf .sc2 { background: linear-gradient(135deg, var(--mint), var(--lemon)); transform: rotate(2deg) translateY(-2px); }
.art-shelf .sc3 { background: linear-gradient(135deg, var(--coral), var(--lemon)); transform: rotate(7deg) translateY(4px); }

/* ─── Feature grid ───────────────────────────────────────────────── */

.features {
  padding-block: var(--section-y);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 28px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sticker);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow-ink); }

.feature-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  font-size: 28px;
}
.feature-card:nth-child(1) .icon { background: var(--lilac); color: #fff; }
.feature-card:nth-child(2) .icon { background: var(--lemon); color: var(--ink); }
.feature-card:nth-child(3) .icon { background: var(--mint); color: var(--ink); }
.feature-card:nth-child(4) .icon { background: var(--coral); color: #fff; }

.feature-card h3 { font-size: 22px; line-height: 1.15; }
.feature-card p { color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.feature-card .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ─── App showcase ───────────────────────────────────────────────── */

.showcase {
  padding-block: var(--section-y);
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.showcase-rail {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: clamp(20px, 5vw, 56px);
  margin-inline: calc(-1 * clamp(20px, 5vw, 56px));
  justify-content: center;
}
@media (max-width: 980px) {
  .showcase-rail { justify-content: flex-start; }
  .showcase-rail::after { content: ""; flex: 0 0 1px; }
  .showcase-rail::before { content: ""; flex: 0 0 1px; }
}
.showcase-rail::-webkit-scrollbar { display: none; }

.showcase-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-card .frame {
  width: 280px;
  height: 580px;
  border-radius: 40px;
  border: 3px solid var(--ink);
  background: var(--ink);
  padding: 8px;
  box-shadow: var(--sticker);
  position: relative;
  overflow: hidden;
}
.showcase-card .frame::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px;
  background: #000;
  border-radius: var(--r-pill);
  z-index: 2;
}
.showcase-card image-slot {
  display: block;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
}
.showcase-card .label {
  text-align: center;
}
.showcase-card .label .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.showcase-card .label h4 { margin-top: 4px; font-size: 17px; }

.showcase-card .frame { transform: none; }

/* ─── Final CTA ─────────────────────────────────────────────────── */

.final-cta {
  padding-block: var(--section-y);
  text-align: center;
}
.final-cta .panel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  border: 2.5px solid var(--ink);
  box-shadow: var(--sticker-lg);
  overflow: hidden;
}
[data-mode="stage"] .final-cta .panel { background: var(--cream); color: var(--ink); }

.final-cta .panel h2 {
  position: relative; z-index: 2;
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(40px, 6vw, 84px);
}
.final-cta .panel h2 .accent { color: var(--accent); }

/* Final CTA — visual anchors */
.final-stamp {
  position: absolute;
  top: 28px; right: 36px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: Fredoka, sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-ink);
  transform: rotate(-8deg);
  z-index: 1;
  opacity: 0.92;
}
.final-counter {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 2px solid var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-ink);
}
.final-counter .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: dotBlink 1.6s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.final-counter strong {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}
[data-mode="stage"] .final-counter { background: var(--ink); color: var(--cream); border-color: var(--cream); }
@media (max-width: 640px) {
  .final-stamp { width: 64px; height: 64px; font-size: 42px; top: 18px; right: 18px; }
}

.final-cta .panel .lede {
  position: relative; z-index: 2;
  margin: 22px auto 0;
  color: rgba(240,238,233,0.7);
  font-size: 17px;
}
[data-mode="stage"] .final-cta .panel .lede { color: var(--dim); }

.final-cta .panel .store-buttons { position: relative; z-index: 2; justify-content: center; }
.final-cta .panel .store-buttons .store-button { background: var(--cream); color: var(--ink); }
.final-cta .panel .store-buttons .store-button.android { background: rgba(240,238,233,0.06); color: var(--cream); }
.final-cta .panel .store-buttons .store-button.android .store-mark { background: rgba(240,238,233,0.1); color: var(--cream); }
[data-mode="stage"] .final-cta .panel .store-buttons .store-button { background: var(--ink); color: var(--cream); }
[data-mode="stage"] .final-cta .panel .store-buttons .store-button.android { background: rgba(15,15,15,0.08); color: var(--ink); }

.final-cta .deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.final-cta .deco.one {
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.18;
}
.final-cta .deco.two {
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: var(--lemon);
  border-radius: 50%;
  opacity: 0.14;
}
.final-cta .deco.confetti {
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 24%, var(--coral) 4px, transparent 4px),
    radial-gradient(circle at 86% 18%, var(--mint) 5px, transparent 5px),
    radial-gradient(circle at 78% 76%, var(--lilac) 6px, transparent 6px),
    radial-gradient(circle at 18% 86%, var(--lemon) 5px, transparent 5px);
  opacity: 0.4;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.legal-footer {
  position: relative;
  padding: 34px 24px 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.legal-footer .left { color: var(--dim); }
.legal-footer .links {
  display: flex; gap: 22px; justify-content: center;
}
.legal-footer .links a { color: var(--dim); }
.legal-footer .links a:hover { color: var(--fg); }
.legal-footer .right { text-align: right; color: var(--dim); }

/* ─── Legal pages ────────────────────────────────────────────────── */

.legal-page {
  position: relative;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}
.legal-page h1 {
  margin-top: 16px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.96;
}
.legal-date { margin: 14px 0 0; color: var(--dim); font-size: 14px; font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--dim); font-size: 14px; font-weight: 600; }
.back-link:hover { color: var(--fg); }

.legal-content { display: grid; gap: 28px; margin-top: 44px; }
.legal-section { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-section h2 { font-size: 22px; line-height: 1.2; }
.legal-section p, .legal-section li {
  color: var(--dim);
  font-size: 16px;
  line-height: 1.72;
}
.legal-section p { margin: 10px 0 0; }
.legal-section ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 1.2rem; }

/* ─── Contact page ───────────────────────────────────────────────── */

.contact-page {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.contact-hero {
  max-width: 700px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.contact-hero h1 {
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.9;
  margin-top: 14px;
}

.contact-ital {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.contact-hero .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 20px);
}

/* 2-col grid on wide, 1-col on mobile */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sticker);
  text-decoration: none;
  color: var(--fg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.contact-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow-ink); }
.contact-card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow-ink); }

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  font-size: 28px;
  flex: 0 0 52px;
}
.ci-lilac { background: var(--lilac); color: #fff; }
.ci-lemon { background: var(--lemon); color: var(--ink); }
.ci-coral { background: var(--coral); color: #fff; }
.ci-mint  { background: var(--mint);  color: var(--ink); }

.contact-card .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-card h3 { font-size: 22px; line-height: 1.15; }
.contact-card p  { color: var(--dim); font-size: 14.5px; line-height: 1.55; flex: 1; }

.contact-email {
  display: inline-block;
  margin-top: 4px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.contact-card:hover .contact-email { color: var(--accent-deep); }

.contact-group-label {
  margin-top: 0;
  margin-bottom: 20px;
}
.contact-grid + .contact-group-label {
  margin-top: 56px;
}

/* About + Quick links row */
.contact-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 0;
}

.about-card {
  padding: 28px 26px 30px;
  background: var(--surface-2);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sticker);
}

.about-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.about-top .brand-mark {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 28px;
}

.about-company { font-size: 20px; margin: 0; }
.about-sub { font-size: 13px; color: var(--dim); margin-top: 3px; }
.about-desc { color: var(--dim); font-size: 15px; line-height: 1.65; }
.about-store { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; }

.about-quick {
  padding: 28px 26px 30px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sticker);
}

.quick-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}

.quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.quick-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.quick-links li .material-symbols-outlined {
  font-size: 18px;
  color: var(--accent);
  flex: 0 0 18px;
}
.quick-links a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line); }
.quick-links a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.response-list li { color: var(--dim); font-size: 14px; font-weight: 400; }
.response-list li .material-symbols-outlined { color: var(--dim); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-about { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .contact-hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .contact-card, .about-card, .about-quick { padding: 22px 20px; }
  .contact-card h3 { font-size: 20px; }
}

/* ─── Tweaks panel ────────────────────────────────────────────────── */

.tweaks-toggle {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 80;
  display: none;
}

.tweaks-panel {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 90;
  width: 280px;
  background: var(--surface);
  color: var(--fg);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--sticker);
  font-family: Inter, sans-serif;
  font-size: 13px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tweaks-panel h4 {
  font-family: Archivo, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tweaks-panel .close {
  background: none; border: 0; cursor: pointer;
  font-size: 20px; font-weight: 600; line-height: 1;
  color: var(--fg);
}

.tweak-group { margin-bottom: 12px; }
.tweak-group .label {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-chip {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--shadow-ink);
  transition: transform 100ms;
}
.tweak-chip.active { background: var(--ink); color: var(--cream); box-shadow: none; transform: translate(2px, 2px); }
[data-mode="stage"] .tweak-chip.active { background: var(--cream); color: var(--ink); }
.tweak-swatch {
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 2px solid var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--shadow-ink);
}
.tweak-swatch.active {
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 5px var(--ink);
}

/* Section-head kicker line ("Show up. Stand out.") */
.section-head .kicker-line {
  display: block;
  margin-top: 14px;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
[data-mode="stage"] .section-head .kicker-line { color: var(--cream); }

/* ─── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 48px;
  }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow, .hero .eyebrow { order: 1; }
  .hero-copy > h1, .hero h1 { order: 2; margin-top: 0; margin-bottom: 0; font-size: clamp(48px, 8vw, 72px); line-height: 1; letter-spacing: -0.02em; }
  .hero-copy > .lede, .hero .lede { order: 3; margin-top: 12px; }
  .hero > .hero-stage { order: 4; }
  .hero-copy > .store-buttons, .hero .store-buttons { order: 5; margin-top: 8px; }
  .hero-copy > .mascot-row, .hero .mascot-row.mascot-kicker { order: 6; }

  .hero-stage { min-height: 500px; max-width: 400px; margin: 0 auto; width: 100%; }
  .floater.badge { left: 0; }
  .floater.gift { right: 0; }
  .floater.ticker { right: 0; }
  .steps-track { grid-template-columns: 1fr; gap: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
  .steps-track::before { display: none; }
  .step { text-align: center; align-items: center; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }

  .hide-mobile { display: none !important; }

  /* Topbar — single row, mode toggle replaces CTA on mobile */
  .topbar {
    height: 60px;
    padding-inline: 14px;
    gap: 10px;
  }
  .brand { font-size: 22px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 23px; border-radius: 10px; }

  .topbar-actions { gap: 8px; flex-shrink: 0; }
  .nav-cta { display: none; } /* mobile uses store buttons in hero instead */

  .mode-toggle { width: 52px; height: 30px; flex-shrink: 0; }
  .mt-knob { width: 20px; height: 20px; }
  [data-mode="stage"] .mt-knob { left: calc(100% - 23px); }
  .mt-icon { width: 20px; height: 20px; }
  .mt-icon svg { width: 12px; height: 12px; }

  .container { padding-inline: 18px; }

  /* Hero */
  .hero {
    padding-top: 56px;
    padding-bottom: 48px;
    gap: 40px;
  }

  .mascot-row { margin-bottom: 0; gap: 10px; }
  .mascot-row.mascot-kicker {
    margin: 22px auto 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .mascot-row .mascot { width: 44px; height: 44px; flex-basis: 44px; font-size: 28px; border-radius: 12px; }
  .mascot-row .speech {
    font-size: 13px;
    padding: 8px 12px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
  }
  .mascot-row .speech::before { top: 14px; }

  h1 { font-size: clamp(48px, 15vw, 76px); line-height: 0.9; letter-spacing: -0.02em; }

  .hero .lede {
    font-size: 15.5px;
    margin-top: 18px;
    line-height: 1.55;
  }
  .hero .lede strong { display: block; margin-top: 10px; font-size: 15px; }

  .proof-row { font-size: 12px; margin-top: 18px; gap: 10px 14px; }
  .proof-row .av { width: 24px; height: 24px; }

  /* Hero phone stage — no overflow, gentle floaters */
  .hero-stage {
    min-height: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 0 24px;
  }
  .phone {
    width: min(260px, 78vw);
    transform: rotate(-2deg);
    border-radius: 38px;
    padding: 8px;
  }
  .phone .notch { width: 78px; height: 22px; }
  .phone .screen {
    height: min(500px, 150vw);
    border-radius: 30px;
  }

  .floater {
    padding: 10px 12px;
    border-radius: 14px;
    border-width: 2px;
    box-shadow: var(--sticker-sm);
  }
  .floater.badge {
    top: 4%; left: -2%;
    transform: rotate(-6deg);
  }
  .floater.badge .glyph { width: 32px; height: 32px; font-size: 18px; border-radius: 9px; }
  .floater.badge .big { font-size: 13px; }
  .floater.badge .small { font-size: 8.5px; }

  .floater.ticker {
    top: 38%; right: -4%;
    transform: rotate(3deg);
    font-size: 9.5px;
    padding: 8px 12px;
  }
  .floater.ticker .num { font-size: 12px; }

  .floater.gift {
    bottom: 12%; right: -2%;
    transform: rotate(5deg);
  }
  .floater.gift .glyph { width: 30px; height: 30px; font-size: 15px; }
  .floater.gift .big { font-size: 12px; }
  .floater.gift .small { font-size: 10px; }

  /* Buttons — side-by-side on mobile */
  .store-buttons {
    gap: 8px;
    margin-top: 26px;
    flex-wrap: nowrap;
  }
  .store-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 8px 8px 8px;
    gap: 7px;
  }
  .store-button > span:not(.store-mark):not(.badge) { min-width: 0; flex: 1; }
  .store-button strong { font-size: 12.5px; line-height: 1.15; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .store-button small { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .store-mark { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; }
  .store-button.android .badge { font-size: 8.5px; padding: 2px 6px; right: -4px; top: -7px; }

  /* Section heads */
  .section-head, .section-head.left { margin-bottom: 32px; gap: 12px; }
  .section-head.left h2, .section-head h2 { font-size: clamp(36px, 11vw, 54px); }
  .section-head p, .section-head.left p { font-size: 15.5px; line-height: 1.5; }

  /* Features */
  .feature-grid { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .feature-card { padding: 22px 20px; gap: 12px; text-align: center; align-items: center; }
  .feature-card .icon { width: 46px; height: 46px; font-size: 24px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 14px; }

  /* How it works */
  .steps-track { max-width: 420px; margin-left: auto; margin-right: auto; }
  .step { padding: 22px 20px; gap: 12px; text-align: center; align-items: center; }
  .step .num { width: 48px; height: 48px; font-size: 20px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 14.5px; }

  /* Showcase */
  .showcase-rail { gap: 16px; margin-top: 32px; padding-inline: 18px; margin-inline: -18px; }
  .showcase-card { width: 220px; }
  .showcase-card .frame {
    width: 220px;
    height: 460px;
    border-radius: 32px;
    border-width: 2.5px;
  }
  .showcase-card .frame::before { width: 70px; height: 18px; top: 12px; }
  .showcase-card image-slot { border-radius: 26px; }
  .showcase-card .label h4 { font-size: 15px; }

  /* Final CTA */
  .final-cta .panel {
    padding: 44px 22px;
    border-radius: 22px;
    box-shadow: var(--sticker);
  }
  .final-cta .panel h2 { font-size: clamp(36px, 11vw, 54px); }
  .final-cta .panel .lede { font-size: 15px; margin-top: 18px; }

  /* Mobile menu: topbar is 60px tall */
  .mobile-nav { top: 60px; }

  .legal-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
    padding: 28px 18px 40px;
  }
  .legal-footer .right, .legal-footer .left { text-align: center; }
  .legal-footer .links { flex-wrap: wrap; gap: 16px; }

  .tweaks-panel { width: calc(100vw - 28px); right: 14px; left: 14px; bottom: 14px; }

  /* Section padding tighter */
  :root { --section-y: clamp(56px, 12vw, 88px); }

  /* Legal pages */
  .legal-page { padding: 36px 0 56px; width: min(100% - 28px, 880px); }
  .legal-page h1 { font-size: clamp(40px, 12vw, 60px); }
  .legal-section h2 { font-size: 19px; }
  .legal-section p, .legal-section li { font-size: 15px; line-height: 1.65; }
}

/* ── Smartphone (≤640px): swap nav → hamburger ── */
@media (max-width: 640px) {
  nav.primary { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 480px) {
  /* Slightly tighter on small phones */
  .topbar { padding-inline: 12px; }
  .container { padding-inline: 16px; }
  .nav-cta { padding: 0 12px; font-size: 12.5px; }
  .nav-cta::after { content: ""; }

  h1 { font-size: clamp(54px, 16vw, 76px); }

  .phone { width: min(240px, 72vw); }
  .phone .screen { height: 460px; }

  .floater.gift { display: none; } /* clears space, ticker + badge are enough */

  .feature-card .icon { width: 44px; height: 44px; }

  /* How it works: shrink illustration box on small phones */
  .step-art { height: 90px; }
  .step { padding: 18px 16px; }

  .showcase-card { width: 200px; }
  .showcase-card .frame { width: 200px; height: 420px; }
}

@media (max-width: 360px) {
  .brand { font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; font-size: 20px; }
  .mode-toggle { width: 48px; height: 28px; }
  .mt-knob { width: 18px; height: 18px; }
  [data-mode="stage"] .mt-knob { left: calc(100% - 21px); }

  .floater.ticker { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pill.live::before { animation: none; }
  * { transition: none !important; }
}
