*,:before,:after{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);color:var(--text);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.55}img,svg,video{max-width:100%;height:auto}a{color:inherit;text-decoration:none}p{margin:.75rem 0}ul,ol{margin:.75rem 0;padding-left:1.25rem}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}strong,code{margin-inline:.15em}:root{--bg:#0a0a0a;--surface:#0f1622;--card:#121b2a;--border:#223045;--text:#f5f6f8;--muted:#f4f5f8;--muted-2:#7f8aa0;--primary:#f7df1e;--primary-ink:#111;--info:#4aa3ff;--success:#35d07f;--warning:#ff9f2e;--danger:#ff5d6c;--neutral:#c7d1de;--code-bg:#070a10;--code-border:#27344a;--radius-sm:12px;--radius:16px;--radius-lg:20px;--shadow:0 14px 40px #00000059;--shadow-soft:0 10px 22px #00000040;--focus-ring:0 0 0 3px #f7df1e73;--h1:clamp(1.6rem,2vw + 1rem,2.2rem);--h2:clamp(1.25rem,1vw + 1rem,1.55rem);--h3:1.1rem;--base:1rem;--small:.92rem;--wrap:1200px}:focus-visible{box-shadow:var(--focus-ring);border-radius:10px;outline:none}.skip-link{background:var(--primary);color:var(--primary-ink);z-index:9999;border-radius:12px;padding:10px 12px;font-weight:800;position:absolute;top:12px;left:-999px}.skip-link:focus{left:12px}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.wrap{width:min(var(--wrap),calc(100% - 2rem));margin:0 auto}.muted{color:var(--muted)}.small{font-size:var(--small);color:var(--muted)}.hr{background:linear-gradient(90deg,#0000,#223045cc,#0000);border:0;height:1px;margin:1rem 0}.divider{background:linear-gradient(90deg,#0000,#ffffff59,#0000);border-radius:1px;width:100%;height:1px;margin:2rem 0}.grid{gap:1rem;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}h1,h2,h3{margin:.2rem 0 .75rem;line-height:1.15}h1{font-size:var(--h1)}h2{font-size:var(--h2)}h3{font-size:var(--h3)}.link{color:var(--primary);text-underline-offset:3px;text-decoration:underline}.link:hover{opacity:.9}.badge{color:var(--text);background:#121b2ab3;border:1px solid #223045e6;border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .55rem;font-size:.85rem;font-weight:700;display:inline-flex}.btn{appearance:none;color:var(--text);cursor:pointer;box-shadow:var(--shadow-soft);background:#121b2abf;border:1px solid #223045f2;border-radius:14px;padding:.62rem .85rem;font-weight:800;transition:transform .15s,opacity .15s}.btn:hover{transform:translateY(-1px)}.btn:active{opacity:.95;transform:translateY(0)}.btn-primary{background:var(--primary);color:var(--primary-ink);border-color:#00000026}.btn-ghost{box-shadow:none;background:0 0}.hero{border-radius:var(--radius-lg);box-shadow:var(--shadow);background:radial-gradient(900px 500px at 15% 15%,#f7df1e1f,#0000 55%),radial-gradient(700px 400px at 85% 0,#4aa3ff1a,#0000 55%),#0f16228c;border:1px solid #223045d9;padding:1.1rem 1.2rem}.card{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#121b2ab8;border:1px solid #223045d9;padding:1rem 1.1rem}.callout{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#121b2ab8;border:1px solid #223045d9;padding:1rem 1.1rem;position:relative;overflow:hidden}.callout:before{content:"";background:var(--neutral);opacity:.95;width:6px;position:absolute;inset:0 auto 0 0}.callout__title{align-items:center;gap:.6rem;margin:0 0 .5rem;font-weight:900;display:flex}.callout--concept:before,.callout--tip:before{background:var(--info)}.callout--concept .callout__title,.callout--tip .callout__title{color:#cfe7ff}.callout--example:before{background:var(--success)}.callout--example .callout__title{color:#c8ffe3}.callout--exercise:before,.callout--warning:before{background:var(--warning)}.callout--exercise .callout__title,.callout--warning .callout__title{color:#ffe4c1}.callout--danger:before{background:var(--danger)}.callout--danger .callout__title{color:#ffd0d5}.callout--summary:before{background:var(--neutral)}.callout--summary .callout__title{color:#eaf0f7}.topic-details{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#0f16228c;border:1px solid #223045d9;overflow:hidden}.topic-details+.topic-details{margin-top:.9rem}.topic-details>summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:1rem;padding:.95rem 1.05rem;font-weight:900;list-style:none;display:flex}.topic-details>summary::-webkit-details-marker{display:none}.topic-details>summary .summary-left{align-items:center;gap:.6rem;display:inline-flex}.topic-details>summary .chev{width:36px;height:36px;color:var(--primary);background:#f7df1e26;border-radius:999px;place-items:center;font-size:1.4rem;font-weight:900;display:grid}.topic-details>summary .chev:before{content:"+"}.topic-details[open]>summary .chev:before{content:"–"}.topic-details[open]>summary .chev{background:#f7df1e26;transform:rotate(180deg)}.topic-details__content{color:var(--text);padding:1rem 1.05rem 1.1rem}pre{background:var(--code-bg);border:1px solid #27344af2;border-radius:14px;margin:.8rem 0;padding:.9rem 1rem;overflow:auto}pre code{color:#eaf0f7;white-space:pre;font-size:.95rem}.inline-code{background:#070a10a6;border:1px solid #27344ad9;border-radius:8px;padding:.1rem .35rem}.table{border-collapse:separate;border-spacing:0;border-radius:var(--radius);background:#121b2a99;border:1px solid #223045d9;width:100%;overflow:hidden}.table th,.table td{text-align:left;vertical-align:top;border-bottom:1px solid #223045a6;padding:.75rem .85rem}.table th{color:var(--text);background:#0f1622b3;font-weight:900}.table tr:last-child td{border-bottom:0}.topic-section{margin-top:1rem}.topic-section__title{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.75rem;display:flex}.topic-section__meta{opacity:.8;color:var(--muted);font-size:.9rem}.subtopic-pills{flex-wrap:wrap;gap:.5rem;margin:.75rem 0 0;display:flex}.pill{color:var(--text);box-shadow:var(--shadow-soft);background:#121b2aa6;border:1px solid #223045d9;border-radius:999px;align-items:center;gap:.35rem;padding:.45rem .7rem;font-size:.9rem;font-weight:800;transition:transform .15s,border-color .15s,background .15s,opacity .15s;display:inline-flex}.pill:hover{background:#f7df1e1a;border-color:#f7df1e8c;transform:translateY(-1px)}.pill--active{background:var(--primary);color:var(--primary-ink);border-color:#00000026}.pill .pill-badge{background:#0000001f;border-radius:999px;place-items:center;width:22px;height:22px;font-size:.78rem;font-weight:900;display:inline-grid}.links-box{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#121b2ab8;border:1px solid #223045d9;padding:1rem 1.1rem}.links-box__title{margin:0 0 .75rem;font-size:1.05rem}.links-list{gap:.8rem;margin:0;padding:0;list-style:none;display:grid}.links-item a{color:var(--primary);text-underline-offset:3px;font-weight:900;text-decoration:underline}.links-item a:hover{opacity:.9}.links-desc{color:var(--muted);opacity:.9;margin:.35rem 0 0;font-size:.95rem;line-height:1.4}.resources-box{margin-top:1rem}.resources-box__header{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.75rem;display:flex}.resources-box__title{margin:0;font-size:1.05rem}.resources-box__hint{opacity:.75;margin:0;font-size:.9rem}.resource-list,.resources-list{gap:.6rem;display:grid}.resource-link{color:inherit;background:#fff9;border:1px solid #00000014;border-radius:12px;align-items:flex-start;gap:.65rem;padding:.75rem .85rem;text-decoration:none;transition:transform .15s,background-color .15s,border-color .15s;display:flex}.resource-link:hover{background:#f7df1e29;border-color:#f7df1e59;transform:translateY(-1px)}.resource-link:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.resource-link__icon{background:#f7df1e2e;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:1.05rem;display:grid}.resource-link__content{min-width:0}.resource-link__label{margin:0;font-weight:700;line-height:1.2}.resource-link__desc{opacity:.8;margin:.2rem 0 0;font-size:.92rem;line-height:1.35}.resource-tag-row{flex-wrap:wrap;gap:.35rem;margin-top:.35rem;display:flex}.resource-tag{opacity:.9;background:#0000000f;border-radius:999px;padding:.12rem .45rem;font-size:.78rem}.videos-box{margin-top:1.1rem}.video-grid{gap:.9rem;display:grid}@media (min-width:860px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.video-card{background:#fff9;border:1px solid #00000014;border-radius:14px;overflow:hidden}.video-frame{aspect-ratio:16/9;background:#00000014;width:100%;position:relative}.video-frame iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.video-meta{padding:.75rem .85rem}.video-title{margin:0;font-weight:800;line-height:1.2}.video-desc{opacity:.8;margin:.25rem 0 0;font-size:.92rem;line-height:1.35}.video-block--single{max-width:960px;margin:0 auto;display:block}.video-block--single .embed{aspect-ratio:16/9;width:100%}.video-block--single iframe{border-radius:12px;width:100%;height:100%}.video-block{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#121b2ab8;border:1px solid #223045d9;margin-top:1.1rem;padding:1rem 1.1rem}.video-block .embed{aspect-ratio:16/9;background:#00000014;border-radius:14px;width:100%;margin-top:.75rem;position:relative;overflow:hidden}.video-block .embed iframe{border:0;width:100%;height:100%;position:absolute;inset:0}figure{background:#ffffffa6;border:1px solid #00000014;border-radius:16px;margin:1.2rem 0;padding:.75rem}figure img{border-radius:12px;max-width:100%;height:auto;margin:0 auto;display:block;box-shadow:0 10px 25px #0000001f}figcaption{color:var(--muted);text-align:center;margin-top:.6rem;font-size:.9rem;line-height:1.4}.figure-compare{gap:.75rem;display:grid}@media (min-width:860px){.figure-compare{grid-template-columns:repeat(2,1fr)}}.figure-compare figure{margin:0}.figure-example{background:#00000008;border-style:dashed}.figure-example figcaption{text-align:left}.figure-highlight{border-left:5px solid var(--primary);background:#f7df1e1f}.figure-highlight figcaption{font-weight:600}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:50;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0f1622d1;border-bottom:1px solid #223045d9;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 1rem;display:flex;position:sticky;top:0}.app-header__left{align-items:center;gap:.85rem;min-width:0;display:flex}.app-brand{white-space:nowrap;align-items:center;gap:.6rem;display:inline-flex}.app-brand strong{font-size:1rem}.app-header__center,.app-header__right{gap:.5rem;display:flex}.app-body{width:min(var(--wrap),calc(100% - 2rem));flex:1;grid-template-columns:320px 1fr;gap:1rem;margin:0 auto;padding:1rem 0;display:grid}.app-body--wide{grid-template-columns:1fr}.app-sidebar{border-radius:var(--radius);background:linear-gradient(#f7df1e0f,#0f16228c 30%);border:1px solid #f7df1e40;flex-direction:column;height:auto;max-height:none;display:flex;position:relative;overflow:visible;box-shadow:0 18px 45px #00000073,inset 0 0 0 1px #f7df1e14}.app-sidebar:before{content:"";pointer-events:none;background:linear-gradient(#f7df1ee6,#f7df1e40);border-radius:6px 0 0 6px;width:6px;position:absolute;inset:0 auto 0 0}.app-sidebar--hidden{display:none}.app-sidebar__head{border-bottom:1px dashed #f7df1e40;flex-shrink:0;padding:1rem 1rem .4rem}.app-sidebar__head h2{margin:0;font-size:1.1rem}.app-sidebar__head .muted{color:#f7df1ebf}.app-sidebar__nav{flex:1;gap:.45rem;min-height:0;padding:.6rem;display:grid;overflow:hidden auto}.app-sidebar__nav::-webkit-scrollbar{width:8px}.app-sidebar__nav::-webkit-scrollbar-thumb{background:#f7df1e47;border-radius:999px}.app-sidebar__nav::-webkit-scrollbar-thumb:hover{background:#f7df1e6b}.app-sidebar__nav::-webkit-scrollbar-track{background:0 0}.side-link{color:var(--muted);background:#121b2aa6;border:1px solid #223045a6;border-radius:14px;grid-template-columns:56px 1fr;align-items:center;gap:.65rem;padding:.65rem .75rem;text-decoration:none;transition:background .15s,transform .15s,border-color .15s,color .15s;display:grid;position:relative}.side-link:hover{color:var(--text);background:#f7df1e1a;border-color:#f7df1e73;transform:translate(2px)}.side-link--active{color:var(--text);background:linear-gradient(90deg,#f7df1e38,#121b2ad9);border-color:#f7df1ea6}.side-link--active:before{content:"";background:var(--primary);border-radius:4px;width:4px;position:absolute;top:8px;bottom:8px;left:-6px}.side-link__num{min-width:32px;height:32px;color:var(--primary);background:#f7df1e2e;border:1px solid #f7df1e73;border-radius:999px;justify-content:center;align-items:center;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 1px #0003}.side-group{background:#121b2a8c;border:1px solid #223045a6;border-radius:14px;overflow:hidden}.side-group>summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--muted);border-radius:14px;outline:none;grid-template-columns:56px 1fr auto;align-items:center;gap:.65rem;padding:.65rem .75rem;list-style:none;transition:background .15s,transform .15s,border-color .15s,color .15s;display:grid;position:relative}.side-group>summary::-webkit-details-marker{display:none}.side-group>summary:hover{color:var(--text);background:#f7df1e1a;transform:translate(2px)}.side-group__chev{opacity:.75;font-size:.95rem;transition:transform .15s,opacity .15s}.side-group[open] .side-group__chev{opacity:1;transform:rotate(180deg)}.side-group--active>summary{color:var(--text);background:linear-gradient(90deg,#f7df1e2e,#121b2ad9)}.side-group--active>summary:before{content:"";background:var(--primary);border-radius:4px;width:4px;position:absolute;top:8px;bottom:8px;left:-6px}.side-subnav{border-top:1px dashed #f7df1e2e;gap:.35rem;padding:.5rem .6rem .65rem;display:grid}.side-sublink{color:#ffffffc7;background:#0a0f1a59;border:1px solid #2230458c;border-radius:12px;grid-template-columns:22px 1fr;align-items:center;gap:.55rem;padding:.55rem .65rem;text-decoration:none;transition:background .15s,border-color .15s,transform .15s,color .15s;display:grid}.side-sublink__dot{background:#f7df1e47;border:1px solid #f7df1e66;border-radius:999px;width:10px;height:10px;box-shadow:inset 0 0 0 1px #00000059}.side-sublink:hover{color:var(--text);background:#f7df1e17;border-color:#f7df1e59;transform:translate(2px)}.side-sublink--active{color:var(--text);background:#f7df1e1f;border-color:#f7df1e8c}.side-link:focus-visible,.side-group>summary:focus-visible,.side-sublink:focus-visible{outline-offset:3px;outline:3px solid #f7df1e8c}@media (prefers-reduced-motion:reduce){.side-link,.side-group>summary,.side-group__chev,.side-sublink{transition:none!important}.side-link:hover,.side-group>summary:hover,.side-sublink:hover{transform:none!important}}.app-main{border-radius:var(--radius);box-shadow:var(--shadow-soft);background:#121b2a4d;border:1px solid #223045d9;min-height:60vh;padding:1rem}.app-footer{background:#0f16228c;border-top:1px solid #223045d9;padding:.9rem 1rem 1.2rem}.app-header .btn{transition:background-color .15s,color .15s,border-color .15s,transform .15s}.app-header .btn:hover{background:var(--primary);color:var(--primary-ink);border-color:color-mix(in srgb,var(--primary)70%,#000 30%);transform:translateY(-1px)}.app-header .btn-ghost:hover{background:color-mix(in srgb,var(--primary)85%,transparent);color:var(--primary-ink)}.app-header .btn-primary,.app-header .btn-primary:hover{background:var(--primary);color:var(--primary-ink);border-color:color-mix(in srgb,var(--primary)70%,#000 30%)}.app-header .btn:focus-visible{box-shadow:0 0 0 3px #f7df1e99}@media (max-width:900px){.grid-2{grid-template-columns:1fr}.app-body{grid-template-columns:1fr;padding:1rem 0 1.25rem}.app-sidebar{max-height:none}}::selection{color:var(--text);background:#f7df1e47}
