/* Bounce Kids landing page — dark + teal/pink from app theme */
@font-face {
  font-family: "Thickben BC";
  src:
    url("./fonts/ThickBen.woff2") format("woff2"),
    url("./fonts/ThickBen.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0f12;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --teal: #00d8d8;
  --teal2: rgba(0, 216, 216, 0.25);
  --pink: #f3bbff;
  --pink2: rgba(243, 187, 255, 0.20);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html {
  height: 100%;
  min-width: 360px;
  /* Keep native #hash deep links clear of the fixed topbar */
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
}
html, body { height: 100%; min-width: 360px; }
body {
  margin: 0;
  font-family: "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(0,216,216,0.12), transparent 60%),
              radial-gradient(900px 500px at 85% 0%, rgba(243,187,255,0.10), transparent 55%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
  padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.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;
}

.bg-orb {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0,0,0);
}
.orb-1 {
  left: -220px; top: 35vh;
  background: radial-gradient(circle at 30% 30%, rgba(0,216,216,0.55), transparent 55%);
  animation: float1 14s var(--ease) infinite;
}
.orb-2 {
  right: -260px; top: 10vh;
  background: radial-gradient(circle at 40% 35%, rgba(243,187,255,0.45), transparent 55%);
  animation: float2 18s var(--ease) infinite;
}
@keyframes float1 { 0%,100%{ transform: translate(-10px, 0) } 50%{ transform: translate(40px, -18px) } }
@keyframes float2 { 0%,100%{ transform: translate(12px, 0) } 50%{ transform: translate(-36px, 16px) } }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 13.3333px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 18px 12px;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(11,15,18,0.92), rgba(11,15,18,0.45));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-wrap { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.nav-burger-ic {
  width: 18px;
  height: 12px;
  position: relative;
}
.nav-burger-ic::before,
.nav-burger-ic::after,
.nav-burger-ic span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.82);
}
.nav-burger-ic::before { top: 0; }
.nav-burger-ic::after { bottom: 0; }
.nav-burger-ic span { top: 5px; }
.nav-burger-ic::before,
.nav-burger-ic::after,
.nav-burger-ic span { transition: transform 200ms var(--ease), opacity 200ms var(--ease); }
.topbar.menu-open .nav-burger-ic::before { transform: translateY(5px) rotate(45deg); }
.topbar.menu-open .nav-burger-ic::after { transform: translateY(-5px) rotate(-45deg); }
.topbar.menu-open .nav-burger-ic span { opacity: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(0,216,216,0.22), 0 0 22px rgba(243,187,255,0.12);
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--teal), rgba(243,187,255,0.75));
  box-shadow: 0 0 18px rgba(0,216,216,0.35), 0 0 22px rgba(243,187,255,0.25);
}
.brand-dot { display: none; }
.brand-text {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.topnav { display: none; gap: 10px; justify-content: center; flex-wrap: nowrap; }
.navlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
  opacity: 0.92;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.navlink:hover { opacity: 1; transform: translateY(-1px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.navlink:focus-visible,
.navlink:active {
  color: #db3c56;
}
.topbar-cta { display: flex; justify-content: flex-end; gap: 10px; width: 100%; flex: 0 0 auto; }
.topbar-cta .btn { white-space: nowrap; flex: 0 0 auto; }
.topbar > * { min-width: 0; }
.brand-wrap { overflow: hidden; }

.mobile-nav {
  position: absolute;
  left: 14px;
  top: calc(100% + 8px);
  width: min(320px, calc(100vw - 28px));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15, 18, 22, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 70px rgba(0,0,0,0.35);
  padding: 8px;
  display: none;
  z-index: 20;
}
.topbar.menu-open .mobile-nav { display: grid; gap: 6px; }
.mobile-link {
  width: 100%;
  text-align: left;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
}
.mobile-link:focus-visible,
.mobile-link:active {
  color: #db3c56;
}
.mobile-link:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }

.btn {
  position: relative;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 750;
  letter-spacing: 0.2px;
  font-family: inherit;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  transition: transform 120ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Header pills: match Get started typography (without touching Get started) */
.topbar .navlink,
.topbar .mobile-link {
  font-family: inherit;
  font-weight: 750;
  letter-spacing: 0.2px;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 12px 16px; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(90deg, rgba(0,216,216,0.95), rgba(243,187,255,0.95));
  color: rgba(10, 10, 10, 0.92);
  box-shadow: 0 14px 40px rgba(0,216,216,0.12), 0 14px 50px rgba(243,187,255,0.08);
}
.btn-primary:hover { box-shadow: 0 18px 55px rgba(0,216,216,0.16), 0 18px 60px rgba(243,187,255,0.11); }
.btn-ghost {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.btn-spark {
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms var(--ease);
  background: radial-gradient(600px 120px at 20% 0%, rgba(255,255,255,0.28), transparent 55%);
}
.btn:hover .btn-spark { opacity: 1; }

.top-video {
  position: relative;
  z-index: 1;
}
.hero {
  position: relative;
  padding: 26px 0 16px;
  z-index: 1;
}
.hero-video-wrap {
  position: relative;
  /* Prior: clamp(288px, 45.6vh, 552px); +10% more vertical */
  height: clamp(317px, 50.2vh, 607px);
  overflow: hidden;
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.40;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    radial-gradient(900px 600px at 20% 30%, rgba(0,216,216,0.16), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(243,187,255,0.12), transparent 58%),
    linear-gradient(to bottom, rgba(11,15,18,0.25), rgba(11,15,18,0.90) 78%, var(--bg));
  background-blend-mode: color;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-weight: 650;
  width: fit-content;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(0,216,216,0.6);
}
.h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.grad {
  background: linear-gradient(90deg, var(--teal), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.45;
  max-width: 58ch;
}
.lead { color: var(--muted); margin-top: 10px; max-width: 66ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.metric {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
}
.metric-k { font-weight: 900; letter-spacing: 0.2px; }
.metric-v { color: var(--muted); font-weight: 650; margin-top: 3px; font-size: 0.95rem; }

.hero-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15, 18, 22, 0.60);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-title { font-weight: 900; letter-spacing: 0.2px; }
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,216,216,0.45);
  background: rgba(0,216,216,0.12);
  color: rgba(255,255,255,0.9);
  font-weight: 900;
  letter-spacing: 0.35px;
  font-size: 0.82rem;
}
.leader { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 1000;
  background: linear-gradient(135deg, rgba(0,216,216,0.28), rgba(243,187,255,0.18));
  border: 1px solid rgba(255,255,255,0.12);
}
.leader-name { font-weight: 1000; }
.leader-sub { color: var(--muted); font-weight: 650; font-size: 0.9rem; }
.leader-score { font-weight: 1000; font-size: 1.2rem; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 14px; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--pink)); }
.leaderboard { margin-top: 12px; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.rk { color: rgba(255,255,255,0.65); font-weight: 900; text-align: right; }
.nm { font-weight: 800; }
.sc { color: rgba(255,255,255,0.84); font-weight: 900; }
.card-note { margin-top: 12px; color: rgba(255,255,255,0.70); line-height: 1.45; }

.section { padding: 42px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 18px; }
.section-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
  align-items: center;
}
.section-split-copy .lead { max-width: none; }
.section-split-media {
  min-width: 0;
}
.section-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 70px rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.25);
}
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.grid-2 > * { min-width: 0; }

