@import "https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css";@import "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,900&family=Nunito:wght@400;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap";:root{--background:45 60% 98%;--foreground:232 34% 14%;--card:0 0% 100%;--primary:226 82% 55%;--secondary:45 90% 92%;--muted:42 30% 94%;--muted-foreground:232 12% 42%;--accent:14 82% 54%;--border:40 22% 88%;--lime:162 82% 34%;--sun:44 96% 56%;--radius:1.1rem;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--background:232 28% 10%;--foreground:42 35% 94%;--card:232 25% 15%;--primary:222 90% 68%;--secondary:232 24% 23%;--muted:232 20% 20%;--muted-foreground:228 15% 72%;--accent:14 86% 63%;--border:232 18% 29%;--lime:162 65% 48%;--sun:44 95% 62%;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:hsl(var(--background));color:hsl(var(--foreground));margin:0;font-family:Nunito,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow-x:clip}a{color:inherit;text-decoration:none}button,input{font:inherit}button{color:inherit}img{max-width:100%;display:block}.display,h1,h2,h3{font-variation-settings:"opsz" 40;font-family:Fraunces,Georgia,serif}.mono{font-family:JetBrains Mono,ui-monospace,monospace}.muted{color:hsl(var(--muted-foreground))}.app-shell{flex-direction:column;min-height:100vh;display:flex}.site-main{flex:1}.container{width:min(72rem,100% - 2.5rem);margin-inline:auto}.card-pop{box-shadow:0 1px 0 hsl(var(--border)), 0 14px 28px -22px rgba(31,36,71,.35)}.backend-status{border-bottom:1px solid hsl(var(--border));justify-content:center;align-items:center;gap:.7rem;min-height:3rem;padding:.65rem 1.25rem;font-size:.8rem;display:flex}.backend-status-error{background:hsl(var(--accent) / .13);border-bottom-color:hsl(var(--accent) / .35);color:hsl(var(--foreground))}.backend-status-degraded{background:hsl(var(--sun) / .12);border-bottom-color:hsl(var(--sun) / .35);color:hsl(var(--foreground))}.backend-status-error>div,.backend-status-degraded>div{gap:.1rem;display:grid}.backend-status-error p,.backend-status-degraded p{color:hsl(var(--muted-foreground));margin:0;line-height:1.4}.backend-status-dot{background:hsl(var(--accent));color:#fff;border-radius:50%;flex:0 0 1.35rem;place-items:center;width:1.35rem;height:1.35rem;font-weight:900;display:grid}.backend-status-degraded .backend-status-dot{background:hsl(var(--sun));color:hsl(var(--foreground))}.backend-status-retry{border:1px solid hsl(var(--accent) / .45);background:hsl(var(--card));color:inherit;cursor:pointer;border-radius:999px;flex:none;padding:.45rem .8rem;font-size:.76rem;font-weight:900}.backend-status-retry:hover{border-color:hsl(var(--accent))}.debug-fab{z-index:120;border:2px solid hsl(var(--primary));background:hsl(var(--primary));color:#fff;box-shadow:0 10px 30px hsl(var(--primary) / .28);cursor:pointer;border-radius:999px;padding:.65rem .8rem;font:900 .66rem JetBrains Mono,monospace;position:fixed;bottom:1rem;right:1rem}.debug-fab:hover{transform:translateY(-2px)}.debug-panel{z-index:119;border:1px solid hsl(var(--primary) / .45);background:hsl(var(--card));border-radius:1rem;gap:.8rem;width:min(30rem,100vw - 2rem);max-height:min(75vh,38rem);padding:1rem;display:grid;position:fixed;bottom:4.2rem;right:1rem;overflow:auto;box-shadow:0 24px 70px rgba(15,18,36,.28)}.debug-panel-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.debug-panel-header h2{margin:.2rem 0 0;font-size:1.2rem}.debug-panel-close{color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;font-size:1.5rem;line-height:1}.debug-panel-environment,.debug-panel-empty{color:hsl(var(--muted-foreground));margin:0;font-size:.75rem}.debug-panel-actions{justify-content:flex-end;display:flex}.debug-event-list{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.debug-event-list li{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:.65rem;gap:.25rem;padding:.65rem;display:grid}.debug-event-list strong{color:hsl(var(--primary));font:900 .66rem JetBrains Mono,monospace}.debug-event-list code{overflow-wrap:anywhere;color:hsl(var(--foreground));white-space:pre-wrap;font:.72rem/1.45 JetBrains Mono,monospace}.site-header{z-index:50;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background) / .88);backdrop-filter:blur(16px);position:sticky;top:0}.header-inner{align-items:center;gap:1rem;width:min(90rem,100% - 2.5rem);min-height:66px;margin-inline:auto;display:flex}.brand{flex-shrink:0;align-items:center;gap:0;display:flex}.brand-mark{background:hsl(var(--primary));color:#fff;letter-spacing:-.08em;border-radius:15px;place-items:center;width:40px;height:40px;font-family:Fraunces,serif;font-weight:900;display:grid}.brand-logo,.brand-mark-logo{width:auto;height:50px;display:block}.brand-symbol-link,.brand-wordmark-link{line-height:0;display:block}.brand-wordmark-link{margin-left:-.7rem}.brand-word{font-family:Fraunces,serif;font-size:1.08rem;font-weight:800;line-height:.95}.brand-word small{letter-spacing:.18em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin-top:4px;font-family:Nunito;font-size:.62rem;display:block}.desktop-nav{gap:.25rem;margin-left:.75rem;display:flex}.nav-link{color:hsl(var(--muted-foreground));border-radius:999px;padding:.62rem 1rem;font-size:.9rem;font-weight:800}.nav-link:hover,.nav-link.active{background:hsl(var(--secondary));color:hsl(var(--foreground))}.nav-dropdown{margin-bottom:-.4rem;padding-bottom:.4rem;position:relative}.nav-dropdown-trigger{cursor:pointer;background:0 0;border:0;align-items:center;gap:.35rem;font-family:inherit;display:inline-flex}.nav-dropdown-arrow{font-size:.8rem;transition:transform .18s}.nav-dropdown:hover .nav-dropdown-arrow{transform:rotate(180deg)}.nav-dropdown-menu{z-index:20;border:1px solid hsl(var(--border));background:hsl(var(--card));opacity:0;pointer-events:none;visibility:hidden;border-radius:1rem;gap:.2rem;min-width:12rem;padding:.45rem;transition:opacity .16s,transform .16s,visibility .16s;display:grid;position:absolute;top:100%;left:0;transform:translateY(-.25rem);box-shadow:0 18px 42px rgba(33,38,69,.14)}.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown-menu.open{opacity:1;pointer-events:auto;visibility:visible;transform:none}.nav-dropdown-menu a{color:hsl(var(--muted-foreground));white-space:nowrap;border-radius:.7rem;padding:.65rem .75rem;font-size:.82rem;font-weight:800}.nav-dropdown-menu a:hover,.nav-dropdown-menu a.active{background:hsl(var(--secondary));color:hsl(var(--foreground))}.header-search{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:999px;align-items:center;gap:.5rem;width:16rem;margin-left:auto;padding:.52rem .85rem;display:flex}.header-search input,.mobile-search input,.catalog-search input{width:100%;color:inherit;background:0 0;border:0;outline:0}.search-icon{color:hsl(var(--muted-foreground))}.header-cta{margin-left:0}.header-login{color:hsl(var(--muted-foreground));white-space:nowrap;padding:.55rem .2rem;font-size:.82rem;font-weight:900}.header-login:hover{color:hsl(var(--primary))}.account-control{white-space:nowrap;align-items:center;gap:.65rem;margin-left:.2rem;display:flex;position:relative}.account-avatar-button{cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0;display:inline-flex}.account-avatar-button:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:3px}.account-avatar-link{outline-offset:3px;border-radius:999px;display:inline-flex}.account-avatar-link:focus-visible{outline:2px solid hsl(var(--primary))}.account-avatar{border:2px solid hsl(var(--card));color:#fff;object-fit:cover;width:2.25rem;height:2.25rem;box-shadow:0 0 0 1px hsl(var(--border));background:#9296aa;border-radius:50%;place-items:center;font-size:1.25rem;font-weight:900;display:grid;overflow:hidden}.account-avatar-fallback{background:linear-gradient(145deg,#989bae,#63667e);font-size:1.35rem}.account-control{margin-bottom:-.35rem;padding-bottom:.35rem;position:relative}.account-menu-panel{z-index:30;border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.1rem;gap:.5rem;min-width:17rem;padding:.9rem;display:grid;position:absolute;top:100%;right:0;box-shadow:0 22px 55px rgba(17,19,34,.2)}.account-menu-name{margin:0;font-size:.9rem;font-weight:900}.account-menu-status{color:hsl(var(--muted-foreground));margin:.15rem 0 .45rem;font-size:.7rem}.account-menu-panel a{color:hsl(var(--muted-foreground));border-radius:.65rem;padding:.55rem .6rem;font-size:.78rem;font-weight:800}.account-menu-panel a:hover{background:hsl(var(--secondary));color:hsl(var(--foreground))}.account-menu-logout{color:#ae3229;text-align:left;cursor:pointer;background:#fef1f0;border:1px solid #ea837b;border-radius:.65rem;width:100%;padding:.55rem .6rem;font:800 .78rem Nunito,sans-serif}.account-menu-logout:hover{background:#fde4e2;border-color:#df453a}.account-menu-logout:disabled{cursor:wait;opacity:.6}.account-menu-divider{background:hsl(var(--border));height:1px;margin:.15rem 0}.account-menu-theme{justify-content:space-between;align-items:center;gap:.8rem;padding:.25rem .1rem;display:flex}.account-menu-theme div{gap:.1rem;display:grid}.account-menu-theme strong{font-size:.76rem}.account-menu-theme span{color:hsl(var(--muted-foreground));font-size:.66rem}.theme-switch-compact{flex-basis:2.7rem;width:2.7rem;height:1.55rem;padding:.16rem}.theme-switch-compact .theme-switch-thumb{width:1.22rem;height:1.22rem}.theme-switch-compact.active .theme-switch-thumb{transform:translate(1.15rem)}.mobile-account-name{color:hsl(var(--muted-foreground));align-items:center;gap:.7rem;padding:.72rem 0 .25rem;font-size:.82rem;font-weight:800;display:flex}.mobile-menu-button{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:15px;width:44px;height:44px;margin-left:auto;font-size:1.3rem;display:none}.mobile-panel{border-top:1px solid hsl(var(--border));background:hsl(var(--card));padding:1rem 1.25rem;display:none}.mobile-search{border:1px solid hsl(var(--border));border-radius:999px;align-items:center;gap:.6rem;padding:.7rem .9rem;display:flex}.mobile-links{margin-top:.65rem;display:grid}.mobile-links a{padding:.72rem 0;font-weight:800}.mobile-study-dropdown{border-bottom:1px solid hsl(var(--border))}.mobile-study-dropdown summary{cursor:pointer;padding:.72rem 0;font-weight:900;list-style:none}.mobile-study-dropdown summary::-webkit-details-marker{display:none}.mobile-study-dropdown summary:after{float:right;content:"⌄";color:hsl(var(--primary))}.mobile-study-dropdown[open] summary:after{transform:rotate(180deg)}.mobile-study-links{padding:0 0 .35rem .75rem;display:grid}.mobile-study-links a{padding:.52rem 0;font-size:.86rem}.button{cursor:pointer;border:1px solid transparent;border-radius:999px;justify-content:center;align-items:center;gap:.45rem;min-height:46px;padding:.68rem 1.35rem;font-size:.94rem;font-weight:800;transition:transform .18s,background .18s,border-color .18s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:active{transform:scale(.985)}.button-primary{background:hsl(var(--primary));color:#fff}.button-accent{background:hsl(var(--accent));color:#fff}.button-outline{border-color:hsl(var(--border));background:hsl(var(--card))}.button-dark-outline{border:2px solid hsl(var(--foreground));background:0 0}.button.compact{min-height:42px;padding:.55rem 1rem;font-size:.86rem}.hero-section{border-bottom:1px solid hsl(var(--border));position:relative;overflow:hidden}.hero-grid{opacity:.38;pointer-events:none;position:absolute;inset:0}.grid-paper{background-image:linear-gradient(hsl(var(--border) / .72) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--border) / .72) 1px, transparent 1px);background-size:28px 28px}.hero-inner{grid-template-columns:1.05fr .95fr;align-items:center;gap:3rem;width:min(90rem,100% - 2.5rem);margin:auto;padding:5.5rem 0 6rem;display:grid;position:relative}.hero-kicker{border:1px solid hsl(var(--border));background:hsl(var(--card));text-transform:uppercase;letter-spacing:.15em;color:hsl(var(--muted-foreground));border-radius:999px;padding:.45rem .85rem;font-size:.71rem;font-weight:900;display:inline-flex}.hero-copy h1{letter-spacing:-.045em;margin:1.45rem 0 0;font-size:clamp(2.7rem,5vw,4.3rem);font-weight:900;line-height:1.02}.marker-underline{background:linear-gradient(transparent 62%, hsl(var(--sun) / .75) 62%);padding-inline:.12em}.hero-description{max-width:39rem;color:hsl(var(--muted-foreground));margin:1.4rem 0 0;font-size:1.08rem;line-height:1.75}.hero-actions{flex-wrap:wrap;gap:.75rem;margin-top:1.8rem;display:flex}.hero-stats{border-top:1px solid hsl(var(--border));grid-template-columns:repeat(3,1fr);gap:1.2rem;max-width:34rem;margin:2rem 0 0;padding-top:1.4rem;display:grid}.hero-stats dd{margin:0;font-size:2rem;font-weight:900}.hero-stats dt{text-transform:uppercase;letter-spacing:.08em;color:hsl(var(--muted-foreground));margin-top:.2rem;font-size:.66rem;font-weight:900}.stat-primary{color:hsl(var(--primary))}.stat-green{color:hsl(var(--lime))}.stat-accent{color:hsl(var(--accent))}.hero-visual{position:relative}.sun-block{background:hsl(var(--sun));border-radius:24px;width:96px;height:96px;position:absolute;top:-16px;left:-16px}.hero-image{object-fit:cover;border:1px solid hsl(var(--border));background:hsl(var(--secondary));border-radius:30px;width:100%;height:380px;position:relative;box-shadow:0 30px 60px -40px rgba(31,36,71,.5)}.hero-carousel{position:relative}.hero-image-frame{border-radius:30px;overflow:hidden}.hero-carousel-controls{justify-content:space-between;align-items:center;gap:1rem;display:flex;position:absolute;top:1rem;left:1rem;right:1rem}.hero-carousel-controls .carousel-control{border-color:hsl(var(--card) / .8);background:hsl(var(--foreground) / .7);color:hsl(var(--background))}.hero-carousel-controls .carousel-control:hover{border-color:hsl(var(--sun));color:hsl(var(--sun))}.hero-carousel-controls .carousel-dot{background:hsl(var(--card) / .65)}.hero-carousel-controls .carousel-dot.active{background:hsl(var(--sun))}.formula-note{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:18px;max-width:19rem;padding:1rem;position:absolute;bottom:-1.5rem;left:2rem}.formula-note p{color:hsl(var(--muted-foreground));margin:0;font-size:.76rem}.formula-note strong{margin-top:.35rem;font-size:.88rem;line-height:1.45;display:block}.hero-formula-context{color:hsl(var(--muted-foreground));margin-top:.2rem;font-size:.72rem;display:block}.ticker{border-bottom:1px solid hsl(var(--border));background:hsl(var(--foreground));color:hsl(var(--background));padding:.75rem 0;overflow:hidden}.marquee-track{gap:2rem;width:max-content;animation:34s linear infinite marquee;display:flex}.marquee-track span{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem}@keyframes marquee{to{transform:translate(-50%)}}.carousel-control{border:1px solid hsl(var(--border));background:hsl(var(--card));width:2.35rem;height:2.35rem;color:hsl(var(--foreground));cursor:pointer;border-radius:50%;place-items:center;font-size:1.1rem;display:grid}.carousel-control:hover{border-color:hsl(var(--primary));color:hsl(var(--primary))}.carousel-dots{align-items:center;gap:.45rem;display:flex}.carousel-dot{background:hsl(var(--muted-foreground) / .3);cursor:pointer;border:0;border-radius:50%;width:.55rem;height:.55rem;padding:0}.carousel-dot.active{background:hsl(var(--primary));border-radius:999px;width:1.3rem}.reveal{animation:.65s cubic-bezier(.22,1,.36,1) both reveal}.delay-1{animation-delay:80ms}.delay-2{animation-delay:.16s}@keyframes reveal{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}.section-space{padding-top:5rem;padding-bottom:5rem}.section-title{letter-spacing:-.035em;margin:0;font-size:clamp(2rem,4vw,2.7rem);font-weight:900;line-height:1.05}.section-lead{max-width:39rem;color:hsl(var(--muted-foreground));margin:.8rem 0 0;line-height:1.7}.subject-grid,.lesson-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:2rem;display:grid}.subject-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:23px;min-height:235px;padding:1.5rem;transition:transform .2s;display:block}.subject-card:hover,.lesson-card:hover{transform:translateY(-4px)}.subject-icon{border-radius:15px;place-items:center;width:44px;height:44px;font-size:1.25rem;font-weight:900;display:grid}.subject-card h3{margin:1rem 0 0;font-size:1.25rem}.subject-card p{color:hsl(var(--muted-foreground));margin:.55rem 0 0;font-size:.9rem;line-height:1.55}.subject-card .subject-count{margin-top:1.15rem;font-size:.74rem;font-weight:700}.levels-section{border-block:1px solid hsl(var(--border));background:hsl(var(--secondary) / .5)}.section-heading-row{justify-content:space-between;align-items:end;gap:1rem;display:flex}.text-link{color:hsl(var(--primary));text-underline-offset:4px;font-size:.86rem;font-weight:900;text-decoration:underline}.level-list{border-top:1px solid hsl(var(--border));margin:2.2rem 0 0;padding:0;list-style:none}.level-list li{border-bottom:1px solid hsl(var(--border));grid-template-columns:6rem 1fr auto;align-items:center;gap:1rem;padding:1.5rem 0;display:grid}.level-number{color:hsl(var(--primary));font-weight:700}.level-list h3{margin:0;font-size:1.08rem}.level-list p{color:hsl(var(--muted-foreground));margin:.25rem 0 0;font-size:.88rem}.practice-promo-wrap{padding-bottom:6rem}.practice-promo{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:32px;grid-template-columns:1fr .85fr;align-items:center;gap:2.5rem;padding:2rem;display:grid}.feature-list{gap:.75rem;margin:1.5rem 0;padding:0;font-size:.9rem;font-weight:700;list-style:none;display:grid}.study-image{object-fit:cover;border:1px solid hsl(var(--border));background:hsl(var(--secondary));border-radius:24px;width:100%;max-height:340px}.lesson-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:23px;flex-direction:column;min-height:295px;padding:1.25rem;transition:transform .2s;display:flex}.lesson-card-top{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.subject-pill,.level-pill{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:.34rem .65rem;font-size:.63rem;font-weight:900;line-height:1}.level-pill{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.done-label{color:hsl(var(--lime));text-transform:uppercase;margin-left:auto;font-size:.65rem;font-weight:900}.lesson-card h3{margin:.9rem 0 0;font-size:1.13rem;line-height:1.3}.lesson-card:hover h3{color:hsl(var(--primary))}.lesson-card-locked{background:linear-gradient(145deg, hsl(var(--card)), hsl(var(--secondary) / .45))}.access-pill{background:hsl(var(--accent) / .12);color:hsl(var(--accent));letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:.34rem .55rem;font-size:.6rem;font-weight:900}.lesson-access-note{color:hsl(var(--accent));margin:.7rem 0 0;font-size:.72rem;font-weight:900}.lesson-summary{color:hsl(var(--muted-foreground));flex:1;margin:.55rem 0 0;font-size:.88rem;line-height:1.58}.lesson-card-bottom{border-top:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem;padding-top:.85rem;display:flex}.lesson-time{color:hsl(var(--muted-foreground));font-size:.72rem}.difficulty-badge{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-items:center;gap:.45rem;padding:.36rem .65rem;font-size:.62rem;font-weight:900;display:inline-flex}.difficulty-dots{gap:2px;display:inline-flex}.difficulty-dots span{border-radius:50%;width:6px;height:6px}.page-hero{border-bottom:1px solid hsl(var(--border));background:hsl(var(--secondary) / .5);padding:3.4rem 0}.page-hero h1{letter-spacing:-.04em;margin:0;font-size:clamp(2.5rem,5vw,3.5rem);font-weight:900}.page-hero p{max-width:45rem;color:hsl(var(--muted-foreground));margin:.8rem 0 0;line-height:1.65}.catalog-search{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:999px;align-items:center;gap:.7rem;margin-top:1.8rem;padding:.8rem 1.1rem;display:flex}.filter-rows{flex-wrap:wrap;align-items:center;gap:1rem 2rem;margin-top:1.4rem;display:flex}.filter-row{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.filter-label{text-transform:uppercase;color:hsl(var(--muted-foreground));margin-right:.2rem;font-size:.68rem;font-weight:800}.filter-chip{border:1px solid hsl(var(--border));background:hsl(var(--card));cursor:pointer;border-radius:999px;min-height:38px;padding:.45rem .9rem;font-size:.8rem;font-weight:800}.filter-chip:hover{background:hsl(var(--muted))}.filter-chip.active{background:hsl(var(--foreground));color:hsl(var(--background));border-color:transparent}.catalog-results{padding-top:3.2rem;padding-bottom:5rem}.result-count{color:hsl(var(--muted-foreground));font-size:.8rem}.empty-card{border:1px dashed hsl(var(--border));background:hsl(var(--card));text-align:center;border-radius:23px;padding:3rem}.empty-title{margin:0;font-size:1.35rem;font-weight:800}.empty-card p+p{margin-top:.55rem}.lesson-layout{grid-template-columns:minmax(0,1fr) 17rem;align-items:start;gap:2.5rem;width:min(88rem,100% - 2.5rem);margin:0 auto;display:grid}.article{width:auto;min-width:0;margin:0;padding:3rem 0 6rem}.back-link{color:hsl(var(--muted-foreground));font-size:.84rem;font-weight:900;display:inline-flex}.back-link:hover{color:hsl(var(--primary))}.lesson-title{letter-spacing:-.045em;margin:1.3rem 0 0;font-size:clamp(2.4rem,5vw,3.8rem);font-weight:900;line-height:1.06}.lesson-lead{max-width:48rem;color:hsl(var(--muted-foreground));margin:1rem 0 0;font-size:1.08rem;line-height:1.75}.breadcrumbs-meta{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:.5rem;margin-top:1rem;font-size:.72rem;display:flex}.lesson-toolbar{border-block:1px solid hsl(var(--border));flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1.5rem;padding:1rem 0;display:flex}.complete-button{border-color:hsl(var(--border));background:hsl(var(--card));margin-left:auto}.complete-button.completed{background:hsl(var(--lime));color:#fff;border-color:transparent}.lesson-body{margin-top:2.4rem;font-size:1.02rem;line-height:1.8}.lesson-body h2{letter-spacing:-.025em;margin:2.7rem 0 .7rem;font-size:1.65rem}.lesson-body h3{margin:2rem 0 .5rem;font-size:1.25rem}.lesson-body p{color:hsl(var(--foreground) / .9);margin:.75rem 0 1.1rem}.lesson-body ul,.lesson-body ol{padding-left:1.4rem}.lesson-body strong{color:hsl(var(--foreground))}.lesson-body mark{color:inherit;background:rgba(251,224,116,.65);border-radius:.2em;padding:.05em .18em}.note-callout,.flashcard,.semantic-media{border:1px solid hsl(var(--border));border-left:5px solid hsl(var(--callout-hue,226) 58% 42%);background:hsl(var(--callout-hue,226) 90% 96%);border-radius:.9rem;margin:1.25rem 0;padding:1rem 1.15rem;box-shadow:0 8px 22px -22px rgba(31,36,71,.55)}.note-callout summary,.callout-heading,.flashcard summary{cursor:pointer;font-weight:800}.callout-heading,.note-callout summary{align-items:center;gap:.55rem;list-style:none;display:flex}.callout-heading::-webkit-details-marker{display:none}.note-callout summary::-webkit-details-marker{display:none}.note-callout summary:after{content:"⌄";color:hsl(var(--callout-hue,226) 58% 42%);margin-left:auto;font-size:1.15rem;line-height:1}.note-callout[open] summary:after{content:"⌃"}.callout-icon{place-items:center;min-width:1.4rem;font-size:1.05rem;display:inline-grid}.callout-kind{color:hsl(var(--callout-hue,226) 58% 36%);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem}.callout-heading-title{color:hsl(var(--foreground))}.callout-content{margin-top:.55rem}.callout-content>:first-child{margin-top:0}.callout-content>:last-child{margin-bottom:0}.callout-note{--callout-hue:226}.callout-abstract,.callout-info{--callout-hue:198}.callout-todo,.callout-exercise{--callout-hue:278}.callout-tip,.callout-definition,.callout-theorem{--callout-hue:145}.callout-success,.callout-solution{--callout-hue:151}.callout-question,.callout-proof{--callout-hue:278}.callout-warning{--callout-hue:39}.callout-failure,.callout-danger,.callout-bug{--callout-hue:4}.callout-example,.callout-quote{--callout-hue:326}.flashcard{--callout-hue:270;padding:0;overflow:hidden}.flashcard-heading{background:#f2e8fc;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;display:flex}.flashcard-label{color:#5c2791}.flashcard-question,.flashcard-answer{padding:1rem 1.15rem}.flashcard-question{border:0;border-top:1px solid hsl(var(--border));width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;display:block}.flashcard-question:hover{background:#faf6fe}.flashcard-side-label{text-transform:uppercase;letter-spacing:.1em;color:hsl(var(--muted-foreground));margin:0 0 .35rem;font-size:.67rem;font-weight:900}.flashcard-answer{border-top:1px solid hsl(var(--border));animation:.24s ease-out both answer-reveal}.flashcard-reveal-hint{color:#6b2da9;margin-top:.8rem;font-size:.76rem;font-weight:900;display:block}@keyframes answer-reveal{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.flashcard-deck{color:hsl(var(--muted-foreground));font-size:.78rem;font-weight:500}.flashcard-tags{flex-wrap:wrap;gap:.4rem;padding:0 1.15rem 1rem;display:flex}.mermaid-block{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:.9rem;margin:1.5rem 0;padding:1rem;overflow-x:auto}.mermaid-output{place-items:center;min-height:1rem;display:grid}.mermaid-ready .mermaid-source{display:none}.mermaid-source{background:hsl(var(--muted));white-space:pre-wrap;border-radius:.6rem;margin:.7rem 0 0;padding:.8rem;font-family:JetBrains Mono,monospace;font-size:.78rem;line-height:1.5;overflow-x:auto}.mermaid-error{color:hsl(var(--muted-foreground));margin:.55rem 0 0;font-size:.76rem}.plot-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.1rem;margin:1.5rem 0;overflow:hidden;box-shadow:0 16px 32px -28px rgba(31,36,71,.6)}.plot-heading{border-bottom:1px solid hsl(var(--border));background:linear-gradient(120deg, hsl(var(--primary) / .1), hsl(var(--secondary) / .8));justify-content:space-between;align-items:start;gap:1rem;padding:1.1rem 1.25rem .9rem;display:flex}.plot-heading h3{margin:.25rem 0 0;font-size:1.3rem}.plot-engine-badge{background:hsl(var(--card));color:hsl(var(--muted-foreground));border-radius:999px;padding:.38rem .65rem;font-family:JetBrains Mono,monospace;font-size:.66rem}.plot-svg{padding:.8rem;overflow-x:auto}.plot-svg svg{width:100%;min-width:600px;height:auto;display:block}.plot-caption{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));margin:0;padding:.65rem 1.25rem .8rem;font-size:.75rem}.plot-error{color:#8d2c25;background:#feedec;border-radius:.7rem;margin:1rem;padding:1rem;font-size:.85rem}.references-block{border-top:2px solid hsl(var(--border));margin-top:3.5rem;padding-top:1.5rem}.references-heading h2{margin:.25rem 0 1rem;font-size:1.6rem}.references-block ol{gap:.7rem;margin:0;padding-left:0;list-style:none;display:grid}.references-block li{background:hsl(var(--muted) / .65);border-radius:.7rem;grid-template-columns:auto 1fr auto;align-items:start;gap:.65rem;padding:.75rem .85rem;font-size:.84rem;line-height:1.55;display:grid}.reference-number{color:hsl(var(--primary));font-family:JetBrains Mono,monospace;font-weight:800}.reference-content p{margin:0}.reference-backlink{color:hsl(var(--primary));font-weight:900}.footnote-ref{vertical-align:super;font-size:.72em}.footnote-ref a{color:hsl(var(--primary));font-weight:900}.obsidian-image{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;margin:1.3rem 0;overflow:hidden}.obsidian-image a{color:inherit;display:block}.obsidian-image img{object-fit:contain;background:hsl(var(--secondary) / .35);width:100%;max-height:22rem;padding:.7rem}.obsidian-image figcaption{border-top:1px solid hsl(var(--border));color:hsl(var(--primary));text-underline-offset:3px;padding:.55rem .8rem .65rem;font-size:.8rem;font-weight:800;text-decoration:underline}.right-sidebar{min-width:0;margin-top:3rem;position:sticky;top:88px}.table-of-contents{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;overflow:hidden;box-shadow:0 12px 28px -26px rgba(31,36,71,.55)}.sidebar-summary{color:hsl(var(--foreground));align-items:center;gap:.55rem;padding:.9rem 1rem;list-style:none;display:flex}.sidebar-summary::-webkit-details-marker{display:none}.sidebar-summary:after{content:"⌃";color:hsl(var(--muted-foreground));margin-left:auto}.table-of-contents:not([open]) .sidebar-summary:after{content:"⌄"}.sidebar-summary-icon{color:hsl(var(--primary));font-size:1.1rem}.table-of-contents nav{border-top:1px solid hsl(var(--border));padding:.55rem .7rem .75rem}.table-of-contents ol{gap:.12rem;margin:0;padding:0;list-style:none;display:grid}.table-of-contents li a{color:hsl(var(--muted-foreground));border-radius:.45rem;padding:.35rem .45rem;font-size:.79rem;line-height:1.35;display:block}.table-of-contents li a:hover{background:hsl(var(--secondary));color:hsl(var(--foreground))}.table-of-contents .toc-level-1 a{color:hsl(var(--foreground));font-weight:900}.table-of-contents .toc-level-2{margin-left:.7rem}.table-of-contents .toc-level-3{margin-left:1.4rem;font-size:.74rem}.video-block iframe{border:0;border-radius:.6rem;width:100%;min-height:420px}.media-fallback{color:hsl(var(--muted-foreground));margin-bottom:0;font-size:.8rem}.media-fallback a{color:hsl(var(--primary));text-underline-offset:3px;font-weight:900;text-decoration:underline}.lesson-body .katex-display{border:1px solid hsl(var(--border));background:hsl(var(--secondary) / .6);border-radius:17px;margin:1.35rem 0;padding:1.05rem 1.3rem;overflow:auto hidden}.lesson-body .katex{font-size:1.04em}.formula{border:1px solid hsl(var(--border));background:hsl(var(--secondary) / .6);text-align:center;border-radius:17px;margin:1.25rem 0;padding:1rem 1.3rem;overflow-x:auto}.formula code{white-space:pre-wrap;font-family:JetBrains Mono,monospace;font-weight:600}.key-points{border:2px solid hsl(var(--primary) / .25);background:hsl(var(--primary) / .05);border-radius:23px;margin-top:3rem;padding:1.5rem}.key-points h2{text-transform:uppercase;letter-spacing:.08em;margin:0;font-family:Nunito;font-size:.96rem;font-weight:900}.key-points ul{gap:.75rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}.key-points li{gap:.7rem;font-size:.92rem;line-height:1.55;display:flex}.key-points li span{background:hsl(var(--primary));border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:.48rem}.tag-row{flex-wrap:wrap;gap:.45rem;margin-top:1.4rem;display:flex}.tag{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-radius:999px;padding:.35rem .7rem;font-size:.7rem}.related-quiz{margin-top:4rem}.related-quiz>h2{margin:0;font-size:1.7rem;font-weight:900}.related-quiz>p{margin:.4rem 0 1.4rem}.level-context{border-top:1px solid hsl(var(--border));margin-top:3rem;padding-top:1.5rem}.level-context h2{margin:.35rem 0;font-size:1.2rem}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:hsl(var(--muted-foreground));margin:0;font-size:.68rem;font-weight:900}.simulation-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:26px;margin:2.5rem 0;padding:1.6rem}.simulation-head{justify-content:space-between;align-items:start;gap:1rem;display:flex}.simulation-head h3{margin:.25rem 0 0;font-size:1.3rem}.simulation-label{color:hsl(var(--primary))}.simulation-value{background:hsl(var(--muted));border-radius:12px;padding:.6rem .85rem;font-size:.85rem}.simulation-track{border-bottom:3px solid hsl(var(--border));height:86px;margin:2rem 0;position:relative}.simulation-object{background:hsl(var(--primary));width:28px;height:28px;box-shadow:0 8px 20px hsl(var(--primary) / .35);border-radius:50%;transition:left .12s ease-out;position:absolute;bottom:-15px}.simulation-controls{grid-template-columns:repeat(2,1fr);gap:1.4rem;display:grid}.simulation-controls label>span{justify-content:space-between;gap:1rem;margin-bottom:.5rem;font-size:.84rem;display:flex}.simulation-controls input{width:100%;accent-color:hsl(var(--primary))}.simulation-equation{margin-bottom:0}.quiz-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:23px;padding:1.6rem}.quiz-meta{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.quiz-count{color:hsl(var(--muted-foreground));margin-left:auto;font-size:.72rem}.quiz-progress{background:hsl(var(--muted));border-radius:999px;height:8px;margin-top:1rem;overflow:hidden}.quiz-progress div{background:hsl(var(--primary));border-radius:999px;height:100%;transition:width .25s}.quiz-prompt{margin:1.3rem 0 0;font-family:Nunito;font-size:1.3rem;line-height:1.4}.quiz-options{gap:.65rem;margin:1.1rem 0 0;padding:0;list-style:none;display:grid}.quiz-option{border:2px solid hsl(var(--border));background:hsl(var(--background));text-align:left;cursor:pointer;border-radius:16px;align-items:center;gap:.75rem;width:100%;min-height:52px;padding:.72rem .85rem;font-weight:700;transition:border .16s,background .16s;display:flex}.quiz-option:not(:disabled):hover{border-color:hsl(var(--primary));background:hsl(var(--secondary) / .6)}.quiz-option.correct{border-color:hsl(var(--lime));background:hsl(var(--lime) / .1)}.quiz-option.wrong{border-color:hsl(var(--accent));background:hsl(var(--accent) / .08)}.quiz-option.muted-option{opacity:.55}.option-letter{background:hsl(var(--muted));border-radius:9px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:.7rem;display:grid}.option-copy{flex:1}.option-status{font-size:1.1rem;font-weight:900}.option-status.ok{color:hsl(var(--lime))}.option-status.bad{color:hsl(var(--accent))}.quiz-feedback{background:hsl(var(--secondary) / .6);border-radius:16px;margin-top:1rem;padding:1rem}.feedback-title{margin:0;font-weight:900}.quiz-feedback .muted{margin:.35rem 0 0;font-size:.9rem;line-height:1.55}.quiz-explanation{border:1px solid hsl(var(--border));background:hsl(var(--background) / .62);border-radius:1rem;margin-top:.85rem;padding:.9rem 1rem}.quiz-explanation-label{color:hsl(var(--muted-foreground));letter-spacing:.14em;text-transform:uppercase;margin:0 0 .45rem;font-size:.65rem;font-weight:900}.quiz-explanation-body{line-height:1.6}.quiz-explanation-body p{margin:0}.quiz-explanation-body p+p{margin-top:.65rem}.quiz-explanation-body .katex-display{margin:.8rem 0;padding:.25rem 0;overflow-x:auto}.quiz-help{border:1px solid hsl(var(--border));background:hsl(var(--background) / .45);border-radius:1rem;margin-top:1rem;padding:.9rem}.quiz-help-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.quiz-help-heading p{margin:0}.quiz-help-heading p+p{margin-top:.25rem;font-size:.74rem}.help-penalty{background:hsl(var(--accent) / .12);color:hsl(var(--accent));border-radius:999px;padding:.3rem .5rem;font:800 .68rem JetBrains Mono,monospace}.quiz-help-actions{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.help-button{border:1px solid hsl(var(--primary) / .3);background:hsl(var(--card));color:hsl(var(--primary));cursor:pointer;border-radius:999px;padding:.45rem .65rem;font:800 .7rem Nunito,sans-serif}.help-button:hover:not(:disabled){background:hsl(var(--primary) / .08)}.help-button.used{border-color:hsl(var(--border));color:hsl(var(--muted-foreground));cursor:default}.quiz-help-content{gap:.55rem;margin-top:.75rem;display:grid}.formula-help-card{border:1px solid hsl(var(--primary) / .2);background:hsl(var(--primary) / .06);border-radius:.8rem;padding:.7rem .8rem}.formula-help-title{color:hsl(var(--muted-foreground));letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:.66rem;font-weight:900}.formula-help-equation{color:hsl(var(--foreground));letter-spacing:.02em;margin:.35rem 0 0;font:700 1.2rem Fraunces,Georgia,serif}.quiz-help-text{color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.5}.quiz-unanswered-actions{justify-content:flex-end;margin-top:1rem;display:flex}.feedback-actions,.result-actions{flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1rem;display:flex}.review-link{color:hsl(var(--primary));text-underline-offset:4px;font-size:.84rem;font-weight:900;text-decoration:underline}.result-card{text-align:center;padding:2rem}.result-score{margin:.3rem 0;font-size:3.3rem;font-weight:900}.result-actions{justify-content:center}.exam-page{background:hsl(var(--background));min-height:100%;padding:2.5rem 0 6rem}.exam-shell{max-width:74rem}.exam-heading{justify-content:space-between;align-items:end;gap:2rem;padding:2rem 0 2.5rem;display:flex}.exam-heading h1{max-width:44rem;margin:.35rem 0 .7rem}.exam-lead{max-width:43rem;color:hsl(var(--muted-foreground));font-size:1.08rem;line-height:1.65}.exam-source-badge{border:1px solid hsl(var(--border));background:hsl(var(--card));max-width:15rem;color:hsl(var(--muted-foreground));border-radius:1rem;gap:.35rem;padding:.85rem 1rem;font-size:.75rem;line-height:1.4;display:grid}.exam-source-badge .mono{color:hsl(var(--primary));font-weight:900}.exam-preview-card,.exam-start-card,.exam-workspace,.exam-result-card{border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:0 18px 50px hsl(var(--foreground) / .05);border-radius:1.35rem;padding:clamp(1.15rem,3vw,2.1rem)}.exam-card-heading,.exam-workspace-top{justify-content:space-between;align-items:start;gap:1rem;display:flex}.exam-card-heading h2,.exam-workspace-top h2{margin:.25rem 0 0}.exam-preview-list{gap:.75rem;margin-top:1.4rem;display:grid}.exam-preview-item{border-top:1px solid hsl(var(--border));grid-template-columns:3rem 1fr;align-items:start;gap:1rem;padding:1.1rem 0 .25rem;display:grid}.exam-preview-item h3{margin:.25rem 0 .35rem;font-size:1.05rem}.exam-preview-item p:last-child{color:hsl(var(--muted-foreground));margin:0;line-height:1.5}.exam-problem-number{background:hsl(var(--primary) / .1);width:2.5rem;height:2.5rem;color:hsl(var(--primary));border-radius:.8rem;place-items:center;font-weight:900;display:grid}.exam-locked-summary{background:hsl(var(--accent) / .08);color:hsl(var(--muted-foreground));border-radius:.9rem;align-items:center;gap:.7rem;margin-top:1.3rem;padding:.8rem 1rem;font-size:.86rem;display:flex}.exam-lock-icon{color:hsl(var(--accent));font-size:1.25rem}.exam-points-preview,.exam-score-chip{background:hsl(var(--primary) / .1);color:hsl(var(--primary));white-space:nowrap;border-radius:999px;padding:.45rem .7rem;font:800 .7rem JetBrains Mono,monospace}.exam-start-card>.muted{max-width:47rem;line-height:1.6}.exam-difficulty-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;margin:1.35rem 0;display:grid}.exam-difficulty{border:1px solid hsl(var(--border));background:hsl(var(--background) / .55);min-height:8rem;color:hsl(var(--foreground));text-align:left;cursor:pointer;border-radius:1rem;gap:.35rem;padding:1rem;transition:border-color .2s,background .2s,transform .2s;display:grid}.exam-difficulty:hover{border-color:hsl(var(--primary) / .5);transform:translateY(-2px)}.exam-difficulty.selected{border-color:hsl(var(--primary));background:hsl(var(--primary) / .1);box-shadow:inset 0 0 0 1px hsl(var(--primary) / .25)}.exam-difficulty strong{font-size:.95rem}.exam-difficulty span{color:hsl(var(--muted-foreground));font-size:.75rem;line-height:1.45}.exam-difficulty em{color:hsl(var(--primary));margin-top:auto;font:700 .66rem JetBrains Mono,monospace}.exam-method-note{border-left:3px solid hsl(var(--lime));background:hsl(var(--lime) / .08);align-items:start;gap:.7rem;margin-bottom:1.3rem;padding:.75rem 1rem;display:flex}.exam-method-note p{color:hsl(var(--muted-foreground));margin:0;font-size:.84rem;line-height:1.5}.exam-method-icon{color:hsl(var(--lime));font-size:1.2rem}.exam-workspace-top h2{font-size:1.45rem}.exam-progress-track{background:hsl(var(--muted));border-radius:999px;height:.45rem;margin:1.2rem 0 1.6rem;overflow:hidden}.exam-progress-track>div{border-radius:inherit;background:hsl(var(--primary));height:100%;transition:width .35s}.exam-problem-prompt{max-width:58rem;margin:0;font-family:Fraunces,Georgia,serif;font-size:clamp(1.25rem,2vw,1.75rem);font-weight:700;line-height:1.35}.exam-paper-note{color:hsl(var(--muted-foreground));align-items:center;gap:.55rem;margin:1rem 0 1.4rem;font-size:.8rem;display:flex}.exam-paper-note span:first-child{color:hsl(var(--accent));font-size:1.1rem}.exam-steps{gap:.75rem;display:grid}.exam-step{border:1px solid hsl(var(--border));background:hsl(var(--background) / .5);border-radius:1rem;padding:1rem 1.1rem;animation:.25s both card-pop}.exam-step-heading{align-items:center;gap:.7rem;display:flex}.exam-step-heading>span{background:hsl(var(--primary) / .1);width:2rem;height:2rem;color:hsl(var(--primary));border-radius:.6rem;place-items:center;font-size:.66rem;font-weight:900;display:grid}.exam-step-heading h3{margin:0;font-size:1rem}.exam-step-instruction{color:hsl(var(--muted-foreground));margin:.8rem 0 .45rem;line-height:1.5}.exam-step-hint{background:hsl(var(--sun) / .1);color:hsl(var(--foreground));border-radius:.7rem;margin:.6rem 0;padding:.65rem .8rem;font-size:.82rem;line-height:1.45}.exam-step-result{border-top:1px dashed hsl(var(--border));color:hsl(var(--foreground));margin-top:.75rem;padding-top:.7rem;font-weight:800}.exam-step-actions,.exam-result-actions{flex-wrap:wrap;gap:.7rem;margin-top:1.15rem;display:flex}.exam-current-hint{color:hsl(var(--muted-foreground));margin:.7rem 0 0;font-size:.82rem;line-height:1.5}.exam-complete-step{background:hsl(var(--primary) / .08);border-radius:1rem;margin-top:1.2rem;padding:1rem 1.1rem}.exam-complete-step p{margin:0}.exam-complete-step p+p{color:hsl(var(--muted-foreground));margin-top:.4rem;line-height:1.5}.exam-result-card{text-align:center;max-width:44rem;margin:0 auto}.exam-result-points{color:hsl(var(--primary));margin:.3rem 0;font-size:3.4rem}.exam-result-card h2{margin:0}.exam-result-actions{justify-content:center}.related-content{border-top:1px solid hsl(var(--border));margin-top:3.5rem;padding-top:2.2rem}.related-content-heading{justify-content:space-between;align-items:end;gap:1rem;display:flex}.related-content-heading h2{margin:.25rem 0 .4rem;font-size:clamp(1.65rem,3vw,2.3rem)}.related-content-heading p{max-width:42rem;margin:0}.related-content-group{margin-top:1.8rem}.related-content-group-heading{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:.8rem;display:flex}.related-content-group-heading h3{margin:.2rem 0 0;font-size:1.15rem}.related-content-group-heading .eyebrow{margin:0}.related-carousel-hint{color:hsl(var(--muted-foreground));white-space:nowrap;font:700 .68rem JetBrains Mono,monospace}.related-carousel{scroll-snap-type:x mandatory;scrollbar-color:hsl(var(--primary) / .45) transparent;gap:.85rem;margin-top:1.25rem;padding:.2rem .15rem 1rem;display:flex;overflow-x:auto}.related-content-card{border:1px solid hsl(var(--border));background:hsl(var(--card));min-height:12rem;color:hsl(var(--foreground));scroll-snap-align:start;border-radius:1rem;flex-direction:column;flex:0 0 min(20rem,78vw);padding:1rem;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s;display:flex}.related-content-card:hover{border-color:hsl(var(--primary) / .55);box-shadow:0 12px 30px hsl(var(--foreground) / .07);transform:translateY(-3px)}.related-content-meta{color:hsl(var(--muted-foreground));justify-content:space-between;align-items:center;gap:.5rem;font-size:.7rem;display:flex}.related-content-card h3{margin:1rem 0 .4rem;font-size:1.08rem}.related-content-card p{color:hsl(var(--muted-foreground));margin:0;font-size:.83rem;line-height:1.5}.related-content-link{color:hsl(var(--primary));margin-top:auto;padding-top:1rem;font-size:.78rem;font-weight:900}.related-content-footer{justify-content:space-between;align-items:end;gap:.65rem;margin-top:auto;display:flex}.related-content-footer .related-content-link{margin:0}.exam-related-metadata{color:hsl(var(--muted-foreground));gap:.22rem;margin-top:.8rem;font-size:.68rem;line-height:1.35;display:grid}.exam-source-link{color:hsl(var(--primary));margin-top:.7rem;font-size:.7rem;font-weight:800;text-decoration:underline}.related-exam-card{background:linear-gradient(145deg, hsl(var(--primary) / .09), hsl(var(--accent) / .06))}@media (width<=760px){.exam-heading{gap:1rem;display:grid}.exam-source-badge{max-width:none}.exam-difficulty-grid{grid-template-columns:repeat(2,1fr)}.related-content-heading{align-items:start;display:grid}}.practice-layout{grid-template-columns:minmax(0,1fr) 20rem;gap:2rem;padding-top:3rem;padding-bottom:5rem;display:grid}.practice-selection{max-width:58rem;padding-top:3rem;padding-bottom:5rem}.practice-selection-head{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.3rem;display:flex}.practice-selection-head h2{margin:.25rem 0 0;font-family:Nunito;font-size:1.55rem}.practice-selection-grid{grid-template-columns:repeat(3,1fr);gap:.85rem;display:grid}.practice-selection-block{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.15rem;gap:.5rem;padding:1rem;display:grid}.practice-selection-block label{color:hsl(var(--muted-foreground));letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:900}.practice-selection-block select{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;color:hsl(var(--foreground));font:inherit;border-radius:.75rem;padding:.7rem .75rem;font-size:.82rem}.practice-selection-modes{grid-column:1/-1}.practice-selection-modes>p{color:hsl(var(--muted-foreground));margin:0;font-size:.78rem}.practice-selection-mode-grid{grid-template-columns:repeat(3,1fr);gap:.65rem;display:grid}.practice-mode.selectable{cursor:pointer;text-align:left;width:100%;font:inherit}.practice-mode.selectable[aria-checked=true]{border-color:hsl(var(--primary) / .5);background:hsl(var(--primary) / .08);box-shadow:0 0 0 2px hsl(var(--primary) / .08)}.practice-selection-footer{justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;display:flex}.practice-selection-footer p{color:hsl(var(--muted-foreground));margin:0;font-size:.76rem}.practice-session-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.practice-modes{grid-template-columns:repeat(3,1fr);gap:.65rem;margin-bottom:1.5rem;display:grid}.practice-mode{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;align-items:start;gap:.6rem;min-height:5.2rem;padding:.8rem;display:flex;position:relative}.practice-mode.active{border-color:hsl(var(--primary) / .4);background:hsl(var(--primary) / .06)}.practice-mode.locked{color:hsl(var(--muted-foreground))}.practice-mode-icon{background:hsl(var(--muted));width:1.65rem;height:1.65rem;color:hsl(var(--primary));border-radius:.55rem;flex:0 0 1.65rem;place-items:center;font-weight:900;display:grid}.practice-mode div{gap:.2rem;display:grid}.practice-mode strong{color:hsl(var(--foreground));font-size:.78rem}.practice-mode span:not(.practice-mode-icon):not(.mode-badge){font-size:.69rem;line-height:1.35}.mode-badge{background:hsl(var(--muted));text-transform:uppercase;border-radius:999px;padding:.2rem .35rem;font-size:.55rem;font-weight:900;position:absolute;top:.55rem;right:.55rem}.practice-filters{margin-bottom:1rem}.practice-sidebar{align-content:start;gap:1rem;display:grid}.practice-index{position:sticky;top:5.5rem}.practice-index-heading{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.practice-index h2{margin:.25rem 0 0;font-family:Nunito;font-size:1rem}.practice-index-count{color:hsl(var(--muted-foreground));font-size:.68rem}.practice-index-slider{width:100%;accent-color:hsl(var(--primary));margin:1rem 0 .75rem}.practice-index-list{gap:.35rem;max-height:22rem;padding-right:.25rem;display:grid;overflow-y:auto}.practice-index-item{width:100%;color:hsl(var(--muted-foreground));text-align:left;cursor:pointer;background:0 0;border:1px solid transparent;border-radius:.7rem;grid-template-columns:1.8rem 1fr;align-items:start;gap:.45rem;padding:.55rem;font-size:.72rem;line-height:1.3;display:grid}.practice-index-item:hover,.practice-index-item.active{border-color:hsl(var(--primary) / .22);background:hsl(var(--primary) / .07);color:hsl(var(--foreground))}.practice-index-item>span:first-child{color:hsl(var(--primary));font-size:.67rem}.practice-index-note{color:hsl(var(--muted-foreground));margin:.8rem 0 0;font-size:.68rem;line-height:1.45}.practice-access-summary{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:.9rem;flex-wrap:wrap;align-items:center;gap:.55rem;margin:1rem 0;padding:.7rem .85rem;display:flex}.practice-access-summary .eyebrow{margin-right:.15rem}.quota-exhausted-card{border:1px solid hsl(var(--primary) / .2);background:linear-gradient(135deg, hsl(var(--primary) / .06), hsl(var(--secondary) / .55));border-radius:1rem;padding:1.25rem}.quota-exhausted-card h2{margin:.25rem 0 .45rem;font-size:1.15rem}.quota-exhausted-card p:last-child{margin:0;font-size:.82rem;line-height:1.5}.locked-exercise-list{gap:.65rem;margin-top:1.8rem;display:grid}.locked-access-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;align-items:center;gap:.8rem;padding:.85rem;display:flex}.locked-access-icon{background:hsl(var(--accent) / .12);border-radius:.7rem;flex:0 0 2rem;place-items:center;width:2rem;height:2rem;display:grid}.locked-access-copy{flex:1;min-width:0}.locked-access-copy .eyebrow{color:hsl(var(--accent))}.locked-access-copy h3{margin:.18rem 0;font-family:Nunito;font-size:.85rem;line-height:1.35}.locked-access-copy p:last-child{color:hsl(var(--muted-foreground));margin:0;font-size:.73rem}.progress-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:23px;height:fit-content;padding:1.5rem}.progress-score{color:hsl(var(--primary));margin:.4rem 0 0;font-size:2.8rem;font-weight:900}.progress-card .muted{margin:.25rem 0;font-size:.88rem;line-height:1.5}.progress-bar{background:hsl(var(--muted));border-radius:999px;height:8px;margin-top:1rem;overflow:hidden}.progress-bar div{background:hsl(var(--primary));height:100%}.progress-note{color:hsl(var(--muted-foreground));margin:1rem 0 0;font-size:.75rem;line-height:1.55}.protected-page{position:relative}.protected-preview{border-radius:1.2rem;max-height:31rem;position:relative;overflow:hidden}.auth-modal-backdrop{z-index:100;backdrop-filter:blur(5px);background:rgba(24,27,48,.52);place-items:center;padding:1.25rem;display:grid;position:fixed;inset:0}.auth-modal{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.4rem;width:min(31rem,100%);padding:3.2rem 1.8rem 1.8rem;position:relative;box-shadow:0 32px 80px rgba(15,18,36,.32)}.auth-modal h2{margin:0;font-size:1.6rem;line-height:1.1}.auth-modal-corner{border:1px solid hsl(var(--border));background:hsl(var(--background) / .72);width:2.25rem;height:2.25rem;color:hsl(var(--foreground));border-radius:50%;place-items:center;font-size:1.25rem;line-height:1;text-decoration:none;transition:transform .18s,border-color .18s,background .18s;display:grid;position:absolute;top:.85rem}.auth-modal-corner:hover{border-color:hsl(var(--primary) / .55);background:hsl(var(--primary) / .1);transform:translateY(-1px)}.auth-modal-home{left:.85rem}.auth-modal-close{cursor:pointer;right:.85rem}.auth-modal-close:disabled{cursor:not-allowed;opacity:.35}.auth-modal-close:disabled:hover{border-color:hsl(var(--border));background:hsl(var(--background) / .72);transform:none}.auth-modal-kicker{color:hsl(var(--primary));letter-spacing:.14em;text-transform:uppercase;margin:.25rem 0 .7rem;font-size:.68rem;font-weight:900}.auth-modal-title{margin:1.2rem 0 .35rem;font-size:1.05rem;font-weight:900}.auth-modal-copy,.auth-copy{color:hsl(var(--muted-foreground));line-height:1.6}.auth-modal-benefits{color:hsl(var(--muted-foreground));gap:.35rem;margin:1.2rem 0;font-size:.84rem;display:grid}.auth-modal-benefits p{margin:0}.auth-modal-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.auth-modal-subscribe,.auth-switch a{color:hsl(var(--primary));text-underline-offset:3px;font-size:.82rem;font-weight:900;text-decoration:underline}.auth-modal-dismiss{color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;margin:1.1rem auto 0;font-size:.8rem;display:block}.profile-logout{color:#ae3229;background:#fef1f0;border-color:#ea837b}.profile-logout:hover{background:#fde4e2;border-color:#df453a}.auth-page{background:radial-gradient(circle at 12% 15%, hsl(var(--secondary) / .6), transparent 32rem);align-content:center;justify-items:center;gap:1rem;min-height:70vh;padding:4.5rem 1.25rem;display:grid}.auth-status-slot{width:min(58rem,100%)}.auth-shell{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.6rem;grid-template-columns:minmax(15rem,.8fr) minmax(20rem,1fr);width:min(58rem,100%);display:grid;overflow:hidden;box-shadow:0 24px 70px rgba(33,38,69,.12)}.auth-visual{background:linear-gradient(150deg, hsl(var(--primary) / .95), #4c31b9);color:#fff;flex-direction:column;justify-content:space-between;min-height:31rem;padding:2rem;display:flex}.auth-visual .eyebrow{color:rgba(255,255,255,.72)}.auth-visual h2{max-width:17rem;margin:1rem 0 .8rem;font-family:Fraunces,serif;font-size:2rem;line-height:1.04}.auth-visual>p:not(.eyebrow){color:rgba(255,255,255,.78);max-width:18rem;margin:0;line-height:1.55}.auth-visual-formula{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);border-radius:.85rem;margin-top:auto;padding:.8rem;font-family:JetBrains Mono,monospace;font-size:.72rem}.auth-visual-points{gap:.55rem;margin-top:1rem;display:grid}.auth-visual-points span{color:rgba(255,255,255,.7);align-items:baseline;gap:.65rem;font-family:JetBrains Mono,monospace;font-size:.64rem;display:flex}.auth-visual-points p{color:#fff;margin:0;font-family:Nunito;font-size:.78rem;font-weight:800}.auth-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.4rem;width:min(30rem,100%);padding:2rem}.auth-shell .auth-card{width:auto;box-shadow:none;border:0;border-radius:0}.auth-card h1{margin:.3rem 0 .5rem;font-size:2.2rem}.auth-welcome{color:hsl(var(--muted-foreground));margin:0 0 1.4rem}.auth-form{gap:.85rem;margin-top:1.4rem;display:grid}.auth-form label{gap:.4rem;font-size:.76rem;font-weight:900;display:grid}.auth-form input{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;color:inherit;border-radius:.75rem;outline:0;padding:.75rem .85rem}.auth-form input:focus{border-color:hsl(var(--primary));box-shadow:0 0 0 3px hsl(var(--primary) / .12)}.availability-field{align-items:center;display:flex;position:relative}.availability-field input{padding-right:2.5rem}.availability-indicator{font-size:1.15rem;font-weight:900;line-height:1;position:absolute;right:.85rem}.availability-ok{color:#2abf88}.availability-error{color:#f46b4d}.field-hint{color:hsl(var(--muted-foreground));margin:-.15rem 0 0;font-size:.72rem;font-weight:600}.auth-submit{width:100%;margin-top:.35rem}.auth-error{color:#8d2c25;background:#feedec;border-radius:.6rem;margin:0;padding:.65rem .8rem;font-size:.82rem}.auth-demo-note,.auth-switch,.subscription-note{color:hsl(var(--muted-foreground));font-size:.76rem;line-height:1.5}.auth-demo-note{margin:1rem 0 0;font-family:JetBrains Mono,monospace}.auth-test-account-picker{border:1px dashed hsl(var(--primary) / .35);background:hsl(var(--primary) / .04);border-radius:.8rem;gap:.4rem;margin-top:.1rem;padding:.75rem;display:grid}.auth-test-account-picker label{color:hsl(var(--primary));letter-spacing:.06em;text-transform:uppercase;font:900 .68rem JetBrains Mono,monospace}.auth-test-account-picker select{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;color:hsl(var(--foreground));font:inherit;border-radius:.65rem;padding:.65rem .7rem;font-size:.82rem}.auth-test-account-picker p{color:hsl(var(--muted-foreground));margin:0;font-size:.7rem}.auth-switch{text-align:center;margin:1.15rem 0 0}.theme-preference{border-top:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:1rem;margin-top:1.25rem;padding-top:1rem;display:flex}.theme-preference p{margin:.2rem 0 0;font-size:.76rem;line-height:1.45}.theme-preference strong{font-size:.86rem}.theme-switch{cursor:pointer;background:#9296aa;border:0;border-radius:999px;flex:0 0 3.25rem;width:3.25rem;height:1.8rem;padding:.2rem;transition:background .2s,box-shadow .2s;position:relative}.theme-switch.active{background:hsl(var(--lime));box-shadow:0 0 0 4px hsl(var(--lime) / .12)}.theme-switch-thumb{background:#fff;border-radius:50%;width:1.4rem;height:1.4rem;transition:transform .2s;display:block;box-shadow:0 2px 5px rgba(17,19,34,.22)}.theme-switch.active .theme-switch-thumb{transform:translate(1.45rem)}.theme-switch:focus-visible{outline:3px solid hsl(var(--primary) / .35);outline-offset:3px}.subscription-page{width:min(66rem,100% - 2.5rem);margin:0 auto;padding:4.5rem 0 6rem}.subscription-intro{max-width:43rem}.subscription-intro h1{margin:.3rem 0 .7rem;font-size:clamp(2.4rem,5vw,3.7rem)}.subscription-intro p:last-child{color:hsl(var(--muted-foreground));line-height:1.7}.subscription-grid{grid-template-columns:repeat(2,1fr);gap:1.2rem;margin-top:2.4rem;display:grid}.subscription-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.2rem;flex-direction:column;align-items:flex-start;min-height:18rem;padding:1.5rem;display:flex}.subscription-card h2{margin:.3rem 0 .55rem;font-size:1.6rem}.subscription-card p:not(.eyebrow){color:hsl(var(--muted-foreground));flex:1;line-height:1.6}.subscription-card-featured{border-color:hsl(var(--accent) / .45);background:linear-gradient(145deg, hsl(var(--card)), hsl(var(--secondary) / .7))}.plan-status{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-radius:999px;padding:.5rem .75rem;font-size:.75rem;font-weight:900;display:inline-flex}.plan-status-active{background:hsl(var(--lime) / .14);color:hsl(var(--lime))}.subscription-note{margin-top:1.5rem}.pricing-page,.stats-page,.ranking-page,.profile-page,.blog-page,.blog-post{width:min(72rem,100% - 2.5rem);margin:0 auto;padding:4rem 0 6rem}.pricing-heading,.stats-heading,.ranking-heading{max-width:48rem}.pricing-heading h1,.stats-heading h1,.ranking-heading h1{margin:.35rem 0 .7rem;font-size:clamp(2.5rem,5vw,4rem);line-height:1.02}.pricing-heading p,.stats-heading p,.ranking-heading p{color:hsl(var(--muted-foreground));line-height:1.7}.pricing-grid{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:1rem;margin-top:2.5rem;display:grid}.pricing-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.2rem;flex-direction:column;align-items:flex-start;min-height:29rem;padding:1.5rem;display:flex;position:relative;box-shadow:0 12px 28px -28px rgba(31,36,71,.55)}.pricing-card-featured{border:2px solid hsl(var(--primary) / .55);background:linear-gradient(145deg, hsl(var(--card)), hsl(var(--primary) / .06));transform:translateY(-.5rem)}.pricing-recommended{background:hsl(var(--primary));color:#fff;text-transform:uppercase;border-radius:999px;padding:.35rem .55rem;font-size:.58rem;font-weight:900;position:absolute;top:1rem;right:1rem}.pricing-card h2{margin:.3rem 0 .6rem;font-size:1.7rem}.pricing-description{min-height:3.3rem;color:hsl(var(--muted-foreground));margin:0;font-size:.85rem;line-height:1.5}.pricing-price{margin-top:1.2rem;font-family:Fraunces,serif;font-size:2.3rem;font-weight:900}.pricing-cadence{color:hsl(var(--muted-foreground));margin:.1rem 0 0;font-size:.72rem}.pricing-features{border-block:1px solid hsl(var(--border));width:100%;color:hsl(var(--muted-foreground));flex:1;gap:.6rem;margin:1.4rem 0;padding:1rem 0;font-size:.8rem;list-style:none;display:grid}.pricing-footnote{color:hsl(var(--muted-foreground));margin-top:1.2rem;font-size:.76rem}.stats-heading,.ranking-heading{justify-content:space-between;align-items:end;gap:2rem;max-width:none;display:flex}.stats-heading>div,.ranking-heading{max-width:48rem}.stats-scope{color:hsl(var(--muted-foreground));margin:1rem 0 0;font-size:.75rem}.stats-kpis{grid-template-columns:repeat(5,1fr);gap:.8rem;margin-top:2rem;display:grid}.stats-session-note{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:.75rem;margin:1rem 0 0;font-size:.78rem;display:flex}.stats-kpi{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;padding:1.1rem}.stats-kpi[data-accent=primary]{border-top:4px solid hsl(var(--primary))}.stats-kpi[data-accent=accent]{border-top:4px solid hsl(var(--accent))}.stats-kpi[data-accent=lime]{border-top:4px solid hsl(var(--lime))}.stats-kpi[data-accent=sun]{border-top:4px solid hsl(var(--sun))}.stats-kpi strong{margin:.35rem 0 .1rem;font-size:2rem;display:block}.stats-kpi span{color:hsl(var(--muted-foreground));font-size:.72rem}.stats-empty{border:1px dashed hsl(var(--primary) / .4);background:hsl(var(--primary) / .05);border-radius:1rem;align-items:center;gap:1rem;margin-top:1rem;padding:1rem 1.2rem;display:flex}.stats-empty-icon{background:hsl(var(--primary));color:#fff;border-radius:.8rem;place-items:center;width:2.4rem;height:2.4rem;font-size:1.2rem;display:grid}.stats-empty h2{margin:0;font-size:1.1rem}.stats-empty p{color:hsl(var(--muted-foreground));margin:.2rem 0 0;font-size:.8rem}.stats-grid{grid-template-columns:1.3fr .7fr;gap:1rem;margin-top:1rem;display:grid}.stats-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.1rem;padding:1.3rem}.stats-card-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.stats-card h2{margin:.25rem 0 0;font-size:1.35rem}.stats-card-note{color:hsl(var(--muted-foreground));font-size:.7rem}.activity-chart{border-bottom:1px solid hsl(var(--border));grid-template-columns:repeat(7,1fr);align-items:end;gap:.65rem;height:10rem;margin-top:1.4rem;padding:0 .4rem;display:grid}.activity-column{text-align:center;height:100%;color:hsl(var(--muted-foreground));grid-template-rows:1fr auto;align-items:end;gap:.5rem;font-size:.65rem;display:grid}.activity-column small{color:hsl(var(--muted-foreground));font-size:.58rem}.activity-bar{background:linear-gradient(hsl(var(--primary)), hsl(var(--primary) / .35));transform-origin:bottom;border-radius:.6rem .6rem .15rem .15rem;align-self:end;min-height:.35rem;animation:.55s cubic-bezier(.22,1,.36,1) both stats-grow}@keyframes stats-grow{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.stats-insight{color:hsl(var(--muted-foreground));margin:1rem 0 0;font-size:.8rem;line-height:1.5}.stats-focus-title{margin:1.1rem 0 .35rem;font-size:1.05rem;font-weight:900;line-height:1.4}.stats-card>.text-link{margin-top:1.3rem;display:inline-block}.mastery-card,.journey-card{margin-top:1rem}.mastery-list{gap:1rem;margin-top:1.4rem;display:grid}.mastery-row{grid-template-columns:11rem 1fr 3rem;align-items:center;gap:.8rem;display:grid}.mastery-label{gap:.18rem;display:grid}.mastery-label strong{font-size:.82rem}.mastery-label span{color:hsl(var(--muted-foreground));font-size:.68rem}.mastery-track{background:hsl(var(--muted));border-radius:999px;height:.65rem;overflow:hidden}.mastery-track div{border-radius:inherit;background:linear-gradient(90deg, hsl(var(--accent)), hsl(var(--lime)));transform-origin:0;height:100%;animation:.7s both stats-grow}.mastery-percent{color:hsl(var(--muted-foreground));text-align:right;font-family:JetBrains Mono,monospace;font-size:.7rem}.journey-track{align-items:center;gap:.45rem;margin-top:1.5rem;padding:.4rem 0 .7rem;display:flex;overflow-x:auto}.journey-node{border:2px solid hsl(var(--border));background:hsl(var(--background));width:2rem;height:2rem;color:hsl(var(--muted-foreground));border-radius:50%;flex:0 0 2rem;place-items:center;font:700 .65rem JetBrains Mono,monospace;display:grid}.journey-node.done{border-color:hsl(var(--lime));background:hsl(var(--lime));color:#fff;box-shadow:0 0 0 4px hsl(var(--lime) / .12);animation:.4s both journey-pop}@keyframes journey-pop{0%{opacity:.4;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.topic-route-card{overflow:hidden}.topic-route-filters{flex-wrap:wrap;gap:.45rem;margin-top:1.15rem;display:flex}.topic-filter{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--muted-foreground));cursor:pointer;border-radius:999px;padding:.45rem .7rem;font:800 .68rem Nunito,sans-serif}.topic-filter:hover,.topic-filter.active{border-color:hsl(var(--primary));background:hsl(var(--primary));color:#fff}.topic-route-grid{grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.25rem;display:grid}.topic-route-item{border:1px solid hsl(var(--border));background:hsl(var(--background) / .4);min-height:11.5rem;color:hsl(var(--foreground));border-radius:1rem;flex-direction:column;padding:.95rem;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.topic-route-item:hover{border-color:hsl(var(--primary) / .55);box-shadow:0 10px 28px hsl(var(--foreground) / .07);transform:translateY(-2px)}.topic-route-item.completed{border-color:hsl(var(--lime) / .48);background:hsl(var(--lime) / .06)}.topic-route-top{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.topic-route-status{border:1px solid hsl(var(--border));width:1.65rem;height:1.65rem;color:hsl(var(--muted-foreground));border-radius:50%;place-items:center;font-size:.72rem;display:grid}.topic-route-item.completed .topic-route-status{border-color:hsl(var(--lime));background:hsl(var(--lime));color:#fff}.topic-route-item h3{margin:1rem 0 .85rem;font-size:.94rem;line-height:1.3}.topic-route-progress{background:hsl(var(--muted));border-radius:999px;height:.42rem;overflow:hidden}.topic-route-progress div{border-radius:inherit;background:linear-gradient(90deg, hsl(var(--primary)), hsl(var(--lime)));height:100%;transition:width .5s cubic-bezier(.22,1,.36,1)}.topic-route-meta{color:hsl(var(--muted-foreground));gap:.25rem;margin-top:auto;padding-top:.75rem;font-size:.64rem;line-height:1.3;display:grid}.ranking-layout{grid-template-columns:1.2fr .8fr;gap:1rem;margin-top:2.2rem;display:grid}.ranking-card,.ranking-callout{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.1rem;padding:1.3rem}.ranking-card h2{margin:.25rem 0 0;font-size:1.35rem}.ranking-list{gap:.5rem;margin:1.2rem 0 0;padding:0;list-style:none;display:grid}.ranking-row{border-radius:.8rem;grid-template-columns:2.2rem 2.2rem 1fr auto;align-items:center;gap:.7rem;padding:.7rem .6rem;display:grid}.ranking-row:hover{background:hsl(var(--secondary))}.ranking-row-self{border:1px solid hsl(var(--primary) / .35);background:hsl(var(--primary) / .06)}.ranking-position,.ranking-points{font-family:JetBrains Mono,monospace;font-size:.7rem}.ranking-position{color:hsl(var(--muted-foreground))}.ranking-avatar,.profile-avatar{background:hsl(var(--primary));color:#fff;border-radius:50%;place-items:center;font-weight:900;display:grid}.ranking-avatar{width:2rem;height:2rem;font-size:.75rem}.ranking-user{gap:.15rem;display:grid}.ranking-user strong{font-size:.82rem}.ranking-user span{color:hsl(var(--muted-foreground));font-size:.68rem}.ranking-points{color:hsl(var(--primary))}.ranking-callout{background:linear-gradient(145deg, hsl(var(--card)), hsl(var(--secondary)))}.ranking-callout h2{margin:.4rem 0;font-size:1.35rem}.ranking-callout p:not(.eyebrow){color:hsl(var(--muted-foreground));font-size:.84rem;line-height:1.6}.ranking-note{color:hsl(var(--muted-foreground));margin:1rem .4rem;font-size:.75rem;line-height:1.5}.profile-heading{justify-content:space-between;align-items:end;gap:1rem;display:flex}.profile-heading h1{margin:.35rem 0 .6rem;font-size:clamp(2.4rem,5vw,3.7rem)}.profile-heading p:not(.eyebrow){color:hsl(var(--muted-foreground));line-height:1.6}.profile-avatar{flex:0 0 4.5rem;width:4.5rem;height:4.5rem;font-size:1.8rem;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-tabs{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;gap:.35rem;margin:2rem 0 1rem;padding-bottom:.7rem;display:flex}.profile-tabs a{color:hsl(var(--muted-foreground));border-radius:999px;padding:.5rem .8rem;font-size:.76rem;font-weight:900}.profile-tabs a:hover{background:hsl(var(--secondary));color:hsl(var(--foreground))}.profile-section{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.1rem;margin-top:1rem;padding:1.4rem}.profile-section-heading{border-bottom:1px solid hsl(var(--border));padding-bottom:1rem}.profile-section-heading h2{margin:.25rem 0 .3rem;font-size:1.4rem}.profile-section-heading p:last-child{color:hsl(var(--muted-foreground));margin:0;font-size:.8rem;line-height:1.5}.settings-form{grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.2rem;display:grid}.settings-form label{color:hsl(var(--muted-foreground));gap:.4rem;font-size:.74rem;font-weight:900;display:grid}.settings-form input,.settings-form select{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;color:inherit;border-radius:.7rem;padding:.7rem .8rem}.settings-form button{justify-self:start}.password-form{border-top:1px solid hsl(var(--border));padding-top:1.2rem}.profile-notice{background:hsl(var(--lime) / .12);color:hsl(var(--lime));border-radius:.6rem;padding:.7rem .8rem;font-size:.8rem;font-weight:800}.account-billing-grid{grid-template-columns:repeat(2,1fr);gap:.8rem;margin-top:1.2rem;display:grid}.billing-card{border:1px solid hsl(var(--border));border-radius:.9rem;flex-direction:column;align-items:flex-start;padding:1rem;display:flex}.billing-plan{margin:.4rem 0;font-size:1.05rem}.billing-card p{color:hsl(var(--muted-foreground));flex:1;margin:0 0 1rem;font-size:.76rem;line-height:1.5}.billing-history{border-top:1px solid hsl(var(--border));margin-top:1rem;padding-top:1rem}.billing-history h3{margin:0 0 .3rem;font-family:Nunito;font-size:.9rem}.billing-history p{margin:0;font-size:.78rem;line-height:1.5}.profile-danger-zone{border-top:1px solid #f1aca7;justify-content:space-between;align-items:end;gap:1rem;margin-top:1.4rem;padding-top:1rem;display:flex}.profile-danger-zone .eyebrow{color:#ba352c;margin:0 0 .35rem}.profile-danger-zone p:not(.eyebrow){margin:0;font-size:.76rem;line-height:1.45}.blog-heading{border-bottom:1px solid hsl(var(--border));max-width:48rem;padding-bottom:2rem}.blog-heading h1{margin:.35rem 0 .6rem;font-size:clamp(2.6rem,5vw,4rem)}.blog-heading p:last-child{color:hsl(var(--muted-foreground));line-height:1.7}.blog-layout{grid-template-columns:12rem 1fr;gap:2.5rem;margin-top:2.2rem;display:grid}.blog-topics{align-self:start;position:sticky;top:90px}.blog-topics h2{margin:.25rem 0 1rem;font-size:1.25rem}.blog-topics nav{gap:.2rem;display:grid}.blog-topic{color:hsl(var(--muted-foreground));border-radius:.5rem;padding:.5rem .6rem;font-size:.8rem;font-weight:800}.blog-topic:hover,.blog-topic.active{background:hsl(var(--secondary));color:hsl(var(--foreground))}.blog-topic.active{box-shadow:inset 3px 0 hsl(var(--primary))}.blog-search{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:999px;align-items:center;gap:.6rem;width:min(22rem,100%);margin-left:auto;padding:.65rem .9rem;display:flex}.blog-search input{width:100%;color:inherit;background:0 0;border:0;outline:0}.blog-count{color:hsl(var(--muted-foreground));margin:1.2rem 0;font-size:.7rem}.blog-list{border-top:1px solid hsl(var(--border))}.blog-card{border-bottom:1px solid hsl(var(--border));padding:1.5rem 0}.blog-card-meta,.blog-card-footer{color:hsl(var(--muted-foreground));justify-content:space-between;gap:1rem;font-size:.68rem;display:flex}.blog-topic-label{color:hsl(var(--primary));text-transform:uppercase;letter-spacing:.08em;font-weight:900}.blog-card h2{margin:.55rem 0 .35rem;font-size:1.55rem}.blog-card h2 a:hover{color:hsl(var(--primary))}.blog-card>p{max-width:42rem;color:hsl(var(--muted-foreground));margin:0;font-size:.9rem;line-height:1.6}.blog-card-footer{justify-content:start;margin-top:1.1rem}.blog-card-footer span+span:before{content:"·";margin-right:.7rem}.blog-post{max-width:52rem}.blog-post-topic{margin-top:3rem}.blog-post h1{margin:.35rem 0 .8rem;font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.04}.blog-post-summary{color:hsl(var(--muted-foreground));font-size:1.1rem;line-height:1.7}.blog-post-meta{border-block:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));padding:.8rem 0;font-size:.75rem}.blog-post-body{margin-top:2rem}.resources-hero-inner{justify-content:space-between;align-items:end;gap:2rem;display:flex}.resources-hero-inner h1{margin:.35rem 0 .7rem}.resources-hero-inner p:not(.eyebrow){max-width:48rem;margin:0}.resource-search{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:999px;flex:0 0 22rem;align-items:center;gap:.6rem;width:min(22rem,100%);padding:.75rem 1rem;display:flex}.resource-search input{width:100%;color:inherit;background:0 0;border:0;outline:0}.resources-page{padding-top:2.2rem;padding-bottom:6rem}.resource-topic-nav{z-index:5;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background) / .92);backdrop-filter:blur(12px);gap:.35rem;margin-bottom:3rem;padding:.7rem 0;display:flex;position:sticky;top:66px}.resource-topic{color:hsl(var(--muted-foreground));border-radius:999px;padding:.5rem .75rem;font-size:.75rem;font-weight:900}.resource-topic:hover,.resource-topic.active{background:hsl(var(--secondary));color:hsl(var(--foreground))}.resource-section-heading{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem;display:flex}.resource-section-heading h2{margin:.25rem 0 0;font-size:clamp(1.7rem,3vw,2.35rem)}.resource-section-heading>p{max-width:28rem;margin:0;font-size:.82rem;line-height:1.5}.resource-section-heading-spaced{margin-top:4.5rem}.resource-tool-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1.4rem;padding:1.4rem;box-shadow:0 18px 38px -34px rgba(31,36,71,.55)}.resource-tool-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.3rem;display:flex}.resource-tool-heading h2{margin:.25rem 0 .35rem;font-size:1.55rem}.resource-tool-heading p{max-width:42rem;margin:0;font-size:.82rem;line-height:1.5}.periodic-grid{grid-template-columns:repeat(18,minmax(2rem,1fr));gap:.28rem;padding-bottom:.4rem;display:grid;overflow-x:auto}.periodic-element{border:1px solid hsl(var(--border));background:hsl(var(--secondary) / .55);min-height:3.5rem;color:hsl(var(--foreground));text-align:left;cursor:pointer;border-radius:.55rem;flex-direction:column;justify-content:space-between;align-items:start;padding:.35rem;transition:transform .15s,border-color .15s,background .15s;display:flex}.periodic-element:hover,.periodic-element.selected{border-color:hsl(var(--primary));background:hsl(var(--primary) / .1);transform:translateY(-2px)}.periodic-element strong{align-self:center;font-size:.86rem}.periodic-number{color:hsl(var(--muted-foreground));font-family:JetBrains Mono,monospace;font-size:.52rem}.periodic-empty{min-height:3.5rem}.periodic-selected{background:hsl(var(--secondary));border-radius:1rem;align-items:center;gap:.7rem;min-width:13rem;padding:.65rem .8rem;display:flex}.periodic-selected-symbol{background:hsl(var(--primary));color:#fff;border-radius:.75rem;place-items:center;width:2.55rem;height:2.55rem;font-size:1.1rem;font-weight:900;display:grid}.periodic-selected div{gap:.15rem;display:grid}.periodic-selected strong{font-size:.82rem}.periodic-selected span:last-child{color:hsl(var(--muted-foreground));font-size:.65rem}.periodic-f-block{gap:.3rem;margin-top:.55rem;display:grid}.periodic-f-row{grid-template-columns:6rem repeat(14,minmax(2rem,1fr));gap:.28rem;display:grid}.periodic-f-label{color:hsl(var(--muted-foreground));align-self:center;font-size:.65rem;font-weight:900}.periodic-note{color:hsl(var(--muted-foreground));margin:1rem 0 0;font-size:.7rem;line-height:1.45}.quick-reference-badge,.course-access-badge{background:hsl(var(--lime) / .1);color:hsl(var(--lime));border-radius:999px;padding:.45rem .7rem;font-family:JetBrains Mono,monospace;font-size:.65rem;font-weight:900}.quick-reference-grid{grid-template-columns:repeat(3,1fr);gap:.8rem;display:grid}.quick-reference-group{border:1px solid hsl(var(--border));border-radius:.95rem;padding:1rem}.quick-reference-group h3{margin:.25rem 0 1rem;font-family:Nunito;font-size:1rem}.formula-list{gap:.45rem;display:grid}.formula-row{border-top:1px solid hsl(var(--border));gap:.25rem;padding-top:.5rem;display:grid}.formula-row span{color:hsl(var(--muted-foreground));font-size:.68rem;font-weight:800}.formula-row code{color:hsl(var(--primary));white-space:normal;font-family:JetBrains Mono,monospace;font-size:.72rem}.exam-tips-strip{background:hsl(var(--sun) / .13);border-radius:.9rem;align-items:start;gap:.8rem;margin-top:1rem;padding:.9rem 1rem;display:flex}.exam-tip-icon{color:hsl(var(--accent));font-size:1.2rem}.exam-tips-strip p{margin:0}.exam-tips-strip p:last-child{color:hsl(var(--muted-foreground));margin-top:.2rem;font-size:.78rem;line-height:1.5}.resource-library{margin-top:4.5rem}.resource-count{color:hsl(var(--muted-foreground));font-size:.7rem}.resource-library-copy{min-width:0}.resource-list h3{margin:.25rem 0 0;font-family:Nunito;font-size:1.05rem}.resource-kind{color:hsl(var(--primary))}.resource-expand{align-self:center;min-width:7rem}.resource-expand summary{border:1px solid hsl(var(--border));color:hsl(var(--foreground));cursor:pointer;text-align:center;border-radius:999px;padding:.55rem .75rem;font-size:.72rem;font-weight:900;list-style:none}.resource-expand summary::-webkit-details-marker{display:none}.resource-expand summary:after{content:"⌄";color:hsl(var(--primary));margin-left:.4rem}.resource-expand[open] summary:after{content:"⌃"}.resource-expand-body{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:.7rem;width:16rem;margin-top:.5rem;padding:.7rem;box-shadow:0 12px 24px -18px rgba(31,36,71,.45)}.resource-expand-body p{margin:0 0 .45rem;font-size:.72rem;line-height:1.45}.exam-prep-card{border:1px solid hsl(var(--border));background:linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--card)));border-radius:1.2rem;justify-content:space-between;align-items:center;gap:2rem;margin-top:4.5rem;padding:1.4rem;display:flex}.exam-prep-card h2{margin:.25rem 0 .4rem;font-size:1.5rem}.exam-prep-card p:last-child{max-width:43rem;color:hsl(var(--muted-foreground));margin:0;font-size:.82rem;line-height:1.55}.exam-prep-mark{color:hsl(var(--primary));font-family:Fraunces,serif;font-size:4.5rem;font-weight:900}.resources-wrap{padding-top:3rem;padding-bottom:5rem}.resource-list{border-block:1px solid hsl(var(--border));margin:0;padding:0;list-style:none}.resource-list li{border-bottom:1px solid hsl(var(--border));grid-template-columns:auto 1fr auto;align-items:center;gap:1.3rem;padding:1.4rem 0;display:grid}.resource-list li:last-child{border-bottom:0}.resource-icon{border-radius:15px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.resource-meta{text-transform:uppercase;letter-spacing:.04em;flex-wrap:wrap;gap:.55rem;font-size:.66rem;display:flex}.resource-list h2{margin:.25rem 0 0;font-family:Nunito;font-size:1.05rem}.resource-list p{margin:.25rem 0 0;font-size:.88rem;line-height:1.55}.resource-note{border:1px dashed hsl(var(--border));color:hsl(var(--muted-foreground));border-radius:23px;margin-top:2.2rem;padding:1.4rem;font-size:.88rem;line-height:1.55}.courses-hero h1{margin:.35rem 0 .7rem}.courses-page,.course-detail-page{padding-top:3rem;padding-bottom:6rem}.courses-intro-row{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:end;gap:1rem;padding-bottom:1.2rem;display:flex}.courses-intro-row h2{margin:.25rem 0 0;font-size:1.65rem}.course-stage{margin-top:2.2rem}.course-stage-heading{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;padding-bottom:.55rem;display:flex}.course-stage-heading p{color:hsl(var(--primary));letter-spacing:.13em;margin:0;font-size:.7rem;font-weight:900}.course-stage-heading span{font-size:.7rem}.course-list{gap:.7rem;margin-top:.7rem;display:grid}.course-accordion{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;overflow:hidden}.course-accordion>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;list-style:none;display:flex}.course-accordion>summary::-webkit-details-marker{display:none}.course-accordion>summary:focus-visible{outline:3px solid hsl(var(--primary) / .28);outline-offset:-3px}.course-accordion>summary:hover{background:hsl(var(--secondary) / .6)}.course-summary-main{align-items:start;gap:.85rem;min-width:0;display:flex}.course-summary-icon{background:hsl(var(--primary) / .1);width:2.2rem;height:2.2rem;color:hsl(var(--primary));border-radius:.7rem;flex:0 0 2.2rem;place-items:center;font-weight:900;display:grid}.course-summary-main h3{margin:.15rem 0 .25rem;font-family:Nunito;font-size:1rem}.course-summary-main p:last-child{margin:0;font-size:.76rem;line-height:1.45}.course-summary-meta{color:hsl(var(--muted-foreground));white-space:nowrap;align-items:center;gap:.65rem;font-size:.67rem;display:flex}.course-chevron{color:hsl(var(--primary));font-size:1rem}.course-accordion[open]>summary .course-chevron{transform:rotate(180deg)}.course-accordion-body{border-top:1px solid hsl(var(--border));padding:1rem 1.15rem 1.15rem}.course-accordion[open] .course-accordion-body{animation:.2s both reveal}.course-subject-row+.course-subject-row{border-top:1px solid hsl(var(--border));margin-top:1rem;padding-top:1rem}.course-subject-heading{align-items:center;gap:.45rem;display:flex}.course-subject-dot{border-radius:50%;width:.55rem;height:.55rem}.course-subject-heading h4{margin:0;font-size:.8rem}.course-unit-grid{grid-template-columns:repeat(2,1fr);gap:.55rem;margin-top:.65rem;display:grid}.course-unit-card{border:1px solid hsl(var(--border));border-radius:.75rem;padding:.75rem}.course-unit-number{color:hsl(var(--primary));font-size:.62rem}.course-unit-card h5{margin:.35rem 0 .25rem;font-family:Nunito;font-size:.78rem}.course-unit-card p{color:hsl(var(--muted-foreground));margin:0;font-size:.68rem;line-height:1.45}.course-unit-links,.course-detail-notes{gap:.25rem;margin-top:.55rem;display:grid}.course-note-link,.course-detail-note{color:hsl(var(--primary));font-size:.67rem;font-weight:800}.course-unlinked{color:hsl(var(--muted-foreground));font-size:.64rem;font-style:italic}.course-open-button{margin-top:1rem}.course-detail-heading{justify-content:space-between;align-items:end;gap:2rem;margin-top:1.4rem;display:flex}.course-detail-heading h1{margin:.35rem 0 .65rem;font-size:clamp(2.5rem,5vw,4rem)}.course-detail-lead{max-width:44rem;color:hsl(var(--muted-foreground));margin:0;line-height:1.65}.course-detail-stat{border-left:1px solid hsl(var(--border));min-width:6rem;padding-left:1rem;display:grid}.course-detail-stat strong{color:hsl(var(--primary));font-size:2rem}.course-detail-stat span{color:hsl(var(--muted-foreground));font-size:.7rem}.course-detail-actions{flex-wrap:wrap;gap:.65rem;margin:1.7rem 0 2.3rem;display:flex}.course-detail-layout{grid-template-columns:minmax(0,1fr) 18rem;align-items:start;gap:2rem;display:grid}.course-detail-subject{border-top:1px solid hsl(var(--border));padding-top:1.2rem}.course-detail-subject+.course-detail-subject{margin-top:2.2rem}.course-detail-subject-heading h2{margin:.2rem 0 1rem;font-size:1.45rem}.course-detail-unit{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:.8rem;padding:.75rem .9rem}.course-detail-unit+.course-detail-unit{margin-top:.55rem}.course-detail-unit summary{cursor:pointer;grid-template-columns:2rem 1fr auto;align-items:center;gap:.5rem;list-style:none;display:grid}.course-detail-unit summary::-webkit-details-marker{display:none}.course-detail-unit summary>span:first-child{color:hsl(var(--primary));font-size:.65rem}.course-detail-unit summary strong{font-size:.82rem}.course-detail-unit>p{margin:.65rem 0 0 2.5rem;font-size:.75rem;line-height:1.5}.course-detail-notes{margin-left:2.5rem}.course-tool-sidebar{gap:.8rem;display:grid;position:sticky;top:5.5rem}.course-tool-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;padding:1rem}.course-tool-card h3{margin:.25rem 0 .45rem;font-family:Nunito;font-size:1rem}.course-tool-card p:not(.eyebrow){color:hsl(var(--muted-foreground));margin:0 0 1rem;font-size:.76rem;line-height:1.5}.course-exam-card{background:linear-gradient(145deg, hsl(var(--secondary)), hsl(var(--card)))}.site-footer{border-top:1px solid hsl(var(--border));background:hsl(var(--card));margin-top:3rem}.footer-grid{grid-template-columns:1.35fr 1fr 1fr 1fr;gap:2rem;padding-top:3.5rem;padding-bottom:3.5rem;display:grid}.footer-brand{margin:0;font-size:1.15rem;font-weight:900}.footer-copy{max-width:19rem;color:hsl(var(--muted-foreground));margin:.55rem 0 0;font-size:.84rem;line-height:1.55}.footer-heading{text-transform:uppercase;letter-spacing:.15em;color:hsl(var(--muted-foreground));margin:0;font-size:.67rem;font-weight:900}.footer-list{gap:.5rem;margin:.8rem 0 0;padding:0;font-size:.84rem;font-weight:700;list-style:none;display:grid}.footer-list a:hover{color:hsl(var(--primary))}.muted-list{color:hsl(var(--muted-foreground))}.footer-bottom{border-top:1px solid hsl(var(--border));text-align:center;color:hsl(var(--muted-foreground));padding:1.15rem;font-size:.7rem}.not-found{text-align:center;width:min(42rem,100% - 2.5rem);margin:0 auto;padding:7rem 0}.not-found h1{font-size:2.4rem}.not-found .button{margin-top:1rem}@media (width<=1000px){.header-search{display:none}.hero-inner{grid-template-columns:1fr;padding-top:4rem}.hero-visual{max-width:47rem}.subject-grid,.lesson-grid{grid-template-columns:repeat(2,1fr)}.practice-promo{grid-template-columns:1fr}.study-image{max-height:420px}.footer-grid{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:minmax(0,1fr) 15rem;gap:1.4rem}.pricing-grid{grid-template-columns:1fr}.pricing-card-featured{transform:none}.stats-kpis{grid-template-columns:repeat(2,1fr)}.stats-grid,.ranking-layout{grid-template-columns:1fr}.topic-route-grid{grid-template-columns:repeat(2,1fr)}.quick-reference-grid,.course-detail-layout{grid-template-columns:1fr}.course-tool-sidebar{grid-template-columns:repeat(2,1fr);position:static}}@media (width<=760px){.desktop-nav,.header-cta{display:none}.mobile-menu-button{place-items:center;display:grid}.mobile-panel{display:block}.hero-inner{width:min(100% - 2rem,90rem);padding:3rem 0 4.5rem}.hero-copy h1{font-size:2.7rem}.sun-block{display:none}.formula-note{max-width:none;left:1rem;right:1rem}.hero-image{height:16rem}.hero-carousel-controls{gap:.35rem;left:.65rem;right:.65rem}.hero-carousel-controls .carousel-dots{gap:.2rem}.hero-carousel-controls .carousel-dot{width:.4rem;height:.4rem}.hero-carousel-controls .carousel-dot.active{width:.8rem}.hero-stats{gap:.7rem}.hero-stats dd{font-size:1.6rem}.section-space{padding-top:3.5rem;padding-bottom:3.5rem}.subject-grid,.lesson-grid{grid-template-columns:1fr}.level-list li{grid-template-columns:3.5rem 1fr}.level-list .button{grid-column:2;justify-self:start}.section-heading-row{flex-direction:column;align-items:start}.practice-layout,.practice-modes,.topic-route-grid{grid-template-columns:1fr}.progress-card{order:-1}.resource-list li{grid-template-columns:auto 1fr}.resource-list .button{grid-column:2;justify-self:start}.resources-hero-inner,.resource-section-heading,.course-detail-heading{flex-direction:column;align-items:start}.resource-search{flex-basis:auto;width:100%}.resource-topic-nav{top:58px;overflow-x:auto}.periodic-grid{grid-template-columns:repeat(18,2.6rem)}.periodic-f-row{grid-template-columns:5rem repeat(14,2.6rem);overflow-x:auto}.periodic-selected{width:100%}.course-summary-meta{display:none}.course-unit-grid,.course-tool-sidebar{grid-template-columns:1fr}.course-accordion>summary{align-items:start}.course-detail-stat{border-left:0;border-top:1px solid hsl(var(--border));padding:.75rem 0 0}.exam-prep-card{align-items:start}.footer-grid,.simulation-controls{grid-template-columns:1fr}.lesson-toolbar .complete-button{width:100%;margin-left:0}.lesson-layout{grid-template-columns:1fr;width:min(100% - 2rem,56rem)}.right-sidebar{order:-1;margin-top:1.5rem;position:static}.account-control{margin-left:auto}.account-menu-panel{position:fixed;top:4.4rem;right:1rem}.subscription-grid,.auth-shell{grid-template-columns:1fr}.auth-visual{min-height:0;padding:1.5rem}.auth-visual h2{margin:.7rem 0 .5rem;font-size:1.6rem}.auth-visual-formula{margin-top:1.25rem}.pricing-page,.stats-page,.ranking-page,.profile-page,.blog-page,.blog-post{width:min(100% - 2rem,56rem);padding-top:3rem}.stats-heading,.ranking-heading,.profile-heading{flex-direction:column;align-items:start}.settings-form,.account-billing-grid{grid-template-columns:1fr}.blog-layout{grid-template-columns:1fr;gap:1rem}.blog-topics{position:static}.blog-topics nav{flex-wrap:wrap;display:flex}.blog-search{margin-left:0}}@media (width<=480px){.container,.article{width:min(100% - 1.5rem,72rem)}.header-inner{width:min(100% - 1.5rem,90rem)}.hero-actions .button{width:100%}.hero-stats{grid-template-columns:1fr 1fr 1fr}.quiz-card{padding:1rem}.simulation-head{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}}