:root {
  --bg-0: #05060d;
  --bg-1: #0a0a1a;
  --bg-2: #0f1024;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-mute: #94a3b8;
  --text-faint: #64748b;
  --accent-1: #06b6d4;
  --accent-2: #a855f7;
  --accent-3: #ec4899;
  --accent-4: #22d3ee;
  --good: #34d399;
  --bad: #fb7185;
  --gradient-1: linear-gradient(135deg, #06b6d4 0%, #a855f7 50%, #ec4899 100%);
  --gradient-2: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  --gradient-soft: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
  --shadow-glow: 0 0 80px -20px rgba(168, 85, 247, 0.5);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-w: 1240px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

img, svg, canvas { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, #0f0c29 0%, var(--bg-0) 50%),
    var(--bg-0);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.aurora-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation: float-1 20s ease-in-out infinite;
}

.aurora-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  top: 30%;
  right: -15%;
  animation: float-2 25s ease-in-out infinite;
}

.aurora-3 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: -20%;
  left: 20%;
  animation: float-3 22s ease-in-out infinite;
  opacity: 0.35;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 8vw) scale(1.1); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, 10vw) scale(1.15); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, -6vw) scale(1.05); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bar-grow {
  from { width: 0; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 6, 13, 0.6);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient-1);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px -4px rgba(168, 85, 247, 0.6);
}

.brand-mark-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #fff;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-text strong {
  font-weight: 700;
}

.brand-text span {
  color: var(--text-mute);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-soft);
}

.site-nav a {
  position: relative;
  font-weight: 500;
}

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

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 13px;
}

.nav-cta:hover {
  background: var(--surface);
  border-color: rgba(168, 85, 247, 0.4);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--good);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px var(--good);
}

.dot-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  animation: fade-up 0.8s ease both;
}

.title-line:nth-child(1) { animation-delay: 0.05s; }
.title-line:nth-child(2) { animation-delay: 0.15s; }
.title-line:nth-child(3) { animation-delay: 0.25s; }

.title-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite, fade-up 0.8s ease 0.15s both;
}

.title-line em {
  font-style: normal;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: gradient-shift 6s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(168, 85, 247, 0.8);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  font-weight: 500;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 600px;
}

.section-desc {
  color: var(--text-mute);
  max-width: 380px;
  font-size: 14px;
  line-height: 1.6;
}

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: fit-content;
  max-width: 100%;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter:hover {
  color: var(--text);
  background: var(--surface-2);
}

.filter.is-active {
  background: var(--gradient-1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(168, 85, 247, 0.5);
  animation: gradient-shift 6s ease infinite;
}

.filter span {
  font-size: 14px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.model-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  overflow: hidden;
  animation: fade-up 0.5s ease both;
}

.model-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.model-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.model-card:hover::before {
  opacity: 1;
}

.model-card > * {
  position: relative;
  z-index: 1;
}

.card-rank {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  z-index: 2;
}

.model-card[data-rank="1"] .card-rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  border-color: transparent;
  box-shadow: 0 0 20px -4px #fbbf24;
}

.model-card[data-rank="2"] .card-rank {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  color: #1a1a1a;
  border-color: transparent;
}

.model-card[data-rank="3"] .card-rank {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-color: transparent;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.model-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  background: var(--gradient-2);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}

.model-avatar[data-eco="western"] {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.model-avatar[data-eco="asian"] {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.model-avatar[data-eco="ide"] {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.model-info {
  flex: 1;
  min-width: 0;
}

.model-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.model-vendor {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.model-vendor span {
  color: var(--accent-1);
}

.card-specialty {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.metric-label {
  width: 110px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.metric-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.metric-bar-fill {
  height: 100%;
  background: var(--gradient-1);
  background-size: 200% 200%;
  border-radius: 999px;
  animation: bar-grow 1s ease both, gradient-shift 6s ease infinite;
  position: relative;
}

.metric-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.metric-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  min-width: 30px;
  text-align: right;
  font-size: 12px;
}

.card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-stat-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.card-stat-value small {
  font-size: 10px;
  color: var(--text-mute);
  font-weight: 400;
}

.section-charts {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.03), transparent);
}

.charts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-1);
  opacity: 0.5;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-head h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.chart-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chart-body {
  position: relative;
  height: 420px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
}

.method-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.method-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.method-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}

.compare-block {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.compare-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-soft);
  position: sticky;
  left: 0;
  background: rgba(15, 16, 36, 0.95);
  z-index: 1;
}

.compare-table thead th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .is-leader {
  color: var(--good);
  font-weight: 600;
}

.compare-table .is-null {
  color: var(--text-faint);
}

.compare-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.compare-pair {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.compare-pair h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.compare-pair p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ranking-card {
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.ranking-card h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.ranking-card ol {
  list-style: none;
  counter-reset: rank;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ranking-card li {
  counter-increment: rank;
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-card li::before {
  content: counter(rank);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-1);
  min-width: 18px;
}

.ranking-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.bench-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.bench-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-4);
}

.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-badge--proxy {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.card-badge--open {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--good);
}

.bench-chip--alt {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
}

.metric--na .metric-value {
  color: var(--text-faint);
}

.metric--na .metric-bar-fill {
  opacity: 0.2;
}

.card-proxy-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-4);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.site-footer {
  margin-top: 60px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: rgba(5, 6, 13, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: var(--text);
  font-weight: 600;
}

.footer-brand a {
  color: var(--accent-1);
}

.footer-brand a:hover {
  color: var(--accent-2);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 900px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-pairs {
    grid-template-columns: 1fr;
  }
  .rankings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(5, 6, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 49;
  }
  .site-nav.is-open {
    transform: translateY(0);
  }
  .site-nav a {
    padding: 12px 16px;
    border-radius: 12px;
  }
  .site-nav a:hover {
    background: var(--surface-2);
  }
  .site-nav a:not(.nav-cta)::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter {
    flex-shrink: 0;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .chart-body {
    height: 320px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
  .hero-stats {
    padding: 14px;
  }
  .metric-label {
    width: 90px;
    font-size: 11px;
  }
  .model-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .aurora {
    animation: none;
  }
}