.feature, .panel, .prize, .callout, .waitlist {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 16px 70px rgba(0,0,0,0.25);
}
.video-frame {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}
.feature-video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  background: #000 center / cover no-repeat;
}
.media-split-video {
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.media-split-video .video-frame {
  flex: 0 0 auto;
}
.media-split-copy {
  position: relative;
  min-height: 0;
}
.media-split-copy-scroll {
  display: block;
}
.feature { padding: 16px; }
.feature h3 { margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.5; }
.icon {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}
.icon svg {
  width: 22px;
  height: 22px;
}
.i-teal { box-shadow: 0 0 0 1px rgba(0,216,216,0.25) inset, 0 0 24px rgba(0,216,216,0.10); }
.i-pink { box-shadow: 0 0 0 1px rgba(243,187,255,0.25) inset, 0 0 24px rgba(243,187,255,0.10); }
.i-white { box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset; }

.callout {
  margin-top: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0,216,216,0.12), rgba(243,187,255,0.09));
}
.callout-k { font-weight: 1000; letter-spacing: 0.2px; }
.callout-v { color: var(--muted); margin-top: 6px; line-height: 1.5; }

.panel { padding: 18px; background: rgba(15, 18, 22, 0.88); overflow: hidden; }
.panel h3 { margin: 0 0 10px; }
.bullets { margin: 0 0 14px; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.bullets strong { color: rgba(255,255,255,0.92); }

.prize-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.prize { padding: 16px; background: rgba(255,255,255,0.04); }
.prize-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prize-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); }
.prize-ic svg {
  width: 22px;
  height: 22px;
}
.prize-tag { font-weight: 900; font-size: 0.85rem; color: rgba(255,255,255,0.78); }
.prize-title { margin-top: 10px; font-weight: 1000; font-size: 1.15rem; }
.prize-sub { margin-top: 4px; color: var(--muted); line-height: 1.5; }

