/* ============================================
   Mastery UASA — Sales Page (STANDALONE)
   Aligned with UASA V2 design system:
   - Forest palette (cream / mint / coral / sun / grape / ink)
   - Neobrutalist: 2.5px ink borders + hard shadows (0 3px 0 ink)
   - Baloo 2 (display) + Fredoka (body) + JetBrains Mono
   ============================================ */

:root {
  /* Forest palette — lifted from repo */
  --cream:    #ECFDF5;
  --cream-2:  #D1FAE5;
  --muted:    #E8F5EE;
  --paper:    #FFFFFF;
  --sun:      #FACC15;
  --mango:    #FB923C;
  --coral:    #F97316;
  --mint:     #14B8A6;
  --grape:    #7B5EA7;
  --ink:      #0F2E24;
  --ink-soft: #3D5A4F;
  --line:     #0F2E24;

  --shadow-hard:    0 3px 0 var(--line);
  --shadow-hard-lg: 0 5px 0 var(--line);

  --font-display: 'Baloo 2', system-ui, -apple-system, sans-serif;
  --font-body:    'Fredoka', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }

/* ===== Neobrutalist primitives (sales-scoped) ===== */
.card {
  background: var(--paper);
  border: 2.5px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-hard);
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  box-shadow: 0 2px 0 var(--line); color: var(--ink);
}
.chip-mono {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--ink-soft);
  background: var(--muted); padding: 3px 8px; border-radius: 6px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.section h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 16px 0 12px; max-width: 820px; }
.section .lede-2 { color: var(--ink-soft); font-size: 17px; max-width: 720px; font-weight: 500; }

/* ===== Top header strip ===== */
.topbar {
  background: var(--ink); color: var(--sun);
  text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 12px 16px; letter-spacing: 0.01em;
}
.topbar .tag {
  background: var(--sun); color: var(--ink); padding: 3px 10px;
  border-radius: 999px; font-size: 11px; font-family: var(--font-mono);
  font-weight: 700; letter-spacing: 0.1em; margin-right: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative; padding: 56px 0 80px;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--cream-2); opacity: 0.6;
}
.hero::after {
  content: ""; position: absolute; left: -100px; bottom: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--sun); opacity: 0.18;
}

.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun); color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  border: 2.5px solid var(--line);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: var(--shadow-hard);
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }

.hero h1 { font-size: clamp(36px, 5.4vw, 64px); margin: 20px 0 26px; line-height: 1.28; }
.hero h1 .hl-sun,
.hero h1 .hl-mint {
  padding: 2px 10px; border-radius: 10px;
  border: 2.5px solid var(--line);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  display: inline;
}
.hero h1 .hl-sun  { background: var(--sun); color: var(--ink); }
.hero h1 .hl-mint { background: var(--mint); color: var(--paper); }

.hero p.lede { font-size: 18px; color: var(--ink-soft); max-width: 540px; font-weight: 500; }

.hero__usp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 26px; max-width: 560px; }
.hero__usp li { list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.hero__usp .tick {
  width: 26px; height: 26px; border-radius: 8px; background: var(--mint); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; border: 2px solid var(--line);
  box-shadow: 0 2px 0 var(--line);
}

.hero__rating { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 28px; }
.stars { color: var(--sun); letter-spacing: 2px; -webkit-text-stroke: 1px var(--line); }

/* hero mock device frame */
.hero__device-wrap { position: relative; max-width: 360px; margin-left: auto; }
.hero__device {
  position: relative; aspect-ratio: 9/17;
  background: var(--ink);
  border: 3px solid var(--line);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 8px 12px 0 var(--line);
  transform: rotate(2deg);
}
.hero__device-screen {
  height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: var(--cream);
}

/* Sticker badges floating around hero device */
.sticker {
  position: absolute; padding: 8px 12px; background: var(--paper); border-radius: 12px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink);
  display: flex; align-items: center; gap: 6px; z-index: 5;
}
.sticker .ico { font-size: 16px; }
.sticker--a { top: 10%; right: -8%; transform: rotate(-6deg); background: var(--sun); }
.sticker--b { bottom: 18%; right: -10%; transform: rotate(5deg); background: var(--mint); color: var(--paper); }
.sticker--c { top: 48%; left: -8%; transform: rotate(3deg); background: var(--coral); color: var(--paper); }
@media (max-width: 900px) {
  .sticker--a { right: 2%; }
  .sticker--b { right: 0; }
  .sticker--c { left: 0; }
}

