:root {
  --bg: #08101f;
  --panel: rgba(12, 24, 45, 0.78);
  --panel-border: rgba(107, 155, 255, 0.18);
  --text: #eaf1ff;
  --muted: #a7b6d9;
  --blue: #4ba3ff;
  --blue-strong: #2e7ef6;
  --teal: #4de0d3;
  --orange: #f5a341;
  --green: #35d28b;
  --yellow: #ffd166;
  --red: #ff7b7b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(44, 129, 246, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(77, 224, 211, 0.12), transparent 32%),
    linear-gradient(180deg, #07101d 0%, #0b1630 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 24, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 800; letter-spacing: .01em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--text); }
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
  padding: 4.5rem 0 3rem;
}
.eyebrow, .section-label {
  text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-size: .76rem; font-weight: 700;
}
.hero h1, .section h2 { margin: .3rem 0 1rem; line-height: 1.04; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); max-width: 10ch; }
.tagline { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.hero-actions, .actions-row { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.25rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1rem; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; transition: .18s ease; font-family: inherit; font-size: .98rem;
}
.button.primary { background: linear-gradient(135deg, var(--blue-strong), var(--teal)); color: #08101f; }
.button.primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.button.secondary { background: rgba(255,255,255,0.04); color: var(--text); border-color: rgba(255,255,255,0.08); }
.button.secondary:hover { background: rgba(255,255,255,0.07); }
.hero-points {
  list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem;
}
.hero-points li { color: var(--muted); padding-left: 1.4rem; position: relative; }
.hero-points li::before { content: "•"; position: absolute; left: 0; color: var(--teal); }
.card-glow, .panel, .feature-card, .notice {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 24px; box-shadow: var(--shadow);
}
.hero-art { padding: 1.2rem; }
.hero-art img { border-radius: 18px; width: 100%; }
.section { padding: 2.2rem 0; }
.two-up { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.5rem; align-items: start; }
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { padding: 1.2rem; }
.feature-card h3 { margin: 0 0 .45rem; }
.feature-card p, .muted { color: var(--muted); }
.tester-shell { padding-top: 2.8rem; }
.section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.section-heading.compact { margin-bottom: 1.1rem; }
.notice { padding: 1rem 1.1rem; color: var(--muted); margin-bottom: 1rem; }
.tester-grid { display: grid; grid-template-columns: 420px 1fr; gap: 1rem; align-items: start; }
.panel { padding: 1.2rem; }
.panel h3 { margin-top: 0; }
.field-group { display: grid; gap: .38rem; margin-bottom: .85rem; }
label { font-weight: 600; font-size: .92rem; }
input {
  width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(3, 8, 17, 0.72); color: var(--text); padding: .72rem .9rem; font: inherit;
}
input::placeholder { color: #7d8db3; }
.summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; margin-bottom: .9rem; }
.summary-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px; padding: .9rem 1rem; display: grid; gap: .2rem;
}
.summary-card strong { font-size: 1.8rem; }
.summary-card span { color: var(--muted); font-size: .92rem; }
.results-table {
  min-height: 190px; overflow: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(3, 8, 17, 0.5);
}
.results-table table { width: 100%; border-collapse: collapse; min-width: 760px; }
.results-table th, .results-table td { padding: .86rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
.results-table th { color: #cfe0ff; font-size: .88rem; }
.results-table td { color: var(--muted); font-size: .95rem; }
.results-table code { color: #cde8ff; white-space: nowrap; }
.results-table .col-check { width: 18%; }
.results-table .col-url { width: 26%; }
.results-table .col-result { width: 16%; }
.results-table .col-time { width: 10%; }
.results-table .col-interpretation { width: 30%; }
.interpretation-cell { min-width: 220px; }
.interpretation-cell .muted { display: inline-block; margin-top: .25rem; }
.empty-state { display: grid; place-items: center; color: var(--muted); padding: 1rem; text-align: center; }
.log-wrap { margin-top: .9rem; }
.log-title { font-weight: 700; margin-bottom: .45rem; }
pre {
  margin: 0; padding: .9rem 1rem; min-height: 160px; max-height: 260px; overflow: auto;
  border-radius: 18px; background: rgba(3, 8, 17, 0.64); border: 1px solid rgba(255,255,255,0.08);
  color: #d3e0ff; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem;
}
.status-badge {
  min-width: 92px; text-align: center; border-radius: 999px; padding: .55rem .85rem; font-weight: 700; border: 1px solid transparent;
}
.status-badge.idle { color: #d8e4ff; background: rgba(255,255,255,0.06); }
.status-badge.running { color: #0a1020; background: var(--yellow); }
.status-badge.complete { color: #07101d; background: var(--green); }
.result-chip {
  display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; padding: .38rem .66rem; font-size: .82rem;
}
.result-chip.blocked { background: rgba(53, 210, 139, 0.16); color: #7ff0ba; }
.result-chip.allowed { background: rgba(255, 123, 123, 0.15); color: #ffaaaa; }
.result-chip.warning { background: rgba(255, 209, 102, 0.16); color: #ffe1a1; }
.result-chip.unknown { background: rgba(75, 163, 255, 0.16); color: #b7d8ff; }
.waitlist-panel { display: grid; gap: 1rem; }
.waitlist-form { display: flex; gap: .75rem; flex-wrap: wrap; }
.waitlist-form input { flex: 1 1 260px; }
.form-message { min-height: 1.2rem; color: var(--muted); margin: 0; }
.site-footer { padding: 1.2rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1rem; }
.mitigation-page { padding-top: 3rem; padding-bottom: 3rem; }
.mitigation-hero { max-width: 860px; margin-bottom: 1.25rem; }
.mitigation-hero h1 { margin: .35rem 0 .85rem; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.mitigation-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-bottom: 1rem; }
.mitigation-card h2 { margin-top: 0; }
.mitigation-meta {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.mitigation-category {
  color: var(--muted);
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
}
.mitigation-primary { font-size: 1.02rem; line-height: 1.7; color: #dbe7ff; }
.mitigation-list { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .7rem; }
.mitigation-facts { display: grid; gap: .9rem; margin: 0 0 1.2rem; }
.mitigation-facts div {
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.mitigation-facts dt {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}
.mitigation-facts dd { margin: 0; color: var(--text); }
@media (max-width: 960px) {
  .hero, .two-up, .tester-grid, .mitigation-layout { grid-template-columns: 1fr; }
  .feature-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  nav { display: none; }
  .feature-grid, .summary-cards { grid-template-columns: 1fr; }
  .hero { padding-top: 2.6rem; }
  .section-heading { align-items: start; flex-direction: column; }
}
