/* ================================================================
   BeBoosted — product marketing, fitness-app energy.
   Cream paper + electric lime (success signal) + coral (gap signal).
   Space Grotesk display, Inter body, JetBrains Mono metadata.
   Parallax-driven storytelling.
   ================================================================ */

:root {
  --bb-cream: #F4F1EA;
  --bb-cream-2: #ECE7DC;
  --bb-cream-3: #E2DCCD;
  --bb-ink: #0F0E0C;
  --bb-ink-soft: #2B2824;
  --bb-ink-mute: #5C564E;
  --bb-ink-faint: #8A847A;
  --bb-lime: #CCFF33;           /* success / progress / highlight */
  --bb-lime-deep: #9BCB1A;
  --bb-coral: #FF5A4E;          /* gap / miss / attention */
  --bb-coral-deep: #D83C30;
  --bb-rule: rgba(15, 14, 12, 0.12);
  --bb-rule-soft: rgba(15, 14, 12, 0.06);
}

/* ---------- Reset + base ---------- */
html, body {
  background: var(--bb-cream);
  color: var(--bb-ink);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: clip;
}
html { overflow-x: clip !important; }
body { overflow-x: clip !important; }

/* Hide global canvas */
#bgCanvas { display: none !important; }

main, nav, footer { position: relative; z-index: 2; background: transparent; }

/* ---------- Page grain ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(1300px 800px at 90% -10%, rgba(204, 255, 51, 0.06), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(255, 90, 78, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Nav ---------- */
.nav { background: transparent; }
.nav.scrolled {
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--bb-rule);
}
.nav-logo img { filter: none; border-radius: 4px; }
.nav-logo .wordmark {
  color: var(--bb-ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links a {
  color: var(--bb-ink-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--bb-ink); }
.nav-links a.cta {
  color: var(--bb-ink);
  background: var(--bb-lime);
  border: 1px solid var(--bb-ink);
  box-shadow: 3px 3px 0 var(--bb-ink);
  transition: all 120ms ease;
}
.nav-links a.cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--bb-ink);
}

/* ---------- Type ---------- */
.bb-display {
  font-family: 'Space Grotesk', 'Inter Tight', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--bb-ink);
}
.bb-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  font-weight: 500;
}
.bb-mono.accent { color: var(--bb-coral-deep); }
.bb-mono.lime { color: var(--bb-lime-deep); }

.bb-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ---------- Reveal ---------- */
.bb-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bb-reveal.in { opacity: 1; transform: translateY(0); }
.bb-reveal.d1 { transition-delay: 80ms; }
.bb-reveal.d2 { transition-delay: 160ms; }
.bb-reveal.d3 { transition-delay: 240ms; }

/* ================================================================
   HERO — oversized type + parallax scene
   ================================================================ */
.bb-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.bb-hero-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bb-ink-mute);
  margin-bottom: 40px;
  transition: color 200ms ease;
}
.bb-hero-back:hover { color: var(--bb-ink); }
.bb-hero-back:hover .bb-mono { color: var(--bb-ink); }

.bb-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bb-rule);
}
.bb-hero-id {
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
}
.bb-hero-id .sep { color: var(--bb-ink-faint); }
.bb-hero-id .status {
  color: var(--bb-ink);
  background: var(--bb-lime);
  padding: 4px 10px;
  border: 1px solid var(--bb-ink);
}

.bb-hero-title {
  font-size: clamp(80px, 14vw, 200px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--bb-ink);
  margin: 0;
  text-wrap: balance;
  position: relative;
}
.bb-hero-title .period {
  color: var(--bb-lime-deep);
  display: inline-block;
}
.bb-hero-title .sup {
  font-size: 0.18em;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0.15em;
  color: var(--bb-ink-mute);
  margin-left: 0.2em;
}

.bb-hero-sub {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 60px;
}
.bb-hero-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--bb-ink);
  letter-spacing: -0.02em;
  max-width: 720px;
  text-wrap: balance;
}
.bb-hero-lede em {
  font-style: italic;
  color: var(--bb-coral-deep);
}
.bb-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--bb-ink);
  color: var(--bb-cream);
  position: relative;
}
.bb-hero-meta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--bb-lime);
}
.bb-hero-meta .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}
.bb-hero-meta .row:last-child { border-bottom: none; padding-bottom: 0; }
.bb-hero-meta .row .val {
  color: var(--bb-lime);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* Hero parallax layers — drifting glyphs behind the title */
.bb-hero-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bb-hero-parallax .glyph {
  position: absolute;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--bb-ink);
  opacity: 0.03;
  letter-spacing: -0.05em;
  white-space: nowrap;
  will-change: transform;
}
.bb-hero > .bb-wrap { position: relative; z-index: 2; }

