:root {
  --ink: #152c3b;
  --muted: #627581;
  --blue: #167b79;
  --teal: #167b79;
  --navy: #163a48;
  --line: #dfe7e8;
  --surface: #fff;
  --canvas: #f7f9f9;
  --soft: #edf6f4;
  --shadow: 0 6px 32px #153c4410;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--canvas); line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select, summary { font: inherit; -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { border: 0; background: none; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: white; z-index: 99; }
.skip-link:focus { top: 12px; }
.page-width { width: min(1536px, calc(100% - 96px)); margin-inline: auto; }
.muted { color: var(--muted); }
.divider { margin: 0 8px; color: #b1c0c4; }

/* Identity and introduction */
.site-header { height: 88px; padding-inline: max(48px, calc((100% - 1536px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: white; }
.wordmark { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.wordmark svg { width: 32px; height: 32px; fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wordmark strong { font-size: 27px; letter-spacing: -1.1px; }
.wordmark strong span, footer strong span { font-weight: 400; color: #55717b; }
.wordmark-rule { height: 24px; width: 1px; background: var(--line); margin: 0 10px; }
.wordmark-caption { font-size: 12px; letter-spacing: 1.8px; font-weight: 650; color: var(--muted); }
.site-header nav { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 550; color: #526875; }
.site-header nav .nav-active { color: var(--teal); }
.site-header nav a:last-child { border: 1px solid var(--line); border-radius: 9px; padding: 7px 16px; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; padding-block: 44px 48px; }
.eyebrow { font-size: 12px; letter-spacing: 1.4px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 9px; line-height: 1.6; }
.eyebrow.muted { color: var(--muted); }
.live-dot { width: 7px; height: 7px; background: #299c88; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 5px #299c8810; }
.hero h1 { font-size: clamp(44px, 3.8vw, 62px); line-height: 1.08; letter-spacing: -2.6px; margin: 18px 0; font-weight: 720; }
.hero h1 > span { color: var(--teal); }
.hero-copy > p { font-size: 17px; color: #607681; line-height: 1.75; margin: 0 0 24px; }
.resource-links { display: flex; gap: 10px; flex-wrap: wrap; }
.resource-links a { display: inline-flex; align-items: center; gap: 20px; border: 1px solid #d5e0e2; background: white; min-height: 44px; padding: 8px 17px; font-size: 14px; font-weight: 600; border-radius: 9px; transition: border-color .15s, transform .15s; }
.resource-links a:hover { border-color: var(--teal); transform: translateY(-1px); }
.resource-links a:first-child { background: var(--navy); border-color: var(--navy); color: white; }
.resource-links span { font-size: 17px; }
.hero-art { max-width: 410px; width: 100%; justify-self: center; text-align: center; position: relative; }
.hero-art:before { content: ""; position: absolute; inset: 5% 2%; border-radius: 50%; background: radial-gradient(ellipse, #dceeea 0%, #f7f9f900 68%); z-index: -1; }
.hero-art svg { width: 100%; overflow: visible; }
.orbit-center { font: 700 24px -apple-system, sans-serif; fill: var(--ink); letter-spacing: -.7px; }
.orbit-sub { font: 600 6px sans-serif; letter-spacing: .15px; fill: #60818a; }
.orbit-labels rect { fill: #fff; stroke: #d2e1df; stroke-width: 1; }
.orbit-labels text { text-anchor: middle; font: 550 12px -apple-system, sans-serif; fill: #405e6b; }
.art-caption { font-size: 13px; color: #627f89; }

/* Benchmark switcher and context */
.board-section { scroll-margin-top: 24px; }
.benchmark-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.benchmark-tabs { display: inline-flex; gap: 6px; padding: 6px; background: #eaf0f0; border: 1px solid #dde6e7; border-radius: 14px; }
.benchmark-tabs button { display: flex; align-items: center; justify-content: center; padding: 10px 22px; min-height: 50px; border: 1px solid transparent; border-radius: 10px; font-size: 20px; font-weight: 650; color: #637982; letter-spacing: -.5px; transition: background .15s, color .15s; }
.benchmark-tabs button:hover { color: var(--ink); }
.benchmark-tabs button[aria-pressed=true] { background: white; color: var(--ink); border-color: #d8e5e3; box-shadow: 0 2px 6px #193b4810; }
.plus { color: var(--teal); }
.small-tag { font-size: 10px; letter-spacing: .7px; font-weight: 700; background: #e6f3ef; color: #317966; line-height: 1.5; border-radius: 5px; margin-left: 10px; padding: 3px 7px; }
.small-tag.neutral { color: #71848d; background: #edf1f3; }
.board-intro { display: flex; justify-content: space-between; align-items: center; padding: 30px 0 18px; gap: 32px; }
.board-intro h2 { font-size: 30px; letter-spacing: -.9px; line-height: 1.3; margin: 6px 0 9px; font-weight: 700; }
.board-intro p { font-size: 15px; color: var(--muted); margin: 0; }
.dataset-stats { display: flex; flex-shrink: 0; gap: 30px; }
.dataset-stats > div { border-left: 1px solid #d6e1e3; padding-left: 28px; display: flex; flex-direction: column; }
.dataset-stats strong { font-size: 33px; letter-spacing: -1px; font-weight: 650; line-height: 1.3; font-variant-numeric: tabular-nums; }
.dataset-stats span { font-size: 11px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 1.2px; }
.text-button { padding: 0; color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.text-button:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Instruction language is a result setting, shared by both score views. */
.board-options { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-bottom: 22px; }
.result-language { display: flex; align-items: center; gap: 13px; flex-shrink: 0; margin-left: auto; }
.result-language > span { font-size: 13px; color: #627886; }
.language-tabs { display: flex; gap: 3px; padding: 4px; background: #eaf0f5; border: 1px solid #dde5ed; border-radius: 11px; }
.language-tabs button { min-height: 38px; min-width: 75px; padding: 6px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 550; line-height: 1.5; color: #718599; }
.language-tabs button:hover { color: #355777; background: #ffffff65; }
.language-tabs button[aria-pressed=true] { background: #fff; color: #355777; border-color: #d5e0eb; box-shadow: 0 1px 4px #2649630d; font-weight: 650; }
@media (max-width: 820px) {
  .board-options { align-items: start; }
  .result-language { margin-left: 0; }
}
@media (max-width: 540px) {
  .board-options { gap: 15px; padding-bottom: 18px; }
  .result-language { width: 100%; justify-content: space-between; }
  .language-tabs button { min-height: 40px; padding-inline: 13px; min-width: 70px; }
}

/* Results toolbar */
.board-card { background: white; border: 1px solid #d8e2e4; border-radius: 18px; box-shadow: var(--shadow); overflow: visible; }
.view-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 20px; }
.view-tabs { display: flex; align-items: center; padding: 4px; gap: 4px; background: #f0f4f4; border-radius: 11px; }
.view-tabs button { font-size: 15px; font-weight: 600; color: #667b86; min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; }
.view-tabs button[aria-pressed=true] { color: #186760; background: white; border-color: #dce7e4; box-shadow: 0 1px 4px #213c4310; }
.view-tabs button > span { font-size: 12px; font-weight: 500; color: #6b8388; margin-left: 6px; }
.view-actions { display: flex; gap: 10px; align-items: center; }
.quiet-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 550; padding: 10px 14px; min-height: 44px; border-radius: 9px; white-space: nowrap; transition: background .15s, border-color .15s; }
.quiet-button { color: #516c78; }
.quiet-button:hover { background: #edf4f3; color: #1e635e; }
.view-actions .quiet-button { border: 1px solid #dce5e7; background: white; }
.view-actions .quiet-button:hover { border-color: #a8c9c5; background: #f6faf9; }
.button-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.outline-button { border: 1px solid #c8d8db; background: white; padding: 11px 18px; }
.outline-button:hover { border-color: var(--teal); background: #f4faf8; }
.column-menu { position: relative; }
.column-menu summary { list-style: none; }
.column-menu summary::-webkit-details-marker { display: none; }
.column-popover { position: absolute; top: calc(100% + 12px); right: 0; background: white; border: 1px solid #d6e3e2; border-radius: 14px; padding: 14px; box-shadow: 0 12px 44px #173b4926; width: 264px; z-index: 20; }
.column-popover .eyebrow { padding: 5px 8px 12px; font-size: 11px; }
.column-popover label { display: flex; align-items: center; font-size: 15px; gap: 12px; padding: 8px; border-radius: 6px; }
.column-popover label:hover { background: #edf6f3; }
input[type=checkbox] { accent-color: var(--teal); width: 17px; height: 17px; margin: 0; cursor: pointer; flex-shrink: 0; vertical-align: middle; }
.filter-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px 16px; }
.search-box { display: flex; align-items: center; border: 1px solid #cedcdf; border-radius: 10px; height: 46px; width: 270px; padding: 0 13px; gap: 10px; flex-shrink: 0; background: #fff; transition: box-shadow .15s, border-color .15s; }
.search-box svg { width: 19px; height: 19px; fill: none; stroke: #728d96; stroke-width: 1.7; flex-shrink: 0; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: none; font-size: 16px; background: transparent; color: var(--ink); padding: 0; }
.search-box input::placeholder { color: #7a8d96; }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #167b7912; }
.search-box kbd { border: 1px solid #dfe7e9; border-radius: 4px; padding: 0 6px; color: #8b9da4; font: 13px/22px ui-monospace, monospace; }
.group-filters { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.group-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 11px; min-height: 42px; border-radius: 8px; font-size: 14px; font-weight: 550; color: #667f89; border: 1px solid transparent; white-space: nowrap; }
.group-filters button span { font-size: 12px; min-width: 23px; padding: 1px 5px; line-height: 1.5; text-align: center; background: #edf2f3; color: #6b838d; border-radius: 5px; font-variant-numeric: tabular-nums; }
.group-filters button:hover { background: #f2f7f6; color: var(--ink); }
.group-filters button[aria-pressed=true] { color: #1d6c63; background: #eaf5f0; border-color: #cee5dc; }
.group-filters button[aria-pressed=true] span { background: #d5eae1; color: #317867; }
.input-filter { margin-left: auto; position: relative; flex-shrink: 0; }
.input-filter:after { content: ""; width: 7px; height: 7px; border: solid #62828a; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); position: absolute; right: 17px; top: 18px; pointer-events: none; }
.input-filter select { appearance: none; -webkit-appearance: none; display: block; width: 228px; height: 46px; border: 1px solid #cedcdf; border-radius: 10px; padding: 0 40px 0 15px; background: white; color: #476572; font-size: 15px; font-weight: 500; line-height: normal; outline: none; transition: border-color .15s, box-shadow .15s; }
.input-filter select:hover { border-color: #97b9b5; }
.input-filter select:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px #167b7917; outline: none; }
.table-context { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 26px 20px; color: #788e97; font-size: 13px; }
.table-context > #result-count { color: #58727c; }
.table-context strong { color: #244d59; font-weight: 650; }
.sort-hint { margin-left: auto; }

/* Wide, readable score table. Row headers and data cells share geometry. */
.table-scroll { overflow: auto; scrollbar-width: thin; scrollbar-color: #adc9c5 #f2f7f5; border-top: 1px solid var(--line); }
.table-scroll:focus-visible { outline-offset: -2px; }
.table-scroll table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.table-scroll thead th { height: 72px; background: #f2f6f6; color: #526d77; font-weight: 600; border-bottom: 1px solid #d7e3e3; text-align: center; padding: 10px 8px; vertical-align: middle; font-size: 14px; }
.table-scroll thead th button { font-size: 14px; font-weight: 600; line-height: 1.4; width: 100%; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 0; }
.sort-icon { font-size: 12px; color: #afc0c4; }
.table-scroll th[aria-sort=ascending] .sort-icon, .table-scroll th[aria-sort=descending] .sort-icon { color: var(--teal); }
.table-scroll thead th.active-sort { background: #e6f2ed; color: #1c7868; }
.table-scroll thead th.summary-result { background: #e9eef5; color: #45617e; }
.table-scroll thead th.summary-result.active-sort { background: #dfe8f2; color: #355777; }
.table-scroll thead th.summary-result.active-sort .sort-icon { color: #52769b; }
.table-scroll tbody td, .table-scroll tbody th { padding: 14px 8px; border-bottom: 1px solid #e8eeee; height: 72px; vertical-align: middle; background: white; }
.table-scroll td { text-align: center; font-variant-numeric: tabular-nums; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.table-scroll tbody tr:hover td { box-shadow: inset 0 0 0 100px #17866e06; }
.table-scroll .select-cell { width: 42px; padding-inline: 6px; }
.table-scroll .rank-cell { width: 48px; color: #7f929a; font-size: 14px; }
.table-scroll td.rank-cell .rank-top { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-weight: 650; border-radius: 50%; background: #eef3f4; color: #557681; }
.table-scroll td.rank-cell .rank-1 { background: #fff2d7; color: #9c712a; }
.table-scroll td.rank-cell .rank-2 { background: #edf1f5; color: #657b91; }
.table-scroll td.rank-cell .rank-3 { background: #f7eae0; color: #9c7355; }
.table-scroll .model-cell { text-align: left; padding-left: 14px; width: 280px; position: sticky; left: 0; z-index: 3; background: white; border-right: 1px solid #e3ebeb; }
.table-scroll thead th.model-cell { background: #f2f6f6; z-index: 4; font-size: 14px; }
.table-scroll tbody th.model-cell { padding: 14px; }
.table-scroll .model-button { padding: 0; max-width: 100%; width: auto; text-align: left; display: block; font-size: 15px; font-weight: 600; color: #203f4c; line-height: 1.4; }
.model-button:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.model-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; font-weight: 450; color: #798e96; line-height: 1.3; }
.group-dot { width: 5px; height: 5px; border-radius: 50%; background: #7993b0; }
.group-dot.open { background: #509b82; }
.group-dot.agentic { background: #9c80b5; }
.ours-badge { font-size: 9px; font-weight: 650; letter-spacing: .5px; color: #30745a; background: #e1f1e9; padding: 2px 5px; border-radius: 4px; margin-left: 3px; }
.input-pill { display: inline-block; font-size: 11px; padding: 3px 7px; border: 1px solid #e0e8eb; border-radius: 6px; color: #788d97; white-space: nowrap; background: #fafcfc; }
.input-pill.multi { color: #447f7c; background: #edf6f3; border-color: #d7eae5; }
.score-cell { color: #365765; font-weight: 500; }
.score-cell.summary-result { font-size: 17px; font-weight: 650; color: #3c5976; }
.score-cell.overall { font-weight: 700; color: #355777; position: relative; font-size: 17px; }
.score-cell .score-meter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: block; height: 3px; width: 44px; margin: 0; background: #7c98b51a; border-radius: 5px; overflow: hidden; }
.score-meter i { display: block; height: 3px; background: #92abc4; border-radius: 5px; }
.score-cell.missing { color: #aebec3; font-weight: 400; background: #fcfdfd !important; }
.score-cell.summary-result.missing { color: #9aaabd; background: #f3f5f9 !important; }
.table-scroll tbody tr:hover th.model-cell { background: #f5faf8; }
.table-scroll tbody tr.selected th.model-cell { background: #eaf5f0; box-shadow: inset 3px 0 #31947b; }
.table-scroll tbody tr.ours th.model-cell { background: #f0f8f3; }
.table-scroll tr.ours .model-button { color: #24754f; }
.table-footer { padding: 17px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; color: #728b94; border-top: 1px solid var(--line); }
.legend-swatch { display: inline-block; height: 8px; width: 30px; background: linear-gradient(90deg,#f7f9fb,#c8d5e5); border-radius: 3px; margin-right: 5px; }
.rows-summary { white-space: nowrap; color: #567480; font-size: 12px; }
.ranking-note { font-size: 13px; color: #6e8791; line-height: 1.8; margin: 16px 0 0; max-width: 1180px; }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state > span { font-size: 40px; color: #a2c0c1; }
.empty-state h3 { font-size: 22px; margin: 5px; }
.empty-state p { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.primary-button { background: var(--teal); color: white; font-size: 15px; font-weight: 600; padding: 11px 19px; min-height: 46px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 2px 4px #167b7910; }
.primary-button:hover:not(:disabled) { background: #106b67; color: white; }

/* Context, methodology, and research resources */
.insights-section { padding-block: 60px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .citation-section h2 { font-size: 30px; letter-spacing: -.8px; font-weight: 650; margin: 8px 0 0; line-height: 1.35; }
.caption-text { font-size: 13px; color: #728991; max-width: 300px; text-align: right; }
.insight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 25px; }
.insight-card { border: 1px solid #dbe5e6; border-radius: 14px; background: white; padding: 25px 26px; position: relative; overflow: hidden; }
.insight-card:before { content: ""; position: absolute; left: 0; top: 27px; width: 3px; height: 36px; background: #6395bb; }
.insight-card.open:before { background: #519c81; }
.insight-card.agentic:before { background: #9c83bf; }
.insight-card .eyebrow { font-size: 11px; letter-spacing: 1px; color: #788e97; }
.insight-main { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 12px; }
.insight-main button { font-size: 17px; font-weight: 650; padding: 0; text-align: left; max-width: 70%; line-height: 1.5; }
.insight-main button:hover { color: var(--teal); }
.insight-score { font-size: 37px; letter-spacing: -1.5px; color: #256b70; font-variant-numeric: tabular-nums; font-weight: 600; }
.insight-score small { font-size: 14px; letter-spacing: 0; margin-left: 3px; color: #8ba5aa; }
.insight-card > p { font-size: 13px; color: #788f98; margin: 10px 0 0; }
.method-section { padding: 56px 0; background: #edf3f2; border-block: 1px solid #e0e9e5; }
.text-link { font-size: 15px; color: var(--blue); font-weight: 600; white-space: nowrap; }
.section-intro { font-size: 16px; max-width: 830px; color: #66808b; line-height: 1.8; margin: 16px 0 28px; }
.dimension-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.dimension-card { padding: 23px 20px; background: #fff; border: 1px solid #dde6e3; border-radius: 12px; }
.dimension-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: #eaf2f6; color: #538296; border-radius: 10px; font-size: 23px; font-weight: 500; margin-bottom: 17px; }
.dimension-card:nth-child(2n) .dimension-icon { color: #518e78; background: #e8f4ec; }
.dimension-card h3 { font-size: 16px; margin: 0 0 9px; font-weight: 650; }
.dimension-card p { font-size: 14px; color: #71858d; line-height: 1.7; margin: 0; }
.method-bottom { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; margin-top: 48px; }
.evaluation-card h3 { font-size: 25px; letter-spacing: -.5px; font-weight: 650; margin: 8px 0 24px; }
.eval-item { display: flex; align-items: start; gap: 18px; margin: 22px 0; }
.eval-item > span { font: 13px/1.7 ui-monospace,monospace; color: #779c9c; margin-top: 2px; }
.eval-item h4 { font-size: 16px; margin: 0 0 5px; font-weight: 600; }
.eval-item p { font-size: 14px; margin: 0; color: #71878d; }
.evaluation-card > .text-button { margin: 8px 0 0 36px; }
.faq-list details { border-bottom: 1px solid #d5e2dd; }
.faq-list details:first-child { border-top: 1px solid #d5e2dd; }
.faq-list summary { padding: 19px 26px 19px 0; list-style: none; font-size: 15px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; position: absolute; right: 3px; color: #608c87; font-size: 23px; font-weight: 400; top: 13px; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list p { font-size: 14px; color: #6e858c; margin: 0 0 21px; line-height: 1.85; }
.faq-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--blue); padding-bottom: 22px; }
.citation-section { display: flex; align-items: center; justify-content: space-between; padding-block: 52px; gap: 30px; }
.citation-section h2 { font-size: 29px; }
.citation-section p { font-size: 15px; color: var(--muted); margin: 8px 0 0; }
.citation-actions { display: flex; align-items: center; gap: 12px; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 32px 0 42px; border-top: 1px solid #dce5e5; }
footer strong { font-size: 25px; letter-spacing: -.8px; }
footer p { font-size: 12px; color: #78919a; margin: 3px 0; }
footer > div:last-child { text-align: right; font-size: 12px; color: #708a94; line-height: 2; }

/* Comparisons and dialogs */
.compare-tray { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(1040px, calc(100% - 40px)); padding: 18px 22px; background: #fffffff5; backdrop-filter: blur(14px); border: 1px solid #c4dbd6; box-shadow: 0 12px 60px #163c4929; border-radius: 16px; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.compare-tray > div:first-child { min-width: 0; }
.compare-tray strong { font-size: 13px; color: #527981; }
.compare-tray #compare-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.compare-chip { display: inline-flex; gap: 8px; align-items: center; background: #edf5f1; color: #45776d; font-size: 12px; border-radius: 6px; padding: 4px 9px; }
.compare-chip button { font-size: 18px; padding: 0 2px; line-height: 1; min-width: 20px; min-height: 24px; }
.tray-actions { display: flex; gap: 12px; flex-shrink: 0; }
dialog { padding: 28px 36px 36px; border: 1px solid #d6e3e3; border-radius: 20px; width: min(1060px, calc(100% - 40px)); max-height: 90vh; color: var(--ink); box-shadow: 0 25px 100px #12333f50; overflow: auto; }
dialog::backdrop { background: #15384070; backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dialog-close { font-size: 27px; color: #6a8892; padding: 0; line-height: 1; background: #f0f5f4; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0; }
.dialog-close:hover { background: #e1efea; }
.dialog-title { font-size: 30px; margin: 18px 0 7px; line-height: 1.35; letter-spacing: -.6px; }
.dialog-subtitle { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.comparison-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.radar { max-height: 380px; width: 100%; overflow: visible; }
.radar-label { font: 10.5px -apple-system,sans-serif; fill: #557782; }
.radar-value { font: 8px ui-monospace,monospace; fill: #90a5ad; }
.compare-summaries { display: flex; flex-direction: column; gap: 14px; }
.compare-summary { padding: 16px 18px; background: #f3f8f6; border: 1px solid #e0ebe6; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.compare-summary h4 { font-size: 15px; margin: 0 0 7px; line-height: 1.5; }
.compare-summary p { font-size: 12px; color: var(--muted); margin: 0; }
.compare-summary strong { font-size: 30px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-summary strong small { font-size: 11px; font-weight: 400; color: var(--muted); }
.series-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 6px; }
.comparison-warning { padding: 13px 16px; border: 1px solid #e8ddbb; background: #fffbef; color: #8b7742; font-size: 13px; border-radius: 8px; margin: 18px 0; }
.comparison-table-wrap { overflow: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; }
.comparison-table th, .comparison-table td { padding: 13px 12px; text-align: center; border-bottom: 1px solid #e3ebeb; font-variant-numeric: tabular-nums; min-width: 125px; }
.comparison-table th { font-size: 14px; background: #f0f6f3; font-weight: 600; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; min-width: 190px; }
.comparison-table .best-value { font-weight: 750; color: var(--teal); }
.comparison-section td { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #78948f; padding-top: 24px; background: #fcfefd; }
.dialog-actions { display: flex; gap: 12px; margin-top: 26px; justify-content: flex-end; flex-wrap: wrap; }
.citation-code { background: #f3f7f5; border: 1px solid #dfe8e3; border-radius: 10px; padding: 22px; font: 13px/1.85 ui-monospace,SFMono-Regular,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.figure-image { width: 100%; height: auto; border-radius: 10px; border: 1px solid #e1e8e6; }
.toast { position: fixed; bottom: 132px; left: 50%; transform: translateX(-50%); padding: 12px 22px; background: #234e58; color: #fff; font-size: 14px; border-radius: 10px; box-shadow: 0 5px 25px #17324d20; z-index: 100; text-align: center; max-width: 90%; }
.noscript { margin: 30px; text-align: center; }
.noscript a { text-decoration: underline; }

/* Maintain readable text at smaller widths; only the score table scrolls. */
@media (max-width: 1350px) {
  .page-width { width: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .hero { gap: 36px; }
  .filter-row { gap: 14px; }
  .search-box { width: 240px; }
  .group-filters { gap: 2px; }
  .group-filters button { padding-inline: 9px; }
  .input-filter select { width: 218px; }
  .dataset-stats { gap: 22px; }
  .dataset-stats > div { padding-left: 22px; }
  .dimension-grid { grid-template-columns: repeat(3,1fr); }
  .dimension-card { padding: 24px; }
  .method-bottom { gap: 44px; }
  .citation-actions { flex-direction: column; align-items: end; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1.4fr 1fr; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 16px; }
  .hero-art { max-width: 330px; }
  .board-intro { align-items: start; }
  .dataset-stats { margin-top: 8px; }
  .dataset-stats strong { font-size: 29px; }
  .dataset-stats > div { padding-left: 18px; }
  .dataset-stats span { font-size: 10px; }
  .board-intro h2 { font-size: 28px; }
  .filter-row .search-box { width: 270px; }
  .group-filters { order: 3; width: 100%; gap: 8px; }
  .input-filter { margin-left: auto; }
  .sort-hint { margin-left: 0; }
  .view-row { padding-inline: 18px; gap: 12px; }
  .view-tabs button { padding-inline: 12px; }
  .view-actions { gap: 6px; }
  .view-actions .quiet-button { padding-inline: 12px; font-size: 14px; }
  .insight-main { flex-wrap: wrap; gap: 6px; }
  .insight-main button { max-width: 100%; min-height: 50px; }
  .insight-card { padding: 22px; }
}
@media (max-width: 820px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 76px; padding-inline: 20px; }
  .site-header nav { gap: 20px; }
  .site-header nav a:nth-child(2), .wordmark-caption, .wordmark-rule { display: none; }
  .hero { padding-block: 36px; grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-copy > p { max-width: 540px; }
  .hero h1 { font-size: 50px; }
  .board-intro { flex-direction: column; gap: 22px; }
  .dataset-stats { gap: 30px; width: 100%; }
  .dataset-stats > div { min-width: 120px; }
  .dataset-stats > div:first-child { border: 0; padding-left: 0; }
  .dataset-stats strong { font-size: 32px; }
  .dataset-stats span { font-size: 11px; }
  .benchmark-tabs button { padding-inline: 16px; font-size: 19px; }
  .small-tag { display: none; }
  .view-row { flex-wrap: wrap; padding: 16px 20px; gap: 14px; }
  .view-actions { margin-left: auto; }
  .sort-hint { width: 100%; }
  .table-context { padding-inline: 22px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 28px; }
  .caption-text { text-align: left; max-width: none; }
  .insight-grid { grid-template-columns: 1fr; gap: 12px; }
  .insight-main { flex-wrap: nowrap; margin-top: 5px; }
  .insight-main button { min-height: 0; }
  .insight-card > p { margin-top: 0; }
  .dimension-grid { grid-template-columns: repeat(2,1fr); }
  .method-bottom { grid-template-columns: 1fr; gap: 36px; }
  .citation-section { display: block; }
  .citation-actions { flex-direction: row; align-items: center; margin-top: 22px; flex-wrap: wrap; }
  .comparison-layout { grid-template-columns: 1fr; gap: 24px; }
  .radar { max-height: 320px; }
  .table-footer { flex-wrap: wrap; }
  .compare-tray { padding: 16px; gap: 12px; }
  .tray-actions { flex-direction: column-reverse; gap: 5px; }
  .tray-actions .quiet-button { min-height: 30px; padding: 2px 12px; }
}
@media (max-width: 540px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { height: 72px; padding-inline: 16px; }
  .wordmark { gap: 7px; }
  .wordmark strong { font-size: 23px; }
  .wordmark svg { width: 26px; }
  .site-header nav { gap: 16px; font-size: 13px; }
  .site-header nav a:last-child { border: 0; padding: 0; }
  .hero { padding-block: 32px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
  .hero h1 { font-size: 46px; letter-spacing: -2px; margin: 16px 0; }
  .hero-copy > p { font-size: 16px; }
  .desktop-break { display: none; }
  .resource-links { gap: 8px; }
  .resource-links a { font-size: 14px; min-height: 44px; padding-inline: 13px; gap: 14px; }
  .benchmark-bar { display: block; padding-bottom: 18px; }
  .benchmark-tabs { width: 100%; gap: 4px; padding: 5px; }
  .benchmark-tabs button { flex: 1; padding: 9px 10px; min-height: 48px; font-size: 19px; }
  .board-intro { padding-top: 24px; gap: 21px; }
  .board-intro h2 { font-size: 27px; }
  .board-intro p { font-size: 14px; }
  .board-intro .eyebrow { font-size: 11px; }
  .dataset-stats { gap: 0; justify-content: space-between; }
  .dataset-stats > div { min-width: 0; padding-left: 24px; }
  .dataset-stats strong { font-size: 30px; }
  .dataset-stats span { font-size: 10px; }
  .board-card { border-radius: 13px; }
  .view-row { padding: 14px; gap: 14px; }
  .view-tabs { width: 100%; gap: 2px; }
  .view-tabs button { flex: 1 1 0; min-width: 0; white-space: normal; font-size: 14px; padding: 8px; min-height: 48px; line-height: 1.4; }
  .view-tabs button > span { display: none; }
  .view-actions { width: 100%; gap: 8px; justify-content: flex-end; }
  .view-actions .quiet-button { font-size: 14px; min-height: 42px; padding: 7px 12px; }
  .filter-row { padding: 16px 14px 14px; gap: 14px; }
  .filter-row .search-box { width: 100%; }
  .input-filter { width: 100%; order: 3; }
  .input-filter select { width: 100%; font-size: 16px; }
  .group-filters { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .group-filters button { padding: 8px 10px; justify-content: space-between; font-size: 13px; border-color: #e2e9e9; }
  .table-context { padding: 0 15px 16px; font-size: 12px; gap: 6px; }
  .sort-hint { font-size: 12px; line-height: 1.8; }
  .sort-hint .divider { margin-inline: 4px; }
  .table-scroll .model-cell { width: 190px; }
  .table-scroll tbody th.model-cell { padding: 14px 10px; }
  .table-scroll .model-button { font-size: 15px; }
  .table-footer { padding: 15px; gap: 10px; font-size: 11px; }
  .table-footer .divider { margin-inline: 4px; }
  .rows-summary { font-size: 12px; }
  .ranking-note { font-size: 12px; }
  .insights-section { padding-block: 38px; }
  .section-heading h2 { font-size: 27px; }
  .insight-card { padding: 20px; }
  .insight-main button { max-width: 70%; font-size: 16px; }
  .insight-score { font-size: 34px; }
  .method-section { padding-block: 38px; }
  .section-intro { font-size: 15px; }
  .dimension-grid { gap: 10px; }
  .dimension-card { padding: 18px 15px; }
  .dimension-card h3 { font-size: 15px; }
  .dimension-card p { font-size: 13px; }
  .evaluation-card h3 { font-size: 23px; }
  .citation-section { padding-block: 34px; }
  .citation-section h2 { font-size: 27px; }
  .citation-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  footer { align-items: start; gap: 25px; padding-block: 26px; }
  footer strong { font-size: 22px; }
  footer p, footer > div:last-child { font-size: 11px; }
  .compare-tray { width: calc(100% - 20px); bottom: 10px; padding: 12px; gap: 8px; align-items: start; }
  .compare-tray #compare-chips { gap: 4px; }
  .compare-chip { font-size: 11px; padding: 3px 7px; }
  .compare-tray strong { font-size: 12px; }
  .tray-actions .primary-button { font-size: 13px; padding: 9px 12px; }
  .tray-actions .quiet-button { font-size: 13px; }
  dialog { width: calc(100% - 20px); padding: 20px; border-radius: 15px; max-height: 92vh; }
  .dialog-title { font-size: 26px; }
  .dialog-subtitle { font-size: 14px; }
  .dialog-top .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .compare-summary { padding: 13px; }
  .compare-summary h4 { font-size: 14px; }
  .comparison-table { font-size: 14px; }
  .comparison-table th { font-size: 13px; }
  .comparison-table th:first-child, .comparison-table td:first-child { min-width: 165px; }
  .citation-code { padding: 15px; font-size: 12px; }
  .dialog-actions { justify-content: flex-start; }
  .dialog-actions .primary-button, .dialog-actions .outline-button { font-size: 14px; }
  .toast { bottom: 175px; font-size: 13px; }
}
@media (max-width: 380px) {
  .group-filters button { min-width: 0; padding-inline: 8px; gap: 5px; font-size: 12px; }
  .group-filters button span { min-width: 20px; font-size: 11px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
