/*
 * WaterFilterInstallers.com
 *
 * Design brief was "practical, trustworthy, clean, service-led — a serious UK
 * trade and consumer advice platform, not a SaaS landing page". So: no
 * gradients, no floating cards on nothing, no hero illustration. Dense
 * information, generous type, visible structure, one accent colour used
 * sparingly enough that it still means something when it appears.
 *
 * Deliberately different from the sister sites so they read as siblings rather
 * than clones: ScreenProtectors is warm paper + deep green retail;
 * FilterJug is teal + amber global storefront. This is navy + a cold water
 * blue, with a burnt-orange CTA and a slab serif for headings.
 */

:root {
  --ink: #0d2b45;
  --ink-2: #24455f;
  --body: #33475b;
  --muted: #667c92;
  --line: #dbe3ea;
  --line-2: #eef2f6;
  --paper: #ffffff;
  --paper-2: #f5f8fa;
  --paper-3: #eef4f8;

  --blue: #0f6ba8;
  --blue-dark: #0b527f;
  --blue-tint: #e6f2fa;

  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-tint: #fdf0e8;

  --good: #0f7357;
  --good-tint: #e6f5f0;
  --warn: #a8570f;
  --warn-tint: #fdf3e5;

  /* Hardness ramp: soft (cool) → very hard (hot). Five bands, matching the
     DWI scheme in site.config.js — 'moderately soft' was removed when the site
     adopted the regulator's classification. */
  --h-soft: #0e7490;
  --h-slightly-hard: #0f766e;
  --h-moderately-hard: #a16207;
  --h-hard: #c2410c;
  --h-very-hard: #9f1239;

  --wrap: 1180px;
  --narrow: 760px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(13, 43, 69, .06), 0 4px 16px rgba(13, 43, 69, .05);

  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --slab: 'Bitter', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--slab); color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem); margin-top: 2em; }
h3 { font-size: 1.16rem; margin-top: 1.6em; }
p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); }
.band { padding: 2.6rem 0; }
.band-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.note { color: var(--muted); font-size: .93rem; }
.small { font-size: .9rem; }
.lede { font-size: 1.16rem; color: var(--ink-2); }

.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.16em; flex: none; }

/* ---------------------------------------------------------------- header */

