:root {
  --shell1: #ff6fa5;
  --shell2: #ff9f1c;
  --paper: #fffdf7;
  --page: #fff3e4;
  --ink: #2b1140;
  --pink: #ff3ea5;
  --orange: #ff9f1c;
  --teal: #00b8a0;
  --yellow: #ffc93c;
  --purple: #7b2ff7;
  /* WCAG-AA-safe (>=4.5:1 on --page/--paper) text variants of --pink/--teal. The flat
     brand colors read fine as fills/borders/icons but fail 1.4.3 as small pixel-font
     body/label text (measured: --pink ~2.96:1, --teal ~2.29:1 on --page) — a11y audit,
     use these two instead of the flat tokens anywhere the color is applied to text. */
  --pink-text: #bf3187;
  --teal-text: #11757a;
  --font-body: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
}

* {
  box-sizing: border-box;
}

/* Cross-page anchor links (faq.html -> index.html#pricing, etc.) were landing at the
   very top of the target page instead of scrolled to the section — verified broken on
   production, confirmed fixed by the two changes below together (neither alone was
   enough):

   1. `scroll-behavior: smooth` on <html> defers the browser's native "scroll to the
      URL fragment on load" into an animated scroll. On a full cross-document
      navigation that animation was getting dropped entirely rather than just delayed
      (repro: click "Pricing" in the nav from faq.html, land at the hero, `scrollY`
      never moves off 0 even after several seconds). `auto` makes that initial jump
      instant and reliable; same-page in-page anchor clicks (e.g. the homepage's own
      `href="#pricing"`) lose their smooth glide as a result — a deliberate
      correctness-over-polish tradeoff, worth revisiting later behind a
      "add smooth-scroll back after first paint" JS toggle if the glide is missed.
   2. Separately, body's `overflow-x: hidden` (below) forces `overflow-y` to `auto`
      too (CSS's "don't pair visible with non-visible axes" rule), which makes the
      UA treat <body> rather than <html> as the document's scrolling box — with
      `scroll-behavior: smooth` gone this alone landed the fragment scroll at the
      *bottom* of the page instead of the top. `clip` avoids the pairing rule the same
      way `hidden` clips the horizontal marquee ticker, without turning body into an
      accidental second scroll container. */
