/* Mobile-first, system fonts, no web fonts or images: fast on mid-range phones. */
/* Palette, serif headings, header and footer match the Save.ws publisher shell (publisher.css). */
:root {
  --ink: #16191d;
  --muted: #59626d;
  --line: #e1e4e8;
  --bg: #ffffff;
  --panel: #f6f5f1;
  --accent: #0f5c4a;
  --accent-ink: #ffffff;
  --accent-soft: #e5f0ec;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --radius: 10px;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e7e9ec; --muted: #a2abb5; --line: #2e343b; --bg: #111315; --panel: #191c1f; --accent: #6cc7ab; --accent-ink: #0b1420; --accent-soft: #17302a; --warn: #f2c46b; --warn-bg: #2a2413; }
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: .25rem 0 .5rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem; z-index: 10; }

.staging { background: var(--warn-bg); color: var(--warn); font-size: .85rem; padding: .5rem 1rem; text-align: center; }

/* Header + footer: same markup and rules as the publisher shell. */
.pub-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.pub-head { border-bottom: 1px solid var(--line); }
.pub-head .pub-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.pub-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.2; }
.pub-logo { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); }
.pub-logo span { color: var(--accent); }
.pub-tag { font-size: .82rem; color: var(--muted); }
.pub-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.pub-nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.pub-nav a:hover, .pub-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.pub-soon { color: var(--muted); padding: .35rem 0; display: inline-block; cursor: default; }
.pub-soon small { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: .1rem .5rem; vertical-align: 1px; }
.pub-foot { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--panel); padding: 2.25rem 0 2rem; font-size: .9rem; color: var(--muted); }
.pub-foot .pub-wrap { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.pub-foot-brand p { margin: .2rem 0 0; }
.pub-indep { margin: 0; max-width: 44rem; }
.pub-foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.pub-foot-links a { color: var(--ink); display: inline-block; padding: .25rem 0; }
.pub-legal { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }
@media (min-width: 40rem) {
  .pub-head .pub-wrap { flex-wrap: nowrap; }
  .pub-brand { flex-direction: row; align-items: baseline; gap: .75rem; }
}
@media (min-width: 64rem) {
  .pub-foot .pub-wrap { grid-template-columns: 1fr 2fr; column-gap: 3rem; }
  .pub-foot-links, .pub-legal { grid-column: 1 / -1; }
}

.hero { padding: 1.25rem 0 .5rem; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.sub { font-size: 1.05rem; color: var(--muted); }
.cta, .lead-form button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  border: 0; border-radius: var(--radius); padding: .8rem 1.2rem; font-size: 1rem; min-height: 44px; cursor: pointer;
}

.disclosures { background: var(--panel); border-left: 4px solid var(--accent); border-radius: 6px; padding: .75rem 1rem; margin: 1rem 0; }
.disclosures p { margin: 0 0 .5rem; }
.disclosures p:last-child { margin: 0; }

.snapshot { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .6rem; margin: 0; }
.stat { background: var(--panel); border-radius: var(--radius); padding: .7rem .8rem; }
.stat dt { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.stat dd { margin: .2rem 0 0; }
.stat .v { font-size: 1.3rem; font-weight: 700; }
.stat .n { display: block; font-size: .75rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }
.cite { font-size: .7em; line-height: 0; margin-left: 1px; }
.cite a { text-decoration: none; }

.gl-fig { margin: 2rem 0; }
.gl-stage { position: relative; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.gl-stage canvas { display: block; width: 100%; aspect-ratio: 4 / 3; touch-action: pan-y; }
.gl-fig[data-gl="hail"] .gl-stage canvas { aspect-ratio: 1 / 1; }
.gl-fallback { padding: 1rem; }
.gl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .6rem; font-size: .9rem; }
.gl-controls button { min-height: 44px; padding: 0 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.gl-controls input[type=range] { flex: 1 1 10rem; min-height: 44px; }
.gl-controls output { font-variant-numeric: tabular-nums; color: var(--muted); }
.gl-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gl-label { position: absolute; transform: translate(-50%, -120%); font-size: .7rem; color: var(--muted); pointer-events: none; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.hail-static { display: grid; gap: 1rem; }
@media (min-width: 560px) { .hail-static { grid-template-columns: 1fr 1fr; align-items: start; } }
.hail-svg { width: 100%; height: auto; max-width: 22rem; }
.hail-svg .ring { fill: none; stroke: var(--line); stroke-width: .06; }
.hail-svg .axis { stroke: var(--line); stroke-width: .04; }
.hail-svg .lbl { font-size: .55px; fill: var(--muted); }
.hail-svg .pts circle { fill: var(--accent); fill-opacity: .55; }
.hail-svg .center { fill: var(--ink); }
table.mini { border-collapse: collapse; font-size: .85rem; width: 100%; }
table.mini caption { text-align: left; font-weight: 600; margin-bottom: .3rem; }
table.mini th, table.mini td { text-align: left; padding: .3rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.mini th { font-size: .75rem; color: var(--muted); font-weight: 600; }
table.mini td .n { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.tbl { overflow-x: auto; margin: 0 0 1.25rem; -webkit-overflow-scrolling: touch; }
.tnote { font-size: .75rem; color: var(--muted); margin: .3rem 0 0; }
.more { margin: 1rem 0 0; font-size: .9rem; }

.get-help { background: var(--panel); border-radius: var(--radius); padding: 1rem; margin-top: 2rem; }
.get-help h2 { margin-top: 0; }
.lead-form { display: grid; gap: .7rem; }
.lead-form label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-height: 44px; width: 100%;
}
.consent, .ph-note { font-size: .75rem; color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; margin: 0; }
.offers { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.offer { display: block; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; font-weight: 600; min-height: 44px; }
.offer .ph { display: block; font-size: .72rem; font-weight: 500; color: var(--warn); }

.steps, .checks { padding-left: 1.2rem; }
.steps li, .checks li { margin-bottom: .6rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: .5rem 0 0; }
.sources { font-size: .8rem; color: var(--muted); padding-left: 1.3rem; overflow-wrap: anywhere; }
.sources li { margin-bottom: .5rem; }
.src-note { display: block; }
.method { font-size: .8rem; color: var(--muted); }

.city-list { list-style: none; padding: 0; display: grid; gap: .4rem; }
.city-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.city-list .n { color: var(--muted); font-size: .85rem; }
.city-list.compact { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.city-list.compact li { border: 0; padding: .2rem 0; }

/* B3 triage quiz. Tier colours are also read by the WebGL dial (gl/dial.js). */
:root { --tier-diy: #2e7d4f; --tier-scheduled: #2f6db5; --tier-same-day: #975800; --tier-emergency: #c0392b; --tier-ink: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root { --tier-diy: #5cc08a; --tier-scheduled: #6ea8ec; --tier-same-day: #e0a040; --tier-emergency: #ef6f5e; --tier-ink: #121417; }
}
.quiz { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 1.25rem 0; scroll-margin-top: .5rem; }
.quiz h2 { margin-top: 0; }
.quiz-intro { margin-bottom: .75rem; }
.quiz-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0; }
.quiz-start { background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; border: 0; border-radius: var(--radius); padding: .7rem 1.6rem; min-height: 44px; cursor: pointer; }
.quiz-guide { display: inline-flex; align-items: center; min-height: 44px; }
.quiz-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-q legend { font-weight: 600; font-size: 1.05rem; line-height: 1.35; padding: 0; margin-bottom: .75rem; }
.quiz-q legend:focus, .quiz-result h3:focus { outline: none; }
.quiz-step { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: .15rem; }
.quiz-opts { display: grid; gap: .5rem; }
@media (min-width: 560px) { .quiz-opts { grid-template-columns: 1fr 1fr; } }
.quiz-opt { text-align: left; font: inherit; line-height: 1.35; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem 1rem; min-height: 48px; cursor: pointer; }
.quiz-opt:hover { border-color: var(--accent); }
.quiz-opt:focus-visible, .quiz-start:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-back, .quiz-restart { font: inherit; color: var(--accent); background: none; border: 0; text-decoration: underline; min-height: 44px; padding: 0 .25rem; margin-top: .5rem; cursor: pointer; }
.quiz-tier { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tier-ink); border-radius: 4px; padding: .1rem .5rem; margin: 0 0 .35rem; }
.quiz-tier.tier-diy { background: var(--tier-diy); }
.quiz-tier.tier-scheduled { background: var(--tier-scheduled); }
.quiz-tier.tier-same-day { background: var(--tier-same-day); }
.quiz-tier.tier-emergency { background: var(--tier-emergency); }
.quiz-result h3 { font-size: 1.25rem; line-height: 1.3; margin: .1rem 0 .75rem; }
.quiz-result h4 { font-size: 1rem; margin: 1.1rem 0 .4rem; }
.quiz-now, .quiz-avoid { padding-left: 1.25rem; margin: 0; }
.quiz-now li, .quiz-avoid li { margin-bottom: .45rem; }
.quiz-cta { margin: 1.1rem 0 .5rem; }
.quiz-dial { margin: 1.1rem 0 .5rem; }
.quiz-dial .gl-stage { max-width: 20rem; }
.quiz-dial .gl-stage canvas { aspect-ratio: 2 / 1; }
.quiz-dial figcaption { margin-top: .35rem; }
.tier-scale { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; padding: .45rem; font-size: .72rem; line-height: 1.25; text-align: center; }
.tier-scale li { color: var(--muted); background: var(--bg); border-radius: 4px; padding: .35rem .2rem; border-top: 4px solid; }
.tier-scale li[aria-current] { color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 2px currentColor; }
.tier-scale .tier-diy { border-top-color: var(--tier-diy); }
.tier-scale .tier-scheduled { border-top-color: var(--tier-scheduled); }
.tier-scale .tier-same-day { border-top-color: var(--tier-same-day); }
.tier-scale .tier-emergency { border-top-color: var(--tier-emergency); }
.quiz-notes .note { background: var(--warn-bg); border-radius: 6px; padding: .55rem .75rem; margin: .6rem 0 0; }
.quiz-why { margin-top: 1rem; border-top: 1px solid var(--line); }
.quiz-why summary { font-weight: 600; min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.quiz-why ul { padding-left: 1.2rem; margin: 0 0 .5rem; }
.quiz-why li { margin-bottom: .35rem; }
.quiz-why .q { color: var(--muted); }
.quiz-src { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; margin: .75rem 0 .5rem; }
.quiz-ai { color: var(--muted); margin: .5rem 0; }
.quiz-capture { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.quiz-capture h3 { margin-bottom: .4rem; }
.quiz-capture label[for] { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.optin-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.optin-row input { flex: 1 1 14rem; font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-height: 44px; }
.optin-row button { font: inherit; font-weight: 600; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius); padding: .6rem 1.1rem; min-height: 44px; cursor: pointer; }
.optin-row button:disabled, .optin-row input:disabled { opacity: .55; cursor: default; }
.quiz-capture .check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin: .8rem 0; min-height: 44px; cursor: pointer; }
.quiz-capture .check input { width: 22px; height: 22px; flex: none; margin: .1rem 0 0; }
.quiz-capture .fine { font-size: .8rem; color: var(--muted); }
.quiz-capture-status { font-weight: 600; }
.quiz-capture-status:empty { display: none; }
.quiz-capture .is-done .optin-row, .quiz-capture .is-done .check, .quiz-capture .is-done label[for], .quiz-capture .is-done > p:not(.quiz-capture-status) { display: none; }
.guide-outcome { border-bottom: 1px solid var(--line); padding: .6rem 0; }
.guide-outcome summary { cursor: pointer; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; font-weight: 600; }
.guide-outcome summary .quiz-tier { margin: 0; }
.guide-outcome h3 { margin-top: .75rem; }
.guide-outcome h4 { margin: .8rem 0 .3rem; }
.guide-outcome ol, .guide-outcome ul, .guide-notes { padding-left: 1.2rem; }

/* B7 contractor directory. The Sponsored label is body-size text, never a faint badge. */
.fixture-banner { background: var(--warn-bg); color: var(--warn); border: 1px dashed var(--warn); border-radius: 6px; padding: .5rem .75rem; margin: 1rem 0 0; }
.sponsored-label { background: var(--warn-bg); color: var(--ink); border-left: 4px solid var(--warn); border-radius: 4px; padding: .35rem .6rem; margin: 0 0 .5rem; }
.svc-cards, .listings { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.svc-card, .listing { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
.svc-card h2 { margin: 0 0 .35rem; font-size: 1.1rem; }
.svc-card .count { font-weight: 600; margin-bottom: .4rem; }
.svc-card p:last-child, .listing p:last-child { margin-bottom: 0; }
.listing h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.listing.is-sponsored { border-color: var(--warn); }
.listing p { margin: 0 0 .45rem; }
.rating .n { color: var(--muted); font-size: .85rem; }
.badge { display: inline-block; background: var(--panel); border-radius: 4px; padding: .1rem .45rem; font-size: .85rem; }
.verified { font-size: .85rem; color: var(--muted); }
.order-note { font-size: .9rem; color: var(--muted); }
.evidence th[scope=row] { white-space: nowrap; font-size: .8rem; color: var(--ink); }
.evidence tr.agg td { background: var(--panel); }
.facts li { margin-bottom: .35rem; }

@media (min-width: 720px) { h1 { font-size: 2.1rem; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
