.subpage{max-width:1180px;margin:auto;padding:55px 22px 90px;min-height:80vh}.subpage h1{font:700 clamp(36px,5vw,62px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.06em;margin:14px 0}.subpage .lead{color:#a7b6cc;line-height:1.7;max-width:750px}.subnav{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.subnav a{border:1px solid #3c4563;padding:10px 15px;border-radius:10px;color:#dddff8}.subnav a:hover{background:#252d49}.catalog-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;margin-top:30px}.catalog-list{display:flex;flex-direction:column;gap:8px;max-height:75vh;overflow:auto}.catalog-list button{width:100%;text-align:left;background:#151e31;border:1px solid #34425d;padding:15px;line-height:1.5}.catalog-list button.active{background:#33295d;border-color:#a297f8}.catalog-list small{display:block;color:#98aac6}.lesson-detail{background:#141d30;border:1px solid #33425d;border-radius:18px;padding:30px;min-width:0}.lesson-detail h2{font:700 31px 'Space Grotesk',sans-serif;letter-spacing:-.03em}.lesson-detail p{color:#bec9d9;line-height:1.8}.lesson-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#090f1e;padding:18px;border-radius:10px;color:#aed7fa;line-height:1.6}.challenge{background:#262341;border:1px solid #62558d;padding:16px;border-radius:12px;margin:16px 0}.answer{display:block;padding:11px 13px;margin:8px 0;border:1px solid #35445f;border-radius:9px;cursor:pointer}.answer input{accent-color:#ad9cff}.answer:hover{background:#222d46}.feedback{min-height:28px;font-weight:700;margin-top:15px;color:#a9e7bc}.track{height:9px;border-radius:9px;background:#27314a;overflow:hidden;margin:15px 0}.track span{display:block;height:100%;background:#8a74f4}.cards-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.info-card{background:#151e31;padding:23px;border-radius:15px;border:1px solid #34425d}.info-card h3{margin:0 0 10px;font:700 22px 'Space Grotesk',sans-serif}.info-card p{color:#a7b6cc;line-height:1.7}.info-card a{color:#b2a5ff}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filters button.selected{background:#6f5add}.empty-note{color:#b4c1d5}.subpage footer{border:0;padding:15px 0}@media(max-width:860px){.catalog-layout{grid-template-columns:1fr}.catalog-list{max-height:260px}.cards-list{grid-template-columns:1fr}.lesson-detail{padding:19px}}