/* /water-filtration and /water-softener-rules (Nov 18 2026; /water-filtration LIVE Nov 19, the rules page is NOT live). Same tokens as page-dp.css:
   one blue, ink, Archivo, pills, rounded photos. One loud thing (the hero price); the rest is lists
   and two plain tables, per the Nov 13 calm-pages rule. */

/* ---------- hero + price */
.wf-hero { padding-top: clamp(28px, 4vw, 56px); }
.wf-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .wf-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.wf-hero__copy { display: grid; gap: 16px; }
.wf-hero__copy h1 { margin: 0; }
.wf-hero__lede { margin: 0; max-width: 38rem; }
.wf-hero__photo { margin: 0; }
.wf-hero__photo img, .wf-incl__pic img, .wf-who__pic img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); }
@media (max-width: 959px) { .wf-hero__photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; } }
.wf-cap { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }

.wf-price { margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-lift); display: grid; gap: 8px; max-width: 560px; }
.wf-price__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 18px; }
.wf-price__row.is-pick { border-color: var(--blue); background: var(--blue-tint); }
.wf-price__name { margin: 0; font-weight: 800; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.wf-price__tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--blue); color: var(--on-blue); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.wf-price__line { margin: 3px 0 0; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.wf-price__num { margin: 0; text-align: right; line-height: 1; }
.wf-price__num b { display: block; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); font-weight: 850; font-stretch: 85%; color: var(--ink); letter-spacing: -.01em; }
.wf-price__num span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.wf-price__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 8px 6px 2px; }
.wf-price__go .dp-btn { flex: 1 1 220px; justify-content: center; text-align: center; }
.wf-price__fine { margin: 0; padding: 0 8px 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ---------- does / doesn't */
.wf-does { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-thin); }
.wf-does__row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule-thin); font-size: 1.05rem; line-height: 1.45; }
.wf-does__mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.wf-does__mark svg { width: 18px; height: 18px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wf-does__row--yes .wf-does__mark { background: var(--blue-soft); } .wf-does__row--yes svg { stroke: var(--blue); }
.wf-does__row--part .wf-does__mark { background: var(--sun); } .wf-does__row--part svg { stroke: var(--star-deep); }
.wf-does__row--no .wf-does__mark { background: #f1f3f6; } .wf-does__row--no svg { stroke: var(--muted); }
.wf-does__words b { color: var(--ink); }
.wf-does__ans { font-weight: 700; color: var(--ink); }
.wf-note { margin: 18px 0 0; max-width: 52rem; font-size: 15px; line-height: 1.5; color: var(--muted); }
.dp .wf-note a, .dp .wf-fine a { color: var(--blue); }

/* ---------- town rules */
.wf-rules { margin-top: 22px; display: grid; border-top: 1px solid var(--rule-thin); }
.wf-rules__row { display: grid; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule-thin); }
@media (min-width: 860px) { .wf-rules__row { grid-template-columns: 15rem 13rem 1fr; align-items: baseline; } }
.wf-rules__town { margin: 0; font-weight: 800; color: var(--ink); }
.wf-rules__rule { margin: 0; font-weight: 700; }
.wf-rules__rule--no { color: #b42318; }
.wf-rules__rule--permit { color: var(--star-deep); }
.wf-rules__rule--yes { color: #1a7f37; }
.wf-rules__detail { margin: 0; color: var(--muted); line-height: 1.45; }

/* ---------- what's included */
.wf-incl, .wf-who { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .wf-incl, .wf-who { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.wf-incl__pic, .wf-who__pic { margin: 0; }
.wf-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.wf-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1.05rem; line-height: 1.4; }
.wf-check svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.wf-check em { font-style: normal; color: var(--muted); font-size: .92em; }
.wf-sub { margin: 26px 0 0; font-weight: 800; color: var(--ink); }
.wf-list--not { gap: 8px; }
.wf-list--not li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.45; }
.wf-list--not li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 2px; background: var(--rule-mid); }

/* ---------- tables */
.wf-table-wrap { margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.wf-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.wf-table th, .wf-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wf-table thead th { font-size: 13px; font-weight: 800; color: var(--ink); background: #f7f9fc; }
.wf-table tbody th { font-weight: 700; color: var(--ink); width: 26%; }
.wf-table tr:last-child th, .wf-table tr:last-child td { border-bottom: 0; }
.wf-table .is-us { background: var(--blue-tint); }
.wf-table thead .is-us { background: var(--blue); color: var(--on-blue); }
.wf-t--good { color: var(--ink); font-weight: 600; }
.wf-t--bad { color: #b42318; }
.wf-t--meh { color: var(--muted); }
.wf-table--parts { min-width: 520px; }

/* ---------- who + steps */
.wf-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: wf; display: grid; gap: 12px; }
.wf-steps li { counter-increment: wf; display: grid; grid-template-columns: 34px 1fr; gap: 12px; line-height: 1.45; }
.wf-steps li::before { content: counter(wf); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.wf-steps b { color: var(--ink); }
.wf-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- rules page */
.wf-quote { margin: 22px 0 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.wf-quote p { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.wf-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--muted); }
.wf-rules__src { margin: 4px 0 0; font-size: 14px; }
.dp .wf-rules__src a { color: var(--blue); }
.wf-allowed { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 760px) { .wf-allowed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf-allowed article { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.wf-allowed h3 { margin: 0 0 6px; font-size: 1.08rem; }
.wf-allowed p { margin: 0; color: var(--muted); line-height: 1.45; }
/* Nov 19 2026: the options table lost its softener column, so it can be narrower. */
.wf-table--three { min-width: 540px; }
.wf-table--three tbody th { width: 30%; }
