/* .NET Atlas design system — semantic tokens make light/dark themes predictable. */
:root {
  color-scheme: light;
  --font-sans: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --brand: #5649b8;
  --brand-strong: #40339e;
  --brand-soft: #dcd9f2;
  --accent: #0078d4;
  --accent-soft: #e7f3ff;
  --success: #0f7b45;
  --warning: #a15c00;
  --danger: #c4314b;
  --canvas: #e7edf3;
  --surface: #f3f6f9;
  --surface-subtle: #dce4ec;
  --surface-elevated: rgba(243, 246, 249, 0.92);
  --text: #172033;
  --text-secondary: #46566a;
  --text-muted: #607086;
  --border: #becbd8;
  --border-strong: #a8b8c8;
  --focus: #005fb8;
  --code-bg: #151925;
  --code-text: #e8edf5;
  --shadow-1: 0 2px 8px rgba(18, 32, 51, 0.08);
  --shadow-2: 0 12px 32px rgba(18, 32, 51, 0.12);
  --shadow-3: 0 24px 60px rgba(18, 32, 51, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --nav-height: 68px;
  --sidebar-width: 270px;
  --content-max: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #a89bff;
  --brand-strong: #c4bcff;
  --brand-soft: #2b2750;
  --accent: #67c5ff;
  --accent-soft: #142d42;
  --success: #58d68d;
  --warning: #f9c46c;
  --danger: #ff8a9d;
  --canvas: #0f1420;
  --surface: #171d2a;
  --surface-subtle: #1d2534;
  --surface-elevated: rgba(23, 29, 42, 0.9);
  --text: #eef2f8;
  --text-secondary: #b4bdca;
  --text-muted: #8f9bad;
  --border: #2c3748;
  --border-strong: #435066;
  --focus: #8dccff;
  --code-bg: #090c13;
  --code-text: #e8edf5;
  --shadow-1: 0 2px 10px rgba(0, 0, 0, .22);
  --shadow-2: 0 16px 36px rgba(0, 0, 0, .28);
  --shadow-3: 0 28px 70px rgba(0, 0, 0, .36);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 28px); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 2000; top: 8px; left: 12px; transform: translateY(-150%);
  padding: 10px 16px; background: var(--text); color: var(--canvas); border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700; transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.topbar {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-height);
  background: var(--surface-elevated); border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.topbar-inner {
  max-width: var(--content-max); height: 100%; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, #6e5bd7, #248bd8); box-shadow: 0 5px 14px rgba(91, 79, 199, .3);
  font-weight: 800; font-size: 13px;
}
.brand em { font-style: normal; color: var(--brand); }
.top-links { display: flex; align-items: center; gap: 3px; margin-left: 10px; }
.top-link { padding: 8px 11px; border-radius: var(--radius-sm); color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; }
.top-link:hover, .top-link[aria-current="page"] { color: var(--text); background: var(--surface-subtle); }
.nav-spacer { flex: 1; }
.nav-search {
  position: relative; width: min(330px, 30vw); display: flex; align-items: center;
}
.nav-search input, .search-field input {
  width: 100%; color: var(--text); background: var(--surface-subtle); border: 1px solid var(--border);
  border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav-search input { height: 40px; padding: 0 42px 0 38px; font-size: 14px; }
.nav-search input:focus, .search-field input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.search-icon { position: absolute; left: 13px; z-index: 1; width: 14px; height: 14px; border: 2px solid var(--text-muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 2px; right: -5px; bottom: -3px; background: var(--text-muted); transform: rotate(45deg); border-radius: 1px; }
kbd { font: 11px var(--font-sans); color: var(--text-muted); background: var(--surface); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }
.nav-search kbd { position: absolute; right: 10px; }
.search-popover {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; max-height: min(480px, 70vh); overflow: auto;
  padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-3);
}
.search-popover.is-open { display: block; }
.search-result { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 10px; border-radius: 9px; text-decoration: none; }
.search-result:hover, .search-result:focus-visible { background: var(--surface-subtle); }
.search-result-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: 11px; font-weight: 800; }
.search-result strong { display: block; font-size: 14px; line-height: 1.35; }
.search-result small { color: var(--text-muted); font-size: 12px; }
.search-empty { margin: 0; padding: 18px 12px; color: var(--text-muted); text-align: center; font-size: 14px; }
.icon-button {
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; padding: 0;
  color: var(--text-secondary); background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
}
.icon-button:hover { color: var(--text); background: var(--surface-subtle); border-color: var(--border); }
.theme-icon { width: 20px; height: 20px; position: relative; }
.theme-icon::before { content: ""; position: absolute; inset: 3px; border: 2px solid currentColor; border-radius: 50%; box-shadow: 0 -8px 0 -6px, 0 8px 0 -6px, 8px 0 0 -6px, -8px 0 0 -6px, 6px 6px 0 -6px, -6px -6px 0 -6px, 6px -6px 0 -6px, -6px 6px 0 -6px; }
:root[data-theme="dark"] .theme-icon::before { inset: 2px 5px 4px 1px; border: 0; background: currentColor; box-shadow: 5px 0 0 1px var(--surface-elevated); }
.menu-button { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 19px; height: 2px; display: block; background: currentColor; border-radius: 2px; }
.menu-lines { position: relative; }.menu-lines::before,.menu-lines::after{content:"";position:absolute;left:0}.menu-lines::before{top:-6px}.menu-lines::after{top:6px}

/* Shell and sidebar */
.site-shell { max-width: var(--content-max); min-height: calc(100vh - var(--nav-height)); margin: 0 auto; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar {
  position: sticky; top: var(--nav-height); z-index: 100; height: calc(100vh - var(--nav-height)); overflow-y: auto;
  padding: 25px 18px 32px 22px; border-right: 1px solid var(--border); background: var(--canvas); scrollbar-width: thin;
}
.sidebar-group + .sidebar-group { margin-top: 4px; }
.sidebar-disclosure { border-radius: 10px; }
.sidebar-label {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-height: 38px;
  padding: 7px 10px; color: var(--text-muted); border-radius: 9px; cursor: pointer; list-style: none;
  font-size: 11px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; transition: .18s var(--ease);
}
.sidebar-label::-webkit-details-marker { display: none; }
.sidebar-label:hover { color: var(--text); background: var(--surface-subtle); }
.sidebar-label:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sidebar-count {
  min-width: 22px; padding: 2px 6px; color: var(--text-muted); background: var(--surface-subtle); border: 1px solid var(--border);
  border-radius: 999px; font-size: 10px; line-height: 1.3; letter-spacing: 0; text-align: center;
}
.sidebar-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.sidebar-disclosure[open] > .sidebar-label { color: var(--text-secondary); }
.sidebar-disclosure[open] > .sidebar-label .sidebar-chevron { transform: rotate(225deg); }
.sidebar-list { display: grid; gap: 2px; margin: 3px 0 8px; padding: 0; list-style: none; }
.sidebar-link { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 10px; color: var(--text-secondary); border-radius: 9px; text-decoration: none; font-size: 13.5px; font-weight: 550; transition: .18s var(--ease); }
.sidebar-link:hover { color: var(--text); background: var(--surface-subtle); transform: translateX(2px); }
.sidebar-link[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); font-weight: 700; }
.sidebar-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--topic-color, var(--brand)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--topic-color, var(--brand)) 16%, transparent); }
.sidebar-overlay { display: none; }
.main-content { min-width: 0; overflow: clip; }

