/* ============================================================
   HERE GOES NOTHING — stylesheet (journal / light theme)
   Sections: 1. Tokens  2. Base  3. Layout helpers  4. Doodle bits
   5. Header + sticky stat strip  6. Hero  7. Question  8. Scoreboard
   9. Experiment  10. Journey/timeline  11. What you'll see
   12. Follow  13. Reality check  14. Footer  15. Motion & responsive
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root{
  --paper:       #fbf6ea;
  --paper-line:  rgba(20,22,26,0.07);
  --card:        #ffffff;
  --ink:         #16181c;
  --ink-dim:     rgba(22,24,28,0.66);
  --line:        rgba(22,24,28,0.14);

  --yellow:      #ffce1b;
  --yellow-soft: #fff1b8;
  --blue:        #2f7fe0;
  --blue-deep:   #1957c2;
  --pink:        #ff5c8a;
  --pink-deep:   #d63b78;
  --green:       #12a150;
  --coral:       #e1432b;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-hand:    "Kalam", cursive;

  --wrap: 1120px;
  --radius: 16px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:
    repeating-linear-gradient(var(--paper-line) 0 1px, transparent 1px 38px),
    var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ font-family:var(--font-display); color:var(--ink); line-height:1.08; margin:0; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
svg{ display:block; }
img{ max-width:100%; display:block; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

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

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--yellow); color:var(--ink);
  padding:10px 16px; z-index:300; font-weight:600;
}
.skip-link:focus{ left:12px; top:12px; }

/* ---------- 3. Layout helpers ---------- */
.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }

.section-title{
  font-size:clamp(28px, 4.2vw, 40px);
  font-weight:700;
  letter-spacing:-0.01em;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.section-title-doodle{ font-size:0.62em; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:600; font-size:15px;
  padding:14px 24px; border-radius:999px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-2px) rotate(-0.4deg); }
.btn-primary{ background:var(--yellow); color:var(--ink); box-shadow:0 4px 0 rgba(22,24,28,0.18); }
.btn-primary:hover{ box-shadow:0 6px 0 rgba(22,24,28,0.18); }
.btn-secondary{ background:var(--card); color:var(--ink); border:2px solid var(--ink); }
.btn-secondary:hover{ background:var(--yellow-soft); }
.btn-ghost{ background:var(--card); border:2px solid var(--ink); padding:9px 16px; font-size:14px; border-radius:999px; }
.btn-ghost:hover{ background:var(--yellow); }

section{ padding:76px 0; }

/* ---------- 4. Doodle bits: tape, bubbles, page cards ---------- */
.tape{
  position:absolute;
  width:92px; height:30px;
  top:-14px; left:28px;
  transform:rotate(-4deg);
  opacity:0.9;
  background:repeating-linear-gradient(115deg, rgba(255,255,255,0.35) 0 6px, transparent 6px 12px);
}
.tape-yellow{ background-color:var(--yellow); }
.tape-blue{ background-color:var(--blue); }
.tape-pink{ background-color:var(--pink); }
.tape-corner{ top:-16px; right:24px; left:auto; transform:rotate(7deg); }

.page-card{
  position:relative;
  background:var(--card);
  border:2px solid var(--ink);
  border-radius:var(--radius);
  box-shadow:6px 6px 0 rgba(22,24,28,0.10);
  padding:40px;
}

.bubble{
  position:relative;
  background:var(--card);
  border:2px solid var(--ink);
  border-radius:20px;
  padding:14px 18px;
  font-family:var(--font-hand);
  font-size:19px;
  line-height:1.3;
  box-shadow:4px 4px 0 rgba(22,24,28,0.10);
}
.bubble::after{
  content:"";
  position:absolute;
  width:20px; height:20px;
  background:var(--card);
  border-right:2px solid var(--ink);
  border-bottom:2px solid var(--ink);
}

