/* Ocean-blue canvas + an immersive, hands-first orientation. */
:root{--ocean-canvas:#0875b8;--ocean-deep:#086ba3;--focus-paper:#f7fcff;--focus-line:#b9dced}
body{background:var(--ocean-canvas)}
.masthead{background:#fffefa;max-width:none}
.home-hero{color:#fff;padding-top:48px;padding-bottom:48px}
.hero-copy h1,.hero-copy h1 em{color:#fff}
.hero-copy h1 em{color:#c7edff}
.hero-copy>p{color:#f2f9ff}
.hero-copy .eyebrow{color:#f2f9ff}
.hero-copy .eyebrow>span{background:#a8e0ff}
.hero-actions .button{background:#fff;color:#17618b}
.hero-actions .button:hover{background:#eaf7ff}
.hero-actions .quiet-link,.hero-actions .quiet-link span{color:#fff}
.hero-proof li{color:#f2f9ff}
.hero-proof li::before{border-color:#b5e6ff}
.hero-image figcaption,.hero-image figcaption span{color:#f2f9ff}
.promise-strip{border-color:#ffffff38;color:white}
.promise-strip p,.promise-strip>span{color:#f2f9ff}
.promise-strip svg{stroke:#bceaff}
.section{background:#fbfdff}
.journey,.curriculum{max-width:1320px}
.equipment{background:#edf6fa;border-color:#c2e4f2}
.site-footer{background:#fffefa;max-width:none}
.closing{background:#0877b0}
.closing .button{background:#f7fcff;color:#185b80}
.closing .eyebrow,.closing p{color:#d1edfa}
.page-shell{background:#f7fcff;min-height:calc(100dvh - 68px)}
.workspace{background:#f7fcff;min-height:calc(100dvh - 68px)}
.sidebar{background:#edf7fc}
.dashboard-hero,.dashboard-hero>div{background:#e0f2fb}
.metric,.metric:nth-child(2),.metric:nth-child(3){background:#fff;border-color:#cbe3ee}
.flow-aside{background:#e5f2f8}
.onboarding-hands.hand-stage{background:#e3f3fc;border-color:#b9ddee}
.lesson-num,.lesson-card:nth-child(2) .lesson-num,.lesson-card:nth-child(3) .lesson-num{background:#e2f2fb!important;color:#2d7192}
.side-nav a.current{background:#d6edf9}
.button.sunny{background:#d9f0ff;color:#12567d}
.button.sunny:hover{background:#c5e8ff}
.coach-card{background:#edf7fc;border-color:#c3dfec}

/* Lesson routes fill the browser immediately; native fullscreen is optional. */
body[data-view=lesson]{height:100dvh;overflow:hidden;background:var(--ocean-canvas)}
body[data-view=lesson]>.masthead,body[data-view=lesson]>.session-banner,body[data-view=lesson]>.site-footer{display:none}
body[data-view=lesson] #app{height:100%;min-height:0}
body[data-view=lesson] .lesson-shell{height:100%;min-height:0;max-width:none;padding:0;background:var(--ocean-canvas);overflow:hidden}
.lesson-shell:fullscreen{height:100dvh;width:100vw;background:var(--ocean-canvas)}
.lesson-shell .lesson-screen,.lesson-shell #guided-trainer{height:100%;max-width:none;min-height:0}
.lesson-shell .gentle-trainer{height:100%;width:min(100%,1260px);margin:0 auto;padding:12px 24px;display:grid;grid-template-rows:44px 3px minmax(0,1fr) 24px;gap:9px;animation:none;scroll-margin:0}
.lesson-shell .lesson-bar{margin:0;display:flex;align-items:center;justify-content:space-between;gap:18px;color:white;min-width:0}
.lesson-shell .lesson-bar .back-link{grid-column:auto;flex:none;color:#e6f5ff;font-size:14px;padding:6px 0;min-height:32px}
.lesson-shell .lesson-bar-title{display:flex;align-items:center;gap:15px;min-width:0;flex:1}
.lesson-shell .trainer-pill{color:#c9ecff;border-left:0;padding:0;font-size:10px;flex:none;letter-spacing:.12em}
.lesson-shell .lesson-bar h1{color:#fff;font-size:18px;font-weight:550;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.025em}
.lesson-shell .trainer-lesson-count{display:flex;align-items:center;gap:20px;text-align:right;flex:none}
.lesson-shell .trainer-lesson-count strong{font:500 16px 'DM Sans',sans-serif;color:#fff;white-space:nowrap}
.lesson-shell .trainer-lesson-count strong span{font-size:13px;color:#d7effc}
.focus-tools{display:flex;gap:8px}
.focus-tools .trainer-tool{background:#ffffff15;border:1px solid #ffffff50;color:#fff;min-height:32px;padding:5px 10px;font-size:12px;display:inline-flex;align-items:center;gap:5px}
.focus-tools .trainer-tool:hover,.focus-tools .trainer-tool[aria-expanded=true]{background:#ffffff2b}
.lesson-shell .little-steps{margin:0;gap:5px;align-items:stretch}
.lesson-shell .little-steps span{height:3px;background:#ffffff25;border-radius:2px}
.lesson-shell .little-steps .complete{background:#d7f2ff}
.lesson-shell .little-steps .current{background:#9fe2ff;box-shadow:none}
.lesson-shell .lesson-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"coach" "stage" "turn";gap:9px;align-items:stretch;width:min(100%,1040px);margin:auto;height:100%}
.lesson-shell .coach-card{background:none;border:0;border-radius:0;padding:4px 0 2px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:20px;min-width:0}
.lesson-shell .coach-card h2{grid-column:1;grid-row:1;color:#fff;font-size:24px;line-height:1.2;font-weight:550;letter-spacing:-.035em;margin:0}
.lesson-shell .coach-card p{grid-column:1;grid-row:2;color:#f2f9ff;font-size:14px;line-height:1.4;margin:4px 0 0}
.lesson-shell .hear-step{grid-column:2;grid-row:1/3;background:#ffffff12;border-color:#ffffff40;color:#e3f4ff;font-size:12px;min-height:31px;padding:5px 10px;margin:0;border-radius:5px}
.lesson-shell .hear-step:hover{background:#ffffff25}
.lesson-shell .hand-stage{min-height:0;background:var(--focus-paper);border:1px solid #ffffff85;border-radius:12px;padding:6px 16px 0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;position:relative;overflow:hidden;align-content:stretch}
.lesson-shell [data-mode=practice] .hand-stage{background:#f6fcff;border-color:#b2e5ff}
.lesson-shell [data-mode=done] .hand-stage{background:#eff9ff;border-color:#c9ecff}
.lesson-shell .stage-top{display:none}
.lesson-shell .mode-switch{display:none}
.lesson-shell .options-open .stage-top{display:flex;position:absolute;top:10px;right:12px;z-index:8}
.lesson-shell .stage-status{min-height:26px;margin:0;padding:3px 0;justify-content:center;gap:8px;flex-direction:row}
.lesson-shell .mode-badge{display:none}
.lesson-shell .drill-feedback{font-size:13px;line-height:1.4;font-weight:450;color:#49768f;text-align:center;min-height:18px}
.lesson-shell .token-row{justify-content:center;gap:12px;margin:0;padding:2px 0 6px;align-items:center;flex-wrap:wrap}
.lesson-shell .drill-tokens{justify-content:center;flex:0 1 auto;gap:5px}
.lesson-shell .drill-token{width:29px;height:30px;font-size:14px;border-width:1px;border-bottom-width:2px;border-color:#c9dfea;border-radius:4px}
.lesson-shell .drill-token.demo-next{background:#d0eeff;border-color:#3c99c3;color:#1b6a92;transform:none}
.lesson-shell .drill-token.next{background:#bde8ff;border-color:#3c9bc5;color:#145e86;transform:none}
.lesson-shell .drill-token.typed{background:#deeff8;color:#38708d;border-color:#aecfdf}
.lesson-shell .drill-count{font-size:11px;font-weight:400;color:#7a9daf;min-width:60px}
.lesson-shell .hand-keyboard{width:100%;height:100%;min-height:0;max-height:none;justify-self:center;align-self:center;overflow:visible}
.lesson-shell .keyboard-base{fill:#dcecf4;stroke:#adcbdc}
.lesson-shell [data-mode=practice] .keyboard-base{fill:#dceef8;stroke:#9fc9df}
.lesson-shell .key-cap{fill:#fff;stroke:#b0cddd}
.lesson-shell .guide-key.key-target .key-cap{fill:#bde9ff}
.lesson-shell .guide-key.key-down .key-cap{fill:#8ad7ff}
.lesson-shell .guide-key text{fill:#315d75}
.lesson-shell .finger-callout{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 -16px;background:#fff;border-top:1px solid #d6e7f0;padding:8px 16px;min-height:52px}
.lesson-shell .finger-callout>#big-key{min-width:36px;min-height:36px;height:36px;background:#edf8ff;font-size:20px;border-width:1.5px;padding:4px;box-shadow:none;border-radius:5px}
.lesson-shell .finger-callout small,.lesson-shell .finger-callout p{display:none}
.lesson-shell .finger-callout strong{font-size:17px;line-height:1.3;font-weight:550;color:#315f79}
.lesson-shell .watch-controls{position:absolute;bottom:60px;right:12px;z-index:8;max-width:calc(100% - 24px);margin:0;padding:14px;background:#fff;border:1px solid #b9d7e7;border-radius:8px;box-shadow:0 10px 35px #10446720;gap:12px;flex-wrap:wrap}
.lesson-shell .watch-controls .trainer-tool,.lesson-shell .watch-controls .segmented button{font-size:12px;min-height:34px;padding:5px 10px}
.lesson-shell .watch-controls .segmented>span{font-size:11px}
.lesson-shell .practice-island{background:none;border:0;border-radius:0;padding:0;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:45px}
.lesson-shell .practice-island>.mini-label,.lesson-shell .practice-island>p{display:none!important}
.lesson-shell .practice-island h3{color:#eaf7ff;font-size:17px;margin:0;font-weight:500;white-space:nowrap}
.lesson-shell .drill-input{min-height:0;border:0;background:none;padding:0;margin:0;font-size:16px;font-weight:500;color:#fff;gap:0;outline:none}
.lesson-shell .input-pointer{display:none}
.lesson-shell .turn-actions{display:flex;align-items:center;gap:10px;margin:0 0 0 auto}
.lesson-shell .turn-actions .button{width:auto;min-width:110px;min-height:39px;padding:10px 18px;font-size:13px;border:1px solid #ffffff55;background:#ffffff15;color:#fff;border-radius:5px;box-shadow:none;justify-content:center}
.lesson-shell .turn-actions #ready-drill{min-width:80px;background:none;border-color:transparent;color:#f2f9ff;font-size:12px}
.lesson-shell .turn-actions .button:hover{background:#ffffff28;box-shadow:none}
.lesson-shell #drill-finished:empty{display:none}
.lesson-shell #drill-finished{margin-left:auto}
.lesson-shell .drill-celebration{display:flex;align-items:center;gap:14px;padding:0;animation:none}
.lesson-shell .drill-celebration>span,.lesson-shell .drill-celebration>strong{display:none}
.lesson-shell .drill-celebration .button{width:auto;min-width:135px;min-height:40px;background:#fff;color:#14628b;font-size:14px;padding:10px 20px;justify-content:space-between;box-shadow:none}
.lesson-shell .trainer-footer{margin:0;gap:15px;min-height:20px;justify-content:space-between;align-items:center;opacity:.8}
.lesson-shell .trainer-footer .text-link{color:#f2f9ff;font-size:11px;padding:0;text-decoration:none;line-height:1.2}
.lesson-shell .trainer-footer .text-link:hover{color:#fff}
.lesson-shell .gentle-note{display:none}
.lesson-shell .lesson-finale{width:min(92%,700px);margin:auto;background:#f7fcff;border-color:#c4e5f6;padding:35px 22px;box-shadow:none}
.lesson-shell #guided-trainer:has(>.lesson-finale){display:flex;align-items:center;justify-content:center}
.lesson-shell .lesson-finale h1{color:#255d7a}
.lesson-shell .lesson-finale .finale-sun{margin-bottom:18px}
.lesson-shell .lesson-finale>p{font-size:16px}
@media(max-width:760px){
 .home-hero{padding-top:32px}.section{margin-inline:0}.promise-strip p{color:#e4f6ff}.site-footer{padding-bottom:30px}
 .lesson-shell .gentle-trainer{padding:10px 13px;grid-template-rows:42px 3px minmax(0,1fr) 22px;gap:8px}
 .lesson-shell .lesson-bar-title{gap:8px}.lesson-shell .lesson-bar h1{font-size:15px}.lesson-shell .trainer-pill{display:none}
 .lesson-shell .trainer-lesson-count{gap:12px}.focus-tools{gap:5px}.focus-tools .trainer-tool{font-size:11px;padding:5px 8px;min-height:31px}
 .lesson-shell .coach-card h2{font-size:22px}.lesson-shell .coach-card p{font-size:13px}
 .lesson-shell .hand-stage{padding-inline:10px}.lesson-shell .finger-callout{margin-inline:-10px;padding-inline:10px}
 .lesson-shell .practice-island h3{font-size:15px}.lesson-shell .turn-actions .button{min-width:85px;padding-inline:13px}
 .lesson-shell .drill-input{font-size:14px}
}
@media(max-width:500px){
 .lesson-shell .gentle-trainer{padding:8px 10px;grid-template-rows:40px 3px minmax(0,1fr) 18px;gap:7px}
 .lesson-shell .lesson-bar{gap:9px}.lesson-shell .lesson-bar h1{max-width:125px;font-size:13px}.lesson-shell .lesson-bar .back-link{font-size:12px}
 .lesson-shell .trainer-lesson-count{gap:8px}.lesson-shell .trainer-lesson-count strong{font-size:13px}.lesson-shell .trainer-lesson-count strong span{font-size:11px}
 .focus-tools .trainer-tool{min-height:28px;padding:4px 6px;font-size:10px}.focus-tools #fullscreen-toggle span{display:none}
 .lesson-shell .coach-card{column-gap:12px;padding-top:4px}.lesson-shell .coach-card h2{font-size:20px}.lesson-shell .coach-card p{font-size:12px;line-height:1.35;margin-top:3px}
 .lesson-shell .hear-step{font-size:11px;min-height:29px;padding:4px 7px}
 .lesson-shell .hand-stage{padding:5px 7px 0;border-radius:9px}
 .lesson-shell .stage-status{min-height:29px;padding:2px 0}.lesson-shell .drill-feedback{font-size:11px;min-height:16px}
 .lesson-shell .token-row{gap:5px;padding:2px 0 3px}.lesson-shell .drill-tokens{gap:4px;flex:0 1 auto}
 .lesson-shell .drill-token{width:22px;height:25px;font-size:12px;border-radius:3px}
 .lesson-shell .drill-count{font-size:9px;min-width:45px;text-align:center}
 .lesson-shell .finger-callout{margin-inline:-7px;padding:7px 9px;gap:10px;min-height:47px}
 .lesson-shell .finger-callout>#big-key{min-width:32px;min-height:32px;height:32px;font-size:17px}
 .lesson-shell .finger-callout strong{font-size:15px}
 .lesson-shell .practice-island{gap:10px;flex-wrap:wrap;min-height:40px}
 .lesson-shell .practice-island h3{font-size:14px}
 .lesson-shell .drill-input{font-size:13px}
 .lesson-shell .turn-actions{gap:4px}.lesson-shell .turn-actions .button{font-size:12px;padding:8px 11px;min-width:72px;min-height:36px}
 .lesson-shell .turn-actions #ready-drill{font-size:10px;min-width:62px;padding-inline:7px}
 .lesson-shell .trainer-footer .text-link{font-size:10px}
 .lesson-shell .drill-celebration .button{font-size:13px;min-width:110px;min-height:37px}
 .lesson-shell .watch-controls{bottom:54px;padding:10px;gap:9px}
 .lesson-shell .watch-controls .segmented>span{font-size:10px}
 .lesson-shell .watch-controls .segmented button{font-size:11px;padding-inline:8px}
}
@media(max-height:650px) and (min-width:700px){
 .lesson-shell .gentle-trainer{padding-block:7px;grid-template-rows:35px 3px minmax(0,1fr) 17px;gap:5px}
 .lesson-shell .coach-card h2{font-size:19px}.lesson-shell .coach-card p{font-size:12px}
 .lesson-shell .finger-callout{min-height:40px;padding-block:4px}.lesson-shell .practice-island{min-height:35px}
 .lesson-shell .turn-actions .button{min-height:32px;padding-block:7px}
 .lesson-shell .stage-status{min-height:23px}.lesson-shell .drill-token{height:25px;width:26px;font-size:12px}
}
