
    /* ---------- Design tokens (shared with asapi landing page) ---------- */
    :root {
      --ink: #101216;
      --ink-soft: #2a3036;
      --muted: #69717d;
      --paper: #f8f7f0;
      --wash: #eeece2;
      --wash-2: #e4e8de;
      --line: rgba(16, 18, 22, 0.14);
      --line-soft: rgba(16, 18, 22, 0.08);
      --moss: #4f7c56;
      --moss-deep: #315c38;
      --moss-glow: rgba(79, 124, 86, 0.22);
      --maxw: 1160px;
      --radius: 14px;
      --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html,
    body {
      overflow-x: hidden;
    }
    body {
      margin: 0;
      font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
      color: var(--ink);
      background:
        linear-gradient(rgba(16, 18, 22, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 18, 22, 0.032) 1px, transparent 1px),
        linear-gradient(180deg, #fbfaf5 0%, var(--paper) 46%, #efeee6 100%);
      background-size: 40px 40px, 40px 40px, auto;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--moss-deep); text-decoration: none; }
    a:hover { text-decoration: underline; }

    .shell { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }

    /* ---------- Topbar ---------- */
    .topbar {
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
      padding: 26px 0 14px;
    }
    .brand {
      display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
      font-family: var(--sans); font-weight: 820; letter-spacing: -0.025em; font-size: 1.35rem;
    }
    .brand-mark {
      position: relative; width: 52px; height: 52px;
      border: none; border-radius: 0;
      background: transparent; box-shadow: none;
      display: inline-flex; align-items: center; justify-content: center; overflow: visible;
    }
    .brand-mark img {
      width: 100%;
      height: 100%;
      margin: 0;
      object-fit: contain;
      display: block;
    }
    .brand-mark::after {
      content: none;
    }
    .brand:hover { text-decoration: none; }
    .site-nav {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: 260px;
      padding: 4px;
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      background: rgba(248, 247, 240, 0.62);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
    }
    .site-nav a {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      flex: 1 0 0;
      justify-content: center;
      padding: 0 14px;
      border-radius: 999px;
      color: var(--ink-soft);
      font-family: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: background 160ms ease, color 160ms ease;
    }
    .site-nav a[aria-current="page"] {
      color: var(--paper);
      background: var(--ink);
    }
    .site-nav a:not([aria-current="page"]):hover {
      color: var(--moss-deep);
      background: rgba(79, 124, 86, 0.12);
      text-decoration: none;
    }

    .benchmark-tabs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: min(640px, calc(100% - 40px));
      margin: 12px auto 8px;
      padding: 6px;
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      background: rgba(248, 247, 240, 0.72);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
    }
    .benchmark-tabs a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 1 1 0;
      min-height: 38px;
      padding: 0 18px;
      border-radius: 999px;
      color: var(--ink-soft);
      font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      white-space: nowrap;
      text-decoration: none;
      transition: background 160ms ease, color 160ms ease;
    }
    .benchmark-tabs a[aria-current="page"] {
      color: var(--paper);
      background: var(--ink);
    }
    .benchmark-tabs a:not([aria-current="page"]):hover {
      color: var(--moss-deep);
      background: rgba(79, 124, 86, 0.12);
      text-decoration: none;
    }

    @media (prefers-reduced-motion: no-preference) {
      @view-transition {
        navigation: auto;
      }

      .topbar {
        view-transition-name: asapi-header;
      }

      ::view-transition-old(root) {
        animation: asapi-page-out 120ms ease both;
      }

      ::view-transition-new(root) {
        animation: asapi-page-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
      }

      ::view-transition-old(asapi-header),
      ::view-transition-new(asapi-header) {
        animation-duration: 220ms;
        animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
      }
    }

    @keyframes asapi-page-out {
      to { opacity: 0.72; transform: translateY(-4px); }
    }

    @keyframes asapi-page-in {
      from { opacity: 0.72; transform: translateY(5px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ---------- Section sidebar ---------- */
    .section-sidebar {
      position: fixed;
      top: 96px;
      right: 24px;
      z-index: 35;
      width: 218px;
      padding: 12px;
      border: 1px solid var(--line-soft);
      border-radius: 18px;
      background: rgba(248, 247, 240, 0.88);
      box-shadow: 0 18px 56px rgba(24, 26, 28, 0.08);
      backdrop-filter: blur(14px);
      transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }
    .section-sidebar-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .section-sidebar-title {
      font-family: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.11em;
      color: var(--moss-deep);
      text-transform: uppercase;
    }
    .sidebar-close,
    .sidebar-open {
      border: 1px solid var(--line-soft);
      background: rgba(252, 252, 249, 0.78);
      color: var(--ink-soft);
      cursor: pointer;
      font-family: var(--sans);
      font-weight: 800;
    }
    .sidebar-close {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      line-height: 1;
    }
    .section-sidebar nav {
      display: grid;
      gap: 4px;
    }
    .section-sidebar a {
      padding: 9px 10px;
      border-radius: 12px;
      color: var(--ink-soft);
      font-family: var(--sans);
      font-size: 0.86rem;
      font-weight: 700;
      line-height: 1.15;
    }
    .section-sidebar a:hover {
      background: rgba(79, 124, 86, 0.12);
      color: var(--moss-deep);
      text-decoration: none;
    }
    .sidebar-open {
      position: fixed;
      top: 104px;
      right: 24px;
      z-index: 34;
      min-height: 38px;
      padding: 0 13px;
      border-radius: 999px;
      opacity: 0;
      visibility: hidden;
      transform: translateX(8px);
      transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }
    body.sidebar-closed .section-sidebar {
      opacity: 0;
      visibility: hidden;
      transform: translateX(14px);
      pointer-events: none;
    }
    body.sidebar-closed .sidebar-open {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    /* ---------- Hero ---------- */
    .hero { padding: 72px 0 40px; }
    .eyebrow {
      text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem;
      color: var(--moss-deep); font-weight: 700; margin: 0 0 14px;
    }
    .hero h1 {
      font-family: var(--sans);
      max-width: 660px;
      font-size: clamp(2.08rem, 3.2vw, 3.12rem);
      line-height: 1.04;
      letter-spacing: -0.035em;
      font-weight: 820;
      margin: 0 0 18px;
    }
    .hero p.lede {
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.96rem;
      line-height: 1.58;
      color: var(--muted);
      max-width: 540px;
      margin: 0;
    }

    /* ---------- Scroll reveal (matches landing page) ---------- */
    .scroll-reveal {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(3px);
      transition:
        opacity 520ms ease,
        transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 520ms ease;
      will-change: opacity, transform, filter;
    }
    .scroll-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    @media (prefers-reduced-motion: reduce) {
      .scroll-reveal { opacity: 1; transform: none; filter: none; transition: none; }
    }

    /* ---------- Sections ---------- */
    section.block { padding: 40px 0; border-top: 1px solid var(--line-soft); }
    h2 { font-size: 1.5rem; margin: 0 0 18px; }
    #about h2, #leaderboard h2, #findings h2, #scenarios h2 {
      font-family: var(--sans);
      font-weight: 700;
      line-height: 1.42;
      color: var(--ink-soft);
    }
    #scenarios h2 { font-size: 2rem; }
    #scenarios h3 { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; line-height: 1.42; color: var(--ink-soft); }

    /* Scenario picker + insights */
    .scenario-picker { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-family: var(--sans); }
    .scenario-picker label { font-weight: 700; color: var(--ink-soft); font-size: 1.1rem; }
    #scenario-select {
      font-family: var(--sans); font-size: 1.15rem; font-weight: 600;
      padding: 14px 44px 14px 18px; border: 1px solid var(--line); border-radius: 12px;
      background: var(--paper); color: var(--ink); cursor: pointer; min-width: 240px;
    }
    #scenario-select option { font-size: 1.05rem; padding: 10px; }

    @keyframes rowfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    #scenario-tbody tr { animation: rowfade 0.4s ease both; }
    @media (prefers-reduced-motion: reduce) { #scenario-tbody tr { animation: none; } }
    #scenario-blurb { font-family: var(--sans); font-size: 0.96rem; color: var(--ink-soft); line-height: 1.58; max-width: 680px; margin: 0 0 26px; }
    .insight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
    .insight-list li {
      font-family: var(--sans); background: var(--wash); border: 1px solid var(--line-soft);
      border-radius: var(--radius); padding: 14px 16px; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5;
    }
    .insight-list li::before { content: "→ "; color: var(--moss-deep); font-weight: 700; }
    #findings h2 { font-size: 2rem; }
    #findings .card h3 { font-family: var(--sans); }
    #findings .card p { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
    #leaderboard h2 { font-size: 2rem; }
    #leaderboard h3 {
      font-family: var(--sans);
      font-weight: 700;
      font-size: 1.5rem;
      line-height: 1.42;
      color: var(--ink-soft);
    }
    #about > p, #leaderboard > p:not(.note) {
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.96rem;
      line-height: 1.58;
    }
    #about > p { margin: 0 0 32px; }
    h3 { font-size: 1.05rem; margin: 0 0 6px; }
    p { color: var(--ink-soft); }

    /* ---------- Stat strip ---------- */
    section.stats-block { border-top: none; padding-top: 0; padding-bottom: 24px; }
    .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 8px 0 0; }
    .stat { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; }
    .stat .num { font-size: 2.6rem; font-weight: 700; color: var(--moss-deep); }
    .stat .lab { font-size: 0.98rem; color: var(--ink); margin-top: 4px; }

    /* ---------- Scenario cards ---------- */
    .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
    .card { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
    .card .tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--moss-deep); background: var(--moss-glow); padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
    .card.placeholder { opacity: 0.55; border-style: dashed; }

    /* ---------- Step flow chart (static, auto-height cards) ---------- */
    .flow { display: flex; align-items: stretch; gap: 8px; }
    .flow .step { flex: 1; display: flex; }
    .flow .step-inner {
      display: flex; flex-direction: column; width: 100%;
      background: var(--wash); border: 1px solid var(--line-soft);
      border-radius: var(--radius); padding: 18px;
    }
    .flow .step-front { display: flex; flex-direction: column; }
    .flow .step-head {
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      text-align: center; margin-bottom: 10px;
    }
    .flow .step-tag {
      display: inline-block;
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
      color: var(--moss-deep); background: var(--moss-glow);
      padding: 3px 9px; border-radius: 999px;
    }
    .flow .step h3 { font-family: var(--sans); margin: 0; }
    .flow .step p { font-family: var(--sans); font-size: 0.86rem; color: var(--muted); line-height: 1.5; margin: 0; }
    .flow .step-front p { text-align: center; }
    .flow .step-back {
      margin-top: auto;                 /* pin example boxes to a common baseline */
      background: var(--wash-2);
      border: 1px solid var(--line-soft);
      border-left: 3px solid var(--moss);
      border-radius: 8px;
      padding: 11px 13px;
    }
    .flow .ex-label {
      display: block;
      font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em;
      color: var(--moss-deep); font-weight: 700; margin-bottom: 6px;
    }
    .flow .step-back .ex { font-family: var(--sans); font-style: italic; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
    .flow .step-back code { background: rgba(16, 18, 22, 0.06); color: var(--ink); padding: 1px 5px; border-radius: 5px; }
    /* the .step-front needs a gap above the pinned example box */
    .flow .step-front { margin-bottom: 14px; }
    .flow-arrow { align-self: center; flex: 0 0 auto; color: var(--moss-deep); font-size: 1.3rem; font-weight: 700; }
    @media (max-width: 760px) {
      .shell { width: min(100% - 28px, var(--maxw)); }
      .topbar {
        align-items: flex-start;
        flex-direction: column;
      }
      .site-nav {
        width: auto;
        max-width: 100%;
        overflow-x: auto;
      }
      .benchmark-tabs {
        justify-content: center;
        overflow-x: auto;
      }
      .benchmark-tabs a {
        flex: 0 0 auto;
        text-align: center;
        min-width: 120px;
      }
      .flow { flex-direction: column; }
      .flow-arrow { transform: rotate(90deg); }
      .section-sidebar {
        top: auto;
        right: 14px;
        bottom: 76px;
        width: min(260px, calc(100vw - 28px));
      }
      .sidebar-open {
        top: auto;
        right: 14px;
        bottom: 24px;
      }
      .to-top {
        right: 24px;
        bottom: 96px;
        z-index: 60;
      }
    }

    /* ---------- Leaderboard ---------- */
    .lb-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
    table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
    thead th { background: var(--wash-2); text-align: left; padding: 12px 14px; font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
    tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
    tbody tr:last-child td { border-bottom: none; }
    tbody tr:nth-child(even) { background: rgba(238, 236, 226, 0.4); }
    td.r, th.r { text-align: right; }
    .rank1 td { background: var(--moss-glow) !important; font-weight: 700; }
    .agg { font-weight: 700; color: var(--moss-deep); }
    .no-sub { color: var(--muted); font-style: italic; }
    .delta-bad { color: #a14; font-weight: 700; }
    .delta-good { color: #285; font-weight: 700; }
    .task-pill {
      display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
      padding: 2px 8px; border-radius: 999px; background: var(--wash-2); color: var(--ink-soft); font-weight: 700;
    }

    .note { font-size: 0.74rem; color: var(--muted); margin-top: 12px; }
    .btn {
      display: inline-block; margin-top: 18px; padding: 11px 20px;
      background: var(--moss-deep); color: var(--paper); border-radius: 10px; font-weight: 500;
    }
    .btn:hover { background: var(--moss); text-decoration: none; }
    #scenario-report {
      display: none;
      pointer-events: none;
    }

    /* ---------- Footer ---------- */
    footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 40px; color: var(--muted); font-size: 0.85rem; }

    /* ---------- Back to top ---------- */
    .to-top {
      position: fixed; right: 24px; bottom: 24px; z-index: 50;
      width: 46px; height: 46px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--moss-deep); color: var(--paper); border: none; cursor: pointer;
      box-shadow: 0 6px 18px rgba(16, 18, 22, 0.18);
      opacity: 0; visibility: hidden; transform: translateY(8px);
      transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s;
    }
    .to-top.show { opacity: 1; visibility: visible; transform: none; }
    .to-top:hover { background: var(--moss); }
    .to-top svg { width: 20px; height: 20px; }

    @media (max-width: 760px) {
      .to-top {
        bottom: 96px;
        z-index: 60;
      }
    }
  
    
    /* ---------- line art (task scenes, icons, charts) ---------- */
    .art svg { display: block; width: 100%; height: auto; }
    .a-paper { fill: #fbfaf5; stroke: #315c38; stroke-width: 1.6; stroke-linejoin: round; }
    .a-paper2 { fill: #f1efe6; stroke: #315c38; stroke-width: 1.6; stroke-linejoin: round; }
    .a-stroke { fill: none; stroke: #315c38; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .a-thin { fill: none; stroke: #315c38; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
    .a-line { fill: none; stroke: rgba(49, 92, 56, 0.42); stroke-width: 2.4; stroke-linecap: round; }
    .a-head { fill: none; stroke: #315c38; stroke-width: 3; stroke-linecap: round; }
    .a-accent { fill: none; stroke: #4f7c56; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
    .a-accent-f { fill: #4f7c56; }
    .a-soft { fill: rgba(79, 124, 86, 0.16); stroke: none; }
    .a-soft-s { fill: rgba(79, 124, 86, 0.16); stroke: #315c38; stroke-width: 1.6; stroke-linejoin: round; }
    .a-dash { fill: none; stroke: rgba(49, 92, 56, 0.45); stroke-width: 1.4; stroke-dasharray: 3 4; stroke-linecap: round; }
    .a-ground { fill: none; stroke: rgba(49, 92, 56, 0.28); stroke-width: 1.4; stroke-linecap: round; }
    .a-gold { fill: #e9b765; stroke: #a8771f; stroke-width: 1.4; }
    .a-gold-s { fill: none; stroke: #c48a2a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
    .a-gold-t { fill: #6b4a10; font: 800 13px/1 Inter, ui-sans-serif, system-ui, sans-serif; text-anchor: middle; }
    .a-txt { fill: #315c38; font: 700 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.04em; }
    .a-big { fill: #315c38; font: 800 22px/1 Inter, ui-sans-serif, system-ui, sans-serif; text-anchor: middle; }
    .a-mid { fill: #315c38; font: 800 15px/1 Inter, ui-sans-serif, system-ui, sans-serif; text-anchor: middle; }
    .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

    .rchart { width: 100%; height: auto; display: block; }
    .rchart text { font-family: var(--sans); }
    .rc-grid { stroke: rgba(16, 18, 22, 0.08); stroke-width: 1; }
    .rc-axis { fill: var(--muted); font-size: 11px; }
    .rc-model { fill: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
    .rc-track { stroke: rgba(16, 18, 22, 0.07); stroke-width: 8; stroke-linecap: round; }
    .rc-bar { stroke: rgba(79, 124, 86, 0.28); stroke-width: 8; stroke-linecap: round; }
    .rc-std { fill: #315c38; stroke: #fbfaf5; stroke-width: 1.5; }
    .rc-hint { fill: #fbfaf5; stroke: #4f7c56; stroke-width: 2; }
    .rc-ctrl { fill: #e9b765; stroke: #a8771f; stroke-width: 1.2; }
    .rc-legend text { fill: var(--muted); font-size: 12px; }

    /* ---------- the headline number ---------- */
    .headline-card { font-family: var(--sans); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; padding: 22px 28px; border: 1px solid var(--line);
                     border-radius: 18px; background: radial-gradient(circle at 8% 50%, rgba(233, 183, 101, 0.22), transparent 55%), rgba(252, 252, 249, 0.8); }
    .hl-num { font-family: var(--mono); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.2rem); color: var(--moss-deep); letter-spacing: -0.03em; white-space: nowrap; }
    .hl-main { margin: 0; font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
    .hl-def { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); }
    @media (max-width: 760px) { .headline-card { grid-template-columns: 1fr; gap: 8px; } }
    /* ---------- the "Jump to" panel starts closed on phones ---------- */
    @media (max-width: 760px) {
      body:not(.sidebar-opened) .section-sidebar { opacity: 0; visibility: hidden; transform: translateX(14px); }
      body:not(.sidebar-opened) .sidebar-open { opacity: 1; visibility: visible; transform: none; }
    }

    /* ---------- the benchmark: tasks, leaderboard, task pages ---------- */
    .benchmark-tabs.single { width: max-content; max-width: calc(100% - 40px); }
    .benchmark-tabs.single a { min-width: 260px; }
    .lede-wide { max-width: 760px !important; }
    .hero h1.oneline { max-width: none; font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
    @media (min-width: 861px) { .hero h1.oneline { white-space: nowrap; } }
    #tasks h2 { font-family: var(--sans); font-weight: 700; line-height: 1.42; color: var(--ink-soft); font-size: 2rem; }
    #tasks > p { font-family: var(--sans); font-weight: 400; font-size: 0.96rem; line-height: 1.58; margin: 0 0 14px; }
    td.num, th.num { font-variant-numeric: tabular-nums; }
    .art { background: radial-gradient(circle at 50% 56%, rgba(79, 124, 86, 0.15), transparent 64%), #f3f1e8; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
    .ab-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--wash-2); color: var(--moss-deep); font-family: var(--sans); font-size: 0.76rem; font-weight: 700; line-height: 1.2; }
    .ab-chip .ico { width: 15px; height: 15px; }
    .chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

    /* task filter + grid */
    .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
    .filters button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 999px; padding: 7px 13px 7px 11px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
    .filters button .ico { width: 15px; height: 15px; }
    .filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
    .filters .count { color: var(--muted); font-family: var(--sans); font-size: 0.82rem; align-self: center; margin-left: 4px; }
    .domain { margin: 0 0 34px; }
    .domain-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--moss-deep); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
    .domain-h .ico { width: 20px; height: 20px; }
    .domain-h .n { color: var(--muted); letter-spacing: 0.06em; }
    .task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
    a.tcard { display: flex; flex-direction: column; gap: 10px; background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px 10px 14px; color: inherit; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
    a.tcard:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(24, 26, 28, 0.08); border-color: var(--moss-glow); text-decoration: none; }
    .tcard .art { border-radius: 10px; }
    .tcard .tc-body { padding: 2px 6px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
    .tcard .chip-row { margin-top: auto; padding-top: 6px; }
    .tcard .tc-set { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-deep); }
    .tcard h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tcard p { font-family: var(--sans); font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }
    .tcard .tc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line-soft); font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
    .tcard .tc-foot b { color: var(--moss-deep); }
    .tcard[hidden] { display: none; }
    .tcard .ab-chip { font-size: 0.68rem; padding: 3px 8px 3px 6px; gap: 4px; }
    .tcard .ab-chip .ico { width: 13px; height: 13px; }
    .tcard .chip-row { gap: 5px; }
    .tcard .tc-foot span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tcard .tc-foot span:last-child { flex: 0 0 auto; }

    /* leaderboard matrix */
    .lb-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--sans); }
    .lb-controls label { font-weight: 700; color: var(--ink-soft); font-size: 0.92rem; }
    .lb-controls select { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; padding: 9px 36px 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
    .lbm { width: auto; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.84rem; }
    .lbm th, .lbm td { border-bottom: 1px solid var(--line-soft); padding: 7px 7px; white-space: nowrap; }
    .lbm thead th { background: var(--wash-2); }
    .lbm th.dom { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss-deep); text-align: center; border-left: 1px solid var(--line); padding: 6px 2px; }
    .lbm th.dom .ico { width: 14px; height: 14px; vertical-align: -3px; margin-right: 3px; }
    .lbm th.task { height: 200px; vertical-align: bottom; padding: 0 0 10px; width: 19px; min-width: 19px; max-width: 19px; text-align: center; }
    .lbm th.task.first { border-left: 1px solid var(--line); }
    .lbm th.task a { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--sans); font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; max-height: 190px; overflow: hidden; text-overflow: ellipsis; }
    .lbm th.task a:hover { color: var(--moss-deep); text-decoration: underline; }
    .lbm th.task.sorted a { color: var(--moss-deep); font-weight: 800; }
    .lbm .sticky { position: sticky; left: 0; z-index: 2; background: var(--paper); }
    .lbm thead .sticky { background: var(--wash-2); z-index: 3; }
    .lbm td.model { font-weight: 700; font-family: var(--sans); color: var(--ink); min-width: 132px; }
    .lbm td.rank { color: var(--muted); width: 34px; text-align: right; }
    .lbm td.win { min-width: 92px; }
    .wbar { display: flex; align-items: center; gap: 8px; }
    .wbar i { display: block; height: 7px; border-radius: 999px; background: var(--moss); }
    .wbar b { font-variant-numeric: tabular-nums; color: var(--moss-deep); min-width: 40px; }
    .lbm td.sc { text-align: center; padding: 4px 0; font-variant-numeric: tabular-nums; font-size: 0.72rem; }
    .lbm td.sc.first { border-left: 1px solid var(--line); }
    .lbm td.sc span { display: inline-block; min-width: 19px; padding: 4px 0; border-radius: 6px; color: var(--ink); }
    .lbm td.sc span.dec { font-size: 0.62rem; letter-spacing: -0.02em; }
    .lbm td.sc span.full { background: var(--moss-deep) !important; color: var(--paper); font-weight: 700; }
    .lbm td.sc .none { color: rgba(16, 18, 22, 0.25); }
    .lbm td.sc span.nil { background: transparent; border: 1px dashed rgba(16, 18, 22, 0.3); color: var(--muted); }
    .lbm tr.sep td { background: var(--wash); color: var(--muted); font-family: var(--sans); font-size: 0.8rem; font-weight: 700; padding: 10px 12px; }
    .lbm tbody tr:hover td { background: rgba(79, 124, 86, 0.06); }
    .lbm tbody tr:hover td.sticky { background: #eef0e8; }
    .legend-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 12px; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
    .legend-row .sw { display: inline-block; width: 26px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; }

    /* task pages */
    .crumbs { font-family: var(--sans); font-size: 0.84rem; color: var(--muted); margin: 26px auto 0; }
    .crumbs a { color: var(--moss-deep); font-weight: 600; }
    .task-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding: 30px 0 34px; }
    .task-hero h1 { font-family: var(--sans); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 820; margin: 0 0 14px; }
    .task-hero .pitch { font-family: var(--sans); font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 20px; }
    .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
    .meta-grid div { background: var(--wash); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; }
    .meta-grid dt, .kv dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-deep); margin: 0 0 4px; }
    .meta-grid dd { margin: 0; font-family: var(--sans); font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
    .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .tile { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; }
    .tile .v { font-family: var(--sans); font-size: 2rem; font-weight: 800; color: var(--moss-deep); letter-spacing: -0.02em; line-height: 1.1; }
    .tile .k { font-family: var(--sans); font-size: 0.86rem; color: var(--ink); margin-top: 4px; }
    .tile .s { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
    .tile .note-calc { display: block; }
    section.block > h2.sec, .sec { font-family: var(--sans); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 16px; }
    .prose p { font-family: var(--sans); font-size: 1rem; line-height: 1.68; color: var(--ink-soft); max-width: 760px; margin: 0 0 14px; }
    .cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
    .icard { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; font-family: var(--sans); }
    .icard h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; display: flex; gap: 8px; align-items: baseline; }
    .icard p { font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
    .icard .num { flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e9b765; color: #5b3e0b; font-size: 0.74rem; font-weight: 800; transform: translateY(-1px); }
    .icard.test h3::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); transform: translateY(-2px); }
    .kv { display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
    .kv dt, .kv dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
    .kv dt { background: var(--wash); display: flex; align-items: center; }
    .kv dd { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
    .kv dt:nth-last-of-type(1), .kv dd:last-child { border-bottom: none; }
    .res-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 6px; margin: 0 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .res-wrap .rchart { min-width: 880px; }
    .res-note { font-family: var(--sans); font-size: 0.86rem; color: var(--muted); line-height: 1.55; max-width: 820px; margin: 10px 0 0; }
    .res-note strong { color: var(--ink-soft); }
    .task-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; padding: 30px 0 10px; border-top: 1px solid var(--line-soft); }
    .task-nav a { font-family: var(--sans); background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); text-decoration: none; }
    .task-nav a:hover { border-color: var(--moss-glow); text-decoration: none; }
    .task-nav a small { display: block; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-family: "JetBrains Mono", ui-monospace, monospace; margin-bottom: 4px; }
    .task-nav a b { font-size: 0.98rem; }
    .task-nav .next { text-align: right; }
    .task-nav .all { display: grid; place-items: center; font-weight: 700; color: var(--moss-deep); }
    .insight-list li strong { color: var(--ink); }
    @media (max-width: 860px) {
      .task-hero { grid-template-columns: 1fr; gap: 22px; }
      .tiles { grid-template-columns: repeat(2, 1fr); }
      .kv { grid-template-columns: 1fr; }
      .kv dt { border-bottom: none; padding-bottom: 2px; }
      .meta-grid { grid-template-columns: 1fr; }
      .task-nav { grid-template-columns: 1fr; }
      .task-nav .next { text-align: left; }
    }

    .cta-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 20px;
                background: radial-gradient(circle at 12% 30%, rgba(79, 124, 86, 0.12), transparent 60%), rgba(252, 252, 249, 0.8); }
    .cta-card h2 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -0.02em; }
    .cta-card p { margin: 0; max-width: 62ch; color: var(--ink-soft); line-height: 1.55; }
    .cta-btn { flex: 0 0 auto; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.78rem;
               font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
    .cta-btn:hover { background: var(--moss-deep); }
    .cta-home { margin-top: 46px; }
    @media (max-width: 760px) { .cta-card { flex-direction: column; align-items: flex-start; } }

    /* ---------- the build benchmark's board: two tasks, read across ---------- */
    .lbm.lay th.task { height: auto; width: auto; min-width: var(--lay-col, 150px); max-width: 240px; padding: 10px 8px; vertical-align: bottom; white-space: normal; }
    .lbm.lay th.task a { writing-mode: horizontal-tb; transform: none; max-height: none; white-space: normal; display: block; line-height: 1.35; font-size: 0.8rem; }
    .lbm.lay th.task small { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-deep); margin-bottom: 3px; }
    .lbm.lay td.sc { padding: 6px 8px; }
    .lbm.lay td.sc span { min-width: 54px; padding: 6px 0; font-size: 0.86rem; }
    .lbm.lay td.win { min-width: 120px; }
    .lay-tests { margin-top: 26px; }
    .lay-tests h3.sub, .lay-run h3.sub { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
    .lay-run { margin-top: 26px; }
    .lay-run p { font-family: var(--sans); font-size: 0.98rem; line-height: 1.65; color: var(--ink-soft); max-width: 820px; margin: 0 0 12px; }
    #lay-tasks .task-grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 460px)); }
    .lb-controls select { max-width: 100%; }
