:root {
  /* Local Lead Pro brand (leadlocalpro.com) */
  --brand: #219ebc;
  --brand-dark: #1a7f98;
  --ink: #023047;
  --bg: #f2f8fa;
  --card: #ffffff;
  --muted: #4f6573;
  --display: "Abril Fatface", Georgia, "Times New Roman", serif;
  --line: #e3e8f0;
  --good: #15803d;
  --ok: #b45309;
  --bad: #b91c1c;
  --good-bg: #e8f6ee;
  --ok-bg: #fdf3e2;
  --bad-bg: #fdecec;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; width: 100%; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--ink); }

/* Brand chrome */
.topbar { background: var(--brand); color: #fff; }
.topbar-in { max-width: 960px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { font-family: var(--display); font-size: 1.45rem; color: #fff; text-decoration: none; letter-spacing: .01em; }
.topbar-tag { color: #fff; font-size: .85rem; font-weight: 600; opacity: .92; text-decoration: none; white-space: nowrap; }
a.topbar-tag { background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; opacity: 1; }
.sitefoot { background: var(--ink); color: #cfe3ea; text-align: center; font-size: .85rem; padding: 22px 16px; }
.sitefoot a { color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 420px) { .topbar-tag:not(a) { display: none; } }
.wrap { max-width: 960px; margin: 0 auto; padding: 32px 16px 64px; }
.wrap.narrow { max-width: 680px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 0 0 .3em; }
h3 { font-size: 1.05rem; margin: 0; }
a { color: var(--brand); }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--brand); margin: 0 0 .6em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero { margin-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }

/* Form */
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]) {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400;
  border: 1px solid #cbd3df; border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0 18px; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .82rem !important; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: var(--bad-bg); color: var(--bad); padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center;
}
.form .btn { width: 100%; font-size: 1.05rem; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost:hover { background: var(--bg); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); padding: 8px 14px; font-size: .88rem; }

/* Progress */
.progress { text-align: center; padding: 40px 24px; }
.spinner { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; margin: 16px auto 0; max-width: 360px; text-align: left; }
.steps li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active::before { background: var(--brand); }
.steps li.done::before { background: var(--good); }

/* Report */
.demo { background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.report-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 680px) { .report-head { grid-template-columns: 1fr; } .score { order: -1; } }
.summary { font-size: 1.05rem; }
.score { text-align: center; }
.ring { width: 168px; height: 168px; }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .8s ease; }
.ring.good .bar { stroke: var(--good); } .ring.ok .bar { stroke: var(--ok); } .ring.bad .bar { stroke: var(--bad); }
.ring .num { font-size: 38px; font-weight: 800; text-anchor: middle; fill: var(--ink); }
.ring .of { font-size: 11px; text-anchor: middle; fill: var(--muted); }
.grade { font-weight: 700; margin: 4px 0 0; }
.grade.good { color: var(--good); } .grade.ok { color: var(--ok); } .grade.bad { color: var(--bad); }

.recs { list-style: none; padding: 0; margin: 12px 0 0; }
.rec { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.rec h4 { margin: 0 0 4px; font-size: 1rem; }
.rec p { margin: 0; color: var(--muted); font-size: .95rem; }
.badge { align-self: start; text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 4px 0; }
.badge.high { background: var(--bad-bg); color: var(--bad); }
.badge.medium { background: var(--ok-bg); color: var(--ok); }
.badge.low { background: #eef2f7; color: var(--muted); }
@media (max-width: 480px) { .rec { grid-template-columns: 1fr; gap: 6px; } .badge { justify-self: start; padding: 4px 10px; } }

.sec-title { margin: 32px 0 12px; }
.sections { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 760px) { .sections { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 3px 10px; }
.pill.good { background: var(--good-bg); color: var(--good); } .pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.na { background: #eef2f7; color: var(--muted); }
.meter { height: 6px; background: var(--line); border-radius: 999px; margin: 12px 0 4px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; }
.meter .good { background: var(--good); } .meter .ok { background: var(--ok); } .meter .bad { background: var(--bad); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; }
.checks li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks strong { display: block; font-size: .93rem; }
.checks small { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.pass .ic { background: var(--good-bg); color: var(--good); } .warn .ic { background: var(--ok-bg); color: var(--ok); }
.fail .ic { background: var(--bad-bg); color: var(--bad); } .na .ic { background: #eef2f7; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 9px 8px; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border-top: 0; }
tr.you td { background: color-mix(in srgb, var(--brand) 9%, white); font-weight: 700; }
.cta { text-align: center; background: color-mix(in srgb, var(--brand) 7%, white); border-color: color-mix(in srgb, var(--brand) 25%, white); }
.foot { font-size: .8rem; text-align: center; margin-top: 24px; }

@media print {
  body { background: #fff; }
  .btn, .demo, a.topbar-tag { display: none !important; }
  .topbar, .sitefoot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card { box-shadow: none; break-inside: avoid; }
}