/* Shared typography and layout */
.section-pad { padding: 88px clamp(28px, 5vw, 76px); }
.section-pad-sm { padding: 22px clamp(28px, 5vw, 76px); }
.section-heading { max-width: 650px; margin-bottom: 36px; }
.section-heading h2 { margin: 8px 0 10px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--text-secondary); font-size: 17px; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.split-heading > p { max-width: 480px; }
.center-heading { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--brand-strong); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #39b980; border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, #39b980 15%, transparent); }
.text-gradient { color: transparent; background: linear-gradient(105deg, var(--brand), #1488c9); -webkit-background-clip: text; background-clip: text; }
.surface-section { background: var(--surface-subtle); border-block: 1px solid var(--border); }
.card-grid { display: grid; gap: 20px; }.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 700; line-height: 1.2; transition: .2s var(--ease); }
.button-primary { color: #fff; background: linear-gradient(135deg, #6656d9, #4b45b2); box-shadow: 0 5px 15px rgba(80, 68, 185, .22); }
.button-primary:hover { background: linear-gradient(135deg, #5949ca, #40399e); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(80, 68, 185, .3); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.button-secondary:hover { background: var(--surface-subtle); border-color: var(--brand); }
.button-small { min-height: 36px; padding: 7px 12px; border-radius: 8px; font-size: 13px; }
.text-link { color: var(--brand-strong); font-weight: 700; text-decoration: none; }.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 60px; position: relative; background: radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 28%), radial-gradient(circle at 40% 100%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%); }
.hero h1 { max-width: 720px; margin: 14px 0 22px; font-size: clamp(48px, 5.5vw, 78px); line-height: 1.01; letter-spacing: -.055em; }
.hero-lede { max-width: 680px; margin: 0; color: var(--text-secondary); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; gap: 36px; margin: 42px 0 0; }
.hero-stats div { min-width: 100px; }
.hero-stats dt { font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.hero-stats dd { margin: 4px 0 0; color: var(--text-muted); font-size: 12px; }
.hero-visual { min-height: 470px; position: relative; display: grid; place-items: center; perspective: 1000px; }
.hero-visual::before { content: ""; position: absolute; width: 320px; height: 320px; background: linear-gradient(135deg, #6e5bd7, #168dca); border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%; filter: blur(.1px); opacity: .88; animation: morph 12s ease-in-out infinite alternate; }
.orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 50%; animation: rotate 18s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 9px; height: 9px; top: 14%; left: 14%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.orbit-one { width: 430px; height: 430px; }.orbit-two { width: 365px; height: 365px; animation-direction: reverse; animation-duration: 24s; }
.hero-code-card { position: relative; z-index: 2; width: min(420px, 94%); transform: rotateY(-5deg) rotateX(2deg); overflow: hidden; }
.glass-card { background: rgba(16, 20, 32, .92); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; box-shadow: 0 35px 70px rgba(17, 13, 60, .35); backdrop-filter: blur(16px); }
.window-dots { height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 15px; color: #8791a6; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6a6a; }.window-dots i:nth-child(2){background:#ffc857}.window-dots i:nth-child(3){background:#45ce86}.window-dots span{margin-left:8px}
.hero-code-card pre { margin: 0; padding: 25px; color: #e4e8f1; font: 13px/1.8 var(--font-mono); white-space: pre-wrap; }
.code-keyword { color: #c99cff; }.code-string { color: #9be3a7; }
.floating-chip { position: absolute; z-index: 4; display: grid; place-items: center; min-width: 54px; height: 42px; padding: 0 12px; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; box-shadow: var(--shadow-2); font-size: 13px; font-weight: 800; animation: float 5s ease-in-out infinite; }
.chip-csharp { top: 13%; left: 3%; background: #7b4fc7; }.chip-cloud { top: 20%; right: -1%; background:#1473b7; animation-delay:-1.5s}.chip-data { bottom: 12%; left: 8%; background:#168f78;animation-delay:-3s}

/* Home search and blobs */
.home-search-card { display: grid; grid-template-columns: 1fr minmax(310px, 1fr); align-items: center; gap: 16px 40px; padding: 26px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.home-search-card h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.025em; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field-large input { height: 52px; padding: 0 48px 0 42px; }
.search-field-large kbd { position: absolute; right: 14px; }
.home-search-results { display: none; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.home-search-results.has-results { display: grid; }
.home-search-results .search-result { border: 1px solid transparent; }
.blob-cloud { min-height: 540px; position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: clamp(10px, 1.6vw, 24px); padding: 50px max(12px, 3vw); overflow: hidden; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 52%); border-radius: var(--radius-xl); }
.blob-cloud::before { content:""; position:absolute; inset: 8% 10%; z-index:-1; border:1px dashed color-mix(in srgb, var(--border-strong) 65%, transparent); border-radius:50%; animation:rotate 45s linear infinite; }
.tech-blob { --blob-color: var(--brand); width: var(--blob-size, 118px); height: var(--blob-size, 118px); flex: 0 0 auto; display: grid; place-items: center; padding: 16px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--blob-color) 82%, white), var(--blob-color)); border: 1px solid color-mix(in srgb, var(--blob-color) 70%, white); border-radius: 44% 56% 62% 38% / 45% 42% 58% 55%; box-shadow: 0 14px 28px color-mix(in srgb, var(--blob-color) 22%, transparent), inset 0 1px 1px rgba(255,255,255,.35); text-align: center; text-decoration: none; font-size: clamp(11px, 1.1vw, 14px); font-weight: 750; line-height: 1.2; animation: blobFloat var(--float-speed, 7s) ease-in-out infinite alternate; transition: transform .3s var(--ease), filter .3s, box-shadow .3s; }
.tech-blob:nth-child(3n+2){border-radius:58% 42% 47% 53% / 37% 54% 46% 63%;animation-delay:-2s}.tech-blob:nth-child(4n+3){border-radius:36% 64% 55% 45% / 61% 35% 65% 39%;animation-delay:-4s}
.tech-blob:hover, .tech-blob:focus-visible { z-index: 2; transform: translateY(-10px) scale(1.08) rotate(-2deg); filter: saturate(1.12); box-shadow: 0 22px 45px color-mix(in srgb, var(--blob-color) 35%, transparent); }

/* Cards and roadmap */
.technology-card { padding: 25px; overflow: hidden; position: relative; }
.technology-card::after { content:""; position:absolute; width:110px; height:110px; top:-55px; right:-45px; background:var(--topic-color); opacity:.08; border-radius:50%; }
.technology-card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--topic-color, var(--brand)); border-radius: 14px; box-shadow: 0 8px 18px color-mix(in srgb, var(--topic-color, var(--brand)) 25%, transparent); font-weight: 800; }
.card-kicker { color: var(--text-muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.technology-card h3, .github-card h3 { margin: 8px 0; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.technology-card p, .repo-description { color: var(--text-secondary); font-size: 14px; }
.technology-card p { min-height: 68px; margin: 0 0 20px; }
.card-link { color: var(--brand-strong); text-decoration: none; font-size: 14px; font-weight: 750; }
.technology-card:hover .card-link span { display:inline-block; transform:translateX(4px) }
.github-card { display: flex; flex-direction: column; padding: 24px; }
.github-card-head { display:flex; justify-content:space-between; align-items:center; }
.repo-icon { width: 35px; height:35px; display:grid; place-items:center; color:var(--brand-strong); background:var(--brand-soft); border-radius:10px; }
.repo-icon::before { content:"<>"; font: 700 12px var(--font-mono); }
.repo-visibility { padding: 3px 8px; color:var(--text-muted); border:1px solid var(--border); border-radius:99px; font-size:10px; font-weight:700; text-transform:uppercase; }
.repo-description { flex:1; min-height:88px; margin:4px 0 16px; }
.tech-pills,.tag-list { display:flex; flex-wrap:wrap; gap:6px; }
.tech-pills span { padding:4px 8px; color:var(--brand-strong); background:var(--brand-soft); border-radius:6px; font-size:11px; font-weight:700; }
.tag-list { margin-top:10px; }.tag-list span { color:var(--text-muted); font-size:11px; }.tag-list span::before{content:"#"}
.repo-actions { display:flex; gap:8px; margin-top:20px; padding-top:18px; border-top:1px solid var(--border); }
.roadmap-section { background: linear-gradient(180deg, var(--canvas), color-mix(in srgb, var(--brand-soft) 45%, var(--canvas))); }
.roadmap-list { max-width: 940px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin:50px auto 0; padding:0; list-style:none; counter-reset:roadmap; }
.roadmap-step { position:relative; padding:0 14px; text-align:center; counter-increment:roadmap; }
.roadmap-step::before { content:counter(roadmap, decimal-leading-zero); width:50px;height:50px;display:grid;place-items:center;margin:0 auto 18px;color:#fff;background:var(--step-color,var(--brand));border:6px solid var(--canvas);border-radius:50%;box-shadow:0 0 0 1px var(--border),var(--shadow-1);font-size:12px;font-weight:800; }
.roadmap-step:not(:last-child)::after { content:""; position:absolute; z-index:-1; top:25px; left:60%; width:80%; height:2px; background:var(--border-strong); }
.roadmap-step h3{margin:0 0 5px;font-size:16px}.roadmap-step p{margin:0;color:var(--text-muted);font-size:12px}.roadmap-step a{text-decoration:none}.roadmap-step a:hover h3{color:var(--brand-strong)}
.latest-list { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.latest-item { display:flex; align-items:center; gap:15px; padding:18px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); text-decoration:none; transition:.2s; }
.latest-item:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--shadow-1)}
.latest-date { min-width:52px; color:var(--brand-strong); font-size:11px; font-weight:800; text-transform:uppercase; }
.latest-item strong{display:block;font-size:14px}.latest-item small{color:var(--text-muted)}

/* Topic article */
.article-main { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:54px; padding:38px clamp(28px,5vw,72px) 90px; }
.article { min-width:0; max-width:860px; }
.breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 26px; color:var(--text-muted); font-size:13px; }
.breadcrumb a{color:var(--text-secondary);text-decoration:none}.breadcrumb a:hover{color:var(--brand-strong);text-decoration:underline}.breadcrumb-separator{opacity:.55}
.article-header { margin-bottom:40px; padding-bottom:34px; border-bottom:1px solid var(--border); }
.topic-labels { display:flex;flex-wrap:wrap;align-items:center;gap:12px; }
.topic-badge { display:inline-flex;align-items:center;gap:9px;color:var(--topic-color,var(--brand));font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.topic-badge::before{content:"";width:9px;height:9px;background:currentColor;border-radius:50%;box-shadow:0 0 0 5px color-mix(in srgb,currentColor 13%,transparent)}
.topic-status { display:inline-flex;padding:5px 9px;border:1px solid var(--border);border-radius:99px;color:var(--text-muted);background:var(--surface-subtle);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase; }
.topic-status-complete { color:var(--success);border-color:color-mix(in srgb,var(--success) 40%,var(--border));background:color-mix(in srgb,var(--success) 9%,var(--surface)); }
.topic-status-in-progress { color:var(--warning);border-color:color-mix(in srgb,var(--warning) 40%,var(--border));background:color-mix(in srgb,var(--warning) 9%,var(--surface)); }
.article-header h1 { margin:12px 0 16px;font-size:clamp(42px,5vw,66px);line-height:1.05;letter-spacing:-.05em; }
.article-lede { margin:0; color:var(--text-secondary); font-size:20px; line-height:1.65; }
.article-meta { display:flex;flex-wrap:wrap;gap:18px;margin-top:24px;color:var(--text-muted);font-size:12px; }
.article-section { margin-top:54px; scroll-margin-top:calc(var(--nav-height) + 24px); }
.article-section > h2 { margin:0 0 20px; font-size:30px; line-height:1.2; letter-spacing:-.03em; }
.article-section > h2::before { content:""; display:block; width:34px; height:4px; margin-bottom:13px; background:var(--topic-color,var(--brand)); border-radius:4px; }
.article-section > p { color:var(--text-secondary); }
.official-resources { display:grid;gap:10px;margin-top:22px;padding:16px 18px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-md); }
.official-resources > strong { color:var(--text);font-size:12px;letter-spacing:.08em;text-transform:uppercase; }
.official-resource-links { display:flex;flex-wrap:wrap;gap:8px; }
.concept-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:22px 0; }
.concept-card { padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md); }
.concept-card strong{display:block;margin-bottom:5px;font-size:15px}.concept-card p{margin:0;color:var(--text-secondary);font-size:13.5px}
.architecture-placeholder { position:relative;overflow:hidden;padding:30px;background:linear-gradient(145deg,var(--surface),var(--surface-subtle));border:1px dashed var(--border-strong);border-radius:var(--radius-lg); }
.architecture-placeholder::before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--border) 1px,transparent 1px);background-size:18px 18px;opacity:.55}
.diagram-flow { position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px; }
.diagram-node { min-width:110px;max-width:160px;padding:17px 12px;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-top:4px solid var(--node-color,var(--brand));border-radius:12px;box-shadow:var(--shadow-1);text-align:center;font-size:12px;font-weight:700; }
.diagram-arrow { color:var(--text-muted);font-size:22px; }
.diagram-caption{position:relative;margin:16px 0 0;color:var(--text-muted);text-align:center;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
.code-block { margin:22px 0; overflow:hidden; background:var(--code-bg); border:1px solid color-mix(in srgb,var(--border) 40%,#000); border-radius:var(--radius-md); box-shadow:var(--shadow-2); }
.code-toolbar { height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 18px;color:#98a4b8;background:rgba(255,255,255,.035);border-bottom:1px solid rgba(255,255,255,.08);font-size:11px;text-transform:uppercase;letter-spacing:.08em; }
.copy-button { padding:5px 9px;color:#bdc6d5;background:transparent;border:1px solid rgba(255,255,255,.14);border-radius:6px;cursor:pointer;font-size:11px;text-transform:none;letter-spacing:0; }.copy-button:hover{color:#fff;background:rgba(255,255,255,.08)}
.code-block pre { margin:0;overflow:auto;padding:24px;color:var(--code-text);font:13px/1.75 var(--font-mono);tab-size:2; }
.code-block code { font-family:inherit; }.tok-keyword{color:#c792ea}.tok-string{color:#addb67}.tok-comment{color:#69788c;font-style:italic}.tok-number{color:#f78c6c}.tok-type{color:#82aaff}
.practice-list { display:grid;gap:11px;margin:18px 0;padding:0;list-style:none; }
.practice-list li { position:relative;padding:15px 18px 15px 47px;background:var(--surface);border:1px solid var(--border);border-radius:11px;color:var(--text-secondary);font-size:14px; }
.practice-list li::before { content:"✓";position:absolute;left:16px;top:14px;width:21px;height:21px;display:grid;place-items:center;color:var(--success);background:color-mix(in srgb,var(--success) 12%,transparent);border-radius:50%;font-size:12px;font-weight:900; }
.article-section > h3 { margin:30px 0 12px;font-size:20px; }
.plain-list { display:grid;gap:9px;margin:0;padding-left:22px;color:var(--text-secondary); }
.decision-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.decision-panel { padding:22px;background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--decision-color);border-radius:var(--radius-md); }
.decision-panel h3 { margin:0 0 12px;color:var(--decision-color);font-size:17px; }
.decision-panel ul { display:grid;gap:10px;margin:0;padding-left:20px;color:var(--text-secondary);font-size:14px; }
.decision-use { --decision-color:var(--success); }.decision-avoid { --decision-color:var(--warning); }
.step-list { display:grid;gap:12px;margin:22px 0;padding:0;list-style:none;counter-reset:implementation-step; }
.step-list li { display:grid;grid-template-columns:44px 1fr;gap:15px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md); }
.step-list li > span { width:38px;height:38px;display:grid;place-items:center;color:#fff;background:var(--topic-color,var(--brand));border-radius:10px;font-size:11px;font-weight:900; }
.step-list strong { display:block;margin-bottom:5px;font-size:15px; }.step-list p { margin:0;color:var(--text-secondary);font-size:14px; }
.troubleshooting-list { display:grid;gap:14px; }
.troubleshooting-card { padding:20px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--warning);border-radius:0 var(--radius-md) var(--radius-md) 0; }
.troubleshooting-card h3 { margin:0 0 10px;font-size:16px; }.troubleshooting-card p { margin:7px 0;color:var(--text-secondary);font-size:14px; }.troubleshooting-card p:last-child { margin-bottom:0; }
.checklist { display:grid;gap:10px;margin:0;padding:0;list-style:none; }
.checklist li { position:relative;padding:14px 17px 14px 44px;background:color-mix(in srgb,var(--success) 6%,var(--surface));border:1px solid color-mix(in srgb,var(--success) 24%,var(--border));border-radius:10px;color:var(--text-secondary);font-size:14px; }
.checklist li::before { content:"□";position:absolute;left:17px;top:12px;color:var(--success);font-size:19px;font-weight:900; }
.callout { display:flex;gap:14px;margin:24px 0;padding:18px 20px;background:var(--callout-bg,var(--accent-soft));border:1px solid color-mix(in srgb,var(--callout-color,var(--accent)) 28%,var(--border));border-left:4px solid var(--callout-color,var(--accent));border-radius:0 var(--radius-md) var(--radius-md) 0; }
.callout-icon{width:25px;height:25px;flex:0 0 auto;display:grid;place-items:center;color:#fff;background:var(--callout-color,var(--accent));border-radius:50%;font-size:12px;font-weight:900}.callout-icon::before{content:"i"}.callout strong{display:block;color:var(--callout-color,var(--accent));font-size:12px;text-transform:uppercase;letter-spacing:.08em}.callout p{margin:3px 0 0;color:var(--text-secondary);font-size:14px}.callout-tip{--callout-color:var(--success);--callout-bg:color-mix(in srgb,var(--success) 8%,var(--surface))}.callout-warning{--callout-color:var(--warning);--callout-bg:color-mix(in srgb,var(--warning) 8%,var(--surface))}.callout-warning .callout-icon::before{content:"!"}.callout-note{--callout-color:var(--accent);--callout-bg:color-mix(in srgb,var(--accent) 8%,var(--surface))}
.faq-list{display:grid;gap:10px}.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.faq-item summary{display:flex;justify-content:space-between;gap:20px;padding:18px 20px;cursor:pointer;font-weight:700;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item[open]{border-color:color-mix(in srgb,var(--topic-color,var(--brand)) 55%,var(--border));box-shadow:var(--shadow-1)}.faq-chevron{color:var(--brand);font-size:21px;line-height:1;transition:transform .2s}.faq-item[open] .faq-chevron{transform:rotate(45deg)}.faq-answer{padding:0 20px 19px;color:var(--text-secondary);font-size:14px}.faq-answer p{margin:0}
.article-sample .github-card { max-width:580px; }
.sample-commands { display:grid;gap:8px;margin:18px 0 0;padding:14px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:10px; }
.sample-commands div { display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:start; }.sample-commands dt { color:var(--text-muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase; }.sample-commands dd { min-width:0;margin:0; }.sample-commands code { display:block;overflow:auto;color:var(--text-secondary);font:11px/1.5 var(--font-mono);white-space:nowrap; }
.article-nav { display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:60px;padding-top:28px;border-top:1px solid var(--border); }
.article-nav a{display:flex;flex-direction:column;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:12px;text-decoration:none}.article-nav a:last-child{text-align:right}.article-nav a:hover{border-color:var(--brand);box-shadow:var(--shadow-1)}.article-nav small{color:var(--text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.article-nav strong{font-size:14px}
.toc { position:sticky;top:calc(var(--nav-height) + 20px);max-height:calc(100vh - var(--nav-height) - 40px);overflow:auto;align-self:start;padding-left:18px;border-left:1px solid var(--border); }
.toc-title{margin:0 0 12px;color:var(--text-muted);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.toc-list{display:grid;gap:3px;margin:0;padding:0;list-style:none}.toc-link{display:block;padding:5px 8px;color:var(--text-muted);border-radius:6px;text-decoration:none;font-size:12px;line-height:1.35}.toc-link:hover,.toc-link.is-active{color:var(--brand-strong);background:var(--brand-soft)}

/* Footer and utilities */
.site-footer { max-width:var(--content-max);margin:0 auto;padding:38px clamp(28px,5vw,76px) 24px;background:var(--surface);border-top:1px solid var(--border); }
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px}.footer-brand p{max-width:400px;margin:14px 0;color:var(--text-secondary);font-size:14px}.footer-heading{display:block;margin-bottom:12px;font-size:12px;text-transform:uppercase;letter-spacing:.09em}.footer-links{display:grid;gap:7px}.footer-links a{width:max-content;color:var(--text-secondary);text-decoration:none;font-size:13px}.footer-links a:hover{color:var(--brand-strong);text-decoration:underline}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:34px;padding-top:18px;color:var(--text-muted);border-top:1px solid var(--border);font-size:12px}.footer-bottom p{margin:0}
.back-to-top { position:fixed;z-index:500;right:22px;bottom:22px;width:44px;height:44px;display:grid;place-items:center;color:#fff;background:var(--brand);border:0;border-radius:50%;box-shadow:var(--shadow-2);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:.25s var(--ease); }.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:var(--brand-strong);transform:translateY(-2px)}
.reveal { opacity:0; transform:translateY(16px); transition:opacity .55s var(--ease),transform .55s var(--ease); }.reveal.is-visible{opacity:1;transform:none}
.error-panel{margin:50px;padding:28px;background:color-mix(in srgb,var(--danger) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--danger) 30%,var(--border));border-radius:var(--radius-lg)}

@keyframes rotate { to { transform:rotate(360deg); } }
@keyframes morph { 0%{border-radius:42% 58% 63% 37%/45% 42% 58% 55%;transform:rotate(-4deg)} 50%{border-radius:61% 39% 43% 57%/56% 62% 38% 44%;transform:rotate(3deg) scale(1.04)} 100%{border-radius:37% 63% 54% 46%/38% 52% 48% 62%;transform:rotate(-2deg)} }
@keyframes float { 50%{transform:translateY(-12px) rotate(2deg)} }
@keyframes blobFloat { to{transform:translateY(-11px) rotate(3deg)} }

@media (max-width: 1180px) {
  :root{--sidebar-width:235px}.top-links{display:none}.hero{grid-template-columns:1fr;gap:25px;padding-top:70px}.hero-copy{max-width:820px}.hero-visual{min-height:430px}.card-grid-3{grid-template-columns:repeat(2,1fr)}.latest-list{grid-template-columns:1fr}.article-main{grid-template-columns:minmax(0,1fr)}.toc{display:none}
}
@media (max-width: 860px) {
  :root{--nav-height:62px}.topbar-inner{padding:0 16px;gap:10px}.menu-button{display:grid}.nav-search{width:auto;flex:1}.nav-search input{padding-right:14px}.nav-search kbd{display:none}.site-shell{display:block}.sidebar{position:fixed;top:var(--nav-height);left:0;z-index:800;width:min(310px,86vw);height:calc(100vh - var(--nav-height));transform:translateX(-105%);transition:transform .28s var(--ease);box-shadow:var(--shadow-3)}.sidebar.is-open{transform:translateX(0)}.sidebar-overlay{position:fixed;inset:var(--nav-height) 0 0;z-index:750;background:rgba(5,10,20,.52);backdrop-filter:blur(3px)}.sidebar-overlay.is-open{display:block}.hero{min-height:auto}.section-pad{padding:68px 28px}.section-pad-sm{padding-inline:28px}.home-search-card{grid-template-columns:1fr}.home-search-results{grid-template-columns:1fr 1fr}.roadmap-list{grid-template-columns:repeat(2,1fr);gap:34px 0}.roadmap-step:nth-child(2)::after{display:none}.article-main{padding-inline:28px}.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}
}
@media (max-width: 600px) {
  .brand-word{display:none}.topbar-inner{gap:6px}.nav-search input{font-size:13px}.section-pad{padding:56px 18px}.section-pad-sm{padding-inline:18px}.hero{padding-top:50px}.hero h1{font-size:43px}.hero-lede{font-size:17px}.hero-stats{gap:18px;justify-content:space-between}.hero-stats div{min-width:0}.hero-visual{min-height:350px}.hero-visual::before{width:240px;height:240px}.orbit-one{width:320px;height:320px}.orbit-two{width:275px;height:275px}.hero-code-card{width:96%}.hero-code-card pre{padding:18px;font-size:11px}.floating-chip{height:36px;min-width:46px;font-size:11px}.home-search-card{padding:22px 18px}.home-search-results{grid-template-columns:1fr}.split-heading{display:block}.split-heading>a{display:inline-block;margin-top:18px}.blob-cloud{min-height:480px;padding:30px 8px}.tech-blob{--blob-size:90px!important}.card-grid-3{grid-template-columns:1fr}.roadmap-list{grid-template-columns:1fr;gap:28px}.roadmap-step{display:grid;grid-template-columns:60px 1fr;text-align:left}.roadmap-step::before{grid-row:1/3;margin:0}.roadmap-step::after{display:none}.latest-list{grid-template-columns:1fr}.concept-grid,.decision-grid{grid-template-columns:1fr}.article-main{padding:24px 18px 70px}.article-header h1{font-size:42px}.article-lede{font-size:17px}.diagram-flow{flex-direction:column}.diagram-arrow{transform:rotate(90deg)}.diagram-node{width:min(240px,90%)}.step-list li{grid-template-columns:38px 1fr;padding:15px}.article-nav{grid-template-columns:1fr}.article-nav a:last-child{text-align:left}.footer-inner{grid-template-columns:1fr;gap:28px}.footer-brand{grid-column:auto}.footer-bottom{display:block}.footer-bottom p+p{margin-top:5px}.repo-description{min-height:0}
}
@media (prefers-reduced-motion: reduce) {
  html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}
}
@media print {
  :root{--canvas:#fff;--surface:#fff;--text:#000;--text-secondary:#333;--border:#bbb;color-scheme:light}.topbar,.sidebar,.toc,.site-footer,.back-to-top,.article-nav,.copy-button{display:none!important}.site-shell,.article-main{display:block;max-width:none}.article-main{padding:0}.article{max-width:none}.article-section{break-inside:avoid}.code-block{box-shadow:none;border-color:#555}.reveal{opacity:1;transform:none}a{color:#000;text-decoration:none}a[href^="http"]::after{content:" (" attr(href) ")";font-size:10px}
}
