:root {
  --bg: #f7ecda;
  --bg-2: #efe1cc;
  --surface: rgba(255, 253, 249, 0.94);
  --surface-strong: #fffefb;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --line-strong: rgba(15, 23, 42, 0.24);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --hero-accent: #0f172a;
  --hero-accent-2: #b45309;
  --ai: #0f172a;
  --devtools: #1d4ed8;
  --web: #0f766e;
  --security: #b91c1c;
  --repos: #b45309;
  --neutral: #475569;
  --hot: #9f1239;
  --warm: #b45309;
  --fresh: #0f766e;
}

html.dark {
  --bg: #0f1219;
  --bg-2: #161b26;
  --surface: rgba(22, 27, 38, 0.94);
  --surface-strong: #1a2030;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --line: rgba(226, 232, 240, 0.1);
  --line-strong: rgba(226, 232, 240, 0.2);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  --hero-accent: #e2e8f0;
  --hero-accent-2: #f59e0b;
  --ai: #e2e8f0;
  --devtools: #60a5fa;
  --web: #2dd4bf;
  --security: #f87171;
  --repos: #fbbf24;
  --neutral: #94a3b8;
  --hot: #fb7185;
  --warm: #fbbf24;
  --fresh: #2dd4bf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(18, 18, 18, 0.08), transparent 28rem),
    radial-gradient(circle at top right, rgba(18, 18, 18, 0.04), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 54%, #f8f5ef 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  transition: opacity 160ms ease;
}

.site-brand:hover {
  opacity: 0.85;
}

.site-logo {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.site-name {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.site-link:hover,
.site-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.page {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.stack {
  display: grid;
  gap: 20px;
}

#app {
  display: grid;
  gap: 16px;
}

.hero,
.panel,
.section-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  padding: 22px;
}

.hero::after,
.panel::after,
.section-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--hero-accent), rgba(18, 18, 18, 0.12), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.hero h1,
.section-title,
.item-title {
  margin: 0;
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-summary {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  max-width: 62ch;
}

.hero-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-copy.is-lead {
  color: var(--ink);
  font-size: 1.03rem;
}

.hero-copy strong {
  color: var(--ink);
}

.hero-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.meta-row,
.stat-grid,
.toolbar,
.toolbar-top,
.top-grid,
.highlights-grid,
.section-list,
.pill-row,
.card-meta,
.section-head {
  display: grid;
  gap: 10px;
}

.meta-row {
  margin-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.meta-chip,
.domain-button,
.micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.hero-grid > *,
.toolbar > *,
.filter-strip,
.toolbar-meta,
.section-head > *,
.item-topline > *,
.card-meta > *,
.pill-row > * {
  min-width: 0;
}

.meta-chip strong {
  font-size: 1.02rem;
}

.stats-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 228, 0.9)),
    radial-gradient(circle at top right, rgba(18, 18, 18, 0.08), transparent 15rem);
  border: 1px solid var(--line);
}

.stats-panel h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.stats-sub {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.stat-grid {
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(29, 37, 47, 0.07);
}

.stat-value {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.coverage-bars {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.coverage-details {
  margin-top: 14px;
}

.coverage-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.coverage-summary::-webkit-details-marker {
  display: none;
}

.coverage-summary strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.coverage-summary span {
  font-size: 0.84rem;
}

.coverage-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.coverage-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
  overflow: hidden;
}

.coverage-fill {
  height: 100%;
  border-radius: inherit;
}

.toolbar {
  position: sticky;
  top: 60px;
  z-index: 10;
  padding: 10px;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.88);
  box-shadow: 0 6px 18px rgba(18, 18, 18, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.toolbar-top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.domain-button {
  cursor: pointer;
  padding: 9px 12px;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.domain-button:hover,
.domain-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.domain-button.is-active {
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(29, 37, 47, 0.16);
}

.domain-button[data-domain="all"].is-active {
  background: linear-gradient(135deg, var(--hero-accent), var(--hero-accent-2));
}

.domain-button[data-domain="ai"].is-active {
  background: var(--ai);
}

.domain-button[data-domain="devtools"].is-active {
  background: var(--devtools);
}

.domain-button[data-domain="web"].is-active {
  background: var(--web);
}

.domain-button[data-domain="security"].is-active {
  background: var(--security);
}

.domain-button[data-domain="repos"].is-active {
  background: var(--repos);
}

.domain-button[data-domain="cross"].is-active {
  background: var(--neutral);
}

.results-copy {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 10px;
}

.toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.panel {
  padding: 18px;
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
}

.panel-copy {
  margin-top: 8px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.5;
}

.top-grid,
.highlights-grid,
.section-list {
  margin-top: 14px;
}

.top-grid,
.highlights-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-list {
  grid-template-columns: 1fr;
}


.section-card {
  padding: 18px;
  scroll-margin-top: 140px;
}

.section-head {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.section-head > :nth-child(2) {
  min-width: 0;
}

.section-head > .pill-row {
  justify-content: flex-end;
}

.section-badge {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.section-kicker {
  color: var(--muted);
  font-size: 0.84rem;
}

.section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1;
}

.section-items {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}


.item-card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.06);
  animation: rise 460ms ease both;
  animation-delay: calc(var(--delay, 0) * 40ms);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.item-card.is-hottest {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.08);
}

.item-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 18, 18, 0.08);
}

#app.no-entrance .item-card {
  animation: none;
}