/* ===== PROBLEM ===== */
.problem { background: var(--paper); }
.problem__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.problem__card {
  background: var(--paper); padding: 22px; border-radius: 18px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.problem__card:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-hard-lg); }
.problem__card .emoji {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
  border: 2.5px solid var(--line); box-shadow: 0 2px 0 var(--line);
}
.problem__card h3 { font-size: 19px; margin-bottom: 6px; }
.problem__card p { color: var(--ink-soft); font-size: 15px; }

/* ===== DEMO ===== */
.demo { background: var(--cream); }
.demo__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; margin-top: 40px; }
@media (max-width: 900px) { .demo__grid { grid-template-columns: 1fr; } }

.demo__copy h3 { font-size: 26px; margin-bottom: 14px; }
.demo__copy p.intro { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.demo__steps { display: flex; flex-direction: column; gap: 12px; }
.demo__step {
  display: flex; gap: 14px; padding: 14px 16px;
  background: var(--paper); border-radius: 14px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard);
}
.demo__step .num {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sun); border: 2px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 0 var(--line);
}
.demo__step h4 { font-size: 16px; margin-bottom: 2px; }
.demo__step p { font-size: 14px; color: var(--ink-soft); }

/* ===== HOW IT HELPS ===== */
.helps { background: var(--paper); }
.helps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.helps__item {
  display: flex; gap: 14px; padding: 20px;
  background: var(--paper); border-radius: 18px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard);
}
.helps__item .badge {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--line); font-size: 22px;
  box-shadow: 0 2px 0 var(--line);
}
.helps__item h4 { font-size: 17px; margin-bottom: 4px; }
.helps__item p { font-size: 14px; color: var(--ink-soft); }

/* ===== TESTIMONIALS ===== */
.testi { background: var(--cream); }
.testi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 32px; }
.testi__card {
  background: var(--paper); padding: 22px; border-radius: 18px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard);
  display: flex; flex-direction: column;
}
.testi__card .stars { font-size: 18px; margin-bottom: 10px; }
.testi__card p.quote { font-size: 15px; color: var(--ink); margin-bottom: 16px; line-height: 1.5; flex: 1; }
.testi__person { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 2px solid var(--muted); }
.avatar {
  width: 44px; height: 44px; border-radius: 12px;
  border: 2.5px solid var(--line); box-shadow: 0 2px 0 var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--paper); font-size: 18px;
}
.testi__person .meta { font-size: 13px; color: var(--ink-soft); }
.testi__person .meta strong { display: block; color: var(--ink); font-size: 14px; font-family: var(--font-display); }

/* ===== WHAT YOU GET ===== */
.get { background: var(--paper); }
.get__row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center;
  margin-top: 28px; padding: 28px;
  background: var(--paper); border-radius: 22px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow-hard-lg);
}
.get__row.reverse { grid-template-columns: 1.1fr 1fr; }
.get__row.reverse .get__mock { order: 2; }
@media (max-width: 800px) {
  .get__row, .get__row.reverse { grid-template-columns: 1fr; }
  .get__row.reverse .get__mock { order: 0; }
}
.get__mock {
  aspect-ratio: 4/3; position: relative;
  background: var(--cream); border: 2.5px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-hard);
}
.get__mock--a { background: var(--cream-2); }
.get__mock--b { background: var(--cream); }
.get__mock--c { background: #FEF3C7; }
.get__mock--d { background: var(--cream-2); }
.get__mock--e { background: #FFEDD5; }

.get__copy h3 { font-size: 26px; margin: 10px 0 10px; }
.get__copy p { color: var(--ink-soft); margin-bottom: 14px; }
.fav-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--paper); border: 2px solid var(--line); padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 0 var(--line);
  white-space: nowrap;
}
.tag--value { background: var(--sun); }

/* ===== OFFER ===== */
.offer {
  background: var(--ink); color: var(--paper); padding: 72px 0;
  border-top: 6px solid var(--sun); border-bottom: 6px solid var(--sun);
  position: relative;
}
.offer h2 { color: var(--paper); }
.offer .section-label { background: var(--sun); border-color: var(--ink); }
.offer__lede { color: rgba(255,255,255,0.75); max-width: 720px; font-size: 17px; }