/* ================================================================
   PARALLAX INTRO — the problem scene
   Two stacked panels move at different speeds.
   ================================================================ */
.bb-problem {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background: var(--bb-ink);
  color: var(--bb-cream);
  border-top: 1px solid var(--bb-ink);
}
.bb-problem::before {
  /* diagonal grid */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.bb-problem-head {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.bb-problem-head .bb-mono.accent { color: var(--bb-coral); }
.bb-problem-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--bb-cream);
  margin: 16px 0 0;
  text-wrap: balance;
}
.bb-problem-head h2 em {
  font-style: italic;
  color: var(--bb-coral);
}
.bb-problem-head p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.72);
  max-width: 460px;
}

/* The before/after split visualization */
.bb-split {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.bb-split-card {
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: rgba(244, 241, 234, 0.03);
  padding: 32px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.bb-split-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.15);
  margin-bottom: 28px;
}
.bb-split-card .card-head .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bb-split-card.before .card-head .tag { color: var(--bb-coral); }
.bb-split-card.after .card-head .tag { color: var(--bb-lime); }
.bb-split-card .card-head .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: var(--bb-cream);
  font-size: 14px;
}

/* Before: chaos — scattered sticky notes floating at angles */
.bb-chaos {
  position: relative;
  height: 340px;
}
.bb-chaos .note {
  position: absolute;
  padding: 10px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--bb-ink);
  background: var(--bb-cream);
  border: 1px solid rgba(15, 14, 12, 0.4);
  box-shadow: 2px 2px 0 rgba(255, 90, 78, 0.3);
  max-width: 170px;
  line-height: 1.25;
  transition: transform 400ms ease;
  will-change: transform;
}
.bb-chaos .note .overdue {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-coral-deep);
  margin-top: 4px;
}

/* After: structure — clean grid with lime check marks */
.bb-structure {
  position: relative;
  height: 340px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
}
.bb-structure .cell {
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 3px;
  position: relative;
  transition: background 200ms ease, border-color 200ms ease;
}
.bb-structure .cell.filled {
  background: var(--bb-lime);
  border-color: var(--bb-lime);
}
.bb-structure .cell.partial {
  background: rgba(204, 255, 51, 0.3);
  border-color: rgba(204, 255, 51, 0.5);
}
.bb-structure .cell.miss {
  background: rgba(255, 90, 78, 0.12);
  border-color: rgba(255, 90, 78, 0.3);
}

/* ================================================================
   SIGNATURE — pinned 15-week semester timeline
   Tall sticky stage; scroll progress advances the playhead.
   ================================================================ */
.bb-semester-stage {
  position: relative;
  height: 500vh;
  background: var(--bb-cream);
}
.bb-semester-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 40px;
}
.bb-semester-head {
  max-width: 1320px;
  margin: 0 auto 30px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.bb-semester-head .lead h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--bb-ink);
  margin: 12px 0 0;
  max-width: 720px;
}
.bb-semester-head .lead h3 em {
  font-style: italic;
  color: var(--bb-lime-deep);
}
.bb-semester-head .week-readout {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 56px;
  color: var(--bb-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.bb-semester-head .week-readout .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  font-weight: 500;
  margin-bottom: 4px;
}
.bb-semester-head .week-readout .week-num { color: var(--bb-lime-deep); }

/* Timeline */
.bb-timeline {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tracks: long-arc goal bar, weekly habits row, weekly review markers */
.bb-track {
  position: relative;
  margin-bottom: 22px;
}
.bb-track .track-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.bb-track .track-label .stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--bb-ink);
}
.bb-track .track-label .stat .num { color: var(--bb-lime-deep); font-variant-numeric: tabular-nums; }