.item-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: inherit;
}

.item-card.domain-ai::before {
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.95), rgba(23, 23, 23, 0.18));
}
.item-card.domain-devtools::before {
  background: linear-gradient(90deg, rgba(53, 53, 53, 0.95), rgba(53, 53, 53, 0.18));
}
.item-card.domain-web::before {
  background: linear-gradient(90deg, rgba(75, 75, 75, 0.95), rgba(75, 75, 75, 0.18));
}
.item-card.domain-security::before {
  background: linear-gradient(90deg, rgba(107, 107, 107, 0.95), rgba(107, 107, 107, 0.18));
}
.item-card.domain-repos::before {
  background: linear-gradient(90deg, rgba(136, 136, 136, 0.95), rgba(136, 136, 136, 0.18));
}
.item-card.domain-neutral::before {
  background: linear-gradient(90deg, rgba(82, 82, 82, 0.95), rgba(82, 82, 82, 0.18));
}

.item-card.featured {
  padding: 18px;
}

.item-topline,
.card-meta,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.item-topline {
  justify-content: space-between;
}

.micro-pill {
  color: var(--muted);
  font-size: 0.78rem;
}

.item-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.item-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 18, 18, 0.05);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 11px;
  text-decoration: none;
}

.item-ref:hover,
.item-ref:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  border-color: rgba(18, 18, 18, 0.36);
}

.reference-menu {
  position: relative;
  display: inline-block;
}

.reference-menu summary {
  list-style: none;
  cursor: pointer;
}

.reference-menu summary::-webkit-details-marker {
  display: none;
}

.reference-menu:hover summary,
.reference-menu:focus-within summary,
.reference-menu[open] summary {
  border-color: rgba(18, 18, 18, 0.36);
}

.reference-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 4;
  min-width: min(320px, calc(100vw - 64px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.reference-menu:hover .reference-menu-panel,
.reference-menu:focus-within .reference-menu-panel,
.reference-menu[open] .reference-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reference-menu-list {
  display: grid;
  gap: 6px;
}

.reference-menu-note {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-title {
  margin-top: 12px;
  font-size: 1.22rem;
  line-height: 1.14;
}

.item-title a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.item-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.item-summary {
  margin-top: 10px;
  color: var(--ink);
  line-height: 1.52;
  font-size: 0.94rem;
}

.item-summary.is-compact {
  color: var(--muted);
}

.item-why {
  margin-top: 10px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  background: rgba(18, 18, 18, 0.025);
}

.item-why-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.item-why-text {
  color: var(--ink);
  line-height: 1.55;
  font-weight: 600;
}

.item-figure {
  margin: 14px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(18, 18, 18, 0.04)),
    rgba(18, 18, 18, 0.05);
}

.item-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}

.card-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.reference-link {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(18, 18, 18, 0.03);
  color: var(--ink);
  text-decoration: none;
}

.reference-link-label {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.reference-link-meta {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.reference-link:hover,
.reference-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  border-color: rgba(18, 18, 18, 0.2);
}

@media (max-width: 720px) {
  .reference-menu-panel {
    left: auto;
    right: 0;
  }
}


.jump-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.jump-strip .domain-button {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--btn-accent, var(--ink));
  border-color: rgba(15, 23, 42, 0.08);
}

.jump-strip .domain-button.is-quiet {
  opacity: 0.5;
  font-weight: 400;
}

.section-card.is-quiet {
  opacity: 0.7;
}

.section-card.is-quiet .quiet-card {
  margin-top: 10px;
}

.quiet-card,
.empty-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(18, 18, 18, 0.18);
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  line-height: 1.6;
}

