:root {
 --brand-50: #eff5ff;
 --brand-100: #dbe8fe;
 --brand-200: #bfd7fe;
 --brand-500: #3b82f6;
 --brand-600: #2563eb; 
 --brand-700: #1d4ed8;
 --brand-800: #1e40af;
 --violet-500: #8b5cf6;
 --violet-600: #7c3aed; 
 --gradient: linear-gradient(120deg, var(--brand-600) 0%, var(--violet-600) 100%);
 --gradient-soft: linear-gradient(120deg, #eef4ff 0%, #f3efff 100%);
 --ink: #0f172a; 
 --ink-2: #334155; 
 --muted: #5b6b82; 
 --faint: #7688a0; 
 --bg: #ffffff;
 --bg-2: #f8fafc;
 --bg-3: #f1f5f9;
 --line: #e2e8f0;
 --line-2: #eef2f7;
 --green: #15803d; --green-soft: #ecfdf5; --green-line: #a7f3cf;
 --amber: #b45309; --amber-soft: #fffbeb; --amber-line: #fde68a;
 --red: #b91c1c; --red-soft: #fef2f2; --red-line: #fecaca;
 --info: #1d4ed8; --info-soft: #eff5ff; --info-line: #bfd7fe;
 --diff-basic: var(--green);
 --diff-basic-soft: var(--green-soft);
 --diff-intermediate: var(--amber);
 --diff-intermediate-soft: var(--amber-soft);
 --diff-advanced: var(--red);
 --diff-advanced-soft:var(--red-soft);
 --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
 Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
 "Apple Color Emoji", "Segoe UI Emoji";
 --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
 Consolas, "Liberation Mono", monospace;
 --fs-h1: clamp(1.9rem, 1.35rem + 2.4vw, 2.75rem);
 --fs-h2: clamp(1.45rem, 1.15rem + 1.35vw, 1.95rem);
 --fs-h3: clamp(1.15rem, 1.03rem + 0.5vw, 1.35rem);
 --fs-body: 1rem;
 --fs-sm: 0.875rem;
 --fs-xs: 0.78rem;
 --lh-body: 1.68;
 --lh-tight: 1.3;
 --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
 --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
 --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
 --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
 --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px -2px rgba(15, 23, 42, .06);
 --shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 28px -14px rgba(15, 23, 42, .16);
 --shadow-lg: 0 4px 10px rgba(15, 23, 42, .05), 0 24px 48px -20px rgba(15, 23, 42, .20);
 --content: 1200px;
 --content-wide: 1280px;
 --content-prose: 46rem;
 --header-h: 64px;
 --ease: cubic-bezier(.4, 0, .2, 1);
}
@font-face {
 font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
 src: url("../vendor/fonts/inter-400.woff2") format("woff2");
}
@font-face {
 font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
 src: url("../vendor/fonts/inter-500.woff2") format("woff2");
}
@font-face {
 font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
 src: url("../vendor/fonts/inter-600.woff2") format("woff2");
}
@font-face {
 font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
 src: url("../vendor/fonts/inter-700.woff2") format("woff2");
}
@font-face {
 font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
 src: url("../vendor/fonts/jbmono-400.woff2") format("woff2");
}
@font-face {
 font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
 src: url("../vendor/fonts/jbmono-500.woff2") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
 scroll-behavior: smooth;
 -webkit-text-size-adjust: 100%;
 scroll-padding-top: calc(var(--header-h) + 1rem);
 overflow-x: clip;
}
body {
 font-family: var(--font-sans);
 font-size: var(--fs-body);
 line-height: var(--lh-body);
 color: var(--ink-2);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: clip;
 min-width: 0;
}
h1, h2, h3, h4, h5, h6 {
 color: var(--ink);
 font-weight: 700;
 line-height: var(--lh-tight);
 letter-spacing: -0.02em;
 text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; }
p { line-height: var(--lh-body); }
p + p { margin-top: 0.9rem; }
a {
 color: var(--brand-700);
 text-decoration: none;
 text-underline-offset: 2px;
}
a:hover { text-decoration: underline; }
img, svg, video { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; }
ul, ol { padding-left: 1.25rem; }
li { line-height: var(--lh-body); }
li + li { margin-top: 0.3rem; }
strong, b { font-weight: 700; color: var(--ink); }
code, kbd, samp {
 font-family: var(--font-mono);
 font-size: 0.9em;
}
:not(pre) > code {
 background: var(--bg-3);
 border: 1px solid var(--line);
 border-radius: 6px;
 padding: 0.1em 0.38em;
 color: var(--ink);
 white-space: nowrap;
}
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-5) 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
 outline: 3px solid rgba(37, 99, 235, .5);
 outline-offset: 2px;
 border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