/* ---------- 5. Header + sticky stat strip ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--paper);
  border-bottom:2px solid var(--ink);
}
.header-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-icon{ width:38px; height:38px; border-radius:50%; }
.brand-word{ display:flex; flex-direction:column; line-height:0.98; font-family:var(--font-display); font-weight:700; font-size:13.5px; letter-spacing:0.01em; }
.brand-word-accent{ color:var(--blue-deep); }

.stat-strip{ border-top:1px solid var(--line); background:var(--ink); }
.stat-strip-row{
  display:flex; gap:22px; overflow-x:auto;
  padding:8px 24px;
  scrollbar-width:none;
}
.stat-strip-row::-webkit-scrollbar{ display:none; }
.stat-chip{ display:flex; align-items:baseline; gap:6px; white-space:nowrap; }
.stat-chip-label{ font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:rgba(251,246,234,0.55); }
.stat-chip-value{ font-family:var(--font-mono); font-weight:700; font-size:14px; color:var(--paper); font-variant-numeric:tabular-nums; }
.stat-chip--coral{ color:#ff8a76; }
.stat-chip--green{ color:var(--green); filter:brightness(1.5) saturate(1.3); }
.stat-chip--blue{ color:#8fb6ff; }
.stat-chip-value.count-pop{ animation:countPop .3s ease; }

/* ---------- 6. Hero ---------- */
.hero{ padding-top:60px; padding-bottom:64px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:52px; align-items:center; }

.kicker{ font-family:var(--font-hand); font-size:17px; color:var(--blue-deep); margin-bottom:14px; }

.hero-title{ font-size:clamp(40px, 6.6vw, 70px); font-weight:700; letter-spacing:-0.02em; }
.hero-title-nothing{ position:relative; display:inline-block; color:var(--blue-deep); }
.brush-svg{ position:absolute; left:-2%; bottom:-0.14em; width:104%; height:0.26em; stroke:var(--yellow); stroke-width:8; fill:none; stroke-linecap:round; }

.hero-tagline{ font-family:var(--font-hand); font-size:clamp(20px,2.4vw,26px); color:var(--ink); margin-top:12px; }

.hero-body{ margin-top:20px; max-width:50ch; font-size:16.5px; color:var(--ink-dim); }
.hero-body strong{ color:var(--pink-deep); }

.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }

.jump-nav{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.jump-nav a{
  font-family:var(--font-display); font-weight:600; font-size:13.5px;
  background:var(--card); border:1.5px solid var(--line); border-radius:999px;
  padding:7px 14px;
}
.jump-nav a:hover{ border-color:var(--ink); background:var(--yellow-soft); }

.hero-art{ position:relative; display:flex; justify-content:center; }
.hero-badge-wrap{ position:relative; width:min(320px, 78vw); }
.hero-badge{ width:100%; height:auto; transform:rotate(-3deg); filter:drop-shadow(6px 8px 0 rgba(22,24,28,0.14)); }
.hero-badge-wrap .tape{ top:-10px; left:50%; margin-left:-46px; transform:rotate(-2deg); z-index:2; }

.bubble-hero{ position:absolute; bottom:-14px; right:-8px; max-width:200px; transform:rotate(3deg); }
.bubble-hero::after{ top:-9px; left:36px; transform:rotate(225deg); }

.doodle-star-hero{ position:absolute; top:6px; left:-6px; width:34px; height:34px; fill:var(--pink); }

/* ---------- 7. Question ---------- */
.question-card{ max-width:760px; margin:0 auto; }
.question-title{ font-size:clamp(24px,3.6vw,34px); font-weight:600; }
.question-answer{ font-family:var(--font-hand); font-size:23px; color:var(--pink-deep); margin-top:18px; }
.question-body{ margin-top:12px; color:var(--ink-dim); font-size:16px; max-width:62ch; }

/* ---------- 8. Scoreboard ---------- */
.scoreboard{ background:var(--yellow-soft); border-top:2px solid var(--ink); border-bottom:2px solid var(--ink); }
.scoreboard-head{ max-width:640px; }
.scoreboard-sub{ color:var(--ink-dim); font-size:16px; }
.scoreboard-meta{
  display:flex; align-items:center; gap:10px; margin-top:18px; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:13px; color:var(--ink-dim);
}
.scoreboard-day{ color:var(--blue-deep); font-weight:700; }
.scoreboard-dot{ opacity:0.5; }

.sound-toggle{
  margin-left:auto; display:inline-flex; align-items:center; gap:6px;
  border:1.5px solid var(--ink); border-radius:999px; padding:6px 12px;
  font-family:var(--font-mono); font-size:12px; background:var(--card);
}
.sound-toggle:hover{ background:var(--pink); color:var(--card); }
.sound-toggle[aria-pressed="false"] .sound-icon{ opacity:0.4; }

.board-grid{ margin-top:32px; display:grid; grid-template-columns:repeat(3, 1fr); gap:22px 20px; }

.board-card{
  position:relative;
  background:var(--card);
  border:2px solid var(--ink);
  border-radius:var(--radius);
  padding:26px 22px;
  display:flex; flex-direction:column; gap:8px;
  box-shadow:5px 5px 0 rgba(22,24,28,0.14);
}
.board-card--rotate-l{ transform:rotate(-1.4deg); }
.board-card--rotate-r{ transform:rotate(1.4deg); }
.board-card--hero{ background:#f2fff6; }

.board-label{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.06em; color:var(--ink-dim); }

.board-value{
  font-family:var(--font-mono); font-weight:700;
  font-size:clamp(28px, 3.2vw, 36px);
  letter-spacing:-0.01em; color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.board-value--coral{ color:var(--coral); }
.board-value--green{ color:var(--green); }
.board-value--blue{ color:var(--blue-deep); }

.board-value.count-pop{ animation:countPop .32s ease; }
@keyframes countPop{ 0%{ transform:scale(1); } 40%{ transform:scale(1.1); } 100%{ transform:scale(1); } }

.bubble-board{ position:absolute; right:-14px; bottom:-30px; font-size:14px; padding:8px 12px; transform:rotate(4deg); z-index:2; }
.bubble-board::after{ top:-8px; left:20px; transform:rotate(225deg); width:14px; height:14px; }

.breakeven{ margin-top:34px; max-width:520px; }
.breakeven-labels{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:12.5px; color:var(--ink-dim); margin-bottom:6px; }
#breakeven-pct{ color:var(--blue-deep); font-weight:700; }
.breakeven-track{ height:14px; border-radius:999px; background:var(--card); border:2px solid var(--ink); overflow:hidden; }
.breakeven-fill{ height:100%; width:0%; background:linear-gradient(90deg, var(--pink), var(--blue)); transition:width 1.1s cubic-bezier(.2,.8,.2,1); }

.scoreboard-footnote{ margin-top:26px; color:var(--ink-dim); font-size:14.5px; }

/* ---------- 9. Experiment ---------- */
.experiment-intro{ color:var(--ink-dim); font-size:16.5px; margin-bottom:30px; }
.rules-list{ display:grid; grid-template-columns:1fr 1fr; gap:18px 36px; }
.rule{ display:flex; gap:14px; align-items:flex-start; background:var(--card); border:1.5px solid var(--line); border-radius:12px; padding:16px 18px; }
.rule-check{ flex:none; width:26px; height:22px; margin-top:3px; color:var(--green); }
.rule-check svg{ stroke:currentColor; stroke-width:3; fill:none; stroke-linecap:round; stroke-linejoin:round; width:100%; height:100%; }
.rule-title{ font-size:17px; font-weight:600; margin-bottom:3px; }
.rule-body{ color:var(--ink-dim); font-size:14.5px; max-width:38ch; }

/* ---------- 10. Journey / timeline ---------- */
.journey{ background:#eef4ff; border-top:2px solid var(--ink); border-bottom:2px solid var(--ink); }
.journey-intro{ color:var(--ink-dim); font-size:16px; max-width:56ch; margin-bottom:36px; }

.timeline{ position:relative; padding-left:30px; display:flex; flex-direction:column; gap:26px; }
.timeline::before{
  content:"";
  position:absolute; left:6px; top:4px; bottom:4px; width:3px;
  background-image: radial-gradient(var(--ink) 2px, transparent 2.5px);
  background-size: 3px 14px;
  opacity:0.35;
}
.milestone{
  position:relative;
  background:var(--card);
  border:2px solid var(--ink);
  border-radius:14px;
  padding:20px 22px;
  box-shadow:4px 4px 0 rgba(22,24,28,0.10);
}
.milestone::before{
  content:""; position:absolute; left:-30px; top:22px;
  width:13px; height:13px; border-radius:50%;
  background:var(--pink); border:2px solid var(--ink);
}
.milestone-day{
  display:inline-block;
  font-family:var(--font-mono); font-size:12.5px; font-weight:700;
  color:var(--ink); background:var(--yellow);
  border:1.5px solid var(--ink); border-radius:999px;
  padding:2px 10px; transform:rotate(-2deg);
}
.milestone-title{ font-family:var(--font-display); font-size:19px; font-weight:600; margin-top:10px; }
.milestone-body{ color:var(--ink-dim); font-size:15px; margin-top:6px; max-width:60ch; }
.milestone-stats{ display:flex; gap:16px; flex-wrap:wrap; margin-top:12px; font-family:var(--font-mono); font-size:12.5px; color:var(--ink-dim); }
.milestone-stats span strong{ color:var(--green); }

/* ---------- 11. What you'll see ---------- */
.whatyouget-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.wyg-card{ background:var(--card); border:1.5px solid var(--line); border-radius:14px; padding:22px; }
.wyg-emoji{ font-size:26px; display:block; margin-bottom:8px; }
.wyg-card h3{ font-size:16.5px; font-weight:600; margin-bottom:6px; color:var(--blue-deep); }
.wyg-card p{ color:var(--ink-dim); font-size:14.5px; }

/* ---------- 12. Follow ---------- */
.follow{ background:var(--ink); color:var(--paper); border-top:2px solid var(--ink); }
.follow .section-title{ color:var(--paper); }
.follow-intro{ color:rgba(251,246,234,0.72); font-size:16.5px; margin-bottom:32px; }
.follow-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.follow-card{
  display:flex; flex-direction:column; gap:8px;
  padding:24px; border-radius:16px; border:2px solid transparent;
  color:var(--ink);
  transition:transform .15s ease;
}
.follow-card:hover{ transform:translateY(-3px) rotate(-0.6deg); }
.follow-card--yellow{ background:var(--yellow); }
.follow-card--blue{ background:#7fb0ff; }
.follow-card--pink{ background:var(--pink); }
.follow-icon{ width:26px; height:26px; }
.follow-icon svg{ width:100%; height:100%; }
.follow-name{ font-family:var(--font-display); font-size:19px; font-weight:700; }
.follow-cta{ font-size:13.5px; opacity:0.8; }
.follow-note{ margin-top:26px; font-family:var(--font-hand); font-size:16px; color:rgba(251,246,234,0.7); }

/* ---------- 13. Reality check ---------- */
.reality-check{ padding:54px 0; }
.reality-check-card{ max-width:680px; margin:0 auto; box-shadow:none; border-style:dashed; }
.reality-check-title{ font-family:var(--font-hand); font-size:19px; margin-bottom:10px; }
.reality-check p{ color:var(--ink-dim); font-size:14.5px; line-height:1.7; }

/* ---------- 14. Footer ---------- */
.site-footer{ border-top:2px solid var(--ink); padding:40px 0 24px; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:20px; }
.footer-brand{ display:flex; align-items:center; gap:14px; }
.footer-icon{ width:44px; height:44px; border-radius:50%; }
.footer-word{ font-family:var(--font-display); font-weight:700; font-size:15px; }
.footer-tagline{ margin-top:4px; color:var(--ink-dim); font-size:13.5px; }
.footer-links{ display:flex; gap:20px; font-size:14px; color:var(--ink-dim); }
.footer-links a:hover{ color:var(--blue-deep); }
.footer-bottom{ margin-top:26px; font-size:12.5px; color:var(--ink-dim); opacity:0.7; }

/* ---------- 15. Motion & responsive ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .board-value.count-pop, .stat-chip-value.count-pop{ animation:none; }
  .btn:hover, .follow-card:hover{ transform:none; }
  .breakeven-fill{ transition:none; }
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-art{ order:-1; }
  .rules-list{ grid-template-columns:1fr; }
  .whatyouget-grid{ grid-template-columns:1fr 1fr; }
  .follow-grid{ grid-template-columns:1fr; }
  .board-grid{ grid-template-columns:1fr 1fr; }
  .board-card--hero{ grid-column:span 2; }
}

@media (max-width: 560px){
  section{ padding:56px 0; }
  .wrap{ padding:0 18px; }
  .header-row{ padding:12px 18px; }
  .header-cta{ padding:8px 13px; font-size:12.5px; }
  .board-grid{ grid-template-columns:1fr; }
  .board-card--hero{ grid-column:span 1; }
  .whatyouget-grid{ grid-template-columns:1fr; }
  .page-card{ padding:26px; }
  .sound-toggle{ margin-left:0; }
}