.offer__box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; margin-top: 32px;
}
@media (max-width: 800px) { .offer__box { grid-template-columns: 1fr; } }
.offer__list { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.offer__list li {
  display: flex; gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px; align-items: center; font-size: 15px;
}
.offer__list .tick { width: 26px; height: 26px; border-radius: 8px; background: var(--mint); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; border: 2px solid var(--paper); }
.offer__list .label { flex: 1; }
.offer__list .price-strike { color: #94a8a0; text-decoration: line-through; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.offer__list .price-now { color: var(--sun); font-family: var(--font-display); font-weight: 700; font-size: 13px; }

.offer__total {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--sun);
  border-radius: 22px; padding: 28px; text-align: center;
  box-shadow: 0 6px 0 var(--sun);
  transform: rotate(-1.2deg);
}
.offer__total .crossed { color: var(--coral); text-decoration: line-through; font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.offer__total .now-price {
  font-family: var(--font-display); font-size: 72px; font-weight: 800;
  color: var(--coral); line-height: 1; margin: 8px 0;
  letter-spacing: -0.03em;
}
.offer__total .now-price small { font-size: 24px; vertical-align: top; margin-right: 4px; color: var(--ink); }
.offer__total .save {
  background: var(--mint); color: var(--paper); padding: 6px 12px; border-radius: 999px;
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 13px;
  border: 2px solid var(--line); box-shadow: 0 2px 0 var(--line);
  white-space: nowrap;
}

/* ===== PRICING ===== */
.pricing { background: var(--cream); }
.pricing__card {
  margin: 40px auto 0; max-width: 560px;
  background: var(--paper); border: 3px solid var(--line); border-radius: 24px;
  box-shadow: 0 8px 0 var(--line); padding: 40px 32px;
  position: relative;
}
.pricing__card::before {
  content: "PALING POPULAR"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: var(--paper);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.12em;
  border: 2.5px solid var(--line); box-shadow: 0 2px 0 var(--line);
}
.pricing__name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pricing__name h3 { font-size: 30px; }
.pricing__name .badge-tier {
  background: var(--sun); color: var(--ink);
  padding: 4px 10px; border-radius: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; border: 2px solid var(--line);
}
.pricing__price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 12px; }
.pricing__price .currency { font-family: var(--font-display); font-size: 28px; color: var(--ink); font-weight: 800; }
.pricing__price .amount {
  font-family: var(--font-display); font-size: 80px; line-height: 1;
  color: var(--coral); font-weight: 800; letter-spacing: -0.04em;
}
.pricing__price .crossed { color: var(--ink-soft); text-decoration: line-through; font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.pricing__sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; font-weight: 500; }

.pricing__feats { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 26px; list-style: none; padding: 0; }
.pricing__feats li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.pricing__feats .tick {
  width: 24px; height: 24px; border-radius: 8px; background: var(--mint); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; font-size: 13px;
  border: 2px solid var(--line);
}
.pricing__cta {
  width: 100%; padding: 20px; border-radius: 16px;
  background: var(--coral); color: var(--paper);
  border: 2.5px solid var(--line);
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  box-shadow: 0 6px 0 var(--line);
  transition: transform 100ms ease, box-shadow 100ms ease;
  letter-spacing: -0.01em;
}
.pricing__cta:hover { transform: translate(-1px, -1px); box-shadow: 0 7px 0 var(--line); }
.pricing__cta:active { transform: translate(0, 3px); box-shadow: 0 3px 0 var(--line); }
.pricing__note {
  text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 14px;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

/* ===== FAQ ===== */
.faq { background: var(--paper); }
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-hard); padding: 18px 22px; cursor: pointer;
  transition: box-shadow 120ms ease;
}
.faq__item:hover { box-shadow: var(--shadow-hard-lg); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.faq__q .plus {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--sun); border: 2px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; flex-shrink: 0;
  transition: transform .25s ease;
  box-shadow: 0 2px 0 var(--line);
}
.faq__item.open .plus { transform: rotate(45deg); background: var(--coral); color: var(--paper); }
.faq__a {
  max-height: 0; overflow: hidden; color: var(--ink-soft);
  transition: max-height .3s ease, padding-top .3s ease;
  font-size: 15px; line-height: 1.55;
}
.faq__item.open .faq__a { max-height: 320px; padding-top: 14px; }

