/* Articles and benchmarks: the home page's design language (2026-09-29 redesign) applied to
   editorial pages. One accent, system type, soft surfaces, pill buttons, no motion. */
:root {
  color-scheme: light;
  --primary: #004225; --primary-hover: #0a5a35; --primary-light: #2d8653;
  --ink: #1d1d1f; --ink-2: #515154; --ink-3: #86868b;
  --surface: #f5f5f7; --surface-2: #ececef; --white: #ffffff;
  --rule: rgba(0,0,0,0.08); --tint: rgba(0,66,37,0.07);
  --radius: 18px; --pill: 980px; --shadow: 0 8px 30px rgba(29,29,31,0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* the chart's two graders: the brand green for Claude, amber for GPT-5.5 */
  --s1: #004225; --s2: #d97706;
  /* names the pages already use */
  --ground: var(--white); --panel: var(--surface); --accent: var(--primary); --accent-soft: var(--tint); --band: var(--tint);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --ink: #f5f5f7; --ink-2: #c7c7cc; --ink-3: #8e8e93; --surface: #1c1c1e; --surface-2: #2c2c2e; --white: #111113; --rule: rgba(255,255,255,0.12); --tint: rgba(45,134,83,0.18); --primary: #3fa26b; --primary-hover: #56b981; --s1: #3fa26b; --s2: #f0a040; --shadow: 0 8px 30px rgba(0,0,0,0.4); }
}
:root[data-theme="dark"] { color-scheme: dark; --ink: #f5f5f7; --ink-2: #c7c7cc; --ink-3: #8e8e93; --surface: #1c1c1e; --surface-2: #2c2c2e; --white: #111113; --rule: rgba(255,255,255,0.12); --tint: rgba(45,134,83,0.18); --primary: #3fa26b; --primary-hover: #56b981; --s1: #3fa26b; --s2: #f0a040; --shadow: 0 8px 30px rgba(0,0,0,0.4); }

* { box-sizing: border-box; }
html { background: var(--white); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0 20px 72px; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 720px; margin: 0 auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* the top bar, as the home page has it */
nav.site { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; margin: 0 -20px 28px; padding: 0 20px; background: rgba(255,255,255,0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--rule); font-family: var(--font); font-size: 0.84rem; }
nav.site .brand img { height: 40px; width: auto; display: block; }
nav.site span { display: flex; align-items: center; gap: 6px; }
nav.site a { color: var(--ink); text-decoration: none; padding: 7px 14px; border-radius: var(--pill); font-weight: 500; }
nav.site a:hover { background: var(--surface); color: var(--ink); }
nav.site a.cta { background: var(--primary); color: #fff; font-weight: 600; padding: 8px 18px; }
nav.site a.cta:hover { background: var(--primary-hover); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) nav.site { background: rgba(17,17,19,0.82); } }

header { padding: 24px 0 26px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
h1 { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.08; margin: 12px 0 14px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lede { font-size: 1.25rem; line-height: 1.45; color: var(--ink-2); margin: 0 0 12px; }
.meta { font-size: 0.9rem; color: var(--ink-3); }
h2 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; margin: 44px 0 12px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; margin: 28px 0 6px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 22px; margin: 0 0 16px; } li { margin-bottom: 6px; }
strong { font-weight: 600; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }

.callout { background: var(--surface); border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 18px 0 24px; }
.callout p:last-child { margin-bottom: 0; }
.note { font-size: 0.88rem; color: var(--ink-3); line-height: 1.5; }

.tablewrap { overflow-x: auto; margin: 10px 0 24px; border: 1px solid var(--rule); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
tr:last-child td { border-bottom: 0; }
th { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; background: var(--surface); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.ours td { font-weight: 600; background: var(--tint); }

figure.chart { margin: 20px 0 28px; padding: 18px 20px 14px; background: var(--surface); border-radius: var(--radius); max-width: 100%; }
figure.chart figcaption { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 12px; line-height: 1.45; }
figure.chart figcaption b { color: var(--ink); font-weight: 600; font-size: 1rem; display: block; margin-bottom: 3px; letter-spacing: -0.01em; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-2); margin: 0 0 8px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.legend .l1::before { background: var(--s1); } .legend .l2::before { background: var(--s2); }
svg.bars { width: 100%; height: auto; display: block; font-family: var(--font); }
svg.bars text { fill: var(--ink-2); font-size: 13px; }
svg.bars text.lab { fill: var(--ink); } svg.bars text.lab.ours { font-weight: 600; }
svg.bars text.val { fill: var(--ink); font-variant-numeric: tabular-nums; font-size: 12px; }
svg.bars line.grid { stroke: var(--rule); stroke-width: 1; }
svg.bars rect.band { fill: var(--tint); }
svg.bars rect.hit { fill: transparent; }
.tip { position: fixed; pointer-events: none; background: var(--ink); color: var(--white); font-family: var(--font); font-size: 12px; padding: 6px 10px; border-radius: 8px; opacity: 0; transition: opacity .12s; max-width: 260px; z-index: 5; }
details.tbl { font-size: 0.85rem; color: var(--ink-2); margin-top: 8px; }
details.tbl summary { cursor: pointer; color: var(--primary); }
details.tbl table { margin-top: 8px; }

/* the articles index */
.card { display: block; padding: 22px 24px; margin: 16px 0; background: var(--surface); border-radius: var(--radius); color: inherit; text-decoration: none; transition: background .2s; }
.card:hover { background: var(--surface-2); color: inherit; }
.card h3 { margin: 6px 0 8px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.dl td { padding: 10px 14px; }
.dl a { color: var(--primary); font-weight: 600; text-decoration: none; }
.dl a:hover { text-decoration: underline; }

footer.site-foot { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
footer.site-foot a { color: var(--ink-2); text-decoration: none; }
footer.site-foot a:hover { color: var(--primary); }

@media (max-width: 640px) { h1 { font-size: 2rem; } .lede { font-size: 1.1rem; } body { font-size: 16px; } nav.site .brand img { height: 34px; } nav.site a { padding: 6px 10px; } }
@media print { body { padding: 0; font-size: 12pt; } nav.site, .tip { display: none; } h2 { break-after: avoid; } .tablewrap, .callout, figure.chart { break-inside: avoid; } details.tbl { display: none; } p, li { orphans: 3; widows: 3; } }