.site-head { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.head-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-family: var(--slab); font-size: 1.06rem; letter-spacing: -.01em; }
.brand-mark { width: 1.6em; height: 1.6em; stroke: #38bdf8; stroke-width: 1.7; }
.brand-text strong { font-weight: 700; }
.brand-tld { opacity: .55; font-weight: 400; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; }
.nav a { color: #cfe0ee; text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; width: 42px; height: 38px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; height: 2px; width: 18px; background: #fff; margin: 0 auto; position: relative; }
.bars::before, .bars::after { content: ''; position: absolute; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

@media (max-width: 950px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.2rem; display: none; border-top: 1px solid rgba(255,255,255,.12); }
  .nav[data-open] { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: .8rem; text-align: center; }
}

/* ----------------------------------------------------------------- crumbs */

.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: .87rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .7rem 0; }
.crumbs li + li::before { content: '/'; color: var(--muted); margin-right: .4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ hero */

.hero { background: var(--ink); color: #fff; padding: 3rem 0 3.4rem; }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { color: #9fd0ee; font-size: 1.22rem; font-weight: 500; margin-bottom: .9em; }
.hero-sub { color: #c3d7e6; font-size: 1.02rem; }

.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.hero-card h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .8em; }
.hero-links { list-style: none; margin: 0; padding: 0; }
.hero-links li + li { border-top: 1px solid rgba(255,255,255,.1); }
.hero-links a { display: flex; align-items: center; gap: .6rem; color: #dceaf4; text-decoration: none; padding: .62rem 0; font-size: .96rem; font-weight: 500; }
.hero-links a:hover { color: #fff; }
.hero-links .ic { color: #38bdf8; }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* -------------------------------------------------------------- postcode */

.pc-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem; margin-top: 1.4rem; }
.pc-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; color: inherit; }
.pc-row { display: flex; gap: .6rem; }
.pc-row input { flex: 1; min-width: 0; padding: .78rem .9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.pc-row input:focus { outline: 3px solid #38bdf8; outline-offset: 1px; }
.pc-hint { font-size: .84rem; margin: .7rem 0 0; opacity: .8; }
.pc-hint a { color: inherit; }
.pc-error { margin: .7rem 0 0; font-size: .9rem; color: #fca5a5; font-weight: 500; }

/* Outside the dark hero the form needs a light treatment. */
main .pc-form { background: var(--paper-2); border-color: var(--line); color: var(--body); }
main .pc-form label { color: var(--ink); }
main .pc-error { color: var(--accent-dark); }

@media (max-width: 560px) { .pc-row { flex-direction: column; } }

/* --------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.25rem; border-radius: 8px; font: inherit; font-weight: 600; font-size: .97rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .12s ease; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); }
.btn-amazon { background: var(--ink); color: #fff; width: 100%; }
.btn-amazon:hover { background: var(--ink-2); color: #fff; }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.03rem; }

/* -------------------------------------------------------------- sections */

.sec-head { margin-bottom: 1.5rem; }
.sec-head h2 { margin-top: 0; }
.sec-blurb { color: var(--muted); max-width: 68ch; margin-bottom: .3em; }
.sec-more { font-weight: 600; font-size: .94rem; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.sec-more:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- cards */

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tri-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
a.tri-card:hover { border-color: var(--blue); }
.tri-card h3 { margin: 0 0 .6em; display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.tri-card h3 .ic { color: var(--blue); }
.tri-card p { color: var(--body); font-size: .96rem; margin-bottom: .8em; }
.tri-card.static { background: var(--paper-2); }
.tri-go { font-weight: 600; color: var(--blue); font-size: .93rem; display: inline-flex; align-items: center; gap: .3rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 1rem; }
.cat-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; text-decoration: none; color: inherit; }
a.cat-card:hover { border-color: var(--blue); background: var(--blue-tint); }
.cat-card h3 { margin: 0 0 .45em; font-size: 1.04rem; }
.cat-card p { font-size: .93rem; color: var(--muted); margin-bottom: .7em; }
.cat-card.static { background: var(--paper-2); border-style: dashed; }
.cat-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.cat-group { margin-bottom: 3rem; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1rem; }
.guide-card { display: block; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 1.15rem 1.25rem; text-decoration: none; color: inherit; }
.guide-card:hover { border-left-color: var(--accent); background: var(--paper-2); }
.guide-hub { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.guide-card h3 { margin: .35em 0 .4em; font-size: 1.05rem; }
.guide-card p { font-size: .92rem; color: var(--muted); margin: 0; }

@media (max-width: 860px) { .tri { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- chips */

.chip { display: inline-block; padding: .18rem .58rem; border-radius: 100px; font-size: .78rem; font-weight: 600; background: var(--paper-3); color: var(--ink-2); border: 1px solid var(--line); }
.chip-good { background: var(--good-tint); color: var(--good); border-color: #bfe3d7; }
.chip-warn { background: var(--warn-tint); color: var(--warn); border-color: #f0d9b8; }

.hband { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 100px; color: #fff; font-weight: 700; font-size: .93rem; background: var(--h-hard); }
.hband-sm { font-size: .8rem; padding: .2rem .6rem; }
.hband-soft { background: var(--h-soft); }
.hband-slightly-hard { background: var(--h-slightly-hard); }
.hband-moderately-hard { background: var(--h-moderately-hard); }
.hband-hard { background: var(--h-hard); }
.hband-very-hard { background: var(--h-very-hard); }

.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 5px; }
.badge-ok { background: var(--good-tint); color: var(--good); border: 1px solid #bfe3d7; }
.badge-claim { background: var(--paper-3); color: var(--muted); border: 1px dashed var(--line); }

/* -------------------------------------------------------------- callouts */

.callout { display: flex; gap: .8rem; padding: 1.05rem 1.2rem; border-radius: var(--radius); margin: 1.5rem 0; font-size: .96rem; border: 1px solid; background: var(--blue-tint); border-color: #bcdff2; color: var(--ink-2); }
.callout .ic { color: var(--blue); margin-top: .2em; }
.callout-warn { background: var(--warn-tint); border-color: #f0d9b8; }
.callout-warn .ic { color: var(--warn); }
.callout-good { background: var(--good-tint); border-color: #bfe3d7; }
.callout-good .ic { color: var(--good); }
.callout p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------- doc */

.doc { max-width: 74ch; }
.doc .intro-para { font-size: 1.06rem; color: var(--ink-2); }
.byline { font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }

.tick-list, .warn-list, .fact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tick-list li, .warn-list li, .fact-list li { position: relative; padding-left: 1.7rem; margin-bottom: .6em; }
.tick-list li::before { content: ''; position: absolute; left: .25rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.warn-list li::before { content: '!'; position: absolute; left: .3rem; top: 0; font-weight: 700; color: var(--warn); }
.fact-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 1rem; height: 2px; background: var(--line); }

.suit { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.2rem 0; }
.suit-item { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; }
.suit-item.yes { color: var(--good); }
.suit-item.no { color: var(--muted); }

.pc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.2rem 0 1.8rem; }
.pc-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.pc-col h3 { margin: 0 0 .6em; font-size: 1rem; display: flex; align-items: center; gap: .4rem; }
.pc-col ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.pc-col li { margin-bottom: .45em; }
.pc-pros { background: var(--good-tint); border-color: #bfe3d7; }
.pc-pros h3 { color: var(--good); }
.pc-cons { background: var(--warn-tint); border-color: #f0d9b8; }
.pc-cons h3 { color: var(--warn); }
@media (max-width: 700px) { .pc-cols { grid-template-columns: 1fr; } }

.verdict { display: flex; gap: 1rem; padding: 1.2rem 1.35rem; border-radius: var(--radius); border: 1px solid; margin: 1.2rem 0; }
.verdict h3 { margin: 0 0 .4em; font-size: 1.06rem; }
.verdict p:last-child { margin-bottom: 0; }
.verdict .ic { width: 1.5em; height: 1.5em; margin-top: .1em; }
.verdict-yes { background: var(--good-tint); border-color: #bfe3d7; }
.verdict-yes .ic, .verdict-yes h3 { color: var(--good); }
.verdict-no { background: var(--warn-tint); border-color: #f0d9b8; }
.verdict-no .ic, .verdict-no h3 { color: var(--warn); }

.cost-figure { font-family: var(--slab); font-size: 1.6rem; color: var(--ink); margin-bottom: .2em; }
.cost-figure span { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 400; }

.advice-box { background: var(--blue-tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.advice-box h3 { margin: 0 0 .4em; font-size: 1.08rem; }
.advice-box p:last-child { margin-bottom: 0; }
.advice-headline { font-family: var(--slab); font-size: 1.15rem; color: var(--ink); font-weight: 600; }

.band-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.2rem 0 1.5rem; }
.band-spread { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------------------------------------------------------------- tables */

.tbl-scroll { overflow-x: auto; margin: 1.4rem 0 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .93rem; }
.tbl th, .tbl td { padding: .68rem .85rem; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { background: var(--paper-2); font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: .86rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--line); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- howto */

.howto { margin: 2rem 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; padding-bottom: 1.4rem; border-left: 2px solid var(--line); margin-left: 1rem; }
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: -1.05rem; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.steps h3 { margin: .1em 0 .3em; font-size: 1.04rem; }
.steps p { margin: 0; font-size: .97rem; }
.howto-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 1rem 1.2rem; background: var(--paper-2); border-radius: var(--radius); font-size: .9rem; margin-top: 1.4rem; }

/* ---------------------------------------------------------------- shelf */

.shelf { margin: 2.4rem 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1rem; }
.prod { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.prod-img { display: grid; place-items: center; padding: 1.1rem; background: var(--paper-2); min-height: 150px; }
.prod-img img { max-height: 130px; width: auto; object-fit: contain; }
.pc-noimg .ic { width: 2.4rem; height: 2.4rem; color: var(--line); }
.prod-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.prod-body h3 { margin: 0; font-size: .95rem; font-family: var(--sans); font-weight: 600; line-height: 1.4; }
.prod-body h3 a { color: var(--ink); text-decoration: none; }
.prod-body h3 a:hover { color: var(--blue); text-decoration: underline; }
.prod-brand { font-size: .84rem; color: var(--muted); margin: 0; }
.prod-body .btn { margin-top: auto; }
.shelf-note, .shelf-disclosure { font-size: .87rem; color: var(--muted); margin-top: 1rem; }
.shelf-disclosure { display: flex; gap: .45rem; align-items: flex-start; }

/* ------------------------------------------------------------------ faqs */

.faqs { margin: 2.4rem 0; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq { border-bottom: 1px solid var(--line); }
.faq:last-child { border-bottom: 0; }
.faq summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 2.8rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: .85rem; font-size: 1.35rem; color: var(--blue); font-weight: 400; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq summary:hover { background: var(--paper-2); }
.faq-a { padding: 0 1.2rem 1.1rem; font-size: .96rem; }

/* ------------------------------------------------------------- directory */

.empty-dir { border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper-2); padding: 2rem 1.8rem; margin: 1.5rem 0; }
.empty-inner { max-width: 66ch; }
.empty-icon { width: 2.2rem; height: 2.2rem; color: var(--muted); }
.empty-dir h2 { margin: .5rem 0 .5em; font-size: 1.35rem; }
.empty-dir h3 { font-size: 1rem; }
.empty-actions { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.empty-actions li { padding-left: 1.4rem; position: relative; margin-bottom: .7em; font-size: .96rem; }
.empty-actions li::before { content: '→'; position: absolute; left: 0; color: var(--blue); }
.empty-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.empty-cta p { margin-bottom: .9em; }

.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.inst { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: #fff; }
.inst h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.inst-area { color: var(--muted); font-size: .9rem; margin-bottom: .7em; }
.inst-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8em; }
.inst-services { font-size: .88rem; color: var(--muted); margin-bottom: 1em; }

.dir-search { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 1.5rem 0; }
.dir-search .pc-row input { border-color: var(--line); }
.dir-filters { margin-top: 1rem; }
.dir-filters summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: .93rem; }
.dir-filters fieldset { border: 0; padding: 1rem 0 0; margin: 0; }
.dir-filters legend { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 0; }

.loc-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.loc-chip { display: inline-block; padding: .42rem .85rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.loc-chip:hover { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }

.co-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.co-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .8rem .38rem .4rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; text-decoration: none; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.co-chip:hover { border-color: var(--blue); }

/* ----------------------------------------------------------------- forms */

.reg-form, .finder { max-width: 760px; }
.reg-form fieldset, .finder fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 0 0 1.3rem; }
.reg-form legend, .finder legend { font-family: var(--slab); font-weight: 700; color: var(--ink); padding: 0 .5rem; font-size: 1.05rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.fld { display: block; }
.fld > span { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .35rem; }
.fld > span em { font-style: normal; color: var(--accent); font-size: .82rem; font-weight: 500; }
.fld input, .fld textarea, .fld select { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: .97rem; background: #fff; color: var(--ink); }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.fld small { display: block; color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.field-note { font-size: .89rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -9999px; }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: .6rem; }
.opts-row { grid-template-columns: repeat(auto-fit, minmax(150px, auto)); }
.opt { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .94rem; background: #fff; flex-wrap: wrap; }
.opt:hover { border-color: var(--blue); }
.opt input { margin: .25rem 0 0; accent-color: var(--blue); flex: none; }
.opt span { font-weight: 500; color: var(--ink); }
.opt small { width: 100%; padding-left: 1.35rem; color: var(--muted); font-size: .82rem; }
.opt-sm { padding: .5rem .7rem; font-size: .9rem; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.finder-hint { font-size: .89rem; color: var(--muted); margin-top: -.4rem; }

.result { margin: 1.6rem 0; }
.result:not([hidden]) { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* --------------------------------------------------------------- results */

.res-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.res-head { padding: 1.4rem 1.5rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.res-head h2 { margin: 0 0 .4em; font-size: 1.3rem; }
.res-body { padding: 1.4rem 1.5rem; }
.res-body h3 { margin-top: 1.4em; }
.res-body h3:first-child { margin-top: 0; }
.res-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.res-loading { color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------- glossary */

.alpha { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.2rem 0 2rem; }
.alpha a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.alpha a:hover { border-color: var(--blue); background: var(--blue-tint); }
.glossary { margin: 0; }
.gl-group { margin-bottom: 2rem; }
.gl-group h2 { font-size: 1.5rem; border-bottom: 2px solid var(--line); padding-bottom: .2em; margin-top: 0; }
.gl-item { margin-bottom: 1.2rem; }
.glossary dt { font-weight: 700; color: var(--ink); font-family: var(--slab); }
.glossary dd { margin: .25rem 0 0; font-size: .96rem; }
.gl-links { font-size: .87rem; }

.planned-list { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; font-size: .94rem; color: var(--muted); }
.planned-list li { break-inside: avoid; padding: .3rem 0 .3rem 1.2rem; position: relative; }
.planned-list li::before { content: '·'; position: absolute; left: .3rem; }
@media (max-width: 700px) { .planned-list { columns: 1; } }

.src { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-bottom: 1.4rem; }
.src h2 { margin-top: 0; font-size: 1.15rem; }
.src-url { font-size: .9rem; word-break: break-all; }
.reg-links { list-style: none; padding: 0; font-size: .93rem; }
.reg-links li { padding-left: 1.2rem; position: relative; margin-bottom: .3em; }
.reg-links li::before { content: '↗'; position: absolute; left: 0; color: var(--muted); }
.contact-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }

.trust-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.trust-list { list-style: none; padding: 0; }
.trust-list li { padding-left: 1.6rem; position: relative; margin-bottom: .85em; font-size: .97rem; }
.trust-list li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.installer-cta { background: var(--ink); color: #cfe0ee; border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.installer-cta h2 { color: #fff; margin-top: 0; font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.installer-cta h2 .ic { color: #38bdf8; }
.installer-cta ul { padding-left: 1.1rem; font-size: .93rem; margin-bottom: 1.3rem; }
.installer-cta li { margin-bottom: .4em; }
.installer-cta a:not(.btn) { color: #7dd3fc; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 2rem; } }

.home-disclosure { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); background: var(--paper-2); padding: 1rem 1.2rem; border-radius: var(--radius); margin: 0; }

/* ---------------------------------------------------------------- footer */

.site-foot { background: var(--ink); color: #a9c3d6; margin-top: 3rem; padding: 3rem 0 2rem; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); margin: 0 0 .9em; }
.foot-col h3:not(:first-child) { margin-top: 1.8em; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: .5em; }
.foot-col a { color: #a9c3d6; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.brand-foot { margin-bottom: 1rem; }
.foot-about p { font-size: .91rem; }
.foot-disclaimer { background: rgba(255,255,255,.05); border-left: 3px solid var(--accent); padding: .8rem 1rem; border-radius: 0 6px 6px 0; font-size: .87rem; }
.foot-disclaimer strong { color: #fff; }
.foot-legal { padding-top: 1.6rem; }
.disclosure { font-size: .85rem; max-width: 90ch; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 1rem 0; font-size: .87rem; }
.legal-links a { color: #a9c3d6; }
.copyright { font-size: .82rem; opacity: .75; margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

@media print {
  .site-head, .site-foot, .pc-form, .shelf, .nav { display: none; }
  body { font-size: 12pt; }
}

/* A water company's own words about their own supply. Stronger evidence than
   our assessment, so it is set apart and attributed rather than paraphrased. */
.co-quote{
  margin:1.4rem 0; padding:1rem 1.3rem;
  border-left:4px solid var(--blue); background:var(--blue-tint);
  border-radius:0 var(--radius) var(--radius) 0;
}
.co-quote p{margin:0 0 .6em; font-size:1.02rem; color:var(--ink-2); font-style:italic}
.co-quote cite{font-style:normal; font-size:.88rem; color:var(--muted)}

/* A published correction. Our editorial policy says substantive corrections are
   made in place and noted, so they are shown rather than quietly applied. */
.correction-note{
  font-size:.92rem; color:var(--body); background:var(--warn-tint);
  border:1px solid #f0d9b8; border-radius:var(--radius);
  padding:.85rem 1.1rem; margin:1.2rem 0;
}
.correction-note strong{color:var(--warn)}
