  :root {
    --paper: #faf9f5;
    --panel: #ffffff;
    --line: #e6e2d8;
    --line-2: #d5d0c2;
    --ink: #191817;
    --ink-2: #57534a;
    --ink-3: #98938a;
    --accent: #1740e6;
    --go: #157347;
    --go-bg: #eaf6ef;
    --warn: #b45309;
    --warn-bg: #fdf3e3;
    --stop: #c92a2a;
    --stop-bg: #fbeaea;
    --c-dwrt: #1740e6;
    --c-para: #7048e8;
    --c-dinf: #0d9373;
    --c-dwfx: #0e93c0;
    --c-fire: #e8590c;
    --c-novi: #c92a2a;
    --display: "Anybody", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--sans); font-size: 15.5px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  h1, h2, h3 { margin: 0; }
  h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

  /* nav */
  header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; gap: 28px; height: 58px; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: 15px; text-decoration: none; }
  .logo .glyph { width: 18px; height: 18px; position: relative; flex: none; }
  .logo .glyph::before, .logo .glyph::after { content: ""; position: absolute; }
  .logo .glyph::before { width: 11px; height: 11px; left: 0; top: 0; border: 1.5px solid var(--ink); }
  .logo .glyph::after { width: 11px; height: 11px; right: 0; bottom: 0; background: var(--accent); }
  .nav-links { margin-left: auto; display: flex; gap: 2px; align-items: center; }
  .nav-links > a:not(.gh-btn) {
    font-family: var(--mono); font-size: 12.5px;
    text-decoration: none; color: var(--ink-2); padding: 7px 12px; border-radius: 3px;
  }
  .nav-links > a:not(.gh-btn):hover { color: var(--ink); background: rgba(0,0,0,0.04); }
  .gh-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
    background: var(--ink); color: #fff; border-radius: 3px;
    padding: 8px 14px; font-size: 12.5px; text-decoration: none;
    font-family: var(--mono);
  }
  .gh-btn:hover { background: #000; }
  .gh-btn svg { width: 15px; height: 15px; fill: currentColor; }
  .gh-btn .stars { color: rgba(255,255,255,0.65); border-left: 1px solid rgba(255,255,255,0.25); padding-left: 8px; font-variant-numeric: tabular-nums; }
  @media (max-width: 760px) { .nav-links > a:not(.gh-btn) { display: none; } }

  /* hero */
  .hero { padding: 74px 0 60px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
  @media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
  .hero h1 { font-size: clamp(42px, 5.4vw, 64px); line-height: 1.02; margin: 0 0 20px; }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero .sub { font-size: 17px; color: var(--ink-2); max-width: 52ch; margin: 0 0 28px; }
  .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    font-family: var(--mono); font-size: 13px; border-radius: 3px; padding: 11px 18px;
  }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: #1236c2; }
  .btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--panel); }
  .btn-ghost:hover { border-color: var(--ink-3); }
  .hero-note { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

  /* code / terminal boxes: sharp, black header bar, copy in header */
  .code-box { background: var(--panel); border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; }
  .code-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--ink); color: #fff; padding: 8px 14px;
    font-family: var(--mono); font-size: 11.5px;
  }
  .code-head .lbl { color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
  .copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.65);
    background: none; border: none; padding: 2px 0; cursor: pointer;
    transition-property: color, scale; transition-duration: .12s, .15s; transition-timing-function: ease-out;
  }
  .copy-btn:hover { color: #fff; }
  .copy-btn:active { scale: 0.96; }
  .copy-btn.done { color: #7be0a8; }
  .copy-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .code-box pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
  .code-box .cm { color: var(--ink-3); }
  .code-box .kw { color: var(--ink); }
  .code-box .fl { color: #7048e8; }
  .term-body { padding: 16px 18px; min-height: 296px; line-height: 1.85; font-family: var(--mono); font-size: 12.5px; }
  .term-body .ln { white-space: pre-wrap; word-break: break-word; }
  .c-prompt { color: var(--accent); }
  .c-flag { color: #7048e8; }
  .c-dim { color: var(--ink-3); }
  .c-go { color: var(--go); font-weight: 500; }
  .cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

  /* sections */
  section { padding: 54px 0; }
  section + section { border-top: 1px solid var(--line); }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; margin: 0 0 10px; }
  .sec-head p { color: var(--ink-2); margin: 0; max-width: 68ch; font-size: 16px; }
  .sec-head p code { font-family: var(--mono); font-size: 0.85em; }

  /* output panels */
  .panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
  .panel-head {
    padding: 12px 20px; border-bottom: 1px solid var(--line);
    font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  }
  .cap { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }
  .callout { border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); padding: 18px 22px; margin-top: 18px; }
  .callout h3 { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin: 0 0 6px; }
  .callout p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 74ch; }
  .cap a { color: var(--accent); text-decoration: none; }
  .cap a:hover { text-decoration: underline; }
  .stack { display: grid; gap: 14px; }

  /* bar chart */
  .chart { padding: 20px 22px 8px; }
  .crow { display: grid; grid-template-columns: 170px 1fr 76px; gap: 14px; align-items: center; padding: 7px 0; cursor: default; }
  @media (max-width: 640px) { .crow { grid-template-columns: 110px 1fr 60px; } }
  .crow .name { font-family: var(--mono); font-size: 12px; text-align: right; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crow .name .dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; }
  .crow .track { position: relative; height: 30px; background: var(--paper); border-radius: 2px; }
  .crow .bar { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 2px; width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }
  .crow .bar2 { position: absolute; left: 0; top: 13px; bottom: 13px; border-radius: 2px; width: 0; opacity: 0.32; transition: width .9s cubic-bezier(.2,.7,.2,1) .15s; }
  .crow .ci { position: absolute; top: 50%; height: 1.5px; transform: translateY(-50%); background: rgba(25,24,23,0.4); opacity: 0; transition: opacity .4s .8s; }
  .crow .ci::before, .crow .ci::after { content: ""; position: absolute; top: -4px; width: 1.5px; height: 9.5px; background: rgba(25,24,23,0.4); }
  .crow .ci::before { left: 0; } .crow .ci::after { right: 0; }
  .crow .val { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
  .crow .val small { color: var(--ink-3); font-size: 10.5px; display: block; line-height: 1.3; }
  .crow:hover .track { background: #f2f0e9; }
  .chart-note { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 22px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
  .chart-note .k { display: inline-flex; align-items: center; gap: 7px; }
  .chart-note .sw { width: 14px; height: 8px; border-radius: 2px; background: var(--ink-2); display: inline-block; }
  .chart-note .sw.lo { opacity: 0.32; }
  .chart-note .sw.ci-k { height: 1.5px; background: rgba(25,24,23,0.4); border-radius: 0; }

  .tip {
    position: fixed; z-index: 60; pointer-events: none; max-width: 300px;
    background: var(--ink); color: #fff; border-radius: 3px; padding: 10px 13px;
    font-family: var(--mono); font-size: 11px; line-height: 1.7; opacity: 0;
    transform: translateY(4px); transition: opacity .12s, transform .12s;
  }
  .tip.show { opacity: 1; transform: none; }
  .tip .th { font-weight: 500; margin-bottom: 2px; }
  .tip .td { color: rgba(255,255,255,0.72); }

  /* radar */
  .radar-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
  @media (max-width: 920px) { .radar-grid { grid-template-columns: 1fr; } }
  .radar-box { padding: 10px 6px 2px; }
  .radar-box svg { display: block; width: 100%; height: auto; }
  .legend { display: flex; flex-wrap: wrap; gap: 0; padding: 0 20px 16px; }
  .lg {
    font-family: var(--mono); font-size: 11.5px; display: inline-flex; align-items: center; gap: 8px;
    border: none; background: none; color: var(--ink-2);
    padding: 5px 14px 5px 0; cursor: pointer; transition: opacity .12s, scale .15s ease-out;
  }
  .lg:active { scale: 0.96; }
  .lg .sw { width: 14px; height: 3px; }
  .lg[aria-pressed="false"] { opacity: 0.35; }
  .lg[aria-pressed="false"] .sw { background: var(--ink-3) !important; }
  .radar-side p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
  .radar-side b { color: var(--ink); font-weight: 600; }
  .radar-axes { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 20px 10px; }
  .axc {
    font-family: var(--mono); font-size: 11px; color: var(--ink-2);
    border: 1px solid var(--line-2); background: var(--panel); border-radius: 3px;
    padding: 5px 11px; cursor: pointer; transition: background .12s, border-color .12s, color .12s, scale .15s ease-out;
  }
  .axc:hover { border-color: var(--ink-3); }
  .axc:active { scale: 0.96; }
  .axc[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
  .radar-callout { min-height: 18px; padding: 0 20px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
  .radar-callout b { color: var(--ink); font-weight: 600; }
  .radar-callout .win { color: var(--accent); font-weight: 600; }

  /* pipeline */
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: var(--panel); }
  @media (max-width: 940px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
  .step { padding: 20px 18px 18px; border-right: 1px solid var(--line); transition: background .15s; }
  .step:last-child { border-right: none; }
  @media (max-width: 940px) { .step { border-bottom: 1px solid var(--line); } }
  .step:hover { background: var(--paper); }
  .step .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
  .step h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
  .step p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }
  .step .cmd { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); word-break: break-all; }

  /* verdict tabs: segmented control, no dots */
  .vtabs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
  .vtab {
    font-family: var(--mono); font-size: 12px; background: var(--panel); color: var(--ink-2);
    border: none; border-right: 1px solid var(--line); padding: 9px 16px; cursor: pointer;
    transition-property: color, background, scale; transition-duration: .12s, .12s, .15s; transition-timing-function: ease-out;
  }
  .vtab:last-child { border-right: none; }
  .vtab:hover { color: var(--ink); }
  .vtab:active { scale: 0.96; }
  .vtab[aria-selected="true"] { background: var(--ink); color: #fff; }
  @media (prefers-reduced-motion: reduce) {
    .copy-btn:active, .lg:active, .axc:active, .vtab:active { scale: 1; }
  }
  .vpanel { padding: 24px 26px; }
  .vpanel .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 11px; border-radius: 3px; display: inline-block; margin-bottom: 14px; }
  .vpanel h3 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; margin-bottom: 8px; }
  .vpanel p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; max-width: 68ch; }
  .vpanel .stat-box { font-family: var(--mono); font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; white-space: pre-wrap; line-height: 1.8; color: var(--ink-2); max-width: 480px; }

  /* features */
  .feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
  @media (max-width: 860px) { .feat { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
  .fcell { background: var(--panel); padding: 20px 20px 22px; transition: background .15s; }
  .fcell:hover { background: var(--paper); }
  .fcell h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
  .fcell p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.6; }
  .fcell code { font-family: var(--mono); font-size: 11.5px; color: var(--ink); }

  /* benchmarks table */
  .tbl-wrap { overflow-x: auto; }
  table { border-collapse: collapse; width: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; }
  th, td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); }
  th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
  tr:last-child td { border-bottom: none; }
  tbody tr:hover td { background: var(--paper); }
  td .mono { font-family: var(--mono); font-size: 12.5px; }
  td.muted { color: var(--ink-2); }

  /* quickstart */
  .qs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
  @media (max-width: 860px) { .qs-grid { grid-template-columns: 1fr; } }
  .qs-points { margin: 0; padding: 0; list-style: none; }
  .qs-points li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
  .qs-points li:last-child { border-bottom: none; }
  .qs-points b { color: var(--ink); font-weight: 600; }

  footer { border-top: 1px solid var(--line); background: var(--panel); }
  .foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
  .foot a { color: var(--ink-2); text-decoration: none; margin-left: 18px; }
  .foot a:hover { color: var(--ink); }

  /* ---- docs shell ---- */
  .docs-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding: 40px 24px 80px; align-items: start; }
  .docs-layout:not(:has(.docs-nav)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
  .docs-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
  .docs-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: 3px; border-left: 2px solid transparent; }
  .docs-nav a:hover { color: var(--ink); background: var(--panel); }
  .docs-nav a.cur { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
  .nav-links a.cur { color: var(--ink); }
  .docs-body { max-width: 760px; }
  .docs-body h1 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 18px; }
  .docs-body h2 { font-size: 22px; margin: 40px 0 10px; }
  .docs-body h3 { font-size: 16px; margin: 26px 0 6px; font-weight: 600; }
  .docs-body p, .docs-body li { color: var(--ink-2); font-size: 15px; }
  .docs-body p { margin: 0 0 14px; max-width: 70ch; }
  .docs-body ul, .docs-body ol { padding-left: 22px; margin: 0 0 14px; }
  .docs-body li { margin-bottom: 6px; }
  .docs-body a { color: var(--accent); }
  .docs-body code { font-family: var(--mono); font-size: 0.86em; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }
  .docs-body pre { background: var(--ink); color: #f3f1ea; border-radius: 4px; padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; overflow-x: auto; margin: 0 0 18px; }
  .docs-body pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
  .docs-body table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 14px; display: block; overflow-x: auto; }
  .docs-body th, .docs-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .docs-body th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
  .docs-body blockquote { border-left: 3px solid var(--line-2); margin: 0 0 14px; padding: 4px 16px; color: var(--ink-2); }
  .docs-body hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
  @media (max-width: 800px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