/* Goal bar */
.bb-goal-bar {
  position: relative;
  height: 44px;
  border: 1px solid var(--bb-ink);
  background: var(--bb-cream-2);
  overflow: hidden;
}
.bb-goal-bar .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--bb-lime);
  transition: width 80ms linear;
}
.bb-goal-bar .label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--bb-ink);
  mix-blend-mode: difference;
  color: var(--bb-cream);
  z-index: 2;
  pointer-events: none;
}
.bb-goal-bar .pct {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--bb-ink);
  mix-blend-mode: difference;
  color: var(--bb-cream);
  z-index: 2;
  pointer-events: none;
}
/* Weekly grid */
.bb-weeks {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  position: relative;
}
.bb-weeks .week {
  aspect-ratio: 1 / 1;
  max-height: 40px;
  border: 1px solid var(--bb-ink);
  background: var(--bb-cream-2);
  position: relative;
  transition: background 200ms ease, border-color 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-weeks .week::before {
  content: attr(data-w);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--bb-ink-faint);
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}
.bb-weeks .week.done { background: var(--bb-lime); }
.bb-weeks .week.done::before { color: var(--bb-ink); font-weight: 600; }
.bb-weeks .week.partial { background: rgba(204, 255, 51, 0.4); }
.bb-weeks .week.miss { background: rgba(255, 90, 78, 0.15); border-color: rgba(255, 90, 78, 0.4); }
.bb-weeks .week.miss::before { color: var(--bb-coral-deep); }
.bb-weeks .week.active {
  outline: 3px solid var(--bb-ink);
  outline-offset: 2px;
  z-index: 3;
}
.bb-weeks .week.review::after {
  content: '★';
  position: absolute;
  top: -10px; right: -6px;
  font-size: 12px;
  color: var(--bb-coral-deep);
}

/* Playhead — moves along a rule below weeks */
.bb-playhead-rule {
  position: relative;
  height: 32px;
  margin-top: 10px;
  border-top: 1px dashed var(--bb-ink);
}
.bb-playhead {
  position: absolute;
  top: -12px;
  left: 0%;
  width: 24px; height: 24px;
  transform: translateX(-50%);
  background: var(--bb-ink);
  border: 2px solid var(--bb-lime);
  border-radius: 50%;
  transition: left 80ms linear;
  will-change: left;
  z-index: 5;
}
.bb-playhead::after {
  content: 'NOW';
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bb-ink);
  font-weight: 600;
}

/* Stat row below timeline */
.bb-stat-row {
  max-width: 1320px;
  margin: 28px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bb-rule);
  border-bottom: 1px solid var(--bb-rule);
}
.bb-stat-row .s {
  padding: 16px 20px;
  border-right: 1px solid var(--bb-rule-soft);
}
.bb-stat-row .s:last-child { border-right: none; }
.bb-stat-row .s .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  margin-bottom: 6px;
}
.bb-stat-row .s .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--bb-ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
}
.bb-stat-row .s .v.lime { color: var(--bb-lime-deep); }
.bb-stat-row .s .v.coral { color: var(--bb-coral-deep); }

/* ================================================================
   HOW IT WORKS — 3 column breakdown
   ================================================================ */
.bb-how {
  padding: 140px 0;
  position: relative;
}
.bb-how-head {
  max-width: 1320px;
  margin: 0 auto 70px;
  padding: 0 40px;
}
.bb-how-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--bb-ink);
  margin: 16px 0 20px;
  text-wrap: balance;
  max-width: 920px;
}
.bb-how-head h2 em { font-style: italic; color: var(--bb-lime-deep); }
.bb-how-head p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--bb-ink-mute);
  max-width: 620px;
}

.bb-how-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--bb-ink);
  border-bottom: 1px solid var(--bb-ink);
}
.bb-how-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--bb-rule);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.bb-how-cell:last-child { border-right: none; }
.bb-how-cell .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  font-weight: 600;
  color: var(--bb-ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.bb-how-cell .num sup {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  vertical-align: top;
  letter-spacing: 0.14em;
  color: var(--bb-coral-deep);
  margin-left: 4px;
}
.bb-how-cell h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--bb-ink);
  margin: 0 0 12px;
}
.bb-how-cell p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bb-ink-mute);
  margin: 0 0 20px;
  flex: 1;
}
.bb-how-cell .hint {
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-ink);
  padding-top: 16px;
  border-top: 1px solid var(--bb-rule);
}
.bb-how-cell .hint .tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bb-lime);
  border: 1px solid var(--bb-ink);
  color: var(--bb-ink);
  margin-right: 8px;
}

/* ================================================================
   MOCK PRODUCT SCREEN
   ================================================================ */
