/* === Sweet Sisters · Boardroom on the Lake === */
:root {
  --pink: #ff3a8c;
  --pink-deep: #d61d70;
  --orange: #ff7a1f;
  --yellow: #ffcc1f;
  --green: #2bc46b;
  --blue: #2e9bff;
  --purple: #a04ce8;
  --cream: #fff8ee;
  --cream-2: #fff1dd;
  --ink: #2b1b3a;
  --ink-soft: #5a4a6e;
  --paper: #ffffff;

  --rainbow: linear-gradient(90deg, #ff3a8c 0%, #ff7a1f 18%, #ffcc1f 36%, #2bc46b 54%, #2e9bff 72%, #a04ce8 90%, #ff3a8c 100%);
  --rainbow-soft: linear-gradient(90deg, #ffd6e7 0%, #ffe2c8 20%, #fff3c2 40%, #c8edd4 60%, #cfe5ff 80%, #e2cef5 100%);

  --shadow-card: 0 2px 0 rgba(43, 27, 58, 0.08), 0 14px 28px -10px rgba(43, 27, 58, 0.18);
  --shadow-sticker: 0 6px 0 rgba(43, 27, 58, 0.12), 0 22px 36px -14px rgba(43, 27, 58, 0.28);

  --radius-card: 28px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

/* ===== Background candy pattern ===== */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 58, 140, 0.06) 0 12px, transparent 13px),
    radial-gradient(circle at 88% 32%, rgba(46, 155, 255, 0.06) 0 10px, transparent 11px),
    radial-gradient(circle at 32% 78%, rgba(43, 196, 107, 0.06) 0 14px, transparent 15px),
    radial-gradient(circle at 72% 88%, rgba(255, 204, 31, 0.08) 0 11px, transparent 12px),
    radial-gradient(circle at 50% 50%, rgba(160, 76, 232, 0.05) 0 8px, transparent 9px);
  background-size: 520px 520px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* ===== Top nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed rgba(43, 27, 58, 0.12);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 3px 0 rgba(43, 27, 58, 0.12));
}
.nav-tagline {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--purple);
  line-height: 1;
  font-weight: 700;
  transform: rotate(-3deg);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}
.nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255, 58, 140, 0.08); transform: translateY(-1px); }
.nav-link.active {
  background: var(--ink);
  color: var(--cream);
}
.nav-cart {
  position: relative;
  background: var(--pink);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--pink-deep);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-cart:active { transform: translateY(3px); box-shadow: 0 0 0 var(--pink-deep); }
.nav-cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

