.lesson-actions{position:relative}.lesson-actions-toggle,.lesson-actions-panel button{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;padding:.5rem .8rem;font-size:.85rem}.lesson-actions-panel{inset-inline-end:0;z-index:40;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);gap:.5rem;width:min(28rem,100vw - 1.4rem);max-height:75dvh;padding:.8rem;display:grid;position:absolute;top:calc(100% + .5rem);overflow-y:auto;box-shadow:0 8px 24px #0002}.lesson-actions-panel[hidden]{display:none}.lesson-actions-panel label{gap:.3rem;font-size:.85rem;display:grid}.lesson-actions-panel input,.lesson-actions-panel textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);padding:.4rem;font-size:.8rem}.feedback-export p,.lesson-actions-status{margin:.4rem 0;font-size:.85rem}.feedback-export-buttons{flex-wrap:wrap;gap:.5rem;margin-block:.5rem;display:flex}.course-lesson-header .course-lesson-action{display:block}@media (width<=900px){.lesson-actions-panel{top:4rem;position:fixed;inset-inline-end:.7rem}.lesson-actions-toggle{padding-inline:.55rem}}.course-index{min-height:100dvh;color:var(--ink);background:var(--bg)}.course-index main{width:min(100%,1180px);margin:0 auto;padding:0 clamp(1rem,4vw,3.5rem) clamp(3rem,7vw,5rem)}.course-header{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f6f6f7f0;justify-content:space-between;align-items:center;gap:1rem;min-height:60px;max-height:5rem;padding:.4rem calc(clamp(1rem,4vw,3.5rem) + max(0px,50% - 590px));display:flex;position:sticky;top:0}.course-header-meta{color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8125rem}.course-opening{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:clamp(1.5rem,4vw,3.5rem);padding:clamp(1.6rem,4vw,2.6rem) 0 clamp(1.4rem,3vw,2rem);display:grid}.hero-bowl{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-rest);margin:0;padding:clamp(1rem,2.4vw,1.4rem)}.hero-bowl-prompt{color:var(--ink-2);margin:0 0 .6rem;font-size:.9375rem;line-height:1.5}.hero-bowl-prompt strong{color:var(--ink)}.hero-bowl-chart{width:100%;height:auto;display:block;overflow:visible}.hero-bowl-area{fill:var(--accent-soft)}.hero-bowl-curve{fill:none;stroke:var(--accent);stroke-width:3px}.hero-bowl-floor{stroke:var(--line-accent);stroke-width:2px;stroke-dasharray:4 5}.hero-bowl-label{fill:var(--ink-3);font-size:16px;font-weight:600}.hero-bowl-trace{fill:var(--surface);stroke:var(--accent);stroke-width:2px;opacity:.7}.hero-bowl-stage{position:relative}.hero-bowl-ball{transition:transform .24s cubic-bezier(.77,0,.175,1)}.hero-bowl-drop{transform-box:fill-box;transform-origin:50% 100%;animation:1.1s .25s both mascot-drop}@keyframes mascot-drop{0%{animation-timing-function:cubic-bezier(.55,0,1,.45);transform:translateY(-260px)}48%{animation-timing-function:cubic-bezier(.23,1,.32,1);transform:translateY(0)scale(1.18,.8)}66%{animation-timing-function:cubic-bezier(.55,0,1,.45);transform:translateY(-26px)scale(.94,1.08)}82%{animation-timing-function:cubic-bezier(.23,1,.32,1);transform:translateY(0)scale(1.07,.93)}to{transform:none}}.hero-bowl-spin{transform-box:fill-box;transform-origin:50%}.hero-bowl-ball.is-escaped .hero-bowl-spin{animation:.9s cubic-bezier(.77,0,.175,1) 2 mascot-dizzy}@keyframes mascot-dizzy{0%,to{transform:rotate(0)}25%{transform:rotate(-18deg)}75%{transform:rotate(18deg)}}.hero-bowl-bubble{z-index:1;color:var(--surface);background:var(--ink);white-space:nowrap;box-shadow:var(--shadow-rest);transform-origin:0 100%;border-radius:14px 14px 14px 4px;margin:0;padding:.45rem .75rem;font-size:.875rem;font-weight:600;animation:.32s cubic-bezier(.23,1,.32,1) 1.25s both bubble-pop;position:absolute}@keyframes bubble-pop{0%{opacity:0;transform:translateY(6px)scale(.9)}to{opacity:1;transform:none}}.course-get-started{flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-top:1.6rem;display:flex}.course-get-started span{color:var(--ink-3);font-size:.9375rem}.course-get-started-button{border-bottom:4px solid var(--accent-deep);color:#fff;background:var(--accent);border-radius:999px;place-items:center;min-height:52px;padding:0 1.8rem;font-weight:700;text-decoration:none;transition:transform .12s ease-out;display:inline-grid}.course-get-started-button:active{border-bottom-width:2px;transform:translateY(2px)}.onboarding-plan{border-left:2px solid var(--accent);background:var(--surface-2);align-items:flex-start;gap:.75rem;margin-top:1.4rem;padding:.8rem 1rem;animation:.42s cubic-bezier(.23,1,.32,1) both rise-in;display:flex}.onboarding-plan p{color:var(--ink-2);margin:0;font-size:.9375rem;line-height:1.5}.onboarding-plan .onboarding-plan-head{color:var(--ink);margin-bottom:.25rem;font-weight:600}.onboarding-plan a,.onboarding-retake{color:var(--accent);text-underline-offset:3px;font-weight:600}.onboarding-retake{padding:.7rem 0}.course-opening-text>*,.hero-bowl,.course-lessons{animation:.52s cubic-bezier(.23,1,.32,1) both rise-in}.course-opening-text>:nth-child(2){animation-delay:70ms}.course-opening-text>:nth-child(3){animation-delay:.14s}.hero-bowl{animation-delay:.12s}.course-lessons{animation-delay:.26s}@keyframes rise-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.hero-bowl-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.8rem;display:grid}.hero-bowl-choices .choice-button{min-height:44px;transition:transform .16s ease-out}.hero-bowl-choices .choice-marker{flex-shrink:0}.hero-bowl-choices .choice-button:active{transform:scale(.97)}.hero-bowl-result{min-height:3em;color:var(--ink);margin-top:.7rem;font-size:.9375rem;font-weight:500;line-height:1.5}.hero-bowl-result a{color:var(--accent);text-underline-offset:3px;font-weight:600}.course-opening .lesson-label{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;margin-bottom:.85rem;font-size:.8125rem;font-weight:700;display:inline-flex}.course-opening h1{max-width:14ch;font-family:var(--font-display);letter-spacing:-.05em;word-spacing:.1em;margin:0;font-size:clamp(2.4rem,4.6vw,3.8rem);font-weight:620;line-height:1}.course-opening-copy{max-width:40rem;color:var(--ink-2);margin-top:.9rem;font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.5}.course-opening-copy p{margin:0}.course-lessons{border-top:1px solid var(--line);counter-reset:none;margin:0;padding:0;list-style:none;display:grid}.course-card{border-bottom:1px solid var(--line);color:inherit;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;gap:clamp(1rem,3vw,2.2rem);padding:clamp(1.1rem,2.6vw,1.5rem) 0;text-decoration:none;transition:background-color .16s;display:grid}.course-card:hover{background:var(--surface-2)}.course-card:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.course-card.is-complete .course-card-number{color:var(--ok)}.course-card.is-recommended .course-card-number{color:var(--accent)}.course-card-number{color:var(--ink-3);font-family:var(--font-display);font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:600;line-height:1}.course-card-body{min-width:0;display:block}.course-card-title-row{flex-wrap:wrap;align-items:baseline;gap:.15rem .7rem;display:flex}.course-card-body strong{font-family:var(--font-display);letter-spacing:-.02em;word-spacing:.08em;font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:600;line-height:1.15;display:block}.course-card-flag{color:var(--accent);font-size:.8125rem;font-weight:600}.course-card-blurb{max-width:54ch;color:var(--ink-2);margin-top:.35rem;font-size:.9375rem;line-height:1.5;display:block}.course-card-meta{color:var(--ink-3);flex-wrap:wrap;align-items:baseline;gap:.35rem;margin-top:.6rem;font-size:.8125rem;font-weight:500;display:flex}.course-card.is-active .course-card-status{color:var(--accent-deep)}.course-card.is-complete .course-card-status{color:var(--ok)}.course-card-dot{color:var(--ink-3)}.course-card-time{font-variant-numeric:tabular-nums}.course-card-action{white-space:nowrap;justify-content:center;align-items:center;display:inline-flex}.course-card-action.is-primary{border:1px solid var(--accent);border-radius:var(--r-sm);min-width:6.5rem;min-height:44px;color:var(--surface);background:var(--accent);padding:.5rem 1.1rem;font-size:.9375rem;font-weight:600}.course-card:hover .course-card-action.is-primary{background:var(--accent-deep);border-color:var(--accent-deep)}.course-card-action.is-link{color:var(--accent);text-underline-offset:3px;font-size:.9375rem;font-weight:600;text-decoration:underline}.course-footnote{max-width:44rem;margin-top:clamp(1.8rem,4vw,2.6rem)}.course-footnote p{color:var(--ink-3);margin:0;font-size:.9375rem;line-height:1.6}@media (width<=900px){.course-opening{grid-template-columns:minmax(0,1fr)}.hero-bowl-label{font-size:22px}.course-card{grid-template-columns:minmax(0,1fr);align-items:start;gap:.5rem}.course-card-number{font-size:1.2rem}.course-card-action{justify-content:flex-start}.course-card-action.is-primary{width:100%}}@media (prefers-reduced-motion:reduce){.course-card,.hero-bowl-ball,.hero-bowl-choices .choice-button,.course-get-started-button{transition:none}.onboarding-plan,.hero-bowl-drop,.hero-bowl-ball.is-escaped .hero-bowl-spin,.hero-bowl-bubble,.course-opening-text>*,.hero-bowl,.course-lessons{animation:none}}:root{--control-border:var(--ink-3);--control-border-strong:var(--accent-deep);--control-disabled-foreground:var(--ink-3);--control-disabled-background:var(--surface-3);--control-disabled-border:var(--line);--workspace-offset:1.25rem}input[type=range]{min-height:44px}input[type=range]::-webkit-slider-thumb{transition:transform .12s cubic-bezier(.23,1,.32,1)}input[type=range]::-moz-range-thumb{transition:transform .12s cubic-bezier(.23,1,.32,1)}input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.1)}input[type=range]:hover::-moz-range-thumb{transform:scale(1.1)}input[type=range]:active::-webkit-slider-thumb{transform:scale(1.18)}input[type=range]:active::-moz-range-thumb{transform:scale(1.18)}.learning-section{grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);align-items:start;gap:clamp(1.5rem,4vw,3.5rem);margin-bottom:clamp(2.8rem,7vw,5.5rem);display:grid}.learning-layer,.interactive-workspace{min-width:0}.interactive-workspace{top:var(--workspace-offset);z-index:3;align-self:start;position:sticky}.interactive-workspace>*,.metric-readout{min-width:0}.metric-readout dl,.metric-readout dl>div{margin:0}.metric-readout dl>div{flex-direction:column;gap:.15rem;display:flex}.metric-readout dt{color:var(--ink-3);font-size:.72rem;font-weight:500}.metric-readout dd{color:var(--ink);font-family:var(--font-text);overflow-wrap:anywhere;order:-1;margin:0;font-size:1.05rem;font-weight:600}.metric-readout dd strong{font:inherit}.metric-trend{color:var(--accent-deep);margin-top:.1rem;font-size:.72rem;font-weight:500}.metric-meaning,.chart-note,.metric-note{color:var(--muted);font-size:.78rem;line-height:1.45}.chart-note{margin:-.35rem 0 .5rem;padding:0 .35rem}.stage-task{border:1px solid var(--line);border-left:4px solid var(--orange);background:var(--paper);border-radius:12px;margin-top:1.25rem;padding:1.1rem 1.2rem}.stage-task h3{font-family:var(--font-display);margin:0 0 .35rem;font-size:1.35rem}.stage-task>p{color:var(--ink-2);line-height:1.5}.stage-task .success-callout,.stage-task .failure-callout{margin-bottom:0}button,[role=button]{min-height:46px}button{border-color:var(--control-border);border-radius:var(--r-sm);transition:border-color .12s,background-color .12s,box-shadow .12s,color .12s,transform .12s cubic-bezier(.23,1,.32,1)}button:hover:not(:disabled){border-color:var(--control-border-strong);color:var(--teal-dark);background:var(--accent-soft);box-shadow:inset 0 0 0 1px #2c43e047}button:disabled,input:disabled{opacity:1}button:disabled{color:var(--control-disabled-foreground);border-color:var(--control-disabled-border);background:var(--control-disabled-background)}.choice-button{justify-content:center;align-items:center;gap:.45rem;display:inline-flex}.choice-button .choice-marker{border:1px solid;border-radius:50%;place-items:center;width:1.15rem;height:1.15rem;font-size:.72rem;line-height:1;display:inline-grid}.choice-button.is-selected,.choice-button[aria-pressed=true]{border-color:var(--control-border-strong);color:var(--teal-dark);background:var(--teal-pale);box-shadow:inset 0 0 0 2px #2c43e033}.choice-button.is-selected .choice-marker,.choice-button[aria-pressed=true] .choice-marker{color:#fff;background:var(--teal-dark)}.stage-recap{border:1px solid var(--line);color:var(--muted);border-radius:10px;padding:.7rem .85rem;font-size:.78rem}.stage-recap strong{color:var(--ink)}@media (width<=1000px){.learning-section{grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:1.25rem}}@media (width<=900px){.learning-section{min-height:100dvh;margin-bottom:2.8rem;display:block}.interactive-workspace{margin-top:1rem;position:static}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important}}:root{font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:auto}body{background:radial-gradient(circle at 88% 8%, #2c43e00d, transparent 29rem), var(--bg);font-variant-numeric:tabular-nums;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);border-radius:var(--r-sm);min-height:46px;color:var(--ink);background:var(--paper);cursor:pointer;padding:.65rem 1rem;font-weight:560;transition:border-color .2s cubic-bezier(.2,.7,.2,1),background-color .2s cubic-bezier(.2,.7,.2,1),color .2s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1)}button:active:not(:disabled){transform:translateY(1px)scale(.97)}button:hover:not(:disabled){border-color:var(--teal);color:var(--teal-dark)}button:disabled{cursor:not-allowed;opacity:1;color:var(--ink-3);border-color:var(--line);background:var(--surface-3)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[role=slider]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{color:var(--teal-dark)}code{font-family:var(--font-text)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:20;border-radius:var(--r-sm);color:#fff;background:var(--ink);padding:.75rem 1rem;position:fixed;top:.75rem;left:.75rem;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.site-header,main,footer{width:min(1180px,100% - 40px);margin-inline:auto}.site-header{border-bottom:1px solid #16171c33;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;min-height:74px;display:grid}.brand-mark{border-radius:var(--r-md);min-width:44px;min-height:44px;color:var(--ink);font-family:var(--font-display);letter-spacing:-.01em;white-space:nowrap;align-items:center;gap:.5rem;font-size:1.05rem;font-weight:600;text-decoration:none;display:inline-flex}.mascot-mark{flex-shrink:0;width:40px;height:40px;transition:transform .2s cubic-bezier(.23,1,.32,1);overflow:visible}.brand-mark:hover .mascot-mark{transform:rotate(-8deg)translateY(-1px)}.mascot-body{fill:var(--accent)}.mascot-sprout{fill:#2fa36b}.mascot-shine{fill:#fff;opacity:.35}.mascot-cheek{fill:#ff8fa3;opacity:.55}.mascot-eye{fill:#fff}.mascot-pupil{fill:#12131a;transition:cx .24s cubic-bezier(.23,1,.32,1),cy .24s cubic-bezier(.23,1,.32,1)}.mascot-lid{fill:var(--accent)}.mascot-line{fill:none;stroke:#12131a;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.mascot-mouth-fill{fill:#12131a}.mascot-eyes{transform-box:fill-box;transform-origin:50%;animation:5s 2s infinite mascot-blink}@keyframes mascot-blink{0%,94%,to{transform:none}96%{transform:scaleY(.1)}}@media (prefers-reduced-motion:reduce){.mascot-eyes{animation:none}.mascot-mark,.mascot-pupil{transition:none}}.lesson-progress{color:var(--muted);justify-content:space-between;gap:1rem;font-size:.78rem;font-weight:500;display:flex}.lesson-progress span:last-child{color:var(--teal-dark)}.share-button{background:0 0;min-height:40px}.hero-copy{max-width:900px;padding:clamp(3.2rem,8vw,6.8rem) 0 clamp(2.5rem,6vw,4.5rem)}.lesson-label{color:var(--accent);letter-spacing:.09em;text-transform:uppercase;margin:0 0 .7rem;font-size:.76rem;font-weight:600;display:block}.section-eyebrow{color:var(--ink-3);margin:0 0 .5rem;font-size:.8rem;font-weight:500;display:block}.hero-copy h1,.section-heading h2,.model-intro h2,.journey-card h2,.advanced-section h2,.final-explanation h2,.why-ending h2,.ending-section h2{font-family:var(--font-display);letter-spacing:-.015em;text-wrap:balance;font-weight:600}.hero-copy h1{max-width:820px;margin:0;font-size:clamp(2.9rem,6.4vw,5.8rem);line-height:1.02}.hero-copy .subtitle{max-width:720px;color:var(--ink-2);margin:1.25rem 0 0;font-size:clamp(1.1rem,2.1vw,1.45rem);line-height:1.55}.why-card{border-radius:var(--r-md);background:var(--accent-soft);max-width:790px;margin-top:2rem;padding:1.1rem 1.3rem}.why-card p{margin:.45rem 0;line-height:1.55}.intro-action{border-color:var(--ink);color:#fff;background:var(--ink);margin-top:1.25rem}.main-experience,.primer,.journey-card,.advanced-section,.final-explanation,.why-ending,.share-section,.ending-section,.trust-panel{margin-bottom:clamp(2.8rem,7vw,5.5rem);scroll-margin-top:1rem}.model-intro{grid-template-columns:1.1fr .9fr;align-items:end;gap:2rem;margin-bottom:1.25rem;display:grid}.model-intro h2{margin:0;font-size:clamp(2rem,4vw,3rem)}.synchronized-views{grid-template-columns:1fr 1fr;display:grid}.chart-card{background:var(--paper);min-width:0;padding:1.2rem 1.15rem 1rem}.chart-card+.chart-card{border-left:1px solid var(--line)}.chart-heading{justify-content:space-between;align-items:flex-start;gap:1rem;min-height:55px;padding:0 .35rem;display:flex}.chart-heading span{color:var(--muted);font-size:.74rem;font-weight:500}.chart-heading h2,.chart-heading h3{font-family:var(--font-display);margin:.2rem 0 0;font-size:1.24rem}.chart-heading>strong{color:var(--ink);background:var(--surface-2);font-family:var(--font-text);border-radius:6px;flex:none;padding:.3rem .5rem;font-size:.74rem;font-weight:600}.learning-chart{width:100%;min-height:285px;display:block;overflow:visible}.chart-grid line{stroke:var(--surface-3);stroke-width:1px}.chart-grid text,.axis-label,.minimum-marker text,.valley-label{fill:var(--ink-3);font-size:11px;font-family:var(--font-text)}.axis-label{font-weight:560}.actual-mark{fill:var(--ink);stroke:#fff;stroke-width:2px}.prediction-mark{fill:#fff;stroke:var(--orange);stroke-width:2px}.prediction-line{stroke:var(--orange);stroke-width:4px;stroke-linecap:round;transition:all .14s}.error-line{stroke:var(--blue);stroke-width:2px;stroke-dasharray:4 4;transition:all .14s}.loss-area{fill:#2c43e014}.loss-curve{fill:none;stroke:var(--ink);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.best-region{fill:#2c43e01f}.optimizer-trail{fill:none;stroke:var(--orange);stroke-width:3px;stroke-dasharray:5 5;stroke-linejoin:round}.previous-point{fill:#fff;stroke:var(--orange-dark);stroke-width:2px}.optimizer-point{fill:var(--accent);stroke:#fff;stroke-width:3px;filter:drop-shadow(0 2px 5px #2c43e059);pointer-events:none;transition:cx .14s,cy .14s}.optimizer-hit-target{fill:#0000;stroke:#0000}.optimizer-hit-target.draggable{cursor:ew-resize;touch-action:none}.gradient-tangent{stroke:var(--accent);stroke-width:3px}#tangent-arrow path{fill:var(--accent)}.minimum-marker circle{fill:var(--surface);stroke:var(--ink);stroke-width:2px}.minimum-marker text{fill:var(--ink-2);font-weight:600}.out-of-view{fill:var(--danger);font-size:12px;font-weight:600}.chart-legend{min-height:34px;color:var(--muted);flex-wrap:wrap;gap:.6rem 1rem;padding:0 .35rem;font-size:.69rem;display:flex}.chart-legend span{align-items:center;gap:.35rem;display:inline-flex}.chart-legend i{width:16px;height:9px;display:inline-block}.legend-dot{background:var(--ink);border-radius:50%;width:9px!important}.legend-line{border-top:3px solid var(--orange)}.legend-error{border-top:2px dashed var(--ink-3)}.legend-tangent{border-top:2px dashed var(--accent)}.legend-point{background:var(--accent);border-radius:50%;width:9px!important}.legend-best{background:var(--surface);border:1px solid var(--ink)}.drag-hint{color:var(--muted);margin:.45rem .35rem 0;font-size:.72rem}.status-pill{min-height:33px;color:var(--ink-2);background:var(--surface-2);border-radius:6px;align-items:center;padding:.35rem .6rem;font-size:.82rem;font-weight:560;display:inline-flex}.control-panel{border-top:1px solid var(--line);padding:1.25rem 1.5rem 1.4rem}.parameter-controls{grid-template-columns:1fr 1fr;gap:2rem;display:grid}.range-control{min-width:0}.range-heading{justify-content:space-between;gap:1rem;font-size:.82rem;font-weight:820;display:flex}.range-heading output{color:var(--teal-dark);font-family:var(--font-text)}input[type=range]{width:100%;height:28px;accent-color:var(--teal);cursor:pointer;margin:.55rem 0 .1rem}.range-scale{color:var(--muted);justify-content:space-between;font-size:.69rem;display:flex}.metrics{grid-template-columns:repeat(7,minmax(100px,1fr));gap:.55rem;margin-top:1.2rem;display:grid}.metrics>div{flex-direction:column-reverse;gap:.1rem;min-width:0;padding:.2rem .1rem;display:flex}.metrics span{color:var(--muted);font-size:.72rem;font-weight:500;display:block}.metrics strong{font-family:var(--font-text);overflow-wrap:anywhere;font-size:1.02rem;font-weight:600;display:block}.text-status{color:var(--accent-deep);font-weight:600}.metric-help{border-top:1px solid var(--line);margin-top:.9rem;padding-top:.2rem}.metric-help summary{min-height:40px;color:var(--ink-3);cursor:pointer;align-items:center;font-size:.8rem;font-weight:500;display:flex}.metric-help[open] summary{color:var(--ink)}.metric-help dl{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.7rem 1.2rem;margin:.2rem 0 .6rem;display:grid}.metric-help dt{font-size:.78rem;font-weight:600}.metric-help dd{color:var(--ink-2);margin:.15rem 0 0;font-size:.8rem;line-height:1.5}.control-actions{flex-wrap:wrap;gap:.65rem;margin-top:1.2rem;display:flex}.primary-action,.continue-action{border-color:var(--teal);color:#fff;background:var(--teal)}.primary-action:hover:not(:disabled),.continue-action:hover:not(:disabled){color:#fff;background:var(--teal-dark)}.text-action{color:var(--teal-dark);background:0 0;border-color:#0000;text-decoration:underline}.control-note{color:var(--muted);margin:.8rem 0 0;font-size:.76rem}.section-heading{max-width:800px;margin-bottom:1.5rem}.section-heading h2{margin:0;font-size:clamp(2.1rem,4vw,3.5rem)}.section-heading>p{color:var(--ink-2);font-size:1.08rem;line-height:1.6}.primer{padding-top:1rem}.nonconvex-section code{border-radius:var(--r-sm);color:var(--teal-dark);background:var(--teal-pale);padding:.8rem;display:block}.disclosure,.trust-panel{border:1px solid var(--line);border-radius:var(--r-md);background:var(--paper)}.disclosure{margin:1rem 0}.disclosure summary,.trust-panel summary,.inline-disclosure summary{cursor:pointer;align-items:center;min-height:52px;padding:.8rem 1rem;font-weight:820;display:flex}.disclosure summary:before,.trust-panel summary:before,.inline-disclosure summary:before{content:"+";color:var(--teal);margin-right:.6rem;font-size:1.15rem}.disclosure[open] summary:before,.trust-panel[open] summary:before,.inline-disclosure[open] summary:before{content:"−"}.numbers-content{padding:0 1rem 1.2rem}.table-scroll{overflow-x:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}th,td{border-bottom:1px solid var(--line);text-align:right;padding:.7rem .8rem}th{color:var(--muted);font-size:.75rem}tbody th{color:var(--ink)}.number-explanations{grid-template-columns:repeat(4,1fr);gap:.75rem;margin-top:1rem;display:grid}.number-explanations p{margin:0}.number-explanations strong,.number-explanations span{display:block}.number-explanations span{color:var(--muted);margin-top:.25rem;font-size:.78rem}.loss-equation{grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0;display:grid}.loss-equation .metric-readout{border-radius:var(--r-sm);background:var(--paper-soft);padding:.9rem}.loss-equation p{border-radius:var(--r-sm);background:var(--paper-soft);margin:0;padding:.9rem}.loss-equation span,.loss-equation strong{display:block}.loss-equation span{color:var(--muted);font-size:.75rem}.loss-equation strong{font-family:var(--font-text);margin-top:.3rem}.quiet-note{font-size:.84rem}.inline-disclosure{border-top:1px solid var(--line);margin-top:1rem}.inline-disclosure code{border-radius:var(--r-sm);background:var(--paper-soft);margin:0 1rem 1rem;padding:.8rem;display:block}.journey-card,.final-explanation,.why-ending,.ending-section{border-radius:var(--r-lg);background:var(--paper);padding:clamp(1.5rem,4vw,3rem)}.journey-card{border:1px solid var(--line);max-width:920px}.journey-card h2{max-width:720px;margin:0;font-size:clamp(2rem,4vw,3.2rem)}.journey-card>p{max-width:760px;color:var(--ink-2);font-size:1.02rem;line-height:1.6}.prediction-options{grid-template-columns:1fr 1fr;gap:.65rem;margin:1.25rem 0;display:grid}.prediction-options label{border:1px solid var(--line);border-radius:var(--r-sm);cursor:pointer;align-items:center;gap:.65rem;min-height:54px;padding:.7rem .85rem;display:flex}.prediction-options label:has(input:checked){border-color:var(--teal);background:var(--teal-pale)}.prediction-options input{width:20px;height:20px;accent-color:var(--teal)}.no-penalty,.continue-hint{color:var(--muted);font-size:.78rem}.prediction-result{margin-top:1.2rem}.prediction-result>p{border-bottom:1px solid var(--line);grid-template-columns:150px 1fr;gap:1rem;margin:0;padding:.75rem 0;display:grid}.prediction-result span{color:var(--muted)}.explanation-callout{border-radius:var(--r-md);background:var(--accent-soft);margin:1rem 0;padding:.9rem 1.1rem;line-height:1.55}.attempt-history{margin:1.4rem 0}.attempt-history h3{color:var(--ink-3);font-size:.8rem;font-weight:500}.attempt-history ol{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.attempt-history li{border-bottom:1px solid var(--line);grid-template-columns:130px 1fr auto;gap:1rem;padding:.8rem 0;display:grid}.attempt-history li span,.attempt-history li small{color:var(--muted)}.experiment-goal,.challenge-hint{border-radius:var(--r-md);background:var(--accent-soft);padding:.8rem 1rem;font-weight:560;color:var(--ink)!important}.success-callout,.failure-callout{border-radius:var(--r-md);margin-top:1.2rem;padding:1.1rem 1.2rem}.success-callout{color:var(--teal-dark);background:var(--teal-pale)}.failure-callout{color:var(--danger);background:var(--orange-pale)}.success-callout>strong,.failure-callout>strong{font-family:var(--font-display);font-size:1.35rem}.challenge-card{border-color:var(--line);background:var(--accent-soft);max-width:none;margin-bottom:1.2rem}.challenge-result dl{grid-template-columns:repeat(4,1fr);gap:.8rem;margin-bottom:0;display:grid}.challenge-result dl div{border-left:2px solid #2c43e047;padding-left:.65rem}.challenge-result dt{font-size:.72rem}.challenge-result dd{font-family:var(--font-text);margin:.25rem 0 0;font-weight:850}.advanced-section{border-top:1px solid var(--line);padding-top:clamp(2.7rem,7vw,5.5rem)}.advanced-section>.section-heading code{border-radius:var(--r-sm);color:#fff;background:var(--ink);padding:.7rem .9rem;display:inline-block}.advanced-views{border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}.heat-map rect{fill:var(--orange)}.contour-lines ellipse{fill:none;stroke:#1b29268c;stroke-width:1.5px}.contour-chart .optimizer-trail{stroke:#fff;stroke-width:4px;filter:drop-shadow(0 1px 2px #0009)}.advanced-controls{border:1px solid var(--line);border-radius:var(--r-md);background:var(--paper);grid-template-columns:minmax(240px,1fr) auto auto auto;align-items:center;gap:.65rem;margin-top:1rem;padding:1rem;display:grid}.advanced-controls>label{justify-content:space-between;gap:1rem;font-weight:800;display:flex}.advanced-controls>label output{color:var(--teal-dark)}.advanced-controls>input{grid-column:1}.advanced-readout{color:var(--muted);flex-wrap:wrap;grid-column:2/-1;gap:1rem;font-size:.78rem;display:flex}.advanced-readout strong{color:var(--ink);font-family:var(--font-text)}.continue-action{margin-top:1rem}.illustrative-label{color:var(--ink-2);background:var(--surface-2);border-radius:6px;padding:.5rem .75rem;font-size:.75rem;display:inline-block}.nonconvex-card{border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}.nonconvex-chart{min-height:360px}.valley-label{fill:var(--teal-dark);font-weight:850}.nonconvex-controls{grid-template-columns:1fr 1fr}.nonconvex-controls .preset-actions,.nonconvex-controls .control-actions{margin:0}.preset-actions{flex-wrap:wrap;gap:.55rem;display:flex}.nonconvex-controls .advanced-readout{grid-column:1/-1}.final-explanation{color:#fff;background:var(--ink)}.final-explanation h2{max-width:760px;margin:0;font-size:clamp(2.2rem,5vw,4rem)}.final-chain{max-width:940px;color:var(--line);grid-template-columns:1fr 1fr;gap:.5rem 2rem;padding-left:1.4rem;line-height:1.55;display:grid}.behavior-summary{flex-wrap:wrap;gap:.6rem;margin:1.5rem 0;display:flex}.behavior-summary span{border:1px solid #ffffff47;border-radius:6px;padding:.55rem .8rem}.ai-connection{color:#fff;max-width:820px;font-size:1.15rem;line-height:1.6}.why-ending{background:var(--surface-3)}.why-ending h2{margin:0;font-size:clamp(2rem,4vw,3.3rem)}.why-ending p{max-width:840px;line-height:1.65}.share-section{border:1px solid var(--line);border-radius:var(--r-lg);color:var(--ink);background:var(--surface);grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:clamp(1.5rem,4vw,2.5rem);display:grid}.share-section h2,.share-section p{margin:.25rem 0}.share-status{min-height:1rem;color:var(--ink-3);grid-column:2;font-size:.75rem}.ending-section{background:var(--teal-pale)}.completion-mark{color:var(--accent-deep);margin-bottom:1.8rem;font-weight:600}.ending-grid{grid-template-columns:1fr 1fr;gap:2rem;display:grid}.ending-grid>div{flex-direction:column;gap:.45rem;display:flex}.ending-grid span,.next-experience strong{color:var(--muted);font-size:.75rem;font-weight:500}.ending-grid>div:first-child strong{font-family:var(--font-display);font-size:2rem}.next-experience{border-left:1px solid var(--line);padding-left:2rem}.next-experience p{font-family:var(--font-display);margin:0;font-size:1.8rem}.next-experience a{align-self:flex-start;align-items:center;min-height:44px;font-weight:850;display:inline-flex}.feedback-block{border-top:1px solid var(--line);margin-top:2rem;padding-top:1.4rem}.feedback-options{flex-wrap:wrap;gap:.55rem;display:flex}.feedback-options button.selected{border-color:var(--teal);color:#fff;background:var(--teal)}.below-experience{justify-content:flex-end;align-items:center;gap:1rem;min-height:50px;display:flex}.below-experience span{color:var(--muted);font-size:.75rem}.trust-content{grid-template-columns:1fr 1.25fr 1fr;gap:2rem;padding:0 1.4rem 1.4rem;display:grid}.trust-content h3{margin:0 0 .6rem;font-size:.8rem;font-weight:560}.trust-content ul{color:var(--muted);margin:0;padding-left:1.1rem;line-height:1.55}@media (width<=1000px){.synchronized-views{grid-template-columns:1fr}.chart-card+.chart-card{border-top:1px solid var(--line);border-left:0}.metrics{grid-template-columns:repeat(4,1fr)}.trust-content{grid-template-columns:1fr 1fr}.references{grid-column:1/-1}}@media (width<=900px){html{scroll-behavior:auto}.site-header,main,footer{width:min(100% - 24px,1180px)}.site-header{min-height:62px}.brand-mark{width:36px;height:36px}.lesson-progress span:first-child,.share-button{display:none}.lesson-progress{justify-content:flex-end}.hero-copy{padding:2.5rem 0 2.8rem}.hero-copy h1{font-size:clamp(2.4rem,10.5vw,3.9rem)}.why-card{padding-left:1rem}.model-intro{grid-template-columns:1fr;gap:1rem}.synchronized-views,.control-panel{display:contents}.real-problem-view{order:1}.loss-landscape-view{border-top:1px solid var(--line);order:2}.metrics{border-top:1px solid var(--line);background:var(--paper);order:3;grid-template-columns:repeat(2,1fr);margin:0;padding:1rem}.parameter-controls{border-top:1px solid var(--line);background:var(--paper);order:5;grid-template-columns:1fr;gap:1.1rem;padding:1.1rem}.control-actions{background:var(--paper);order:6;grid-template-columns:1fr 1fr;margin:0;padding:0 1.1rem 1.1rem;display:grid}.control-note{background:var(--paper);order:7;margin:0;padding:0 1.1rem 1rem}.chart-card{padding:1rem .35rem}.chart-heading,.chart-legend,.drag-hint{margin-inline:.55rem}.learning-chart{min-height:250px}.loss-equation,.number-explanations,.final-chain,.prediction-options{grid-template-columns:1fr}.prediction-result>p{grid-template-columns:1fr;gap:.25rem}.attempt-history li{grid-template-columns:1fr 1fr}.attempt-history li small{grid-column:1/-1}.challenge-result dl{grid-template-columns:1fr 1fr}.advanced-views{display:grid}.advanced-controls,.nonconvex-controls{grid-template-columns:1fr}.advanced-controls>input,.advanced-readout,.nonconvex-controls .advanced-readout{grid-column:1}.advanced-controls>button{width:100%}.nonconvex-chart{min-height:270px}.share-section,.ending-grid,.trust-content{grid-template-columns:1fr}.share-status,.references{grid-column:1}.next-experience{border-top:1px solid var(--line);border-left:0;padding:1.4rem 0 0}.feedback-options{grid-template-columns:1fr 1fr;display:grid}}@media (width<=420px){.chart-heading{flex-direction:column;gap:.45rem}.metrics{grid-template-columns:1fr 1fr}.feedback-options,.challenge-result dl{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.skip-link{overflow-wrap:anywhere;max-width:calc(100vw - 1.5rem)}.reference-link{min-height:44px;color:var(--accent-deep);align-items:center;margin-block:.5rem;text-decoration:underline;display:inline-flex}.lab-evidence-note{color:var(--ink-2);margin:0;padding:.65rem 1rem;font-size:.875rem;line-height:1.45}.mobile-lab-task{background:var(--surface-2);color:var(--ink);margin:0;padding:.65rem 1rem;font-size:.875rem;line-height:1.45}.lesson-reference{border-top:1px solid var(--line);max-width:68ch;color:var(--ink);margin:3rem auto;padding-block:2rem;scroll-margin-top:5rem;font-size:1.0625rem;line-height:1.6}.lesson-reference h2{font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2rem);line-height:1.2}.lesson-reference h3{margin-top:1.8rem;font-size:1.25rem;line-height:1.3}.lesson-reference p{margin-block:1rem}.lesson-reference .reference-label{color:var(--ink-2);font-size:.875rem}.lesson-reference .reference-conditions{border-left:2px solid var(--line-accent);padding-left:1rem}.lesson-reference li{margin-block:.5rem}.lesson-reference a{color:var(--accent-deep);overflow-wrap:anywhere;text-decoration:underline}.reference-table-scroll{max-width:100%;overflow-x:auto}.lesson-reference table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.875rem}.lesson-reference caption{text-align:left;color:var(--ink-2);padding-bottom:.75rem}.lesson-reference th,.lesson-reference td{border-bottom:1px solid var(--line);text-align:right;padding:.75rem .5rem}.lesson-reference th:first-child,.lesson-reference td:first-child{text-align:left}.lesson-reference thead th{white-space:normal;font-weight:600}.lesson-reference :focus-visible,.reference-link:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.narrative-scene .scene-inner{opacity:1;transform:none}@media (width>=1100px){.lesson-reference{font-size:1.125rem}}@media print{.course-lesson-header,.explorable-shell,.resume-banner,.reference-link,.skip-link{display:none!important}.lesson-reference{border:0;max-width:none;margin:0}.lesson-reference a[href^=data\:]{display:none}.lesson-reference a[href^=https\:]:after{content:" (" attr(href) ")";overflow-wrap:anywhere;font-size:.8em}.reference-table-scroll{overflow:visible}.lesson-reference tr{break-inside:avoid}}.static-lesson{max-width:72rem;margin:0 auto;padding:2rem 1rem}.static-lesson nav ul{padding-left:1.25rem}@font-face{font-family:Clash Display;src:url(/fonts/ClashDisplay-Variable.woff2)format("woff2");font-weight:200 700;font-display:swap}@font-face{font-family:Geist;src:url(/fonts/GeistVariable.woff2)format("woff2");font-weight:100 900;font-display:swap}:root{font-family:var(--font-text);color:var(--ink);background:var(--bg);--font-display:"Clash Display", "Geist", ui-sans-serif, system-ui, sans-serif;--font-text:"Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--bg:#f6f6f7;--surface:#fff;--surface-2:#f1f1f3;--surface-3:#ecedef;--ink:#16171c;--ink-2:#494c55;--ink-3:#676b76;--line:#e3e4e8;--line-accent:#c4cbf5;--accent:#2c43e0;--accent-deep:#1f30ac;--accent-soft:#edf0fd;--danger:#b3402f;--danger-soft:#faeeeb;--ok:#2f7a57;--focus:var(--accent);--callout-rule:var(--accent);--callout-bg:var(--surface-2);--shadow-rest:0 1px 2px #16171c0a, 0 12px 32px #16171c0f;--shadow-lift:0 2px 4px #16171c0f, 0 24px 56px #16171c1f;--r-lg:16px;--r-md:12px;--r-sm:8px;--paper:var(--surface);--paper-soft:var(--surface-2);--muted:var(--ink-3);--teal:var(--accent);--teal-dark:var(--accent-deep);--teal-pale:var(--accent-soft);--orange:var(--accent);--orange-dark:var(--accent-deep);--orange-pale:var(--accent-soft);--blue:var(--ink-3);--shadow:var(--shadow-rest)}.lesson-error,.lesson-loading,.not-found main{flex-direction:column;align-items:flex-start;gap:.75rem;max-width:36rem;margin-inline:auto;padding:3.5rem 1.25rem;display:flex}.lesson-error-actions{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.lesson-error button,.lesson-error-actions a,.not-found main a{align-items:center;min-height:44px;padding-inline:1rem;display:inline-flex}.lesson-error button{border-radius:var(--r-sm);background:var(--ink);color:#fff;font:inherit;cursor:pointer;border:none}.lesson-error-actions a,.not-found main a{color:var(--accent);text-decoration:underline}.not-found main ul{border-top:1px solid var(--line);width:100%;margin:0;padding:0;list-style:none}.not-found main li{border-bottom:1px solid var(--line)}.not-found .site-header{border-bottom-color:var(--line);width:auto;min-height:60px;margin-inline:0;padding:.4rem clamp(.9rem,3.7vw,4rem)}.not-found .site-header .brand-mark{width:44px;height:44px}.not-found main{width:min(100%,1180px);max-width:none;margin-inline:auto;padding:clamp(2.5rem,6vw,4rem) clamp(1rem,4vw,3.5rem) 4rem}.not-found main a{padding-inline:0}html.is-arriving,html.is-arriving body{overflow-x:clip}html.is-arriving body{background:var(--surface)}.arrival-page{background:var(--bg);min-height:100dvh;animation:1.1s both arrival-page;box-shadow:-18px 0 40px #16171c24}@keyframes arrival-page{0%,18%{animation-timing-function:cubic-bezier(.77,0,.175,1);transform:translate(100vw)}92%,to{transform:none}}.arrival-rollout{z-index:100;pointer-events:none;width:108px;height:104px;margin:-58px 0 0 -54px;animation:1.1s both arrival-rollout;position:fixed;top:50%;left:0;overflow:visible}@keyframes arrival-rollout{0%{transform:translate(calc(100vw - 36px))scale(.9,1.1)}10%{transform:translate(calc(100vw - 36px))scale(1.12,.9)}18%{animation-timing-function:cubic-bezier(.77,0,.175,1);transform:translate(calc(100vw - 36px))}92%{animation-timing-function:cubic-bezier(.55,0,1,.45);transform:translate(-36px)}to{transform:translate(-140px)}}.arrival-rollout-lean{transform-box:fill-box;transform-origin:50% 70%;animation:1.1s both arrival-lean}@keyframes arrival-lean{0%,16%{transform:none}26%,84%{transform:rotate(-14deg)}to{transform:rotate(-4deg)}}.arrival-rollout .mascot>:not(.mascot-body):not(.mascot-shine){animation:1.1s both arrival-face}@keyframes arrival-face{0%,4%{opacity:0}14%,to{opacity:1}}.lang-switch{border-radius:var(--r-sm);min-width:44px;min-height:44px;color:var(--ink-3);font:600 .9375rem var(--font-text);cursor:pointer;background:0 0;border:0;padding:0 .5rem}.lang-switch:hover{color:var(--ink);background:var(--surface-2)}.welcome-top .lang-switch{justify-self:end}.course-header .course-header-meta{margin-left:auto}.course-header{gap:.5rem}html:lang(zh-Hans){--font-display:"Clash Display", "Geist", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;--font-text:"Geist", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;font-family:var(--font-text)}html:lang(zh-Hans) :is(p,li,dd,figcaption,summary){line-height:1.75}html:lang(zh-Hans) *,html:lang(zh-Hans) :before,html:lang(zh-Hans) :after{letter-spacing:0!important;text-transform:none!important}.plot-overflow-markers{fill:currentColor;color:var(--orange,#c77b3a);stroke:#fff;stroke-width:1px}.plot-overflow-note{color:var(--ink-3);overflow-wrap:anywhere;margin:.35rem .65rem;font-size:.75rem;line-height:1.45}
