/* Landing page. One memorable thing: the board and the voice, staged like a
   product film as you scroll. Everything around it stays quiet. */

.landing { overflow-x: clip; }
.skip:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }

/* Yeet's mark: a marker cap with two dots for eyes */

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px max(20px, env(safe-area-inset-left)); transition: box-shadow 300ms, transform 400ms var(--out); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.nav nav { display: flex; gap: 22px; margin-left: 12px; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: var(--t-sm); }
.nav nav a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 760px) { .nav nav { display: none; } .nav-cta .ghost { display: none; } }

/* Hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 110px max(24px, 5vw) 60px; max-width: 1440px; margin: 0 auto; }
.hero-title { font-size: var(--t-hero); line-height: 0.92; letter-spacing: -0.045em; font-weight: 750; font-stretch: 88%; }
.hero-title .line { display: block; }
.hero-copy { display: grid; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: var(--t-sm); color: var(--ink-3); }
.hero-stage { position: relative; perspective: 1400px; }
.device { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-2), 0 0 0 10px var(--cobalt), 0 0 0 11px rgba(255,255,255,.1); overflow: hidden; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d; }

.device canvas { width: 100%; height: calc(100% - 38px); }
.device-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.device-bar b { margin-left: 8px; font-weight: 700; }
.voice-pill { position: absolute; left: -6%; bottom: -7%; display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: var(--r-pill); background: var(--butter); color: #0d1b5e; box-shadow: var(--shadow-2); max-width: 82%; }
.vp-text { display: grid; gap: 1px; }
.vp-text small { font-size: var(--t-xs); opacity: .65; font-weight: 600; }
.vp-text span { font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; }
  .device { transform: none; }
  .voice-pill { left: 4%; bottom: -10%; }
  .hero-stage { margin-bottom: 40px; }
}


/* Pinned lesson */
.lesson { position: relative; }
.lesson-pin { height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 84px max(20px, 4vw) 22px; max-width: 1500px; margin: 0 auto; }
.lesson-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lesson-head p { max-width: 44ch; }
.lesson-stage { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; min-height: 0; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; gap: 4px; counter-reset: beat; }
.beats li { counter-increment: beat; position: relative; padding: 12px 12px 12px 52px; border-radius: var(--r-md); color: var(--ink-3); transition: color 300ms, background 300ms; }
.beats li::before { content: counter(beat); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 var(--t-sm)/1 var(--text); background: var(--line); color: var(--ink-2); transition: background 300ms, color 300ms, transform 400ms var(--spring); }
.beats b { display: block; font-size: var(--t-md); }
.beats span { font-size: var(--t-sm); }
.beats li.on { color: var(--ink); background: var(--card); box-shadow: var(--shadow-1); }
.beats li.on::before { background: var(--cobalt); color: var(--butter); transform: scale(1.08); }
.beats li.done::before { background: var(--cherry); color: #fff; content: "✓"; }
.lesson-board { position: relative; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-2); overflow: hidden; min-height: 0; transform-origin: 60% 50%; }
.lesson-board canvas { width: 100%; height: 100%; }
.talk { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; justify-items: start; pointer-events: none; }
.bubble { display: flex; gap: 12px; align-items: center; max-width: min(560px, 92%); padding: 12px 18px; border-radius: 22px; box-shadow: var(--shadow-2); }
.bubble small { display: block; font-size: var(--t-xs); font-weight: 700; opacity: .65; }
.bubble span { font-weight: 600; line-height: 1.35; }
.bubble.kid { background: var(--butter); color: #0d1b5e; border-bottom-left-radius: 6px; justify-self: end; }
.bubble.voice { background: var(--cobalt); color: #fff8de; border-bottom-left-radius: 6px; }
.lesson-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lesson-progress i { display: block; height: 100%; width: 100%; background: var(--cherry); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 900px) {
  .lesson-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; }
  .beats { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .beats li { padding: 8px 12px 8px 44px; }
  .beats li span { display: none; }
  .beats li::before { top: 8px; left: 10px; }
  .lesson-head p { display: none; }
  .bubble { padding: 10px 14px; font-size: var(--t-sm); }
}

/* Statement */
.statement { min-height: 90svh; display: grid; place-items: center; padding: 10vh max(24px, 6vw); background: var(--butter); color: #0d1b5e; }
.big-type { font: 750 clamp(2.6rem, 8vw, 7rem)/0.98 var(--display); letter-spacing: -0.045em; max-width: 14ch; font-stretch: 85%; }
.big-type span { display: inline; color: rgba(35, 64, 240, 0.28); transition: color 200ms; }
.big-type span.lit { color: var(--cobalt); }

/* Horizontal interests */
.interests-pin { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; gap: 28px; padding: 96px 0 40px; overflow: hidden; }
.interests-head { padding: 0 max(24px, 5vw); display: grid; gap: 14px; max-width: 900px; }
.interests-head p { max-width: 52ch; }
.track { display: flex; gap: 24px; padding: 0 max(24px, 5vw); width: max-content; align-items: stretch; }
.panel { width: min(78vw, 520px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1); border-top: 6px solid var(--tint); }
.panel canvas { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.panel-top { display: grid; gap: 8px; }
.chip { justify-self: start; font-size: var(--t-xs); font-weight: 700; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--tint) 18%, transparent); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .track { width: auto; flex-wrap: wrap; } }

/* Argue */
.argue { padding: 16vh max(24px, 6vw); background: var(--cobalt); color: var(--butter); }
.argue-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 32px; }
.argue-title { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.045em; font-stretch: 85%; }
.argue .lede { color: rgba(255, 248, 222, 0.82); max-width: 52ch; }
.argue-title { color: var(--butter); }
.convo { display: grid; gap: 18px; margin-top: 24px; }
.c { max-width: 760px; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.c { color: #fff8de; }
.c small { display: block; width: fit-content; font-size: var(--t-sm); font-weight: 800; margin-bottom: 8px; padding: 3px 10px; border-radius: 99px; background: var(--cherry); color: #fff; }
.c.ai small { background: var(--butter); color: #0d1b5e; margin-left: auto; }
.c.ai { justify-self: end; text-align: right; }
.c .w { opacity: 0.16; transition: opacity 120ms; }
.c .w.lit { opacity: 1; }

/* Powers: sticky board + scrolling list */
.powers { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 14vh max(24px, 5vw); max-width: 1440px; margin: 0 auto; }
.powers-board-wrap { position: relative; }
.powers-board { position: sticky; top: 14vh; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--card); box-shadow: var(--shadow-2); }
.powers-board canvas { width: 100%; height: 100%; }
.powers-list { display: grid; gap: 0; }
.powers-list h2 { margin-bottom: 8vh; }
.power { min-height: 46vh; display: grid; align-content: center; gap: 10px; opacity: 0.32; transition: opacity 400ms; max-width: 42ch; }
.power.on { opacity: 1; }
@media (max-width: 900px) {
  .powers { grid-template-columns: 1fr; }
  .powers-board { top: 76px; }
  .powers-board-wrap { position: sticky; top: 76px; z-index: 2; }
  .power { min-height: 60vh; background: linear-gradient(transparent, var(--paper) 30%); padding-top: 30vh; }
}

/* Parents */
.parents { padding: 14vh max(24px, 5vw); max-width: 1300px; margin: 0 auto; display: grid; gap: 56px; }
.parents-head { display: grid; gap: 18px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.promise h3 { margin-bottom: 18px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { position: relative; padding-left: 34px; color: var(--ink-2); }
.promise li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ticks li::before { content: "✓"; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); }
.crosses li::before { content: "✕"; background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); }
.dots li::before { content: ""; background: var(--cobalt); width: 10px; height: 10px; top: 7px; left: 6px; }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; } }

/* Setup steps */
.setup-steps { padding: 6vh max(24px, 5vw) 16vh; max-width: 1300px; margin: 0 auto; display: grid; gap: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 16px; align-content: start; }
.steps .n { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font: 800 1.3rem/1 var(--display); background: var(--cherry); color: #fff; }
.steps h3 { font-size: var(--t-lg); margin-bottom: 6px; }
.final-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Footer */
.foot { padding: 48px max(24px, 5vw) 64px; border-top: 1px solid var(--line); display: grid; gap: 18px; justify-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot p { font-size: var(--t-sm); max-width: 60ch; }
