:root{color-scheme:light dark;--bg:#f5f8fb;--panel:#fff;--text:#14202b;--muted:#52606d;--line:#cbd5df;--blue:#0874d1;--green:#16834a;--violet:#7949d8;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:var(--blue)}.wrap{width:min(1120px,calc(100% - 2rem));margin:auto}.topbar{position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--panel) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{min-height:70px;display:flex;align-items:center;gap:1rem}.brand{display:flex;align-items:center;gap:.65rem;color:var(--text);font-size:1.15rem;font-weight:800;text-decoration:none}.brand img{width:42px;height:42px}.links{display:flex;gap:.9rem;align-items:center;margin-left:auto}.links a{text-decoration:none;font-weight:650}.button{display:inline-block;border-radius:9px;padding:.72rem 1rem;background:var(--blue);color:#fff;text-decoration:none;font-weight:750}.button.secondary{background:#536471}.button.support{background:#ffcf40;color:#382c00}.hero{padding:5rem 0 3.5rem;background:radial-gradient(circle at 85% 10%,#8b45ff20,transparent 34%),radial-gradient(circle at 15% 10%,#00c8ff24,transparent 35%)}.hero-grid,.two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;align-items:center}.eyebrow{font-weight:800;color:var(--violet);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.hero h1{font-size:clamp(2.3rem,6vw,4.8rem);line-height:1.02;margin:.35rem 0 1rem}.lede{font-size:1.15rem;color:var(--muted);max-width:65ch}.actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.4rem}.visual{padding:1.2rem;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.visual img{display:block;width:100%;height:auto}.section{padding:3.5rem 0}.section h1,.section h2{line-height:1.15}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card{padding:1.25rem;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.card h3{margin-top:0}.muted{color:var(--muted)}.callout{padding:1rem;border-left:4px solid var(--blue);background:#eaf5ff;border-radius:8px}.footer{padding:2rem 0;border-top:1px solid var(--line);color:var(--muted)}.docs-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.docs-list a{padding:1rem;border:1px solid var(--line);border-radius:10px;background:var(--panel);text-decoration:none;font-weight:700}.legal{max-width:78ch}.concepts{width:min(900px,100%);border:1px solid var(--line);border-radius:16px;background:#fff}@media(max-width:760px){.hero-grid,.two-col,.cards,.docs-list{grid-template-columns:1fr}.links{display:none}.hero{padding-top:3rem}}@media(prefers-color-scheme:dark){:root{--bg:#0d141b;--panel:#16212b;--text:#edf5fa;--muted:#b7c4ce;--line:#40515f}.callout{background:#102d43}.concepts{background:#fff}}

html[data-theme="light"]{color-scheme:light}html[data-theme="dark"]{color-scheme:dark;--bg:#0d141b;--panel:#16212b;--text:#edf5fa;--muted:#b7c4ce;--line:#40515f;--blue:#82b1ff;--green:#5bd692;--violet:#b89cff}.theme-select{width:auto;min-height:40px;padding:.4rem .7rem;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font:inherit;font-weight:650}

/* RC3.1 theme control alignment */
.nav{gap:.55rem!important}.theme-control{display:flex;align-items:center;margin-left:.15rem}.theme-control .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.theme-select{max-width:106px;min-height:38px;padding:.35rem 1.8rem .35rem .65rem;font-size:.9rem}@media(max-width:900px){.nav{flex-wrap:wrap}.theme-control{margin-left:auto}}

/* RC3.2 header correction */
.theme-control{font-size:0!important;margin-left:.25rem!important}.theme-control>*{font-size:.9rem}.theme-control::before,.theme-control::after{content:none!important}.theme-select{width:98px!important;max-width:98px!important}.nav{column-gap:.7rem!important}.links{column-gap:.8rem!important}

/* RC3.3 compact theme icon */
.site-theme-toggle{flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:var(--text);font:700 1.15rem/1 system-ui;cursor:pointer}.site-theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--blue) 40%,transparent);outline-offset:2px}@media(max-width:760px){.site-theme-toggle{margin-left:auto}.nav{min-height:64px}.brand img{width:36px;height:36px}}

.site-beta-warning{margin:1rem auto;padding:.8rem 1rem;max-width:66rem;border:1px solid #c47a00;border-radius:14px;background:#fff3d6;color:#4e3400}.site-beta-warning strong{color:#8a4c00}html[data-theme="dark"] .site-beta-warning{background:#332607;color:#ffe9b0;border-color:#ffc96b}html[data-theme="dark"] .site-beta-warning strong{color:#ffc96b}
