  :root {
    --bg: #0A0B10;
    --bg-2: #0F1118;
    --panel: #11141C;
    --panel-2: #161A24;
    --line: rgba(170, 138, 82, 0.18);
    --line-soft: rgba(255, 255, 255, 0.06);
    --gold: #AA8A52;
    --gold-soft: rgba(170, 138, 82, 0.12);
    --gold-glow: rgba(170, 138, 82, 0.35);
    --mint: #4DECAD;
    --mint-soft: rgba(77, 236, 173, 0.12);
    --text: #E8E6E1;
    --text-dim: rgba(232, 230, 225, 0.68);
    --text-faint: rgba(232, 230, 225, 0.58);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
  body { min-height: 100dvh; font-family: 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: "zero" on; }
  .bg-grid {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px; opacity: 0.52; -webkit-mask-image: radial-gradient(ellipse at 50% 24%, black 28%, transparent 76%); mask-image: radial-gradient(ellipse at 50% 24%, black 28%, transparent 76%);
  }
  .bg-glow {
    position: fixed; pointer-events: none; z-index: 0; width: 760px; height: 760px; border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%); top: -280px; right: -220px; opacity: 0.2; filter: blur(44px);
  }
  .root { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 28px 72px; }
  .topbar {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 18px 0; margin-bottom: 28px; background: linear-gradient(180deg, var(--bg) 72%, rgba(10, 11, 16, 0.96));
    border-bottom: 1px solid var(--line-soft);
  }
  .brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
  .brand-sub { font-size: 10px; color: var(--text-faint); letter-spacing: 0.4em; text-transform: uppercase; white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--line); }
  .nav { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
  .nav a, .doc-link {
    color: var(--text-dim); text-decoration: none; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
    transition: color .15s, border-color .15s, background .15s;
  }
  .nav a { display: inline-flex; align-items: center; min-height: 28px; }
  .nav a:hover, .doc-link:hover { color: var(--gold); }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; scroll-behavior: auto !important; } }
  .nav a.active { color: var(--gold); }
  .lang-toggle {
    background: transparent; border: 1px solid var(--line); color: var(--gold);
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
    padding: 6px 11px; cursor: pointer; transition: color .15s, background .15s, border-color .15s;
  }
  .lang-toggle:hover { background: var(--gold); color: #000; border-color: var(--gold); }
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: end;
    border-bottom: 1px solid var(--line); padding: 58px 0 38px; margin-bottom: 34px;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
    font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 18px;
  }
  .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
  h1 { margin: 0; font-size: clamp(42px, 8vw, 86px); line-height: 0.9; letter-spacing: 0; text-transform: uppercase; }
  .hero p { max-width: 720px; margin: 24px 0 0; color: var(--text-dim); font-size: 18px; line-height: 1.6; }
  .status {
    border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); padding: 20px;
  }
  .status-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .status-row:last-child { border-bottom: 0; }
  .status-label { color: var(--text-faint); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; }
  .status-value { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-align: right; }
  .layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
  .toc {
    position: sticky; top: 100px; border-left: 1px solid var(--line); padding: 6px 0 6px 18px;
  }
  .toc-title { color: var(--text-faint); font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; margin: 0 0 14px; }
  .toc a { display: block; padding: 8px 0; color: var(--text-dim); text-decoration: none; font-size: 12px; line-height: 1.35; }
  .toc a:hover { color: var(--gold); }
  .notice {
    border: 1px solid rgba(77, 236, 173, 0.28); background: var(--mint-soft); color: var(--text);
    padding: 18px 20px; margin-bottom: 24px; font-size: 14px; line-height: 1.6;
  }
  article {
    border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,20,28,0.9), rgba(15,17,24,0.92));
    padding: clamp(24px, 5vw, 52px);
  }
  section { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line-soft); }
  section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  h2 { margin: 0 0 16px; color: var(--gold); font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; }
  p { color: var(--text-dim); font-size: 16px; line-height: 1.72; margin: 0 0 14px; }
  ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
  li { color: var(--text-dim); font-size: 15px; line-height: 1.65; padding-left: 22px; position: relative; }
  li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px; border: 1px solid var(--gold); background: var(--gold-soft); }
  strong { color: var(--text); font-weight: 700; }
  .doc-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
  .doc-switch a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 12px 16px;
    border: 1px solid var(--line); color: var(--gold); text-decoration: none; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 800;
  }
  .doc-switch a:hover { background: var(--gold); color: #000; }
  .footer {
    margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    color: var(--text-faint); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  }
  .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
  .footer-links a { color: var(--text-dim); text-decoration: none; }
  .footer-links a:hover { color: var(--gold); }
  @media (max-width: 860px) {
    .root { padding: 0 20px 52px; }
    /* Stacked, the bar is ~155px tall on a phone; pinning it would cover a fifth of the screen. */
    .topbar { position: static; align-items: flex-start; flex-direction: column; }
    .nav { justify-content: flex-start; }
    .hero { grid-template-columns: 1fr; padding-top: 28px; }
    .layout { grid-template-columns: 1fr; }
    .toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
    .toc-title { grid-column: 1 / -1; }
    article { padding: 24px; }
  }
  @media (max-width: 520px) {
    .brand-sub { white-space: normal; }
    .toc { grid-template-columns: 1fr; }
    h1 { font-size: 40px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

