html{scroll-behavior:smooth}body{margin:0;background:#07120d;color:#f8f8f4;font:17px/1.65 system-ui,Arial}*{box-sizing:border-box}a{color:#edc35c}header,footer{padding:20px max(20px,calc((100% - 1180px)/2));border-bottom:1px solid #69562b}header a{margin-right:22px}.wrap{max-width:1220px;margin:auto;padding:30px 20px 70px}h1{font-size:clamp(32px,5vw,56px);line-height:1.15;color:#e1b64d}h2{line-height:1.3}h3{color:#edc35c}.lead{max-width:800px;font-size:20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:20px}.card,.course{background:#14241b;border:1px solid #69562b;border-radius:16px;padding:24px}.card{display:flex;flex-direction:column;align-items:flex-start}.card .btn{margin-top:auto}.tag{display:inline-block;background:#2c4030;color:#ffda7b;padding:4px 12px;border-radius:24px;font-size:14px;font-weight:700}.btn,button{display:inline-block;background:#dfb34a;color:#07120d;font:700 16px/1.5 system-ui;padding:12px 18px;border:0;border-radius:9px;text-decoration:none;cursor:pointer}.notice,.practice{background:#203629;border-left:4px solid #e1b64d;padding:18px;margin:20px 0;border-radius:6px}.course{margin-top:36px;scroll-margin-top:16px}.course>h2{font-size:30px;color:#e1b64d}.course>p,.course details>p{max-width:85ch}details{margin:14px 0;border:1px solid #536b57;border-radius:9px;padding:16px}summary{font-weight:700;cursor:pointer}label{display:block;margin:12px 0;padding:7px}input{accent-color:#e1b64d;width:20px;height:20px;vertical-align:middle}fieldset{border:1px solid #63785d;border-radius:8px;margin:20px 0;padding:16px;min-width:0}legend{padding:0 8px;font-weight:700}.feedback,.result{font-weight:600}pre{overflow:auto;padding:18px;background:#09170e;border-radius:8px}code{font-size:15px}:focus-visible{outline:3px solid #ffe39a;outline-offset:4px}[hidden]{display:none!important}.progress-text{color:#d9e7db}footer{border-top:1px solid #69562b} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}} @media print{body{background:white;color:black}header,.progress-control,button{display:none}.course,.card{background:white;color:black;break-inside:avoid}a,h1,h2,h3,.course>h2{color:black}.practice,.notice{background:#eee}.tag{background:#eee;color:black}}