/* ===== OBJECTIONS ===== */
.obj { background: var(--cream); }
.obj__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.obj__card {
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-hard); padding: 22px;
}
.obj__q {
  font-family: var(--font-display); font-weight: 800;
  color: var(--coral); margin-bottom: 8px; font-size: 17px;
}
.obj__q::before { content: "\""; font-size: 32px; margin-right: 4px; vertical-align: -8px; line-height: 0; }
.obj__a { font-size: 15px; color: var(--ink); line-height: 1.55; }
.obj__a strong { background: var(--sun); padding: 0 5px; border-radius: 4px; font-weight: 700; }

/* ===== FINAL CTA ===== */
.final {
  background: var(--mint); color: var(--paper);
  text-align: center; padding: 96px 0;
  position: relative; overflow: hidden;
  border-top: 6px solid var(--line); border-bottom: 6px solid var(--line);
}
.final::before {
  content: ""; position: absolute; width: 240px; height: 240px;
  background: var(--sun); border-radius: 50%; top: -80px; left: -80px; opacity: 0.4;
}
.final::after {
  content: ""; position: absolute; width: 280px; height: 280px;
  background: var(--coral); border-radius: 50%; bottom: -100px; right: -100px; opacity: 0.4;
}
.final h2 { color: var(--paper); font-size: clamp(34px, 4.8vw, 56px); position: relative; z-index: 2; }
.final p {
  color: rgba(255,255,255,0.92); font-size: 18px;
  max-width: 620px; margin: 18px auto 28px;
  position: relative; z-index: 2; font-weight: 500;
}
.final .scroll-cta {
  background: var(--sun); color: var(--ink);
  border: 2.5px solid var(--line);
  box-shadow: 0 6px 0 var(--line);
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  padding: 20px 38px; border-radius: 16px; cursor: pointer;
  position: relative; z-index: 2;
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.final .scroll-cta:hover { transform: translate(-1px, -1px); box-shadow: 0 7px 0 var(--line); }
.final .scroll-cta:active { transform: translate(0, 3px); box-shadow: 0 3px 0 var(--line); }

.final__meta {
  margin-top: 22px; color: rgba(255,255,255,0.92);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; position: relative; z-index: 2;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: rgba(236,253,245,0.65);
  text-align: center; padding: 28px 16px;
  font-size: 13px; font-family: var(--font-mono);
}
.footer strong { color: var(--sun); }

/* ============================================
   GAME MOCKUP — mirrors Quiz.jsx exactly
   (so customer sees what they will use)
   ============================================ */
.game-demo {
  position: relative; height: 100%; width: 100%; overflow: hidden;
  font-family: var(--font-body);
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 16px 14px;
}
/* Crumb + title */
.gd-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 8px;
}
.gd-crumb {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: 0.12em; line-height: 1.4;
}
.gd-title {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--ink); margin-top: 2px; letter-spacing: -0.02em;
}
.gd-pills { display: flex; gap: 6px; flex-shrink: 0; flex-direction: column; align-items: flex-end; }
.gd-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper); box-shadow: 0 2px 0 var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--ink);
}
.gd-pill--sun { background: var(--sun); }
.gd-pill--coral { background: var(--coral); color: var(--paper); }
.gd-pill .ico { font-size: 11px; }

/* Progress bar */
.gd-progress {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.gd-progress-track {
  flex: 1; height: 10px; background: var(--paper); border: 2px solid var(--line);
  border-radius: 999px; overflow: hidden; box-shadow: 0 2px 0 var(--line);
}
.gd-progress-fill {
  height: 100%; background: var(--mint);
  border-right: 2px solid var(--line);
  transition: width 400ms ease;
}
.gd-progress-label {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.08em; flex-shrink: 0;
}

/* Question card */
.gd-qcard {
  background: var(--paper); border: 2.5px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-hard);
  padding: 14px 14px; margin-bottom: 12px;
}
.gd-qcard__prompt {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: 0.12em; margin-bottom: 8px;
}
.gd-qcard__text {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--ink); line-height: 1.3; letter-spacing: -0.01em;
}

/* Options */
.gd-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gd-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px;
  background: var(--paper); color: var(--ink);
  border: 2.5px solid var(--line); border-radius: 12px;
  box-shadow: 0 3px 0 var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  text-align: left; cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.gd-opt:hover { transform: translate(-1px, -1px); box-shadow: 0 4px 0 var(--line); }
