/* Knock Knock by Synnerg. No build step. Light/dark via prefers-color-scheme + [data-theme] override. */
:root {
  --navy: #1F3A5F;
  --teal: #2A9D8F;
  --bg: #f5f7fa;
  --bg-alt: #eaf0f5;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --text: #16243a;
  --muted: #5a6779;
  --border: #d9e1ea;
  --brand: #1F3A5F;
  --brand-strong: #152a46;
  --accent: #1f7f74;          /* teal darkened for AA text contrast on white */
  --accent-soft: #dcf1ee;
  --on-brand: #ffffff;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --ok: #146c43;
  --ok-soft: #e3f5ec;
  --warn: #7a5600;
  --warn-soft: #fff4d6;
  --shadow: 0 1px 2px rgba(16, 30, 54, .06), 0 6px 18px rgba(16, 30, 54, .06);
  --radius: 14px;
  --radius-sm: 9px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1522; --bg-alt: #111c2c; --surface: #152236; --surface-2: #1b2b42; --text: #e6edf6; --muted: #9db0c6;
    --border: #2a3d57; --brand: #8fb6e6; --brand-strong: #b6d1f2; --accent: #4cc3b4; --accent-soft: #123b39; --on-brand: #0b1626;
    --danger: #f87171; --danger-soft: #3a1a1a; --ok: #6ee7a8; --ok-soft: #12301f; --warn: #f5d27a; --warn-soft: #332a10;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1522; --bg-alt: #111c2c; --surface: #152236; --surface-2: #1b2b42; --text: #e6edf6; --muted: #9db0c6;
  --border: #2a3d57; --brand: #8fb6e6; --brand-strong: #b6d1f2; --accent: #4cc3b4; --accent-soft: #123b39; --on-brand: #0b1626;
  --danger: #f87171; --danger-soft: #3a1a1a; --ok: #6ee7a8; --ok-soft: #12301f; --warn: #f5d27a; --warn-soft: #332a10;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; font-size: 16px; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.45rem, 3vw, 2rem); }
h2 { font-size: 1.4rem; }
h3, .h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
code { font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .85rem 1rem; margin: .5rem 0; font-size: .95rem; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.narrow-sm { max-width: 440px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.fine { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.mt { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 8px; }
.inline { display: inline; margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* Header */
.demo-banner { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .875rem; padding: .45rem 1rem; border-bottom: 1px solid var(--border); }
.site-header { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 1.12rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; min-width: 0; }
.brand:hover { color: var(--text); }
.brand-by { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.header-nav { display: flex; align-items: center; gap: 12px; flex: none; }
.header-nav > a:not(.btn):not(.plan-pill) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.plan-pill { font-size: .78rem; font-weight: 650; padding: .25rem .6rem; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); white-space: nowrap; text-decoration: none; }
.plan-pill.pro { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; flex: none; padding: 0; }
.theme-toggle span { width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(90deg, var(--text) 50%, transparent 50%); border: 2px solid var(--text); }
.app-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs a { padding: .6rem .85rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.app-tabs a:hover { color: var(--text); }
.app-tabs a.active { color: var(--text); border-bottom-color: var(--teal); }

/* Buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .6rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #17304f; color: #fff; }
:root[data-theme="dark"] .btn-primary { background: var(--teal); color: #06201d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { background: var(--teal); color: #06201d; } }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-ghost.active { border-color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.btn-ghost.danger { color: var(--danger); }
.btn-sm { padding: .35rem .7rem; font-size: .85rem; }
.btn-lg { padding: .8rem 1.35rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; }
label { display: block; font-weight: 600; font-size: .9rem; }
input, select, textarea { display: block; width: 100%; margin-top: .3rem; padding: .55rem .7rem; font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 0; }
input[type=checkbox] { display: inline-block; width: 18px; height: 18px; margin: 0; vertical-align: middle; accent-color: var(--teal); }
select.multi { padding: .3rem; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.stack > * + * { margin-top: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem 1rem; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.input-group { display: flex; gap: 6px; }
.input-group input { flex: 1; }
.input-group select { width: auto; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; }
.check { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; }
.inline-form label { flex: 1 1 220px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.save-inline { display: flex; align-items: center; gap: .5rem; font-weight: 500; flex-wrap: wrap; }
.save-inline input[name=save_name] { width: 220px; margin: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Layout pieces */
.section { padding: 56px 0; }
.section-sm { padding: 26px 0 48px; }
.section.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.25rem; box-shadow: var(--shadow); min-width: 0; }
.card + .card { margin-top: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-3 > .card + .card { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.two-col > .card + .card { margin-top: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page-head h1 { margin-bottom: .2rem; }
.crumbs { margin: 0 0 .6rem; }
.empty { text-align: center; padding: 2rem 1rem; }
.alert { padding: .75rem 1rem; border-radius: var(--radius-sm); margin: 0 0 1rem; border: 1px solid transparent; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert-error { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert.inline-form { align-items: center; }
.alert.inline-form span { flex: 1 1 260px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--border); }
.link-list li:last-child { border-bottom: 0; }
.link-list li > a:first-child, .link-list li > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

/* Hero / landing */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 400px at 80% -10%, color-mix(in srgb, var(--teal) 16%, transparent), transparent), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.hl { color: var(--accent); }
.lede { font-size: 1.12rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.hero-card { padding: 1.1rem; }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.mini-row { display: flex; gap: .8rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--border); }
.mini-foot { margin: .4rem 0 0; }
.feature { padding: .4rem .2rem; }
.f-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: .6rem; }
.preset-card h3 { color: var(--text); }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 1.2rem; justify-content: center; }
.pricing > .card + .card { margin-top: 0; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border: 2px solid var(--teal); }
.price { font-size: 2.2rem; font-weight: 800; margin: .2rem 0 .6rem; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.price-card .badge { position: absolute; top: -11px; right: 16px; background: var(--teal); color: #fff; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: .6rem 0 0; color: var(--muted); }
.auth-card { padding: 1.6rem; }

/* Chips, scores, pills */
.chip { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip-bad { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.score { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--muted); }
.score-hi { background: var(--teal); }
.score-mid { background: #c48a12; }
.score-lo { background: #7b8797; }
.score-na { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.stars { color: #e3a008; white-space: nowrap; }
.stars .stars-off { color: color-mix(in srgb, var(--muted) 45%, transparent); }
.stars b { color: var(--text); font-size: .9rem; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; white-space: nowrap; text-decoration: none; background: var(--surface-2); color: var(--muted); }
.pill-new { background: #e4ecf7; color: #1F3A5F; }
.pill-contacted { background: #e0f2f1; color: #17675e; }
.pill-follow_up { background: #fff1d6; color: #7a5600; }
.pill-meeting { background: #ede7fb; color: #4b2d99; }
.pill-won { background: #dcf5e6; color: #146c43; }
.pill-lost { background: #eceff3; color: #5a6779; }
.pill-do_not_contact { background: #fde3e1; color: #a1271c; }
.tag { display: inline-block; font-size: .75rem; padding: .05rem .45rem; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); margin: 2px 4px 0 0; }

/* Search form */
.search-form .filters { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: .8rem; }
.search-form .filters summary { cursor: pointer; font-weight: 650; margin-bottom: .6rem; }
.estimate { margin-top: 1rem; padding: .8rem 1rem; background: var(--surface-2); border-radius: var(--radius-sm); }
.estimate ul { margin: .4rem 0; padding-left: 1.1rem; }
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.saved-list li > div:first-child { min-width: 0; flex: 1 1 260px; overflow-wrap: anywhere; }

/* Results */
.bulk-bar { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: flex-end; margin-bottom: 1rem; position: sticky; top: 62px; z-index: 5; }
.is-app .bulk-bar { top: 104px; }
.bulk-bar label:not(.check) { flex: 0 1 230px; }
.bulk-bar input[name=new_list], .bulk-bar input[name=tag] { flex: 1 1 180px; width: auto; }
.bulk-bar .check { align-self: center; }
.results { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.results > .card + .card { margin-top: 0; }
.result { display: flex; flex-direction: column; gap: .55rem; }
.result.expired { justify-content: center; min-height: 90px; }
.result-top { display: flex; gap: .75rem; align-items: flex-start; }
.pick { padding-top: .7rem; }
.result-main { min-width: 0; flex: 1; }
.result-name { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.result-name a:not(.pill) { color: var(--text); }
.addr { margin: .15rem 0 0; overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center; }
.why summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--accent); }
.rule-list { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .9rem; }
.rule-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .3rem 0; border-bottom: 1px dashed var(--border); }
.rule-list li:last-child { border-bottom: 0; }
.rule-list li.miss { color: var(--muted); }
.rule-list li.hit b { color: var(--accent); }
.pager { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pager a { padding: .35rem .75rem; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; color: var(--text); background: var(--surface); }
.pager a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager-row { margin: 1.2rem 0; }
.pager-row form { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.attribution { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0; }
.gmaps-attr { font-family: Roboto, Arial, sans-serif; font-weight: 500; color: var(--text); white-space: nowrap; }
.save-card { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.save-card label { flex: 1 1 260px; }

/* Lead detail */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.lead-main > .card + .card { margin-top: 1rem; }
.lead-side > * + * { margin-top: 1rem; }
.lead-head { display: flex; gap: .9rem; align-items: flex-start; }
.lead-head > div { flex: 1; min-width: 0; }
.lead-title { margin: 0 0 .2rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1rem; margin: 1rem 0; }
.facts-grid div { min-width: 0; }
.facts-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.facts-grid dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.hours summary, .script summary { cursor: pointer; font-weight: 650; }
.hours ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .92rem; }
.compliance { background: var(--warn-soft); color: var(--text); border-left: 4px solid #d89b0b; border-radius: var(--radius-sm); padding: .75rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.script { border-top: 1px solid var(--border); padding: .7rem 0; }
.ai-box { border-top: 1px solid var(--border); padding-top: .9rem; margin-top: .4rem; }
.opener { background: var(--accent-soft); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .7rem; }
.opener p { margin: 0 0 .4rem; }

/* Lists / pipeline */
.list-card { text-decoration: none; color: var(--text); display: block; }
.list-card:hover { border-color: var(--teal); color: var(--text); }
.board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .55rem; padding-bottom: .5rem; }
@media (max-width: 1100px) { .board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: .45rem; min-width: 0; }
.col-head { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; margin: .1rem .2rem .6rem; display: flex; justify-content: space-between; }
.col-head .count { background: var(--surface); border-radius: 99px; padding: 0 .5rem; font-size: .78rem; }
.col-do_not_contact .col-head { color: var(--danger); }
.col-won .col-head { color: var(--ok); }
.col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; min-height: 40px; }
.lead-card { display: flex; gap: .45rem; padding: .55rem; box-shadow: none; }
.lead-card + .lead-card { margin-top: 0; }
.lead-card .pick { padding-top: .1rem; }
.lc-body { min-width: 0; flex: 1; }
.lc-name { font-size: .9rem; line-height: 1.3; font-weight: 650; color: var(--text); text-decoration: none; overflow-wrap: anywhere; display: block; }
.lc-name:hover { color: var(--accent); }
.lc-meta { display: flex; gap: .5rem; align-items: center; margin-top: .35rem; flex-wrap: wrap; }
.lc-meta .score { width: 32px; height: 32px; font-size: .85rem; border-radius: 9px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.rules-table input, .rules-table select { margin: 0; min-width: 70px; }
.rules-table td:first-child input { min-width: 150px; }

/* Dashboard */
.stats .stat { display: flex; flex-direction: column; gap: .3rem; }
.stat-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 1.6rem; font-weight: 800; }
.stat-value small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.meter { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden; background: var(--surface-2); color: var(--teal); }
.meter::-webkit-progress-bar { background: var(--surface-2); border-radius: 99px; }
.meter::-webkit-progress-value { background: var(--teal); border-radius: 99px; }
.meter::-moz-progress-bar { background: var(--teal); border-radius: 99px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.2rem 0; margin-top: 2rem; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .lead-grid { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3 { grid-column: span 2; }
  .two-col { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; overflow-x: visible; }
  .col-list:empty::after { content: "–"; color: var(--muted); font-size: .85rem; padding-left: .3rem; }
  .bulk-bar { position: static; }
  .brand-by { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
  .form-grid, .form-grid.two { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .hide-sm { display: none; }
  .header-nav { gap: 8px; }
  .plan-pill { font-size: .72rem; padding: .2rem .45rem; }
  .app-tabs a { padding: .55rem .5rem; font-size: .86rem; }
  .brand { font-size: 1.02rem; gap: 7px; }
  .btn-sm { padding: .3rem .55rem; }
  .card { padding: 1rem; }
  .save-inline input[name=save_name] { width: 100%; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .bulk-bar label:not(.check), .bulk-bar input[name=new_list], .bulk-bar input[name=tag] { flex: 1 1 100%; }
}
