:root {
  color-scheme: dark;
  --ground: #15121e;
  --sunken: #100e17;
  --surface: #1f1a2c;
  --raised: #2a2440;
  --line: #383052;
  --text: #f4f1fa;
  --dim: #aba3c2;
  --faint: #766e8f;
  --accent: #ff8a3d;
  --accent-deep: #e2641f;
  --accent-ink: #1b1208;
  --cream: #f5ebd6;
  --cream-ink: #241c12;
  --up: #43d79a;
  --na: #6c97ff;
  --jp: #ff5c6c;
  --pal: #f2c14e;
  --lcd-bg: #1d2b1f;
  --lcd-ink: #a6e37e;
  --lcd-dim: #5e8a4a;
  --blue: #1e4fa8;
  --blue-deep: #173f8a;
  --spark: #ffe34d;
  --lens: #eaf4ff;
  --lens-blue: #3e8bff;
  --red: #ff4d5e;
  --green: #43d79a;
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ground); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 70% -10%, rgba(30, 79, 168, 0.35), transparent 70%),
    radial-gradient(700px 400px at 0% 30%, rgba(255, 138, 61, 0.08), transparent 70%),
    var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* Stages: the app icon's royal blue, with its scan beam and sparkles (hero and sign-up) */
.stage { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); }
.stage::before,
.stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; pointer-events: none; }
.stage::before { opacity: 0.1; clip-path: polygon(46% 0, 100% 0, 100% 78%); }
.stage::after { opacity: 0.07; clip-path: polygon(68% 0, 100% 0, 100% 36%); }
.sparkles { position: absolute; z-index: 0; top: clamp(16px, 4vw, 40px); right: clamp(12px, 6vw, 88px); width: clamp(54px, 7vw, 92px); fill: var(--spark); pointer-events: none; }
.stage .eyebrow { color: rgba(245, 235, 214, 0.85); }
.stage h1 { color: var(--cream); }
.stage .lede, .stage .finale-copy { color: rgba(245, 235, 214, 0.86); }
.stage .signup-label { color: var(--cream); }
.stage .signup-row { background: var(--ground); border-color: rgba(8, 6, 14, 0.35); box-shadow: 0 14px 34px rgba(8, 6, 14, 0.3); }
.stage .signup-status { color: rgba(245, 235, 214, 0.72); }
.stage .signup.done .signup-status { color: var(--cream); }
.stage .signup.failed .signup-status { color: #ffd1d6; }
.stage .back { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.stage-hero .hero { padding-bottom: clamp(88px, 11vw, 136px); }
.stage-hero + .band { position: relative; z-index: 2; margin-top: clamp(-64px, -6vw, -44px); }
.stage-finale { margin-top: clamp(64px, 9vw, 112px); }
.stage-page { margin-top: 0; min-height: 100vh; display: flex; align-items: center; }
.stage-page .finale { width: 100%; }
.stage .dex { transform: rotate(-4deg); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(21, 18, 30, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 48, 82, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }
.brand span { font-family: var(--display); font-size: 28px; letter-spacing: 1.5px; line-height: 1; padding-top: 3px; }
.brand.small span { font-size: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, 0.5);
  background: rgba(255, 138, 61, 0.12);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.8s ease-in-out infinite; }
.led.green { background: var(--lcd-ink); box-shadow: 0 0 8px var(--lcd-ink); }
.led.red { background: #ff4d5e; box-shadow: 0 0 8px #ff4d5e; }
.led.yellow { background: #ffe34d; box-shadow: none; animation: none; }
.led.green, .led.red { animation-duration: 1.2s; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(48px, 8vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h1 {
  font-family: var(--display);
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 0.92;
  letter-spacing: 1px;
}
h1 span { white-space: nowrap; }
.accent { color: var(--accent); }
.lede { margin-top: 24px; max-width: 34em; color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); }
/* Email sign-up (Netlify Forms) */
.signup { margin-top: 32px; max-width: 480px; display: flex; flex-direction: column; gap: 10px; }
.signup.center { margin: 0 auto; width: 100%; align-items: stretch; text-align: left; }
.signup-label { font-weight: 700; font-size: 15px; color: var(--text); }
.signup-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.signup-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18); }
.signup input[type='email'] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: 500 16px var(--body);
}
.signup input[type='email']::placeholder { color: var(--faint); }
.signup button {
  flex: none;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffa25e, var(--accent) 45%, var(--accent-deep));
  color: var(--accent-ink);
  font: 400 24px var(--display);
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 138, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.signup button:hover { filter: brightness(1.06); }
.signup button:disabled { cursor: default; filter: saturate(0.6); }
.signup button:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.signup-status { font-size: 13px; color: var(--faint); }
.signup.done .signup-row { display: none; }
.signup.done .signup-status { color: var(--up); font-weight: 700; font-size: 16px; }
.signup.failed .signup-status { color: #ff6b7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero art: a phone mid-scan */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(330px, 86vw);
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3a3350, #1a1626);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}
.screen { border-radius: 34px; background: #0b0910; padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.screen-top .dot { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.screen-title { font-family: var(--display); font-size: 24px; letter-spacing: 1.5px; }
.viewfinder { position: relative; aspect-ratio: 1 / 0.8; display: grid; place-items: center; margin: 0 6px; }
.corner { position: absolute; width: 30px; height: 30px; border: 4px solid var(--accent); }
.corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.cart { width: 78%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5)); }
.sweep {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: sweep 2.6s ease-in-out infinite;
}
.found {
  position: absolute;
  top: -10px;
  right: -4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 1px;
  transform: rotate(6deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.lcd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--lcd-bg);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 4px);
  color: var(--lcd-ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  border: 2px solid #2a2440;
}
.result { border-radius: 16px; background: var(--cream); color: var(--cream-ink); padding: 12px 14px; box-shadow: inset 0 0 0 2px rgba(36, 28, 18, 0.18); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mono { font-family: var(--mono); font-weight: 700; font-size: 10px; letter-spacing: 0.8px; }
.result-title { font-family: var(--display); font-size: 30px; line-height: 1; margin-top: 6px; }
.result-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.sticker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  transform: rotate(-3deg);
  box-shadow: 0 3px 0 rgba(36, 28, 18, 0.25);
}
.trend { font-family: var(--mono); font-weight: 700; font-size: 11px; color: #1e8a5c; }
.region {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  border: 1.5px solid currentColor;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
}
.region.na { color: #3f6fe0; }
.float .region.pal { color: var(--pal); }
.float .region.jp { color: var(--jp); }
.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(31, 26, 44, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.f1 { top: 22%; left: -4%; }
.f2 { bottom: -4%; right: 2%; animation-delay: -2.5s; }

/* LCD stats band */
.band { padding: 0 var(--gutter); }
.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 10px;
  border-radius: 22px;
  background: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--lcd-bg);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 4px);
}
.stat:first-child { border-radius: 14px 0 0 14px; }
.stat:last-child { border-radius: 0 14px 14px 0; }
.stat-n { font-family: var(--display); font-size: clamp(38px, 5vw, 56px); line-height: 1; color: var(--lcd-ink); }
.stat-l { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--lcd-dim); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter) 0; }
h2 { font-family: var(--display); font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: 0.5px; max-width: 16em; }
h3 { font-family: var(--body); font-weight: 800; font-size: 19px; line-height: 1.3; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.step-n { display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--dim); font-size: 16px; }

