
:root {
  --background: #000000;
  --foreground: #f5f5f7;
  --surface-raised: #0b0b0e;
  --text-secondary: rgba(245, 245, 247, 0.6);
  --text-tertiary: rgba(245, 245, 247, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.04);
  --accent: #0a84ff;
  --accent-hover: #409cff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #000;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
}
.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.site-bg::before {
  width: min(60vw, 520px);
  height: min(60vw, 520px);
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, #0a84ff 0%, transparent 70%);
}
.site-bg::after {
  width: min(50vw, 440px);
  height: min(50vw, 440px);
  bottom: 10%;
  right: -5%;
  background: radial-gradient(circle, #5ac8fa 0%, transparent 70%);
}
.wrap, .hero, .shelf, .dossier, .footer-grid { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
}
.nav-inner {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a84ff, #5ac8fa);
  color: white;
  font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.875rem; color: var(--text-secondary); }
.nav-link:hover { color: var(--foreground); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.menu-open {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-open span { display: block; height: 1.5px; width: 1.1rem; background: var(--foreground); margin-inline: auto; }
.menu { position: fixed; inset: 0; z-index: 60; }
.menu-scrim { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, 0.7); }
.menu-panel {
  position: relative;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1rem 2rem;
}
.menu-bar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.menu-bar button {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--foreground);
  font-size: 1.4rem;
  cursor: pointer;
}
.menu-link { display: block; padding: 0.8rem 1rem; border-radius: 0.8rem; }
.menu-link:hover { background: rgba(255, 255, 255, 0.05); }
.menu-cta { margin: 1rem 1rem 0; }
main { padding-top: 4.5rem; }
.hero { padding: 3rem 0 1rem; text-align: center; }
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.hero h1, .dossier h1 {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.text-gradient-accent {
  background: linear-gradient(135deg, #0a84ff 0%, #5ac8fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.lede.left { margin-left: 0; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shelf { padding: 4.5rem 0 1rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.section-head p:last-child { color: var(--text-secondary); }
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.card, .card-surface {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}
.card { display: flex; flex-direction: column; padding: 1.5rem; min-height: 100%; }
.card:hover { background: rgba(255, 255, 255, 0.06); }
.card h3 { margin: 0.35rem 0 0.6rem; font-size: 1.05rem; }
.kicker, .card .summary, .meta { color: var(--text-secondary); }
.kicker { margin: 0; font-size: 0.75rem; color: rgba(10, 132, 255, 0.9); }
.card-kicker { display: flex; justify-content: space-between; align-items: baseline; }
.score { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.meta { margin: 0.35rem 0; font-size: 0.875rem; }
.meta span { display: block; color: var(--text-tertiary); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.summary { margin: 0; font-size: 0.92rem; line-height: 1.6; }
.dossier { padding: 3rem 0 4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--text-tertiary); font-size: 0.75rem; margin-bottom: 2rem; }
.crumbs a:hover { color: var(--foreground); }
.dossier h1 { margin: 0.4rem 0 0; text-align: left; }
.dossier-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.score-card { padding: 1.5rem; }
.score-lg { margin: 0.4rem 0 0; font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.score-of { font-size: 1.15rem; color: var(--text-secondary); font-weight: 500; white-space: nowrap; }
.stats { margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; max-width: 40rem; }
.stats div { border: 1px solid var(--border-subtle); background: var(--card-bg); border-radius: 16px; padding: 0.85rem 1rem; }
.stats dd { margin: 0; font-size: 1.35rem; font-weight: 600; }
.stats dt { color: var(--text-tertiary); font-size: 0.75rem; }
.finder { width: min(40rem, calc(100% - 2rem)); margin: 2.5rem auto 0; text-align: left; }
.finder label { display: block; margin-bottom: 0.45rem; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.finder input { width: 100%; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: var(--foreground); font: inherit; padding: 0.85rem 1.1rem; }
.finder input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.finder-status { min-height: 1.2rem; margin: 0.45rem 0 0; color: var(--text-tertiary); font-size: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.chips li { border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); border-radius: 6px; padding: 0.15rem 0.45rem; font-size: 0.68rem; color: var(--text-secondary); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.metrics dd { margin: 0; font-size: 0.95rem; font-weight: 600; }
.metrics dt { margin: 0; color: var(--text-tertiary); font-size: 0.68rem; }
.more { margin-top: 1rem; color: var(--accent); font-size: 0.875rem; font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; margin-top: 1rem; }
.jump a { color: var(--text-secondary); font-size: 0.8rem; }
.jump a:hover { color: var(--foreground); }
.card[hidden], .shelf[hidden] { display: none !important; }
.fields { display: grid; gap: 1rem; margin-top: 2.5rem; }
.card-surface { padding: 1.5rem; }
.fields h2 { margin: 0; color: var(--text-tertiary); }
.value { margin: 0.75rem 0 0; font-size: 1.05rem; }
.evidence { color: var(--text-secondary); font-size: 0.92rem; }
.links a, .notes a, .fields a { color: var(--accent); }
.notes { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.notes p { margin: 0; color: var(--text-secondary); }
.notes .gap p { color: var(--text-tertiary); }
.footer { margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(11, 11, 14, 0.8); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3rem 0 1rem; }
.footer-blurb { color: var(--text-secondary); font-size: 0.8rem; max-width: 18rem; }
.footer h2 { color: var(--text-tertiary); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer li, .footer a { color: var(--text-secondary); font-size: 0.875rem; }
.footer a:hover { color: var(--foreground); }
.legal { text-align: center; color: var(--text-tertiary); font-size: 0.75rem; margin: 0.4rem 0; }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-open, .menu { display: none; }
  .brand-sub { display: block; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dossier-head { grid-template-columns: 2fr 1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .brand-sub { display: none; }
}