html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: radial-gradient(ellipse at top, #ffe9cf 0%, var(--page) 60%);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-pixel);
  color: var(--purple);
  line-height: 1.7;
  margin: 0;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.bgdot {
  position: absolute;
  border-radius: 2px;
  opacity: 0.5;
  z-index: 0;
}

/* nav */
header {
  padding: 22px 0;
  position: relative;
  z-index: 3;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 19px;
  font-weight: 700;
}
/* Everything but the logo collapses into this one flex group so a hamburger toggle has
   a single thing to show/hide on mobile, instead of juggling .nav-links and .nav-actions
   separately. */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: rgba(43, 17, 64, 0.65);
  flex-wrap: wrap;
}
.nav-actions {
  display: flex;
  gap: 12px;
}
/* Mobile nav toggle — hidden on desktop (nav.js only wires it up, CSS alone keeps it
   inert at wide widths). Was entirely missing before this pass: nav-links + nav-actions
   just line-wrapped under the logo on narrow screens, pushing the hero down several
   screens' worth on mobile — a11y/UX audit. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 0 rgba(43, 17, 64, 0.12);
    z-index: 5;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
  }
  .nav-links a {
    display: block;
    padding: 10px 10px;
    border-radius: 8px;
  }
  .nav-links a.current {
    background: var(--page);
  }
  .nav-actions {
    flex-direction: column;
    margin-top: 8px;
  }
  .nav-actions .btn {
    width: 100%;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-family: var(--font-pixel);
  /* was 9px — the pixel font's blocky glyphs read as illegible at that size on the
     highest-traffic click target on the site; bumped with padding to match, a11y pass */
  font-size: 11px;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 3px solid var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
}
.btn-lg {
  padding: 17px 28px;
  font-size: 13px;
}
.btn:active {
  transform: translateY(2px);
}
.btn-primary:active {
  box-shadow: 0 2px 0 var(--ink);
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* hero */
.hero {
  padding: 26px 0 34px;
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-copy {
  width: 460px;
  max-width: 100%;
}
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.mini-mascot {
  width: 56px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
}
.mini-mascot .pinata-svg {
  width: 56px;
  transform-origin: 50% 0%;
  animation: swing 3.2s ease-in-out infinite;
}
@keyframes swing {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.eyebrow {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--teal-text);
}
.hero-copy h1 {
  font-size: 25px;
  margin-bottom: 18px;
}
.hero-copy h1 .pink {
  color: var(--pink-text);
}
.hero-sub {
  font-size: 15px;
  color: rgba(43, 17, 64, 0.65);
  margin: 0 0 26px;
  line-height: 1.6;
}
.hero-note {
  font-size: 11px;
  color: rgba(43, 17, 64, 0.65);
  margin-top: 14px;
}

/* leaderboard panel */
.lb-panel {
  width: 400px;
  max-width: 100%;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(123, 47, 247, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}
.lb-panel-head {
  background: var(--purple);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lb-panel-head .t {
  font-family: var(--font-pixel);
  font-size: 10px;
}
.lb-panel-head .w {
  font-size: 10.5px;
  opacity: 0.75;
}
.lb-panel-body {
  padding: 14px 16px;
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 8px;
}
.lb-row.top1 {
  background: var(--yellow);
  border: 2px solid var(--ink);
  margin-bottom: 6px;
}
.lb-row .rank {
  font-family: var(--font-pixel);
  font-size: 13px;
  width: 26px;
  color: var(--purple);
}
.lb-row.top1 .rank {
  color: var(--ink);
}
.lb-row .frame {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ink);
  flex-shrink: 0;
  background: var(--page);
}
.lb-row .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-row .who {
  flex: 1;
}
.lb-row .who .n {
  font-size: 13.5px;
  font-weight: 700;
}
.lb-row .who .r {
  font-size: 10.5px;
  color: rgba(43, 17, 64, 0.65);
}
.lb-row .g {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--pink-text);
}
.lb-row + .lb-row {
  border-top: 1px solid rgba(43, 17, 64, 0.1);
}
.lb-panel-foot {
  background: #fff;
  border-top: 2px solid var(--ink);
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  color: rgba(43, 17, 64, 0.65);
}

/* hero click-through demo panel */
.demo-panel {
  width: 400px;
  max-width: 100%;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(123, 47, 247, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}
.demo-panel-head {
  background: var(--purple);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-panel-head .t {
  font-family: var(--font-pixel);
  font-size: 10px;
}
.demo-panel-head .live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  opacity: 0.85;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.demo-tabbar {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}
.demo-tab {
  flex: 1;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  padding: 10px 4px;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.demo-tab.active {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transform: translateY(-1px);
}
.demo-body {
  padding: 14px 16px;
  min-height: 268px;
}
.demo-content {
  display: none;
}
.demo-content.active {
  display: block;
}
.demo-content .lb-row {
  cursor: default;
}
.demo-progress {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  margin-bottom: 8px;
}
.demo-progress .count {
  color: var(--pink-text);
}
.demo-progress-bar {
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 12px;
}
.demo-progress-bar span {
  display: block;
  height: 100%;
  width: 30%;
  background: repeating-linear-gradient(90deg, var(--pink) 0 12px, var(--orange) 12px 24px, var(--yellow) 24px 36px, var(--teal) 36px 48px, var(--pink) 48px 60px);
}
.demo-dex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.demo-dex-card {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  text-align: center;
  position: relative;
}
.demo-dex-card.locked {
  cursor: pointer;
}
.demo-dex-card .badge {
  position: absolute;
  top: 5px;
  right: 5px;
  font-family: var(--font-pixel);
  font-size: 6.5px;
  color: var(--teal-text);
}
.demo-dex-card .frame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ink);
  margin: 6px auto 6px;
}
.demo-dex-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-dex-card.locked .frame img {
  filter: grayscale(1) brightness(0.55);
}
.demo-dex-card .name {
  font-size: 9.5px;
  font-weight: 700;
}
.demo-dex-card.locked .name {
  color: rgba(43, 17, 64, 0.4);
}
.demo-dex-card .role {
  font-size: 8px;
  color: rgba(43, 17, 64, 0.65);
}
.demo-encounter {
  text-align: center;
}
.demo-encounter .vs {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  color: var(--purple);
  margin-bottom: 10px;
}
.demo-encounter .frame {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  margin: 0 auto 12px;
  position: relative;
  cursor: pointer;
}
.demo-encounter .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-encounter .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 17, 64, 0.25);
}
.demo-encounter .play::after {
  content: "";
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.demo-encounter h3 {
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 2px;
}
.demo-encounter .role {
  font-size: 11.5px;
  color: rgba(43, 17, 64, 0.65);
  margin-bottom: 12px;
}
.demo-encounter .reward {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 8px 14px;
  margin-bottom: 14px;
}
.demo-tap-btn {
  display: block;
  width: 100%;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  padding: 12px;
  background: var(--pink);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
}
.demo-tap-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}
.demo-panel-foot {
  background: #fff;
  border-top: 2px solid var(--ink);
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: rgba(43, 17, 64, 0.65);
}

/* phone-device chrome around the hero demo */
.hero-device {
  width: 400px;
  max-width: 100%;
  background: linear-gradient(155deg, var(--shell1), var(--shell2));
  border: 6px solid var(--ink);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 20px 44px rgba(123, 47, 247, 0.22);
  flex-shrink: 0;
}
.hero-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 8px 12px;
}
.hero-device-top .label {
  font-family: var(--font-pixel);
  font-size: 8px;
  /* white failed contrast against the pink/orange .hero-device gradient it sits on
     (~2-3:1 measured) — a11y audit */
  color: var(--ink);
  letter-spacing: 0.03em;
}
.hero-device-top .light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow), inset 0 0 0 2px var(--ink);
}
.hero-screen {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
}
.hero-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 0;
}
.hero-status .live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--purple);
}
.hero-status .gusto {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--pink-text);
}
.demo-tabbar {
  padding: 10px 12px 0;
}
.demo-tab {
  font-size: 7.5px;
  padding: 9px 2px;
}
.hero-foot {
  background: #fff;
  border-top: 2px solid var(--ink);
  padding: 10px 14px 12px;
}
.hero-foot .caption {
  display: block;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 7.5px;
  color: rgba(43, 17, 64, 0.65);
  margin-bottom: 8px;
}
.hero-expand-btn {
  display: block;
  width: 100%;
  font-family: var(--font-pixel);
  font-size: 8px;
  padding: 10px;
  background: var(--purple);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.hero-expand-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

/* mascot celebrate + confetti burst (used in RECORD result + lightbox reveal) */
.mascot-wrap {
  position: relative;
}
.confetti {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 7px;
  height: 7px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
}
.mascot-wrap.celebrate .confetti {
  animation: burst 1.4s ease-out infinite;
}
@keyframes burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(0deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); }
}

