/* A distinct color for each reasoning step, paired with a letter and a title. */
:root{--green:#343fa3;--lime:#ffdb69;--ink:#20264b;--muted:#59617d;--paper:#f4f6ff}body{background:radial-gradient(ellipse at 5% 0,#e9e8ff 0,transparent 35%),radial-gradient(ellipse at 100% 15%,#e1f6f7 0,transparent 30%),var(--paper)}header{border-color:#e3e6f5}.brand{color:#333a91}.brand span{color:#d3427d}nav{border-bottom:1px solid #e2e6f6}nav button.active{background:#4048b9;box-shadow:0 4px 0 #d6d9f3}nav button:hover:not(.active){background:#f0f0ff;color:#343fa3}.hero{background:linear-gradient(120deg,#343b9b,#6444a9);box-shadow:0 12px 30px #373e8a18}.hero p{color:#f1eefe}.hero button{background:#ffdb69;color:#352b59;box-shadow:0 4px 0 #d5a743}.mascot>span{color:#fff0c6}.book-face{background:#92e4d7;box-shadow:8px 7px 0 #4ba9a0,inset 9px 0 #5fc5b6}.book-face i,.book-face b{color:#25466c}.book-face i{background:#25466c}.card,.hud{border-color:#e2e4f3;box-shadow:0 4px 16px #34408006}.secondary{background:#ebedff;color:#353c92}.danger{background:#ffe8ed;color:#913d58}a{color:#3943a5}.tag{background:#edebff;color:#5b3892}.notice{border-color:#7f73d0;color:#59617d}.path-step:not(:last-child):before{border-color:#c9ceee}.path-step:nth-child(3n+1) .node{background:#d9f5f1;color:#196d66;box-shadow:0 5px 0 #98d2c7}.path-step:nth-child(3n+2) .node{background:#eae0ff;color:#6b3ba4;box-shadow:0 5px 0 #c2a9e8}.path-step:nth-child(3n) .node{background:#ffe5d9;color:#974b30;box-shadow:0 5px 0 #edb393}.path .node.current{background:#ffdb69;color:#53380d;box-shadow:0 5px 0 #d4a83d;outline-color:#f8e8af}.path .node.mastered{background:#367c73;color:white;box-shadow:0 5px 0 #245a55}.challenge{background:linear-gradient(120deg,#eae6ff,#e2f3ff)}.hud span:nth-child(1){color:#815108}.hud span:nth-child(2){color:#a03d61}.hud span:nth-child(3){color:#69419b}.hud span:nth-child(4){color:#216f68}.reward{background:#def4eb}.reward-icon{color:#26745b}.option{border-color:#d6daef}.option.selected{border-color:#5b57b5;background:#f0edff}.option.correct{background:#e2f6ec;border-color:#338268}.option.wrong{background:#fff0ea;border-color:#b95e4e}.feedback{background:#edf0ff}.timer{background:#f3e5ff;color:#64408a}progress{accent-color:#6b53c2}.daily progress{accent-color:#288a82}.achievements .card{background:#edeffd}.achievements .unlocked{background:#fff6da;border-color:#e7c465}textarea{display:block;resize:vertical;min-height:128px;width:100%;margin:12px 0 20px;border:1px solid #c6cce6;background:#fff;border-radius:13px;padding:16px;color:#20264b;line-height:1.65;font:inherit}textarea:focus-visible{outline:3px solid #8a77d4;outline-offset:2px}label{line-height:1.65}.method-banner{margin:25px 0 8px;padding:23px;background:white;border:1px solid #d4d6f2;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:5px solid #7861c3}.method-banner h3{margin:13px 0 6px}.method-banner p{margin:0;color:#59617d;font-size:14px}.method-banner button{flex-shrink:0}.mini-letters{display:flex;gap:5px}.mini-letters span{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:17px;font-weight:800}.tone-0{background:#c9f3ec;color:#135c54}.tone-1{background:#e6d8ff;color:#623197}.tone-2{background:#ffe8a5;color:#704600}.tone-3{background:#ffdfd4;color:#923c29}.tone-4{background:#d8eaff;color:#214f91}.tone-border-0{border-left:5px solid #319d8d!important}.tone-border-1{border-left:5px solid #9663ce!important}.tone-border-2{border-left:5px solid #d49b25!important}.tone-border-3{border-left:5px solid #d66a4b!important}.tone-border-4{border-left:5px solid #5486c7!important}.method-top{padding:12px 0 20px}.method-top>p{max-width:650px;color:#59617d;font-size:18px}.method-top h1{margin:18px 0}.method-top h1 span{color:#7052b1}.method-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px;background:#e9eafb;padding:7px;border-radius:16px;width:fit-content}.method-tabs button{background:transparent;color:#545a78;font-size:14px}.method-tabs .active{background:white;color:#3f3b97;box-shadow:0 3px 7px #44458817}.step-selector{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:10px 0 24px}.step-pill{padding:16px 8px;display:flex;flex-direction:column;align-items:center;border:2px solid transparent;min-height:125px;gap:5px;border-radius:18px}.step-pill b{font-size:35px}.step-pill span{font-size:12px}.step-pill small{font-size:10px;font-weight:600}.step-pill.chosen{border-color:currentColor;box-shadow:0 5px 0 #c5c9df}.lesson-card{background:white;border:1px solid #e0e3f4;border-radius:22px;padding:30px}.step-heading{display:flex;gap:18px;align-items:center}.letter-block{display:grid;place-items:center;flex-shrink:0;width:70px;height:77px;font-size:42px;font-weight:850;border-radius:18px}.step-heading h2{margin:8px 0;font-size:clamp(20px,3vw,28px)}.step-heading .eyebrow{color:#59617d}.big-question{font-size:25px;line-height:1.4;margin:25px 0 12px}.lesson-intro{font-size:18px;max-width:850px;color:#454e70}.lesson-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:25px;margin:24px 0}.readable-list{padding-left:22px;line-height:1.7}.readable-list li{padding:6px 0 6px 4px}.watch-out{background:#f5f3fc;border-radius:16px;padding:22px;align-self:start}.watch-out h3{font-size:18px}.watch-out p{font-size:15px}.ask-yourself{padding:21px 24px;border-radius:16px;margin:20px 0 28px}.ask-yourself p{margin:7px 0 0}.formula{margin-top:24px}.formula p{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.formula b{font-size:14px;background:#f0edff;padding:8px 10px;border-radius:9px}.case-reference{border:1px solid #d7dcf0;padding:20px 23px;border-radius:16px;background:#fff;margin:20px 0;line-height:1.7}.case-reference summary{color:#3d4596}.case-alternatives{border-top:1px solid #e1e4f4;margin-top:20px;font-size:14px}.initial-record{background:#e8eefc;padding:18px 22px;border-radius:14px;line-height:1.6;margin:16px 0}.initial-record p{margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere}.guide-status{margin:25px 0 18px;font-size:13px;color:#59617d}.guide-status progress{display:block;margin-top:12px}.guide-controls{margin-top:25px}.guide-hint{padding:22px;border-radius:16px;margin-top:18px;line-height:1.7}.completion-panel{background:linear-gradient(110deg,#e4defb,#def3f2);border-radius:22px;padding:30px;margin:25px 0}.completion-panel h2{font-size:30px;max-width:600px}.note-review{border:1px solid #dce1f2;border-radius:14px;background:white;margin:12px 0;padding:20px}.note-review p{white-space:pre-wrap;overflow-wrap:anywhere}.case-method{margin:25px 0;border:1px solid #d6dcef;background:white;padding:22px;border-radius:18px}.case-method-step{padding:8px 20px;margin-top:20px;border-radius:6px}.case-method-step h3{display:flex;gap:10px;align-items:center;font-size:18px}.small-letter{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:9px;flex-shrink:0}.guided-pick button{margin-top:8px}.learn-teaser{padding:18px;margin:20px 0;background:#efebff;border-radius:14px}.learn-teaser button{margin-top:12px}.method-help{font-size:13px;color:#5b438f;background:#f0e9ff}.method-help:hover{background:#e6d8ff}@media(max-width:950px){.method-banner{align-items:flex-start;flex-direction:column}.method-banner button{width:100%}}@media(max-width:650px){.method-top>p{font-size:16px}.method-top h1{font-size:34px}.method-tabs{display:grid;grid-template-columns:1fr;width:100%;gap:3px}.method-tabs button{text-align:left}.step-selector{gap:5px}.step-pill{min-height:91px;padding:12px 3px;border-radius:13px}.step-pill b{font-size:26px}.step-pill span{font-size:10px;max-width:60px}.step-pill small{font-size:8px}.lesson-card{padding:23px 18px}.lesson-columns{grid-template-columns:1fr;gap:15px}.letter-block{width:52px;height:60px;font-size:33px;border-radius:13px}.step-heading{gap:12px}.step-heading h2{font-size:20px}.big-question{font-size:21px}.lesson-intro{font-size:16px}.case-reference{padding:17px}.method-banner{padding:20px}.completion-panel{padding:23px}.completion-panel h2{font-size:25px}.guide-controls button{flex:1}.formula p{display:block}.formula b{display:inline-block;margin:4px 0}.note-review{padding:16px}}
