/* Reuse Daily AI News typography and color tokens, with open comparisons. */
.benchmarks-page { overflow-x: clip; }
.benchmarks-shell { max-width: 1600px; padding-top: 132px; }
.benchmarks-hero { margin-bottom: 32px; }
.benchmarks-hero h1 { margin-bottom: 18px; }
.benchmark-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--news-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.benchmark-feature-link:is(:hover, :focus-visible) { color: var(--news-accent); }
.benchmark-nav {
  position: sticky;
  top: 84px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: transparent;
}
.benchmark-nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 18px;
  color: var(--news-ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}
.benchmark-nav a:hover { background: transparent; }
.benchmark-nav a[aria-current="true"] { font-weight: 600; }
/* A clear lens: reflections live at the rim, leaving the center transparent. */
.benchmark-glass {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  isolation: isolate;
  border-radius: 999px;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), width .28s cubic-bezier(.22, 1, .36, 1), height .28s ease;
  background: transparent;
  color: var(--news-ink);
  font-weight: 600;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .24), 0 1px 2px rgba(0, 0, 0, .08);
}
.benchmark-glass::before,
.benchmark-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.benchmark-glass::before {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .95), transparent 55%),
    radial-gradient(ellipse at 95% 100%, rgba(255, 255, 255, .85), transparent 50%),
    linear-gradient(155deg, rgba(120, 120, 125, .14), rgba(255, 255, 255, .08) 45%, rgba(120, 120, 125, .1));
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .95), inset 1px 0 3px rgba(255, 255, 255, .8), inset 0 -2px 3px rgba(0, 0, 0, .09);
}
.benchmark-glass::after {
  padding: 1px;
  background: linear-gradient(145deg, #fff 5%, rgba(255, 255, 255, .9) 28%, rgba(120, 120, 125, .26) 52%, rgba(255, 255, 255, .95) 78%, rgba(130, 130, 135, .18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@media (prefers-reduced-transparency: reduce) {
  .benchmark-glass::before { background: #ededee; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .benchmark-glass::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .benchmark-glass { transition: none; }
}
.benchmark-section[hidden] { display: none; }
.benchmark-nav a:focus-visible { outline: 2px solid var(--news-accent); outline-offset: -2px; }
.benchmark-sections { display: grid; gap: 80px; }
.benchmark-section { min-width: 0; scroll-margin-top: 170px; }
.benchmark-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.benchmark-heading h2 { margin: 0 0 10px; color: var(--news-ink); font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.benchmark-heading p { margin: 0; color: var(--news-muted); font-size: 16px; line-height: 1.5; letter-spacing: -.01em; }
.benchmark-format { flex-shrink: 0; margin-top: 3px; padding: 7px 10px; border-radius: 8px; background: #e8e8ed; color: #55555c; font-size: 12px; font-weight: 500; }
.benchmark-prompt { display: flex; align-items: baseline; gap: 24px; margin-bottom: 20px; padding: 20px 24px; border: 1px solid #e4e4e9; border-radius: 16px; background: #fff; }
.benchmark-prompt-label { font-size: 13px; font-weight: 600; color: var(--news-ink); }
.benchmark-prompt p { margin: 0; color: var(--news-muted); font-size: 14px; line-height: 1.5; }
.benchmark-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.benchmark-result { min-width: 0; margin: 0; padding: 16px; border-radius: 20px; background: #fff; }
.benchmark-result figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 2px 14px; }
.benchmark-model { display: flex; align-items: center; gap: 9px; color: var(--news-muted); font-size: 14px; font-weight: 500; }
.benchmark-model-dot { width: 9px; height: 9px; border-radius: 50%; background: #c2c5cc; }
.benchmark-output-type { color: var(--news-muted); font-size: 11px; }
.benchmark-media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 16 / 9; border: 1px dashed #cbd0d7; border-radius: 10px; background: #f7f8fa; color: var(--news-muted); font-size: 13px; }
.benchmark-media svg { width: 32px; height: 32px; stroke: #a0a8b4; stroke-width: 1.5; }
@media (max-width: 760px) {
  .benchmarks-shell { padding-top: 102px; }
  .benchmarks-hero { margin-bottom: 26px; }
  .benchmark-nav { top: 70px; }
  .benchmark-nav a { padding: 11px 14px; }
    .benchmark-sections { gap: 60px; }
  .benchmark-heading { gap: 12px; }
  .benchmark-heading p { font-size: 15px; }
  .benchmark-results { gap: 12px; }
  .benchmark-result { padding: 12px; border-radius: 16px; }
}
@media (max-width: 540px) {
  .benchmark-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
  .benchmark-nav a { grid-column: span 2; padding: 11px 4px; font-size: 12px; }
  .benchmark-nav a:nth-last-child(-n+2) { grid-column: span 3; }
  .benchmark-section { scroll-margin-top: 190px; }
  .benchmark-heading { flex-direction: column-reverse; gap: 12px; }
  .benchmark-heading h2 { font-size: 28px; }
  .benchmark-prompt { gap: 16px; padding: 16px; }
  .benchmark-result { padding: 10px; }
  .benchmark-result figcaption { padding-bottom: 10px; }
  .benchmark-model { gap: 6px; font-size: 12px; }
  .benchmark-output-type { display: none; }
  .benchmark-media { aspect-ratio: 1.2; gap: 10px; font-size: 11px; }
  .benchmark-media svg { width: 26px; height: 26px; }
}

.comparison-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 20px; }
.comparison-card { min-width:0; }
.comparison-card video { display:block; width:100%; height:auto; background:#101114; border-radius:8px; }
.group-prompt { margin:16px 0; color:var(--news-muted); font-size:14px; line-height:1.6; }
.group-prompt summary { cursor:pointer; color:var(--news-ink); font-weight:500; }
@media(max-width:600px) { .comparison-grid { grid-template-columns:1fr; } }

.prompt-groups { display:grid; gap:56px; }
.prompt-group { min-width:0; }
.prompt-group > h3 { margin:0 0 12px; font-size:24px; font-weight:600; letter-spacing:-.025em; }
.group-prompt { margin:0 0 20px; }
.group-prompt p { max-width:75ch; }
.comparison-card h4 { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--news-muted); font-size:12px; font-weight:300; line-height:1.4; }
.run-cohort { color:var(--news-muted); font-size:12px; }
@media(max-width:760px) { .prompt-groups { gap:40px; } }

.comparison-run-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:4px; }
.comparison-run-header h4 { margin:0; }
.benchmark-source { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:var(--news-muted); transition:background .2s ease, color .2s ease; }
.benchmark-source svg { width:14px; height:14px; fill:currentColor; }
.benchmark-source:hover { color:var(--news-ink); background:rgba(0,0,0,.05); }
.benchmark-source:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

.comparison-grid--video { grid-template-columns: 1fr; }
.comparison-grid--video video { aspect-ratio: 16 / 9; }

.run-model { flex-basis:100%; color:var(--news-ink); font-size:14px; font-weight:500; }
.comparison-run-header h4:has(.run-model) { gap:4px; }
.run-prompt { margin:0 0 12px; font-size:12px; }
.benchmark-images { display:grid; gap:8px; }
.benchmark-images--multiple { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.benchmark-images a { display:block; border-radius:8px; }
.benchmark-images a:focus-visible { outline:2px solid var(--news-accent); outline-offset:3px; }
.benchmark-images img { display:block; width:100%; height:auto; border-radius:8px; }
