*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg:        #0a0b11;
      --surface:   #141520;
      --surface2:  #1a1b26;
      --border:    #252636;
      --accent:    #8b5cf6;
      --text:      #e8e8ed;
      --muted:     #5a5a6e;
      --label:     #8a8a9e;
      --radius:    12px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg);
      border-bottom: 1px solid rgba(37, 38, 54, 0.4);
    }
    .nav-inner {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      height: 56px;
      padding: 0 16px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }
    .nav-logo img {
      height: 44px;
      width: auto;
      border-radius: 50%;
    }
    .nav-links {
      display: flex;
      align-items: center;
      justify-self: center;
      gap: 20px;
    }
    .nav-link {
      font-size: 14px;
      color: var(--label);
      text-decoration: none;
      font-weight: 500;
      padding: 6px 12px;
      border-radius: 6px;
      transition: color 0.15s;
    }
    .nav-link:hover,
    .nav-link.active { color: var(--text); }
    .nav-right {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 7px;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.15s, background 0.15s;
      border: none;
      font-family: inherit;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
    }
    .btn-primary:hover { opacity: 0.9; }
    .btn-ghost {
      background: transparent;
      color: var(--label);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { color: var(--text); border-color: #4a4a5a; }

    .bench-page {
      padding: 80px 0 100px;
      max-width: 860px;
      margin: 0 auto;
    }
    .eyebrow {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .bench-page h1 {
      font-size: clamp(34px, 6vw, 56px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.08;
      margin-bottom: 18px;
    }
    .lead {
      font-size: 18px;
      color: var(--label);
      line-height: 1.75;
      margin-bottom: 18px;
    }
    .scope-note {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 36px;
    }
    .toc {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px 16px;
      padding: 20px;
      margin: 36px 0 52px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
    }
    .toc a {
      color: var(--label);
      font-size: 14px;
      text-decoration: none;
    }
    .toc a:hover { color: var(--text); }
    .bench-page h2 {
      font-size: 22px;
      font-weight: 600;
      margin-top: 44px;
      margin-bottom: 14px;
      color: var(--text);
    }
    .bench-page p,
    .bench-page li {
      font-size: 15px;
      color: var(--label);
      line-height: 1.78;
      margin-bottom: 16px;
    }
    .bench-page ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    .bench-page li { margin-bottom: 8px; }
    .bench-page a {
      color: var(--accent);
      text-decoration: none;
    }
    .bench-page a:hover { text-decoration: underline; }
    .bench-page strong {
      color: var(--text);
      font-weight: 600;
    }

    footer {
      border-top: 1px solid var(--border);
      padding: 28px 0;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .footer-logo { font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; }
    .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
    .footer-link { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
    .footer-link:hover { color: var(--label); }
    .footer-copy { font-size: 12px; color: var(--muted); }

    @media (max-width: 768px) {
      .bench-page { padding: 52px 0 72px; }
      .nav-inner { display: flex; justify-content: space-between; }
      .nav-links { display: none; }
      .nav-right { gap: 8px; }
      .nav-right .btn-ghost { display: none; }
      .toc { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    }

    /* --- benchmarks page additions --- */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .bench-page { max-width: 920px; }
    .bench-figure {
      margin: 28px 0 12px;
      padding: 24px 24px 18px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
    }
    .bench-figure figcaption {
      font-size: 13px;
      color: var(--muted);
      margin-top: 12px;
      line-height: 1.6;
    }
    .bench-figure svg { display: block; width: 100%; height: auto; }
    .bench-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 20px;
      margin-bottom: 14px;
    }
    .bench-legend span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      color: var(--label);
    }
    .bench-legend i {
      width: 10px;
      height: 10px;
      border-radius: 3px;
      display: inline-block;
    }
    .bench-table-details { margin: 6px 0 28px; }
    .bench-table-details summary {
      font-size: 13px;
      color: var(--muted);
      cursor: pointer;
    }
    .bench-table-details table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 12px;
      font-size: 13px;
    }
    .bench-table-details th, .bench-table-details td {
      text-align: left;
      padding: 7px 10px;
      border-bottom: 1px solid var(--border);
      color: var(--label);
      font-variant-numeric: tabular-nums;
    }
    .bench-table-details th { color: var(--text); font-weight: 600; }
    .bench-callout {
      margin: 28px 0;
      padding: 18px 22px;
      border-left: 3px solid var(--accent);
      border-radius: 0 var(--radius) var(--radius) 0;
      background: var(--surface);
    }
    .bench-callout p { margin-bottom: 0; }
    .bench-protocol {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.7;
      margin-top: 8px;
    }

    /* ── RESOURCES DROPDOWN ── */
    .nav-dropdown-wrap { position: relative; display: flex; }
    .nav-dropdown-trigger {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
    }
    .nav-dropdown-trigger svg { width: 11px; height: 11px; transition: transform 0.15s; }
    .nav-dropdown-wrap:hover .nav-dropdown-trigger svg,
    .nav-dropdown-wrap:focus-within .nav-dropdown-trigger svg { transform: rotate(180deg); }
    .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      padding-top: 10px;
      display: none;
      z-index: 110;
    }
    .nav-dropdown-wrap:hover .nav-dropdown,
    .nav-dropdown-wrap:focus-within .nav-dropdown { display: block; }
    .nav-dropdown-panel {
      display: flex;
      flex-direction: column;
      min-width: 176px;
      padding: 8px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    }
    .nav-dropdown-link {
      padding: 9px 12px;
      border-radius: 7px;
      color: var(--label);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      transition: color 0.15s, background 0.15s;
    }
    .nav-dropdown-link:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.04);
    }
    .nav-dropdown-link.active { color: var(--text); }

    .footer-social {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .footer-social a {
      display: inline-flex;
      color: var(--muted);
      transition: color 0.15s;
    }
    .footer-social a:hover { color: var(--text); }
    .footer-social svg { width: 16px; height: 16px; }