/* ===== Page shell ===== */
.page {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  animation: pageIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Rainbow scallop frame (echo of the logo) ===== */
.scallop {
  --scallop-color: var(--paper);
  background: var(--scallop-color);
  -webkit-mask: radial-gradient(circle 14px at 14px 50%, transparent 98%, #000 100%) left center / 28px 100% repeat-x,
                radial-gradient(circle 14px at 14px 50%, transparent 98%, #000 100%) right center / 28px 100% repeat-x;
}
/* simpler scallop frame using inline svg via background */
.rainbow-frame {
  position: relative;
  padding: 28px;
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow-sticker);
}
.rainbow-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 44px;
  background: var(--rainbow);
  z-index: -1;
  filter: saturate(1.1);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 8px;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hero-eyebrow .dot { width: 10px; height: 10px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 4px rgba(43,196,107,0.2); }

.hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  margin-top: 22px;
  line-height: 0.96;
}
.hero h1 .rainbow-text {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(1.1);
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: -6px;
  height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 99px;
  transform: rotate(-1deg);
}
.hero p.lede {
  font-size: 20px;
  max-width: 520px;
  margin-top: 22px;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .blob {
  position: absolute;
  inset: 4%;
  background: var(--rainbow);
  border-radius: 50%;
  filter: blur(0px);
  animation: spin 24s linear infinite;
  mask: radial-gradient(circle, transparent 35%, #000 36%);
  -webkit-mask: radial-gradient(circle, transparent 35%, #000 36%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-photo {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #ffe9d6 0 14px, #fff5e6 14px 28px);
  border: 6px solid white;
  box-shadow: 0 24px 60px -20px rgba(43,27,58,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  color: var(--ink-soft);
}
.hero-photo .photo-label {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  background: rgba(255,255,255,0.92);
  border-radius: 99px;
  border: 2px dashed var(--ink-soft);
}
.hero-photo .penny {
  position: absolute;
  bottom: -4%;
  right: -6%;
  width: 44%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4c98a, #b8804a);
  border: 5px solid white;
  box-shadow: 0 12px 28px -10px rgba(43,27,58,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 18px;
  transform: rotate(8deg);
}
.hero-photo .penny::before {
  content: "🐶";
  font-size: 42px;
}
.hero-photo .penny .tag {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid white;
}

.hero-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sticker {
  position: absolute;
  background: white;
  border: 3px solid var(--ink);
  padding: 8px 14px;
  border-radius: 16px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
}
.sticker.s1 { top: 0%; left: 4%; background: var(--yellow); transform: rotate(-8deg); }
.sticker.s2 { top: 44%; right: 4%; background: var(--green); color: white; transform: rotate(6deg); }
.sticker.s3 { bottom: 8%; left: 6%; background: var(--blue); color: white; transform: rotate(-4deg); }

/* ===== Gummy bear button ===== */
.gummy {
  --gummy-color: var(--pink);
  --gummy-deep: var(--pink-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: white;
  background: var(--gummy-color);
  border: none;
  border-radius: 32px;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.15),
    inset 0 8px 14px rgba(255,255,255,0.45),
    0 6px 0 var(--gummy-deep),
    0 10px 22px -6px rgba(43,27,58,0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  user-select: none;
}
.gummy::after {
  content: "";
  position: absolute;
  top: 8px; left: 18%; right: 18%;
  height: 30%;
  background: rgba(255,255,255,0.55);
  border-radius: 99px;
  filter: blur(2px);
  pointer-events: none;
}
.gummy:hover { transform: translateY(-1px); }
.gummy:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,0.2),
    inset 0 6px 12px rgba(255,255,255,0.35),
    0 0 0 var(--gummy-deep),
    0 4px 10px -4px rgba(43,27,58,0.4);
}
.gummy.green { --gummy-color: var(--green); --gummy-deep: #1f9a52; }
.gummy.blue { --gummy-color: var(--blue); --gummy-deep: #1d76cc; }
.gummy.orange { --gummy-color: var(--orange); --gummy-deep: #d65a0c; }
.gummy.yellow { --gummy-color: var(--yellow); --gummy-deep: #cc9a00; color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
.gummy.purple { --gummy-color: var(--purple); --gummy-deep: #7d33c2; }
.gummy.ghost {
  --gummy-color: white;
  --gummy-deep: #d3c6b6;
  color: var(--ink);
  text-shadow: none;
}

/* Nerd candy button — small, irregular, multi-color rainbow speckled */
.nerd {
  --nerd-color: var(--pink);
  --nerd-deep: rgba(0,0,0,0.18);
  position: relative;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  background:
    radial-gradient(circle at 25% 28%, rgba(255,255,255,0.55) 0 22%, transparent 26%),
    radial-gradient(circle at 70% 75%, rgba(0,0,0,0.12) 0 28%, transparent 30%),
    var(--nerd-color);
  color: white;
  border: 2px solid rgba(0,0,0,0.65);
  border-radius: 9px;
  cursor: pointer;
  box-shadow:
    inset 0 -3px 0 var(--nerd-deep),
    inset 0 2px 0 rgba(255,255,255,0.35),
    2px 2px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
  clip-path: polygon(
    8% 0, 22% 6%, 38% 0, 56% 4%, 74% 0, 92% 6%, 100% 22%,
    96% 40%, 100% 58%, 94% 74%, 100% 92%, 86% 100%,
    68% 96%, 50% 100%, 32% 96%, 12% 100%, 0 86%,
    4% 68%, 0 50%, 6% 32%, 0 14%
  );
  letter-spacing: 0.02em;
}
.nerd:active { transform: translate(2px, 2px); box-shadow: inset 0 -1px 0 var(--nerd-deep), inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 var(--ink); }
.nerd:disabled { opacity: 0.35; cursor: not-allowed; }

/* Background of nerd toggle option needs a "rainbow nerd cluster" look */
.nerd-preview {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 22px;
  height: 16px;
}
.nerd-preview span {
  border-radius: 2px;
}

/* Color cycle aliases (used inline) — keep palette consistent */
.nerd.c-pink { --nerd-color: #ff3a8c; }
.nerd.c-orange { --nerd-color: #ff7a1f; }
.nerd.c-yellow { --nerd-color: #ffcc1f; color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
.nerd.c-green { --nerd-color: #2bc46b; }
.nerd.c-blue { --nerd-color: #2e9bff; }
.nerd.c-purple { --nerd-color: #a04ce8; }

/* ===== Marquee stripe ===== */
.marquee {
  position: relative;
  margin: 56px -28px 0;
  padding: 14px 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  transform: rotate(-2deg);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: var(--rainbow);
}
.marquee::before { top: -8px; }
.marquee::after { bottom: -8px; }
.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 28s linear infinite;
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-track .dot { color: var(--pink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Section header ===== */
.section { margin-top: 84px; position: relative; }
.section-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 30px;
  color: var(--pink);
  margin-bottom: 4px;
  display: inline-block;
  transform: rotate(-2deg);
}
.section-title {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
}
.section-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ===== Pro tips ===== */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 900px) { .tips { grid-template-columns: 1fr; } }
.tip {
  position: relative;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 26px 24px 24px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s ease;
}
.tip:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.tip-num {
  position: absolute;
  top: -18px; left: 20px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.tip:nth-child(2) .tip-num { background: var(--blue); color: white; }
.tip:nth-child(3) .tip-num { background: var(--green); color: white; }
.tip h3 {
  font-size: 24px;
  margin-bottom: 8px;
  margin-top: 6px;
}
.tip p { color: var(--ink-soft); font-size: 16px; }
.tip .tip-quote {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--cream-2);
  border-left: 4px solid var(--pink);
  border-radius: 8px;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--ink);
}

/* ===== Product grid (mini shop teaser) ===== */
.bags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}
@media (max-width: 1000px) { .bags { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bags { grid-template-columns: 1fr; } }
.bag {
  background: white;
  border-radius: 24px;
  padding: 18px;
  border: 2px solid rgba(43,27,58,0.1);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}
.bag:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(43,27,58,0.3); }
.bag-photo {
  aspect-ratio: 4/5;
  border-radius: 18px;
  background:
    repeating-linear-gradient(45deg, #fff 0 10px, #fff8ee 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.bag-photo .bag-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bag-photo .gummies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: 78%;
}
.gummy-icon {
  width: 28px; height: 36px;
  border-radius: 14px 14px 16px 16px / 18px 18px 24px 24px;
  background: var(--pink);
  position: relative;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15), inset 0 4px 6px rgba(255,255,255,0.5);
}
.gummy-icon::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 12px;
  background: inherit;
  border-radius: 50% 50% 30% 30%;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}
.bag h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  margin: 4px 0 4px;
}
.bag-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.bag-meta .price {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.bag-meta .weight {
  color: var(--ink-soft);
  font-size: 14px;
}
.bag .bag-add {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 15px;
}

/* ===== Logic Lab ===== */
.lab {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-top: 28px;
}
@media (max-width: 1000px) { .lab { grid-template-columns: 1fr; } }

.lab-board {
  background: white;
  border-radius: 32px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 28px;
}
.lab-board h3 {
  font-size: 26px;
  margin-bottom: 4px;
}
.lab-board .lab-sub { color: var(--ink-soft); margin-bottom: 22px; }

.candy-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 2px dashed rgba(43,27,58,0.1);
}
.candy-row:last-child { border-bottom: none; }
.candy-info { flex: 1; min-width: 0; }
.candy-info .name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 18px;
  display: flex; align-items: center; gap: 8px;
}
.candy-info .name .swatch {
  width: 14px; height: 14px; border-radius: 99px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15);
}
.candy-info .meta { font-size: 13px; color: var(--ink-soft); }

.stepper {
  display: flex; align-items: center; gap: 8px;
}
.stepper button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}
.stepper button:hover { transform: translateY(-1px); }
.stepper button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper .count {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 20px;
  width: 32px;
  text-align: center;
}

/* Receipt-style cart */
.receipt {
  background: white;
  border-radius: 24px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 24px;
  position: sticky;
  top: 100px;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(43,27,58,0.04) 27px 28px);
}
.receipt h3 {
  font-size: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.receipt h3 .lab-coat { font-size: 13px; color: var(--ink-soft); font-family: 'Nunito'; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.receipt-line {
  display: flex; justify-content: space-between;
  font-family: 'Nunito';
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.receipt-line .name { color: var(--ink); font-weight: 600; }
.receipt-divide {
  height: 2px;
  background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  background-size: 8px 2px;
  margin: 10px 0;
}
.receipt-total {
  display: flex; justify-content: space-between;
  align-items: baseline;
  font-family: 'Fredoka', sans-serif;
}
.receipt-total .price {
  font-size: 36px;
  font-weight: 700;
}
.receipt-empty {
  text-align: center;
  padding: 24px 8px;
  color: var(--ink-soft);
  font-family: 'Fredoka', sans-serif;
}

.lab-math {
  margin-top: 14px;
  background: var(--cream-2);
  border-radius: 18px;
  padding: 16px 18px;
  border: 2px dashed var(--ink);
}
.lab-math h4 {
  font-family: 'Caveat', cursive;
  color: var(--purple);
  font-size: 24px;
  margin-bottom: 4px;
}
.lab-math .formula {
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  color: var(--ink);
}

/* Choice-limit interrupt banner */
.lab-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  display: flex; gap: 10px; align-items: center;
  animation: wiggle 0.5s ease;
}
@keyframes wiggle {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(-1.5deg); }
  40% { transform: rotate(1.5deg); }
  60% { transform: rotate(-1deg); }
  80% { transform: rotate(0.5deg); }
}

/* button style toggle (gummy vs nerd) */
.button-style-toggle {
  display: inline-flex;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 18px;
}
.button-style-toggle button {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 99px;
}
.button-style-toggle button.on { background: var(--ink); color: var(--cream); }

/* ===== Roadmap (Treasure Map) ===== */
.map-wrap {
  margin-top: 32px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,204,31,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(160,76,232,0.15), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,200,140,0.06) 0 2px, transparent 2px 6px),
    #fff3dd;
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: 36px 28px 28px;
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.map-wrap::before {
  content: "";
  position: absolute; inset: 12px;
  border: 2px dashed rgba(43,27,58,0.2);
  border-radius: 24px;
  pointer-events: none;
}
.map-title {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 4px;
  transform: rotate(-1deg);
}
.compass {
  position: absolute;
  top: 24px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 3px 3px 0 var(--ink);
}
.compass::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--ink);
  border-radius: 50%;
}

.map {
  position: relative;
  min-height: 880px;
  margin-top: 18px;
}
.map svg.trail {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.station {
  position: absolute;
  width: 200px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.15s;
}
.station:hover { transform: translate(-50%, -54%) rotate(-1deg); }
.station .pin {
  position: absolute;
  top: -16px; left: -16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: white;
}
.station.done .pin { background: var(--green); }
.station.done .pin::after { content: "✓"; }
.station.now .pin { background: var(--yellow); color: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.station.future .pin { background: white; color: var(--ink); }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,204,31,0.7); }
  50% { box-shadow: 0 0 0 14px rgba(255,204,31,0); }
}
.station h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
}
.station p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.station .pill {
  display: inline-block;
  font-size: 11px;
  font-family: 'Fredoka', sans-serif;
  background: var(--cream-2);
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.station.done { opacity: 0.92; }
.station.future { opacity: 0.78; background: var(--cream-2); }

/* Thermometer */
.thermo-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) { .thermo-wrap { grid-template-columns: 1fr; } }
.thermo {
  position: relative;
  height: 380px;
  display: flex; justify-content: center;
}
.thermo-tube {
  position: relative;
  width: 70px;
  background: white;
  border: 4px solid var(--ink);
  border-radius: 40px 40px 0 0;
  border-bottom: none;
  box-shadow: 6px 6px 0 var(--ink);
}
.thermo-bulb {
  position: absolute;
  bottom: -54px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--pink);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.thermo-fill {
  position: absolute;
  left: 6px; right: 6px;
  bottom: 0;
  background: linear-gradient(180deg, #ff5e9c, var(--pink), var(--pink-deep));
  border-radius: 0 0 30px 30px;
  transition: height 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thermo-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.thermo-tick {
  position: absolute;
  left: 80%; right: -100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
}
.thermo-tick::before {
  content: "";
  width: 14px; height: 3px;
  background: var(--ink);
}

.thermo-info h3 { font-size: 32px; margin-bottom: 8px; }
.thermo-info .big {
  font-family: 'Fredoka', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--pink-deep);
  margin: 8px 0 4px;
}
.thermo-info .of {
  font-family: 'Fredoka', sans-serif;
  color: var(--ink-soft);
  font-size: 18px;
}
.thermo-info .next {
  margin-top: 18px;
  padding: 14px 16px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 16px;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 4px 4px 0 var(--ink);
}

/* Boardroom blurb */
.boardroom {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) { .boardroom { grid-template-columns: 1fr; } }
.board-card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.board-card .stage {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  color: var(--pink);
}
.board-card h4 { font-size: 22px; margin: 4px 0 8px; }
.board-card p { color: var(--ink-soft); font-size: 15px; }
.board-card .stage-meta {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.board-card .stage-meta .chip {
  background: var(--cream-2);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-family: 'Fredoka', sans-serif;
}

/* ===== Founders ===== */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 800px) { .founders { grid-template-columns: 1fr; } }
.founder {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: 26px;
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: var(--rainbow);
}
.founder-photo {
  aspect-ratio: 5/4;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,58,140,0.12), transparent 60%),
    repeating-linear-gradient(45deg, #fff8ee 0 14px, #fff 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka';
  color: var(--ink-soft);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px dashed var(--ink-soft);
  margin-bottom: 18px;
}
.founder h3 {
  font-size: 38px;
  display: flex; align-items: baseline; gap: 12px;
}
.founder h3 .role {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--pink);
}
.founder p { color: var(--ink-soft); margin-top: 8px; }
.founder-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.founder-stat {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 10px 12px;
  text-align: center;
}
.founder-stat .num { font-family: 'Fredoka'; font-size: 22px; font-weight: 700; }
.founder-stat .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

/* Video card */
.video-card {
  margin-top: 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .video-card { grid-template-columns: 1fr; } }
.video-card::before {
  content: "TOP SECRET";
  position: absolute;
  top: 18px; right: -50px;
  background: var(--pink);
  color: white;
  font-family: 'Fredoka';
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  padding: 4px 60px;
  transform: rotate(20deg);
  border: 2px solid white;
  z-index: 2;
}
.video-card h3 { font-size: 36px; margin-bottom: 10px; }
.video-card p { color: rgba(255,248,238,0.7); margin-bottom: 18px; max-width: 420px; }
.video-frame {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #3b2750, #221432);
  border-radius: 22px;
  border: 3px solid var(--cream);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.video-frame .play {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--pink);
  border: 4px solid white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 12px 28px -8px rgba(255,58,140,0.6);
}
.video-frame .play:hover { transform: scale(1.08); }
.video-frame .play::after {
  content: "";
  width: 0; height: 0;
  border-left: 22px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.video-frame .scale {
  position: absolute;
  bottom: 14px; left: 14px;
  background: white;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 99px;
  font-family: 'Fredoka';
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.video-frame .scale::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 99px;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ===== Footer ===== */
.footer {
  margin-top: 96px;
  padding: 40px 28px 28px;
  border-top: 3px dashed rgba(43,27,58,0.2);
  text-align: center;
  font-family: 'Fredoka';
  color: var(--ink-soft);
}
.footer .footer-stripe {
  height: 14px;
  background: var(--rainbow);
  border-radius: 99px;
  margin: 0 auto 24px;
  max-width: 480px;
}
.footer-nav {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px;
}
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.footer-nav a:hover { color: var(--pink); }
.footer-url { font-family: 'Fredoka'; font-size: 18px; color: var(--ink); margin-top: 8px; }

/* ===== Cart drawer ===== */
.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(43,27,58,0.4);
  z-index: 50;
  animation: fade 0.2s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  max-width: 100%;
  background: var(--cream);
  z-index: 51;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -20px 0 40px -20px rgba(0,0,0,0.3);
  animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--ink);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.cart-drawer h3 {
  font-size: 28px;
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.cart-drawer h3 button {
  background: none; border: none; cursor: pointer;
  font-size: 24px;
  color: var(--ink);
}
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 2px dashed rgba(43,27,58,0.1);
}
.cart-item .thumb {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.cart-item .body { flex: 1; }
.cart-item .body .name { font-family: 'Fredoka'; font-weight: 600; }
.cart-item .body .qty { font-size: 13px; color: var(--ink-soft); }
.cart-item .body .price { font-family: 'Fredoka'; font-weight: 700; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 99px;
  font-family: 'Fredoka';
  font-weight: 600;
  box-shadow: 0 18px 40px -12px rgba(43,27,58,0.5);
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--cream);
}
@keyframes toastIn {
  from { transform: translate(-50%, 30px); opacity: 0; }
}
.toast .dot { width: 10px; height: 10px; border-radius: 99px; background: var(--green); }

/* ===== Learning platform sections ===== */
.learn-hero {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.learn-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: var(--rainbow);
}
@media (max-width: 900px) { .learn-hero { grid-template-columns: 1fr; } }
.learn-hero-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.learn-pill {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 8px 14px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.learn-pill span { font-size: 17px; }
.learn-pill:nth-child(2) { background: #ffe0ec; }
.learn-pill:nth-child(3) { background: #fff3c2; }
.learn-pill:nth-child(4) { background: #d6f5e0; }
.learn-pill:nth-child(5) { background: #d5e9ff; }
.learn-pill:nth-child(6) { background: #ead8ff; }

.learn-banner {
  margin-top: 18px;
  background: var(--purple);
  color: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 6px 6px 0 var(--ink);
  font-family: 'Fredoka', sans-serif;
}
.learn-banner-icon {
  font-size: 36px;
  background: white;
  width: 56px; height: 56px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.learn-banner strong { font-weight: 700; }

.station-learn {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--cream-2);
  border-left: 3px solid var(--purple);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink);
  font-family: 'Nunito';
  line-height: 1.35;
}

.learn-chips {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.learn-chip {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 4px 12px;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.learn-cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.learn-cta::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12px;
  background: var(--rainbow);
}
.learn-cta .section-title { color: var(--cream); }
@media (max-width: 900px) { .learn-cta { grid-template-columns: 1fr; } }

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .learn-grid { grid-template-columns: 1fr; } }
.learn-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 18px;
}
.learn-card .learn-num {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--yellow);
  letter-spacing: 0.1em;
}
.learn-card h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  margin: 6px 0 6px;
}
.learn-card p {
  color: rgba(255,248,238,0.7);
  font-size: 14px;
}
body.theme-calm {
  --cream: #f7f3ee;
  --cream-2: #efe9e0;
  /* lab-v2-marker */
  background: var(--cream);
}
body.theme-calm .marquee { background: #3b2750; }
body.theme-calm .rainbow-text {
  background: linear-gradient(90deg, #d63a7a 0%, #d6603a 25%, #b8a02e 50%, #2e9966 75%, #4d6dc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Mobile QR view note ===== */
@media (max-width: 720px) {
  .nav-tagline { display: none; }
  .nav-links { gap: 0; }
  .nav-link { padding: 8px 12px; font-size: 14px; }
  .hero h1 { font-size: 44px; }
  .marquee { font-size: 16px; }
}


/* ===== Lab v2 — controls + tracker + founder mode ===== */
.lab-controls {
  margin-top: 18px;
  margin-bottom: 18px;
}
.lab-controls-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.lab-controls-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lab-controls-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.founder-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s, color 0.15s;
}
.founder-toggle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.founder-toggle.on {
  background: var(--purple);
  color: white;
}
.founder-toggle .founder-arrow { transition: transform 0.2s; }
.founder-toggle.on .founder-arrow { transform: translateX(2px); }

.founder-banner {
  background: linear-gradient(135deg, #a04ce8, #ff3a8c);
  color: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 6px 6px 0 var(--ink);
  font-family: 'Fredoka', sans-serif;
  margin-bottom: 18px;
}
.founder-banner-icon {
  font-size: 32px;
  background: white;
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Candy groups by category */
.candy-group { margin-top: 22px; }
.candy-group:first-child { margin-top: 8px; }
.candy-group-head {
  --cat-color: var(--pink);
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cat-color);
  margin-bottom: 4px;
}
.cat-badge {
  background: var(--cat-color);
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  white-space: nowrap;
}
.cat-icon { font-size: 14px; }
.cat-desc {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: 'Nunito';
}
@media (max-width: 540px) {
  .candy-group-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.candy-row-emoji {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.candy-row.active {
  background: linear-gradient(90deg, rgba(255,58,140,0.06), transparent);
  border-radius: 12px;
}

.meta-cost {
  color: var(--purple);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

.lab-board-target {
  font-family: 'Nunito';
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 10px;
  background: var(--cream-2);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Receipt sticky wrapper */
.receipt-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}
@media (max-width: 1000px) {
  .receipt-sticky { position: static; }
}

/* Override original .receipt sticky (now handled by wrapper) */
.lab .receipt {
  position: static;
  top: auto;
}

/* Bag-fill tracker */
.bag-tracker {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.bag-tracker-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.bag-tracker-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.bag-tracker-target {
  font-size: 12px;
  color: var(--ink-soft);
  font-family: 'Nunito';
  margin-top: 2px;
}
.bag-tracker-status {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 99px;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.bag-tracker-status.status-empty { background: var(--cream-2); }
.bag-tracker-status.status-under { background: var(--yellow); }
.bag-tracker-status.status-good { background: var(--green); color: white; }
.bag-tracker-status.status-over { background: var(--orange); color: white; }

.bag-meter {
  position: relative;
  margin-top: 14px;
  height: 22px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 99px;
  overflow: hidden;
}
.bag-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green));
  background-size: 200% 100%;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.status-under .bag-meter-fill { background: linear-gradient(90deg, var(--blue), var(--pink)); }
.status-good .bag-meter-fill {
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.status-over .bag-meter-fill { background: var(--orange); }
.bag-meter-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  font-family: 'Fredoka', sans-serif;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.receipt-cost {
  color: var(--purple);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

/* Founder math block */
.founder-math {
  background: linear-gradient(135deg, rgba(160,76,232,0.06), rgba(255,58,140,0.06));
  border: 2px dashed var(--purple);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 4px;
}
.founder-math-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Nunito';
  font-size: 14px;
  padding: 3px 0;
  color: var(--ink);
}
.founder-math-row.total-cost {
  border-top: 1.5px solid rgba(43,27,58,0.2);
  padding-top: 8px;
  margin-top: 4px;
  font-weight: 700;
}
.founder-math-row.sale {
  color: var(--green);
  font-weight: 700;
  margin-top: 4px;
}
.founder-math-row.profit {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  border-top: 2px solid var(--ink);
  margin-top: 6px;
  padding-top: 8px;
}
.founder-math-row.profit small { font-size: 12px; opacity: 0.7; margin-left: 4px; }
.founder-math-row.profit.loss { color: var(--pink-deep); }
.founder-warn {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
}
.founder-warn.ok { background: #fff0c2; }
.founder-warn.good { background: var(--green); color: white; }

/* Lesson grid */
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 760px) { .lesson-grid { grid-template-columns: 1fr; } }
.lesson-card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s;
}
.lesson-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.lesson-card .lesson-num {
  font-size: 32px;
  margin-bottom: 6px;
}
.lesson-card h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}
.lesson-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
}