.results-copy,
.panel-copy,
.stats-sub,
.item-summary,
.quiet-card,
.empty-card,
.footer-note,
.section-kicker {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-note {
  margin-top: 32px;
  padding-bottom: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fatal {
  max-width: 760px;
  margin: 7vh auto 0;
  padding: 28px;
}

.fatal h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.fatal pre {
  margin: 16px 0 0;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.96);
  color: #f8f5ef;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.92);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.14);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.18);
}

.kbd-hint {
  display: none;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  background: rgba(29, 37, 47, 0.06);
  border: 1px solid rgba(29, 37, 47, 0.1);
  color: var(--muted);
}

.hero,
.panel,
.section-card {
  overflow: hidden;
}

.hero {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.12), transparent 22rem),
    radial-gradient(circle at bottom left, rgba(180, 83, 9, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 246, 238, 0.94));
}

.hero::after,
.panel::after {
  background: linear-gradient(
    90deg,
    var(--hero-accent),
    var(--hero-accent-2),
    rgba(15, 23, 42, 0.08)
  );
}

.section-card::after {
  background: linear-gradient(
    90deg,
    var(--section-accent, var(--hero-accent)),
    rgba(15, 23, 42, 0.1),
    transparent
  );
}

.stats-panel {
  padding: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 236, 0.92)),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.1), transparent 15rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.toolbar {
  padding: 16px 18px;
  gap: 14px;
  background: rgba(255, 250, 243, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.toolbar-top {
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: start;
}

.toolbar-intro {
  display: grid;
  gap: 6px;
}

.toolbar-title {
  margin: 0;
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.toolbar-copy {
  color: var(--muted);
  line-height: 1.5;
  max-width: 60ch;
}

.toolbar-meta {
  gap: 8px;
}

.jump-strip {
  align-items: center;
}

.domain-button {
  padding: 10px 14px;
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.domain-button:hover,
.domain-button:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.results-copy {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
}

.highlights-grid {
  grid-auto-flow: dense;
  gap: 18px;
}

.section-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 238, 0.92)),
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.04), transparent 16rem);
}

.section-summary {
  margin: 14px 0 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.55;
}

.section-items {
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.item-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.94)),
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.035), transparent 14rem);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.item-card::before {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent, var(--hero-accent)),
    rgba(15, 23, 42, 0.12)
  );
}

.item-card.featured {
  padding: 24px;
}

.item-card.compact {
  padding: 18px;
}

.item-card.is-lead {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 247, 255, 0.94));
}

.item-topline {
  gap: 12px;
  align-items: start;
}

.item-title {
  margin-top: 0;
  font-size: 1.32rem;
  line-height: 1.08;
}

.item-card.compact .item-title {
  font-size: 1.14rem;
}

.item-summary {
  margin-top: 0;
  font-size: 0.97rem;
}

.item-card.compact .item-summary {
  font-size: 0.92rem;
}

.item-why {
  margin-top: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.02));
}

.item-why-text {
  font-size: 0.94rem;
}

.item-figure {
  margin: 0;
  border-radius: 20px;
}

.item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.item-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--accent, var(--hero-accent)), #1e293b);
  color: white;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.item-cta:hover,
.item-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-rank {
  color: white;
  font-weight: 700;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent, var(--hero-accent)), #1e293b);
}

.item-heat {
  font-weight: 700;
  background: rgba(15, 23, 42, 0.06);
}

.item-heat.heat-hot {
  color: var(--hot);
  background: rgba(159, 18, 57, 0.08);
  border-color: rgba(159, 18, 57, 0.18);
}

.item-heat.heat-warm {
  color: var(--warm);
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.18);
}

.item-heat.heat-cool {
  color: var(--fresh);
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.18);
}

.quiet-card {
  margin-top: 18px;
  border-style: solid;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 243, 236, 0.6));
}

