/* ============================================
   The Molar Mission — The Mission Pack
   Design tokens (from brand guidelines)
   ============================================ */
:root {
  --molar-pink: #FA6F8B;
  --deep-rose: #E95272;
  --mission-blue: #B9D8E4;
  --smile-ivory: #FFF8EF;
  --cocoa: #422D2A;
  --charcoal: #343A40;

  --pink-tint: #FFE9EE;
  --blue-tint: #E7F2F7;
  --gold-tint: #FDF3DC;
  --gold: #C98A2C;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 40px -20px rgba(66, 45, 42, 0.25);
  --shadow-card: 0 12px 28px -16px rgba(66, 45, 42, 0.18);

  /* "Liquid metal" edge — a crisp 1px ring plus a graduated soft-shadow
     stack, ported from the liquid-metal-button's resting/hovered box-shadow
     recipe and retinted from black to the site's warm cocoa shadow tone. */
  --liquid-border:
    0 0 0 1px rgba(66, 45, 42, 0.16),
    0 20px 10px -12px rgba(66, 45, 42, 0.02),
    0 12px 8px -8px rgba(66, 45, 42, 0.05),
    0 5px 5px -4px rgba(66, 45, 42, 0.08),
    0 2px 3px -1px rgba(66, 45, 42, 0.12);
  --liquid-border-hover:
    0 0 0 1px rgba(66, 45, 42, 0.26),
    0 10px 5px -6px rgba(66, 45, 42, 0.03),
    0 6px 4px -4px rgba(66, 45, 42, 0.07),
    0 3px 3px -2px rgba(66, 45, 42, 0.1),
    0 1px 2px 0 rgba(66, 45, 42, 0.16);

  --max-width: 1120px;
}

/* Animated gradient-button custom properties — registered so the browser
   can smoothly transition them (position/spread/color/stop) on hover
   instead of snapping. Falls back gracefully where @property isn't
   supported: the gradient still renders, it just won't animate as smoothly. */
@property --pos-x {
  syntax: '<percentage>';
  initial-value: 11.14%;
  inherits: false;
}
@property --pos-y {
  syntax: '<percentage>';
  initial-value: 140%;
  inherits: false;
}
@property --spread-x {
  syntax: '<percentage>';
  initial-value: 150%;
  inherits: false;
}
@property --spread-y {
  syntax: '<percentage>';
  initial-value: 180.06%;
  inherits: false;
}
@property --btn-color-1 {
  syntax: '<color>';
  initial-value: #FA6F8B;
  inherits: false;
}
@property --btn-color-2 {
  syntax: '<color>';
  initial-value: #E95272;
  inherits: false;
}
@property --btn-color-3 {
  syntax: '<color>';
  initial-value: #C9536F;
  inherits: false;
}
@property --btn-color-4 {
  syntax: '<color>';
  initial-value: #8C4258;
  inherits: false;
}
@property --btn-color-5 {
  syntax: '<color>';
  initial-value: #422D2A;
  inherits: false;
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 20deg;
  inherits: true;
}
@property --border-color-1 {
  syntax: '<color>';
  initial-value: hsla(345, 75%, 70%, 0.25);
  inherits: true;
}
@property --border-color-2 {
  syntax: '<color>';
  initial-value: hsla(345, 70%, 45%, 0.7);
  inherits: true;
}
@property --stop-1 {
  syntax: '<percentage>';
  initial-value: 37.35%;
  inherits: false;
}
@property --stop-2 {
  syntax: '<percentage>';
  initial-value: 61.36%;
  inherits: false;
}
@property --stop-3 {
  syntax: '<percentage>';
  initial-value: 78.42%;
  inherits: false;
}
@property --stop-4 {
  syntax: '<percentage>';
  initial-value: 89.52%;
  inherits: false;
}
@property --stop-5 {
  syntax: '<percentage>';
  initial-value: 100%;
  inherits: false;
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--smile-ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cocoa);
  margin: 0;
  line-height: 1.12;
  font-weight: 600;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--deep-rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(233, 82, 114, 0.55);
  background: radial-gradient(
    var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
    var(--btn-color-1) var(--stop-1),
    var(--btn-color-2) var(--stop-2),
    var(--btn-color-3) var(--stop-3),
    var(--btn-color-4) var(--stop-4),
    var(--btn-color-5) var(--stop-5)
  );
  transition:
    transform 0.15s ease, box-shadow 0.15s ease,
    --pos-x 0.5s, --pos-y 0.5s, --spread-x 0.5s, --spread-y 0.5s,
    --btn-color-1 0.5s, --btn-color-2 0.5s, --btn-color-3 0.5s, --btn-color-4 0.5s, --btn-color-5 0.5s,
    --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
    --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(233, 82, 114, 0.6);
  --pos-x: 0%;
  --pos-y: 91.51%;
  --spread-x: 120.24%;
  --spread-y: 103.18%;
  --btn-color-1: #FFA3B7;
  --btn-color-2: #FA6F8B;
  --btn-color-3: #E95272;
  --btn-color-4: #C9536F;
  --btn-color-5: #422D2A;
  --stop-1: 0%;
  --stop-2: 8.8%;
  --stop-3: 21.44%;
  --stop-4: 71.34%;
  --stop-5: 85.76%;
  --border-angle: 190deg;
  --border-color-1: hsla(345, 80%, 90%, 0.15);
  --border-color-2: hsla(345, 75%, 85%, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary { transition: none; }
}

