:root{--midnight:#102d44;--ink:#18344a;--sea:#0d6b83;--cream:#f8f5eb;--paper:#fffdf5;--gold:#dca44d;--dust:#e9dfc8;--border:#d8d8cb;--muted:#668091;--shadow:0 14px 50px #0d273019}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.52}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible,a:focus-visible{outline:3px solid #ea9c2e;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}.skip{position:absolute;left:-9999px;top:8px;z-index:10}.skip:focus{left:12px;background:#fff;padding:10px}.top-ribbon{background:#112d43;color:#f4ecd7;padding:15px clamp(20px,4vw,68px);display:flex;justify-content:space-between;align-items:center;gap:15px;letter-spacing:.12em;font-size:11px}.brand{display:flex;align-items:center;gap:12px;font-weight:850;font-size:20px;letter-spacing:.08em}.brand small{font-size:9px;opacity:.63;letter-spacing:.17em;font-weight:650;padding-left:6px}.sun-logo{background:#e1ac56;color:#173147;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font-size:28px}.edition{font-size:10px;opacity:.8}.little-star{color:#f0c47e;margin:0 8px}.hero{min-height:370px;background:#173a52;display:flex;justify-content:space-between;overflow:hidden;position:relative;padding:47px clamp(24px,5.4vw,85px) 44px;color:#fff3de}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 29%,#29617760,transparent 33%),repeating-linear-gradient(100deg,transparent 0,transparent 30px,#e5eeef08 31px);pointer-events:none}.hero-copy{position:relative;z-index:1;max-width:700px}.eyebrow,.chapter,.preset-heading,.nav-label{font-weight:800;font-size:11px;letter-spacing:.15em}.eyebrow{color:#eac58b}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#edaa49;vertical-align:middle;margin:0 10px}h1,h2,h3,p{margin-top:0}.hero h1,.section-lead h2,.assessment h2,.challenge-zone h2{font-family:Georgia,serif;font-weight:500;letter-spacing:-.044em}.hero h1{font-size:clamp(50px,6vw,90px);line-height:1.02;margin:16px 0 18px}.hero h1 em,.assessment h2 em,.challenge-zone h2 em{color:#f0be76;font-weight:400}.hero p{max-width:520px;color:#dbdedb;font-size:15px;line-height:1.75}.hero-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.hero-tags span{border:1px solid #71839170;border-radius:30px;padding:6px 13px;font-size:10px;font-weight:700;color:#f5ddbb}.hero-orbit{width:305px;min-width:230px;display:grid;place-items:center;position:relative;opacity:.96}.orb{border:1px solid #e9c18865;border-radius:50%;display:grid;place-items:center;position:relative}.outer{width:280px;height:280px;transform:rotate(-26deg)}.outer:after{content:"✦";color:#e8bb69;position:absolute;top:-12px;font-size:24px}.middle{width:212px;height:212px;border-style:dashed}.centre{width:138px;height:138px;background:radial-gradient(circle at 28% 26%,#ffdc8d,#d49c44 68%,#9b6e2c);box-shadow:0 0 55px #e5b05a6b;color:#fff4c8;font-size:92px}.orbit-caption{position:absolute;bottom:0;right:0;text-align:right;font-size:10px;letter-spacing:.17em;color:#d1b17d;line-height:1.6}main{max-width:1510px;margin:auto;padding:0 clamp(15px,3.8vw,62px)}.section-lead{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:55px 0 23px}.chapter{color:#998362}.section-lead h2{font-size:clamp(33px,3.5vw,54px);margin:8px 0 0}.section-lead p{max-width:455px;color:#607487;font-size:14px;line-height:1.7;margin-bottom:5px}.workbench{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,.83fr);gap:17px;align-items:stretch}.stage-panel{background:#fff9e8;border:1px solid #e3d5b9;border-radius:7px;box-shadow:var(--shadow);overflow:hidden;min-width:0}.stage-head,.stage-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;color:#426279;background:#f1e8d3;font-size:10px;font-weight:800;letter-spacing:.09em}.stage-head{border-bottom:1px solid #e5d7b8}.stage-foot{border-top:1px solid #e5d7b8;letter-spacing:0;font-size:12px;font-weight:450;flex-wrap:wrap}.stage-foot strong{font-weight:800}.live-dot{display:inline-block;width:7px;height:7px;background:#2b9b6c;border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px #289d6c23}.stage-panel canvas{width:100%;height:auto;display:block;touch-action:none;cursor:crosshair}.toggle{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}.toggle input{accent-color:#0d728a;width:16px;height:16px}.control-panel{background:var(--paper);border:1px solid #e4e0d5;border-radius:7px;padding:24px;box-shadow:var(--shadow)}.control-heading{display:block}.control-heading h3{font-family:Georgia,serif;font-size:32px;font-weight:500;letter-spacing:-.04em;margin:6px 0 18px}.control-heading h3 span{color:#b2874e}.readout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 25px}.readout{background:#e9f0eb;padding:13px;border-left:3px solid #84b1b4;min-width:0}.readout:nth-child(2),.readout:nth-child(4){background:#f3ebd9;border-left-color:#dcaf71}.readout small{display:block;font-size:9px;letter-spacing:.095em;color:#5e7180;font-weight:800;margin-bottom:3px}.readout strong{font-size:24px;letter-spacing:-.055em;color:#173950;white-space:nowrap}.slider-unit{padding:11px 0 8px;border-top:1px solid #e5e5dc}.slider-unit label{display:flex;justify-content:space-between;gap:10px;font-weight:750;font-size:13px}.slider-unit output{color:#13728a;font-weight:850}.slider-unit input{width:100%;margin:10px 0 0;accent-color:#11758b;cursor:ew-resize}.slider-unit small{font-size:10px;color:#778695;display:block}.transport{display:flex;gap:7px;flex-wrap:wrap;margin-top:21px}.action{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ccd1cc;background:#fffdf6;color:#254455;border-radius:3px;font-size:12px;font-weight:750;padding:11px 13px;transition:background .16s,transform .1s;gap:6px}.action:hover{background:#eaf3f0}.action:active{transform:translateY(1px)}.action.primary{background:#126d83;color:#fff;border-color:#126d83}.action.primary:hover{background:#0e5365}.action.subtle{background:#ead8b5;border-color:#ddc99d}.preset-heading{color:#8f805b;margin:23px 0 11px}.presets{display:grid;grid-template-columns:1fr 1fr;gap:7px}.presets button{background:#f4f0e5;border:1px solid #dddacb;padding:10px 6px;color:#3a5262;font-size:11px;font-weight:750;border-radius:3px}.presets button:hover,.presets button.active{background:#e9cfa4;border-color:#cc9e5e}.stone-control{margin-top:22px;padding-top:16px;border-top:1px solid #e0e2db;font-size:11px;font-weight:750}.stone-flex{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:9px}.stone-flex select{background:#f7f6eb;border:1px solid #ced9d7;padding:9px 12px;color:#1d465c;border-radius:3px}.stone-flex span{font-size:10px;color:#71838f;max-width:170px}.nudge-controls{margin-top:12px;padding:12px;background:#edf3ee;border:1px solid #d4e2dc}.nudge-controls>span{font-size:10px;color:#567181;letter-spacing:.04em}.nudge-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px}.nudge-buttons button{background:#fffdf5;border:1px solid #a9c0ba;border-radius:3px;color:#25556a;padding:9px 3px;font-size:12px;font-weight:850;touch-action:manipulation}.nudge-buttons button:hover{background:#d9eee5}.fine-toggle{font-size:11px;font-weight:600;display:flex;align-items:center;gap:7px;margin-top:9px;color:#4c6878}.fine-toggle input{accent-color:#147b83}.graphs-wrap{margin:18px 0 0;border:1px solid #e2e3db;background:#fffdf6;box-shadow:var(--shadow);padding:22px 28px 15px;border-radius:7px}.graph-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.graph-heading h3{font-family:Georgia,serif;font-size:28px;margin:5px 0 8px;font-weight:500}.graph-intro{max-width:390px;font-size:12px;line-height:1.6;color:#687c87}.graphs-wrap canvas{width:100%;height:auto;display:block;cursor:ew-resize;touch-action:none}.graph-footer{display:flex;justify-content:space-between;gap:12px;color:#7c8d91;font-size:9px;letter-spacing:.13em;font-weight:800;padding:7px 15px 0}.assessment{display:grid;grid-template-columns:1fr 1fr;gap:40px;background:#eadfca;border-radius:7px;margin:26px 0 62px;padding:35px 45px}.assessment h2{font-size:clamp(36px,4vw,57px);line-height:1.08;margin:11px 0 15px}.assessment p{font-size:13px;color:#586675;line-height:1.8;max-width:480px}.assessment h2 em{color:#a77842}.calibration-counters{display:flex;gap:38px;margin:26px 0 0}.calibration-counters>div{display:flex;flex-direction:column;gap:2px}.calibration-counters strong{font-size:34px;letter-spacing:-.07em;color:#24475e}.calibration-counters span{font-size:9px;letter-spacing:.12em;font-weight:850;color:#6e736e}.assessment-table{background:#fbf8ec;padding:20px;border:1px solid #d6cab1}.minihead,.stone-result{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #e6dfcd;padding:9px 2px;font-size:12px}.minihead{font-size:10px;color:#887c65;letter-spacing:.13em;font-weight:800}.stone-result strong{color:#24566d}.stone-result.good strong{color:#278368}.legend-note{color:#7e7b73;font-size:11px;line-height:1.6;padding-top:14px}.challenge-zone{background:#15354b;color:#f7f1e4;margin:45px -5px 62px;padding:40px clamp(20px,4vw,56px);border-radius:6px;box-shadow:var(--shadow)}.challenge-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:27px}.challenge-zone .chapter{color:#cfab70}.challenge-zone h2{font-size:clamp(38px,4.4vw,63px);line-height:1.04;margin:8px 0 0}.challenge-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.challenge-tools label{font-size:10px;font-weight:800;letter-spacing:.1em}.challenge-tools select{background:#fcf8e8;padding:11px 13px;border:0;border-radius:3px;color:#19374a}.challenge-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px}.exercise-nav{border:1px solid #5b7280;padding:22px 17px;display:flex;flex-direction:column}.nav-label{color:#e5bf7f;margin-bottom:13px}.exercise-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.exercise-buttons button{background:#20475c;border:1px solid #628090;color:#f0eee4;height:37px;border-radius:3px;font-weight:800}.exercise-buttons button.active{background:#f1be76;color:#20354a;border-color:#f1be76}.exercise-buttons button.solved:not(.active){background:#367f70;border-color:#4ca993}.score-meter{margin-top:auto;padding-top:40px}.score-label{display:flex;justify-content:space-between;font-size:11px;font-weight:800;letter-spacing:.07em}.progress-track{height:7px;background:#436071;margin:11px 0;border-radius:10px;overflow:hidden}.progress-track div{height:100%;background:#ecb86d;width:0;transition:width .3s}.score-meter small{color:#afc3c6;font-size:10px}.question-card{background:#f9f7ec;color:#234155;padding:30px 34px;border-radius:4px;min-height:320px}.question-overline{font-size:10px;letter-spacing:.13em;color:#b28750;font-weight:850}.question-card h3{font-family:Georgia,serif;font-size:32px;font-weight:500;letter-spacing:-.03em;margin:6px 0 12px}.question-card p{font-size:15px;line-height:1.75;max-width:780px}.answer-row{display:flex;align-items:center;gap:12px;margin:18px 0 10px}.answer-row input{max-width:280px;width:100%;border:1px solid #a4bebf;padding:11px 14px;background:#fff;color:#18374a}.answer-row .units{color:#608390;font-weight:750}.options{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 18px}.options label{display:flex;align-items:center;gap:8px;border:1px solid #cad7d6;padding:9px 12px;background:#fff;cursor:pointer;font-size:13px}.options label:has(input:checked){background:#dbf0e8;border-color:#24788b}.mission-guide{border-left:3px solid #d3a257;background:#efe5cb;padding:12px 16px;font-size:13px;line-height:1.7;margin:16px 0}.feedback{margin:14px 0;padding:12px 15px;border-left:3px solid #c66b52;background:#ffe6df;color:#83402e;font-weight:700;font-size:13px}.feedback.success{background:#e0f3e5;color:#28684f;border-color:#349467}.challenge-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}.helpbox{border-top:1px solid #ddd9cb;margin-top:16px;padding-top:12px;color:#626b69;font-size:13px;line-height:1.75}.learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.learn-grid article{background:#fffdf6;border:1px solid #dedfd5;padding:29px 26px;min-height:260px}.learn-number{color:#c7974d;font-family:Georgia,serif;font-size:38px}.learn-grid h3{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:12px 0}.learn-grid p{font-size:13px;line-height:1.8;color:#587080}.formula{background:#e6f1ef;color:#27677b;padding:11px;margin-top:15px;font-size:13px;font-weight:750;text-align:center}.notes-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:24px 0 70px;border-top:1px solid #d4dcd6;padding-top:25px}.notes-bottom strong{color:#1d5064}.notes-bottom p{font-size:12px;line-height:1.8;color:#71818b;max-width:620px}footer{background:#112d43;color:#ede4d0;padding:28px clamp(22px,4vw,68px);display:flex;justify-content:space-between;gap:15px;align-items:center}footer div{display:flex;align-items:center;gap:24px}footer div span,footer small{color:#a9bdbe;font-size:10px;letter-spacing:.08em}
@media(max-width:1100px){.workbench{grid-template-columns:minmax(0,1.2fr) minmax(275px,1fr)}.control-panel{padding:16px}.brand small{display:none}.assessment{padding:25px}.readout strong{font-size:20px}.hero-orbit{transform:scale(.82)}}
@media(max-width:800px){.hero{padding:45px 25px}.hero-orbit{display:none}.workbench,.assessment,.challenge-layout{grid-template-columns:1fr}.control-panel{padding:23px}.section-lead,.graph-heading,.challenge-head{align-items:start;flex-direction:column;gap:12px}.section-lead p,.graph-intro{max-width:100%}.challenge-zone{margin:35px 0;padding:27px 20px}.exercise-buttons{grid-template-columns:repeat(10,1fr)}.exercise-nav{padding:17px}.score-meter{padding-top:20px}.assessment{gap:20px}.learn-grid{grid-template-columns:1fr}.learn-grid article{min-height:unset}.notes-bottom{grid-template-columns:1fr}.hero h1{font-size:clamp(48px,11vw,75px)}}
@media(max-width:480px){.edition{display:none}.brand{font-size:17px}.hero{min-height:340px}.hero-tags{gap:5px}.hero-tags span{font-size:9px;padding:6px 8px}.control-panel{padding:17px}.stage-head{padding:11px;font-size:9px}.stage-foot{padding:12px;font-size:10px}.readout strong{font-size:19px}.graphs-wrap{padding:15px 10px}.graph-footer{font-size:8px;flex-wrap:wrap}.assessment{padding:20px}.calibration-counters{gap:18px}.question-card{padding:20px 16px}.question-card h3{font-size:27px}.exercise-buttons{grid-template-columns:repeat(5,1fr)}.challenge-tools .action{padding:8px}.presets button{font-size:10px}footer,footer div{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
