  :root {
    --bg-canvas: #fafafa;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-muted: #e2e8f0;

    --text-main: #090d16;
    --text-muted: #64748b;
    --text-faint: #94a3b8;

    --brand-dark: #090d16;
    --brand-border: #090d16;

    --emerald: #10b981;
    --emerald-dark: #059669;
    --emerald-bg: #ecfdf5;
    --emerald-border: #a7f3d0;

    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-bg: #fffbeb;
    --amber-border: #fde68a;

    --crimson: #ef4444;
    --crimson-dark: #dc2626;
    --crimson-bg: #fef2f2;
    --crimson-border: #fecaca;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  }

  * { box-sizing: border-box; }
  img, video {
    max-width: 100%;
    height: auto;
  }
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }
  body {
    background: var(--bg-canvas);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  .tabular { font-variant-numeric: tabular-nums; }
  a { text-decoration: none; color: inherit; }

  ::selection {
    background: var(--brand-dark);
    color: #ffffff;
  }

  /* ---- Buttons ---- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    border: 1.5px solid var(--brand-border);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn-dark {
    background: var(--brand-dark);
    color: #ffffff;
    box-shadow: 0 3px 0 var(--brand-border);
  }
  .btn-emerald {
    background: var(--emerald);
    color: var(--brand-dark);
    box-shadow: 0 3px 0 var(--brand-border);
  }
  .btn-secondary {
    background: var(--bg-surface);
    color: var(--brand-dark);
    box-shadow: 0 3px 0 var(--brand-border);
  }
  .btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(9, 13, 22, 0.15);
    color: var(--text-main);
    box-shadow: 0 2px 0 rgba(9, 13, 22, 0.05);
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--brand-border);
  }
  .btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--brand-border);
  }
  .btn-ghost:hover {
    background: var(--bg-surface);
    border-color: var(--brand-border);
  }

  .btn-sm {
    min-height: 32px;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    box-shadow: 0 2.5px 0 var(--brand-border);
  }
  .btn-sm:hover { box-shadow: 0 3.5px 0 var(--brand-border); }
  .btn-sm:active { box-shadow: 0 1px 0 var(--brand-border); }

  /* ---- Badges ---- */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 6px;
    border: 1px solid;
    padding: 2px 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .badge-emerald { border-color: var(--emerald-border); background: var(--emerald-bg); color: var(--emerald-dark); }
  .badge-amber   { border-color: var(--amber-border); background: var(--amber-bg); color: var(--amber-dark); }
  .badge-crimson { border-color: var(--crimson-border); background: var(--crimson-bg); color: var(--crimson-dark); }
  .badge-dark    { border-color: var(--brand-border); background: var(--brand-dark); color: #ffffff; }
  .badge-muted   { border-color: var(--bg-muted); background: var(--bg-subtle); color: var(--text-muted); }

  /* ---- Header ---- */
  header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 250, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1.5px solid var(--brand-border);
    width: 100%;
  }
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.03em;
    color: var(--brand-dark);
    flex-shrink: 0;
  }
  .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--brand-dark);
    color: var(--emerald);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
  }
  .brand-dot { color: var(--emerald); }

  .header-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1.5px solid var(--brand-border);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 2px 0 rgba(9, 13, 22, 0.08);
    flex-shrink: 0;
    white-space: nowrap;
  }
  .pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 2s infinite;
  }
  @keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
  }

  .nav-links {
    display: none;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-muted);
  }
  .nav-links a:hover { color: var(--brand-dark); }
  @media (min-width: 720px) {
    .nav-links { display: flex; }
  }

  /* ---- Main Container ---- */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 64px;
  }

  /* ---- Hero ---- */
  .hero-section {
    padding: 12px 0 24px;
  }
  .hero-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-subtle);
    border: 1px solid var(--bg-muted);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  .hero-tagline {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--brand-dark);
    margin: 0 0 14px;
  }
  .hero-tagline .highlight {
    color: var(--emerald-dark);
    display: inline-block;
  }
  .hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 640px;
  }

  /* ---- Stats Grid ---- */
  .stats-ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
  }
  @media (min-width: 680px) {
    .stats-ribbon { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  }
  .stat-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    box-shadow: 0 3px 0 var(--brand-border);
    display: flex;
    flex-direction: column;
  }
  .stat-card .val {
    font-family: var(--font-mono);
    font-size: 19px;
    font-weight: 800;
    color: var(--brand-dark);
  }
  .stat-card .lbl {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 2px;
  }

  /* ---- Section Heading ---- */
  .section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--brand-border);
  }
  .section-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--brand-dark);
  }
  .section-subtitle {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
  }

  /* ---- Benchmark Cards ---- */
  .benchmark-box {
    background: var(--bg-surface);
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 4px 0 var(--brand-border);
    margin-bottom: 28px;
  }
  @media (min-width: 640px) {
    .benchmark-box { padding: 24px; border-radius: var(--radius-xl); box-shadow: 0 5px 0 var(--brand-border); }
  }
  .benchmark-top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }
  @media (min-width: 640px) {
    .benchmark-top-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  }
  .benchmark-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
  }
  .benchmark-heading {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--brand-dark);
  }
  .benchmark-summary {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 16px;
    max-width: 820px;
  }

  .video-preview-wrapper, .multi-video-preview {
    background: #000000;
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 0 var(--brand-border);
    width: 100%;
    max-width: 100%;
  }
  .video-preview-header, .video-overlay-bar {
    background: #111827;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1f2937;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 700;
  }
  .video-overlay-title {
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 700;
  }
  .video-preview-wrapper video, .video-preview-wrapper iframe,
  .multi-video-preview video, .multi-video-preview iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border: none;
  }
  .media-tab-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .media-tab-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
  .media-tab-btn.active { background: var(--emerald); color: #090d16; border-color: var(--emerald); }
  .btn-embed-trigger {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #f1f5f9;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
  }
  .btn-embed-trigger:hover { background: rgba(255,255,255,0.2); border-color: #38bdf8; color: #38bdf8; }

  /* Embed modal */
  .embed-modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
    z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px;
  }
  .embed-modal-backdrop.open { display: flex; }
  .embed-modal-box {
    background: #0f172a; border: 1.5px solid #334155; border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); width: 100%; max-width: 600px; overflow: hidden; color: #f8fafc;
  }
  .embed-modal-header {
    background: #1e293b; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #334155;
  }
  .embed-modal-header h4 { margin: 0; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
  .embed-close-btn { background: transparent; border: none; color: #94a3b8; font-size: 18px; cursor: pointer; padding: 4px; }
  .embed-modal-body { padding: 16px; }
  .embed-tabs { display: flex; gap: 6px; margin-bottom: 12px; border-bottom: 1px solid #334155; padding-bottom: 8px; }
  .embed-tab { background: #1e293b; border: 1px solid #334155; color: #94a3b8; padding: 5px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
  .embed-tab.active { background: var(--emerald); color: #090d16; border-color: var(--emerald); }
  .embed-code-area { background: #020617; border: 1px solid #1e293b; border-radius: 8px; padding: 10px; font-family: var(--font-mono); font-size: 11px; color: #38bdf8; line-height: 1.5; word-break: break-all; user-select: all; }
  .embed-copy-btn { margin-top: 10px; width: 100%; background: var(--emerald); color: #090d16; font-weight: 900; font-size: 12.5px; border: none; padding: 8px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .embed-copy-btn:hover { background: #34d399; }

    /* ---- Unified Model Stack Card & Scroll Track ---- */
  .stacks-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 14px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
  .stacks-track::-webkit-scrollbar {
    height: 6px;
  }
  .stacks-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
  }
  .stacks-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }
  .stacks-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
  .model-card {
    flex: 0 0 310px;
    min-width: 285px;
    scroll-snap-align: start;
    box-sizing: border-box;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 2px solid var(--card-brand-color, var(--brand-border));
    box-shadow: 0 4px 0 var(--card-brand-color, var(--brand-border));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--card-brand-color, var(--brand-border)), 0 10px 20px rgba(0,0,0,0.06);
  }

  @media (min-width: 1040px) {
    .stacks-track.count-3 .model-card {
      flex: 1 1 0;
      min-width: 250px;
    }
  }
  @media (min-width: 1380px) {
    .stacks-track.count-4 .model-card {
      flex: 1 1 0;
      min-width: 250px;
    }
  }

  /* Model Brand Signature Themes - Exact Logo Alignment */
  .model-card--claude {
    --card-brand-color: #D97757;
    --card-brand-bg: #fff7f5;
    --card-brand-text: #b85434;
    --card-brand-pill-bg: #fdeee9;
    --card-brand-pill-border: #f9d3c7;
  }
  .model-card--gemini-flash {
    --card-brand-color: #1A73E8;
    --card-brand-bg: #f4f8fe;
    --card-brand-text: #1557b0;
    --card-brand-pill-bg: #e8f0fe;
    --card-brand-pill-border: #aecbfa;
  }
  .model-card--gemini-38 {
    --card-brand-color: #7B1FA2;
    --card-brand-bg: #faf5ff;
    --card-brand-text: #6b178e;
    --card-brand-pill-bg: #f3e8ff;
    --card-brand-pill-border: #d8b4fe;
  }
  .model-card--codex {
    --card-brand-color: #090D16;
    --card-brand-bg: #f8fafc;
    --card-brand-text: #090D16;
    --card-brand-pill-bg: #f1f5f9;
    --card-brand-pill-border: #cbd5e1;
  }

  /* Internal Card Structure */
  .mc-header {
    padding: 11px 14px;
    background: var(--card-brand-bg, #f8fafc);
    border-bottom: 1.5px solid var(--card-brand-color, var(--brand-border));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .mc-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .mc-avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #ffffff;
    border: 1.5px solid var(--card-brand-color, #e2e8f0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
  }
  .mc-avatar:hover {
    transform: scale(1.05);
  }
  .mc-avatar svg {
    display: block;
    width: 20px;
    height: 20px;
  }
  .mc-title-group {
    min-width: 0;
  }
  .mc-name {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--card-brand-text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mc-harness {
    font-size: 10.5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mc-pill {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--card-brand-pill-bg, #f1f5f9);
    border: 1px solid var(--card-brand-pill-border, #cbd5e1);
    color: var(--card-brand-text, #334155);
  }

  .mc-body {
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }
  .mc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    background: var(--bg-subtle);
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-muted);
  }
  .mc-metric {
    display: flex;
    flex-direction: column;
  }
  .mc-metric .v {
    font-size: 12.5px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-main);
  }
  .mc-metric .v.highlight {
    color: var(--card-brand-text, var(--emerald-dark));
  }
  .mc-metric .l {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 1px;
  }
  .mc-verdict {
    font-size: 11.5px;
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: var(--card-brand-bg, #f8fafc);
    border: 1px solid var(--card-brand-pill-border, #e2e8f0);
    color: #1e293b;
  }
  .mc-verdict strong {
    color: var(--card-brand-text, #0f172a);
  }
  .mc-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
  }
  .mc-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 11.5px;
    padding: 6px 8px;
  }

  /* ---- Methodology Grid ---- */
  .methodology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  @media (min-width: 720px) {
    .methodology-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  }
  .methodology-box {
    background: var(--bg-surface);
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: 0 3px 0 var(--brand-border);
  }
  .methodology-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    color: var(--emerald-dark);
    margin-bottom: 4px;
    display: inline-block;
  }
  .methodology-box h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--brand-dark);
  }
  .methodology-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
  }

  footer.site-footer {
    border-top: 1.5px solid var(--brand-border);
    background: var(--bg-surface);
    padding: 24px 16px;
    width: 100%;
  }
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
  }
  @media (min-width: 640px) {
    .footer-inner { flex-direction: row; text-align: left; }
  }