.btn-ghost {
  background: transparent;
  color: var(--cocoa);
  border: 2px solid var(--cocoa);
  padding: 13px 26px;
}

.btn-ghost:hover {
  background: var(--cocoa);
  color: var(--smile-ivory);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ============================================
   Nav
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(66, 45, 42, 0.08);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nav-brand:hover {
  opacity: 0.75;
}

.nav-brand img {
  width: 40px;
  height: 40px;
}

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cocoa);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* ============================================
   Eyebrow / labels
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-rose);
  background: var(--pink-tint);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--cocoa);
  opacity: 0.82;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}

.hero-waveform {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cocoa);
  background: var(--mission-blue);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

.hero-nonprofit {
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.65;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  letter-spacing: -0.01em;
}

.hero h1 .accent {
  color: var(--deep-rose);
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--cocoa);
  opacity: 0.85;
  max-width: 46ch;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.stat-pill {
  background: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.88rem;
  box-shadow: var(--liquid-border);
  transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--liquid-border-hover);
}

.stat-pill strong {
  font-family: var(--font-display);
  color: var(--deep-rose);
  font-size: 1rem;
  margin-right: 5px;
}

.hero-purchase {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--cocoa);
  line-height: 1;
}

.price-currency {
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.6;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-microcopy {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Hero cover mock --- */
.cover-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.cover-mock {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-scale: 1;
  width: min(340px, 78vw);
  aspect-ratio: 3 / 3.9;
  background: linear-gradient(165deg, #CBE2ED 0%, var(--mission-blue) 55%, #A9CBDC 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
  transform: perspective(1000px) rotate(3deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale3d(var(--tilt-scale), var(--tilt-scale), var(--tilt-scale));
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  will-change: transform;
}

.cover-mock::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.cover-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cocoa);
}

.cover-top-row .tag {
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  color: var(--deep-rose);
}

.cover-mascot {
  display: block;
  width: 92px;
  margin: 6px auto 0;
}

.cover-title {
  text-align: center;
}

.cover-title .pack {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--molar-pink);
  -webkit-text-stroke: 1.5px #fff;
  paint-order: stroke fill;
}

.cover-title .sub {
  margin-top: 10px;
  font-size: 0.68rem;
  color: var(--cocoa);
  font-weight: 700;
}

.cover-title .badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--deep-rose);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.cover-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 8px;
}

.cover-stats div {
  text-align: center;
}

.cover-stats strong {
  display: block;
  font-family: var(--font-display);
  color: var(--deep-rose);
  font-size: 0.95rem;
}