.gd-opt__letter {
  width: 26px; height: 26px; border-radius: 8px;
  border: 2px solid var(--line); background: var(--sun);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.gd-opt__text { flex: 1; }
.gd-opt.correct { background: var(--mint); color: var(--paper); animation: optPop .4s ease; }
.gd-opt.correct .gd-opt__letter { background: var(--paper); }
.gd-opt.wrong { background: var(--coral); color: var(--paper); animation: shake .3s ease; }
.gd-opt.wrong .gd-opt__letter { background: var(--paper); }
.gd-opt.disabled { opacity: 0.5; cursor: default; pointer-events: none; }
@keyframes optPop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Coin pop floating */
.gd-coinpop {
  position: absolute; top: 35%; left: 50%; transform: translateX(-50%);
  background: var(--paper); color: var(--coral);
  border: 2.5px solid var(--line); border-radius: 14px;
  padding: 6px 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 0 var(--line);
  animation: coinPop 1.2s ease forwards;
  pointer-events: none; z-index: 10;
}
@keyframes coinPop {
  0%   { opacity: 0; transform: translate(-50%, 20px) scale(0.8); }
  20%  { opacity: 1; transform: translate(-50%, 0) scale(1.05); }
  80%  { opacity: 1; transform: translate(-50%, -10px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -40px) scale(0.95); }
}

/* Feedback strip */
.gd-feedback {
  margin-top: 10px;
  background: var(--mint); color: var(--paper);
  border: 2.5px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-hard); padding: 10px 12px;
  display: flex; gap: 10px; align-items: center;
}
.gd-feedback.wrong { background: var(--muted); color: var(--ink); }
.gd-feedback__ico {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--line);
  display: grid; place-items: center; box-shadow: 0 2px 0 var(--line);
  font-weight: 800; flex-shrink: 0;
}
.gd-feedback__title { font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.gd-feedback__sub { font-size: 11px; opacity: 0.9; font-weight: 500; }

/* Results overlay */
.gd-win {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(15, 46, 36, 0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px; text-align: center; color: var(--paper);
}
.gd-win__trophy {
  width: 64px; height: 64px; border-radius: 18px; background: var(--sun);
  border: 2.5px solid var(--paper); display: grid; place-items: center;
  font-size: 36px; margin-bottom: 10px;
  box-shadow: 0 4px 0 var(--paper);
}
.gd-win h3 { color: var(--paper); font-family: var(--font-display); font-size: 22px; margin-bottom: 4px; }
.gd-win p { color: rgba(255,255,255,0.85); font-size: 12px; margin-bottom: 14px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.gd-win__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  width: 100%; margin-bottom: 14px;
}
.gd-win__stat {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--paper); border-radius: 10px;
  padding: 8px 10px;
}
.gd-win__stat.sun { background: var(--sun); }
.gd-win__stat.coral { background: var(--coral); color: var(--paper); }
.gd-win__stat-label {
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  opacity: 0.7; letter-spacing: 0.1em;
}
.gd-win__stat-value {
  font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.1;
}
.gd-win__replay {
  background: var(--paper); color: var(--ink);
  border: 2.5px solid var(--paper); border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; cursor: pointer;
  box-shadow: 0 3px 0 rgba(255,255,255,0.3);
}

/* Main demo phone frame */
.demo-frame {
  width: 100%; max-width: 360px; aspect-ratio: 9/17; margin: 0 auto;
  background: var(--ink); padding: 12px;
  border-radius: 44px; border: 3px solid var(--line);
  box-shadow: 8px 12px 0 var(--line);
  position: relative;
}
.demo-frame__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 18px; background: var(--ink); border-radius: 999px; z-index: 30;
  border: 2px solid var(--paper);
}
.demo-frame__screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: var(--cream);
}

.demo-controls { display: flex; gap: 10px; margin-top: 18px; justify-content: center; flex-wrap: wrap; }
.demo-control-btn {
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  cursor: pointer; box-shadow: 0 3px 0 var(--line);
  color: var(--ink);
  transition: transform 100ms ease, box-shadow 100ms ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.demo-control-btn:hover { transform: translate(-1px, -1px); box-shadow: 0 4px 0 var(--line); }
.demo-control-btn.primary { background: var(--coral); color: var(--paper); }
.demo-control-btn.sun { background: var(--sun); }

/* ===== PAYMENT ===== */
.payment { background: var(--cream); padding: 64px 0 96px; scroll-margin-top: 24px; }
.payment__card {
  background: var(--paper);
  border: 2.5px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-hard-lg);
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.payment__card #bcl-payment-form { min-height: 480px; }
@media (max-width: 600px) {
  .payment { padding: 48px 0 72px; }
  .payment__card { padding: 18px; border-radius: 18px; }
}