.bb-mock {
  padding: 120px 0;
  background: var(--bb-ink);
  color: var(--bb-cream);
  position: relative;
  overflow: hidden;
}
.bb-mock::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.bb-mock-head {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto 60px; padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.bb-mock-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bb-cream);
  margin: 14px 0 0;
}
.bb-mock-head h2 em { font-style: italic; color: var(--bb-lime); }
.bb-mock-head .cap {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.7);
  max-width: 460px;
}

.bb-mock-app {
  position: relative; z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
.bb-mock-window {
  background: var(--bb-cream);
  color: var(--bb-ink);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.15);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.bb-mock-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bb-cream-2);
  border-bottom: 1px solid var(--bb-rule);
  gap: 8px;
}
.bb-mock-chrome .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(15, 14, 12, 0.2);
}
.bb-mock-chrome .title {
  margin-left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
}

/* Mock sidebar */
.bb-mock-sidebar .bb-mock-window { min-height: 520px; }
.bb-mock-nav { padding: 18px; }
.bb-mock-nav .profile {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--bb-rule);
}
.bb-mock-nav .profile .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bb-lime);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--bb-ink);
}
.bb-mock-nav .profile .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--bb-ink);
}
.bb-mock-nav .profile .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
}
.bb-mock-nav .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-ink-faint);
  margin: 14px 0 8px;
}
.bb-mock-nav .nav-item {
  padding: 7px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--bb-ink-soft);
  border-radius: 4px;
  cursor: default;
  display: flex; justify-content: space-between; align-items: center;
}
.bb-mock-nav .nav-item.active {
  background: var(--bb-ink);
  color: var(--bb-lime);
}
.bb-mock-nav .nav-item .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--bb-ink-faint);
}
.bb-mock-nav .nav-item.active .count { color: var(--bb-lime); }

/* Mock main panel */
.bb-mock-main .bb-mock-window { min-height: 520px; }
.bb-mock-body { padding: 28px 32px; }
.bb-mock-body .greeting {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  margin-bottom: 4px;
}
.bb-mock-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--bb-ink);
  margin: 0 0 4px;
}
.bb-mock-body .ctx {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--bb-ink-mute);
  margin-bottom: 28px;
}

.bb-goal-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bb-goal-item {
  border: 1px solid var(--bb-rule);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 140px 60px;
  gap: 14px;
  align-items: center;
}
.bb-goal-item .title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--bb-ink);
}
.bb-goal-item .subline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
  margin-top: 3px;
}
.bb-goal-item .mini-bar {
  height: 6px;
  background: var(--bb-cream-2);
  border: 1px solid var(--bb-rule);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.bb-goal-item .mini-bar .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--bb-lime);
}
.bb-goal-item .pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--bb-ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Habit row */
.bb-habit-grid {
  display: grid;
  grid-template-columns: 150px repeat(7, 1fr);
  gap: 4px;
  margin-top: 20px;
}
.bb-habit-grid .head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-ink-faint);
  padding: 4px 0;
}
.bb-habit-grid .head.name { grid-column: 1; }
.bb-habit-grid .name-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--bb-ink);
  padding: 6px 0;
}
.bb-habit-grid .cell {
  aspect-ratio: 1 / 1;
  max-height: 22px;
  border: 1px solid var(--bb-rule);
  background: var(--bb-cream-2);
  border-radius: 3px;
}
.bb-habit-grid .cell.done { background: var(--bb-lime); border-color: var(--bb-ink); }
.bb-habit-grid .cell.miss { background: rgba(255, 90, 78, 0.15); border-color: rgba(255, 90, 78, 0.3); }
.bb-habit-grid .cell.today { outline: 2px solid var(--bb-ink); outline-offset: 1px; }

/* Annotations overlay */
.bb-annotation {
  position: absolute;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--bb-cream);
  pointer-events: none;
  z-index: 5;
  max-width: 220px;
  line-height: 1.3;
}
.bb-annotation .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-lime);
  margin-bottom: 4px;
}
.bb-annotation .line {
  position: absolute;
  background: var(--bb-lime);
}

/* ================================================================
   MILESTONES + TEAM — side by side
   ================================================================ */
.bb-closing {
  padding: 140px 0;
}
.bb-closing-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}
.bb-closing .bb-mono { margin-bottom: 14px; display: inline-block; }
.bb-closing h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--bb-ink);
  margin: 0 0 32px;
  max-width: 520px;
}
.bb-closing p {
  font-size: 17px;
  line-height: 1.58;
  color: var(--bb-ink-mute);
  margin: 0 0 16px;
  max-width: 540px;
}
.bb-closing a.inline {
  color: var(--bb-ink);
  border-bottom: 2px solid var(--bb-lime);
  font-weight: 500;
  text-decoration: none;
}
.bb-closing a.inline:hover { color: var(--bb-lime-deep); }