.cover-stats span {
  font-size: 0.5rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.cover-footer {
  text-align: center;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  color: var(--cocoa);
  opacity: 0.7;
  font-weight: 700;
  text-transform: uppercase;
}

.cover-sticker {
  position: absolute;
  bottom: -18px;
  left: -22px;
  background: var(--molar-pink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: rotate(-6deg);
  line-height: 1.15;
}

/* Blob-corner border glow — a soft colour blob that hops corner to corner
   around the edge, ported from the gradient-blob-card's translate keyframes
   (0%/25%/50%/75% = TL/TR/BR/BL) but driven via background-position so it
   can live in a masked border ring, and retinted from pink/red/yellow to
   the brand's pink/rose/gold. */
.cover-sticker::before,
.buy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background-size: 220% 220%;
  animation: blobCorners 5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Buy band sits on dark cocoa, so the warm pink/rose/gold blob glows nicely
   against it. The sticker is already solid Molar Pink, so the same blend
   would vanish into its own fill — it gets a whiter, higher-contrast blob
   instead so the ring actually reads against the pink. */
.buy-band::before {
  background-image: radial-gradient(circle at center, #fff2c4 0%, var(--molar-pink) 35%, var(--deep-rose) 60%, transparent 75%);
}

.cover-sticker::before {
  background-image: radial-gradient(circle at center, #ffffff 0%, #fff2c4 45%, var(--deep-rose) 65%, transparent 78%);
}

@keyframes blobCorners {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-sticker::before,
  .buy-band::before,
  .toc-row::before {
    animation: none;
  }
}

.cover-sticker small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  opacity: 0.85;
  letter-spacing: 0.03em;
}

/* ============================================
   Scroll reveal (checklist card)
   ============================================ */
.scroll-reveal {
  height: 60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 56px 0 0;
}

@media (min-width: 900px) {
  .scroll-reveal { height: 72rem; }
}

.scroll-reveal-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 8px;
  will-change: transform;
}

.scroll-reveal-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

/* Screen-reader-only text — keeps the heading readable to assistive tech
   while the decorative per-character spans (used for the blur-reveal
   animation) are hidden from it via aria-hidden. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Blur-reveal heading: each character starts blurred/faded/dropped and
   animates in with a per-character stagger once scrolled into view. */
.rv-word {
  display: inline-block;
  white-space: nowrap;
}

.rv-char {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

.rv-in-view .rv-char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv-char {
    transition: none;
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

.scroll-stage {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  perspective: 1400px;
}

.scroll-frame {
  width: min(720px, 88vw);
  aspect-ratio: 16 / 13;
  background: var(--cocoa);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  will-change: transform;
  transform: rotateX(20deg) scale(1.05);
}

.scroll-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--smile-ivory);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(16px, 3vw, 30px) clamp(4px, 1.5vw, 12px);
}

/* ---- Horizontally-scrollable page-preview carousel ---- */
.page-carousel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(10px, 5vw, 40px);
  scrollbar-width: none;
}

.page-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--cocoa);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--molar-pink);
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--mission-blue);
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.active {
  background: var(--molar-pink);
  opacity: 1;
  transform: scale(1.3);
}

.page-mock {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-scale: 1;
  flex: 0 0 auto;
  width: min(380px, 80vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  scroll-snap-align: center;
  cursor: pointer;
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale3d(var(--tilt-scale), var(--tilt-scale), var(--tilt-scale));
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  will-change: transform;
}

.page-mock-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-rose);
  margin-bottom: 14px;
}

.page-mock h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.page-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.page-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.35;
}

.page-checklist .chk {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--mission-blue);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-checklist li.checked {
  opacity: 0.5;
  text-decoration: line-through;
}

.page-checklist li.checked .chk {
  background: var(--molar-pink);
  border-color: var(--molar-pink);
}

/* ---- Mini DAT conversion table ---- */
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.mini-table th {
  background: var(--molar-pink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  text-align: left;
}

.mini-table th:first-child { border-radius: 8px 0 0 0; }
.mini-table th:last-child { border-radius: 0 8px 0 0; }

.mini-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--pink-tint);
  color: var(--charcoal);
}

.mini-table tr:nth-child(even) td {
  background: var(--pink-tint);
}

/* ---- Mini roadmap timeline ---- */
.mini-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-timeline li {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--mission-blue);
}

.mini-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--deep-rose);
}

.mini-timeline strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--deep-rose);
  margin-bottom: 3px;
}

.mini-timeline span {
  font-size: 0.84rem;
  color: var(--charcoal);
  line-height: 1.4;
}

/* ---- Mini school-profile stats ---- */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.mini-stats div {
  text-align: center;
  background: var(--pink-tint);
  border-radius: 8px;
  padding: 8px 4px;
}