.waitlist {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.waitlist-copy { margin-bottom: 12px; }
.signup-pilot-form { margin-top: 10px; }
.signup-pilot-form[hidden] { display: none !important; }
.form[hidden] { display: none !important; }
.toggle { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.18); }
.seg {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.80);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 120ms var(--ease);
}
.seg:active { transform: translateY(1px); }
.seg.active { background: rgba(255,255,255,0.08); border-color: rgba(0,216,216,0.22); color: rgba(255,255,255,0.92); }

.form { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
input[type="email"] {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 1rem;
}
input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
input[type="email"]:focus { border-color: rgba(0,216,216,0.55); box-shadow: 0 0 0 4px rgba(0,216,216,0.10); }
.fineprint { margin: 0; color: rgba(255,255,255,0.60); font-size: 0.95rem; }
.form-msg { margin: 0; color: rgba(255,255,255,0.85); font-weight: 800; min-height: 1.2em; }

.topbar-cta--solo { justify-content: flex-end; }
.register-main { position: relative; z-index: 1; padding: 24px 0 48px; }
.register-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  padding: 22px 18px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.register-form { display: grid; gap: 16px; margin-top: 18px; }
.field { display: grid; gap: 8px; }
.field--address { position: relative; }
.field-label { font-weight: 800; letter-spacing: 0.2px; color: rgba(255,255,255,0.9); }
.field-label .req { color: var(--teal); }
.field-hint { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.4; }
.register-form input[type="text"],
.register-form input[type="email"],
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 1rem;
  font-family: inherit;
}
.register-form select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.65) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.65) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.register-form textarea { resize: vertical; min-height: 110px; }
.register-form input::placeholder,
.register-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  border-color: rgba(0,216,216,0.55);
  box-shadow: 0 0 0 4px rgba(0,216,216,0.10);
}
.register-form select option { color: #111; background: #fff; }
.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 28px);
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15, 18, 22, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  max-height: 220px;
  overflow: auto;
  z-index: 30;
}
.address-suggestions [role="option"] {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.35;
}
.address-suggestions [role="option"]:hover {
  background: rgba(255,255,255,0.08);
}
.register-submit { width: 100%; justify-content: center; }

.feedback-mode { margin-top: 16px; }
.feedback-card .toggle { width: 100%; justify-content: stretch; }
.feedback-card .toggle .seg { flex: 1; text-align: center; }
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 0.95rem;
  user-select: none;
}
.check:has(input:checked) {
  border-color: rgba(0,216,216,0.45);
  background: rgba(0,216,216,0.10);
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.device-other { margin-top: 4px; }
.device-other[hidden] { display: none !important; }
.file-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
}
.file-drop:hover { border-color: rgba(0,216,216,0.45); }
.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.file-drop-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screenshot-preview {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.screenshot-preview[hidden] { display: none !important; }
.screenshot-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
}
.btn-sm { padding: 8px 12px; font-size: 0.9rem; width: fit-content; }
.register-form[hidden] { display: none !important; }

@media (min-width: 560px) {
  .device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.faq { display: grid; gap: 10px; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-weight: 950;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
}
.faq-q:active { transform: translateY(1px); }
.faq-q:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
.faq-plus { width: 16px; height: 16px; position: relative; opacity: 0.9; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: rgba(255,255,255,0.78); border-radius: 2px; }
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; transition: transform 200ms var(--ease); }
.faq-q[aria-expanded="true"] .faq-plus::after { transform: scaleY(0); }
.faq-a {
  padding: 0 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms var(--ease), padding 240ms var(--ease);
}
.faq-a.open { padding: 12px 14px 16px; max-height: 220px; }

.footer { padding: 32px 0 42px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-note { color: rgba(255,255,255,0.65); margin-top: 6px; }

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop layout */
@media (min-width: 860px) {
  .topnav { display: flex; }
  .nav-burger { display: none; }
  .btn-parent { display: none; }
  .hero { padding: 66px 0 22px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
  }
  .media-split {
    align-items: stretch;
  }
  /* Row height comes from the video; copy fills that height and scrolls */
  .media-split-copy {
    padding: 0;
    overflow: hidden;
  }
  .media-split-copy-scroll {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .prize-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callout { flex-direction: row; align-items: center; }
  .form { grid-template-columns: 1fr auto; align-items: start; }
  .form .btn { height: 48px; }
  input[type="email"] { height: 48px; }
}

@media (max-width: 859px) {
  .nav-burger { display: inline-flex; }
  .topnav { display: none; }
}

/* Extra-small: move secondary CTAs into hamburger */
@media (max-width: 520px) {
  .btn-parent,
  .btn-schools { display: none; }
  .brand-text { font-size: 1.22rem; letter-spacing: 0.15px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

