:root {
  --background: #0b0c0d;
  --surface: #151718;
  --surface-hover: #1b1d1e;
  --text: #f4f4f2;
  --muted: #a4a7aa;
  --line: #36393b;
  --line-strong: #777b7e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
.page-width { max-width: 1220px; margin: 0 auto; padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 1; padding: 10px 14px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 20px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); font-size: 13px; }
.brand { color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
.topbar a:not(.brand), .footer a { font-weight: 650; }
.hero { max-width: 850px; padding: 88px 0 76px; }
.site-label { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
h1 { max-width: 760px; margin: 0; color: var(--text); font-size: clamp(54px, 8vw, 102px); font-weight: 750; line-height: .94; }
.hero-continuation { margin: 20px 0 0; color: var(--text); font-size: clamp(24px, 3vw, 38px); line-height: 1.08; }
.hero-description { max-width: 580px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.48; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-block; padding: 13px 17px; border: 1px solid var(--line-strong); color: var(--text); background: transparent; font-size: 14px; font-weight: 650; text-decoration: none; }
.button.primary { border-color: var(--text); color: var(--background); background: var(--text); }
.button:hover, .button:focus-visible, .card-link:focus-visible, .filter:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.credibility { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.credibility span { padding: 18px 16px 18px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.credibility span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.directory { padding-top: 74px; }
.directory-heading { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
h2 { margin: 0; color: var(--text); font-size: 28px; font-weight: 700; }
.directory-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.filters { display: flex; gap: 20px; overflow-x: auto; padding: 19px 0 18px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: 0 0 5px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.filter:hover { color: var(--text); }
.filter.active { border-bottom-color: var(--text); color: var(--text); font-weight: 650; }
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 22px; }
.agent-card { display: flex; min-height: 340px; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.agent-card:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.agent-card[hidden] { display: none; }
.card-meta { color: var(--muted); font-size: 12px; line-height: 1.45; }
.card-meta strong { color: var(--text); font-weight: 650; }
.agent-card h3 { margin: 54px 0 8px; color: var(--text); font-size: 25px; font-weight: 700; line-height: 1.06; }
.agent-card .subtitle { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.agent-card .description { margin: 22px 0 0; color: #d0d2d3; font-size: 14px; line-height: 1.48; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 28px; }
.metric { color: var(--muted); font-size: 12px; line-height: 1.35; }
.card-link { color: var(--text); font-size: 13px; font-weight: 650; white-space: nowrap; }
.pending { color: var(--muted); font-size: 13px; }
.footnote, .noscript-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 56px; padding-bottom: 64px; color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 860px) {
  .hero { padding: 62px 0 58px; }
  .credibility { grid-template-columns: repeat(2, 1fr); }
  .credibility span:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .credibility span:nth-child(4) { border-top: 1px solid var(--line); }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar { padding-top: 20px; }
  .hero { padding: 54px 0 48px; }
  h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-description { font-size: 16px; }
  .credibility { display: block; }
  .credibility span, .credibility span + span { display: block; padding: 13px 0; border-left: 0; border-top: 1px solid var(--line); }
  .credibility span:first-child { border-top: 0; }
  .directory { padding-top: 54px; }
  .directory-heading { display: block; }
  .directory-heading p { margin-top: 14px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-card { min-height: 300px; }
  .footer { display: block; }
  .footer span { display: inline-block; margin-top: 14px; }
}