.mini-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--deep-rose);
  font-size: 0.9rem;
}

.mini-stats span {
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  opacity: 0.75;
}

.mini-edge {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.mini-edge strong {
  color: var(--cocoa);
}

.scroll-caption {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.6;
  text-align: center;
  max-width: 40ch;
}

@media (max-width: 560px) {
  .scroll-reveal { height: 58rem; padding-top: 40px; }
  .scroll-stage { padding-top: 24px; }
  .scroll-frame { aspect-ratio: 3 / 3.5; }
  .carousel-arrow { display: none; }
  .page-carousel { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-frame { transform: none !important; }
  .scroll-reveal-head { transform: none !important; }
}

/* ============================================
   Why band
   ============================================ */
.band-blue {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Fallback fill (matches the shader's lowest colour stop) in case WebGL
     is unavailable — the canvas paints over this once it initializes. */
  background: #0b1f3a;
}

.silk-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.band-blue > .wrap {
  position: relative;
  z-index: 1;
}

/* The Silk shader is a dark navy → blue → lavender → pink field, so text
   sitting directly on the band (not inside its own white/tinted card) needs
   to flip from the site's usual dark cocoa to light, or it's illegible. */
.band-blue .why-copy h2,
.band-blue .section-head h2 {
  color: #fff;
}

.band-blue .why-copy p,
.band-blue .section-head p {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.why-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.why-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--cocoa);
  opacity: 0.85;
}

.why-copy p + p { margin-top: 14px; }

.accuracy-card {
  background: var(--smile-ivory);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.accuracy-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.accuracy-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accuracy-card li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.accuracy-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--deep-rose);
}

/* ============================================
   What's inside — TOC
   ============================================ */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.toc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--liquid-border);
  transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--liquid-border-hover);
}

/* Same blob-corner animated border as the $70 sticker / buy band, on a
   white background so the pink/gold/rose blob reads clearly without
   needing the sticker's higher-contrast variant. */
.toc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background-image: radial-gradient(circle at center, #fff2c4 0%, var(--molar-pink) 35%, var(--deep-rose) 60%, transparent 75%);
  background-size: 220% 220%;
  animation: blobCorners 5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.toc-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--mission-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-rose);
}

.toc-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--mission-blue);
  font-size: 1.3rem;
  min-width: 28px;
}

.toc-text {
  flex: 1;
}

.toc-text .part-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-rose);
  font-weight: 700;
}

.toc-text .part-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cocoa);
  font-size: 1rem;
  margin-top: 2px;
}

.toc-pages {
  font-size: 0.82rem;
  color: var(--charcoal);
  opacity: 0.55;
  white-space: nowrap;
}