/* video-answer recording widget (reused: hero RECORD tab, lightbox, how-it-works step 2) */
.rec-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rec-frame {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: radial-gradient(ellipse at center, #3a1f52 0%, #1a0d29 100%);
  position: relative;
  overflow: hidden;
}
.cam-idle {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rec-widget.state-idle .cam-idle {
  display: flex;
}
.cam-icon {
  width: 52px;
  height: 38px;
  position: relative;
}
.cam-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}
.cam-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
}
.cam-label {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}
.rec-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  display: none;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 20px;
  padding: 4px 9px;
  font-family: var(--font-pixel);
  font-size: 7px;
  color: #fff;
}
.rec-widget.state-recording .rec-indicator {
  display: flex;
}
.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: recblink 1s step-start infinite;
}
@keyframes recblink {
  50% { opacity: 0.15; }
}
.rec-timer {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 4px 7px;
}
.rec-widget.state-recording .rec-timer {
  display: block;
}
.rec-wave {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 4px;
  align-items: flex-end;
  height: 20px;
}
.rec-widget.state-recording .rec-wave {
  display: flex;
}
.rec-wave span {
  width: 4px;
  background: #fff;
  border-radius: 2px;
  animation: wavebar 0.9s ease-in-out infinite;
}
.rec-wave span:nth-child(1) { height: 7px; animation-delay: 0s; }
.rec-wave span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.rec-wave span:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.rec-wave span:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.rec-wave span:nth-child(5) { height: 9px; animation-delay: 0.4s; }
@keyframes wavebar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.rec-widget.state-recording .rec-frame {
  box-shadow: inset 0 0 0 4px rgba(255, 59, 59, 0.55);
}
.rec-processing {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(26, 13, 41, 0.88);
}
.rec-widget.state-processing .rec-processing {
  display: flex;
}
.spinner {
  width: 26px;
  height: 26px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.proc-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #fff;
  letter-spacing: 0.05em;
}
.rec-result {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 253, 247, 0.97);
  padding: 12px;
  text-align: center;
}
.rec-widget.state-done .rec-result {
  display: flex;
}
.result-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
}
.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-thumb .check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--teal);
  color: var(--ink);
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}
.result-text {
  font-size: 11.5px;
  color: rgba(43, 17, 64, 0.75);
  margin: 0;
  line-height: 1.4;
}
.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.tag-pill {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  background: var(--teal);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 5px 8px;
}
.rec-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ff3b3b;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rec-btn-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  transition: border-radius 0.15s ease, width 0.15s ease, height 0.15s ease;
}
.rec-widget.state-recording .rec-btn-dot {
  border-radius: 3px;
  width: 16px;
  height: 16px;
}
.rec-widget.state-recording .rec-btn {
  animation: recpulse 1.4s ease-out infinite;
}
@keyframes recpulse {
  0% { box-shadow: 0 4px 0 var(--ink), 0 0 0 0 rgba(255, 59, 59, 0.5); }
  70% { box-shadow: 0 4px 0 var(--ink), 0 0 0 14px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 4px 0 var(--ink), 0 0 0 0 rgba(255, 59, 59, 0); }
}
.rec-widget.state-processing .rec-btn {
  opacity: 0.4;
  pointer-events: none;
}
.rec-hint {
  font-family: var(--font-pixel);
  font-size: 7.5px;
  color: rgba(43, 17, 64, 0.65);
  text-align: center;
}

