:root { --paper:#ecf0e7; --ink:#183f35; --dark:#123a30; --deep:#0c2e26; --pale:#f8f9f1; --soft:#c9d6c9; --acid:#c8f180; --orange:#ff6847; --blue:#487ba3; --violet:#986c9a; --stroke:#bed1c3; --muted:#5c7b71; --line:rgba(20,68,53,.18); --shadow:0 22px 62px #08342116; }
* { box-sizing: border-box; }
html { scroll-behaviour: smooth; }
body { background:var(--paper); margin:0; color:var(--ink); font-family: 'Arial', 'Helvetica Neue', sans-serif; -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; }
button, select { cursor:pointer; }
button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
.page-frame { max-width:1600px; margin:auto; padding:0 clamp(16px,3.6vw,56px); }
.masthead { display:flex; justify-content:space-between; align-items:center; min-height:82px; border-bottom:1px solid var(--line); gap:16px; }
.brand { font-size:13px; font-weight:900; letter-spacing:1.9px; display:flex; align-items:center; gap:11px; color:var(--dark); text-decoration:none; white-space:nowrap; }
.brand-icon { width:35px; height:35px; background:var(--dark); color:var(--acid); display:inline-flex; align-items:center; justify-content:center; font-weight:900; font-size:19px; letter-spacing:-2px; }
.brand-icon span { color:var(--orange); font-size:12px; align-self:start; padding-top:4px; }
.mast-right { display:flex; gap:32px; align-items:center; }
.edition,.level-pill { font-weight:750; letter-spacing:1.6px; font-size:10px; }
.level-pill { color:var(--dark); border:1px solid var(--dark); padding:11px 15px; }
.hero { min-height:395px; display:grid; grid-template-columns:minmax(0,2fr) minmax(245px,.8fr); border-bottom:1px solid var(--line); }
.hero-text { padding:41px 20px 28px 0; }
.eyebrow,.overline { font-size:10px; font-weight:900; letter-spacing:2px; }
.eyebrow { display:flex; align-items:center; gap:10px; }
.eyebrow-dot { width:9px; height:9px; border-radius:50%; background:var(--orange); }
h1,h2,h3,p,h4 { margin-top:0; }
h1,h2 { letter-spacing:-2.6px; }
h1 { font-size:clamp(78px,10vw,152px); line-height:.7; font-weight:900; margin:34px 0 22px; }
h1 em { color:transparent; font-style:normal; -webkit-text-stroke:3px var(--ink); }
.title-sup { vertical-align:top; display:inline-block; font-size:16px; letter-spacing:0; margin-left:12px; line-height:1; }
.hero-period,.orange-point { color:var(--orange); }
.intro { font-size:clamp(14px,1.18vw,17px); line-height:1.6; max-width:600px; margin:24px 0; }
.hero-tags { display:flex; flex-wrap:wrap; gap:16px; margin-top:21px; }
.hero-tags span,.challenge-meta span { font-size:9px; font-weight:900; letter-spacing:1.3px; }
.hero-aside { position:relative; display:flex; flex-direction:column; justify-content:end; padding:30px 33px; background:var(--dark); color:var(--paper); overflow:hidden; }
.orbit-glyph { position:absolute; width:240px; height:240px; top:-61px; right:-28px; border:1px solid #d1edcb8c; border-radius:50%; }
.orbit-glyph:before,.orbit-glyph:after { content:''; position:absolute; border:1px solid #d1edcb74; border-radius:50%; inset:27px; }
.orbit-glyph:after { inset:72px; }
.orbit-glyph span,.orbit-glyph i,.orbit-glyph b { width:12px;height:12px;background:var(--orange);position:absolute;border-radius:50%;top:36px;left:33px; }
.orbit-glyph i { width:7px;height:7px;background:var(--acid);top:146px;left:58px; }
.orbit-glyph b { width:9px;height:9px;background:var(--acid);top:112px;left:143px; }
.card-kicker { font-size:10px;letter-spacing:2.1px;color:var(--acid);font-weight:800; }
.hero-aside p { font-size:31px; line-height:1.14; max-width:270px; font-weight:800; letter-spacing:-.8px; margin:12px 0 30px; }
.line-micro { border-top:1px solid #98b7a249; padding-top:15px; display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px; }
.laboratory { padding:56px 0 48px; }
.lab-top { display:flex; justify-content:space-between; align-items:end; margin-bottom:20px; gap:12px; }
h2 { font-size:clamp(33px,3vw,52px); line-height:1.05; margin:9px 0 0; }
.small-sep { color:var(--orange); }.h2-sub {font-weight:400;color:var(--muted);}
.lab-mode { display:flex;gap:10px;align-items:center;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:1px; padding-bottom:8px; }
.signal-dot { width:9px;height:9px;border-radius:50%;background:#849e92; }
.signal-dot.active { background:var(--orange);box-shadow:0 0 0 5px #ff68472c; }
.lab-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,355px); gap:18px; align-items:start; }
.field-col { min-width:0; }
.field-shell { background:#163e34; color:#e0f0de; border:1px solid #31584b;box-shadow:var(--shadow); }
.field-toolbar,.field-bottom { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px; }
.field-toolbar { border-bottom:1px solid #ffffff29; }
.field-brand { font-weight:900;font-size:12px;letter-spacing:1.8px; }
.field-brand span {margin-left:8px;color:#8cb5a0;font-size:9px;}
.toolbar-right {display:flex; gap:15px; flex-wrap:wrap;}
.field-key { display:inline-flex;gap:7px;align-items:center; font-weight:700;font-size:9px;letter-spacing:.5px;color:#c7e7cf; }
.field-key i { width:9px;height:9px;display:inline-block; }
.key-node {background:#d3f38a;border-radius:50%;}.key-contour {border-bottom:2px dashed #5fbeca;}.key-hypothesis {background:var(--orange);transform:rotate(45deg);}
#field { display:block; width:100%; aspect-ratio:1.56; touch-action:none; cursor:crosshair; background:#153e33; }
.field-bottom { border-top:1px solid #ffffff29; font-size:10px;letter-spacing:1px;font-weight:800;color:#b8d4c0; }
.control-strip { background:var(--pale); padding:19px; border:1px solid var(--stroke);border-top:0; }
.strip-head {display:flex;justify-content:space-between;margin-bottom:15px;gap:10px;color:var(--muted);font-size:9px;letter-spacing:1.3px;font-weight:900;}
.button-row {display:flex;flex-wrap:wrap;gap:7px;}
.btn { border:1px solid var(--ink);min-height:40px;padding:10px 13px; text-align:center; font-size:10px;font-weight:900; letter-spacing:1px; border-radius:2px;transition:transform .12s,opacity .12s,background .12s; }
.btn:not(:disabled):active {transform:translateY(2px);} .btn:disabled {opacity:.4;cursor:not-allowed;}
.btn-primary {background:var(--orange);border-color:var(--orange);color:#122f27;} .btn-primary:hover {background:#ff856a;}
.btn-dark {background:var(--ink);color:var(--pale);}.btn-outline {background:transparent;color:var(--ink);}.btn-outline:hover {background:#e0eadc;}
.icon-play {font-size:15px;vertical-align:middle;}
.inline-toggles {display:flex;gap:23px; flex-wrap:wrap; margin-top:15px; }
.toggle-label {display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;cursor:pointer;}
input[type=checkbox] {accent-color:var(--orange);width:16px;height:16px;}
.trace-panel { background:var(--pale);margin-top:18px;border:1px solid var(--stroke);padding:20px 19px 14px; }
.trace-head {display:flex;justify-content:space-between;align-items:end;gap:10px;}
.trace-head h3 {font-size:23px;letter-spacing:-.7px;margin:8px 0 10px;}.trace-sub {font-size:9px;letter-spacing:1px; font-weight:800;color:var(--muted);text-align:right;}
#trace {display:block;width:100%;height:212px; background:#f3f6eb;}
.trace-note {font-size:11px;line-height:1.5;color:var(--muted);margin-top:10px;}
.instrument-panel {background:var(--pale);border:1px solid var(--stroke);min-width:0;padding:27px 22px;}
.panel-head h3 {font-size:29px;letter-spacing:-1px;margin:10px 0 22px;}
.field-control { margin-bottom:20px; } .field-control>label,.label-line label {display:block;font-size:12px;font-weight:900; margin-bottom:9px;}
select {width:100%;border:1px solid #aec5b5;background:white;min-height:43px;padding:0 11px;border-radius:2px;color:var(--ink);font-size:12px;}
.mini-help {font-size:11px;line-height:1.45;color:var(--muted);margin:7px 0 0;}
.two-col-stats {display:grid;grid-template-columns:1fr 1fr;background:var(--acid);padding:15px 13px;gap:8px;margin:23px 0;}
.two-col-stats div {display:flex;flex-direction:column;gap:6px;}.two-col-stats span {font-size:8px;font-weight:900;letter-spacing:1px;}.two-col-stats strong {font-size:18px;letter-spacing:-.6px;}
.label-line {display:flex;justify-content:space-between;gap:8px;}.label-line output {font-size:12px;font-weight:900;}
input[type=range] {width:100%;accent-color:var(--orange);cursor:pointer; margin:4px 0;}
.range-end {display:flex;justify-content:space-between;color:var(--muted);font-size:10px;}
.divider-rule {height:1px;background:var(--stroke);margin:24px 0;}
.readings {margin-top:12px;}.reading {padding:12px 0;border-bottom:1px solid #d9e5d9;display:flex;justify-content:space-between;align-items:center;gap:10px;}
.reading-name {display:flex;gap:8px;align-items:center;font-size:11px;font-weight:800;}.reading-name i {width:10px;height:10px;border-radius:50%;display:inline-block;}.reading-value {font-size:15px; font-weight:850;font-variant-numeric:tabular-nums;}.reading-value small {font-size:10px;color:var(--muted);}
.empty-readings {font-size:12px;color:var(--muted);padding:15px 0;}
.fit-score {display:grid;grid-template-columns:1.3fr 1fr;gap:8px;margin:18px 0;}.fit-score div {background:#e7efe4;padding:13px 10px;}.fit-score small {display:block;font-size:8px;letter-spacing:.7px;font-weight:900;color:var(--muted);margin-bottom:8px;}.fit-score strong {font-size:17px;letter-spacing:-.6px;}
.fit-detail,.guess-result {font-size:11px;line-height:1.5;color:var(--muted);}.guess-result {margin-top:10px;border-left:3px solid var(--orange);padding-left:10px;}
.model-note {display:flex;gap:12px;background:var(--dark);color:#e8f5e6;padding:15px;margin-top:26px;}.note-symbol {font-size:32px;color:var(--acid);}.model-note strong {display:block;font-size:12px;}.model-note p {margin:6px 0 0;font-size:12px;line-height:1.7;font-family:Georgia,serif;color:#cde9d3;}
.learning-grid {display:grid;grid-template-columns:1fr 1fr;gap:9%;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:66px 0 74px;}
.learning-left h2 {font-size:clamp(38px,4.2vw,61px);margin:18px 0 29px;}.learning-left h2 em,.exercise-intro h2 em,.applications h2 em {font-style:normal;color:var(--orange);}
.learning-left p {font-size:14px;line-height:1.8;max-width:600px;color:#3c6154;}
.learning-right {background:var(--dark);color:var(--paper);padding:30px;}
.formula-label {font-size:9px;letter-spacing:1.3px;font-weight:850;color:var(--acid);}
.formula {font-size:clamp(20px,2.3vw,31px);font-family:Georgia,serif;margin:23px 0;display:flex;align-items:center;gap:13px;flex-wrap:wrap;}
.frac {display:inline-flex;flex-direction:column;align-items:center;text-align:center;}.frac span:first-child {border-bottom:1.5px solid var(--paper);padding-bottom:8px;}.frac span:last-child {padding-top:6px;}.formula sub{font-size:55%;}
.formula-foot {color:#b8d2bd;font-size:12px;line-height:1.6;}.objectives {border-top:1px solid #6e957b5b;margin-top:28px;padding-top:20px;}.objectives h4 {letter-spacing:1.5px;font-size:10px;color:var(--acid);}.objectives ol {padding-left:18px;font-size:12px;line-height:1.7;color:#e0efe2;}.objectives li {margin-bottom:9px;}
.exercise-section {padding:80px 0;display:grid;grid-template-columns:.86fr 1.14fr;gap:9%;}
.exercise-intro {padding-top:25px;}.exercise-intro h2 {font-size:clamp(38px,4vw,60px);line-height:1.05;margin:22px 0;}.exercise-intro p {max-width:360px;line-height:1.7;font-size:14px;color:var(--muted);}
.challenge-meta {display:flex;gap:16px;flex-wrap:wrap;margin-top:28px;}
.exercise-card {background:var(--pale);border:1px solid var(--stroke);box-shadow:var(--shadow);padding:27px;}
.exercise-top {display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:900;letter-spacing:1.2px;}.exercise-kicker {color:var(--orange);}
.exercise-progress {height:5px;background:#dce6da;margin:17px 0 24px;}.exercise-progress span {display:block;height:100%;width:10%;background:var(--orange);transition:width .2s;}
.difficulty-field {display:flex;align-items:center;gap:11px;margin-bottom:24px;}.difficulty-field label {font-size:11px;font-weight:800;}.difficulty-field select {max-width:154px;min-height:35px;}.score {margin-left:auto;font-size:10px;font-weight:900;white-space:nowrap;}
.exercise-category {color:var(--orange);font-size:10px;font-weight:900;letter-spacing:2px;}.exercise-card h3 {font-size:24px;letter-spacing:-.6px;line-height:1.35;margin:13px 0 23px;}
.answer-container {margin-bottom:17px;}.answer-container input[type=number] {max-width:250px; width:100%;padding:14px;font-size:18px;border:1px solid var(--stroke);background:white;color:var(--ink);}.answer-suffix {font-size:12px;font-weight:900;padding-left:10px;}
.choice-label {display:flex;gap:12px;align-items:flex-start;border:1px solid var(--stroke);padding:13px;line-height:1.5;font-size:13px;margin-bottom:8px;cursor:pointer;}.choice-label:has(input:checked) {background:#e0edcf;border-color:#6d997e;}.choice-label input {margin-top:2px;accent-color:var(--ink);}.live-notice {padding:15px;background:#e9f0e8;border-left:4px solid var(--acid);font-size:12px;line-height:1.55;}
.exercise-feedback {min-height:20px;font-size:12px;font-weight:800;line-height:1.55;}.exercise-feedback.correct {color:#27714e;}.exercise-feedback.incorrect {color:#b8432b;}.exercise-feedback.help {color:#596e48;}.explanation {font-size:12px;line-height:1.65;padding:12px;background:#e5efe1;color:#365c42;margin:9px 0 16px;}.exercise-actions {display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;}.exercise-bottom {border-top:1px solid var(--stroke);padding-top:21px;margin-top:23px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.text-btn {border:0;padding:0;background:none;color:var(--ink);font-size:11px;font-weight:900;letter-spacing:.8px;text-decoration:underline;text-underline-offset:5px;}
.applications {display:grid;grid-template-columns:1.4fr repeat(3,1fr);border-top:1px solid var(--line);padding:60px 0 90px;gap:28px;}.applications h2 {font-size:43px;margin-top:20px;}.application {border-left:1px solid var(--line);padding-left:21px;}.app-no {font-size:11px;font-weight:900;color:var(--orange);}.application h3 {font-size:17px;margin:20px 0 9px;}.application p {font-size:12px;line-height:1.7;color:var(--muted);}
footer {min-height:90px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid var(--line);font-size:9px;font-weight:800;color:var(--muted);letter-spacing:1.1px;}
@media (max-width:1140px) {.lab-grid {grid-template-columns:minmax(0,1fr) 285px;gap:12px;}.instrument-panel {padding:20px 15px;}.toolbar-right {gap:9px;}.hero-aside {padding:25px;}.hero {min-height:355px;}.button-row .btn {flex:1 1 40%;}.applications {grid-template-columns:1fr 1fr;}}
@media (max-width:870px) {.lab-grid {grid-template-columns:1fr;}.instrument-panel {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;}.panel-head,.two-col-stats,.divider-rule,.readings,.fit-section,.model-note,.instrument-panel>.overline {grid-column:1/-1;}.instrument-panel .divider-rule {margin:9px 0 20px;}.hero {grid-template-columns:1fr 245px;}.hero-text {padding-right:12px;}.hero-aside p {font-size:25px;}.learning-grid {gap:25px;}.exercise-section {gap:30px;}}
@media (max-width:630px) {.page-frame {padding:0 14px;}.masthead {min-height:63px;}.brand {font-size:11px;letter-spacing:.6px;}.edition {display:none;}.level-pill {padding:9px;font-size:9px;}.hero {grid-template-columns:1fr;}.hero-text {padding:35px 0 25px;}.hero h1 {font-size:clamp(80px,19vw,122px);margin:28px 0 18px;}.hero-aside {min-height:178px;}.hero-aside p {margin-bottom:18px;}.orbit-glyph {top:-80px;}.intro {max-width:410px;}.hero-tags {gap:9px;}.hero-tags span {font-size:8px;}.laboratory {padding:36px 0;}.lab-top {align-items:start;flex-direction:column;}.lab-mode {padding:5px 0;}.h2-sub {display:inline;}.field-toolbar {padding:13px;flex-wrap:wrap;}.field-toolbar .field-key {font-size:8px;}.field-bottom {padding:12px;font-size:8px;}.control-strip {padding:13px;}.strip-head {font-size:8px;}.button-row .btn {font-size:9px;padding:9px;}.trace-head {align-items:start;}.trace-sub {font-size:8px;}.instrument-panel {grid-template-columns:1fr;}.instrument-panel>* {grid-column:1/-1 !important;}.learning-grid,.exercise-section {grid-template-columns:1fr;padding:46px 0;gap:24px;}.learning-right {padding:24px;}.exercise-intro {padding:0;}.exercise-intro h2 {margin:16px 0;}.exercise-card {padding:20px 15px;}.difficulty-field {flex-wrap:wrap;}.applications {grid-template-columns:1fr;gap:23px;padding:45px 0;}.application {padding:0 0 0 15px;}.applications h2 {margin-bottom:6px;}footer {padding:25px 0;}.trace-panel {padding:15px 12px;}}
@media (prefers-reduced-motion:reduce) {html {scroll-behaviour:auto;}* {transition:none !important;}}
