:root {
  --ink: #18263a;
  --muted: #52657a;
  --paper: #fbfcff;
  --line: #dfe8f2;
  --blue: #3d7eff;
  --blue-soft: #eaf1ff;
  --orange: #ff9c44;
  --orange-soft: #fff0df;
  --purple: #8d69e8;
  --purple-soft: #f1edff;
  --green: #16ae82;
  --shadow: 0 16px 42px rgba(31, 56, 91, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { top: 20px; }
.site-header { width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: Fredoka, sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; }
.brand > span:last-child span { color: var(--blue); }
.brand-mark { display: inline-grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: white; background: var(--ink); font-family: "DM Sans", sans-serif; font-size: .75rem; letter-spacing: -2px; }
nav { display: flex; gap: 28px; color: var(--muted); font-size: .92rem; font-weight: 600; }
nav a { text-decoration: none; } nav a:hover, .text-link:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 21px; border: 0; border-radius: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(61,126,255,.25); }
.button-small { min-height: 41px; padding: 0 15px; color: white; background: var(--ink); border-radius: 11px; font-size: .86rem; }
.button-primary { color: white; background: var(--blue); }
.hero { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 618px; margin: 0 auto 64px; padding: 74px 7.5% 50px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; border-radius: 28px; background: linear-gradient(130deg, #eef4ff 0%, #f9fbff 58%, #e2efff 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -240px; top: -330px; border: 65px solid rgba(255,255,255,.58); border-radius: 50%; }
.hero-copy, .hero-playground { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: #5e7186; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #cdf0e5; }
h1, h2, h3, p { margin-top: 0; } h1, h2, h3 { font-family: Fredoka, sans-serif; letter-spacing: -.04em; line-height: 1.04; }
h1 { max-width: 510px; margin-bottom: 20px; font-size: clamp(3rem, 5.3vw, 5.25rem); } h1 em { color: var(--blue); font-style: normal; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.3vw, 3.15rem); }
h3 { font-size: 1.65rem; }
.hero-text { max-width: 525px; margin-bottom: 26px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }
.text-link { color: var(--ink); font-size: .93rem; font-weight: 700; text-underline-offset: 4px; }
.hero-facts { display: flex; gap: 28px; margin: 54px 0 0; } .hero-facts div { min-width: 67px; } .hero-facts dt { font-family: Fredoka, sans-serif; color: var(--blue); font-size: 1.7rem; font-weight: 700; line-height: 1; } .hero-facts dd { margin: 4px 0 0; color: var(--muted); font-size: .74rem; }
.hero-playground { max-width: 448px; margin: auto; overflow: hidden; border: 8px solid white; border-radius: 20px; background: white; box-shadow: 0 24px 45px rgba(35,68,112,.20); transform: rotate(2deg); }
.playground-top, .playground-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f7faff; color: #657991; font-size: .66rem; font-weight: 700; letter-spacing: .08em; }
.online { display: flex; gap: 5px; align-items: center; color: #379d7d; }.online i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #26bd88; }
.playground-stage { position: relative; height: 207px; overflow: hidden; background: linear-gradient(#96d9ff 0 73%, #8ad57a 73%); }
.sun { position: absolute; top: 19px; right: 30px; color: #ffdb4a; font-size: 44px; }.cloud { position: absolute; width: 72px; height: 21px; border-radius: 30px; background: rgba(255,255,255,.82); }.cloud::before, .cloud::after { content:""; position:absolute; border-radius:50%; background: inherit; }.cloud::before { width: 31px; height:31px; left:12px; bottom:0; }.cloud::after { width: 39px; height:39px; right:10px; bottom:0; }.cloud-one { top:46px; left:34px; }.cloud-two { top:80px; right:92px; transform: scale(.66); }
.mascot { position:absolute; bottom:26px; left: 43%; display:grid; width: 90px; height: 90px; place-items:center; border-radius: 42% 47% 44% 50%; background: #d98a51; box-shadow: inset -9px -8px #bc6c3f; transform: rotate(-7deg); }.mascot span { font-size: 62px; filter: saturate(.9); transform: rotate(7deg); }
.speech { position:absolute; top:89px; left:53%; padding: 6px 9px; border-radius: 10px 10px 10px 2px; background: white; color:#55708b; font-size:.69rem; font-weight:700; transform: rotate(-2deg); }.grass { position: absolute; bottom: 0; left:0; width:100%; height: 18px; background: repeating-linear-gradient(75deg, #72be68 0 5px, #8bd279 6px 12px); }
.blocks { display: grid; gap: 4px; padding: 13px 15px; }.block { width: max-content; max-width: 100%; padding: 5px 12px; border-radius: 7px; color:white; font-size: .72rem; font-weight: 700; box-shadow: inset 0 -2px rgba(0,0,0,.09); }.block b, .mini b { padding: 0 5px; border-radius: 5px; background: rgba(255,255,255,.35); font-weight: 700; }.flag { margin-right:4px; color:#a3e27b; }.event { background:#f2b71d; }.motion { background:#4d8cea; margin-left: 12px; }.sound { background:#cc67bc; margin-left: 12px; }.playground-footer { border-top: 1px solid #edf1f6; letter-spacing:0; }.tiny-badge { padding: 3px 7px; border-radius: 20px; background:#e5f7ef; color:#29916e; }
.choose { width: min(1050px, calc(100% - 40px)); margin: 0 auto 105px; }.choose h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }.choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-top:25px; }.choice-card { min-height: 144px; padding: 22px; display:grid; grid-template-columns: 45px 1fr; column-gap:14px; align-content:center; text-align:left; border:1.5px solid var(--line); border-radius:17px; color:var(--ink); background:white; cursor:pointer; transition:transform .2s, border-color .2s, box-shadow .2s; }.choice-card:hover, .choice-card.is-selected { border-color:var(--blue); transform:translateY(-3px); box-shadow:var(--shadow); }.choice-card strong { align-self:end; font-family:Fredoka,sans-serif; font-size:1.18rem; }.choice-card small { grid-column:2; color:var(--muted); }.choice-icon { display:grid; grid-row:span 2; width:42px; height:42px; place-items:center; border-radius:13px; font-family:Fredoka,sans-serif; font-size:1.4rem; }.blue { color:var(--blue); background:var(--blue-soft); }.orange { color:#d96f18; background:var(--orange-soft); }.purple { color:var(--purple); background:var(--purple-soft); }.choice-message { margin:16px 0 0; color:var(--muted); font-size:.88rem; }.choice-message b { color:var(--ink); }
.section { width:min(1050px, calc(100% - 40px)); margin:0 auto 110px; }.section-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:34px; }.section-heading h2 { max-width:640px; }.section-heading > p { max-width:310px; margin:0; color:var(--muted); font-size:.94rem; }.mission-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }.mission-card { position:relative; min-height:393px; padding:29px; overflow:hidden; border-radius:20px; }.mission-card::after { content:""; position:absolute; width:140px; height:140px; top:-67px; right:-57px; border-radius:50%; background:rgba(255,255,255,.45); }.blue-card { background:var(--blue-soft); }.orange-card { background:var(--orange-soft); }.purple-card { background:var(--purple-soft); }.mission-number { position:relative; z-index:1; margin-bottom:38px; color:var(--muted); font-family:Fredoka,sans-serif; font-size:1.1rem; }.tag { margin:0 0 10px; color:var(--muted); font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.mission-card h3 { margin-bottom:12px; }.mission-card > p:not(.tag) { min-height:75px; color:#3c5068; font-size:.92rem; }.mission-card ul { display:grid; gap:6px; margin:20px 0 25px; padding:0; color:#3c5068; list-style:none; font-size:.79rem; }.mission-card li span { display:inline-block; min-width:45px; color:var(--muted); }.mission-button { width:100%; min-height:43px; display:flex; align-items:center; justify-content:space-between; padding:0 13px; border:0; border-radius:10px; background:rgba(255,255,255,.70); color:var(--ink); font-size:.83rem; font-weight:700; cursor:pointer; }.mission-button:hover { background:white; }
.mission-lab { display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:center; padding:56px 6.5%; border-radius:24px; background:#172a40; color:white; }.mission-lab .eyebrow { color:#a9c1d8; }.mission-lab h2 { max-width:360px; }.mission-lab p:not(.eyebrow) { max-width:415px; color:#d2dfeb; }.lab-steps { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:27px; }.lab-steps span { padding:7px 10px; border-radius:8px; background:#274159; color:#e0edf8; font-size:.75rem; }.lab-steps b { display:inline-grid; width:17px; height:17px; place-items:center; border-radius:50%; color:#1d344b; background:#82d1fa; font-size:.65rem; }.lab-steps i { color:#82d1fa; font-style:normal; }.quiz-card { padding:28px; border-radius:17px; background:white; color:var(--ink); box-shadow:0 17px 35px rgba(0,0,0,.16); }.quiz-card h3 { margin-bottom:18px; font-size:1.55rem; }.mini-blocks { display:grid; gap:4px; margin-bottom:19px; }.mini { width:max-content; max-width:100%; padding:4px 9px; border-radius:6px; color:white; font-size:.7rem; font-weight:700; }.event-mini { background:#f2b71d; }.control-mini { margin-left:10px; background:#ff9f3e; }.motion-mini { margin-left:20px; background:#4d8cea; }.answer-options { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }.answer-options button { min-height:48px; padding:6px; border:1px solid #dbe5ee; border-radius:8px; background:#f9fbfd; color:#3b526a; font-size:.71rem; font-weight:700; cursor:pointer; }.answer-options button:hover { border-color:var(--blue); color:var(--blue); }.answer-options button.is-correct { border-color:#29a778; background:#e7f8f1; color:#12825e; }.answer-options button.is-wrong { border-color:#f5b1a7; background:#fff1ef; color:#ba5141; }.quiz-result { min-height:25px; margin:14px 0 0; color:var(--muted); font-size:.79rem; }
.centred { display:block; text-align:center; }.centred h2 { margin-left:auto; margin-right:auto; }.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:50px; margin:0; padding:0; list-style:none; counter-reset:process; }.process-grid li { position:relative; padding:0 18px; text-align:center; }.process-grid li:not(:last-child)::after { content:""; position:absolute; width:calc(100% - 70px); top:33px; left:calc(50% + 36px); border-top:1px dashed #b6c8da; }.process-icon { position:relative; z-index:1; display:grid; width:65px; height:65px; margin:0 auto 18px; place-items:center; border-radius:21px; background:var(--blue-soft); color:var(--blue); font-family:Fredoka,sans-serif; font-size:1.9rem; }.process-grid h3 { margin-bottom:8px; font-size:1.45rem; }.process-grid p { color:var(--muted); font-size:.9rem; }.grown-ups { display:grid; grid-template-columns:1.35fr .8fr; gap:75px; align-items:center; padding:57px 7%; border-radius:23px; background:#edf7f4; }.grown-ups h2 { max-width:590px; }.grown-ups-copy > p:not(.eyebrow) { max-width:590px; color:var(--muted); }.teacher-note { display:flex; gap:15px; padding:21px; border-radius:15px; background:white; box-shadow:0 10px 28px rgba(22,87,69,.09); }.note-icon { display:grid; flex:0 0 auto; width:31px; height:31px; place-items:center; border-radius:50%; color:#117458; background:#d9f2e8; font-weight:700; }.teacher-note strong { font-family:Fredoka,sans-serif; font-size:1.05rem; }.teacher-note p { margin:3px 0 0; color:var(--muted); font-size:.82rem; }.site-footer { width:min(1180px, calc(100% - 40px)); margin:auto; padding:0 0 39px; display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:.82rem; }.site-footer p { margin:0; }.site-footer > a:last-child { color:var(--muted); font-weight:700; text-decoration:none; }
.mission-dialog { width:min(540px, calc(100% - 28px)); padding:35px; border:0; border-radius:20px; color:var(--ink); box-shadow:0 25px 60px rgba(9,26,51,.35); }.mission-dialog::backdrop { background:rgba(11,26,44,.62); backdrop-filter:blur(3px); }.mission-dialog h2 { margin-bottom:12px; }.dialog-close { position:absolute; top:13px; right:16px; width:32px; height:32px; border:0; border-radius:50%; color:var(--muted); background:#f1f5f9; font-size:1.45rem; cursor:pointer; }.dialog-intro { color:var(--muted); }.dialog-steps { display:grid; gap:8px; margin:23px 0; padding-left:22px; color:#40566e; font-size:.92rem; }.dialog-tip { margin-bottom:23px; padding:14px; border-radius:11px; background:#fff5d9; color:#775726; font-size:.83rem; }.dialog-tip span { display:block; margin-bottom:3px; color:#ad7d27; font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.dialog-done { width:100%; }
@media (max-width: 780px) { .site-header { min-height:70px; width:min(100% - 28px, 1180px); }.site-header nav { display:none; }.button-small { padding:0 12px; }.hero { width:calc(100% - 28px); min-height:auto; grid-template-columns:1fr; gap:39px; margin-bottom:55px; padding:54px 26px 34px; border-radius:22px; }.hero-playground { width:100%; transform:none; }.hero-facts { margin-top:36px; }.choose, .section { width:calc(100% - 28px); }.choose { margin-bottom:72px; }.choice-grid, .mission-grid { grid-template-columns:1fr; }.choice-card { min-height:110px; }.section { margin-bottom:75px; }.section-heading { display:block; }.section-heading > p { max-width:550px; }.mission-card { min-height:auto; }.mission-card > p:not(.tag) { min-height:auto; }.mission-lab, .grown-ups { grid-template-columns:1fr; gap:32px; padding:39px 25px; }.process-grid { grid-template-columns:1fr; gap:24px; }.process-grid li { display:grid; grid-template-columns:65px 1fr; gap:0 17px; text-align:left; }.process-grid li:not(:last-child)::after { width:0; height:calc(100% - 45px); top:70px; left:50px; border-top:0; border-left:1px dashed #b6c8da; }.process-icon { grid-row:span 2; margin:0; }.process-grid h3 { margin:9px 0 3px; }.process-grid p { margin:0; }.site-footer { width:calc(100% - 28px); flex-wrap:wrap; gap:17px; }.site-footer p { width:100%; order:3; }.answer-options { grid-template-columns:1fr; }.hero-actions { align-items:flex-start; flex-direction:column; gap:12px; } }
@media (max-width: 390px) { .site-header .button-small { display:none; }.hero-facts { gap:15px; }.hero-facts div { min-width:auto; }.brand { font-size:1.2rem; } }