/* lightbox: full walkthrough wizard */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 17, 64, 0.65);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-card {
  width: 420px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  box-shadow: 0 30px 60px rgba(43, 17, 64, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  font-family: var(--font-pixel);
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.lb-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 4px 0 14px;
}
.lb-step-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.lb-step-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 56%;
  width: 88%;
  height: 3px;
  background: rgba(43, 17, 64, 0.15);
  z-index: 0;
}
.lb-step-node.done:not(:last-child)::after {
  background: var(--teal);
}
.lb-step-node .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 8px;
  position: relative;
  z-index: 1;
}
.lb-step-node.active .dot {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.lb-step-node.done .dot {
  background: var(--teal);
  color: var(--ink);
}
.lb-step-node .lbl {
  font-size: 6.5px;
  font-family: var(--font-pixel);
  margin-top: 6px;
  color: rgba(43, 17, 64, 0.65);
}
.lb-step-node.active .lbl {
  color: var(--pink-text);
}
.lb-guide {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.lb-guide .mascot-wrap {
  width: 46px;
  height: 50px;
  flex-shrink: 0;
}
.lb-guide .bubble {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px 11px;
  font-family: var(--font-pixel);
  font-size: 7.5px;
  line-height: 1.7;
  color: var(--purple);
  position: relative;
  flex: 1;
}
.lb-guide .bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 14px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid var(--ink);
}
.lb-guide .bubble::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 14px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid #fff;
}
.lb-screen {
  display: none;
}
.lb-screen.active {
  display: block;
  animation: fadein 0.3s ease;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lb-screen h2 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--purple);
  margin-bottom: 12px;
  text-align: center;
}
.lb-avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lb-avatar-opt {
  border: 3px solid transparent;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  position: relative;
}
.lb-avatar-opt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lb-avatar-opt.selected {
  border-color: var(--pink-text);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink);
}
.lb-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.lb-navbtn {
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.lb-navbtn.primary {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.lb-navbtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lb-final {
  text-align: center;
}
.lb-final .reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 13px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 9px 16px;
  margin-bottom: 14px;
}
.lb-card {
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--paper));
  padding: 20px;
  margin: 0 auto 16px;
  max-width: 260px;
}
.lb-card .frame {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--ink);
  margin: 0 auto 10px;
}
.lb-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-card h3 {
  font-size: 17px;
  margin-bottom: 2px;
}
.lb-card .role {
  font-size: 11px;
  color: rgba(43, 17, 64, 0.65);
  margin-bottom: 12px;
}
.lb-card .facts-note {
  font-family: var(--font-pixel);
  font-size: 6.5px;
  color: var(--teal-text);
  margin-bottom: 8px;
}
.lb-card .fact {
  font-size: 10.5px;
  background: var(--page);
  border: 1px solid rgba(43, 17, 64, 0.15);
  border-radius: 6px;
  padding: 7px 10px;
  text-align: left;
}
.lb-card .fact b {
  color: var(--purple);
}