.skip-link {
 position: absolute;
 left: 0.5rem;
 top: -3rem;
 z-index: 2000;
 background: var(--brand-600);
 color: #fff;
 padding: 0.6rem 1rem;
 border-radius: var(--r-sm);
 transition: top .15s var(--ease);
}
.skip-link:focus { top: 0.5rem; text-decoration: none; }
::selection { background: var(--brand-100); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 animation-duration: .001ms !important;
 transition-duration: .001ms !important;
 }
}
.container {
 width: 100%;
 max-width: var(--content);
 margin-inline: auto;
 padding-inline: clamp(1rem, 0.4rem + 2vw, 2rem);
}
.container--wide { max-width: var(--content-wide); }
.container--prose { max-width: 64rem; }
.section { padding-block: clamp(2.75rem, 1.8rem + 4.5vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.25rem); }
.section--muted { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.eyebrow {
 display: inline-block;
 text-transform: uppercase;
 letter-spacing: 0.14em;
 font-size: var(--fs-xs);
 font-weight: 700;
 color: var(--brand-700);
 margin-bottom: 0.6rem;
}
.lead { font-size: 1.075rem; color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.visually-hidden {
 position: absolute !important;
 width: 1px; height: 1px;
 padding: 0; margin: -1px; overflow: hidden;
 clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 100;
 background: rgba(255, 255, 255, .88);
 backdrop-filter: saturate(180%) blur(12px);
 -webkit-backdrop-filter: saturate(180%) blur(12px);
 border-bottom: 1px solid var(--line);
}
.site-header__bar {
 display: flex;
 align-items: center;
 gap: var(--s-4);
 height: var(--header-h);
}
.brand {
 display: inline-flex;
 align-items: center;
 gap: 0.6rem;
 flex: none;
 color: var(--ink);
 font-weight: 800;
 letter-spacing: -0.03em;
 font-size: 1.15rem;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word { line-height: 1; }
.brand__tag {
 display: block;
 font-size: 0.58rem;
 font-weight: 600;
 letter-spacing: 0.18em;
 color: var(--faint);
 margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: 0.5rem; }
.header-search { max-width: 230px; }
.icon-btn.header-search-link { display: none; }
.site-nav a {
 display: inline-block;
 padding: 0.5rem 0.7rem;
 border-radius: var(--r-sm);
 color: var(--ink-2);
 font-weight: 500;
 font-size: 0.92rem;
 white-space: nowrap;
}
@media (max-width: 1040px) {
 .header-search { max-width: 160px; }
}
.site-nav a:hover { background: var(--bg-3); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] {
 color: var(--brand-700);
 background: var(--brand-50);
 font-weight: 600;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
 width: 40px; height: 40px;
 display: grid; place-items: center;
 border-radius: var(--r-sm);
 color: var(--ink-2);
 border: 1px solid transparent;
}
.icon-btn:hover { background: var(--bg-3); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.drawer-backdrop {
 position: fixed; inset: 0;
 background: rgba(15, 23, 42, .45);
 opacity: 0; visibility: hidden;
 transition: opacity .2s var(--ease), visibility .2s var(--ease);
 z-index: 200;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
 position: fixed;
 top: 0; bottom: 0; left: 0;
 width: min(84vw, 340px);
 background: var(--bg);
 z-index: 201;
 transform: translateX(-100%);
 transition: transform .24s var(--ease);
 display: flex;
 flex-direction: column;
 overflow-y: auto;
 box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
 display: flex; align-items: center; justify-content: space-between;
 padding: 0.85rem 1rem;
 border-bottom: 1px solid var(--line);
}
.drawer__body { padding: 0.5rem 0.5rem 2rem; }
.drawer__section-label {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--faint);
 font-weight: 700;
 padding: 1rem 0.75rem 0.35rem;
}
.drawer a {
 display: block;
 padding: 0.7rem 0.75rem;
 border-radius: var(--r-sm);
 color: var(--ink-2);
 font-weight: 500;
}
.drawer a:hover { background: var(--bg-3); text-decoration: none; color: var(--ink); }
.drawer a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }
.breadcrumb {
 font-size: var(--fs-sm);
 color: var(--faint);
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.4rem;
 padding-left: 0;
 list-style: none;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }
.page-hero {
 padding-block: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem);
 background: var(--gradient-soft);
 border-bottom: 1px solid var(--line);
}
.page-hero__meta {
 margin-top: 0.85rem;
 display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
 font-size: var(--fs-sm); color: var(--muted);
 align-items: center;
}
.page-hero h1 { margin-top: 0.5rem; }
.page-hero p { margin-top: 0.6rem; max-width: 52rem; color: var(--muted); }
.site-footer {
 background: #0b1220;
 color: #93a4c0;
 padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.75rem;
 font-size: 0.92rem;
 margin-top: var(--s-8);
}
.site-footer__grid {
 display: grid;
 gap: 2rem;
 grid-template-columns: 1.4fr repeat(4, 1fr);
}
.site-footer h2 {
 color: #fff;
 font-size: 0.72rem;
 text-transform: uppercase;
 letter-spacing: 0.14em;
 margin-bottom: 0.9rem;
 font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0; padding: 0.22rem 0; }
.site-footer a { color: #b9c6dc; }
.site-footer a:hover { color: #fff; }
.site-footer__brand .brand { color: #fff; }
.site-footer__brand p { color: #7f92ad; margin-top: 0.6rem; max-width: 22rem; font-size: 0.88rem; }
.site-footer__bottom {
 border-top: 1px solid rgba(255, 255, 255, .09);
 margin-top: 2.25rem;
 padding-top: 1.25rem;
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem 1.5rem;
 justify-content: space-between;
 font-size: 0.84rem;
 color: #7f92ad;
}
.doc-layout {
 display: grid;
 gap: clamp(1.5rem, 1rem + 2vw, 3rem);
 grid-template-columns: minmax(0, 1fr);
 align-items: start;
 padding-block: var(--s-6);
}
.doc-layout > * { min-width: 0; }
@media (min-width: 1000px) {
 .doc-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
.doc-main { max-width: 52rem; }
.doc-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.list-layout {
 display: grid;
 gap: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
 grid-template-columns: minmax(0, 1fr);
 padding-block: var(--s-6);
 align-items: start;
}
.list-layout > * { min-width: 0; }
@media (min-width: 900px) {
 .list-layout { grid-template-columns: 264px minmax(0, 1fr); }
}
.list-filters { position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 899px) {
 .list-filters { position: static; }
}
.site-footer__social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.site-footer__social a {
 width: 34px; height: 34px;
 display: grid; place-items: center;
 border-radius: 9px;
 background: rgba(255, 255, 255, .06);
 color: #b9c6dc;
}
.site-footer__social a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.bottom-nav {
 display: none;
 position: fixed;
 left: 0; right: 0; bottom: 0;
 z-index: 90;
 background: rgba(255, 255, 255, .95);
 backdrop-filter: saturate(180%) blur(12px);
 -webkit-backdrop-filter: saturate(180%) blur(12px);
 border-top: 1px solid var(--line);
 padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav__item {
 flex: 1;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 2px;
 padding: 0.5rem 0.25rem;
 font-size: 0.66rem;
 font-weight: 600;
 color: var(--faint);
 background: none;
}
.bottom-nav__item svg { width: 20px; height: 20px; }
.bottom-nav__item.is-active { color: var(--brand-700); }
.bottom-nav__item:hover { color: var(--brand-700); text-decoration: none; }
.page-hero--tech .page-hero__meta { display: none; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 font-weight: 600;
 font-size: 0.95rem;
 line-height: 1;
 padding: 0.7rem 1.15rem;
 border-radius: var(--r-sm);
 border: 1px solid transparent;
 transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease);
 white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: var(--bg); color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { background: var(--brand-50); border-color: var(--brand-200); }
.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand-100); }
.btn--lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.hero {
 position: relative;
 overflow: hidden;
 padding-block: clamp(2.5rem, 1.8rem + 4vw, 4.5rem) clamp(2rem, 1.5rem + 3vw, 3.25rem);
 background:
 radial-gradient(900px 380px at 88% -10%, #e7edff 0%, rgba(231, 237, 255, 0) 60%),
 radial-gradient(760px 360px at 2% 4%, #f1ecff 0%, rgba(241, 236, 255, 0) 55%);
}
.hero__grid {
 display: grid;
 gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
 grid-template-columns: minmax(0, 1fr);
 align-items: center;
}
@media (min-width: 940px) {
 .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero h1 { margin-top: 0.65rem; }
.hero h1 .grad {
 background: var(--gradient);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); max-width: 40rem; }
.hero__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.search {
 position: relative;
}
.search__field {
 display: flex;
 align-items: center;
 gap: 0.6rem;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r-pill);
 padding: 0.35rem 0.35rem 0.35rem 1.1rem;
 box-shadow: var(--shadow-sm);
}
.search__field:focus-within {
 border-color: var(--brand-500);
 box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}
.search__field svg { width: 20px; height: 20px; color: var(--faint); flex: none; }
.search__input {
 flex: 1 1 auto;
 min-width: 0;
 border: 0;
 background: none;
 outline: none;
 padding: 0.65rem 0;
 font-size: 1rem;
}
.search--sm .search__field { padding-left: 0.9rem; }
.search--sm .search__input { padding-block: 0.5rem; font-size: 0.92rem; }
.search__results {
 position: absolute;
 z-index: 60;
 top: calc(100% + 0.5rem);
 left: 0; right: 0;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r);
 box-shadow: var(--shadow-lg);
 padding: 0.35rem;
 max-height: min(60vh, 420px);
 overflow-y: auto;
}
.search__results:not(.is-open) { display: none; }
.search__result {
 display: block;
 padding: 0.6rem 0.7rem;
 border-radius: var(--r-sm);
 color: var(--ink);
}
.search__result:hover, .search__result.is-active {
 background: var(--brand-50);
 text-decoration: none;
}
.search__result strong { font-weight: 600; display: block; font-size: 0.94rem; }
.search__result small { color: var(--faint); font-size: 0.8rem; }
.search__result mark { background: #fff3bf; color: inherit; padding: 0 1px; border-radius: 2px; }
.search__empty { padding: 1rem 0.8rem; color: var(--faint); font-size: 0.9rem; }
.popular-searches {
 margin-top: 1.1rem;
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 align-items: center;
 font-size: var(--fs-sm);
}
.popular-searches__label { color: var(--faint); font-weight: 600; }
.chip {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 padding: 0.4rem 0.8rem;
 border-radius: var(--r-pill);
 background: var(--bg);
 border: 1px solid var(--line);
 font-size: 0.86rem;
 font-weight: 500;
 color: var(--ink-2);
}
.chip:hover { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.chip[aria-pressed="true"], .chip.is-active {
 background: var(--brand-600); border-color: var(--brand-600); color: #fff;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.card-grid {
 display: grid;
 gap: 1rem;
 grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.tech-card {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
 padding: 1.1rem 1.15rem;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r);
 box-shadow: var(--shadow-xs);
 transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.tech-card:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow);
 border-color: var(--brand-200);
 text-decoration: none;
}
.tech-card__icon {
 width: 40px; height: 40px;
 border-radius: 10px;
 display: grid; place-items: center;
 background: var(--brand-50);
 color: var(--brand-700);
 flex: none;
}
.tech-card__icon svg { width: 22px; height: 22px; }
.tech-card__name { font-weight: 700; color: var(--ink); font-size: 1rem; }
.tech-card__foot {
 margin-top: auto;
 display: flex; align-items: center; justify-content: space-between;
 font-size: var(--fs-sm); color: var(--faint); font-weight: 500;
}
.tech-card__foot svg { width: 16px; height: 16px; color: var(--brand-600); }
.collection-card {
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
 padding: 1.25rem;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r);
 box-shadow: var(--shadow-xs);
 transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.collection-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-200); text-decoration: none; }
.collection-card__kicker {
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--violet-600);
}
.collection-card__title { font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.collection-card__desc { font-size: 0.9rem; color: var(--muted); }
.collection-card__foot { margin-top: auto; font-size: var(--fs-sm); color: var(--faint); display: flex; align-items: center; gap: 0.35rem; }
.benefit {
 display: flex;
 gap: 0.85rem;
 padding: 1.1rem;
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg);
 height: 100%;
}
.benefit__icon {
 width: 38px; height: 38px; flex: none;
 border-radius: 10px;
 display: grid; place-items: center;
 background: var(--green-soft); color: var(--green);
}
.benefit__icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.benefit p { font-size: 0.87rem; color: var(--muted); }
.tag {
 display: inline-flex;
 align-items: center;
 gap: 0.3rem;
 font-size: var(--fs-xs);
 font-weight: 600;
 padding: 0.2rem 0.55rem;
 border-radius: var(--r-pill);
 background: var(--bg-3);
 color: var(--ink-2);
 border: 1px solid var(--line-2);
}
.tag svg { width: 12px; height: 12px; }
.tag--tech { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.tag--topic { background: #f3efff; color: var(--violet-600); border-color: #e6dcff; }
.diff {
 display: inline-flex;
 align-items: center;
 gap: 0.32rem;
 font-size: var(--fs-xs);
 font-weight: 600;
 padding: 0.2rem 0.55rem 0.2rem 0.45rem;
 border-radius: var(--r-pill);
 border: 1px solid;
}
.diff::before {
 content: "";
 width: 8px; height: 8px;
 flex: none;
}
.diff--basic { color: var(--diff-basic); background: var(--diff-basic-soft); border-color: var(--green-line); }
.diff--basic::before { border-radius: 50%; background: currentColor; }
.diff--intermediate { color: var(--diff-intermediate); background: var(--diff-intermediate-soft); border-color: var(--amber-line); }
.diff--intermediate::before { background: currentColor; transform: rotate(45deg); }
.diff--advanced { color: var(--diff-advanced); background: var(--diff-advanced-soft); border-color: var(--red-line); }
.diff--advanced::before {
 width: 0; height: 0; background: none;
 border-left: 5px solid transparent; border-right: 5px solid transparent;
 border-bottom: 9px solid currentColor;
}
.exp-tag {
 display: inline-flex; align-items: center; gap: 0.3rem;
 font-size: var(--fs-xs); font-weight: 600;
 padding: 0.2rem 0.55rem; border-radius: var(--r-pill);
 background: var(--bg-2); color: var(--muted); border: 1px solid var(--line);
}
.q-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.q-list li { margin: 0; }
.q-row {
 display: grid;
 grid-template-columns: 2.5rem 1fr auto;
 gap: 0.4rem 1rem;
 align-items: center;
 padding: 0.95rem 1.1rem;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r);
 box-shadow: var(--shadow-xs);
 transition: border-color .14s var(--ease), box-shadow .14s var(--ease), transform .1s var(--ease);
}
.q-row:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); text-decoration: none; transform: translateY(-1px); }
.q-row__num {
 font-family: var(--font-mono);
 font-size: 0.82rem;
 color: var(--faint);
 font-weight: 500;
}
.q-row__body { min-width: 0; }
.q-row__q { color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.q-row__meta { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.q-row__arrow { color: var(--brand-600); flex: none; }
.q-row__arrow svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
 .q-row { grid-template-columns: 1fr auto; }
 .q-row__num { grid-row: 1; grid-column: 1; }
}
.pagination {
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem;
 justify-content: center;
 margin-top: 1.75rem;
 list-style: none;
 padding: 0;
}
.pagination li { margin: 0; }
.pagination button, .pagination a {
 min-width: 40px;
 padding: 0.5rem 0.7rem;
 border-radius: var(--r-sm);
 border: 1px solid var(--line);
 background: var(--bg);
 color: var(--ink-2);
 font-weight: 600;
 font-size: 0.9rem;
 text-align: center;
}
.pagination button:hover, .pagination a:hover { background: var(--brand-50); border-color: var(--brand-200); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pagination [disabled] { opacity: 0.45; pointer-events: none; }
.results-bar {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 0.75rem;
 margin-bottom: 1rem;
}
.results-bar__count { font-weight: 600; color: var(--ink); }
.results-bar select {
 border: 1px solid var(--line);
 border-radius: var(--r-sm);
 padding: 0.45rem 2rem 0.45rem 0.7rem;
 background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237688a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.6rem center no-repeat;
 -webkit-appearance: none; appearance: none;
 font-size: 0.88rem; font-weight: 500;
}
.data-table-wrap { overflow-x: auto; margin-top: 1rem; -webkit-overflow-scrolling: touch; }
.data-table {
 width: 100%;
 border-collapse: collapse;
 font-size: 0.9rem;
 min-width: 30rem;
}
.data-table th, .data-table td {
 text-align: left;
 padding: 0.6rem 0.8rem;
 border: 1px solid var(--line);
 vertical-align: top;
}
.data-table th { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.data-table tbody tr:nth-child(even) td { background: var(--bg-2); }
.prose .data-table { margin-top: 1rem; }
.pr-toasts {
 position: fixed;
 left: 50%;
 bottom: 1.5rem;
 transform: translateX(-50%);
 z-index: 4000;
 display: flex;
 flex-direction: column;
 gap: 0.5rem;
 align-items: center;
 pointer-events: none;
}
.pr-toast {
 background: var(--ink);
 color: #fff;
 padding: 0.6rem 1.1rem;
 border-radius: var(--r-pill);
 font-size: 0.88rem;
 font-weight: 500;
 box-shadow: var(--shadow-lg);
 transition: opacity .3s var(--ease);
 animation: pr-toast-in .2s var(--ease);
}
.pr-toast--error { background: var(--red); }
@keyframes pr-toast-in { from { opacity: 0; transform: translateY(8px); } }
.empty-state {
 text-align: center;
 padding: 2.5rem 1rem;
 color: var(--muted);
}
.empty-state svg { width: 40px; height: 40px; color: var(--faint); margin-bottom: 0.75rem; }
.empty-state h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.hero__text { max-width: 40rem; }
.hero__lead {
 margin-top: 0.5rem;
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--ink);
}
.hero__sub { margin-top: 0.9rem; }
.hero .search { margin-top: 1.5rem; max-width: 34rem; }
.hero .search__field button.btn--primary { padding: 0.7rem 0.9rem; }
.hero-art {
 position: relative;
 align-self: center;
 min-height: 300px;
}
.hero-art__badge {
 position: absolute;
 top: -8px; right: 0;
 z-index: 3;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 background: #fff;
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 border-radius: var(--r-pill);
 padding: 0.4rem 0.85rem;
 font-size: 0.78rem;
 font-weight: 600;
 color: var(--ink);
}
.hero-art__badge svg { width: 15px; height: 15px; color: var(--green); }
.hero-art__window {
 position: relative;
 z-index: 2;
 margin-top: 2.25rem;
 background: #0d1424;
 border-radius: var(--r-lg);
 box-shadow: var(--shadow-lg);
 overflow: hidden;
 border: 1px solid #1e293b;
}
.hero-art__dots {
 display: flex; gap: 6px;
 padding: 0.7rem 0.9rem;
 background: #0b111f;
 border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-art__dots i { width: 9px; height: 9px; border-radius: 50%; background: #33415a; }
.hero-art__dots i:nth-child(1) { background: #ef6a5e; }
.hero-art__dots i:nth-child(2) { background: #f6be4f; }
.hero-art__dots i:nth-child(3) { background: #59c94a; }
.hero-art__code {
 padding: 1rem 1.1rem;
 font-family: var(--font-mono);
 font-size: 0.8rem;
 line-height: 1.75;
 color: #cdd7ea;
}
.hero-art__code .l { display: block; white-space: pre; }
.hero-art__code .kw { color: #c4a2ff; font-weight: 500; }
.hero-art__code .ty { color: #6ec7ff; }
.hero-art__code .fn { color: #7fb2ff; }
.hero-art__code .cm { color: #7d8bab; font-style: italic; }
.hero-art__chip {
 position: absolute;
 z-index: 3;
 width: 46px; height: 46px;
 display: grid; place-items: center;
 border-radius: 13px;
 background: #fff;
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 color: var(--brand-600);
}
.hero-art__chip svg { width: 22px; height: 22px; }
.hero-art__chip--1 { left: -22px; top: 90px; color: var(--brand-600); }
.hero-art__chip--2 { right: -18px; top: 170px; color: var(--violet-600); }
.hero-art__chip--3 { left: 30px; bottom: -18px; color: #0ea5e9; }
.benefit-grid {
 display: grid;
 gap: 1rem;
 grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.benefit-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.benefit__icon {
 background: var(--brand-50);
 color: var(--brand-700);
}
.section-head {
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 gap: 1rem;
 margin-bottom: 1.5rem;
}
.section-head h2 { margin-top: 0.25rem; }
.section-head__link {
 flex: none;
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 font-size: 0.9rem;
 font-weight: 600;
 color: var(--brand-700);
}
.section-head__link svg { width: 15px; height: 15px; }
.tech-tiles {
 display: grid;
 gap: 1rem;
 grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
.tech-tile {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.5rem;
 padding: 1.35rem 0.75rem 1.1rem;
 border: 1px solid var(--line);
 border-radius: var(--r-lg);
 background: var(--bg);
 box-shadow: var(--shadow-xs);
 text-align: center;
 transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.tech-tile:hover {
 transform: translateY(-3px);
 box-shadow: var(--shadow);
 border-color: var(--brand-200);
 text-decoration: none;
}
.tech-tile__ic {
 width: 52px; height: 52px;
 border-radius: 50%;
 display: grid; place-items: center;
 background: var(--gradient-soft);
 color: var(--brand-700);
}
.tech-tile__ic svg { width: 24px; height: 24px; }
.tech-tile__name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.tech-tile__n { font-size: 0.78rem; color: var(--faint); }
.coll-cards {
 display: grid;
 gap: 1rem;
 grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.coll-card {
 display: flex;
 flex-direction: column;
 gap: 0.4rem;
 padding: 1.25rem;
 border: 1px solid var(--line);
 border-radius: var(--r-lg);
 background: var(--bg);
 box-shadow: var(--shadow-xs);
 transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.coll-card:hover {
 transform: translateY(-3px);
 box-shadow: var(--shadow);
 border-color: var(--brand-200);
 text-decoration: none;
}
.coll-card__kicker {
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--violet-600);
}
.coll-card__title { font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.coll-card__desc { font-size: 0.88rem; color: var(--muted); flex: 1; }
.coll-card__cta {
 margin-top: 0.4rem;
 display: inline-flex; align-items: center; gap: 0.4rem;
 font-size: 0.82rem; font-weight: 600; color: var(--brand-700);
}
.coll-card__cta svg { width: 14px; height: 14px; }
.cta-banner {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 1.25rem;
 padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
 border-radius: var(--r-xl);
 background: linear-gradient(120deg, #10213f, #1b1740);
 color: #e8eefc;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.cta-banner p { color: #aebed6; margin-top: 0.4rem; max-width: 42rem; }
.cta-banner__btn { background: #fff; color: var(--brand-700); flex: none; }
.cta-banner__btn:hover { background: #eef4ff; color: var(--brand-800); }
.cta-banner__btn svg { width: 17px; height: 17px; }
.post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.post-card { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.post-card:last-child { border-bottom: 0; }
.post-card h2 { font-size: 1.25rem; }
.post-card__meta { font-size: 0.82rem; color: var(--faint); margin: 0.3rem 0 0.5rem; }
.post-card p { color: var(--muted); }
.post-card__more { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--brand-700); margin-top: 0.5rem; }
.post-card__more svg { width: 14px; height: 14px; }
.post-meta { font-size: 0.85rem; color: var(--faint); margin-top: 0.4rem; }
.blog-body h2 { margin-top: 1.75rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line); }
.blog-body ol, .blog-body ul { margin-top: 0.8rem; }
.link-list { list-style: none; padding: 0; margin-top: 0.5rem; }
.link-list li { margin: 0; padding: 0.35rem 0; border-top: 1px solid var(--line-2); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink-2); }
.link-list a:hover { color: var(--brand-700); }
.link-list a svg { width: 15px; height: 15px; color: var(--brand-500); flex: none; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 1.5rem; }
.sitemap-grid li { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.sitemap-count { font-size: 0.8rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.q-head { padding-block: var(--s-5) 0; }
.q-head h1 { margin-top: 0.6rem; }
.q-head__meta {
 margin-top: 0.9rem;
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 align-items: center;
}
.q-head__readtime {
 font-size: var(--fs-sm);
 color: var(--faint);
 display: inline-flex; align-items: center; gap: 0.35rem;
}
.q-head__readtime svg { width: 15px; height: 15px; }
.quick-answer {
 margin-top: var(--s-5);
 border: 1px solid var(--brand-100);
 background: var(--brand-50);
 border-radius: var(--r);
 padding: 1.15rem 1.25rem;
}
.quick-answer__label {
 display: inline-flex; align-items: center; gap: 0.4rem;
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--brand-700);
 margin-bottom: 0.5rem;
}
.quick-answer__label svg { width: 15px; height: 15px; }
.quick-answer p { color: var(--ink-2); font-size: 1.03rem; }
.quick-answer p:first-of-type { margin-top: 0; }
.prose { margin-top: var(--s-6); }
.prose > h2 {
 margin-top: 0;
 padding-bottom: 0.4rem;
 border-bottom: 1px solid var(--line);
}
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose ul, .prose ol { margin-top: 0.8rem; }
.prose li + li { margin-top: 0.35rem; }
.prose section + section { margin-top: var(--s-6); }
.prose section > h2:first-child { margin-top: 0; }
.anchor-h {
 scroll-margin-top: calc(var(--header-h) + 1rem);
}
.anchor-h .anchor-link {
 opacity: 0;
 margin-left: 0.4rem;
 color: var(--faint);
 font-weight: 400;
}
.anchor-h:hover .anchor-link { opacity: 1; }
.interview-answer {
 margin-top: var(--s-6);
 border: 1px solid #e6dcff;
 border-left: 4px solid var(--violet-600);
 background: linear-gradient(180deg, #faf8ff, #fff);
 border-radius: var(--r);
 padding: 1.25rem 1.35rem;
}
.interview-answer__label {
 display: inline-flex; align-items: center; gap: 0.45rem;
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--violet-600);
 margin-bottom: 0.55rem;
}
.interview-answer__label svg { width: 16px; height: 16px; }
.interview-answer p { font-size: 1.02rem; color: var(--ink-2); }
.interview-answer p + p { margin-top: 0.7rem; }
.code-block {
 margin-top: 1.1rem;
 border: 1px solid var(--line);
 border-radius: var(--r);
 overflow: hidden;
 background: #0d1424;
}
.code-block__bar {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0.5rem 0.5rem 0.5rem 0.9rem;
 background: #0b111f;
 border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.code-block__lang {
 font-family: var(--font-mono);
 font-size: 0.72rem;
 font-weight: 500;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: #8aa0c6;
}
.code-copy {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 font-size: 0.76rem;
 font-weight: 600;
 color: #b9c6dc;
 padding: 0.35rem 0.6rem;
 border-radius: 6px;
 border: 1px solid rgba(255, 255, 255, .12);
}
.code-copy:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.code-copy svg { width: 13px; height: 13px; }
.code-copy.is-done { color: #6ee7b7; border-color: rgba(110, 231, 183, .4); }
.code-block pre {
 margin: 0;
 padding: 1rem 1.1rem;
 overflow-x: auto;
 font-family: var(--font-mono);
 font-size: 0.855rem;
 line-height: 1.65;
 -webkit-overflow-scrolling: touch;
}
.code-block pre code { font-family: inherit; white-space: pre; }
.why-list { list-style: none; padding: 0; margin-top: 0.9rem; }
.why-list li {
 position: relative;
 padding-left: 1.9rem;
 margin-top: 0.5rem;
 color: var(--ink-2);
}
.why-list li::before {
 content: "";
 position: absolute;
 left: 0; top: 0.15rem;
 width: 1.25rem; height: 1.25rem;
 border-radius: 50%;
 background: var(--green-soft);
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
 background-repeat: no-repeat;
 background-position: center;
}
.callout {
 margin-top: var(--s-6);
 display: flex;
 gap: 0.85rem;
 padding: 1rem 1.15rem;
 border-radius: var(--r);
 border: 1px solid var(--amber-line);
 background: var(--amber-soft);
}
.callout__icon { flex: none; color: var(--amber); }
.callout__icon svg { width: 20px; height: 20px; }
.callout__label {
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
 color: var(--amber); display: block; margin-bottom: 0.15rem;
}
.callout p { color: #7c4a10; font-size: 0.94rem; }
.callout--info { border-color: var(--info-line); background: var(--info-soft); }
.callout--info .callout__icon, .callout--info .callout__label { color: var(--info); }
.callout--info p { color: #1e3a8a; }
.related { margin-top: var(--s-7); }
.related__grid { display: grid; gap: 0.75rem; margin-top: 1rem; }
.related-card {
 display: block;
 padding: 1rem 1.1rem;
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg);
 box-shadow: var(--shadow-xs);
 transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.related-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-card__q { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.related-card__preview { margin-top: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.related-card__more {
 margin-top: 0.5rem;
 display: inline-flex; align-items: center; gap: 0.3rem;
 font-size: 0.82rem; font-weight: 600; color: var(--brand-700);
}
.related-card__more svg { width: 14px; height: 14px; }
.followup {
 margin-top: var(--s-7);
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg-2);
 padding: 1.25rem 1.35rem;
}
.followup__label {
 display: inline-flex; align-items: center; gap: 0.45rem;
 font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
 color: var(--ink); margin-bottom: 0.9rem;
}
.followup__label svg { width: 16px; height: 16px; color: var(--violet-600); }
.followup__path { list-style: none; padding: 0; margin: 0; }
.followup__path li {
 position: relative;
 margin: 0;
 padding: 0 0 0 1.6rem;
}
.followup__path li + li { margin-top: 0.15rem; }
.followup__path li::before {
 content: "";
 position: absolute;
 left: 0.42rem; top: 0;
 bottom: 0;
 width: 2px;
 background: var(--brand-100);
}
.followup__path li:first-child::before { top: 0.9rem; }
.followup__path li:last-child::before { bottom: calc(100% - 0.9rem); }
.followup__step {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.5rem 0;
}
.followup__step::marker { content: none; }
.followup__dot {
 position: absolute;
 left: 0; top: 0.72rem;
 width: 0.9rem; height: 0.9rem;
 border-radius: 50%;
 background: var(--bg);
 border: 2px solid var(--brand-400, var(--brand-500));
}
.followup__path li.is-current .followup__dot { background: var(--brand-600); border-color: var(--brand-600); }
.followup__path li.is-current .followup__step { font-weight: 700; color: var(--ink); }
.followup__path a { color: var(--ink-2); font-weight: 500; }
.followup__path a:hover { color: var(--brand-700); }
.q-nav {
 margin-top: var(--s-7);
 display: grid;
 gap: 0.75rem;
 grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) { .q-nav { grid-template-columns: 1fr; } }
.q-nav a {
 display: flex;
 flex-direction: column;
 gap: 0.2rem;
 padding: 0.9rem 1.05rem;
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg);
}
.q-nav a:hover { border-color: var(--brand-200); background: var(--brand-50); text-decoration: none; }
.q-nav a.is-next { text-align: right; align-items: flex-end; }
.q-nav__dir { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.q-nav__t { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.q-more-links {
 margin-top: var(--s-5);
 display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.aside-card {
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg);
 padding: 1rem 1.1rem;
 box-shadow: var(--shadow-xs);
}
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card h2 {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--faint);
 font-weight: 700;
 margin-bottom: 0.6rem;
}
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { margin: 0; padding: 0.3rem 0; border-top: 1px solid var(--line-2); font-size: 0.9rem; }
.aside-card li:first-child { border-top: 0; }
.aside-card a { color: var(--ink-2); }
.aside-card a:hover { color: var(--brand-700); }
.toc a.is-active { color: var(--brand-700); font-weight: 600; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group__label {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.1em;
 font-weight: 700;
 color: var(--faint);
 margin-bottom: 0.5rem;
 display: block;
}
.filter-opt {
 display: flex;
 align-items: center;
 gap: 0.55rem;
 padding: 0.32rem 0;
 font-size: 0.9rem;
 color: var(--ink-2);
 cursor: pointer;
}
.filter-opt input { accent-color: var(--brand-600); width: 15px; height: 15px; }
.filter-panel {
 border: 1px solid var(--line);
 border-radius: var(--r);
 background: var(--bg);
 padding: 1.1rem 1.15rem;
 box-shadow: var(--shadow-xs);
}
.filter-panel__head {
 display: flex; align-items: center; justify-content: space-between;
 margin-bottom: 0.9rem;
}
.filter-panel__head h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); }
.filter-clear { font-size: 0.82rem; font-weight: 600; color: var(--brand-700); }
.filter-fab {
 display: none;
 position: sticky;
 bottom: 1rem;
 margin: 1rem auto 0;
 z-index: 40;
}
@media (max-width: 899px) {
 .filter-fab { display: inline-flex; }
 .list-filters {
 position: fixed;
 inset: auto 0 0 0;
 z-index: 210;
 background: var(--bg);
 border-top-left-radius: var(--r-lg);
 border-top-right-radius: var(--r-lg);
 box-shadow: var(--shadow-lg);
 max-height: 82vh;
 overflow-y: auto;
 transform: translateY(101%);
 transition: transform .24s var(--ease);
 padding: 0.5rem 1rem 1.5rem;
 }
 .list-filters.is-open { transform: translateY(0); }
 .list-filters__grip {
 width: 40px; height: 4px; border-radius: 2px;
 background: var(--line); margin: 0.5rem auto 0.75rem;
 }
 .filter-panel { border: 0; box-shadow: none; padding: 0; }
}
@media (min-width: 900px) {
 .list-filters__grip, .list-filters__close { display: none; }
}
.jump-nav {
 position: sticky;
 top: var(--header-h);
 z-index: 30;
 background: rgba(255, 255, 255, .9);
 backdrop-filter: blur(8px);
 border-bottom: 1px solid var(--line);
 padding: 0.6rem 0;
}
.jump-nav ul {
 list-style: none; padding: 0; margin: 0;
 display: flex; gap: 0.4rem; overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}
.jump-nav li { margin: 0; flex: none; }
.jump-nav a {
 display: inline-block;
 padding: 0.35rem 0.75rem;
 border-radius: var(--r-pill);
 font-size: 0.84rem;
 font-weight: 600;
 color: var(--ink-2);
 background: var(--bg-3);
 white-space: nowrap;
}
.jump-nav a:hover, .jump-nav a.is-active { background: var(--brand-600); color: #fff; text-decoration: none; }
.q-head__top {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 1rem;
}
.q-head__top h1 { flex: 1; }
.share-btn {
 flex: none;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 font-size: 0.85rem;
 font-weight: 600;
 color: var(--ink-2);
 border: 1px solid var(--line);
 border-radius: var(--r-sm);
 padding: 0.45rem 0.8rem;
 background: var(--bg);
 margin-top: 0.35rem;
}
.share-btn:hover { background: var(--bg-3); border-color: var(--brand-200); color: var(--brand-700); }
.share-btn svg { width: 15px; height: 15px; }
.q-blocks { margin-top: var(--s-5); display: flex; flex-direction: column; gap: 1rem; }
.q-block {
 border: 1px solid var(--line);
 border-radius: var(--r-lg);
 background: var(--bg);
 box-shadow: var(--shadow-xs);
 overflow: hidden;
}
.q-block__head { margin: 0; font-size: 1.05rem; }
.q-block__head--static {
 display: flex;
 align-items: center;
 gap: 0.7rem;
 padding: 1rem 1.15rem 0.4rem;
}
.q-block__head--static h2 { font-size: 1.1rem; margin: 0; }
.q-block__toggle {
 width: 100%;
 display: flex;
 align-items: center;
 gap: 0.7rem;
 padding: 1rem 1.15rem;
 text-align: left;
 font: inherit;
 color: var(--ink);
}
.q-block__toggle:hover { background: var(--bg-2); }
.q-block__ic {
 width: 34px; height: 34px;
 flex: none;
 border-radius: 10px;
 display: grid; place-items: center;
 background: var(--brand-50);
 color: var(--brand-700);
}
.q-block__ic svg { width: 18px; height: 18px; }
.q-block__ic--green { background: var(--green-soft); color: var(--green); }
.q-block__ic--violet { background: #f1ecff; color: var(--violet-600); }
.q-block__ic--amber { background: var(--amber-soft); color: var(--amber); }
.q-block__ic--red { background: var(--red-soft); color: var(--red); }
.q-block__ic--brand { background: var(--brand-50); color: var(--brand-700); }
.q-block__t { flex: 1; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.q-block__chev {
 flex: none;
 color: var(--faint);
 transition: transform .18s var(--ease);
}
.q-block__chev svg { width: 18px; height: 18px; }
.q-block__toggle[aria-expanded="true"] .q-block__chev { transform: rotate(90deg); }
.q-block__body { padding: 0.25rem 1.15rem 1.25rem; }
.q-block__body > .prose { margin-top: 0; }
.q-block__body > .prose > :first-child { margin-top: 0; }
.q-block__body .code-block:first-child { margin-top: 0; }
.q-block__intro { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.q-block--quick {
 border-color: var(--brand-100);
 background: linear-gradient(180deg, var(--brand-50), #fff 62%);
}
.q-block--quick .q-block__body { font-size: 1.04rem; color: var(--ink-2); padding-top: 0.4rem; }
.q-block--quick .q-block__body p:first-child { margin-top: 0; }
.q-block--violet { border-color: #e6dcff; }
.spoken {
 border-left: 3px solid var(--violet-600);
 padding-left: 1rem;
 font-size: 1.02rem;
 color: var(--ink-2);
}
.spoken p + p { margin-top: 0.7rem; }
.spoken p:first-child { margin-top: 0; }
.mistake-list { list-style: none; padding: 0; }
.mistake-list li {
 position: relative;
 padding-left: 1.9rem;
 margin-top: 0.55rem;
 color: var(--ink-2);
}
.mistake-list li::before {
 content: "";
 position: absolute; left: 0; top: 0.15rem;
 width: 1.25rem; height: 1.25rem; border-radius: 50%;
 background: var(--red-soft);
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23b91c1c' stroke-width='2.5' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: center;
}
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-top: 0.4rem; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.mindmap {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 1.25rem;
 padding: 0.5rem 0 0.25rem;
}
.mindmap__center {
 background: var(--gradient);
 color: #fff;
 font-weight: 700;
 font-size: 1.05rem;
 padding: 0.8rem 1.6rem;
 border-radius: var(--r-pill);
 box-shadow: var(--shadow);
 text-align: center;
}
.mindmap__branches {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
 gap: 0.9rem;
 width: 100%;
}
.mindmap__branch {
 border: 1px solid var(--line);
 border-top: 3px solid var(--branch-c, var(--brand-500));
 border-radius: var(--r);
 padding: 0.75rem 0.85rem;
 background: var(--bg-2);
}
.mindmap__branch[data-n="0"] { --branch-c: #2563eb; }
.mindmap__branch[data-n="1"] { --branch-c: #7c3aed; }
.mindmap__branch[data-n="2"] { --branch-c: #0ea5e9; }
.mindmap__branch[data-n="3"] { --branch-c: #15803d; }
.mindmap__branch[data-n="4"] { --branch-c: #b45309; }
.mindmap__branch[data-n="5"] { --branch-c: #db2777; }
.mindmap__label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.4rem; }
.mindmap__leaves { list-style: none; padding: 0; margin: 0; }
.mindmap__leaves li {
 font-size: 0.84rem;
 color: var(--ink-2);
 padding: 0.22rem 0 0.22rem 0.9rem;
 position: relative;
 margin: 0;
}
.mindmap__leaves li::before {
 content: ""; position: absolute; left: 0; top: 0.65rem;
 width: 5px; height: 5px; border-radius: 50%;
 background: var(--branch-c, var(--brand-500));
}
.realproj { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .realproj { grid-template-columns: 220px 1fr; } }
.realproj__flow { display: flex; flex-direction: column; gap: 0.35rem; }
.flow__node {
 border: 1px solid var(--line);
 border-left: 3px solid var(--brand-500);
 border-radius: var(--r-sm);
 padding: 0.55rem 0.75rem;
 background: var(--bg-2);
}
.flow__label { display: block; font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.flow__note { display: block; font-size: 0.75rem; color: var(--faint); }
.flow__arrow { align-self: center; color: var(--faint); transform: rotate(90deg); line-height: 0; }
.flow__arrow svg { width: 16px; height: 16px; }
.realproj__notes .prose > :first-child { margin-top: 0; }
.realproj__notes h3 { font-size: 1rem; margin-top: 1.1rem; }
.practice { list-style: none; padding: 0; margin: 0; }
.practice__item {
 display: flex;
 align-items: center;
 gap: 0.7rem;
 padding: 0.6rem 0;
 border-top: 1px solid var(--line-2);
 margin: 0;
}
.practice__item:first-child { border-top: 0; }
.practice__ava {
 width: 30px; height: 30px; flex: none;
 border-radius: 50%;
 background: #f1ecff;
 color: var(--violet-600);
 display: grid; place-items: center;
}
.practice__ava svg { width: 14px; height: 14px; }
.practice__q { font-weight: 500; color: var(--ink-2); font-size: 0.95rem; }
a.practice__q:hover { color: var(--brand-700); }
.practice__item.is-current .practice__q { font-weight: 700; color: var(--ink); }
.practice__here {
 font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
 color: var(--violet-600); background: #f1ecff;
 padding: 0.1rem 0.45rem; border-radius: var(--r-pill);
}
.aside-tip { background: var(--info-soft); border-color: var(--info-line); }
.aside-tip h2 {
 display: flex; align-items: center; gap: 0.4rem;
 color: var(--info); text-transform: none; letter-spacing: 0; font-size: 0.9rem;
}
.aside-tip h2 svg { width: 15px; height: 15px; }
.aside-tip p { font-size: 0.88rem; color: #1e3a8a; margin: 0; }
.related-mini a { display: flex; gap: 0.4rem; align-items: flex-start; }
.related-mini a svg { width: 13px; height: 13px; flex: none; margin-top: 3px; color: var(--faint); }
.page-hero__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.tech-badge {
 flex: none;
 display: inline-flex;
 flex-direction: column;
 align-items: center;
 gap: 0.4rem;
 width: 110px;
 padding: 1rem 0.5rem;
 border-radius: var(--r-lg);
 background: var(--bg);
 border: 1px solid var(--line);
 box-shadow: var(--shadow-sm);
 font-weight: 700;
 font-size: 0.85rem;
 color: var(--ink);
 text-align: center;
}
.tech-badge svg { width: 30px; height: 30px; color: var(--brand-600); }
.stat-cards {
 margin-top: 1.5rem;
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 gap: 0.75rem;
}
.stat-card {
 display: flex;
 flex-direction: column;
 gap: 0.1rem;
 padding: 0.9rem 1rem;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--r);
 box-shadow: var(--shadow-xs);
}
.stat-card__ic { color: var(--brand-600); }
.stat-card__ic svg { width: 20px; height: 20px; }
.stat-card__big { font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.2; margin-top: 0.2rem; }
.stat-card__small { font-size: 0.76rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.topic-list { list-style: none; padding: 0; margin: 0; max-height: 320px; overflow-y: auto; }
.topic-list li { margin: 0; }
.topic-list__item {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 0.5rem;
 padding: 0.45rem 0.6rem;
 border-radius: var(--r-sm);
 font: inherit;
 font-size: 0.88rem;
 color: var(--ink-2);
 text-align: left;
}
.topic-list__item:hover { background: var(--bg-3); }
.topic-list__item.is-active { background: var(--brand-600); color: #fff; font-weight: 600; }
.topic-list__n { font-size: 0.75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.topic-list__item.is-active .topic-list__n { color: rgba(255, 255, 255, .8); }
.filter-opt__n { margin-left: auto; font-size: 0.75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.filter-opt > span:first-of-type { flex: 1; }
.q-list--rich .q-row { grid-template-columns: 2.5rem 1fr auto; align-items: start; }
.q-row__preview {
 margin-top: 0.25rem;
 font-size: 0.86rem;
 color: var(--muted);
 overflow: hidden;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
}
.q-list--rich .q-row__num { padding-top: 0.15rem; }
.q-list--rich .q-row__arrow { align-self: center; }
.coll-group { margin-top: var(--s-7); scroll-margin-top: calc(var(--header-h) + 3.5rem); }
.coll-group__head {
 display: flex; align-items: baseline; gap: 0.75rem;
 padding-bottom: 0.5rem;
 border-bottom: 2px solid var(--brand-100);
 margin-bottom: 1rem;
}
.coll-group__head h2 { font-size: 1.3rem; }
.coll-group__head span { font-size: var(--fs-sm); color: var(--faint); }
.coll-item {
 padding: 1rem 0;
 border-bottom: 1px solid var(--line);
}
.coll-item__q {
 display: flex; gap: 0.6rem;
 font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.coll-item__n { color: var(--faint); font-family: var(--font-mono); font-size: 0.85rem; flex: none; }
.coll-item__a { margin-top: 0.35rem; color: var(--muted); font-size: 0.93rem; }
.coll-item__link {
 margin-top: 0.4rem;
 display: inline-flex; align-items: center; gap: 0.3rem;
 font-size: 0.84rem; font-weight: 600; color: var(--brand-700);
}
.coll-item__link svg { width: 14px; height: 14px; }
@media (min-width: 1400px) {
 :root { --header-h: 68px; }
}
@media (max-width: 1024px) {
 .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
 .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
 .site-nav { display: none; }
 .nav-toggle { display: grid; }
 .header-actions { margin-left: auto; }
 .doc-aside { position: static; }
 .doc-layout { grid-template-columns: minmax(0, 1fr); }
 .doc-main { max-width: none; }
 .doc-aside .toc-card { display: none; }
}
@media (max-width: 768px) {
 .site-footer__grid { grid-template-columns: 1fr 1fr; }
 .hero { padding-top: 2rem; }
 .hero__grid { gap: 1.5rem; }
 .hero__visual { display: none; } 
 .page-hero__meta { gap: 0.4rem 0.9rem; }
 .q-nav { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
 .header-search { display: none; }
 .icon-btn.header-search-link { display: grid; }
}
@media (max-width: 560px) {
 :root { --header-h: 58px; }
 .brand__word { font-size: 1.05rem; }
 .brand__tag { display: none; }
 .hero__cta .btn { width: 100%; }
 .search__field { padding-left: 0.9rem; }
 .code-block pre { font-size: 0.8rem; }
 .collection-card, .tech-card { padding: 1rem; }
 .site-footer__bottom { flex-direction: column; }
 .results-bar { align-items: flex-start; }
}
@media (max-width: 400px) {
 .site-footer__grid { grid-template-columns: 1fr; }
 .card-grid { grid-template-columns: 1fr; }
 .q-head__meta { gap: 0.35rem; }
}
@media print {
 .site-header, .site-footer, .drawer, .drawer-backdrop,
 .q-nav, .followup, .related, .doc-aside, .filter-fab, .jump-nav,
 .code-copy, .popular-searches { display: none !important; }
 .doc-layout { display: block; padding: 0; }
 .code-block { background: #fff; border-color: #ccc; }
 .code-block pre, .code-block pre code { color: #111; }
 .code-block__bar { background: #f3f3f3; }
 a { color: #111; text-decoration: underline; }
 body { color: #111; }
}
@media (max-width: 768px) {
 .bottom-nav { display: flex; }
 body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
 .drawer, .list-filters.is-open { padding-bottom: 72px; }
 .page-hero__row { flex-direction: column; align-items: flex-start; gap: 1rem; }
 .tech-badge { flex-direction: row; width: auto; padding: 0.5rem 0.9rem; }
 .tech-badge svg { width: 20px; height: 20px; }
 .stat-cards { grid-template-columns: 1fr 1fr; }
 .q-head__top { flex-direction: column; gap: 0.4rem; }
 .share-btn { align-self: flex-start; margin-top: 0; }
 .doc-aside { position: static; }
 .q-block__toggle { padding: 0.85rem 1rem; }
 .q-block__body { padding: 0.25rem 1rem 1.1rem; }
 .mindmap__branches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
 .mindmap__branches { grid-template-columns: 1fr; }
 .stat-cards { grid-template-columns: 1fr; }
}
.bottom-nav__item { border: 0; }
@media print {
 .bottom-nav { display: none !important; }
 .q-block__body { display: block !important; }
}