:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: rgba(249, 250, 251, 0.72);
  --text: #111827;
  --muted: #6b7280;
  --muted-strong: #4b5563;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --brand: #1a73e8;
  --brand-soft: #f8fbff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-soft: rgba(13, 13, 13, 0.72);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --muted-strong: #d1d5db;
  --line: #1f2937;
  --line-soft: rgba(31, 41, 55, 0.6);
  --brand: #8ab4f8;
  --brand-soft: rgba(4, 30, 73, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(107 114 128 / 0.4);
  outline-offset: 2px;
}

.nav-shell {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.section-shell {
  width: min(1024px, calc(100% - 32px));
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: 5.5rem;
}

.neon-bg {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.neon-blob {
  position: absolute;
  width: 48rem;
  height: 48rem;
  border-radius: 999px;
  opacity: 0.05;
  filter: blur(92px);
  will-change: transform, filter;
}

html[data-theme="dark"] .neon-blob {
  opacity: 0.14;
}

.neon-blob-a {
  top: -14rem;
  left: -12rem;
  background: radial-gradient(circle, #4285f4 0%, transparent 67%);
  animation: neon-a 46s ease-in-out infinite alternate;
}

.neon-blob-b {
  top: 26%;
  right: -15rem;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 67%);
  animation: neon-b 58s ease-in-out infinite alternate;
}

.neon-blob-c {
  bottom: -18rem;
  left: 12%;
  background: radial-gradient(circle, #2563eb 0%, transparent 67%);
  animation: neon-c 52s ease-in-out infinite alternate;
}

@keyframes neon-a {
  to {
    transform: translate3d(44vw, 28vh, 0) scale(1.12);
    filter: blur(92px) hue-rotate(10deg);
  }
}

@keyframes neon-b {
  to {
    transform: translate3d(-48vw, 20vh, 0) scale(1.08);
    filter: blur(92px) hue-rotate(-8deg);
  }
}

@keyframes neon-c {
  to {
    transform: translate3d(34vw, -42vh, 0) scale(0.95);
    filter: blur(92px) hue-rotate(12deg);
  }
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  min-height: 56px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.icon-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text);
}

.nav-icon {
  width: 18px;
  height: 18px;
}

.theme-icon {
  font-size: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(26 115 232 / 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

html[data-theme="dark"] .hero-dots {
  background-image: radial-gradient(rgb(138 180 248 / 0.16) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  width: min(1152px, calc(100% - 32px));
  margin-inline: auto;
  padding: 96px 0 80px;
  text-align: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(30px, 5vw, 36px);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

h1 {
  max-width: 900px;
  margin: 26px auto 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--brand);
}

.hero-copy {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.button-primary:hover {
  border-color: #374151;
  background: #374151;
}

html[data-theme="dark"] .button-primary {
  border-color: #f3f4f6;
  background: #f3f4f6;
  color: #111827;
}

html[data-theme="dark"] .button-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.button-secondary {
  background: var(--surface);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.hero-stats {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px auto 0;
}

.hero-stats div {
  padding: 0 12px;
  text-align: center;
}

.hero-stats dt {
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 650;
}

.hero-stats dd {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-stats .metric-desc {
  max-width: 250px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: 0;
}

.hero-stats .accent dd {
  color: var(--brand);
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 768px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.table-hint {
  display: none;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

th {
  height: 42px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: var(--surface-soft);
}

.rank-column,
.rank-cell {
  width: 54px;
  text-align: center;
}

.rank-badge {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.rank-1,
.rank-2,
.rank-3 {
  color: var(--brand);
}

.setup-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
}

.setup-cell img {
  width: 15px;
  height: 15px;
  flex: none;
  object-fit: contain;
}

html[data-theme="dark"] .vendor-logo {
  filter: invert(1);
}

.config-meta {
  display: block;
  overflow: hidden;
  margin: 2px 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.numeric {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.sortable {
  padding: 0;
}

.sortable button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
}

.sortable button:hover {
  color: var(--text);
}

.sort-arrow {
  width: 12px;
  color: var(--muted);
  text-align: center;
}

th.is-active,
td.is-active {
  background: color-mix(in srgb, var(--brand-soft) 72%, transparent);
}

th.is-active button {
  color: var(--brand);
}

.accuracy-measure {
  display: inline-grid;
  grid-template-columns: 92px 42px;
  align-items: center;
  gap: 10px;
}

.accuracy-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.accuracy-fill {
  display: block;
  width: var(--accuracy);
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transform-origin: left;
  animation: grow-bar 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.accuracy-measure strong {
  font-size: 12px;
}

@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.loading-cell {
  height: 104px;
  color: var(--muted);
  text-align: center;
}

.methodology {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.chart-card {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.chart-heading h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 10px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
}

.legend-deepseek {
  background: #2563eb;
}

.legend-opus {
  background: #ef4444;
}

.legend-gpt {
  background: #10b981;
}

.chart-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.html-chart {
  position: relative;
  min-width: 720px;
  height: 340px;
}

.chart-plot {
  position: absolute;
  inset: 24px 34px 58px 62px;
}

.chart-grid {
  position: absolute;
  display: block;
  pointer-events: none;
}

.chart-grid-x {
  top: 0;
  bottom: 0;
  left: var(--position);
  border-left: 1px solid var(--line-soft);
}

.chart-grid-y {
  right: 0;
  bottom: var(--position);
  left: 0;
  border-top: 1px solid var(--line-soft);
}

.chart-tick {
  position: absolute;
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chart-tick-x {
  top: calc(100% + 10px);
  left: 0;
  transform: translateX(-50%);
}

.chart-tick-y {
  top: 0;
  right: calc(100% + 10px);
  transform: translateY(-50%);
}

.chart-axis-title {
  position: absolute;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.chart-axis-x {
  top: calc(100% + 34px);
  left: 50%;
  transform: translateX(-50%);
}

.chart-axis-y {
  top: 50%;
  right: calc(100% + 40px);
  transform: translate(50%, -50%) rotate(-90deg);
}

.chart-point {
  position: absolute;
  z-index: 2;
  bottom: var(--y);
  left: var(--x);
  width: 14px;
  height: 14px;
  padding: 0;
  transform: translate(-50%, 50%);
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.chart-point-dot {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 1px var(--line);
}

.chart-point.model-deepseek {
  color: #3b82f6;
}

.chart-point.model-opus {
  color: #ef4444;
}

.chart-point.model-gpt {
  color: #10b981;
}

.chart-point-tooltip {
  position: absolute;
  top: 50%;
  left: 22px;
  display: none;
  min-width: 170px;
  padding: 9px 10px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
  color: var(--text);
  text-align: left;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.chart-point-tooltip strong {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.chart-point-tooltip > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.chart-point.tooltip-left .chart-point-tooltip {
  right: 22px;
  left: auto;
}

.chart-point:hover,
.chart-point:focus-visible {
  z-index: 5;
}

.chart-point:hover .chart-point-tooltip,
.chart-point:focus-visible .chart-point-tooltip {
  display: block;
}

.chart-point:focus-visible {
  border-radius: 50%;
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.coverage-section {
  padding-top: 64px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.coverage-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.coverage-grid h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.coverage-grid p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.bench-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bench-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 10px;
}

.footer-inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner a {
  justify-self: end;
}

.footer a:hover {
  color: var(--text);
}

noscript {
  display: block;
  padding: 24px;
  color: #b42318;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-inner {
    padding: 72px 0 64px;
  }

  .hero-brand {
    flex-direction: column;
    gap: 10px;
    font-size: 28px;
  }

  .hero-brand img {
    width: 56px;
    height: 56px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .chart-card {
    padding: 20px 14px;
  }

  .chart-heading {
    display: block;
  }

  .chart-legend {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .html-chart {
    height: 320px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 0;
  }

  .footer-inner a {
    justify-self: auto;
  }

  .table-hint {
    display: block;
    margin: 0 2px 8px;
    color: var(--muted);
    font-size: 11px;
    text-align: right;
  }
}

@media (max-width: 460px) {
  .brand span {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .neon-blob,
  .accuracy-fill {
    animation: none !important;
  }
}