/* how-it-works: visual step cards */
.step-visual {
  margin-top: 14px;
  border-radius: 12px;
  background: var(--page);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-visual > * {
  width: 100%;
  max-width: 420px;
}
.step-visual > * + * {
  margin-top: 14px;
}
.step-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.step-chip {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
}
.step-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--page);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
}
.step-notif .icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #4a154b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 12px;
  flex-shrink: 0;
}
.step-notif .txt {
  font-size: 12px;
}
.step-notif .txt strong {
  display: block;
  font-size: 12.5px;
}

/* features page: real screenshot showcase, no nested cards */
.showcase-split {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.showcase-split.reverse {
  flex-direction: row-reverse;
}
.showcase-split .visual {
  flex: 1 1 380px;
  min-width: 280px;
}
.showcase-split .feat-list {
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feat-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feat-row .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 13px;
  flex-shrink: 0;
}
.feat-row h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}
.feat-row p {
  font-size: 12.5px;
  color: rgba(43, 17, 64, 0.65);
  line-height: 1.55;
  margin: 0;
}
.shot-frame {
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(123, 47, 247, 0.16);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* marquee strip */
.strip {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 12px 0;
  overflow: hidden;
  margin: 40px 0;
  background: #fff;
  position: relative;
  z-index: 2;
}
.strip .track {
  display: flex;
  gap: 30px;
  font-family: var(--font-pixel);
  font-size: 9px;
  white-space: nowrap;
  color: var(--purple);
}

/* trust pills */
.trust-strip {
  margin: 40px 0;
  position: relative;
  z-index: 2;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-size: 12.5px;
}
.trust-pill .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 10px;
  flex-shrink: 0;
}

section {
  padding: 50px 0;
  position: relative;
  z-index: 2;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}
.section-eyebrow {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--teal-text);
  display: block;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 17px;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 14.5px;
  color: rgba(43, 17, 64, 0.65);
  max-width: 560px;
  margin: 0 auto;
}

/* loop */
.loop {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.loop-step {
  width: 230px;
  text-align: center;
  padding: 0 16px;
}
.loop-step .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--font-pixel);
  font-size: 16px;
}
.loop-step h4 {
  font-family: var(--font-body);
  font-size: 15px;
  margin: 0 0 6px;
}
.loop-step p {
  font-size: 12px;
  color: rgba(43, 17, 64, 0.65);
  margin: 0;
}
.loop-arrow {
  align-self: center;
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--pink-text);
  padding: 0 6px;
  display: flex;
  align-items: center;
}