@media (hover: hover) and (pointer: fine) {
  .kbd-hint {
    display: inline-block;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .filter-strip {
    justify-content: flex-start;
  }

  .toolbar-meta {
    justify-content: flex-start;
  }

  .stats-sub {
    display: none;
  }

  .coverage-details {
    margin-top: 14px;
  }

  .section-head {
    grid-template-columns: auto 1fr;
  }

  .section-head > .pill-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100vw - 20px, 1320px);
    padding-top: 10px;
  }

  .hero,
  .panel,
  .section-card {
    border-radius: 22px;
  }

  .hero,
  .panel,
  .section-card {
    padding: 18px;
  }

  .highlights-grid,
  .top-grid,
  .section-items {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 14px;
  }

  .stat-value {
    font-size: 1.55rem;
  }

  .coverage-row {
    grid-template-columns: 64px 1fr auto;
  }

  .toolbar-meta {
    align-items: flex-start;
  }

  .toolbar-meta,
  .item-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-card.is-lead {
    grid-column: span 1;
  }

}

@media (max-width: 420px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meta-row {
    grid-template-columns: 1fr 1fr;
  }
}

.dark-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 160ms ease;
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

html.dark body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 54%, #0d1017 100%);
}

html.dark .site-nav {
  background: rgba(10, 14, 22, 0.94);
}

html.dark .hero {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.1), transparent 22rem),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(22, 27, 38, 0.98), rgba(15, 18, 25, 0.96));
}

html.dark .stats-panel {
  background:
    linear-gradient(160deg, rgba(26, 32, 48, 0.96), rgba(15, 18, 25, 0.94)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.08), transparent 15rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .stat-card {
  background: rgba(30, 36, 50, 0.8);
  border-color: rgba(226, 232, 240, 0.06);
}

html.dark .section-card {
  background:
    linear-gradient(180deg, rgba(22, 27, 38, 0.98), rgba(18, 22, 32, 0.95)),
    radial-gradient(circle at top right, rgba(226, 232, 240, 0.03), transparent 16rem);
}

html.dark .item-card {
  background:
    linear-gradient(180deg, rgba(26, 32, 48, 0.98), rgba(20, 25, 38, 0.96)),
    radial-gradient(circle at top right, rgba(226, 232, 240, 0.02), transparent 14rem);
  border-color: rgba(226, 232, 240, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

html.dark .item-card.is-lead {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(26, 32, 48, 0.99), rgba(20, 30, 50, 0.96));
}

html.dark .micro-pill,
html.dark .meta-chip,
html.dark .domain-button {
  background: rgba(226, 232, 240, 0.06);
  border-color: rgba(226, 232, 240, 0.08);
}

html.dark .eyebrow {
  background: rgba(226, 232, 240, 0.06);
  border-color: rgba(226, 232, 240, 0.08);
}

html.dark .section-badge {
  background: rgba(226, 232, 240, 0.06);
  border-color: rgba(226, 232, 240, 0.08);
  box-shadow: none;
}

html.dark .item-why {
  background: rgba(226, 232, 240, 0.04);
  border-color: rgba(226, 232, 240, 0.06);
}

html.dark .item-cta {
  background: linear-gradient(135deg, var(--accent, #e2e8f0), #334155);
  color: #0f172a;
}

html.dark .item-rank {
  background: linear-gradient(135deg, var(--accent, #e2e8f0), #334155);
  color: #0f172a;
}

html.dark .coverage-summary {
  background: rgba(226, 232, 240, 0.04);
  border-color: rgba(226, 232, 240, 0.08);
}

html.dark .jump-strip {
  background: rgba(15, 18, 25, 0.9);
  border-color: rgba(226, 232, 240, 0.08);
}

html.dark .jump-strip .domain-button {
  background: rgba(226, 232, 240, 0.06);
}

html.dark .reference-menu-panel {
  background: var(--surface-strong);
  border-color: rgba(226, 232, 240, 0.15);
}

html.dark .reference-link {
  background: rgba(226, 232, 240, 0.04);
  border-color: rgba(226, 232, 240, 0.08);
}

html.dark .item-image {
  filter: grayscale(0.6) contrast(1.02) brightness(0.9);
}

@media print {
  body {
    background: white;
  }

  body::before,
  .site-nav,
  .toolbar,
  .back-to-top {
    display: none !important;
  }

  .page {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .hero,
  .panel,
  .section-card,
  .item-card {
    background: white;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.22);
  }

  .hero::after,
  .panel::after,
  .section-card::after,
  .item-card::before {
    background: #111111;
  }

  .hero,
  .panel,
  .section-card {
    break-inside: avoid;
  }

  a {
    text-decoration: none;
  }
}
