:root{--bg:#f7fbff;--surface:#fff;--ink:#15354d;--muted:#627c91;--line:#dce9f4;--primary:#2464b1;--soft:#eaf4ff;--hero:#e8f4ff;--code:#122b44;--radius:20px;--shadow:0 12px 34px #36668c08}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:104px}body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif;font-size:16px;line-height:1.9}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:default}button,a,input,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #77b8ed;outline-offset:4px}::selection{background:#c7e5ff;color:#113c6b}.en,bdi{unicode-bidi:isolate}.en{font-family:'Space Grotesk',sans-serif;font-size:.9em}.skip{position:fixed;top:-70px;right:20px;padding:8px 18px;background:var(--primary);color:white;z-index:80}.skip:focus{top:10px}.topbar{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--line)}.header-inner{max-width:1320px;padding:0 38px;min-height:90px;display:flex;justify-content:space-between;align-items:center;gap:28px;margin:auto}.brand{display:flex;align-items:center;gap:11px;flex:none;font-size:23px;font-weight:600;line-height:1.35}.brand b{font-weight:450}.brand small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:var(--muted)}.brand-icon{background:var(--primary);color:white;display:grid;place-items:center;border-radius:13px;width:45px;height:45px;font:600 20px 'Space Grotesk',sans-serif;direction:ltr}.topnav{display:flex;gap:29px;align-items:center;align-self:stretch;font-size:12px;white-space:nowrap}.topnav a{display:flex;align-items:center;position:relative}.topnav a.active{color:var(--primary);font-weight:600}.topnav a.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px;background:var(--primary)}.header-actions{display:flex;gap:13px;align-items:center}.author-nav{font:10px 'Space Grotesk',sans-serif;color:var(--muted);white-space:nowrap}.icon-button{background:var(--surface);border:1px solid var(--line);border-radius:50%;width:36px;height:36px;font-size:18px;display:grid;place-items:center}.menu-toggle{display:none}.mobile-nav[hidden]{display:none}.mobile-nav{display:grid;gap:0;position:fixed;top:75px;left:0;right:0;padding:15px 25px 20px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--shadow);z-index:39;font-size:14px}.mobile-nav a{padding:10px 5px}.page-wrap{max-width:1280px;padding:35px 45px 0;margin:auto}.hero{background:var(--hero);border:1px solid #cce3f7;border-radius:24px;min-height:475px;display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;gap:15px;padding:50px 45px;position:relative}.hero-copy{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:500;color:var(--primary)}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#58a2e0}.hero .eyebrow{background:#ffffffa8;border:1px solid #d0e5f7;border-radius:6px;padding:4px 11px}.hero h1{font-size:49px;line-height:1.55;font-weight:600;margin:19px 0 15px;letter-spacing:-1px}.hero h1 em{font-style:normal;position:relative;color:#225fa0;display:inline-block}.hero h1 em:after{content:'';height:8px;background:#acd5f4;position:absolute;bottom:8px;left:0;right:0;z-index:-1;transform:rotate(-2deg)}.hero p{font-size:15px;line-height:2.1;color:#527593;margin:0 0 23px}.hero-actions{display:flex;gap:11px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 19px;font-size:12px;font-weight:500;border:1px solid var(--line);border-radius:8px;background:var(--surface);transition:background .2s,transform .2s;line-height:1.7}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn.primary:hover{background:#1e569b}.btn.secondary{background:var(--surface);border-color:var(--line)}.hero .btn.secondary{background:#f5fbff;border-color:#c7deef}.hero-stats{display:flex;gap:26px;padding-top:27px;margin-top:25px;border-top:1px solid #cddff0;font-size:10px;color:#62849c}.hero-stats b{display:block;font:500 23px 'Space Grotesk','IBM Plex Sans Arabic',sans-serif;color:#2f689c;margin-bottom:4px}.hero-art{position:relative;display:flex;align-items:center;flex-direction:column}.hero-art img{width:110%;height:auto;max-height:365px;object-fit:contain}.art-caption{font-size:9px;color:#7894aa;margin-top:5px}.feature-line{display:flex;justify-content:space-between;gap:16px;padding:22px 6px 25px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.feature-line span{display:flex;align-items:center;gap:9px}.feature-line i{font:14px 'Space Grotesk',sans-serif;font-style:normal;color:var(--primary)}.home-section{padding:36px 0 25px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:0 0 24px}.section-heading h2{font-size:26px;font-weight:600;line-height:1.6;margin:5px 0}.section-heading p{font-size:12px;color:var(--muted);margin:4px 0}.text-link{font-size:11px;color:var(--primary);font-weight:500;white-space:nowrap}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.course-card{padding:25px 22px;background:var(--surface);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;box-shadow:var(--shadow);position:relative;overflow:hidden}.course-card:before{content:'';height:3px;position:absolute;top:0;left:22px;right:22px;background:#84bae9;border-radius:3px}.course-card.orange:before{background:#edae90}.course-card.yellow:before{background:#e8cc7d}.course-card.cyan:before{background:#8aceda}.course-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.track-number{font-size:9px;color:var(--muted)}.course-symbol{width:42px;height:42px;display:grid;place-items:center;background:#e9f3ff;color:#367bbf;border-radius:11px;font:500 24px 'Space Grotesk',sans-serif}.orange .course-symbol{background:#fff0e9;color:#c78260}.yellow .course-symbol{background:#fff8e2;color:#b59a44}.cyan .course-symbol{background:#e6f6fa;color:#4992a6;font-family:Arial;font-size:34px}.course-card h3{font:600 26px 'Space Grotesk',sans-serif;margin:22px 0 8px;text-align:right}.course-card h4{font-size:15px;font-weight:500;margin:0 0 9px}.course-card p{font-size:12px;color:var(--muted);line-height:2;margin:0 0 21px;flex:1}.course-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:13px;margin-top:auto;margin-bottom:17px}.course-actions{display:grid;gap:12px;text-align:center}.course-actions .btn{font-size:11px;padding:9px 12px}.course-actions .text-link{font-size:10px}.method{display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:center;gap:26px;margin:35px 0;padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.method h2{font-size:30px;font-weight:600;line-height:1.6;margin:12px 0}.method>div>p{font-size:13px;color:var(--muted);max-width:320px;line-height:2}.method-card{border:1px solid var(--line);border-radius:15px;padding:24px;background:var(--surface);position:relative;display:block;min-height:228px}.method-card:hover{border-color:#92bee6}.method-number{position:absolute;top:20px;left:24px;font:18px 'Space Grotesk',sans-serif;color:#abc3d5}.method-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);border-radius:10px;font-size:24px;color:var(--primary)}.method-card h3{font-size:18px;margin:15px 0 7px;font-weight:500}.method-card p{font-size:12px;color:var(--muted);line-height:2;margin:0 0 14px}.method-card b{font-size:11px;color:var(--primary);font-weight:500}.learning-path{display:flex;align-items:center;justify-content:center;gap:27px;padding:18px 25px;border:1px solid var(--line);border-radius:12px;background:var(--soft);margin:25px 0}.learning-path a{display:flex;flex-direction:column;align-items:center;gap:3px}.learning-path bdi{font:500 17px 'Space Grotesk',sans-serif}.learning-path small{font-size:10px;color:var(--muted)}.path-arrow{color:#85accb;font-size:16px}.author-section{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px 0 20px;margin-top:30px}.author-section h2{font:500 27px 'Space Grotesk',sans-serif;text-align:right;margin:9px 0}.author-section p{font-size:12px;color:var(--muted);margin:0}.site-footer{border-top:1px solid var(--line);margin-top:45px}.footer-inner{max-width:1280px;padding:29px 45px;margin:auto;display:flex;align-items:center;gap:28px;font-size:10px;color:var(--muted)}.footer-inner .brand{font-size:17px;color:var(--ink)}.footer-inner .brand-icon{width:34px;height:34px;font-size:16px;border-radius:10px}.footer-inner .brand small{font-size:8px}.footer-inner p{margin-left:auto}.author-link{font-size:10px}.author-link small{display:block;font-size:9px;color:var(--primary)}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:11px;color:var(--muted);font-size:11px;margin:1px 0 28px}.breadcrumbs a:hover{color:var(--primary)}.breadcrumbs>span:not([aria-current]){color:#b0c4d3}.page-heading{padding:14px 0 35px}.page-heading h1{font-size:40px;font-weight:600;line-height:1.6;margin:11px 0}.page-heading p{font-size:15px;color:var(--muted);max-width:780px;line-height:2.1;margin:0}.callout{padding:20px 22px;background:var(--soft);border:1px solid #d0e5f8;border-radius:11px;margin:24px 0}.callout-title{font-size:14px;color:var(--primary);font-weight:600;margin-bottom:7px}.callout p{font-size:13px;line-height:2;margin:0!important;color:var(--muted)}.callout.orange{background:#fff6ec;border-color:#f0dfc8}.callout.orange .callout-title{color:#956b39}.callout.purple{background:#f1f0fc;border-color:#e0def2}.callout.purple .callout-title{color:#71649c}.course-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;background:var(--hero);border:1px solid #cfe3f4;border-radius:20px;padding:35px 38px}.course-badge{display:inline-flex;align-items:center;font:500 12px 'Space Grotesk',sans-serif;border:1px solid #bad7f0;background:#f5fbff;border-radius:5px;padding:3px 10px;color:var(--primary)}.course-badge.orange{background:#fff3eb;color:#a96b4c;border-color:#efd4c3}.course-badge.yellow{background:#fffae5;color:#8d772a;border-color:#e9dfb3}.course-badge.cyan{background:#e8f9ff;color:#408496;border-color:#c2e4ec}.course-hero h1{font-size:35px;font-weight:600;margin:14px 0 10px;line-height:1.5}.course-hero h1 bdi{font-family:'Space Grotesk',sans-serif;font-size:.95em}.course-hero p{color:#597b98;font-size:14px;margin:0 0 15px}.prerequisite{font-size:11px;color:var(--muted)}.course-hero-art{display:flex;flex-direction:column;align-items:center;min-width:230px}.course-hero-art>span{font:500 70px 'Space Grotesk',sans-serif;color:#7daed2;line-height:1.3}.course-hero-art small{font-size:10px;color:var(--muted)}.course-tabs{display:flex;align-items:center;gap:26px;padding:22px 2px;border-bottom:1px solid var(--line);font-size:13px;margin-bottom:30px}.course-tabs a{padding-bottom:10px;position:relative}.course-tabs a.active{font-weight:600;color:var(--primary)}.course-tabs a.active:after{content:'';height:3px;background:var(--primary);position:absolute;bottom:0;left:0;right:0;border-radius:4px}.course-tabs>span{margin-right:auto;color:var(--muted);font-size:10px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:8px 13px;width:280px;max-width:100%}.search span{font:25px 'Space Grotesk';line-height:1;color:#7199b9}.search input{width:100%;min-width:0;border:0;background:none;color:var(--ink);outline:0;font-size:12px}.course-list-heading h2{font-size:22px}.lesson-list{display:grid;gap:14px}.lesson-row{display:flex;align-items:center;gap:25px;padding:23px 27px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .15s}.lesson-row:hover{border-color:#b4d1e8}.row-number{font:500 25px 'Space Grotesk';color:#97b7ce;flex:none;border-left:1px solid var(--line);padding-left:23px;align-self:stretch;display:flex;align-items:center}.row-content{flex:1;min-width:0}.row-title{font-size:19px;font-weight:500}.row-title:hover{color:var(--primary)}.row-content p{font-size:12px;color:var(--muted);margin:6px 0 8px}.row-meta{display:flex;gap:16px;font-size:10px;color:var(--muted);flex-wrap:wrap}.done-label{color:var(--primary)}.row-actions{display:grid;gap:9px;text-align:center;min-width:138px}.source-note{font-size:11px;color:var(--muted);line-height:2.1;margin:27px 0}.source-note a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.reading-page{max-width:1200px}.reading-heading{max-width:850px;padding-bottom:12px}.reading-label{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--muted)}.reading-heading h1{font-size:37px;font-weight:600;line-height:1.65;margin:15px 0 10px}.reading-heading>p{font-size:15px;color:var(--muted);line-height:2.1;margin:0;max-width:800px}.lesson-switch{display:flex;gap:10px;margin:25px 0 17px;font-size:12px}.lesson-switch a{padding:8px 16px;background:var(--surface);border:1px solid var(--line);border-radius:7px}.lesson-switch a.active{background:var(--soft);border-color:#adcde8;color:var(--primary);font-weight:500}.reader-grid{display:grid;grid-template-columns:minmax(0,800px) 190px;gap:42px;align-items:start}.article{min-width:0}.article p{font-size:16px;line-height:2.25;color:#506d83;margin:12px 0 20px}.article strong{color:var(--ink);font-weight:600}.article h2{font-size:23px;font-weight:600;line-height:1.75;margin:24px 0 12px;scroll-margin-top:108px;overflow-wrap:anywhere}.article h3{font-size:19px;font-weight:500;line-height:1.8;margin:20px 0 12px}.article h4{font-size:15px;font-weight:500;margin:15px 0 8px}.article ul,.article ol{font-size:15px;line-height:2.15;color:#506d83;padding-right:23px;margin:14px 0 23px}.article li{padding-right:3px;margin:8px 0}.article p a{color:var(--primary);text-decoration:underline;text-underline-offset:4px}.article code:not(pre code){direction:ltr;unicode-bidi:isolate;display:inline-block;font:13px/1.6 Consolas,monospace;max-width:100%;overflow-wrap:anywhere;vertical-align:baseline;background:var(--soft);border-radius:4px;color:#2466a1;padding:1px 5px}.article .callout p{font-size:14px;line-height:2.1}.topic{margin:0 0 38px;border-bottom:1px solid var(--line);padding-bottom:25px}.topic-heading{display:flex;align-items:baseline;gap:14px;margin-top:26px}.topic-heading>span{font:12px 'Space Grotesk';padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:var(--soft);color:var(--primary);flex:none}.topic-heading h2{margin-top:0}.session-plan{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.session-plan div{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px}.session-plan b{display:block;font-size:17px;font-weight:500;color:var(--primary)}.session-plan span{font-size:10px;color:var(--muted)}.article .reading-time{font-size:11px;color:var(--muted);margin:10px 0 25px}.toc{position:sticky;top:113px;font-size:10px;max-height:calc(100dvh - 135px);overflow:auto;scrollbar-width:thin;padding-right:16px;border-right:1px solid var(--line)}.toc h4{font-size:11px;color:var(--ink);margin:0 0 12px;font-weight:500}.toc a{display:block;padding:6px 0;color:var(--muted);line-height:1.9}.toc a:hover{color:var(--primary)}.toc .toc-other{color:var(--primary);border-top:1px solid var(--line);padding-top:13px;margin-top:14px}.toc-note{border-top:1px dashed var(--line);margin-top:17px;padding-top:15px;color:var(--muted);font-size:10px;line-height:2}.print-button{background:none;border:0;color:var(--primary);font-size:10px;padding:12px 0}.code-block{direction:ltr;text-align:left;background:var(--code);border:1px solid #294862;border-radius:11px;overflow:hidden;margin:22px 0;color:#d9e9f5;min-width:0}.code-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 15px;background:#1c3953;border-bottom:1px solid #31516e;color:#abc6dd;font:10px 'Space Grotesk','IBM Plex Sans Arabic',sans-serif}.dots{letter-spacing:3px;color:#6e99bb;margin-right:10px}.code-top button{background:none;border:0;color:#bbd5e9;font-size:10px;padding:0;flex:none;direction:rtl}.code-block pre{margin:0;padding:22px 20px;overflow:auto;tab-size:2;font:13px/2 Consolas,'Courier New',monospace}.code-block pre code{white-space:pre}.diagram{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px 16px;margin:24px 0}.diagram-label{font-size:10px;text-align:center;color:var(--muted);margin-top:18px}.flow{display:flex;gap:8px;justify-content:center;align-items:center}.flow-node{border:1px solid #cce1f3;background:var(--soft);flex:1;padding:12px 7px;text-align:center;border-radius:8px}.flow-node b{display:block;font-size:13px;font-weight:500}.flow-node small{font-size:10px;color:var(--muted)}.flow-arrow{color:#91b5d1}.component-tree{text-align:center;direction:ltr;font:12px 'Space Grotesk',sans-serif}.tree-root{display:inline-block;padding:10px 20px;border:1px solid #bddcf4;background:var(--soft);border-radius:7px}.tree-stem{height:22px;width:1px;background:#a9c8de;margin:auto}.tree-children{display:flex;justify-content:center;gap:10px;border-top:1px solid #a9c8de;padding-top:14px}.tree-children span{flex:1;padding:10px 8px;border:1px solid var(--line);background:var(--soft);border-radius:6px}.explain-list{display:grid;gap:0;margin:20px 0}.explain-row{display:grid;grid-template-columns:105px 1fr;gap:15px;border-bottom:1px solid var(--line);padding:10px 0}.explain-row>code{align-self:start;text-align:center}.explain-row p{font-size:14px;margin:0}.file-explorer{direction:ltr;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:24px 0}.file-explorer h4{font:12px 'Space Grotesk';margin:0;padding:12px 18px;background:var(--soft)}.file-row{display:block;width:100%;padding:6px 18px;background:none;border:0;text-align:left;font:12px/1.7 Consolas,monospace;color:var(--ink)}.file-row:hover,.file-row.selected{background:var(--soft)}.file-description{direction:rtl;text-align:right;background:var(--soft);border-top:1px solid var(--line);font-size:13px;line-height:2;padding:16px 20px;min-height:100px}.practice{margin:25px 0;border:1px solid #c4def3;border-radius:11px;overflow:hidden;background:var(--surface)}.practice-head{display:flex;justify-content:space-between;gap:10px;padding:12px 17px;background:var(--soft);font-size:12px}.practice-head>span{font-size:10px;color:var(--muted)}.practice-body{padding:23px;text-align:center}.practice-body p{font-size:13px;margin:10px 0}.demo-count{font:600 42px 'Space Grotesk';margin:15px 0}.demo-buttons{display:flex;gap:9px;justify-content:center}.demo-input{width:min(280px,100%);background:var(--bg);border:1px solid var(--line);border-radius:7px;color:var(--ink);font:13px 'IBM Plex Sans Arabic';padding:10px 13px;display:block;margin:12px auto}.preview-card{border:1px solid var(--line);border-radius:9px;background:var(--bg);max-width:320px;margin:17px auto;padding:15px}.preview-card h4{margin:0 0 6px}.demo-caption{color:var(--muted)!important;font-size:10px!important;line-height:1.8!important}.task-add{display:flex;align-items:center;gap:8px}.task-add input{flex:1;min-width:0;max-width:none}.task-add .btn{flex:none}.article .task-list{list-style:none;text-align:right;padding:0;margin:15px 0}.task-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.task-list label{display:flex;align-items:center;gap:8px;min-width:0}.task-list span{overflow-wrap:anywhere}.task-list .done{text-decoration:line-through;color:var(--muted)}.task-list button{border:0;background:none;color:#98766a;font-size:18px}.practice-cta{border:1px solid #c4dff4;background:var(--soft);border-radius:12px;padding:22px;display:flex;gap:20px;justify-content:space-between;align-items:center;margin:30px 0 20px}.practice-cta h3{font-size:18px;margin:7px 0}.practice-cta p{font-size:12px;color:var(--muted);margin:0}.practice-cta .btn{flex:none;font-size:11px}.lesson-end{display:flex;justify-content:space-between;gap:10px;margin-top:27px;padding-top:22px;border-top:1px solid var(--line)}.lesson-end .btn{font-size:11px}.practice-intro{display:flex;gap:14px;padding:18px 22px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin-bottom:28px}.practice-intro>span{font-size:25px;color:var(--primary)}.practice-intro p{font-size:13px;margin:0;line-height:2.1}.quiz{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:25px;margin:22px 0}.quiz h3{font-size:18px;font-weight:500;margin:10px 0 17px}.quiz-options{display:grid;gap:10px}.quiz-option{display:flex;gap:11px;align-items:center;text-align:right;padding:12px 14px;border:1px solid var(--line);background:var(--bg);border-radius:8px;font-size:13px;line-height:1.9}.quiz-option>span{font:11px 'Space Grotesk';display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:5px;flex:none;color:var(--muted)}.quiz-option:hover{border-color:#aacde9;background:var(--soft)}.quiz-option.correct{background:#eaf5f0;border-color:#91beaa;color:#386e56}.quiz-option.wrong{background:#fff0e9;border-color:#d9b7a6;color:#936b55}.article .quiz-feedback{font-size:13px;color:var(--muted);margin:13px 0 0}.assignment{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:25px;margin:22px 0}.assignment-title{display:flex;gap:14px;align-items:center}.assignment-title>span{width:43px;height:43px;display:grid;place-items:center;background:var(--soft);color:var(--primary);border-radius:10px;font-size:24px}.assignment-title h3{font-size:20px;margin:4px 0;line-height:1.6}.assignment>p{font-size:15px;line-height:2.2;margin:17px 0}.checklist{padding:16px 18px;background:var(--bg);border:1px solid var(--line);border-radius:9px;margin:20px 0}.checklist h4{font-size:12px;margin:0 0 12px}.checklist label{display:flex;align-items:center;gap:10px;font-size:12px;margin:7px 0}.checklist input{accent-color:var(--primary);width:15px;height:15px;flex:none}.solution{margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.solution summary{cursor:pointer;font-size:13px;color:var(--primary);line-height:2;list-style:none;display:flex;justify-content:space-between;gap:12px}.solution summary::-webkit-details-marker{display:none}.solution[open] summary span{transform:rotate(45deg)}.solution .code-block{margin-top:17px}.article .solution-note{font-size:11px;color:var(--muted)}.practice-score{padding:16px 19px;background:var(--soft);border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--primary);margin:25px 0 16px}.glossary-search{width:500px;margin:0 0 30px}.glossary-section{margin:30px 0}.glossary-section>h2{font:500 25px 'Space Grotesk';text-align:right;padding-bottom:15px;border-bottom:1px solid var(--line)}.glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.glossary-card{padding:23px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.glossary-card h3{font-size:17px;font-weight:500;margin:0 0 14px}.glossary-card h3 bdi{display:block;font:12px 'Space Grotesk';margin-top:5px;color:var(--primary)}.glossary-card p{font-size:13px;color:var(--muted);line-height:2.1;margin:0 0 15px}.empty{padding:35px 15px;color:var(--muted);font-size:14px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);z-index:80;background:#235d9e;color:white;padding:11px 22px;border-radius:10px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90%;width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}.terms{display:flex;flex-wrap:wrap;gap:5px}.term-pill{padding:3px 7px;border:1px solid var(--line);border-radius:4px;background:var(--surface);font-size:10px}.article table{width:100%;border-collapse:collapse;font-size:13px;margin:20px 0}.article td,.article th{padding:10px;border:1px solid var(--line);text-align:right}.article th{background:var(--soft)}.table-wrap{overflow:auto}body.dark{--bg:#101e2b;--surface:#162b3d;--ink:#e2effb;--muted:#a0b9cd;--line:#2a465e;--primary:#81baf1;--soft:#1b354c;--hero:#18354e;--code:#0d1c2a;--shadow:none}body.dark .hero{border-color:var(--line)}body.dark .hero .eyebrow{background:#203e57;border-color:#3b5e79}body.dark .hero h1 em{color:#a1d1ff}body.dark .hero h1 em:after{background:#365b7a}body.dark .hero p,body.dark .hero-stats,body.dark .course-hero p{color:#b4cde1}body.dark .hero-stats{border-color:#3a5a73}body.dark .hero-stats b{color:#a5cffa}body.dark .btn.primary{background:#3576ba;color:#fff;border-color:#4386c9}body.dark .hero .btn.secondary{background:var(--surface);border-color:var(--line)}body.dark .article p,body.dark .article li{color:#b6ccde}body.dark .callout{border-color:#35546b}body.dark .callout.orange{background:#3b3227;border-color:#5e4b32}body.dark .callout.purple{background:#2e2d46;border-color:#474461}body.dark .course-badge{background:#1d3b54;border-color:#365c7a}body.dark .course-badge.orange{background:#40362c;color:#e1b28c;border-color:#644c36}body.dark .course-badge.yellow{background:#3f3b25;color:#d7c77b;border-color:#615a32}body.dark .course-badge.cyan{background:#1e3d4a;color:#8cd0e3;border-color:#355f70}body.dark .course-symbol,body.dark .orange .course-symbol,body.dark .yellow .course-symbol,body.dark .cyan .course-symbol{background:#223e54;color:#9cc3e7}body.dark .course-hero{border-color:var(--line)}body.dark .quiz-option.correct{background:#214837;color:#cae5d4;border-color:#47775f}body.dark .quiz-option.wrong{background:#53372e;color:#efc8b7;border-color:#88614f}body.dark .code-top{background:#193247}body.dark .article code:not(pre code){color:#a7cfee}
@media(min-width:1500px){.hero{min-height:510px}.hero h1{font-size:54px}.header-inner{min-height:94px}.hero-art img{max-height:390px}}
@media(max-width:1150px){.header-inner{padding:0 27px;gap:20px}.topnav{gap:20px}.author-nav{display:none}.page-wrap{padding:28px 30px 0}.hero{padding:38px 32px;min-height:420px}.hero h1{font-size:43px}.hero p{font-size:14px}.hero-stats{gap:21px}.course-grid{gap:13px}.course-card{padding:22px 18px}.course-card h3{font-size:24px}.course-card h4{font-size:14px}.course-card p{font-size:11px}.reader-grid{gap:30px;grid-template-columns:minmax(0,1fr) 180px}.reading-heading h1{font-size:34px}.article p{font-size:15px}.method{gap:18px}.method-card{padding:21px}.feature-line{font-size:10px}.glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.header-inner{min-height:75px;padding:0 24px}.brand{font-size:21px}.brand-icon{width:40px;height:40px}.topnav{gap:17px;font-size:11px}.topnav a:last-child{display:none}.menu-toggle{display:grid}.page-wrap{padding:26px 25px 0}.hero{min-height:375px;padding:30px 28px;gap:0}.hero h1{font-size:36px;letter-spacing:-.5px}.hero p{font-size:12px}.hero .eyebrow{font-size:9px}.hero-art img{width:105%}.hero-stats{gap:16px;padding-top:20px;font-size:9px;margin-top:20px}.hero-stats b{font-size:20px}.hero-actions .btn{font-size:11px;padding:9px 14px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.course-card{padding:25px}.course-card p{font-size:13px}.course-card h4{font-size:16px}.course-card h3{font-size:29px}.course-actions{display:flex;align-items:center;gap:17px}.course-actions .btn{flex:1}.method{grid-template-columns:1fr 1fr;gap:18px}.method>div{grid-column:1/-1}.method>div h2 br{display:none}.method>div>p{max-width:100%}.method>div h2{font-size:27px}.method-card{min-height:208px}.feature-line{gap:12px;font-size:9px}.learning-path{gap:18px}.reader-grid{display:block}.toc{display:none}.reading-heading{max-width:none}.reading-heading h1{font-size:33px}.course-hero{padding:29px;gap:20px}.course-hero h1{font-size:30px}.course-hero-art{min-width:175px}.course-hero-art>span{font-size:58px}.course-hero-art small{font-size:9px}.row-title{font-size:18px}.lesson-row{gap:20px;padding:22px}.row-content p{font-size:12px}.row-actions{min-width:120px}.course-list-heading{align-items:flex-start}.course-list-heading h2{font-size:20px}.footer-inner{padding:25px;gap:20px}.article p{font-size:15px}.article h2{font-size:23px}.print-button{display:block}.hero-art .art-caption{font-size:8px}}
@media(max-width:650px){.header-inner{padding:0 18px;min-height:70px}.brand{font-size:20px;gap:9px}.brand-icon{width:37px;height:37px;border-radius:10px;font-size:18px}.brand small{font-size:9px}.topnav{display:none}.header-actions{gap:8px}.icon-button{width:34px;height:34px}.mobile-nav{top:70px}.page-wrap{padding:20px 17px 0}.hero{display:flex;flex-direction:column;padding:28px 27px 20px;gap:12px;border-radius:18px;min-height:0}.hero-copy{width:100%}.hero h1{font-size:36px;line-height:1.55;margin-top:16px}.hero p{font-size:13px}.hero .eyebrow{font-size:10px}.hero-actions .btn{font-size:12px;padding:10px 16px}.hero-stats{justify-content:space-between;gap:10px;font-size:10px;padding-top:17px}.hero-stats b{font-size:22px}.hero-art img{width:100%;max-height:250px;margin:0 auto}.hero-art .art-caption{font-size:9px;margin-top:0}.hero-art{width:100%}.feature-line{display:grid;grid-template-columns:1fr;gap:10px;padding:18px 4px;font-size:11px}.feature-line span{gap:10px}.section-heading{gap:13px;align-items:flex-start}.section-heading h2{font-size:24px}.section-heading p{font-size:12px;line-height:1.9}.section-heading>.text-link{font-size:10px;margin-top:11px}.course-grid{grid-template-columns:1fr;gap:16px}.course-card{padding:24px;min-height:0}.course-card h3{font-size:31px;margin-top:17px}.course-card h4{font-size:17px;margin-bottom:6px}.course-card p{font-size:13px;margin-bottom:17px}.course-card-top .track-number{font-size:10px}.course-symbol{width:44px;height:44px}.course-actions{gap:20px}.course-actions .btn{font-size:12px;padding:10px 16px}.course-actions .text-link{font-size:11px}.course-meta{font-size:11px}.home-section{padding-top:28px}.method{grid-template-columns:1fr;gap:16px;padding:28px 0;margin-top:17px}.method>div{grid-column:auto}.method h2{font-size:28px}.method-card{padding:23px;min-height:0}.method-card p{font-size:13px}.method-card h3{font-size:20px}.method-card b{font-size:12px}.learning-path{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;padding:20px 15px}.learning-path .path-arrow:nth-child(4){display:none}.learning-path a{gap:5px}.learning-path small{font-size:9px}.author-section{flex-direction:column;align-items:flex-start;gap:17px;margin-top:20px}.author-section h2{font-size:25px}.footer-inner{flex-wrap:wrap;gap:18px;padding:25px 20px}.footer-inner .brand{width:100%;font-size:18px}.footer-inner p{margin:0;width:100%;order:4;font-size:10px}.site-footer{margin-top:35px}.breadcrumbs{font-size:10px;gap:8px;margin-bottom:22px}.page-heading{padding:8px 0 26px}.page-heading h1{font-size:30px;margin:12px 0}.page-heading p{font-size:13px}.course-hero{padding:26px 22px;border-radius:15px;align-items:flex-start;gap:10px}.course-hero h1{font-size:27px;line-height:1.7;margin:13px 0 9px}.course-hero p{font-size:13px;line-height:2}.course-hero-art{display:none}.prerequisite{font-size:11px;line-height:2}.course-tabs{gap:17px;flex-wrap:wrap;padding:18px 0;font-size:12px;margin-bottom:23px}.course-tabs>span{width:100%;margin:0;font-size:10px}.course-list-heading{display:block}.course-list-heading h2{font-size:22px}.course-list-heading .search{width:100%;margin-top:18px}.lesson-row{padding:20px 18px;gap:14px;flex-wrap:wrap}.row-number{align-self:flex-start;border:0;border-radius:6px;background:var(--soft);padding:7px 9px;font-size:18px}.row-content{flex:1;min-width:calc(100% - 66px)}.row-title{font-size:18px;line-height:1.8}.row-content p{font-size:12px;line-height:2;margin:8px 0}.row-meta{gap:11px;font-size:10px}.row-actions{display:flex;align-items:center;gap:16px;width:100%;padding-top:13px;border-top:1px solid var(--line);margin-top:4px}.row-actions .btn{flex:1;font-size:11px}.row-actions .text-link{flex:1;font-size:11px}.reading-heading h1{font-size:29px;line-height:1.7}.reading-heading>p{font-size:13px}.reading-label{gap:12px;font-size:10px}.lesson-switch{font-size:11px;gap:8px;margin-top:20px}.lesson-switch a{padding:8px 11px;flex:1;text-align:center}.session-plan{grid-template-columns:1fr 1fr;gap:8px}.session-plan div{padding:10px 13px}.session-plan b{font-size:16px}.session-plan span{font-size:11px}.article .reading-time{font-size:10px}.article p{font-size:15px;line-height:2.2}.article h2{font-size:22px;line-height:1.75}.article h3{font-size:19px}.article ul,.article ol{font-size:14px;line-height:2.1}.article .callout p{font-size:13px;line-height:2.1}.topic-heading{gap:11px;align-items:flex-start}.topic-heading>span{font-size:10px;padding:5px 8px;margin-top:5px}.topic{margin-bottom:28px;padding-bottom:15px}.topic-heading h2{font-size:21px}.code-block pre{font-size:12px;line-height:2;padding:18px 14px}.code-top{font-size:9px;padding:9px 12px;gap:10px}.code-top .dots{display:none}.code-top button{font-size:10px}.callout{padding:17px 18px}.callout-title{font-size:13px}.callout p{font-size:13px}.diagram{padding:20px 12px}.flow{gap:5px;flex-wrap:wrap}.flow-node{padding:9px 5px;min-width:60px}.flow-node b{font-size:11px}.flow-node small{font-size:9px}.diagram-label{font-size:9px}.tree-children{gap:5px}.tree-children span{font-size:10px;padding:9px 5px}.tree-root{font-size:11px}.explain-row{grid-template-columns:85px 1fr;gap:12px}.explain-row p{font-size:13px}.article code:not(pre code){font-size:12px}.practice-cta{flex-direction:column;align-items:flex-start;padding:21px;gap:14px}.practice-cta h3{font-size:18px}.practice-cta p{font-size:12px}.practice-cta .btn{font-size:12px;width:100%}.practice-intro{padding:17px;gap:10px}.practice-intro p{font-size:13px}.quiz,.assignment{padding:21px 18px}.quiz h3{font-size:17px;line-height:1.9}.quiz-option{font-size:13px;padding:11px 12px}.quiz-option>span{width:23px;height:23px}.assignment-title{gap:11px}.assignment-title h3{font-size:18px}.assignment-title>span{width:36px;height:36px;font-size:21px;flex:none}.assignment>p{font-size:14px}.solution summary{font-size:12px}.checklist{padding:15px}.checklist label{font-size:12px;line-height:2}.practice-score{font-size:13px;padding:14px}.lesson-end .btn{font-size:10px;padding:9px 11px}.glossary-grid{grid-template-columns:1fr}.glossary-card h3{font-size:18px}.glossary-card p{font-size:14px}.glossary-card{padding:23px}.glossary-search{width:100%}.practice-body{padding:21px 16px}.practice-head{font-size:11px;padding:10px 14px}.practice-head>span{font-size:9px}.file-row{font-size:11px}.file-description{font-size:12px}.source-note{font-size:10px}.toast{font-size:11px;padding:10px 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{.topbar,.site-footer,.toc,.lesson-switch,.session-plan,.breadcrumbs,.practice-cta,.practice,.copy-code,#complete-lesson,.lesson-end,#reset-quiz,.toast,.mobile-nav{display:none!important}body{background:white;color:#111}.page-wrap{padding:0;max-width:100%}.reader-grid{display:block}.article p,.article li{color:#222}.reading-heading h1{font-size:26px}.code-block{background:#f7f7f7;color:#222;break-inside:avoid;border-color:#ddd}.code-top{background:#eee;color:#333}.code-block pre{white-space:pre-wrap}.code-block pre code{white-space:pre-wrap;overflow-wrap:anywhere}.topic{break-inside:auto}.topic-heading{break-after:avoid}.solution:not([open]){display:none}}
