:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --fg: #0b0d12;
  --muted: #5b6272;
  --faint: #8a91a1;
  --rule: #e6e8ee;
  --accent: #16a34a;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --ring: rgba(22, 163, 74, 0.35);
  --shadow: 0 1px 2px rgba(15, 20, 30, 0.04), 0 8px 24px rgba(15, 20, 30, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090c;
    --surface: #0f1217;
    --fg: #eef0f4;
    --muted: #9aa2b1;
    --faint: #6b7383;
    --rule: #1c2129;
    --accent: #4ade80;
    --accent-soft: rgba(74, 222, 128, 0.1);
    --ring: rgba(74, 222, 128, 0.35);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font: 0.9em "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 20px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--fg); }

/* Hero */
.hero { padding: 72px 0 56px; display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.15fr 1fr; padding: 104px 0 88px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 550; color: var(--accent);
  background: var(--accent-soft); padding: 5px 12px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 700; }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 10px; font-weight: 550; font-size: 15px; text-decoration: none;
  border: 1px solid var(--rule); background: var(--surface);
}
.btn--primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Radar */
.radar { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; }
.radar svg { width: 100%; height: 100%; display: block; }
.radar .sweep { transform-origin: 200px 200px; animation: spin 6s linear infinite; }
.radar .blip { animation: blip 6s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0.15; } 8% { opacity: 1; } 40% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .radar .sweep, .radar .blip { animation: none; } }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--rule); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 14px; }
.section-lede { color: var(--muted); max-width: 40em; margin: 0 0 36px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 20px; height: 20px; }

/* Google Ads usage table */
.spec { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.spec-row { display: grid; gap: 4px; padding: 16px 20px; border-top: 1px solid var(--rule); }
.spec-row:first-child { border-top: 0; }
@media (min-width: 720px) { .spec-row { grid-template-columns: 220px 1fr; gap: 24px; } }
.spec-row dt { font-weight: 600; font-size: 15px; }
.spec-row dd { margin: 0; color: var(--muted); font-size: 15px; }

.callout {
  display: grid; gap: 18px; align-items: start;
  border: 1px solid var(--ring); background: var(--accent-soft);
  border-radius: 16px; padding: 24px;
}
@media (min-width: 720px) { .callout { grid-template-columns: auto 1fr; padding: 28px 32px; } }
.callout h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.callout p { margin: 0; color: var(--muted); }
.callout ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }

/* Legal pages */
.doc { max-width: 720px; padding: 64px 0 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 0; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--fg); font-weight: 600; }
.doc a { color: var(--accent); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
