@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.8909904ab6c8.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.f3779f1efccc.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.f9a06e79cd3a.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.6f56409fd3d6.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-800.a7d0a50f15d3.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.08949f728dc5.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.01d285447409.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-600.0d1f0b8d0722.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  /* Aligned with benchmarks.duellab.org static site for a cohesive, data-product look */
  --bg: #081019;
  --bg-soft: #0d1626;
  --panel: rgba(15, 24, 40, 0.9);
  --panel-2: rgba(10, 16, 28, 0.92);

  --line: rgba(143, 184, 255, 0.16);
  --line-strong: rgba(143, 184, 255, 0.28);

  --text: #ecf2ff;
  --soft: #c8d4ea;
  --muted: #a8b7d2;

  --primary: #7db0ff;
  --primary-strong: #a5c6ff;
  --accent: #64f1c1;
  --accent-warm: #ffc96b;
  --reasoning-xhigh-fg: #d8c7ff;
  --reasoning-xhigh-bg: rgba(167, 139, 250, 0.16);
  --reasoning-xhigh-border: rgba(167, 139, 250, 0.55);
  --reasoning-medium-fg: #9dc1ff;
  --reasoning-medium-bg: rgba(125, 176, 255, 0.14);
  --reasoning-medium-border: rgba(125, 176, 255, 0.5);
  --reasoning-none-fg: #c4cbd4;
  --reasoning-none-bg: rgba(169, 179, 191, 0.12);
  --reasoning-none-border: rgba(169, 179, 191, 0.4);
  --focus-ring: #ffd93d;
  --focus-halo: rgba(255, 217, 61, 0.24);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Sticky header (.header-inner min-height) — keep in-page anchors readable */
  scroll-padding-top: 5.75rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 85% 12%, rgba(125, 176, 255, 0.06), transparent 30%),
    radial-gradient(circle at 10% 35%, rgba(100, 241, 193, 0.05), transparent 26%),
    radial-gradient(circle at top right, rgba(125, 176, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #081019 0%, #09111d 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keep header, main, and footer above fixed ::before / ::after (pseudo-elements stack after in-flow content otherwise). */
body > * {
  position: relative;
  z-index: 1;
}

/* Fixed decorative layers: irregular "nodes", sparse major grid, SVG edges — no animation, no filters. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 78% 8%, rgba(125, 176, 255, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 6% 24%, rgba(100, 241, 193, 0.05) 0%, transparent 38%),
    radial-gradient(circle at 94% 46%, rgba(255, 201, 107, 0.05) 0%, transparent 34%),
    radial-gradient(circle at 14% 68%, rgba(125, 176, 255, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(143, 184, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 255, 0.05) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    132px 132px,
    132px 132px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.065;
  /* Wide viewBox + cover: two spines, vertical bridges, one mid horizontal — no bottom bands. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 100' preserveAspectRatio='xMidYMid meet'%3E%3Cg fill='none' stroke='%239dc1ff' stroke-width='0.26' stroke-linecap='round' stroke-linejoin='round' opacity='0.68'%3E%3Cpath d='M8 34 L44 17 L80 38 L128 26 L168 42 L208 21 L252 32 L292 15 L332 40 L372 24'/%3E%3Cpath d='M8 70 L46 55 L84 64 L122 74 L170 58 L212 70 L248 72 L286 56 L328 68 L372 50'/%3E%3Cpath d='M44 17 L46 55 M168 42 L170 58 M292 15 L286 56 M80 38 L84 64 M128 26 L122 74 M208 21 L212 70 M252 32 L248 72 M332 40 L328 68 M8 34 L8 70 M372 24 L372 50'/%3E%3Cpath d='M18 50 L362 47'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

::selection {
  background: rgba(125, 176, 255, 0.28);
  color: var(--text);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(10, 15, 26, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  text-decoration: none;
}

/* Inline SVG favicon matches <link rel="icon"> (square duel mark). */
.brand-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2064%2064'%3E%3Crect%20width%3D'64'%20height%3D'64'%20rx%3D'14'%20fill%3D'%23081019'%2F%3E%3Crect%20x%3D'30'%20y%3D'12'%20width%3D'4'%20height%3D'40'%20rx%3D'2'%20fill%3D'%239dc1ff'%2F%3E%3Crect%20x%3D'10'%20y%3D'23'%20width%3D'18'%20height%3D'18'%20rx%3D'4'%20fill%3D'%2364f1c1'%2F%3E%3Crect%20x%3D'36'%20y%3D'23'%20width%3D'18'%20height%3D'18'%20rx%3D'4'%20fill%3D'%23ffc96b'%2F%3E%3C%2Fsvg%3E")
    center / 100% 100% no-repeat;
  box-shadow: 0 0 0 1px var(--line-strong);
  border-radius: 8px;
}

.brand-lockup {
  display: grid;
  gap: 0.08rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.mobile-site-nav {
  display: none;
}

.site-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  color: var(--soft);
  border-radius: 999px;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  background: rgba(125, 176, 255, 0.12);
  color: var(--text);
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.hero-copy,
.hero-copy h1,
.hero-copy p,
.hero-actions {
  min-width: 0;
  overflow-wrap: anywhere;
}

.callout,
.callout *,
.card-kicker {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-label,
.card-kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(125, 176, 255, 0.18);
}

.hero-text {
  max-width: 62ch;
  margin-bottom: 1.25rem;
  color: var(--soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.92rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1a0a2e;
  background: linear-gradient(135deg, #ffd93d, #ffe566);
  box-shadow: 0 12px 28px rgba(255, 217, 61, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(255, 217, 61, 0.4);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: rgba(125, 176, 255, 0.1);
  border-color: rgba(125, 176, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(125, 176, 255, 0.18);
}

.btn-block {
  width: 100%;
}

.hero-card,
.principles-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(15, 24, 40, 0.95), rgba(10, 16, 28, 0.92));
  box-shadow: var(--shadow);
}

.hero-card {
  box-sizing: border-box;
  max-width: 21.875rem;
  width: 100%;
  justify-self: end;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
}

.hero-card::before,
.principles-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(125, 176, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(100, 241, 193, 0.06), transparent 30%);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Status badge — not a control; keep visually distinct from .btn */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #081019;
  background: linear-gradient(135deg, var(--accent), #8fefd4);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: default;
  user-select: none;
}

.card-kicker {
  color: var(--muted);
}

.hero-card h2,
.principles-card h2,
.callout h2,
.contact-card h2 {
  margin-bottom: 0.75rem;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-card h2 {
  font-size: 1.55rem;
}

.hero-card p,
.principles-card p,
.callout p,
.contact-card p {
  color: var(--soft);
}

.contact-card .btn {
  gap: 0.55rem;
}

.contact-icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.contact-icon--fill {
  display: block;
}

.contact-card__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.contact-card__social .text-link {
  margin-top: 0;
}

.text-link--with-icon {
  gap: 0.5rem;
}

.system-map {
  position: relative;
  margin: 1.2rem 0 1.2rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(7, 14, 25, 0.78), rgba(12, 21, 36, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 184, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.system-map__label {
  position: relative;
  z-index: 1;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Ordered vertical pipeline: the rail makes direction explicit without an SVG. */
.system-pipeline {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.system-pipeline__step {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

/* Decorative connector between steps (not a list item—keeps <ol> to four semantic steps). */
.system-pipeline__connector {
  position: relative;
  align-self: stretch;
  height: 0.85rem;
}

.system-pipeline__connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.08rem;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(125, 176, 255, 0.45), var(--primary));
  box-shadow: 0 0 10px rgba(125, 176, 255, 0.3);
}

.system-pipeline__connector::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: calc(1.08rem - 4px);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--primary-strong);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.system-node {
  position: relative;
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-height: 3.65rem;
  padding: 0.62rem 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(125, 176, 255, 0.26);
  background: linear-gradient(145deg, rgba(28, 38, 61, 0.96), rgba(15, 24, 42, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 7px 18px rgba(0, 0, 0, 0.24);
}

.system-node__index {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(125, 176, 255, 0.5);
  background: rgba(125, 176, 255, 0.12);
  color: var(--primary-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.system-node__copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.system-node__copy strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.25;
}

.system-node__copy > span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.system-node--2 .system-node__index {
  border-color: color-mix(in srgb, var(--accent) 52%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.system-node--3 .system-node__index {
  border-color: color-mix(in srgb, var(--accent-warm) 52%, transparent);
  background: color-mix(in srgb, var(--accent-warm) 12%, transparent);
  color: var(--accent-warm);
}

.system-node--4 .system-node__index {
  border-color: var(--reasoning-xhigh-border);
  background: var(--reasoning-xhigh-bg);
  color: var(--reasoning-xhigh-fg);
}

.current-standings {
  margin-top: 2rem;
}

.current-standings__link {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(18, 30, 50, 0.94), rgba(10, 18, 31, 0.92));
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}

.current-standings__link::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(125, 176, 255, 0.11), transparent 40%);
}

.current-standings__link > * {
  position: relative;
  z-index: 1;
}

.current-standings__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.current-standings__header .section-label {
  margin-bottom: 0.3rem;
}

.current-standings__header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.current-standings__updated {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  white-space: nowrap;
}

.current-standings__fallback {
  margin: 1rem 0 0;
  color: var(--soft);
}

.current-standings__data {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  gap: 1rem 1.4rem;
  align-items: center;
  margin-top: 1rem;
}

.current-standings__data[hidden] {
  display: none;
}

.current-standings__leaders {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.current-standings__leaders li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.current-standings__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 5px;
  background: rgba(255, 201, 107, 0.14);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.current-standings__model {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.current-standings__score {
  font-family: var(--font-mono);
  font-weight: 700;
}

.reasoning-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.3rem;
  padding: 0.08rem 0.38rem 0.08rem 0.32rem;
  border: 1px solid var(--reasoning-none-border);
  border-left-width: 3px;
  border-radius: 5px;
  background: var(--reasoning-none-bg);
  color: var(--reasoning-none-fg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.reasoning-badge--highest {
  border-color: var(--reasoning-xhigh-border);
  background: var(--reasoning-xhigh-bg);
  color: var(--reasoning-xhigh-fg);
}

.reasoning-badge--medium {
  border-color: var(--reasoning-medium-border);
  background: var(--reasoning-medium-bg);
  color: var(--reasoning-medium-fg);
}

.reasoning-badge--none,
.reasoning-badge--unknown {
  border-color: var(--reasoning-none-border);
  background: var(--reasoning-none-bg);
  color: var(--reasoning-none-fg);
}

.current-standings__counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.current-standings__counts div {
  min-width: 0;
  padding-left: 0.6rem;
  border-left: 2px solid rgba(125, 176, 255, 0.42);
}

.current-standings__counts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.current-standings__counts dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.current-standings__cta {
  display: inline-flex;
  gap: 0.3rem;
  margin-top: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.current-standings__note {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.benchmark-example {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.benchmark-example .principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 760px) {
  .benchmark-example .principle-list {
    grid-template-columns: 1fr;
  }
}

.current-standings__link:hover {
  border-color: rgba(125, 176, 255, 0.48);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.signal-card,
.callout {
  border: 1px solid var(--line);
  background: rgba(13, 21, 35, 0.76);
}

.signal-card,
.callout,
.contact-card {
  border-radius: var(--radius-md);
}

.signal-card {
  padding: 1.15rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.signal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 176, 255, 0.4);
  background: rgba(17, 27, 45, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.signal-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.signal-card p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.96rem;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--compact {
  padding-top: 0;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.section-copy h2,
.principles-card h2,
.callout h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-copy p {
  max-width: 62ch;
  margin-bottom: 1rem;
  color: var(--soft);
  font-size: 1.05rem;
}

.principles-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.principle-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.principle-list li {
  padding-top: 1rem;
  border-top: 1px solid rgba(143, 184, 255, 0.12);
}

.principle-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.principle-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.principle-list p {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.text-link::after {
  content: " →";
}

.text-link:hover {
  color: var(--primary-strong);
}

.callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1rem 1.5rem;
}

.callout,
.contact-card {
  padding: 1.35rem;
}

.legal-shell {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.legal-layout {
  display: grid;
}

.legal-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(15, 24, 40, 0.95), rgba(10, 16, 28, 0.92));
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.legal-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.legal-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  color: var(--soft);
}

.legal-lead {
  max-width: 65ch;
  font-size: 1.08rem;
}

.legal-section + .legal-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(143, 184, 255, 0.12);
}

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-list li + li {
  margin-top: 0.55rem;
}

.microcopy {
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.94em;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin-bottom: 0;
  max-width: 62ch;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--focus-halo);
}

a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

/* Latest-from-blog strip inside the hero copy column. */
.hero-blog {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(15, 24, 40, 0.55);
}

.hero-blog-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
}

.hero-blog-list {
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.hero-blog-list a {
  color: var(--soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 184, 255, 0.2);
  padding-bottom: 0.1rem;
}

.hero-blog-list a:hover {
  color: var(--text);
  border-bottom-color: var(--primary-strong);
}

.hero-blog .text-link {
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

/* Blog index and post pages share the legal-shell container rhythm
   but use their own article cards. */
.blog-shell {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.blog-layout {
  display: grid;
  gap: 1.25rem;
}

.blog-intro {
  display: grid;
  gap: 0.75rem;
  max-width: 70ch;
}

.blog-intro h1 {
  margin-bottom: 0.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.blog-intro p {
  color: var(--soft);
}

.blog-index {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-index li {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(15, 24, 40, 0.95), rgba(10, 16, 28, 0.92));
  box-shadow: var(--shadow);
  padding: 1.2rem 1.35rem;
}

.blog-index h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.blog-index h2 a {
  text-decoration: none;
  color: var(--text);
}

.blog-index h2 a:hover {
  color: var(--primary-strong);
}

.blog-index .blog-post-meta {
  margin-bottom: 0.35rem;
}

.blog-index p {
  margin: 0;
  color: var(--soft);
}

.blog-post {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(15, 24, 40, 0.95), rgba(10, 16, 28, 0.92));
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.blog-post h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  text-shadow: none;
}

.blog-post h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  letter-spacing: -0.03em;
}

.blog-post h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary-strong);
}

.blog-post p,
.blog-post li {
  color: var(--soft);
}

.blog-post p {
  max-width: 72ch;
}

.blog-post ul,
.blog-post ol {
  max-width: 72ch;
  padding-left: 1.25rem;
}

.blog-post ul li + li,
.blog-post ol li + li {
  margin-top: 0.35rem;
}

.blog-post a {
  color: var(--primary-strong);
}

.blog-post-meta {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.historical-benchmark-note {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-left: 0.3rem solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.historical-benchmark-note p {
  margin: 0.5rem 0;
}

.blog-lead {
  max-width: 68ch;
  font-size: 1.08rem;
  color: var(--soft);
}

.blog-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(100, 241, 193, 0.06);
}

.blog-callout p {
  margin: 0;
  color: var(--text);
}

.blog-callout p + p {
  margin-top: 0.55rem;
}

.blog-warning {
  border-left-color: var(--accent-warm);
  background: rgba(255, 201, 107, 0.08);
}

.blog-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.table-scroll-hint {
  display: none;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 0.4rem;
}

@media (max-width: 640px) {
  .table-scroll-hint {
    display: block;
  }
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.blog-table th,
.blog-table td {
  padding: 0.55rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.blog-table thead th {
  background: rgba(125, 176, 255, 0.08);
  color: var(--text);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.blog-table tbody td {
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.blog-table tbody tr:last-child th,
.blog-table tbody tr:last-child td {
  border-bottom: 0;
}

.blog-table td.num,
.blog-table th.num {
  text-align: right;
  font-family: var(--font-mono);
}

.blog-table td.highlight {
  color: var(--accent);
  font-weight: 700;
}

.blog-chart {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(10, 16, 28, 0.45);
}

.blog-chart figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.blog-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.blog-chart .chart-grid {
  stroke: rgba(143, 184, 255, 0.18);
  stroke-width: 1;
}

.blog-chart .chart-axis {
  stroke: rgba(143, 184, 255, 0.38);
  stroke-width: 1;
}

.blog-chart .chart-tick {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-chart .chart-label {
  fill: var(--soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-chart .chart-series {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-chart .chart-point {
  stroke-width: 1.5;
}

.blog-chart .chart-annotation {
  fill: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-chart .chart-legend {
  fill: var(--soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-chart .series-claude-47 {
  stroke: #ffc96b;
}

.blog-chart .series-claude-46 {
  stroke: #7db0ff;
}

.blog-chart .series-gpt-54 {
  stroke: #64f1c1;
}

.blog-chart .series-gemini-31 {
  stroke: #ff8fc5;
}

.blog-chart .series-sonnet-46 {
  stroke: #c8d4ea;
}

.blog-chart .bar-medium {
  fill: #7db0ff;
}

.blog-chart .bar-highest {
  fill: #ffc96b;
}

.blog-chart .bar-none {
  fill: #64f1c1;
}

.blog-post-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
}

.blog-post-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f7fbff;
    --bg-soft: #eaf2fb;
    --panel: rgba(255, 255, 255, 0.94);
    --panel-2: rgba(241, 247, 253, 0.96);
    --line: rgba(31, 87, 140, 0.18);
    --line-strong: rgba(31, 87, 140, 0.3);
    --text: #102033;
    --soft: #31445f;
    --muted: #4f617d;
    --primary: #1f63b7;
    --primary-strong: #17477f;
    --accent: #00795c;
    --accent-warm: #8a5a00;
    --reasoning-xhigh-fg: #5b2aa8;
    --reasoning-xhigh-bg: #eee7ff;
    --reasoning-xhigh-border: #9b79d0;
    --reasoning-medium-fg: #174f9c;
    --reasoning-medium-bg: #e8f1ff;
    --reasoning-medium-border: #72a2e3;
    --reasoning-none-fg: #475569;
    --reasoning-none-bg: #eef1f4;
    --reasoning-none-border: #9aa5b1;
    --focus-ring: #0b66d8;
    --focus-halo: rgba(11, 102, 216, 0.2);
    --shadow: 0 18px 48px rgba(43, 73, 110, 0.14);
  }

  body {
    background:
      radial-gradient(circle at 85% 12%, rgba(31, 99, 183, 0.07), transparent 30%),
      radial-gradient(circle at 10% 35%, rgba(0, 121, 92, 0.06), transparent 26%),
      linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  }

  body::before {
    opacity: 0.28;
    background-image:
      radial-gradient(circle at 78% 8%, rgba(31, 99, 183, 0.06) 0%, transparent 42%),
      radial-gradient(circle at 6% 24%, rgba(0, 121, 92, 0.05) 0%, transparent 38%),
      radial-gradient(circle at 94% 46%, rgba(138, 90, 0, 0.05) 0%, transparent 34%),
      radial-gradient(circle at 14% 68%, rgba(31, 99, 183, 0.06) 0%, transparent 40%),
      linear-gradient(rgba(31, 87, 140, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(31, 87, 140, 0.08) 1px, transparent 1px);
  }

  body::after {
    opacity: 0.08;
  }

  .site-header {
    background: rgba(248, 251, 255, 0.86);
  }

  .hero-card,
  .current-standings__link,
  .principles-card,
  .contact-card,
  .legal-card,
  .blog-index li,
  .blog-post {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(240, 247, 254, 0.94));
  }

  .hero-card::before,
  .principles-card::before,
  .contact-card::before {
    background:
      radial-gradient(circle at top right, rgba(31, 99, 183, 0.08), transparent 34%),
      radial-gradient(circle at bottom left, rgba(0, 121, 92, 0.06), transparent 30%);
  }

  .hero-blog,
  .signal-card,
  .callout,
  .blog-chart {
    background: rgba(255, 255, 255, 0.7);
  }

  .signal-card:hover {
    border-color: rgba(31, 99, 183, 0.38);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(43, 73, 110, 0.16);
  }

  .system-map {
    background: rgba(255, 255, 255, 0.58);
  }

  .system-node {
    border-color: rgba(31, 99, 183, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 10px 24px rgba(43, 73, 110, 0.14);
  }

  .btn-secondary,
  code {
    background: rgba(16, 32, 51, 0.04);
  }

  .blog-callout {
    background: rgba(0, 121, 92, 0.08);
  }

  .blog-warning {
    background: rgba(138, 90, 0, 0.1);
  }

  .blog-table thead th {
    background: rgba(31, 99, 183, 0.08);
  }

  .blog-chart .chart-grid {
    stroke: rgba(31, 87, 140, 0.18);
  }

  .blog-chart .chart-axis {
    stroke: rgba(31, 87, 140, 0.42);
  }
}

@media (max-width: 760px) {
  .blog-chart {
    overflow-x: auto;
  }

  .blog-chart svg {
    min-width: 680px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: center;
    max-width: min(21.875rem, 100%);
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .current-standings__data {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .header-inner {
    min-height: 62px;
    padding: 0;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-tag {
    display: none;
  }

  .site-nav--desktop {
    display: none;
  }

  .mobile-site-nav {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .mobile-site-nav > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--soft);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .mobile-site-nav > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-site-nav > nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    display: grid;
    width: min(18rem, calc(100vw - 1.25rem));
    padding: 0.45rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    box-shadow: var(--shadow);
  }

  .mobile-site-nav > nav a {
    min-height: 40px;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    color: var(--soft);
    text-decoration: none;
  }

  .hero {
    padding-top: 2.6rem;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-nav {
    gap: 0.12rem;
  }

  .current-standings__link {
    padding: 1rem;
  }

  .current-standings__header {
    display: grid;
  }

  .current-standings__updated {
    white-space: normal;
  }

  .current-standings__leaders li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .current-standings__leaders .reasoning-badge {
    grid-column: 2;
    width: max-content;
  }

  .current-standings__score {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .current-standings__counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body::before {
    opacity: 0.18;
  }
}

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

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