@font-face{font-family:Manrope;src:url('/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
@font-face{font-family:Fredoka;src:url('/fonts/fredoka.ttf') format('truetype');font-weight:300 700;font-display:swap}
body{margin:0}
.app-launch{box-sizing:border-box;min-height:100svh;padding:32px max(24px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:#34383b;font:16px/1.5 Manrope,system-ui,sans-serif}
.app-launch>svg{width:100px;height:100px}
.app-launch h1{margin:0;font:600 32px/1.25 Fredoka,system-ui,sans-serif}
.app-launch h1 b{color:#ed5a58;font-weight:600}
.app-launch p{margin:0;color:#66625d}
.app-launch-progress{display:flex;gap:8px;margin-top:8px}
.app-launch-progress i{width:8px;height:8px;border-radius:50%;background:#ed5a58;animation:app-launch-breathe 1.4s ease-in-out infinite}
.app-launch-progress i:nth-child(2){animation-delay:.15s}.app-launch-progress i:nth-child(3){animation-delay:.3s}
@keyframes app-launch-breathe{0%,100%{opacity:.35}50%{opacity:1}}
[data-theme="dark"] .app-launch{color:#f5eff6}[data-theme="dark"] .app-launch p{color:#bcb5bd}
@media(prefers-reduced-motion:reduce){.app-launch-progress i{animation:none}}
.learning-intro{margin:32px 0;padding:24px;border:1px solid #e8deec;border-radius:24px;background:#fffcf5;color:#34383b;font:16px/1.65 Manrope,system-ui,sans-serif}
.learning-intro h2{margin:0;font:600 24px/1.3 Fredoka,system-ui,sans-serif}
.learning-intro p{margin:12px 0}
.learning-intro nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.learning-intro a{display:inline-flex;align-items:center;min-height:52px;color:inherit;font-weight:750;text-decoration-color:#ed5a58;text-underline-offset:5px}
[data-theme="dark"] .learning-intro{background:#222a30;color:#f5eff6;border-color:#3d424a}
body.learning-page{margin:0;background:#fff8f1;color:#34383b;font:16px/1.7 Manrope,system-ui,sans-serif}
.learning-page *{box-sizing:border-box}
.learning-page a{color:inherit;text-underline-offset:4px;text-decoration-color:#ed5a58}
.learning-page a:focus-visible,.learning-intro a:focus-visible{outline:3px solid #ed5a58;outline-offset:4px}
.learning-header,.learning-main,.learning-footer{max-width:1000px;margin:auto;padding:24px max(24px,env(safe-area-inset-left))}
.learning-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e9ddd4}
.learning-brand{display:flex;align-items:center;gap:12px;font:600 26px Fredoka,system-ui,sans-serif;text-decoration:none!important}
.learning-brand svg{width:48px;height:48px}
.learning-brand b{color:#ed5a58;font-weight:600}
.learning-header nav{display:flex;gap:20px;flex-wrap:wrap}
.learning-header nav a{min-height:52px;display:inline-flex;align-items:center;font-weight:700}
.learning-page h1{font:600 clamp(28px,5vw,40px)/1.2 Fredoka,system-ui,sans-serif;margin:20px 0}
.learning-page h2{font:600 26px/1.3 Fredoka,system-ui,sans-serif;margin-top:32px}
.learning-page h3{font-size:19px;line-height:1.4}
.learning-page p{max-width:74ch}
.learning-page .lead{font-size:18px}
.learning-page .learning-action{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:12px 24px;margin:12px 0;border:2px solid #b93635;border-radius:16px;background:#ed5a58;color:#1e2023;text-decoration:none;font-weight:800;box-shadow:0 4px 0 #b93635}
.lesson-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lesson-card{height:100%;padding:20px;border:1px solid #e9ddd4;border-radius:24px;background:#fffdf8}
.lesson-card h2{margin:12px 0 8px;font-size:24px}
.lesson-card p{margin:8px 0}
.lesson-art{display:grid;place-items:center;border-radius:18px;background:var(--card-color,#f5e5d5);padding:12px}
.lesson-art svg{width:140px;height:140px}
.lesson-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;align-items:start}
.lesson-hero .lesson-art svg{width:200px;height:200px}
.lesson-meta{font-weight:700;font-size:15px}
.lesson-steps{padding-left:30px;max-width:76ch}
.lesson-steps li{padding:4px 0 16px 8px}
.lesson-steps h3{margin:0 0 8px}
.lesson-steps p{margin:0}
.learning-note{padding:20px 24px;border-radius:20px;background:#f2eddf}
.learning-footer{border-top:1px solid #e9ddd4;margin-top:40px;font-size:15px}
.learning-footer a{display:inline-flex;align-items:center;min-height:52px;margin-right:24px}
@media(max-width:700px){.learning-header{flex-wrap:wrap;gap:4px}.learning-header nav{width:100%;gap:24px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-hero{grid-template-columns:1fr}.lesson-hero .lesson-art{order:-1}.lesson-hero .lesson-art svg{width:160px;height:160px}.learning-page .learning-action{width:100%}.learning-intro{padding:20px}.learning-intro nav{gap:4px}}
@media(max-width:440px){.lesson-grid{grid-template-columns:1fr}.learning-header,.learning-main,.learning-footer{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}