/* Timeline ladder */
.bb-ladder { display: flex; flex-direction: column; gap: 0; }
.bb-ladder .rung {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--bb-rule);
  align-items: baseline;
}
.bb-ladder .rung .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-ink-mute);
}
.bb-ladder .rung .body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  color: var(--bb-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bb-ladder .rung .state {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
}
.bb-ladder .rung .state.done { color: var(--bb-lime-deep); }
.bb-ladder .rung .state.active { color: var(--bb-ink); background: var(--bb-lime); border-color: var(--bb-ink); }
.bb-ladder .rung .state.next { color: var(--bb-ink-mute); }
.bb-ladder .rung .state.later { color: var(--bb-ink-faint); }

/* ================================================================
   FINAL CTA
   ================================================================ */
.bb-cta {
  padding: 100px 0 140px;
  background: var(--bb-ink);
  color: var(--bb-cream);
  position: relative;
  overflow: hidden;
}
.bb-cta::before {
  content: 'BeBoosted.';
  position: absolute;
  right: -60px; bottom: -40px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 360px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(204, 255, 51, 0.06);
  pointer-events: none;
  will-change: transform;
}
.bb-cta .bb-wrap { position: relative; z-index: 2; }
.bb-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--bb-cream);
  margin: 20px 0 32px;
  max-width: 900px;
  text-wrap: balance;
}
.bb-cta h2 em { font-style: italic; color: var(--bb-lime); }
.bb-cta p {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.72);
  max-width: 540px;
  margin: 0 0 32px;
}
.bb-cta .buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.bb-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--bb-cream);
  transition: all 120ms ease;
}
.bb-cta .btn.primary {
  background: var(--bb-lime);
  color: var(--bb-ink);
  border-color: var(--bb-lime);
  box-shadow: 4px 4px 0 var(--bb-cream);
}
.bb-cta .btn.primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--bb-cream); }
.bb-cta .btn.ghost {
  color: var(--bb-cream);
  background: transparent;
}
.bb-cta .btn.ghost:hover { background: var(--bb-cream); color: var(--bb-ink); }

/* ================================================================
   FOOTER recolor
   ================================================================ */
footer {
  background: var(--bb-cream-2);
  border-top: 1px solid var(--bb-rule);
  color: var(--bb-ink-mute);
  backdrop-filter: none;
}
footer .foot-brand img { filter: none; border-radius: 4px; }
footer .foot-brand .wordmark { color: var(--bb-ink); font-family: 'Space Grotesk', sans-serif; }
footer .foot-brand p { color: var(--bb-ink-mute); }
footer .foot-col h4 { color: var(--bb-ink); font-family: 'Space Grotesk', sans-serif; }
footer .foot-col a { color: var(--bb-ink-mute); }
footer .foot-col a:hover { color: var(--bb-lime-deep); }
footer .foot-bottom { border-top: 1px solid var(--bb-rule); color: var(--bb-ink-faint); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .bb-hero-sub { grid-template-columns: 1fr; }
  .bb-problem-head,
  .bb-mock-head { grid-template-columns: 1fr; gap: 24px; }
  .bb-split { grid-template-columns: 1fr; }
  .bb-how-grid { grid-template-columns: 1fr; }
  .bb-how-cell { border-right: none; border-bottom: 1px solid var(--bb-rule); }
  .bb-how-cell:last-child { border-bottom: none; }
  .bb-mock-app { grid-template-columns: 1fr; }
  .bb-closing-grid { grid-template-columns: 1fr; gap: 48px; }
  .bb-stat-row { grid-template-columns: repeat(2, 1fr); }
  .bb-semester-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .bb-wrap { padding: 0 24px; }
  .bb-hero { padding-top: 120px; }
  .bb-weeks { grid-template-columns: repeat(5, 1fr); }
  .bb-stat-row { grid-template-columns: 1fr; }
  .bb-habit-grid { grid-template-columns: 120px repeat(7, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .bb-reveal { opacity: 1; transform: none; transition: none; }
  .bb-semester-stage { height: auto; }
  .bb-semester-pin { position: static; height: auto; }
  .bb-hero-parallax { display: none; }
  .bb-cta::before { display: none; }
}