.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 24px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.2s ease, border-color 0.2s ease; }
.feature:hover { transform: translateY(-3px); border-color: rgba(255, 138, 61, 0.55); }
.feature svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(255, 138, 61, 0.14); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature p { margin-top: 8px; color: var(--dim); font-size: 15px; line-height: 1.55; }

/* The hunt */
.section-lede { margin-top: 18px; max-width: 44em; color: var(--dim); font-size: 18px; }
.hunt { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.hunt-art { display: flex; flex-direction: column; gap: 16px; }
.map {
  position: relative;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 28px 28px,
    #1a1627;
}
.road { position: absolute; background: #2c2640; border-radius: 6px; }
.r1 { left: -10%; right: -10%; top: 46%; height: 14px; transform: rotate(-8deg); }
.r2 { top: -10%; bottom: -10%; left: 38%; width: 12px; transform: rotate(12deg); }
.r3 { top: -10%; bottom: -10%; left: 76%; width: 10px; }
.park { position: absolute; left: 6%; top: 8%; width: 26%; height: 28%; border-radius: 16px; background: rgba(67, 215, 154, 0.12); }
.pin {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--accent);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
}
.pin span { transform: rotate(45deg); font-size: 15px; color: var(--accent-ink); }
.pin.hot { background: #ff5c6c; animation: bob 3s ease-in-out infinite; }
.p1 { left: 18%; top: 54%; }
.p2 { left: 55%; top: 22%; }
.p3 { left: 82%; top: 62%; }
.me { position: absolute; left: 44%; top: 34%; width: 54px; }
.me::before { content: ''; position: absolute; left: 50%; bottom: 3%; width: 46px; height: 16px; transform: translateX(-50%); border-radius: 50%; background: rgba(108, 151, 255, 0.28); box-shadow: 0 0 0 8px rgba(108, 151, 255, 0.1); }
.me img { position: relative; width: 100%; height: auto; }
.map-tag {
  position: absolute;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(31, 26, 44, 0.94);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.map-tag.hot { color: #ff8f9b; }
.t1 { left: 6%; top: 72%; }
.t2 { left: 38%; top: 8%; }
.t3 { right: 4%; bottom: 6%; color: var(--lcd-ink); }
.quests { padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.quests-head { display: flex; justify-content: space-between; font-weight: 800; }
.quests-head .mono { color: var(--accent); font-size: 13px; }
.quest { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dim); }
.quest span:nth-child(2) { flex: 1; }
.quest b { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--accent-ink); }
.quest.done .check { background: var(--up); border-color: var(--up); }
.quest.done span:nth-child(2) { color: var(--text); }
.bar { height: 8px; border-radius: 4px; background: var(--raised); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.hunt-list { display: flex; flex-direction: column; gap: 22px; }
.hunt-item { padding-left: 18px; border-left: 3px solid var(--accent); }
.hunt-item p { margin-top: 6px; color: var(--dim); font-size: 16px; }

/* Your seeker, as on the app's home screen: bubble on your favorite color, XP and level */
.seeker-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.bubble { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent); }
.bubble img { width: 54px; height: 54px; }
.seeker-info { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.seeker-xp { font-size: 13px; color: var(--dim); }
.level-ring { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--raised) 0); }
.level-ring span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--mono); font-weight: 700; font-size: 13px; }

