/* Scoop Society coming-soon page
   Working name lives in config.js (window.SITE.businessName).
   [PLACEHOLDER: final business name] */

:root {
  --pink: #ff6b9d;
  --pink-deep: #e84b84;
  --pink-soft: #ffd6e8;
  --purple: #9b7ede;
  --purple-soft: #e8d9ff;
  --mint: #2db88c;
  --mint-bright: #3ecf9f;
  --mint-soft: #cff5e8;
  --yellow: #ffd166;
  --yellow-soft: #fff3c4;
  --blue: #4b96ea;
  --blue-soft: #d6ebff;
  --rose: #ef7a8e;
  --rose-soft: #ffd4dc;
  --lilac: #c9a0dc;
  --lilac-soft: #f0e0f8;
  --gold: #e8b923;
  --gold-bright: #f5c518;
  --gold-soft: #fff0b3;
  --ink: #3d2c4a;
  --ink-soft: #5c4a6a;
  --muted: #6d5a78;
  --card: #ffffff;
  --line: rgba(61, 44, 74, 0.12);
  --placeholder: #7a3d8a;
  --placeholder-bg: rgba(255, 255, 255, 0.72);
  --placeholder-border: #c26ad4;
  --shadow: 0 12px 40px rgba(168, 90, 140, 0.16);
  --shadow-soft: 0 8px 24px rgba(168, 90, 140, 0.1);
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --font-display: "Baloo 2", "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% -10%, #ffd6e8 0%, transparent 60%),
    radial-gradient(800px 500px at 110% 8%, #d6ebff 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 100%, #e8d9ff 0%, transparent 55%),
    linear-gradient(180deg, #fff5fa 0%, #f4fbff 40%, #f7f0ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle, #ff8dc7 0 3px, transparent 4px),
    radial-gradient(circle, #9b7ede 0 2.5px, transparent 3.5px),
    radial-gradient(circle, #3ecf9f 0 3px, transparent 4px),
    radial-gradient(circle, #ffd166 0 2.5px, transparent 3.5px),
    radial-gradient(circle, #5ba3f5 0 2.5px, transparent 3.5px);
  background-size: 180px 180px, 220px 220px, 200px 200px, 240px 240px, 190px 190px;
  background-position: 12px 20px, 80px 60px, 40px 140px, 140px 10px, 100px 110px;
}

body > * {
  position: relative;
  z-index: 1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.55rem, 9vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5.5vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--pink-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(680px, calc(100% - 2rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 251, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(168, 90, 140, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-cta {
  flex-shrink: 0;
  padding: 0.58rem 1.15rem;
  font-size: 1rem;
  min-height: 46px;
  box-shadow: 0 3px 0 #c43a6e, 0 7px 14px rgba(232, 75, 132, 0.28);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.15;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  min-height: 52px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #ff93b8 0%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow: 0 5px 0 #c43a6e, 0 10px 20px rgba(232, 75, 132, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #c43a6e, 0 14px 24px rgba(232, 75, 132, 0.38);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c43a6e, 0 6px 12px rgba(232, 75, 132, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 0 #e2d3ea, 0 8px 16px rgba(61, 44, 74, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-3px);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 7px 0 #e2d3ea, 0 12px 20px rgba(61, 44, 74, 0.1);
}

.btn-ghost:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #e2d3ea;
}

.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1.22rem;
  min-height: 58px;
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
.bead-btn:focus-visible,
.faq-item summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* Placeholders — clearly visible, dashed */
.placeholder {
  border: 2px dashed var(--placeholder-border);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(194, 106, 212, 0.08) 0 8px,
      rgba(255, 255, 255, 0.5) 8px 16px
    );
  color: var(--placeholder);
  border-radius: var(--radius-sm);
  text-align: center;
}

.placeholder-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.placeholder-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.placeholder--logo-hero {
  width: min(16rem, 100%);
  min-height: 4.5rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
}

.placeholder--inline {
  padding: 0.7rem 0.9rem;
  margin: 0 0 0.85rem;
}

.placeholder--photo {
  min-height: 160px;
  padding: 1.25rem 1rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

/* Hero */
.hero {
  padding: 2rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.85rem;
  background: #fff;
  color: var(--pink-deep);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

.parent-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.hero-visual {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.jar {
  width: min(280px, 70vw);
  filter: drop-shadow(0 18px 30px rgba(168, 90, 140, 0.25));
}

.jar-svg {
  width: 100%;
  height: auto;
}

.float-bead {
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
  transform-origin: center;
  transform-box: fill-box;
  animation: bob 4.5s ease-in-out infinite;
}

.float-bead.d1 { animation-delay: -0.6s; }
.float-bead.d2 { animation-delay: -1.2s; }
.float-bead.d3 { animation-delay: -1.8s; }
.float-bead.d4 { animation-delay: -2.4s; }
.float-bead.d5 { animation-delay: -3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Sections */
.section,
#top {
  scroll-margin-top: 5.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-intro {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-how {
  background: linear-gradient(180deg, #eafcf4 0%, #d8f6ea 100%);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.step-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, #ff86b0, var(--pink-deep));
  box-shadow: 0 6px 14px rgba(232, 75, 132, 0.3);
}

.step-card:nth-child(2) .step-num {
  background: linear-gradient(180deg, #b69af0, #7a5cc8);
  box-shadow: 0 6px 14px rgba(122, 92, 200, 0.3);
}

.step-card:nth-child(3) .step-num {
  background: linear-gradient(180deg, #5ed9b0, #2da882);
  box-shadow: 0 6px 14px rgba(45, 168, 130, 0.3);
}

.step-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Bead legend */
.section-legend {
  background: linear-gradient(180deg, #efe6ff 0%, #f7efff 100%);
}

.legend-panel {
  display: grid;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.15rem 1rem 1.3rem;
  box-shadow: var(--shadow);
}

.bead-tray {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem 0.4rem;
}

.bead-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.35rem 0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 1.1rem;
  min-height: 48px;
}

.bead-btn:hover .bead,
.bead-btn:focus-visible .bead {
  transform: translateY(-4px) scale(1.06);
}

.bead-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px var(--purple);
}

.bead-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
}

.bead {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  position: relative;
  display: block;
  transition: transform 0.25s ease;
  box-shadow:
    inset 0 -8px 14px rgba(0, 0, 0, 0.18),
    inset 0 8px 12px rgba(255, 255, 255, 0.45),
    0 8px 16px rgba(61, 44, 74, 0.16);
}

.bead::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 20%;
  width: 32%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.bead-pink {
  background: radial-gradient(circle at 30% 25%, #ffc1d8, #ff6b9d 42%, #c63d72);
}
.bead-purple {
  background: radial-gradient(circle at 30% 25%, #d7c4ff, #9b7ede 42%, #6248a8);
}
.bead-mint {
  background: radial-gradient(circle at 30% 25%, #c6ffe8, #3ecf9f 42%, #1e8a68);
}
.bead-yellow {
  background: radial-gradient(circle at 30% 25%, #fff0b0, #ffd166 42%, #d49a12);
}
.bead-blue {
  background: radial-gradient(circle at 30% 25%, #cfe6ff, #5ba3f5 42%, #2a6fc0);
}
.bead-rose {
  background: radial-gradient(circle at 30% 25%, #ffd0d7, #f28b9c 42%, #c05064);
}
.bead-lilac {
  background: radial-gradient(circle at 30% 25%, #f3e0ff, #c9a0dc 42%, #8a5aa3);
}
.bead-gold {
  background: radial-gradient(circle at 30% 25%, #fff4c2, #f5c518 42%, #c48900);
  box-shadow:
    inset 0 -8px 14px rgba(0, 0, 0, 0.18),
    inset 0 8px 12px rgba(255, 255, 255, 0.5),
    0 0 0 3px #fff3b0,
    0 8px 18px rgba(196, 137, 0, 0.4);
}

.prize-reveal {
  background: #fff;
  border-radius: var(--radius);
  min-height: 8.5rem;
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.prize-idle {
  min-height: 6.2rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.prize-prompt {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--muted);
}

.prize-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prize-card[hidden],
.prize-idle[hidden],
.thank-you[hidden],
.form-error[hidden] {
  display: none;
}

.prize-bead-wrap {
  flex-shrink: 0;
}

.prize-bead {
  width: 72px;
  height: 72px;
}

.prize-colour {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.prize-title {
  margin-bottom: 0.3rem;
}

.prize-blurb {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.prize-card.is-rare {
  background: linear-gradient(135deg, #fffbeb, #fff);
  border-radius: 1.1rem;
  padding: 0.15rem;
}

/* Boxes */
.section-boxes {
  background: linear-gradient(180deg, #fff3c9 0%, #ffe3f0 100%);
}

.box-grid {
  display: grid;
  gap: 1rem;
}

.box-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.box-card-featured {
  border-color: var(--pink);
  box-shadow: var(--shadow);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #ffd6e8, #fff) border-box;
  transform: none;
}

.box-badge {
  align-self: flex-start;
  margin: 0 0 0.55rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--purple-soft);
  color: #5a3d96;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.box-badge-sig {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.box-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  margin: 0.15rem 0 0.1rem;
  letter-spacing: -0.03em;
}

.cad {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.box-count {
  font-weight: 800;
  color: var(--pink-deep);
  margin-bottom: 0.5rem;
}

.box-desc {
  margin: 0;
  color: var(--ink-soft);
}

.box-ship-note {
  margin-top: 1.25rem;
}

/* FAQ */
.section-faq {
  background: linear-gradient(180deg, #fff7fb 0%, #fff5fa 100%);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.15rem 0.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 1rem 2.75rem 1rem 1.15rem;
  position: relative;
  border-radius: 0.85rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--pink-deep);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p,
.faq-item .placeholder {
  margin: 0 1.15rem 1.1rem;
}

.faq-item p {
  color: var(--ink-soft);
}

/* Waitlist */
.section-waitlist {
  background:
    radial-gradient(600px 300px at 20% 0%, #ffd6e8, transparent 70%),
    radial-gradient(600px 300px at 90% 100%, #d6ebff, transparent 70%),
    linear-gradient(180deg, #fde8f3 0%, #e8f8ff 55%, #eafcf4 100%);
  padding-bottom: 4.5rem;
}

.waitlist-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: var(--shadow);
}

.field {
  display: block;
  margin-bottom: 0.9rem;
}

.field-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fffafc;
}

input[type="email"]::placeholder {
  color: #a08aa8;
}

input[type="email"]:focus {
  border-color: var(--purple);
  background: #fff;
}

.form-error {
  color: #b4234e;
  font-weight: 700;
  margin: -0.3rem 0 0.8rem;
}

.form-fine {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.thank-you {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.3rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid var(--mint-bright);
}

.thank-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: #1e8a68;
}

.thank-you p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: #3d2c4a;
  color: #f6eef8;
  padding: 1.75rem 0 3rem;
}

.footer-inner {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
}

.footer-tag,
.footer-legal {
  margin: 0;
  color: #d7c6e0;
}

.footer-legal {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.site-footer .placeholder {
  width: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 210, 250, 0.12) 0 8px,
      rgba(255, 255, 255, 0.06) 8px 16px
    );
  border-color: #e4a4f0;
  color: #f3d2fa;
}

.site-footer .placeholder-hint {
  color: #d7c6e0;
}

/* Desktop */
@media (min-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 3.5rem));
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .placeholder--logo-hero {
    min-height: 5rem;
    width: min(18rem, 100%);
  }

  .hero {
    padding: 3.25rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }

  .hero-visual {
    justify-items: stretch;
  }

  .jar {
    width: min(300px, 100%);
    margin-inline: auto;
  }

  .placeholder--photo {
    min-height: 180px;
  }

  .section {
    padding: 5rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .legend-panel {
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .bead-tray {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .bead {
    width: 68px;
    height: 68px;
  }

  .prize-reveal {
    padding: 1.4rem 1.5rem;
  }

  .box-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .box-card-featured {
    box-shadow: var(--shadow), 0 0 0 3px rgba(232, 75, 132, 0.12);
  }

  .waitlist-form {
    padding: 1.75rem 1.75rem 1.85rem;
  }

  .section-waitlist {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 430px) {
  .header-cta {
    padding: 0.48rem 0.85rem;
    font-size: 0.88rem;
    min-height: 44px;
    box-shadow: 0 3px 0 #c43a6e, 0 6px 12px rgba(232, 75, 132, 0.25);
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .bead {
    width: 52px;
    height: 52px;
  }

  .prize-card {
    flex-direction: column;
    text-align: center;
  }
}


/* --- Kid-friendly sprinkles, stickers, waves, confetti --- */

.hero,
.section {
  position: relative;
  overflow: hidden;
}

.hero > .wrap,
.section > .wrap {
  position: relative;
  z-index: 1;
}

/* Repeating sprinkle / confetti field behind section content */
.hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("sprinkles.svg");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background-size: 340px;
  background-position: 80% 0;
  opacity: 0.42;
}

.section-how::before {
  background-size: 400px;
  background-position: 10% 20%;
  opacity: 0.32;
}

.section-legend::before {
  background-size: 380px;
  background-position: 70% 0;
  opacity: 0.3;
}

.section-boxes::before {
  background-size: 360px;
  background-position: 0 40%;
  opacity: 0.34;
}

.section-faq::before {
  background-size: 420px;
  background-position: 40% 10%;
  opacity: 0.26;
}

.section-waitlist::before {
  background-size: 380px;
  background-position: 90% 30%;
  opacity: 0.34;
}

/* Keep body-level dots quieter now that sections have sprinkles */
body::before {
  opacity: 0.22;
}

/* Soft contrast wash behind hero copy so text stays clear */
.hero-copy h1,
.hero-copy .tagline,
.section h2 {
  text-shadow: 0 0 18px rgba(255, 247, 251, 0.9), 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
}

.hero-confetti {
  position: absolute;
  inset: -8% -6% 8%;
  z-index: 0;
  pointer-events: none;
}

.hero-confetti svg {
  width: 100%;
  height: 100%;
}

.hero-visual .jar,
.hero-visual .placeholder {
  position: relative;
  z-index: 1;
}

/* Sticker-style badges */
.sticker {
  border: 2.5px solid #fff;
  box-shadow:
    3px 4px 0 rgba(232, 75, 132, 0.18),
    0 6px 14px rgba(168, 90, 140, 0.12);
  transform: rotate(-2.5deg);
}

.section-how > .wrap > .sticker { transform: rotate(2.2deg); }
.section-legend > .wrap > .sticker { transform: rotate(-2deg); }
.section-boxes > .wrap > .sticker { transform: rotate(1.8deg); }
.section-faq > .wrap > .sticker { transform: rotate(-2.2deg); }
.section-waitlist > .wrap > .sticker { transform: rotate(2deg); }

.box-badge.sticker {
  transform: rotate(-3deg);
  box-shadow: 2px 3px 0 rgba(90, 61, 150, 0.16);
}

.box-badge-sig.sticker {
  transform: rotate(3deg);
  box-shadow: 2px 3px 0 rgba(232, 75, 132, 0.2);
}

.box-card {
  overflow: visible;
}

.step-num {
  border: 3px solid #fff;
}

/* Wavy section dividers */
.wave {
  display: block;
  line-height: 0;
  position: relative;
  z-index: 3;
  margin-top: -1px;
}

.wave svg {
  width: 100%;
  height: 52px;
  display: block;
}

@media (min-width: 760px) {
  .wave svg {
    height: 72px;
  }
}

/* Gentle bounce on the hero primary button */
.hero-actions .btn-primary {
  animation: candy-bounce 2.8s ease-in-out infinite;
}

@keyframes candy-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  animation: none;
}

/* Burst confetti (JS-created) */
#confetti-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 15px;
  border-radius: 4px;
  will-change: transform, opacity;
  animation: confetti-pop 0.95s ease-out forwards;
}

.confetti-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.confetti-diamond {
  width: 9px;
  height: 9px;
  border-radius: 1.5px;
}

.confetti-star {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
}

@keyframes confetti-pop {
  0% {
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
    opacity: 0;
  }
}

@media (max-width: 430px) {
  .hero::before,
  .section::before {
    opacity: 0.22;
    background-size: 300px;
  }

  .hero::before {
    opacity: 0.3;
  }

  .hero-confetti {
    opacity: 0.85;
    inset: -4% -2% 12%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-bead,
  .bead,
  .btn,
  .hero-actions .btn-primary,
  .confetti-piece {
    animation: none !important;
    transition: none !important;
  }
  .confetti-piece {
    display: none !important;
  }
}