/* ============================================
   Callout preview cards
   ============================================ */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.callout {
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.callout .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout p {
  font-size: 0.96rem;
  line-height: 1.6;
}

.callout-pitfall {
  background: var(--pink-tint);
}
.callout-pitfall .label { color: var(--deep-rose); }
.callout-pitfall p { color: #7A2E42; }

.callout-tip {
  background: var(--gold-tint);
}
.callout-tip .label { color: var(--gold); }
.callout-tip p { color: #6B4A16; }

.callout-intel {
  background: var(--blue-tint);
}
.callout-intel .label { color: #3E7A93; }
.callout-intel p { color: #2C5568; }

.card-icon {
  flex-shrink: 0;
}

.accuracy-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accuracy-card h3 .card-icon {
  color: var(--deep-rose);
}

/* ============================================
   Animated shader-style glow
   (same colors as each box already uses — just in motion)
   ============================================ */
.accuracy-card,
.callout {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.accuracy-card::before,
.callout::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: 0;
  filter: blur(50px);
  animation: shaderDrift 18s ease-in-out infinite;
  pointer-events: none;
}

.accuracy-card > *,
.callout > * {
  position: relative;
  z-index: 1;
}

@keyframes shaderDrift {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.accuracy-card::before {
  background: conic-gradient(from 90deg, var(--pink-tint), var(--mission-blue), var(--smile-ivory), var(--pink-tint));
  opacity: 0.22;
}

.callout-pitfall::before {
  background: conic-gradient(from 0deg, var(--pink-tint), var(--molar-pink), var(--deep-rose), var(--pink-tint));
  opacity: 0.16;
}

.callout-tip::before {
  background: conic-gradient(from 45deg, var(--gold-tint), var(--gold), #f3cd8a, var(--gold-tint));
  opacity: 0.16;
}

.callout-intel::before {
  background: conic-gradient(from 200deg, var(--blue-tint), var(--mission-blue), #3e7a93, var(--blue-tint));
  opacity: 0.16;
}

@media (prefers-reduced-motion: reduce) {
  .accuracy-card::before,
  .callout::before {
    animation: none;
  }
}

/* ============================================
   Who it's for
   ============================================ */
.for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.for-card {
  --spot-x: 50%;
  --spot-y: 0%;
  --spot-opacity: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--molar-pink);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.for-card:hover,
.for-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(250, 111, 139, 0.5), 0 18px 34px -20px rgba(233, 82, 114, 0.5), var(--shadow-card);
}

.for-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--spot-x) var(--spot-y), rgba(250, 111, 139, 0.24), transparent 70%);
  opacity: var(--spot-opacity);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.for-card > * {
  position: relative;
  z-index: 1;
}

.for-card h4 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.for-card p {
  font-size: 0.92rem;
  color: var(--charcoal);
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .for-card { transition: none; }
  .for-card:hover, .for-card:focus-within { transform: none; }
}

/* ============================================
   Final purchase band
   ============================================ */
.buy-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cocoa);
  color: var(--smile-ivory);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Living gradient — independently-drifting blurred color blobs standing
   in for the WebGL simplex-noise flow, built from colors already on the
   page (Molar Pink / Deep Rose / Cocoa), plus a low-opacity grain layer. */
.buy-band-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.buy-band-blob-1 {
  width: 55%;
  aspect-ratio: 1;
  top: -22%;
  left: -8%;
  background: radial-gradient(circle, var(--molar-pink), transparent 70%);
  animation: buyBlob1 9s ease-in-out infinite;
}

.buy-band-blob-2 {
  width: 48%;
  aspect-ratio: 1;
  bottom: -26%;
  right: 2%;
  background: radial-gradient(circle, var(--deep-rose), transparent 70%);
  animation: buyBlob2 11s ease-in-out infinite;
}

.buy-band-blob-3 {
  width: 38%;
  aspect-ratio: 1;
  top: 15%;
  right: 22%;
  background: radial-gradient(circle, #c9536f, transparent 70%);
  animation: buyBlob3 10s ease-in-out infinite;
}

@keyframes buyBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22%, 26%) scale(1.25); }
}

@keyframes buyBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24%, -20%) scale(1.2); }
}

@keyframes buyBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18%, 22%) scale(0.75); }
}

.buy-band-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.buy-band-content,
.buy-band-right {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .buy-band-blob { animation: none; }
}

.buy-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 20ch;
}

.buy-band p {
  margin-top: 12px;
  color: var(--smile-ivory);
  opacity: 0.75;
  max-width: 42ch;
}

.buy-band-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.buy-band .price-amount { color: #fff; }
.buy-band .price-currency { color: var(--smile-ivory); opacity: 0.6; }

.buy-band .hero-microcopy { color: var(--smile-ivory); opacity: 0.55; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid rgba(66, 45, 42, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-brand:hover {
  opacity: 0.75;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand-text .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cocoa);
}

.footer-brand-text .tagline {
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.65;
}

.pillars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pillar-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--pink-tint);
  color: var(--deep-rose);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.footer-bottom {
  font-size: 0.82rem;
  color: var(--charcoal);
  opacity: 0.55;
  border-top: 1px solid rgba(66, 45, 42, 0.08);
  padding-top: 24px;
  line-height: 1.7;
}

.footer-brand-line {
  font-family: var(--font-display);
  color: var(--cocoa);
  opacity: 0.85;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-legal {
  margin-top: 14px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .cover-stage { order: -1; margin-bottom: 8px; }
  .why-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .callout-grid { grid-template-columns: 1fr; }
  .for-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .for-grid { grid-template-columns: 1fr; }
  .buy-band { padding: 36px 24px; }
  .nav-brand span { display: none; }
  .cover-sticker { left: 0; bottom: -14px; font-size: 0.8rem; padding: 10px 14px; }
}
