:root {
  color-scheme: dark;
  --bg: #070b17;
  --header: #0b1020;
  --panel: #11182a;
  --panel-raised: #161f34;
  --panel-soft: #101727;
  --line: #26324a;
  --line-soft: #1d2840;
  --text: #eef3ff;
  --muted: #9ba8be;
  --faint: #6f7e99;
  --button-text: #07111d;
  --brand-mark: #ffd166;
  --brand-mark-glow: rgb(255 209 102 / 35%);
  --good: #48d4a2;
  --warn: #e7b33e;
  --danger: #e56c82;
  --shadow: 0 10px 26px rgb(0 0 0 / 18%);
}

:root[data-theme="day"] {
  color-scheme: light;
  --bg: #edf1f6;
  --header: #ffffff;
  --panel: #ffffff;
  --panel-raised: #f7f9fc;
  --panel-soft: #f7f9fc;
  --line: #cfd8e5;
  --line-soft: #e1e7ee;
  --text: #132036;
  --muted: #526078;
  --faint: #71809a;
  --button-text: #07111d;
  --brand-mark: #b45309;
  --brand-mark-glow: transparent;
  --shadow: 0 8px 20px rgb(29 47 76 / 8%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: color-mix(in srgb, var(--accent) 42%, transparent); color: var(--text); }

.skip-link { position: fixed; z-index: 100; top: -50px; left: 16px; padding: 8px 12px; color: #07111d; background: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, 1070px); margin: 0 auto; }
.site-header .container, .site-footer .container { width: min(100% - 80px, 1580px); }
.page .container { width: min(100% - 64px, 2400px); }

.site-header { position: sticky; z-index: 20; top: 0; background: color-mix(in srgb, var(--header) 95%, transparent); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(12px); }
.header-inner { position: relative; min-height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; font-family: Anton, Impact, sans-serif; font-size: 18.88px; font-weight: 400; line-height: 1.7; letter-spacing: .01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); }
.brand b { margin-left: 3px; font-size: 13.6px; color: var(--brand-mark); text-shadow: 0 0 9px var(--brand-mark-glow); font-family: Anton, sans-serif; font-weight: 400; vertical-align: middle; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav > a, .nav-dropdown > summary { min-height: 42px; display: inline-flex; align-items: center; padding: 0 9px; color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; transition: color 160ms ease, background 160ms ease; }
.nav > a:hover, .nav > a:focus-visible, .nav-dropdown > summary:hover { color: var(--text); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary span { margin-left: 4px; color: var(--faint); font-size: 14px; }
.nav-dropdown > div { position: absolute; top: 42px; left: 0; display: grid; min-width: 155px; padding: 6px; background: var(--panel-raised); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.nav-dropdown:not([open]) > div { display: none; }
.nav-dropdown > div a { padding: 6px 8px; color: var(--muted); font-size: 11px; border-radius: 4px; }
.nav-dropdown > div a:hover, .nav-dropdown > div a:focus-visible { color: var(--text); background: var(--panel); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.locale-switcher { position: relative; }
.locale-switcher > summary { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; max-width: 118px; padding: 0 8px; overflow: hidden; color: var(--muted); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-family: "IBM Plex Mono", monospace; font-size: 10px; line-height: 1; list-style: none; text-overflow: ellipsis; white-space: nowrap; }
.locale-switcher > summary::-webkit-details-marker { display: none; }
.locale-switcher > summary span { color: var(--faint); }
.locale-switcher > summary:hover, .locale-switcher > summary:focus-visible { color: var(--text); border-color: var(--accent); }
.locale-switcher > div { position: absolute; z-index: 10; top: 42px; right: 0; display: grid; min-width: 164px; max-height: 330px; overflow-y: auto; padding: 6px; background: var(--panel-raised); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
.locale-switcher > div a { padding: 7px 8px; color: var(--muted); border-radius: 4px; font-size: 10px; line-height: 1.35; }
.locale-switcher > div a:hover, .locale-switcher > div a:focus-visible, .locale-switcher > div a[aria-current="page"] { color: var(--text); background: var(--panel); }
.locale-switcher:not([open]) > div { display: none; }
.icon-btn, .mobile-menu { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--muted); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 9px; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.icon-btn:hover, .icon-btn:focus-visible { color: var(--text); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.play-compact { min-height: 28px; padding: 4px 9px; color: var(--button-text); background: var(--accent); border-radius: 5px; font-family: "Barlow Condensed", sans-serif; font-size: 12px; font-weight: 800; }
.mobile-menu { display: none; gap: 3px; }
.mobile-menu span { display: block; width: 13px; height: 1px; background: currentColor; }

.page { min-height: 78vh; padding: 36px 0 46px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 22vw, 448px); gap: clamp(36px, 2.6vw, 54px); align-items: start; }
.article-main { min-width: 0; }
.page-header { position: relative; padding: 7px 0 24px; }
.home-header { padding-bottom: 36px; }
.kicker { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 6px 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent); border-radius: 999px; font-family: "JetBrains Mono", monospace; font-size: 11.84px; font-weight: 600; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; }
.kicker > span { display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
h1, h2, h3 { font-family: Anton, Arial Narrow, sans-serif; letter-spacing: .01em; }
h1 { max-width: 650px; margin-top: 0; font-size: clamp(35px, 3.8vw, 78px); font-weight: 400; line-height: 1.15; text-wrap: balance; }
.home-header h1 { max-width: 58%; font-size: clamp(44.8px, 3.8vw, 78px); }
.hero-lead { max-width: 720px; margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 43.36px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 1px solid transparent; border-radius: 11px; font-family: Manrope, sans-serif; font-size: 15.36px; font-weight: 700; line-height: 1; transition: filter 160ms ease, transform 160ms ease, background 160ms ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { color: var(--button-text); background: var(--accent); }
.btn-secondary { color: var(--text); background: var(--panel-raised); border-color: var(--line); }
.btn-ghost { color: var(--text); background: color-mix(in srgb, var(--panel-raised) 80%, transparent); border-color: var(--line); }
.crumbs { display: flex; gap: 6px; align-items: center; margin-top: 14px; color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 9px; overflow: hidden; white-space: nowrap; }
.crumbs a { color: var(--accent); }
.crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }

.panel, .source-note { margin-top: 12px; padding: 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 7px; box-shadow: 0 1px 0 rgb(255 255 255 / 2%) inset; }
.block-lead { margin-top: 0; padding: 26px; }
.prose p, .section > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--text); }
.prose a, .section a, .source-note a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }
.section { padding: 17px; }
.section-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.section-heading > span { width: 3px; height: 15px; background: var(--accent); border-radius: 2px; }
.section-heading h2 { font-size: 22px; line-height: 1; }
.section-intro { margin-bottom: 13px; color: var(--muted); font-size: 11px; }
.home-overview { padding: 26px; }
.home-overview .section-heading { margin-bottom: 18px; }
.home-overview .section-heading > span { width: 5px; height: 36px; }
.home-overview .section-heading h2 { font-size: clamp(32px, 2.8vw, 54px); line-height: 1; }
.home-overview p + p { margin-top: 18px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.topic-tile { min-height: 91px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 12px; gap: 7px; align-items: start; padding: 10px; background: color-mix(in srgb, var(--category) 9%, var(--panel-raised)); border: 1px solid color-mix(in srgb, var(--category) 45%, var(--line)); border-left: 3px solid var(--category); border-radius: 6px; transition: transform 160ms ease, background 160ms ease; }
.topic-tile:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--category) 16%, var(--panel-raised)); }
.topic-mark { display: inline-grid; place-items: center; width: 25px; height: 25px; color: var(--category); background: color-mix(in srgb, var(--category) 17%, transparent); border-radius: 5px; font-family: "IBM Plex Mono", monospace; font-size: 15px; }
.topic-tile strong { display: block; color: var(--text); font-family: "Barlow Condensed", sans-serif; font-size: 17px; line-height: 1; }
.topic-tile small { display: -webkit-box; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.topic-tile > b { align-self: center; color: var(--category); font-size: 14px; }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li > b { width: 20px; height: 20px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent); border-radius: 5px; font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 500; }
.steps h3 { font-size: 17px; line-height: 1.1; }
.steps p { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.steps.compact li { padding: 9px 0; }

.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) 125px; gap: 16px; align-items: center; }
.split-panel .section-heading { margin-bottom: 8px; }
.metric-link { min-height: 82px; display: grid; align-content: center; gap: 1px; padding: 12px; color: var(--text); background: color-mix(in srgb, var(--accent) 10%, var(--panel-raised)); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 6px; text-align: center; }
.metric-link strong { color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-size: 28px; line-height: 1; }
.metric-link span { color: var(--muted); font-size: 10px; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.status-grid > div { min-height: 80px; display: grid; align-content: center; gap: 2px; padding: 10px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 5px; }
.status-grid small { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 8px; text-transform: uppercase; }
.status-grid strong { color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-size: 24px; line-height: 1; }
.status-grid span { color: var(--muted); font-size: 9px; line-height: 1.3; }

.callout { margin-top: 12px; padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.callout-warning { --accent: var(--warn); }
.callout-info { --accent: #5bbfe2; }
.callout-title { display: flex; align-items: center; gap: 6px; color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-size: 17px; font-weight: 700; line-height: 1; }
.callout-title i { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; font-family: "IBM Plex Mono", monospace; font-size: 9px; font-style: normal; }
.callout p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.empty-state { min-height: 110px; display: flex; align-items: center; gap: 15px; padding: 14px; background: var(--panel-raised); border: 1px dashed color-mix(in srgb, var(--warn) 50%, var(--line)); border-radius: 6px; }
.empty-state > b { display: grid; place-items: center; flex: 0 0 auto; width: 53px; height: 53px; color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border-radius: 50%; font-family: "Barlow Condensed", sans-serif; font-size: 32px; }
.empty-state h3 { font-size: 18px; line-height: 1; }
.empty-state p { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check-grid > div { display: flex; gap: 9px; align-items: flex-start; padding: 10px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 5px; }
.check-grid b { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: 50%; font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.check-grid strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 18px; line-height: 1; }
.check-grid small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.home-planning > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.beginner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.beginner-grid article { display: flex; gap: 9px; align-items: flex-start; min-height: 102px; padding: 11px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 5px; }
.beginner-grid b { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: 50%; font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.beginner-grid strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 18px; line-height: 1; }
.beginner-grid small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.platform-table { display: grid; margin: 0; border-top: 1px solid var(--line-soft); }
.platform-table > div { display: grid; grid-template-columns: 118px minmax(92px, .55fr) minmax(0, 1.45fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.platform-table dt { color: var(--text); font-family: "Barlow Condensed", sans-serif; font-size: 18px; line-height: 1; }
.platform-table dd { display: contents; margin: 0; }
.platform-table b { color: var(--good); font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 500; }
.platform-table span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.status-list { display: grid; }
.status-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.status-list article:first-child { border-top: 0; padding-top: 0; }
.status-list article:last-child { padding-bottom: 0; }
.status-list h3 { font-size: 18px; line-height: 1; }
.status-list p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.status-list article > a { display: grid; place-items: center; width: 18px; height: 18px; color: var(--accent); font-size: 15px; }
.status-pill { padding: 3px 6px; border-radius: 999px; font-family: "IBM Plex Mono", monospace; font-size: 8px; white-space: nowrap; }
.status-pill.confirmed { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); border: 1px solid color-mix(in srgb, var(--good) 38%, transparent); }
.status-pill.pending { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 38%, transparent); }

.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.system-grid article { min-height: 122px; padding: 11px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 5px; }
.system-grid b { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.system-grid h3 { margin-top: 12px; font-size: 19px; line-height: 1; }
.system-grid p { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.facts-table { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-soft); }
.facts-table > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.facts-table > div:nth-child(odd) { margin-right: 14px; }
.facts-table dt { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 9px; }
.facts-table dd { margin: 0; color: var(--text); font-size: 10px; font-weight: 600; text-align: right; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guide-card { min-height: 166px; display: flex; flex-direction: column; padding: 15px; background: var(--panel); border: 1px solid var(--line-soft); border-top: 3px solid var(--accent); border-radius: 6px; box-shadow: var(--shadow); transition: transform 160ms ease, border-color 160ms ease; }
.guide-card:hover { transform: translateY(-2px); border-top-color: color-mix(in srgb, var(--accent) 75%, #fff); }
.guide-card > span { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 8px; text-transform: uppercase; }
.guide-card h2 { margin-top: 8px; font-size: 25px; line-height: .95; }
.guide-card p { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.guide-card b { margin-top: auto; padding-top: 11px; color: var(--accent); font-size: 10px; }
.home-guide-grid { margin-top: 12px; }

.guide-toc { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 16px; margin-top: 0; padding: 14px 16px; color: var(--muted); background: var(--panel); border: 1px solid var(--line-soft); border-radius: 7px; }
.guide-toc-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.guide-toc-heading b { display: grid; place-items: center; width: 25px; height: 25px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 50%; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.guide-toc ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; margin: 0; padding: 0; list-style: none; }
.guide-toc li { border-top: 1px solid var(--line-soft); }
.guide-toc a { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px; min-height: 35px; align-items: center; color: var(--muted); font-size: 10px; line-height: 1.3; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--accent); }
.guide-toc a b { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 8px; font-weight: 500; }
.guide-lead { margin-top: 12px; padding: 24px; }
.guide-lead .section-heading, .guide-topic .section-heading { margin-bottom: 16px; }
.guide-lead .section-heading h2, .guide-topic .section-heading h2 { font-size: 27px; line-height: 1.08; }
.guide-lead p, .guide-topic > p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.guide-lead p + p, .guide-topic > p + p { margin-top: 14px; }
.guide-video { padding: 17px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #05080f; border: 1px solid var(--line); border-radius: 6px; }
.video-embed iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.guide-video .section-intro { margin: 10px 0 0; line-height: 1.55; }
.guide-topic { padding: 22px; }
.guide-steps li { padding: 13px 0; }
.guide-steps h3 { font-size: 20px; }
.guide-steps p { font-size: 14px; line-height: 1.65; }
.guide-sources .section-intro { max-width: 780px; line-height: 1.55; }
.guide-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.guide-source-card { display: flex; flex-direction: column; min-height: 218px; padding: 14px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-left: 3px solid color-mix(in srgb, var(--accent) 75%, var(--line)); border-radius: 6px; }
.guide-source-card > div > span { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 8px; text-transform: uppercase; }
.guide-source-card h3 { margin-top: 5px; font-size: 21px; line-height: 1; }
.guide-source-card > div > p { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.guide-source-card dl { display: grid; gap: 4px; margin: 11px 0 0; }
.guide-source-card dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 7px; }
.guide-source-card dt { color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 8px; }
.guide-source-card dd { margin: 0; color: var(--text); font-size: 9px; line-height: 1.4; }
.guide-source-card > p { margin-top: 11px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.guide-source-card > a { margin-top: auto; padding-top: 10px; color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 9px; }
.guide-source-card > a b { font-size: 12px; }
.guide-related { margin-top: 12px; }

.planner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 16px; padding: 17px; }
.planner-copy > p { margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.planner-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.planner-fields label { display: grid; gap: 4px; color: var(--text); font-family: "Barlow Condensed", sans-serif; font-size: 16px; font-weight: 700; line-height: 1; }
.planner-fields label > span { color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 8px; font-weight: 400; }
.planner-fields input { width: 100%; height: 35px; padding: 5px 8px; color: var(--text); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 4px; font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.planner-actions { display: flex; gap: 7px; margin-top: 13px; }
.planner-actions .btn { min-height: 31px; padding: 5px 9px; }
.planner-result { display: grid; align-content: start; gap: 7px; padding: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--panel-raised)); border: 1px solid color-mix(in srgb, var(--accent) 47%, var(--line)); border-radius: 6px; }
.planner-result > small { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 8px; text-transform: uppercase; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); }
.result-row strong { font-family: "Barlow Condensed", sans-serif; font-size: 33px; line-height: .8; }
.result-row span { color: var(--muted); font-size: 9px; text-align: right; }
.result-row.highlight strong { color: var(--accent); }
.planner-result p { padding-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.formula-grid { display: grid; gap: 7px; }
.formula-grid > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.formula-grid > div:first-child { border-top: 0; padding-top: 0; }
.formula-grid strong { color: var(--text); font-family: "Barlow Condensed", sans-serif; font-size: 17px; line-height: 1; }
.formula-grid span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 9px; }

.timeline { display: grid; }
.timeline article { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 11px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.timeline article:first-child { padding-top: 0; border-top: 0; }
.timeline article:last-child { padding-bottom: 0; }
.timeline time { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: 9px; }
.timeline h3 { font-size: 19px; line-height: 1; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.48; }
.source-table { display: grid; }
.source-table article { display: grid; grid-template-columns: minmax(0, 1fr) 86px 39px 18px; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.source-table article:first-child { padding-top: 0; border-top: 0; }
.source-table article:last-child { padding-bottom: 0; }
.source-table h3 { font-size: 18px; line-height: 1; }
.source-table p { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.source-table article > span { color: var(--faint); font-size: 9px; }
.source-table article > b { text-align: center; font-family: "IBM Plex Mono", monospace; font-size: 8px; }
.confidence-high { color: var(--good); }
.confidence-low { color: var(--warn); }
.source-table article > a { color: var(--accent); font-size: 14px; }

.related-section { padding: 14px; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.related-list .rail-link { min-height: 64px; align-items: start; padding: 8px; }
.related-list .rail-link strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 16px; line-height: 1; }
.related-list .rail-link small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.source-note { padding: 13px 15px; border-left: 3px solid var(--accent); }
.source-note .section-heading { margin-bottom: 6px; }
.source-note .section-heading h2 { font-size: 18px; }
.source-note p { color: var(--muted); font-size: 10px; line-height: 1.5; }

.faq-section { padding: 0; overflow: hidden; }
.faq-section .section-heading { margin: 0; padding: 15px 17px; border-bottom: 1px solid var(--line-soft); }
.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; padding: 10px 17px; cursor: pointer; color: var(--text); font-family: "Barlow Condensed", sans-serif; font-size: 18px; font-weight: 600; line-height: 1; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary b { color: var(--accent); font-family: Inter, sans-serif; font-size: 15px; transition: transform 180ms ease; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-item > div { padding: 0 17px 13px; }
.faq-item p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.faq-item p a { color: var(--accent); }

.article-rail { min-width: 0; }
.rail-stack { display: grid; grid-template-columns: 1fr; grid-auto-rows: max-content; align-content: start; gap: 16px; position: sticky; top: 84px; height: calc(100vh - 100px); max-height: calc(100vh - 100px); padding: 0 2px 0 0; overflow-y: auto; }
.rail-stack::-webkit-scrollbar { width: 6px; }
.rail-stack::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.rail-stack::-webkit-scrollbar-track { background: transparent; }
.infobox, .rail-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow); }
.ib-figure { position: relative; margin: 0; overflow: hidden; }
.infobox-image { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.infobox-title { padding: 14px 18px 4px; }
.infobox-title small { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 11.2px; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; }
.infobox-title h2 { margin-top: 4px; font-size: 18.88px; line-height: 1.2; }
.infobox dl { margin: 12px 0 0; padding: 0; }
.infobox dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 18px; border-top: 1px solid var(--line-soft); }
.infobox dt { flex: 0 0 auto; color: var(--muted); font-family: Manrope, sans-serif; font-size: 14.4px; font-weight: 600; line-height: 1.7; }
.infobox dd { max-width: 72%; margin: 0; color: var(--text); font-family: "JetBrains Mono", monospace; font-size: 14.4px; font-weight: 700; line-height: 1.7; text-align: right; }
.block-button { width: calc(100% - 36px); margin: 14px 18px 18px; }
.rail-card { padding: 16px 18px; }
.rail-card h2, .rail-card h3 { margin: 0 0 12px; color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 11.52px; font-weight: 400; letter-spacing: .12em; line-height: 1.12; text-transform: uppercase; }
.video-facade { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; background: var(--panel-raised); border-radius: 14px; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video-facade span { position: absolute; inset: auto 14px 12px; color: #fff; font-family: "JetBrains Mono", monospace; font-size: 12px; line-height: 1.7; text-shadow: 0 1px 6px #000; }
.rail-link { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 9px 0; color: var(--text); border-top: 1px solid var(--line-soft); font-size: 14.72px; font-weight: 600; line-height: 1.7; }
.rail-link:first-of-type { border-top: 0; }
.rail-link:hover { color: var(--accent); }
.rail-link > b { margin-left: auto; color: var(--accent); font-size: 18px; text-align: right; }
.rail-link-action { color: var(--good); border-top: 0; font-weight: 700; }
.mini-dot { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 10px; box-shadow: none; }
.mini-dot.pink { --accent: #ec6fa6; }
.mini-dot.teal { --accent: #40cdbc; }
.mini-dot.green { --accent: #7ed86c; }
.mini-dot.blue { --accent: #6e95ee; }

.site-footer { padding: 28px 0 18px; background: var(--header); border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 20px; }
.footer-brand p { max-width: 190px; margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.footer-brand > a:last-child { display: inline-block; margin-top: 9px; color: var(--accent); font-size: 9px; }
.footer-grid nav { display: grid; align-content: start; gap: 4px; }
.footer-grid nav h2 { margin-bottom: 3px; color: var(--faint); font-family: "IBM Plex Mono", monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.footer-grid nav a { color: var(--muted); font-size: 9px; }
.footer-grid nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 8px; line-height: 1.45; }
.footer-bottom p { max-width: 520px; }
.footer-bottom > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; text-align: right; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

.faq-page { padding-top: 12px; }
.faq-breadcrumbs { display: flex; gap: 8px; align-items: center; color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 10px; line-height: 1.5; white-space: nowrap; overflow: hidden; }
.faq-breadcrumbs a { color: var(--accent); }
.faq-breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.faq-page-header { display: grid; gap: 10px; padding: 18px 0 0; }
.faq-page-header h1 { max-width: 560px; font-size: clamp(44.8px, 3.8vw, 78px); line-height: 1.15; }
.faq-page-header .hero-lead { max-width: 720px; }
.faq-page-columns { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 22vw, 448px); gap: 16px; align-items: start; margin-top: 32px; }
.faq-reading { display: grid; grid-template-columns: 234px minmax(0, 1fr); gap: 36px; align-items: start; min-width: 0; }
.faq-toc { position: sticky; top: 84px; padding: 14px 18px; color: var(--muted); background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; }
.faq-toc-heading { display: flex; justify-content: space-between; gap: 8px; align-items: start; padding-bottom: 13px; color: var(--faint); font-family: "JetBrains Mono", monospace; font-size: 11.52px; letter-spacing: .12em; line-height: 1.12; text-transform: uppercase; }
.faq-toc-heading b { display: grid; place-items: center; width: 36px; min-height: 36px; color: var(--faint); border: 1px solid var(--line); border-radius: 50%; font-size: 9px; font-weight: 400; letter-spacing: 0; text-align: center; text-transform: none; }
.faq-toc ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.faq-toc li { border-top: 1px solid var(--line-soft); }
.faq-toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0; padding: 9px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.faq-toc a:hover, .faq-toc a:focus-visible { color: var(--accent); }
.faq-toc a b { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 500; }
.faq-article { min-width: 0; }
.faq-lead { margin-top: 0; padding: 18px 20px; border-radius: 14px; }
.faq-lead p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.faq-lead p + p { margin-top: 14px; }
.faq-topic { margin-top: 12px; padding: 26px; border-radius: 16px; }
.faq-topic .section-heading h2 { font-size: 26px; line-height: 1.1; }
.faq-topic > p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.faq-topic > p + p { margin-top: 14px; }
.faq-topic strong { color: var(--text); }
.faq-topic a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }
.faq-facts { display: grid; margin-top: 18px; border-top: 1px solid var(--line-soft); }
.faq-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.faq-facts strong { color: var(--muted); font-size: 14px; }
.faq-facts span { color: var(--text); font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 600; line-height: 1.55; text-align: right; }
.faq-topic .steps { margin-top: 6px; }
.faq-topic .steps p { font-size: 14px; line-height: 1.6; }
.faq-topic .steps h3 { font-size: 22px; }
.faq-rail .rail-stack { height: calc(100vh - 100px); max-height: calc(100vh - 100px); }

@media (max-width: 1200px) {
  .page .container { width: min(100% - 56px, 1160px); }
  .content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
  .home-header { padding-bottom: 24px; }
}

@media (max-width: 900px) {
  .nav { gap: 0; }
  .nav > a, .nav-dropdown > summary { padding: 0 6px; font-size: 10px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .beginner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-toc { grid-template-columns: 1fr; gap: 10px; }
  .guide-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-page-columns { grid-template-columns: 1fr; }
  .faq-rail { margin-top: 12px; }
  .locale-switcher > summary { max-width: 76px; }
}

@media (max-width: 760px) {
  .container, .site-header .container, .site-footer .container, .page .container { width: min(100% - 28px, 560px); }
  .site-header { min-height: 52px; }
  .header-inner { min-height: 52px; }
  .mobile-menu { display: inline-grid; order: 2; margin-left: auto; }
  .header-tools { order: 3; margin-left: 0; }
  .play-compact { display: none; }
  .locale-switcher > summary { max-width: 72px; padding: 0 6px; }
  .nav { position: absolute; top: calc(100% + 1px); right: -14px; left: -14px; display: none; padding: 9px 14px 14px; background: var(--header); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: grid; }
  .nav > a, .nav-dropdown > summary { min-height: 39px; padding: 0; font-size: 12px; }
  .nav-dropdown > div { position: static; min-width: 0; margin: 0 0 4px; box-shadow: none; }
  .nav-dropdown > div a { padding: 6px 8px; font-size: 11px; }
  .content-grid { display: block; }
  .faq-page { padding-top: 10px; }
  .faq-page-header { padding-top: 14px; }
  .faq-page-header h1 { max-width: 100%; }
  .faq-page-columns { margin-top: 20px; }
  .faq-reading { display: block; }
  .faq-toc { position: static; margin-bottom: 12px; }
  .faq-lead p, .faq-topic > p { font-size: 15px; }
  .faq-topic { padding: 18px; }
  .faq-topic .section-heading h2 { font-size: 23px; }
  .faq-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .faq-facts span { text-align: left; }
  .article-rail { margin-top: 12px; }
  .rail-stack { position: static; grid-template-columns: 1fr; height: auto; max-height: none; overflow: visible; align-items: start; }
  .infobox { grid-row: auto; }
  .rail-card { height: 100%; }
  .page { padding: 20px 0 33px; }
  .page-header { padding-bottom: 18px; }
  h1, .home-header h1 { font-size: 38px; }
  .hero-lead { font-size: 12px; }
  .panel, .source-note { padding: 14px; }
  .section { padding: 15px; }
  .topic-grid, .guide-grid { grid-template-columns: 1fr; }
  .guide-toc { padding: 13px 14px; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-lead, .guide-topic { padding: 18px; }
  .guide-lead .section-heading h2, .guide-topic .section-heading h2 { font-size: 24px; }
  .guide-lead p, .guide-topic > p { font-size: 15px; }
  .guide-source-grid { grid-template-columns: 1fr; }
  .topic-tile { min-height: 72px; }
  .topic-tile small { -webkit-line-clamp: 2; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid > div { min-height: 66px; grid-template-columns: 1fr auto; align-items: center; }
  .status-grid small { grid-column: 1 / -1; }
  .split-panel { grid-template-columns: 1fr; }
  .metric-link { min-height: 56px; grid-template-columns: auto auto; justify-content: center; align-items: baseline; }
  .check-grid { grid-template-columns: 1fr; }
  .beginner-grid { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; }
  .system-grid article { min-height: 95px; }
  .facts-table { grid-template-columns: 1fr; }
  .facts-table > div:nth-child(odd) { margin-right: 0; }
  .facts-table > div { grid-template-columns: 1fr 1.2fr; }
  .platform-table > div { grid-template-columns: minmax(86px, .75fr) minmax(82px, .7fr) minmax(0, 1.5fr); gap: 8px; }
  .planner { grid-template-columns: 1fr; }
  .source-table article { grid-template-columns: minmax(0, 1fr) 55px 38px 16px; gap: 6px; }
  .source-table article > span { font-size: 8px; }
  .related-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 10px; }
  .footer-bottom > div { justify-content: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .container, .site-header .container, .site-footer .container, .page .container { width: min(100% - 24px, 560px); }
  .brand { font-size: 15px; }
  .brand img { width: 23px; height: 23px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .rail-stack { grid-template-columns: 1fr; }
  .planner-fields { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; gap: 4px; }
  .status-list article { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 7px; }
  .source-table article { grid-template-columns: minmax(0, 1fr) auto 35px 15px; }
  .source-table article > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
