:root {
  --bg: #0b1020;
  --panel: #131a30;
  --panel-soft: #1a2340;
  --text: #eef2ff;
  --muted: #b8c0de;
  --line: rgba(255,255,255,0.1);
  --accent: #7c9cff;
  --good: #1fbf75;
  --warn: #ffb84d;
  --unknown: #7fd3ff;
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #172243 0%, var(--bg) 58%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.site-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 40px; }
.site-header, .site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.site-header { margin-bottom: 28px; }
.site-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-nav, .footer-links { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.inset { background: var(--panel-soft); }
.hero-grid, .results-grid, .checks-grid, .info-grid { display: grid; gap: 20px; }
.hero-grid { grid-template-columns: 1.25fr 0.9fr; align-items: stretch; }
.results-grid { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.checks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.hero { padding: 28px; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; color: var(--unknown); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
}
h1, h2 { margin: 0 0 12px; line-height: 1.08; }
h1 { font-size: clamp(2rem, 4vw, 3.8rem); max-width: 11ch; }
h2 { font-size: 1.25rem; }
p, li { color: var(--muted); line-height: 1.6; }
.lede { font-size: 1.05rem; max-width: 60ch; }
.hero-points { margin: 20px 0 0; padding-left: 18px; }
.checker-form { display: grid; gap: 16px; }
label span { display: inline-block; margin-bottom: 8px; font-weight: 600; }
input {
  width: 100%; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,12,24,0.55); color: var(--text);
}
button {
  appearance: none; border: 0; border-radius: 14px; padding: 14px 18px; background: linear-gradient(135deg, var(--accent), #9c7cff);
  color: white; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.fine-print { margin: 0; font-size: 0.92rem; }
.score-line, .check-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.score { font-size: 3.6rem; font-weight: 800; line-height: 0.9; }
.outof { color: var(--muted); margin-top: 6px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 700;
  background: rgba(255,255,255,0.07); color: white;
}
.pill.good { background: rgba(31,191,117,0.16); color: #97f0c0; }
.pill.warn { background: rgba(255,184,77,0.16); color: #ffd28f; }
.pill.unknown { background: rgba(127,211,255,0.14); color: #a8e5ff; }
.status-banner { margin-top: 22px; }
.status-banner.warn { border-color: rgba(255,184,77,0.35); }
.summary { color: var(--text); font-weight: 650; }
pre {
  white-space: pre-wrap; word-break: break-word; padding: 14px; border-radius: 16px; background: rgba(0,0,0,0.24); border: 1px solid var(--line); color: #d9e1ff;
}
.prose h1 { max-width: none; }
.prose h2 { margin-top: 28px; }
.prose ul, .prose ol { padding-left: 20px; }
@media (max-width: 860px) {
  .hero-grid, .results-grid, .checks-grid, .info-grid { grid-template-columns: 1fr; }
  .site-shell { width: min(100% - 20px, 1120px); }
  .card, .hero { padding: 20px; }
  h1 { max-width: none; }
}
