:root {
  --bg: #f4f2ff;
  --ink: #1e1b4b;
  --muted: #4c4870;
  --card: #ffffff;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --bright: #22d3ee;
  --accent-ink: #f5f3ff;
  --warn: #d97706;
  --bad: #dc2626;
  --ok: #059669;
  --line: #e4e0f5;
  --hero-a: #1e1b4b;
  --hero-b: #4c1d95;
  --hero-c: #6d28d9;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, #ddd6fe 0%, transparent 55%),
    radial-gradient(700px 360px at 100% 0%, #cffafe 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(30, 27, 75, .92); color: #fff;
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
}
.logo { display:flex; align-items:center; gap:.55rem; font-weight: 800; text-decoration: none; color: #fff; letter-spacing: -0.03em; font-size: 1.05rem; }
.logo .mark { width: 28px; height: 28px; color: #a5b4fc; }
nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; justify-content: flex-end; }
nav a { text-decoration: none; color: #ddd6fe; font-size: .92rem; font-weight: 500; }
nav a:hover { color: #fff; }
main { max-width: 920px; margin: 0 auto; padding: 0 1.15rem 5.5rem; animation: rise .45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero {
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw; width: 100vw;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,211,238,.28), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(244,114,182,.22), transparent 36%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c));
  color: #f5f3ff;
  padding: 3.1rem 1.25rem 2.6rem;
  margin-bottom: 1.4rem;
}
.hero > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.hero h1, .summary h1, .report h1, .prose h1 {
  font-size: clamp(2rem, 5.4vw, 3.15rem);
  letter-spacing: -0.04em; line-height: 1.08; margin: 0 0 .8rem; font-weight: 800;
}
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: #a5f3fc; font-weight: 700; margin: 0 0 .7rem; }
.lede { font-size: 1.14rem; color: #ddd6fe; max-width: 40rem; }
.hero .lede { color: #e9e5ff; }
.hero-links, .hero .price-note { color: #ddd6fe; }
.hero a { color: #a5f3fc; }
.search {
  margin: 1.45rem 0 0.85rem; background: #fff; color: var(--ink);
  border: 0; border-radius: 20px; padding: 1rem 1rem 1.05rem;
  box-shadow: 0 22px 50px rgba(15, 10, 50, .28);
}
.search label { display:block; font-size:.85rem; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
.row { display:flex; gap:.55rem; align-items: stretch; }
.suggest-wrap { position: relative; flex: 1; min-width: 0; }
.search-ico {
  position:absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 1.15rem; height: 1.15rem; color: #7c3aed; pointer-events: none;
}
.search-ico svg { width: 100%; height: 100%; display:block; }
input[type=text], input[type=email], input[type=search] {
  width: 100%; padding:.95rem 1rem; border-radius:14px; border:1px solid var(--line);
  font-size:1.05rem; background:#fff; min-height: 52px; font-family: inherit; color: var(--ink);
}
.suggest-wrap input { padding-left: 2.5rem; }
input:focus { outline: 3px solid #c4b5fd; border-color: #7c3aed; }
button, .btn, .secondary {
  display: inline-block; text-align: center; text-decoration: none;
  border:0; border-radius:14px; padding:.95rem 1.15rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
  font-weight: 700; cursor: pointer; font-size: 1rem; min-height: 52px; font-family: inherit;
  box-shadow: 0 10px 24px rgba(79,70,229,.28); transition: transform .15s ease, box-shadow .15s ease;
}
button:hover, .btn:hover { transform: translateY(-1px); }
button.secondary, .secondary { background: #1e1b4b; box-shadow: none; }
.price-note, .note, .todo, .sources, .disclaimer { color: var(--muted); font-size: .92rem; }
.todo { color: var(--warn); }
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem; margin: 0 0 1.6rem;
}
.trust-strip div {
  display:flex; gap:.55rem; align-items:flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .85rem .95rem;
  color: var(--ink); font-weight: 600; font-size: .94rem;
}
.trust-strip svg { width: 22px; height: 22px; color: var(--ok); flex: 0 0 auto; }
.steps, .cards { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); margin: 0 0 1.5rem; }
.steps article, .cards article, .examples, .panel, .prose {
  background: var(--card); border:1px solid var(--line); border-radius:18px; padding:1.15rem 1.2rem;
  box-shadow: 0 10px 30px rgba(49,46,129,.05);
}
.cards article svg, .steps article svg { width: 28px; height: 28px; color: var(--accent-2); }
.steps span {
  display:inline-grid; place-items:center; width:1.85rem; height:1.85rem; border-radius:999px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font-weight: 800; font-size: .85rem;
}
.stats { display:grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap:.75rem; margin:1.15rem 0 1.35rem; }
.stat-card {
  background: var(--card); border:1px solid var(--line); border-radius:16px; padding:1rem;
  display:flex; flex-direction:column; gap:.15rem;
}
.stat-card svg { width: 22px; height: 22px; color: var(--accent); }
.stat-card.heat svg { color: #ea580c; }
.stat-card.rodent svg { color: #0f766e; }
.stat-card.clip svg { color: #4f46e5; }
.stat-card strong, .stats strong { display:block; font-size:1.75rem; letter-spacing:-0.03em; }
.stat-card span, .stats span { color: var(--muted); font-size:.85rem; }
.result-hero {
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  color: #f5f3ff; border-radius: 22px; padding: 1.3rem 1.25rem 1.4rem; margin-top: 1.25rem;
}
.result-hero .breadcrumb, .result-hero .breadcrumb a { color: #c4b5fd; }
.result-top { display:flex; gap: 1.1rem; align-items:center; flex-wrap: wrap; }
.result-hero h1 { color: #fff; margin-bottom: .35rem; }
.score-copy { margin: 0; color: #ddd6fe; }
.gauge {
  position: relative; width: 132px; height: 132px; flex: 0 0 auto;
}
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 10; }
.gauge-fg { fill: none; stroke: #22d3ee; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.band-strong .gauge-fg { stroke: #34d399; }
.band-mixed .gauge-fg { stroke: #fbbf24; }
.band-concerning .gauge-fg, .band-severe .gauge-fg { stroke: #fb7185; }
.gauge-num {
  position:absolute; inset:0; display:grid; place-items:center; text-align:center; transform: none;
}
.gauge-num strong { display:block; font-size: 1.85rem; line-height: 1; font-weight: 800; }
.gauge-num span { font-size: .75rem; color: #c4b5fd; }
.violations { list-style:none; padding:0; margin:0; display:grid; gap:.65rem; }
.v-card, .violations li {
  display:flex; gap:.75rem; align-items:flex-start;
  padding:.85rem .9rem; border:1px solid var(--line); border-radius:14px; background:#fafafe;
}
.v-card p { margin: 0 0 .2rem; }
.v-card time { color: var(--muted); font-size: .85rem; }
.tag { display:inline-block; font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; background:#e0e7ff; color:#3730a3; border-radius:999px; padding:.2rem .5rem; font-weight: 700; }
.tag.heat { background:#ffedd5; color:#9a3412; }
.cta { margin:1.5rem 0; padding:1.35rem; border-radius:20px; background: linear-gradient(160deg, #312e81, #5b21b6); color:#f5f3ff; }
.cta a, .cta h2, .cta h3 { color:#f5f3ff; }
.cta input { width:100%; margin:.45rem 0 .7rem; }
.cta .todo { color:#fde68a; }
.cta .note { color:#ddd6fe; }
.panel h2 { margin-top: 0; }
table { width:100%; border-collapse: collapse; font-size:.9rem; background: var(--card); }
th, td { border:1px solid var(--line); padding:.45rem .5rem; text-align:left; vertical-align:top; }
.site-foot {
  border-top: 1px solid var(--line);
  background: #1e1b4b; color: #c4b5fd;
  padding: 2rem 1.25rem 2.4rem;
}
.foot-grid { max-width: 920px; margin: 0 auto 1.2rem; display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.2rem; }
.foot-brand { display:flex; gap:.7rem; }
.foot-brand .mark { width: 32px; height: 32px; color: #a5b4fc; flex: 0 0 auto; }
.foot-brand strong { color: #fff; display:block; }
.foot-brand p, .foot-note { margin: .35rem 0 0; color: #c4b5fd; font-size: .9rem; }
.site-foot h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #a5f3fc; margin: 0 0 .5rem; }
.site-foot a { display:block; color: #ddd6fe; text-decoration: none; margin: .28rem 0; }
.site-foot a:hover { color: #fff; }
.foot-note { max-width: 920px; margin: 0 auto; }
.breadcrumb { color: var(--muted); font-size:.9rem; }
.prose h2 { font-size: 1.15rem; margin-top: 1.4rem; }
code { background:#ede9fe; padding:.1rem .35rem; border-radius:4px; }
.examples ul, .rank, .columns { padding-left: 1.15rem; }
.columns { columns: 2; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 12;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  list-style: none; margin: 0; padding: .35rem; box-shadow: 0 16px 36px rgba(30,27,75,.16);
}
.suggest li button {
  width: 100%; background: transparent; color: var(--ink); text-align: left;
  font-weight: 500; min-height: 44px; border-radius: 10px; box-shadow: none;
}
.suggest li button:hover, .suggest li button[aria-selected="true"] { background: #eef2ff; }
.suggest .skel {
  height: 42px; border-radius: 10px; margin: .25rem; background: linear-gradient(90deg, #eee 25%, #f7f7fb 37%, #eee 63%);
  background-size: 400% 100%; animation: shimmer 1.1s ease infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.mobile-cta {
  display:none; position: sticky; bottom: 0; z-index: 25;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(30,27,75,.94); backdrop-filter: blur(10px);
}
.mobile-cta a { display:block; width:100%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .row { flex-direction: column; }
  .search-ico { top: 1.55rem; transform: none; }
  .columns { columns: 1; }
  nav a { font-size: .82rem; }
  .mobile-cta { display:block; }
  main { padding-bottom: 1.5rem; }
}

.report-paid .panel { margin-top: 1.1rem; }
.muted-list { opacity: .92; }
.timeline { padding-left: 1.1rem; }
.timeline li { margin: .45rem 0; }
.btn.secondary, a.btn.secondary, button.secondary {
  background: transparent; color: #e9e5ff; border: 1px solid rgba(255,255,255,.35);
}
.summary .btn.secondary { color: var(--accent); border-color: var(--line); }
code { font-size: .92em; word-break: break-all; }