/* badges */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.badge-card {
  width: 150px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  background: var(--paper);
}
.badge-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: #fff;
  border: 2px solid var(--ink);
}
.badge-card h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  margin: 0 0 4px;
}
.badge-card p {
  font-size: 10px;
  color: rgba(43, 17, 64, 0.65);
  margin: 0;
}

/* feature cards */
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 22px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 13px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: rgba(43, 17, 64, 0.65);
  line-height: 1.55;
  margin: 0;
}

/* showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mockup {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(43, 17, 64, 0.2);
}
.mockup-label {
  margin-left: auto;
  font-size: 10px;
  color: rgba(43, 17, 64, 0.4);
}
.mockup-body {
  padding: 16px;
  min-height: 160px;
}
.mockup-caption {
  padding: 12px 16px 16px;
  font-size: 12px;
  color: rgba(43, 17, 64, 0.65);
  border-top: 1px solid rgba(43, 17, 64, 0.1);
}
.feed-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: linear-gradient(155deg, var(--shell1), var(--shell2));
  flex-shrink: 0;
}
.feed-row-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
.feed-row-text span {
  color: rgba(43, 17, 64, 0.65);
}
.org-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.org-node {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  background: #fff;
}
.org-node.root {
  background: var(--yellow);
}
.org-connector {
  width: 2px;
  height: 14px;
  background: var(--ink);
}
.org-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.summary-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.summary-chip {
  align-self: flex-start;
  font-size: 10px;
  background: rgba(123, 47, 247, 0.12);
  color: var(--purple);
  border-radius: 999px;
  padding: 4px 10px;
}
.summary-text {
  font-size: 12.5px;
  color: rgba(43, 17, 64, 0.7);
  line-height: 1.5;
  margin: 0;
}
.summary-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(43, 17, 64, 0.1);
  overflow: hidden;
}
.summary-bar span {
  display: block;
  height: 100%;
  background: var(--teal);
}

/* integrations */
.integrations {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  background: var(--paper);
}

/* pricing */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}
.toggle-lbl {
  font-family: var(--font-pixel);
  font-size: 10px;
  /* clickable segmented-control label, not decorative — needs real contrast even
     unselected (was 0.4, ~2.3:1) — a11y audit */
  color: rgba(43, 17, 64, 0.65);
}
.toggle-lbl.active {
  color: var(--ink);
}
.toggle {
  width: 60px;
  height: 32px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  position: relative;
  padding: 0;
  cursor: pointer;
}
.toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
  transition: left 0.2s ease;
}
.toggle.on .knob {
  left: 32px;
  background: var(--teal);
}
.save-badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 5px 9px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--pink-text);
  border-width: 3px;
  box-shadow: 0 10px 0 var(--pink);
}
.plan .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-pixel);
  font-size: 9px;
  background: var(--pink);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.plan h3 {
  font-size: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.plan .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}
.plan .price .amt {
  font-family: var(--font-pixel);
  font-size: 26px;
  color: var(--ink);
}
.plan .price .per {
  font-size: 12px;
  color: rgba(43, 17, 64, 0.65);
}
.plan .billed {
  font-size: 11px;
  color: rgba(43, 17, 64, 0.65);
  margin-bottom: 18px;
  min-height: 16px;
  text-align: center;
}
.plan ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.plan li {
  font-size: 13px;
  color: rgba(43, 17, 64, 0.7);
  padding: 6px 0 6px 20px;
  position: relative;
}
.plan li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--teal-text);
}
.plan .btn {
  width: 100%;
}

