    :root {
      --color-ice: 227, 245, 255;
      --color-ice-dim: 134, 154, 165;
      --color-blue: 171, 239, 253;
      --color-black: 0, 0, 0;
      --color-grey: 20, 24, 30;
      --on-accent: #041a24;

      --bg: rgb(var(--color-black));
      --fg: rgb(var(--color-ice));
      --fg-dim: rgb(var(--color-ice-dim));
      --accent: rgb(var(--color-blue));
      --border: rgba(var(--color-ice), 0.08);

      --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      --pixel: 'Nunito', 'Inter', sans-serif;
      --max: 1440px;
      --gutter: 64px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 96px; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    body {
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img, svg { display: block; max-width: 100%; }

    /* ---------- Scrollbars ---------- */
    html { scrollbar-width: thin; scrollbar-color: rgba(var(--color-ice), .18) transparent; }
    *::-webkit-scrollbar { width: 12px; height: 12px; }
    *::-webkit-scrollbar-track { background: transparent; }
    *::-webkit-scrollbar-thumb {
      background-color: rgba(var(--color-ice), .16);
      border: 3px solid transparent;
      background-clip: padding-box;
      border-radius: 10px;
    }
    *::-webkit-scrollbar-thumb:hover { background-color: rgba(var(--color-blue), .5); }
    *::-webkit-scrollbar-corner { background: transparent; }

    /* ---------- Scroll reveal ----------
       Elements tagged [data-reveal] start hidden and ease in (ease-in-out cubic)
       as they scroll into view. Keyframe animations are used (not transitions) so
       they never clash with the cards' 3D-tilt transforms; the JS strips the
       attribute on animationend, returning the element to fully natural styling. */
    @media (prefers-reduced-motion: no-preference) {
      [data-reveal] { opacity: 0; }
      [data-reveal].in {
        animation: aero-reveal-up .85s cubic-bezier(.65, 0, .35, 1) both;
        animation-delay: var(--reveal-delay, 0s);
      }
      [data-reveal="left"].in  { animation-name: aero-reveal-left; }
      [data-reveal="right"].in { animation-name: aero-reveal-right; }
      [data-reveal="scale"].in { animation-name: aero-reveal-scale; }

      @keyframes aero-reveal-up {
        from { opacity: 0; transform: translate3d(0, 44px, 0); }
        to   { opacity: 1; transform: translate3d(0, 0, 0); }
      }
      @keyframes aero-reveal-left {
        from { opacity: 0; transform: translate3d(-52px, 0, 0); }
        to   { opacity: 1; transform: translate3d(0, 0, 0); }
      }
      @keyframes aero-reveal-right {
        from { opacity: 0; transform: translate3d(52px, 0, 0); }
        to   { opacity: 1; transform: translate3d(0, 0, 0); }
      }
      @keyframes aero-reveal-scale {
        from { opacity: 0; transform: scale(.9); }
        to   { opacity: 1; transform: scale(1); }
      }
    }

    /* faint vertical grid like Essential */
    .grid-lines {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background-image:
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 25% 100%;
      background-position: 0 0;
      opacity: .5;
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 12px;
      font-family: var(--pixel);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: background .15s ease, transform .12s ease, box-shadow .2s ease;
    }
    .btn svg { width: 16px; height: 16px; }
    .btn-primary { background: var(--accent); color: var(--on-accent); }
    .btn-primary:hover { background: #c4f4fe; }
    .btn-block {
      width: 100%;
      padding: 26px;
      background: var(--accent); color: var(--on-accent);
      box-shadow: 0 10px 40px rgba(var(--color-blue), .35);
    }
    .btn-block:hover { background: #c4f4fe; box-shadow: 0 14px 50px rgba(var(--color-blue), .5); }
    .btn-ghost {
      padding: 24px 26px;
      background: rgba(var(--color-ice), .05);
      border: 1px solid var(--border);
      color: var(--fg);
    }
    .btn-ghost:hover { background: rgba(var(--color-ice), .1); }

    /* ---------- Header (Aero glass pill) ---------- */
    header.site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      display: flex; justify-content: center;
      padding: 16px;
      pointer-events: none;
    }
    /* blue aurora glow behind the pill */
    .aurora {
      position: absolute; left: -8%; right: -8%; top: -45%; height: 320px;
      z-index: -1; pointer-events: none;
      filter: blur(56px); opacity: .85;
      background:
        radial-gradient(38% 120% at 26% 30%, rgba(126,148,255,.55), transparent 70%),
        radial-gradient(42% 130% at 52% 12%, rgba(58,55,255,.50), transparent 70%),
        radial-gradient(40% 120% at 78% 34%, rgba(150,200,255,.55), transparent 70%);
    }

    .nav-pill {
      pointer-events: auto;
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
      width: 100%; max-width: var(--max); height: 64px;
      padding: 0 12px 0 24px;
      border-radius: 18px;
      background: rgba(47, 48, 49, 0.68);
      -webkit-backdrop-filter: blur(22px) saturate(180%);
      backdrop-filter: blur(22px) saturate(180%);
      border: 1px solid rgba(0, 0, 0, 0.55);
      box-shadow: 0 14px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(0, 0, 0, 0.6);
      transition: max-width .5s cubic-bezier(.4,0,.2,1), padding .4s ease, border-radius .4s ease;
    }
    .nav-pill .brand {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font); font-weight: 600; font-size: 17px; letter-spacing: .2px;
      color: #b7bec9; padding: 0; border: 0; white-space: nowrap;
    }
    .nav-pill .brand .mark { width: 64px; height: 64px; object-fit: contain; }
    .nav-right { display: flex; align-items: center; gap: 6px; }
    .nav-links { display: flex; align-items: center; gap: 30px; padding: 0 12px; }
    .nav-links a { color: #b7bec9; font-size: 15px; font-weight: 500; transition: color .2s; }
    .nav-links a:hover, .nav-links a.active { color: rgb(179, 228, 255); }

    .menu-btn {
      display: none; align-items: center; justify-content: center;
      width: 44px; height: 44px; border-radius: 12px;
      background: transparent; border: 0; color: #b7bec9; cursor: pointer;
      transition: background .2s;
    }
    .menu-btn:hover { background: rgba(11,13,16,.07); }

    /* compact state on scroll */
    header.site-header.scrolled .nav-pill { max-width: 460px; padding: 0 10px 0 22px; border-radius: 16px; }
    header.site-header.scrolled .nav-links { display: none; }
    header.site-header.scrolled .menu-btn { display: inline-flex; }

    /* ---------- Full menu overlay ---------- */
    .menu-overlay {
      position: fixed; inset: 0; z-index: 60;
      display: flex; justify-content: center; align-items: flex-start;
      padding: 16px;
      background: rgba(6,8,12,.5);
      -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
      opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
    }
    .menu-overlay.open { opacity: 1; visibility: visible; }
    .menu-card {
      width: 27%;
      max-width: var(--max);
      border-radius: 20px;
      background: rgba(52, 52, 53, 0.86);
      -webkit-backdrop-filter: blur(30px) saturate(180%);
      backdrop-filter: blur(30px) saturate(180%);
      border: 1px solid rgba(0, 0, 0, 0.6);
      box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(0, 0, 0, 0.7);
      color: #0b0d10;
      padding: 14px 28px 30px;
      transform: translateY(-12px) scale(.99);
      transition: transform .3s cubic-bezier(.4,0,.2,1);
    }
    .menu-overlay.open .menu-card { transform: none; }
    .menu-top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
    .menu-top .brand {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font); font-weight: 600; font-size: 17px; color: #b7bec9;
    }
    .menu-top .brand .mark { width: 24px; height: 24px; object-fit: contain; }
    .menu-close {
      display: inline-flex; align-items: center; justify-content: center;
      width: 44px; height: 44px; border-radius: 12px;
      background: transparent; border: 0; color: #acacac; cursor: pointer; transition: background .2s;
    }
    .menu-close:hover { background: rgba(11,13,16,.07); }

    .menu-label {
      font-size: 13px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase;
      color: #9aa3ad; padding-top: 18px; border-top: 1px solid #0b0d101a;
    }
    .menu-links { display: flex; flex-direction: column; padding: 16px 0 36px; }
    .menu-links a {
      font-family: var(--font); font-weight: 600; letter-spacing: -1.5px; line-height: 1.12;
      font-size: clamp(38px, 8vw, 66px); color: #b7bec9; transition: color .2s;
    }
    .menu-links:hover a { color: #c4cad1; }
    .menu-links:hover a:hover { color: #5f6266; }

    .menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 620px; }
    .menu-foot .mf-label {
      display: block; font-size: 13px; font-weight: 500; letter-spacing: .3px;
      text-transform: uppercase; color: #9aa3ad; margin-bottom: 12px;
    }
    .menu-foot a, .menu-foot span.line { display: block; color: #b7bec9; font-size: 15px; line-height: 1.5; }
    .menu-foot a { transition: color .2s; }
    .menu-foot a:hover { color: #5b6470; }

    /* ---------- Hero ---------- */
    .hero { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
    .hero-inner {
      display: grid; grid-template-columns: 1.15fr 1fr;
      min-height: 100vh;
      align-items: center;
    }
    .hero-left { padding: 130px var(--gutter) 70px; }
    .hero h1 {
      font-family: var(--pixel);
      font-size: clamp(34px, 5.2vw, 74px);
      line-height: 1.18;
      color: #fff;
      letter-spacing: -1px;
      text-shadow: 0 0 40px rgba(var(--color-blue), .25);
      margin-bottom: 36px;
    }
    .hero p.sub {
      font-size: clamp(17px, 1.5vw, 21px);
      color: var(--fg-dim);
      max-width: 460px;
      margin-bottom: 40px;
    }
    .download-wrap { max-width: 540px; }
    .ascii { font-family: var(--pixel); font-size: 11px; color: var(--fg-dim); margin: 18px 0 0 6px; letter-spacing: 0; }

    /* ---------- Coming soon ---------- */
    .badge {
      display: inline-flex; align-items: center; gap: 11px;
      font-family: var(--pixel); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
      color: #ABEFFD;
      background: rgba(var(--color-blue), .1);
      border: 1px solid rgba(var(--color-blue), .3);
      padding: 11px 16px;
      margin-bottom: 34px;
    }
    .badge .pulse {
      width: 9px; height: 9px; border-radius: 50%; background: #ABEFFD;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0%   { box-shadow: 0 0 0 0 rgba(171,239,253,.55); }
      70%  { box-shadow: 0 0 0 10px rgba(171,239,253,0); }
      100% { box-shadow: 0 0 0 0 rgba(171,239,253,0); }
    }
    .btn-soon {
      width: 100%; padding: 26px;
      background: rgba(var(--color-ice), .04);
      border: 1px dashed rgba(var(--color-ice), .22);
      color: var(--fg-dim);
      cursor: not-allowed;
    }
    .btn-soon:hover { background: rgba(var(--color-ice), .04); box-shadow: none; }
    .hero-foot { display: flex; align-items: center; gap: 48px; margin-top: 72px; flex-wrap: wrap; }
    .versions { color: var(--fg-dim); font-size: 15px; }
    .versions a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
    .playing { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; }
    .playing .dot {
      width: 14px; height: 14px; border-radius: 50%;
      background: #4fe03e; box-shadow: 0 0 0 4px rgba(79,224,62,.18), 0 0 14px #4fe03e;
    }
    .playing b { font-weight: 700; }

    /* hero right visual (Aero emblem) */
    .hero-right { position: relative; height: 100%; min-height: 420px; overflow: visible; border-left: 1px solid var(--border); }
    .hero-right::before {
      content: ""; position: absolute; inset: 0;
      background: radial-gradient(circle closest-side at 50% 50%, rgba(var(--color-blue), .16), transparent);
    }
    .emblem {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 320px; height: 320px;
      display: grid; place-items: center;
    }
    /* soft circular glow behind the logo */
    .emblem::before {
      content: ""; position: absolute; inset: -10%;
      background: radial-gradient(circle, rgba(var(--color-blue), .4), transparent 68%);
      filter: blur(24px);
      z-index: -1;
      animation: float 6s ease-in-out infinite;
    }
    /* screen blend drops the black PNG background so only the logo shows */
    .emblem img { width: 100%; mix-blend-mode: screen; animation: float 6s ease-in-out infinite; }
    @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
    .pix { position: absolute; width: 10px; height: 10px; background: var(--accent); opacity: .6; animation: float 5s ease-in-out infinite; }
    .pix:nth-child(2){ top: 18%; left: 24%; animation-delay: .4s; }
    .pix:nth-child(3){ top: 30%; right: 20%; width: 7px; height: 7px; animation-delay: 1.2s; }
    .pix:nth-child(4){ bottom: 24%; left: 30%; width: 8px; height: 8px; animation-delay: .8s; }
    .pix:nth-child(5){ bottom: 30%; right: 26%; animation-delay: 1.6s; }

    /* ---------- Generic section ---------- */
    section.block { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter); border-top: 1px solid var(--border); }
    .head { max-width: 720px; margin-bottom: 64px; }
    .head .eyebrow { font-family: var(--pixel); font-size: 12px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; }
    .head h2 { font-family: var(--pixel); font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; color: #fff; }
    .head p { color: var(--fg-dim); font-size: 18px; margin-top: 22px; }

    /* feature grid */
    .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1000px; }
    .card {
      background: rgba(var(--color-ice), .025);
      border: 1px solid var(--border);
      padding: 34px;
      transform-style: preserve-3d;
      will-change: transform;
      transition: transform .4s ease, border-color .2s, background .2s;
    }
    .card:hover { border-color: rgba(var(--color-blue), .45); background: rgba(var(--color-blue), .05); }
    /* stagger the cards as they reveal */
    .features .card:nth-child(1) { --reveal-delay: .04s; }
    .features .card:nth-child(2) { --reveal-delay: .10s; }
    .features .card:nth-child(3) { --reveal-delay: .16s; }
    .features .card:nth-child(4) { --reveal-delay: .22s; }
    .features .card:nth-child(5) { --reveal-delay: .28s; }
    .features .card:nth-child(6) { --reveal-delay: .34s; }
    .card .ic { width: 46px; height: 46px; background: rgba(var(--color-blue), .15); color: #ABEFFD; display: grid; place-items: center; margin-bottom: 24px; }
    .card .ic svg { width: 24px; height: 24px; }
    .card h3 { font-family: var(--pixel); font-size: 14px; line-height: 1.5; color: #fff; margin-bottom: 14px; }
    .card p { color: var(--fg-dim); font-size: 15px; }

    /* CTA */
    .cta-inner {
      text-align: center;
      padding: 90px 40px;
      background: linear-gradient(135deg, rgba(var(--color-blue), .2), rgba(var(--color-blue), .04));
      border: 1px solid rgba(var(--color-blue), .25);
      position: relative; overflow: hidden;
    }
    .cta-inner::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 0%, rgba(var(--color-blue),.3), transparent 60%); }
    .cta-inner > * { position: relative; }
    .cta-inner h2 { font-family: var(--pixel); font-size: clamp(24px, 4vw, 44px); line-height: 1.3; color: #fff; }
    .cta-inner p { color: var(--fg-dim); font-size: 19px; margin: 24px auto 38px; max-width: 460px; }
    .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .cta-btns .btn { padding: 22px 34px; }

    /* ---------- Changelog ---------- */
    .cl-hero {
      position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
      padding: 140px var(--gutter) 80px;
      border-bottom: 1px solid var(--border);
    }
    .cl-hero h1 {
      font-family: var(--pixel);
      font-size: clamp(40px, 7vw, 78px);
      color: var(--accent);
      letter-spacing: 2px;
    }
    .cl-hero p { color: var(--fg-dim); font-size: 18px; margin-top: 24px; max-width: 520px; }

    .changelog { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
    .log-entry { padding: 58px var(--gutter); border-bottom: 1px solid var(--border); }
    .log-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; max-width: 720px; margin-bottom: 20px; }
    .log-label { font-family: var(--pixel); font-size: 12px; letter-spacing: 1px; color: var(--fg); text-transform: uppercase; }
    .log-date { font-family: var(--pixel); font-size: 12px; letter-spacing: 1px; color: var(--fg-dim); white-space: nowrap; }
    .log-version { font-family: var(--pixel); font-size: clamp(26px, 4vw, 42px); color: #fff; letter-spacing: 2px; margin-bottom: 30px; }
    .log-body { max-width: 720px; color: var(--fg-dim); font-size: 16px; }
    .log-body p { margin-bottom: 20px; }
    .log-body h3 { color: var(--fg); font-size: 18px; font-weight: 600; margin: 28px 0 14px; }
    .log-body ul { list-style: none; padding: 0; margin: 0; }
    .log-body li { position: relative; padding-left: 24px; margin-bottom: 11px; line-height: 1.55; }
    .log-body li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

    /* ---------- Docs ---------- */
    .docs-hero {
      position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
      padding: 140px var(--gutter) 48px;
      border-bottom: 1px solid var(--border);
    }
    .docs-hero .eyebrow { font-family: var(--pixel); font-size: 12px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
    .docs-hero h1 { font-family: var(--pixel); font-size: clamp(34px, 6vw, 60px); color: #fff; letter-spacing: -1px; }
    .docs-hero p { color: var(--fg-dim); font-size: 18px; margin-top: 20px; max-width: 560px; }

    .docs-wrap {
      position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
      display: grid; grid-template-columns: 248px 1fr;
      align-items: start;
    }
    /* sidebar */
    .docs-side {
      position: sticky; top: 96px; height: calc(100vh - 96px);
      display: flex; flex-direction: column;
      border-right: 1px solid var(--border);
    }
    .docs-nav { flex: 1; overflow-y: auto; padding: 10px 24px 48px var(--gutter); }
    .docs-side .side-group { margin-bottom: 30px; }
    .docs-side h5 {
      font-family: var(--pixel); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
      color: var(--fg-dim); margin-bottom: 14px;
    }
    .docs-nav a {
      display: block; color: var(--fg-dim); font-size: 14.5px; padding: 7px 0 7px 14px;
      border-left: 2px solid transparent; transition: color .2s, border-color .2s;
    }
    .docs-nav a:hover { color: var(--fg); }
    .docs-nav a.active { color: var(--accent); border-left-color: var(--accent); }

    /* sidebar search */
    .docs-search { position: relative; padding: 26px 24px 14px var(--gutter); border-bottom: 1px solid var(--border); }
    .search-box { position: relative; }
    .search-box .s-icon {
      position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
      width: 15px; height: 15px; color: var(--fg-dim); pointer-events: none;
    }
    .search-box input {
      width: 100%; padding: 10px 38px; box-sizing: border-box;
      background: rgba(var(--color-ice), .04); border: 1px solid var(--border); border-radius: 9px;
      color: var(--fg); font-family: var(--font); font-size: 14px; outline: none;
      transition: border-color .2s, background .2s;
    }
    .search-box input::placeholder { color: var(--fg-dim); }
    .search-box input:focus { border-color: rgba(var(--color-blue), .5); background: rgba(var(--color-blue), .06); }
    .search-box .s-key {
      position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
      font-family: var(--font); font-size: 11px; color: var(--fg-dim); line-height: 1;
      border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; background: rgba(var(--color-ice), .05);
    }
    .search-box input:focus ~ .s-key, .search-box input:not(:placeholder-shown) ~ .s-key { display: none; }
    .search-results {
      position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
      max-height: 62vh; overflow-y: auto; display: none;
      background: #11151b; border: 1px solid var(--border); border-radius: 10px;
      box-shadow: 0 18px 50px rgba(0,0,0,.5); padding: 6px;
    }
    .search-results.open { display: block; }
    .search-results .res { display: block; padding: 9px 12px; border-radius: 7px; cursor: pointer; }
    .search-results .res .r-title { display: block; color: var(--fg); font-size: 14px; line-height: 1.3; }
    .search-results .res .r-crumb { display: block; color: var(--fg-dim); font-size: 12px; margin-top: 2px; }
    .search-results .res.sel, .search-results .res:hover { background: rgba(var(--color-blue), .12); }
    .search-results .res mark { background: rgba(var(--color-blue), .32); color: #fff; border-radius: 2px; padding: 0 1px; }
    .search-results .empty { padding: 14px 12px; color: var(--fg-dim); font-size: 13px; }

    /* content */
    .docs-content { padding: 48px var(--gutter) 96px; min-width: 0; }
    .docs-content section { padding-top: 28px; margin-bottom: 36px; scroll-margin-top: 100px; }
    .docs-content h2 {
      font-family: var(--pixel); font-size: clamp(22px, 3vw, 30px); color: #fff;
      letter-spacing: -.5px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
    }
    .docs-content h3 { color: var(--fg); font-size: 19px; font-weight: 600; margin: 30px 0 12px; scroll-margin-top: 100px; }
    .docs-content p { color: var(--fg-dim); font-size: 16px; line-height: 1.7; margin-bottom: 16px; max-width: 760px; }
    .docs-content a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
    .docs-content ul, .docs-content ol { color: var(--fg-dim); font-size: 16px; line-height: 1.7; max-width: 760px; margin: 0 0 18px; padding-left: 22px; }
    .docs-content li { margin-bottom: 9px; }
    .docs-content li::marker { color: var(--accent); }
    .docs-content strong { color: var(--fg); font-weight: 600; }

    /* inline + block code */
    .docs-content :not(pre) > code {
      font-family: 'Consolas', 'SF Mono', ui-monospace, monospace; font-size: .88em;
      background: rgba(var(--color-blue), .1); color: #cdeffb;
      border: 1px solid rgba(var(--color-blue), .18); border-radius: 5px; padding: 2px 6px;
    }
    .code-block { position: relative; margin: 8px 0 24px; max-width: 760px; }
    .code-block pre {
      background: #0a0d12; border: 1px solid var(--border); border-radius: 10px;
      padding: 20px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.65;
    }
    .code-block code { font-family: 'Consolas', 'SF Mono', ui-monospace, monospace; color: #d7e3ea; }
    .code-block .lang {
      position: absolute; top: 0; right: 12px; transform: translateY(-50%);
      font-family: var(--pixel); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
      color: var(--fg-dim); background: var(--bg); padding: 0 8px;
    }
    .code-block .copy {
      position: absolute; top: 10px; right: 10px;
      background: rgba(var(--color-ice), .06); border: 1px solid var(--border); color: var(--fg-dim);
      font-size: 11px; padding: 5px 10px; border-radius: 6px; cursor: pointer; transition: all .2s;
    }
    .code-block .copy:hover { background: rgba(var(--color-blue), .15); color: var(--fg); }
    /* token tint via classes used in markup */
    .tok-c { color: #5b6b75; font-style: italic; }   /* comment */
    .tok-k { color: #8ab4f8; }                         /* keyword */
    .tok-s { color: #9ae6b4; }                         /* string */
    .tok-f { color: #c4f4fe; }                         /* function/key */
    .tok-n { color: #f0b88a; }                         /* number */

    /* callouts */
    .note {
      max-width: 760px; margin: 0 0 24px; padding: 16px 20px;
      border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
      background: rgba(var(--color-blue), .06); color: var(--fg-dim); font-size: 15px; line-height: 1.6;
    }
    .note.warn { border-left-color: #ffcc66; background: rgba(255, 204, 102, .07); }
    .note b { color: var(--fg); }

    /* footer */
    footer { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 44px; border-top: 1px solid var(--border);}
    .foot { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
    .foot .brand { padding: 0; border: 0; margin-bottom: 18px; }
    .foot-desc { color: var(--fg-dim); font-size: 15px; max-width: 280px; }
    .foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
    .foot-col h4 { font-family: var(--pixel); font-size: 11px; letter-spacing: 1px; color: var(--fg-dim); margin-bottom: 20px; text-transform: uppercase; }
    .foot-col a { display: block; color: var(--fg-dim); font-size: 15px; margin-bottom: 12px; transition: color .2s; }
    .foot-col a:hover { color: var(--fg); }
    .foot-bottom { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-dim); font-size: 14px; }

    /* responsive */
    @media (max-width: 960px) {
      :root { --gutter: 28px; }
      .nav-links { display: none; }
      .menu-btn { display: inline-flex; }
      header.site-header.scrolled .nav-pill { max-width: var(--max); }
      .hero-inner { grid-template-columns: 1fr; min-height: auto; }
      .hero-left { padding: 120px var(--gutter) 64px; }
      .hero-right { display: none; }
      .features { grid-template-columns: 1fr; }
      /* The desktop card is a 27%-wide pill; on phones/tablets that collapses to
         a sliver, so make it (near) full-width while the hamburger menu is in use. */
      .menu-card { width: 100%; max-width: 480px; padding: 14px 22px 28px; }
      .menu-links a { letter-spacing: -1px; font-size: clamp(34px, 9vw, 56px); }
      .menu-foot { grid-template-columns: 1fr; gap: 28px; }
      .docs-wrap { grid-template-columns: 1fr; }
      .docs-side {
        position: static; height: auto; display: block;
        border-right: 0; border-bottom: 1px solid var(--border);
      }
      .docs-search { padding: 24px var(--gutter) 12px; }
      .docs-nav { overflow: visible; padding: 10px var(--gutter) 20px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
      .docs-nav .side-group { margin-bottom: 8px; width: 100%; }
      .docs-content { padding: 36px var(--gutter) 72px; }
    }