:root {
      --teal: #1b7a6e;
      --teal-dark: #145e55;
      --teal-light: #e6f4f1;
      --teal-mid: #2a9d8f;
      --accent: #f4a261;
      --dark: #0f1923;
      --dark-mid: #1a2b38;
      --text: #1a1a2e;
      --text-muted: #5a6a7a;
      --border: #dde8e6;
      --white: #ffffff;
      --card-bg: #ffffff;
      --section-alt: #f8fffe;
      --radius: 12px;
      --radius-sm: 8px;
      --shadow: 0 4px 24px rgba(27,122,110,0.10);
      --shadow-hover: 0 8px 40px rgba(27,122,110,0.18);
      --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      color: var(--text);
      background: var(--white);
      line-height: 1.65;
    }

    /* ── NAV ── */
    nav {
      position: sticky; top: 0; z-index: 1000;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #dde8e6;
      padding: 0 2rem;
      display: flex; align-items: center; justify-content: space-between;
      height: 64px;
      box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
    }
    .nav-logo-icon {
      width: 42px; height: 42px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
      box-shadow: 0 4px 14px rgba(15, 25, 35, 0.08);
    }
    .nav-logo-text { color: var(--text); font-weight: 700; font-size: 1rem; line-height: 1.2; }
    .nav-logo-text span { display: block; font-weight: 400; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
    .nav-links { display: flex; gap: 0.25rem; align-items: center; }
    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      padding: 0.4rem 0.85rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      transition: all 0.2s;
    }
    .nav-links a:hover { color: var(--text); background: var(--teal-light); }
    .nav-links a.active { color: var(--teal); background: var(--teal-light); }
    .nav-cta {
      background: var(--teal-mid); color: white !important;
      padding: 0.4rem 1rem !important;
      border-radius: 20px !important;
      font-weight: 600 !important;
    }
    .nav-cta:hover { background: var(--teal) !important; }
    .nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
    .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

    /* ── HERO ── */
    .hero {
      background: linear-gradient(135deg, #f8fffe 0%, #ffffff 50%, #f0fbf9 100%);
      border-bottom: 1px solid var(--border);
      padding: 7rem 2rem 5rem;
      position: relative; overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(42,157,143,0.08) 0%, transparent 70%);
    }
    .hero-grid {
      max-width: 1100px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
      position: relative; z-index: 1;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--teal-light); border: 1.5px solid var(--border);
      color: var(--teal); padding: 4px 12px; border-radius: 20px;
      font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
      margin-bottom: 1.25rem;
    }
    .hero-badge::before { content: '●'; font-size: 0.5rem; }
    .hero h1 {
      font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
      color: var(--text); line-height: 1.15; margin-bottom: 1.25rem;
    }
    .hero h1 em { font-style: normal; color: var(--teal-mid); }
    .hero p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 460px; }
    .hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }
    .btn-primary {
      background: var(--teal-mid); color: white;
      padding: 0.75rem 1.5rem; border-radius: 8px;
      font-weight: 600; font-size: 0.9rem; text-decoration: none;
      transition: all 0.2s; border: none; cursor: pointer;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-primary:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,157,143,0.4); }
    .btn-outline {
      background: transparent; color: var(--teal);
      padding: 0.75rem 1.5rem; border-radius: 8px;
      font-weight: 600; font-size: 0.9rem; text-decoration: none;
      border: 1.5px solid var(--teal-mid); transition: all 0.2s;
    }
    .btn-outline:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }
    .hero-visual {
      background: white;
      border: 1.5px solid var(--border);
      border-radius: 16px; padding: 1.75rem;
      box-shadow: var(--shadow);
    }
    .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-card {
      background: var(--teal-light); border: 1.5px solid var(--border);
      border-radius: 10px; padding: 1.25rem;
      text-align: center;
    }
    .stat-card .num { font-size: 2rem; font-weight: 800; color: var(--teal); }
    .stat-card .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
    .hero-mission {
      margin-top: 1rem;
      background: var(--teal-light); border: 1.5px solid var(--border);
      border-radius: 10px; padding: 1rem 1.25rem;
      color: var(--text-muted); font-size: 0.875rem; line-height: 1.6;
      font-style: italic;
    }
    .hero-mission strong {
      color: var(--teal-dark);
      font-style: normal;
    }

    /* ── SECTIONS ── */
    section { padding: 5rem 2rem; }
    section:nth-child(even) { background: var(--section-alt); }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-header { margin-bottom: 2.5rem; }
    .section-label {
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--teal-mid); margin-bottom: 0.5rem;
    }
    .section-header h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--text); }
    .section-header p { color: var(--text-muted); margin-top: 0.5rem; max-width: 560px; }
    .section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }

    /* ── FILTER BAR ── */
    .filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; align-items: center; }
    .filter-search {
      flex: 1; min-width: 200px; max-width: 320px;
      padding: 0.55rem 1rem; border: 1.5px solid var(--border);
      border-radius: 8px; font-size: 0.875rem; outline: none;
      transition: border-color 0.2s; background: white;
    }
    .filter-search:focus { border-color: var(--teal-mid); }
    .filter-tag {
      padding: 0.45rem 1rem; border-radius: 20px;
      border: 1.5px solid var(--border); background: white;
      font-size: 0.8rem; font-weight: 600; cursor: pointer;
      color: var(--text-muted); transition: all 0.2s;
    }
    .filter-tag.active, .filter-tag:hover { border-color: var(--teal-mid); color: var(--teal); background: var(--teal-light); }

    /* ── CARDS ── */
    .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
    .card {
      background: var(--card-bg); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 1.5rem;
      transition: all 0.25s; cursor: pointer;
      display: flex; flex-direction: column;
    }
    .card:hover { box-shadow: var(--shadow-hover); border-color: var(--teal-mid); transform: translateY(-2px); }
    .card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
    .card-tag {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      padding: 3px 10px; border-radius: 20px;
    }
    .tag-research { background: #e6f4f1; color: #1b7a6e; }
    .tag-incident { background: #fef3e7; color: #c85a00; }
    .tag-safety { background: #ede9fe; color: #5b21b6; }
    .tag-policy { background: #e0f2fe; color: #075985; }
    .card-date { font-size: 0.78rem; color: var(--text-muted); }
    .card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; line-height: 1.4; }
    .card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
    .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .card-authors { font-size: 0.78rem; color: var(--text-muted); }
    .card-link {
      font-size: 0.8rem; font-weight: 700; color: var(--teal);
      text-decoration: none; display: flex; align-items: center; gap: 4px;
      transition: gap 0.2s;
    }
    .card-link:hover { gap: 8px; }
    .card-status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; }
    .status-dot { width: 7px; height: 7px; border-radius: 50%; }
    .status-active .status-dot { background: #22c55e; }
    .status-review .status-dot { background: #f59e0b; }
    .status-draft .status-dot { background: #94a3b8; }
    .status-active { color: #166534; }
    .status-review { color: #92400e; }
    .status-draft { color: #475569; }

    /* ── INCIDENT CARDS ── */
    .incident-card {
      background: var(--card-bg); border: 1.5px solid var(--border);
      border-radius: var(--radius); overflow: hidden;
      transition: all 0.25s;
    }
    .incident-card:hover { box-shadow: var(--shadow-hover); border-color: #f4a261; transform: translateY(-2px); }
    .incident-header {
      padding: 1.25rem 1.5rem;
      display: flex; justify-content: space-between; align-items: center;
      border-bottom: 1px solid var(--border);
    }
    .incident-severity {
      font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 4px;
      text-transform: uppercase; letter-spacing: 0.08em;
    }
    .sev-critical { background: #fee2e2; color: #991b1b; }
    .sev-high { background: #fef3c7; color: #92400e; }
    .sev-medium { background: #e0f2fe; color: #075985; }
    .incident-body { padding: 1.25rem 1.5rem; }
    .incident-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
    .incident-body p { font-size: 0.875rem; color: var(--text-muted); }
    .incident-steps { margin-top: 1rem; }
    .incident-step {
      display: flex; gap: 0.75rem; align-items: flex-start;
      padding: 0.5rem 0; border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
    }
    .incident-step:last-child { border: none; }
    .step-num {
      width: 22px; height: 22px; border-radius: 50%;
      background: var(--teal-light); color: var(--teal);
      font-size: 0.72rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
    }

    /* ── MODEL SAFETY ── */
    .safety-card {
      background: var(--card-bg); border: 1.5px solid var(--border);
      border-radius: var(--radius); padding: 1.5rem;
      transition: all 0.25s;
    }
    .safety-card:hover { box-shadow: var(--shadow-hover); border-color: #a78bfa; transform: translateY(-2px); }
    .safety-model-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem; }
    .safety-model-org { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
    .safety-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; }
    .score-item { text-align: center; }
    .score-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
    .score-bar-wrap { height: 6px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
    .score-bar { height: 100%; border-radius: 4px; transition: width 1s ease; }
    .score-val { font-size: 0.8rem; font-weight: 700; margin-top: 4px; }
    .bar-green { background: linear-gradient(90deg, #22c55e, #16a34a); }
    .bar-yellow { background: linear-gradient(90deg, #f59e0b, #d97706); }
    .bar-red { background: linear-gradient(90deg, #ef4444, #dc2626); }
    .bar-blue { background: linear-gradient(90deg, #3b82f6, #2563eb); }
    .safety-findings { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .finding { display: flex; gap: 8px; align-items: flex-start; font-size: 0.83rem; margin-bottom: 0.4rem; color: var(--text-muted); }
    .finding::before { content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

    /* ── ABOUT ── */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
    .about-text p { color: var(--text-muted); margin-bottom: 1rem; }
    .pillar-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
    .pillar { display: flex; gap: 1rem; align-items: flex-start; }
    .pillar-icon { width: 40px; height: 40px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
    .pillar-body h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
    .pillar-body p { font-size: 0.85rem; color: var(--text-muted); }
    .about-info { display: flex; flex-direction: column; gap: 1rem; }
    .info-box { background: var(--teal-light); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
    .info-box h4 { font-size: 0.8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
    .info-box p, .info-box a { font-size: 0.875rem; color: var(--text); }
    .info-box a { color: var(--teal); }

    /* ── DONATE ── */
    .donate-section {
      background: var(--teal-light);
      border-top: 1.5px solid var(--border);
    }
    .donate-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 2rem;
      align-items: start;
    }
    .donate-widget {
      min-width: 0;
    }
    .donate-sidebar {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .donate-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.25rem;
    }
    .donate-card-icon {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }
    .donate-card-title {
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.25rem;
    }
    .donate-card-copy {
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .donate-note {
      color: var(--text-muted);
      font-size: 0.75rem;
      margin-top: 0.5rem;
    }

    /* ── ROADMAP ── */
    .roadmap-intro {
      display: grid;
      grid-template-columns: 1.4fr 0.9fr;
      gap: 1.5rem;
      align-items: start;
    }
    .roadmap-phase-grid,
    .funding-grid,
    .model-list-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.25rem;
    }
    .roadmap-card {
      background: white;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }
    .roadmap-card h3,
    .roadmap-card h4 {
      color: var(--text);
      margin-bottom: 0.6rem;
    }
    .roadmap-card p {
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.65;
    }
    .roadmap-kicker {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.3rem 0.75rem;
      border-radius: 999px;
      background: var(--teal-light);
      border: 1px solid var(--border);
      color: var(--teal);
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 0.9rem;
    }
    .roadmap-highlight {
      background: linear-gradient(135deg, #f7fffd 0%, #eefaf7 100%);
    }
    .funding-amount {
      font-size: 2rem;
      line-height: 1;
      font-weight: 800;
      color: var(--teal-dark);
      margin-bottom: 0.55rem;
    }
    .roadmap-list,
    .roadmap-checklist {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      margin-top: 1rem;
    }
    .roadmap-list-item,
    .roadmap-check {
      display: flex;
      gap: 0.7rem;
      align-items: flex-start;
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .roadmap-list-item::before,
    .roadmap-check::before {
      color: var(--teal);
      font-weight: 800;
      flex-shrink: 0;
    }
    .roadmap-list-item::before {
      content: "→";
    }
    .roadmap-check::before {
      content: "✓";
    }
    .roadmap-micro {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 0.75rem;
    }
    .model-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      margin-top: 0.9rem;
    }
    .model-tag {
      display: inline-flex;
      align-items: center;
      padding: 0.3rem 0.6rem;
      border-radius: 999px;
      background: var(--teal-light);
      color: var(--teal-dark);
      border: 1px solid var(--border);
      font-size: 0.78rem;
      font-weight: 600;
    }
    .roadmap-source-note {
      color: var(--text-muted);
      font-size: 0.82rem;
      margin-top: 1rem;
    }

    /* ── TOOLING SHOWCASE ── */
    .tooling-showcase {
      margin-top: 2rem;
      background: white;
      border: 1.5px solid var(--border);
      border-radius: calc(var(--radius) + 4px);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .tooling-showcase img {
      display: block;
      width: 100%;
      height: auto;
      background: #f4f8f7;
    }
    .tooling-showcase-body {
      padding: 1.15rem 1.25rem 1.35rem;
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .tooling-showcase-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.3rem;
    }
    .tooling-showcase-copy {
      max-width: 700px;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.65;
    }
    .tooling-showcase-note {
      font-size: 0.78rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    /* ── MODEL EVALUATION CARDS ── */
    .evaluation-hero {
      padding: 4.5rem 2rem 3.5rem;
      border-bottom: 1px solid var(--border);
      background: radial-gradient(circle at 82% 18%, rgba(42,157,143,.14), transparent 28%), linear-gradient(135deg, #f7fffd 0%, #ffffff 55%, #eef9f6 100%);
    }
    .evaluation-hero-inner,
    .result-page-inner { max-width: 1100px; margin: 0 auto; }
    .evaluation-hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.75fr); align-items: end; gap: 3rem; }
    .evaluation-eyebrow { display: inline-block; margin-bottom: .75rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .evaluation-hero h1 { max-width: 720px; margin-bottom: 1rem; color: var(--text); font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; }
    .evaluation-hero p { max-width: 740px; color: var(--text-muted); font-size: 1.03rem; }
    .evaluation-principle { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem; border: 1px solid #cfe3dd; border-radius: 14px; color: var(--text-muted); background: rgba(255,255,255,.82); box-shadow: var(--shadow); font-size: .86rem; }
    .evaluation-principle strong { color: var(--teal-dark); font-size: .95rem; }
    .evaluation-section { padding-top: 3rem; background: var(--section-alt); }
    .evaluation-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 1.5rem; }
    .evaluation-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 10px; background: white; }
    .evaluation-stats strong { color: var(--teal-dark); font-size: 1.5rem; }
    .evaluation-stats span { color: var(--text-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
    .evaluation-controls { display: grid; grid-template-columns: minmax(240px,1fr) 210px auto; align-items: end; gap: 1rem; margin-bottom: 1.25rem; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: white; }
    .evaluation-controls label { display: flex; flex-direction: column; gap: .35rem; color: var(--text-muted); font-size: .75rem; font-weight: 700; }
    .evaluation-controls input,
    .evaluation-controls select { width: 100%; height: 42px; padding: 0 .8rem; border: 1px solid #ceded9; border-radius: 8px; outline: none; color: var(--text); background: white; font: inherit; font-size: .88rem; }
    .evaluation-controls input:focus,
    .evaluation-controls select:focus { border-color: var(--teal-mid); box-shadow: 0 0 0 3px rgba(42,157,143,.12); }
    .evaluation-updated { padding-bottom: .7rem; color: var(--text-muted); font-size: .78rem; white-space: nowrap; }
    .evaluation-updated strong { color: var(--text); }
    .evaluation-status { margin: 1rem 0; padding: .85rem 1rem; border-radius: 9px; color: #376a60; background: var(--teal-light); font-size: .86rem; }
    .evaluation-status.empty { color: var(--text-muted); background: #eef2f1; }
    .evaluation-status.error { color: #8b3f3f; background: #fff0f0; }
    .evaluation-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(420px,1fr)); gap: 1.25rem; }
    .evaluation-card { display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--border); border-radius: 14px; background: white; box-shadow: 0 3px 18px rgba(27,122,110,.06); }
    .evaluation-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .provider-badge { display: inline-flex; width: fit-content; padding: .25rem .65rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-light); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .submission-count { color: var(--text-muted); font-size: .76rem; }
    .evaluation-card h2 { margin: .7rem 0 .2rem; overflow-wrap: anywhere; font-size: 1.15rem; }
    .evaluation-model-note { color: var(--text-muted); font-size: .8rem; }
    .dimension-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.2rem; }
    .dimension-row { padding-top: .85rem; border-top: 1px solid #e6eeec; }
    .dimension-row-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
    .dimension-row-heading strong { color: var(--text); font-size: .83rem; }
    .dimension-row-heading span { color: var(--text-muted); font-size: .7rem; text-align: right; }
    .dimension-score { display: grid; grid-template-columns: minmax(0,1fr) 52px; align-items: center; gap: .7rem; margin-top: .45rem; }
    .dimension-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e8efed; }
    .dimension-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3d9c8d,#1b7a6e); }
    .dimension-fill.human { background: linear-gradient(90deg,#2d8a70,#14674f); }
    .dimension-score b { color: var(--teal-dark); font-size: .76rem; text-align: right; }
    .dimension-secondary { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin-top: .4rem; color: #72817e; font-size: .67rem; }
    .dimension-secondary .multi-turn-summary { color: #674aa5; font-weight: 700; }
    .evaluation-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .evaluation-card-footer .btn-primary { padding: .58rem .85rem; font-size: .78rem; white-space: nowrap; }
    .trust-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
    .trust-badges span { padding: .24rem .5rem; border: 1px solid #d9e5e1; border-radius: 5px; color: #58706a; background: #f7faf9; font-size: .66rem; }
    .trust-badges .multi-turn-trust { color: #674aa5; border-color: #ddd3f0; background: #f7f3fd; }
    .evaluation-methodology { background: white; }
    .method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
    .method-grid article { padding: 1.35rem; border: 1px solid var(--border); border-radius: 12px; background: #fbfdfc; }
    .method-grid h3 { margin: .8rem 0 .45rem; font-size: .95rem; }
    .method-grid p { color: var(--text-muted); font-size: .84rem; }
    .method-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: .76rem; font-weight: 900; }
    .method-mark.automatic { color: #075985; background: #e0f2fe; }
    .method-mark.human { color: #166534; background: #dcfce7; }
    .method-mark.model { color: #5b21b6; background: #ede9fe; }
    .multi-turn-method { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1rem; margin-top: 1.25rem; padding: 1.25rem 1.35rem; border: 1px solid #dcd1ee; border-radius: 12px; background: #faf8fe; }
    .multi-turn-method .method-mark { color: #5b21b6; background: #ede9fe; }
    .multi-turn-method h3 { margin: 0 0 .35rem; font-size: .95rem; }
    .multi-turn-method p { color: var(--text-muted); font-size: .84rem; }

    .result-page { min-height: 70vh; padding: 2.5rem 2rem 5rem; background: #f7fbfa; }
    .result-evidence-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; margin-top: 1.5rem; padding: 1.6rem; border: 1px solid var(--border); border-radius: 14px; background: white; box-shadow: var(--shadow); }
    .result-evidence-header h1 { margin: .65rem 0 .35rem; overflow-wrap: anywhere; font-size: clamp(1.6rem,3vw,2.35rem); }
    .result-evidence-header p { color: var(--text-muted); font-size: .88rem; }
    .result-provenance { min-width: 250px; display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: 10px; background: var(--teal-light); color: var(--text-muted); font-size: .76rem; }
    .result-provenance strong { color: var(--teal-dark); font-size: .82rem; }
    .methodology-note { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--border); white-space: pre-wrap; }
    .result-dimensions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
    .result-dimensions .dimension-row { padding: 1rem; border: 1px solid var(--border); border-radius: 11px; background: white; }
    .evidence-warning { display: flex; flex-direction: column; gap: .3rem; margin: 1.25rem 0; padding: 1rem 1.15rem; border: 1px solid #ead8b1; border-radius: 10px; color: #725928; background: #fff8e8; font-size: .82rem; }
    .case-evidence { margin-top: 2rem; }
    .case-evidence-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
    .case-evidence-heading span { color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
    .case-evidence-heading h2 { margin-top: .25rem; font-size: 1.4rem; }
    .case-evidence-heading p { max-width: 360px; color: var(--text-muted); font-size: .8rem; text-align: right; }
    #caseRecords { display: flex; flex-direction: column; gap: .8rem; }
    .case-record { overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: white; }
    .case-record summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; cursor: pointer; list-style: none; }
    .case-record summary::-webkit-details-marker { display: none; }
    .case-record summary > span { display: flex; flex-direction: column; gap: .2rem; }
    .case-record summary strong { font-size: .88rem; }
    .case-record summary small { color: var(--text-muted); font-size: .7rem; }
    .evidence-verdict { display: inline-flex; width: fit-content; padding: .25rem .55rem; border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: capitalize; white-space: nowrap; }
    .evidence-verdict.pass { color: #166534; background: #dcfce7; }
    .evidence-verdict.fail { color: #991b1b; background: #fee2e2; }
    .evidence-verdict.review { color: #92400e; background: #fef3c7; }
    .evidence-verdict.mostly_pass { color: #854d0e; background: #fef3c7; }
    .evidence-verdict.error { color: #7f1d1d; background: #f3e8e8; }
    .case-record-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; padding: 1rem; border-top: 1px solid var(--border); background: #fbfdfc; }
    .evidence-block { min-width: 0; padding: 1rem; border: 1px solid #e0e9e6; border-radius: 9px; background: white; }
    .evidence-block h3 { margin-bottom: .75rem; color: var(--text); font-size: .82rem; }
    .prompt-message { margin-top: .65rem; }
    .prompt-message > span { display: inline-block; margin-bottom: .25rem; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .evidence-block pre { max-height: 380px; overflow: auto; padding: .75rem; border-radius: 7px; color: #33443f; background: #f3f7f6; font: .76rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
    .raw-evidence { min-height: 100px; }
    .outcome-record { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid #edf1f0; }
    .outcome-record:last-child { border-bottom: 0; }
    .outcome-record > div { display: flex; flex-direction: column; gap: .2rem; }
    .outcome-record strong { color: #3d504b; font-size: .76rem; }
    .outcome-record small { color: var(--text-muted); font-size: .68rem; }
    .review-record { margin-top: .65rem; padding: .8rem; border-left: 3px solid #65a998; border-radius: 6px; background: #f1f8f6; }
    .review-record.model { border-left-color: #8b75bf; background: #f6f3fb; }
    .review-record strong { display: block; font-size: .76rem; }
    .review-record > small { color: var(--text-muted); font-size: .66rem; }
    .review-record p { margin-top: .45rem; color: #4b5d58; font-size: .75rem; white-space: pre-wrap; }
    .judge-response { margin-top: .6rem; }
    .judge-response summary { min-height: auto; padding: 0; color: #65558b; font-size: .7rem; font-weight: 700; }
    .judge-response pre { margin-top: .45rem; }
    .empty-evidence { color: var(--text-muted); font-size: .75rem; }
    .case-provenance { grid-column: 1 / -1; color: var(--text-muted); font: .66rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap: anywhere; }
    .multi-turn-record { grid-column: 1 / -1; padding: 0; overflow: hidden; border-color: #ddd4ed; }
    .multi-turn-record-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid #e5ddf1; background: #fbf9fe; }
    .multi-turn-record-heading h3 { margin: 0 0 .25rem; }
    .multi-turn-record-heading p { color: var(--text-muted); font-size: .75rem; }
    .multi-turn-label { padding: .3rem .55rem; border-radius: 999px; color: #674aa5; background: #eee8f8; font-size: .66rem; font-weight: 800; white-space: nowrap; }
    .published-turn-list { display: flex; flex-direction: column; gap: .9rem; padding: 1rem; }
    .published-turn { overflow: hidden; border: 1px solid #dfe8e5; border-radius: 9px; background: white; }
    .published-turn-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .75rem; padding: .75rem .85rem; border-bottom: 1px solid #e6edeb; background: #f6f9f8; }
    .published-turn-heading .turn-number { padding: .25rem .48rem; border-radius: 999px; color: #65479f; background: #ece6f7; font-size: .63rem; font-weight: 800; text-transform: uppercase; }
    .published-turn-heading > div { display: flex; flex-direction: column; gap: .15rem; }
    .published-turn-heading strong { color: var(--text); font-size: .8rem; }
    .published-turn-heading small { color: var(--text-muted); font-size: .66rem; }
    .published-turn-exchange { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: .85rem; }
    .published-turn h4 { margin: 0 0 .4rem; color: #5c6e69; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
    .published-turn-outcomes { padding: 0 .85rem .85rem; }

    /* ── FOOTER ── */
    footer {
      background: var(--dark);
      padding: 3rem 2rem 2rem;
      color: rgba(255,255,255,0.78);
    }
    .footer-inner { max-width: 1100px; margin: 0 auto; }
    .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
    .footer-brand-lockup { display:flex; align-items:center; gap:10px; }
    .footer-brand-mark {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
      background: white;
    }
    .footer-brand p { font-size: 0.875rem; margin-top: 0.75rem; max-width: 300px; line-height: 1.6; }
    .footer-col h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
    .footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.4rem; transition: color 0.2s; }
    .footer-col a:hover { color: rgba(255,255,255,0.9); }
    .footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 1rem; font-size: 0.8rem; }
    .footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
    .ein-badge { background: rgba(42,157,143,0.15); border: 1px solid rgba(42,157,143,0.3); color: #7dd4cc; padding: 2px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

    /* ── MOBILE ── */
    @media (max-width: 768px) {
      nav { padding: 0 1rem; }
      .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; padding: 1rem; gap: 0.25rem; border-bottom: 1.5px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
      .nav-links.open { display: flex; }
      .evaluation-hero-grid,
      .result-evidence-header { grid-template-columns: 1fr; }
      .evaluation-stats,
      .method-grid { grid-template-columns: 1fr; }
      .evaluation-controls { grid-template-columns: 1fr; }
      .evaluation-updated { padding-bottom: 0; }
      .evaluation-card-grid { grid-template-columns: 1fr; }
      .evaluation-card-footer,
      .case-evidence-heading { align-items: stretch; flex-direction: column; }
      .evaluation-card-footer .btn-primary { justify-content: center; }
      .result-dimensions,
      .case-record-body { grid-template-columns: 1fr; }
      .published-turn-exchange { grid-template-columns: 1fr; }
      .multi-turn-record-heading { flex-direction: column; }
      .case-evidence-heading p { text-align: left; }
      .result-provenance { min-width: 0; }
      .nav-hamburger { display: block; }
      .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .hero { padding: 5rem 1.5rem 3.5rem; }
      .about-grid { grid-template-columns: 1fr; gap: 2rem; }
      .footer-top { grid-template-columns: 1fr; gap: 2rem; }
      section { padding: 3.5rem 1.25rem; }
      .filter-bar { gap: 0.4rem; }
      .filter-search { max-width: 100%; width: 100%; }
      .tooling-showcase-body { padding: 1rem 1rem 1.15rem; }
      .tooling-showcase-note { white-space: normal; }
      .donate-layout { grid-template-columns: 1fr; }
      .roadmap-intro { grid-template-columns: 1fr; }
      .donate-sidebar { order: 2; }
      .donate-widget { order: 1; }
      .donate-section .section-header p { margin-left: auto; margin-right: auto; }
    }

/* ── SUBPAGE HEADER ── */
.page-hero {
  background: linear-gradient(135deg, #f8fffe 0%, #ffffff 50%, #f0fbf9 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 2.75rem;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--text); line-height: 1.15; }
.page-hero p { color: var(--text-muted); margin-top: 0.75rem; max-width: 620px; font-size: 1.02rem; }

/* ── HOMEPAGE HUB CARDS ── */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.hub-card {
  background: var(--card-bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; text-decoration: none;
  display: flex; flex-direction: column; transition: all 0.25s; color: var(--text);
}
.hub-card:hover { box-shadow: var(--shadow-hover); border-color: var(--teal-mid); transform: translateY(-2px); }
.hub-card .hub-icon { width: 48px; height: 48px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.hub-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.hub-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.hub-card .hub-link { margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.hub-card:hover .hub-link { gap: 8px; }