/* cta banner */
.cta-banner {
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 50px 30px;
  text-align: center;
  background: linear-gradient(155deg, var(--shell1), var(--shell2));
  box-shadow: 0 24px 50px rgba(255, 111, 165, 0.35);
}
.cta-banner h2 {
  font-size: 17px;
  margin-bottom: 14px;
  /* white on the pink->orange gradient measured ~2-3:1, well under 4.5:1 — a11y audit */
  color: var(--ink);
}
.cta-banner p {
  color: rgba(43, 17, 64, 0.75);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.cta-banner .btn-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

/* footer */
footer {
  padding: 40px 0 60px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(43, 17, 64, 0.65);
  margin: 12px 0 0;
  max-width: 260px;
}
.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-col > span {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--purple);
  margin-bottom: 6px;
}
.footer-col a {
  color: rgba(43, 17, 64, 0.65);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  color: rgba(43, 17, 64, 0.4);
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

/* inner-page hero (smaller than the homepage hero) */
.page-hero {
  padding: 20px 0 10px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.page-hero .eyebrow-row {
  justify-content: center;
}
.page-hero h1 {
  font-size: 21px;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 14.5px;
  color: rgba(43, 17, 64, 0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* nav current-page state */
.nav-links a.current {
  color: var(--ink);
  font-weight: 700;
}

/* rarity legend (Dex / booster packs) */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.legend-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.legend-swatch {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 2px solid var(--ink);
}
.legend-swatch.confetti { background: #fff; }
.legend-swatch.streamer { background: var(--teal); }
.legend-swatch.sparkler { background: linear-gradient(100deg, var(--yellow), #fff8dd, var(--yellow)); }
.legend-swatch.pinata { background: linear-gradient(100deg, var(--yellow), var(--pink), var(--teal), var(--orange), var(--purple)); }
.legend-item h5 {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
}
.legend-item p {
  font-size: 11.5px;
  color: rgba(43, 17, 64, 0.65);
  margin: 0;
  line-height: 1.5;
}

/* collectible sets (Dex / booster packs) */
.sets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.set-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
}
.set-card .stripe {
  height: 8px;
}
.set-card .set-body {
  padding: 18px;
}
.set-card h4 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 8px;
}
.set-card p {
  font-size: 12px;
  color: rgba(43, 17, 64, 0.65);
  line-height: 1.5;
  margin: 0 0 14px;
}
.set-progress {
  height: 8px;
  border-radius: 4px;
  background: rgba(43, 17, 64, 0.1);
  overflow: hidden;
  margin-bottom: 8px;
}
.set-progress .fill {
  display: block;
  height: 100%;
  background: var(--pink);
}
.set-count {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: rgba(43, 17, 64, 0.65);
}

/* numbered step list (how it works) */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 15px;
  flex-shrink: 0;
}
.step-body {
  max-width: 640px;
}
.step-body h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.step-body p {
  font-size: 13.5px;
  color: rgba(43, 17, 64, 0.65);
  line-height: 1.6;
  margin: 0;
}
.step-connector {
  width: 2px;
  height: 20px;
  background: rgba(43, 17, 64, 0.2);
  margin-left: 22px;
}

/* FAQ accordion (native <details>, no JS needed) */
.faq-group {
  margin-bottom: 34px;
}
.faq-group-title {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--purple);
  margin-bottom: 14px;
}
.faq-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--pink-text);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item[open] summary {
  border-bottom: 2px solid var(--ink);
}
.faq-item .faq-answer {
  padding: 4px 18px 18px;
  font-size: 13.5px;
  color: rgba(43, 17, 64, 0.7);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-grid { flex-direction: column; }
  .hero-copy { width: 100%; max-width: 460px; }
  .lb-panel, .demo-panel, .hero-device { width: 100%; max-width: 400px; }
  .lightbox-card { width: 100%; max-width: 380px; padding: 18px; }
  .features, .showcase-grid, .plan-grid, .sets-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .legend-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hero-copy h1 { font-size: 19px; }
  .loop-arrow { display: none; }
  .legend-grid { grid-template-columns: 1fr; }
  .step-card { flex-direction: column; gap: 14px; }
}
