:root {
  --bg: #0e1116;
  --panel: #161b22;
  --panel2: #1c232e;
  --border: #2a3441;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #4da3ff;
  --accent2: #7ee0a3;
  --warn: #f0b429;
  --danger: #f47067;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.site-header {
  background: linear-gradient(135deg, #101a2c, #0e1116);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 1.75rem;
}
.site-header h1 { margin: 0 0 0.25rem; font-size: 2rem; }
.subtitle { color: var(--muted); margin: 0; font-size: 1.05rem; }
main { padding-bottom: 2rem; }
section { margin-top: 2rem; }
h2 { font-size: 1.35rem; margin: 0 0 0.75rem; }
.intro p { color: var(--muted); max-width: 72ch; }
.disclaimer {
  border-left: 3px solid var(--warn);
  padding: 0.5rem 0.9rem;
  background: rgba(240, 180, 41, 0.07);
  color: var(--text);
  font-size: 0.92rem;
  max-width: 72ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.stat-label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 1.9rem; font-weight: 700; color: var(--accent2); margin: 0.25rem 0; }
.stat-note { color: var(--muted); font-size: 0.85rem; }
.benchmark-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.benchmark {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}
.benchmark .b-stat { font-weight: 600; margin-bottom: 0.25rem; }
.benchmark .b-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.benchmark .b-detail { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0; }
.benchmark a { color: var(--accent); font-size: 0.88rem; }
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.controls input[type="search"], .controls select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
}
.controls input[type="search"] { flex: 1 1 260px; }
.breach-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.breach {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}
.breach-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}
.breach-head h3 { margin: 0; font-size: 1.15rem; }
.badge {
  font-size: 0.78rem;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  color: var(--muted);
}
.breach-cost { color: var(--accent2); font-weight: 700; font-size: 1.15rem; }
.breach-cost small { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.breach p { color: var(--muted); margin: 0.5rem 0; }
.breach .records { color: var(--muted); font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.tag {
  font-size: 0.78rem;
  background: rgba(77, 163, 255, 0.12);
  border: 1px solid rgba(77, 163, 255, 0.4);
  color: var(--accent);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  cursor: help;
}
.source { font-size: 0.88rem; margin-top: 0.5rem; }
.source a { color: var(--accent); }
.about-criteria p { color: var(--muted); max-width: 72ch; }
.about-criteria a { color: var(--accent); }
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  margin-top: 1rem;
}
.site-footer p { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0; }
.site-footer a { color: var(--accent); }
.empty { color: var(--muted); padding: 2rem 0; text-align: center; }
