    :root {
      --ink: #111111;
      --muted: #6b7280;
      --muted-2: #9ca3af;
      --line: #e5e7eb;
      --line-strong: #d1d5db;
      --surface: #ffffff;
      --surface-2: #f3f4f6;
      --surface-3: #f9fafb;
      --footer-bg: #111111;
      --footer-fg: #a1a1aa;
      --footer-fg-strong: #fafafa;
      --footer-mute: #71717a;
      --footer-line: #27272a;
      --cmd-fg: #e5e7eb;
      --cmd-accent: #a3e635;
      --font-display: "Cal Sans", "Plus Jakarta Sans", sans-serif;
      --font-body: "Plus Jakarta Sans", sans-serif;
      --font-mono: "JetBrains Mono", ui-monospace, monospace;
      --radius: 8px;
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --max: 820px;
      color-scheme: light;
    }
    html.dark {
      --ink: #fafafa;
      --muted: #a1a1aa;
      --muted-2: #71717a;
      --line: #27272a;
      --line-strong: #3f3f46;
      --surface: #09090b;
      --surface-2: #18181b;
      --surface-3: #111113;
      color-scheme: dark;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      color: var(--ink);
      font-family: var(--font-body);
      background: var(--surface);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--ink); text-underline-offset: 3px; }
    code, pre { font-family: var(--font-mono); }

    .nav {
      position: sticky; top: 0; z-index: 20;
      background: color-mix(in srgb, var(--surface) 88%, transparent);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      height: 3.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .logo {
      font-family: var(--font-display);
      font-size: 1.25rem;
      letter-spacing: -0.04em;
      text-decoration: none;
    }
    .nav-links { display: flex; gap: 1rem; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
    .nav-links a { text-decoration: none; color: inherit; }
    .nav-links a:hover { color: var(--ink); }

    .hero {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      padding: 2.75rem 0 1.5rem;
      opacity: 0;
      transform: translateY(10px);
      animation: rise 0.7s var(--ease) forwards;
    }
    @keyframes rise { to { opacity: 1; transform: none; } }
    .hero h1 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(2.2rem, 6vw, 3.25rem);
      letter-spacing: -0.045em;
      line-height: 1.05;
      margin: 0 0 0.85rem;
    }
    .hero p {
      margin: 0;
      max-width: 36rem;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .shell {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto 1.75rem;
      background: var(--footer-bg);
      color: var(--cmd-fg);
      border-radius: var(--radius);
      padding: 1rem 1.1rem;
      overflow-x: auto;
      opacity: 0;
      animation: rise 0.7s var(--ease) 0.12s forwards;
    }
    .shell code {
      font-size: 0.9rem;
      color: var(--cmd-accent);
      white-space: pre;
    }

    article {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      padding-bottom: 4rem;
    }
    article section {
      padding: 2rem 0;
      border-top: 1px solid var(--line);
    }
    article h2 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 1.55rem;
      letter-spacing: -0.03em;
      margin: 0 0 0.55rem;
    }
    article h3 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 1.1rem;
      margin: 1.25rem 0 0.4rem;
      letter-spacing: -0.02em;
    }
    article p, article li { color: var(--muted); }
    article p { margin: 0 0 0.8rem; }
    article ul, article ol { margin: 0 0 1rem; padding-left: 1.15rem; }
    article li { margin: 0.3rem 0; }
    article strong { color: var(--ink); }

    pre {
      margin: 0.7rem 0 1rem;
      padding: 1rem 1.05rem;
      background: var(--footer-bg);
      color: var(--cmd-fg);
      border-radius: var(--radius);
      overflow-x: auto;
      font-size: 0.84rem;
      line-height: 1.45;
    }
    pre .c { color: var(--muted-2); }
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.925rem;
      margin: 0.7rem 0 1rem;
    }
    th, td {
      text-align: left;
      padding: 0.55rem 0.35rem;
      border-bottom: 1px solid var(--line);
      vertical-align: top;
    }
    th {
      font-family: var(--font-display);
      font-weight: 400;
      color: var(--ink);
      letter-spacing: -0.02em;
    }
    .callout {
      border: 1px solid var(--line);
      background: var(--surface-3);
      border-radius: var(--radius);
      padding: 0.85rem 1rem;
      margin: 1rem 0;
      color: var(--muted);
    }
    .presets {
      display: grid;
      gap: 0.55rem;
      margin: 0.75rem 0 1rem;
    }
    .preset {
      display: grid;
      gap: 0.15rem;
      padding: 0.75rem 0.9rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface-3);
    }
    @media (min-width: 640px) {
      .preset { grid-template-columns: 8.5rem 1fr; align-items: baseline; gap: 0.75rem; }
    }
    .preset code { color: var(--ink); font-weight: 500; font-size: 0.85rem; }
    .preset span { color: var(--muted); font-size: 0.9rem; }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }
    .theme-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      padding: 0;
      margin: 0;
      border: 0;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      border-radius: 6px;
    }
    .theme-toggle:hover { color: var(--ink); background: var(--surface-2); }
    .theme-toggle .theme-icon { display: none; width: 1.05rem; height: 1.05rem; }
    .theme-toggle[data-mode="system"] .theme-icon-system,
    .theme-toggle[data-mode="light"] .theme-icon-light,
    .theme-toggle[data-mode="dark"] .theme-icon-dark { display: block; }
    .theme-toggle:not([data-mode]) .theme-icon-system { display: block; }
    .lang-dd { position: relative; }
    .lang-dd summary {
      list-style: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--muted);
      background: transparent;
      border: 0;
      padding: 0.35rem 0.15rem;
      user-select: none;
    }
    .lang-dd summary::-webkit-details-marker { display: none; }
    .lang-dd summary:hover,
    .lang-dd[open] summary { color: var(--ink); }
    .lang-dd summary .chev {
      display: inline-block;
      width: 0.55rem;
      height: 0.55rem;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      opacity: 0.7;
    }
    .lang-dd[open] summary .chev {
      transform: rotate(225deg) translateY(-1px);
    }
    .lang-dd .lang-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 0.5rem);
      min-width: 9.5rem;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 0.25rem;
      z-index: 50;
      display: grid;
    }
    .lang-dd .lang-menu a {
      display: block;
      text-decoration: none;
      color: var(--ink);
      font-size: 0.875rem;
      font-weight: 500;
      padding: 0.55rem 0.7rem;
      border-radius: 6px;
    }
    .lang-dd .lang-menu a:hover,
    .lang-dd .lang-menu a[aria-current="page"] { background: var(--surface-2); }

    .site-footer {
      background: var(--footer-bg);
      color: var(--footer-fg);
    }
    .site-footer a { color: var(--footer-fg); text-decoration: none; }
    .site-footer a:hover { color: var(--footer-fg-strong); }
    .footer-top {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      padding: 3.25rem 0 2.5rem;
      display: grid;
      gap: 2rem;
    }
    @media (min-width: 900px) {
      .footer-top {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
        gap: 3rem;
      }
    }
    .footer-brand-block .footer-logo {
      font-family: var(--font-display);
      font-size: 1.35rem;
      letter-spacing: -0.04em;
      color: var(--footer-fg-strong);
      text-decoration: none;
    }
    .footer-tagline {
      margin: 0.75rem 0 0;
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--footer-mute);
      max-width: 20rem;
    }
    .footer-cols {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.75rem 1.25rem;
    }
    @media (min-width: 720px) {
      .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    .footer-cols h2 {
      margin: 0 0 0.9rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--footer-fg-strong);
      letter-spacing: -0.01em;
    }
    .footer-cols ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.65rem;
    }
    .footer-cols a { font-size: 0.875rem; color: var(--footer-fg); }
    .footer-cols a:hover { color: var(--footer-fg-strong); }
    .footer-bottom {
      width: min(var(--max), calc(100% - 2rem));
      margin: 0 auto;
      padding: 1.15rem 0 1.75rem;
      border-top: 1px solid var(--footer-line);
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      justify-content: space-between;
      font-size: 0.8125rem;
      color: var(--footer-mute);
    }
    .footer-bottom p { margin: 0; }
    .footer-bottom a { color: var(--footer-fg); }