/* Professor Byte and the seekers, at the sign-up */
.lineup { display: flex; justify-content: center; align-items: flex-end; margin-top: 4px; }
.lineup img { width: clamp(64px, 15vw, 104px); height: auto; margin: 0 -6px; filter: drop-shadow(0 10px 14px rgba(8, 6, 14, 0.25)); }
.byte { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 1; }
.byte img { width: clamp(76px, 18vw, 124px); }
.byte-tag { margin-bottom: clamp(-22px, -3vw, -12px); padding: 3px 9px; border-radius: 8px; background: var(--ground); color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 1px; white-space: nowrap; }

/* Finale */
.finale {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(64px, 10vw, 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.dex { width: min(520px, 100%); padding: 14px; border-radius: 28px; background: var(--accent); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.dex-top { display: flex; align-items: center; gap: 10px; padding: 2px 6px 14px; }
.dex-top .led { width: 12px; height: 12px; }
.lens { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fff 0 14%, var(--lens-blue) 15% 100%); border: 5px solid var(--lens); box-shadow: inset 0 -3px 0 rgba(23, 63, 138, 0.35); }
.dex-name { margin-left: auto; font-family: var(--display); font-size: 26px; letter-spacing: 1.5px; color: var(--accent-ink); }
.dex-screen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--lcd-bg);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 5px);
  border: 8px solid #2a2440;
  text-align: left;
}
.dex-line { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--lcd-dim); }
.dex-big { font-family: var(--display); font-size: clamp(44px, 8vw, 72px); line-height: 1; color: var(--lcd-ink); }
.blink { animation: blink 1.1s steps(1) infinite; color: var(--lcd-ink); }
.finale-copy { color: var(--dim); font-size: 18px; max-width: 32em; }
.back { color: var(--accent); font-weight: 700; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* Footer */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 13px;
}
.footer p { max-width: 58em; }

@keyframes sweep { 0%, 100% { transform: translateY(-110px); } 50% { transform: translateY(110px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-art { margin-top: 12px; }
  .f1 { left: 0; }
  .f2 { right: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hunt { grid-template-columns: minmax(0, 1fr); }
  .band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:first-child { border-radius: 14px 0 0 0; }
  .stat:nth-child(2) { border-radius: 0 14px 0 0; }
  .stat:nth-child(3) { border-radius: 0 0 0 14px; }
  .stat:last-child { border-radius: 0 0 14px 0; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .nav .pill { font-size: 10px; padding: 5px 10px; }
  .brand span { font-size: 24px; }
  .float { font-size: 12px; padding: 6px 10px; }
  .f1 { top: 18%; }
  .stat { padding: 14px; }
  .sparkles { top: 8px; right: 10px; width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Legal pages (privacy.html) */
.legal { max-width: 46em; margin: 0 auto; padding: clamp(40px, 8vw, 88px) var(--gutter) 64px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-family: var(--display); font-size: clamp(44px, 8vw, 72px); letter-spacing: 1px; line-height: 1; }
.legal h2 { font-family: var(--display); font-size: clamp(28px, 4.5vw, 36px); letter-spacing: 1px; line-height: 1.1; margin-top: 24px; color: var(--accent); }
.legal h3 { font-weight: 700; font-size: 18px; margin-top: 8px; }
.legal p, .legal li { color: var(--dim); }
.legal strong { color: var(--text); }
.legal ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal a:not(.back) { color: var(--accent); }
.legal .legal-date { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.legal .back { margin-top: 24px; }
.footer a { color: var(--dim); }
