:root {
  --bg: #000;
  --hero: #0a1220;
  --surface: #111;
  --surface-2: #1a1a1a;
  --fg: #f4f4f5;
  --muted: #a8a8b3;
  --faint: #73737d;
  --accent: #f06000;
  --accent-muted: #ff9d4d;
  --accent-soft: rgb(240 96 0 / 0.16);
  --blue: #1a56c4;
  --blue-bright: #3d7be8;
  --blue-soft: rgb(26 86 196 / 0.2);
  --cyan: #22d3ee;
  --border: #ffffff18;
  --good: #22c55e;
  --bad: #fb7185;
  --search: #fff;
  --search-fg: #111827;
  --search-border: #d7dee8;
  --ad-dash: rgb(139 155 180 / 0.35);
  --radius: 1.25rem;
  --font: "Segoe UI", system-ui, -apple-system, "Noto Sans SC", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  background:
    radial-gradient(ellipse at 18% 0%, rgb(26 86 196 / 0.32) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 0%, rgb(240 96 0 / 0.22) 0%, transparent 48%),
    var(--bg);
  color: var(--fg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-muted); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

header.top {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgb(0 0 0 / 0.9);
  backdrop-filter: blur(12px);
}
.top-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--fg); font-weight: 700; font-size: 1.125rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.brand .audix { color: var(--accent); }
.flags { display: flex; gap: 0.35rem; }
.flags button {
  width: 36px; height: 26px; padding: 0; border: 2px solid transparent; border-radius: 10px;
  overflow: hidden; background: #0b0b0b; line-height: 0;
}
.flags button.active { box-shadow: 0 0 0 2px rgb(240 96 0 / 0.35); border-color: var(--accent); }
.flags svg { width: 100%; height: 100%; display: block; }

main { padding: 1.75rem 0 3rem; }
.layout { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 1.5rem; }
}

.ad {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border: 1px dashed var(--ad-dash); border-radius: 1rem;
  background: var(--surface); color: var(--muted); font-size: 0.75rem; line-height: 1.4;
  padding: 0.9rem; min-height: 6rem;
}
.ad strong { color: var(--fg); font-size: 0.875rem; margin-bottom: 0.25rem; }
.ad.side { min-height: 16rem; }
.ads-side { display: flex; flex-direction: column; gap: 1rem; }

.hero {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: 0 12px 40px rgb(0 0 0 / 0.55);
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 70%;
  background:
    radial-gradient(ellipse at 30% 0%, rgb(26 86 196 / 0.38), transparent 62%),
    radial-gradient(ellipse at 80% 30%, rgb(240 96 0 / 0.24), transparent 55%);
  pointer-events: none;
}
.hero > * { position: relative; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-muted); }
.hero h1 { margin-top: 0.5rem; font-size: clamp(1.7rem, 4vw, 2.25rem); line-height: 1.15; }
.lead { margin: 0.85rem auto 0; max-width: 32rem; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

form.probe { margin-top: 1.5rem; }
.row { display: flex; flex-direction: column; gap: 0.65rem; }
@media (min-width: 640px) { .row { flex-direction: row; align-items: center; } }
input[type="url"] {
  flex: 1; height: 48px; border-radius: 12px; border: 1px solid var(--search-border);
  background: var(--search); color: var(--search-fg); padding: 0 1rem; font-size: 1rem;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}
input[type="url"]:focus { outline: none; box-shadow: 0 0 0 3px rgb(240 96 0 / 0.28), 0 2px 10px rgb(0 0 0 / 0.12); }
.btn {
  height: 48px; border: 0; border-radius: 12px; padding: 0 1.25rem;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn:disabled { opacity: 0.55; }
.btn.ghost { background: transparent; color: var(--muted); height: 40px; }
.chips { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.chip {
  height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--fg); padding: 0 0.9rem; font-size: 0.875rem;
}
.chip:hover { border-color: var(--accent); }
.alert { margin-top: 1rem; color: var(--bad); font-size: 0.875rem; }

.card { border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 1.15rem 1.25rem; }
.card h2 { font-size: 1rem; }
.muted { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin: 0.5rem 0 0; }

.cards3 { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 0.75rem; }
.icon.blue { color: var(--blue-bright); background: var(--blue-soft); }
.icon.orange { color: var(--accent); background: var(--accent-soft); }
.icon.cyan { color: var(--cyan); background: var(--blue-soft); }

.scan-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.scan-steps li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--faint); }
.scan-steps li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.scan-steps li.on { color: var(--fg); }
.scan-steps li.on .dot { background: var(--accent); }
.scan-steps li.done { color: var(--muted); }
.scan-steps li.done .dot { background: var(--good); }
.kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-muted); }

.meter-wrap { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.meter svg { width: 224px; max-width: 100%; height: auto; }
.score-num { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.score-num.good { color: var(--good); }
.score-num.ok { color: var(--accent-muted); }
.score-num.bad { color: var(--bad); }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; flex: 1; min-width: 180px; }
.cat { font-size: 0.8rem; color: var(--muted); }
.cat b { display: block; color: var(--fg); font-size: 1.05rem; }

.bars { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.85rem; }
.bar-row { display: grid; grid-template-columns: 7.5rem 1fr 2.2rem; gap: 0.5rem; align-items: center; font-size: 0.75rem; }
.bar-row span.host { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.bar-row.yours span.host { color: var(--accent-muted); font-weight: 650; }
.track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.fill { height: 100%; border-radius: 99px; background: var(--blue); }
.bar-row.yours .fill { background: var(--accent); }
.bar-row .n { text-align: right; color: var(--fg); }

.facts { display: grid; gap: 0.45rem; margin-top: 0.75rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; border-bottom: 1px solid var(--border); padding-bottom: 0.35rem; }
.facts dt { color: var(--muted); }
.pill { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 6px; font-size: 0.75rem; }
.pill.good { background: rgb(34 197 94 / 0.15); color: var(--good); }
.pill.bad { background: rgb(251 113 133 / 0.15); color: var(--bad); }
.opp { border-top: 1px solid var(--border); padding: 0.7rem 0; }
.opp:first-child { border-top: 0; }
.opp h3 { font-size: 0.9rem; }
.tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-muted); }

.faq dt { font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }

footer.site {
  border-top: 1px solid var(--border); padding: 1.5rem 0;
}
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.75rem; color: var(--faint); }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }

.col { display: flex; flex-direction: column; gap: 1.15rem; min-width: 0; }
.hidden { display: none !important; }
