/* Layout: a plain listings service. White page, one blue-green accent, suppliers as profile cards with filters in a sidebar. */
:root {
  --paper: #ffffff;
  --paper-2: #f4f6f7;
  --panel: #ffffff;
  --ink: #1d2327;
  --muted: #5b666e;
  --rule: #dde2e5;
  --rule-strong: #c4ccd1;
  --accent: #1b3a6b;
  --accent-hover: #122b52;
  --accent-soft: #e8eef8;
  --accent-ink: #ffffff;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(20, 30, 40, .06);
  --hero: #12284a;
  --hero-ink: #ffffff;
  --hero-muted: #c8d4e8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14181b; --paper-2: #1b2024; --panel: #1b2024; --ink: #e7ecef; --muted: #a2adb4;
    --rule: #2c343a; --rule-strong: #3a444b; --accent: #9fbbe6; --accent-hover: #c0d3f0; --accent-soft: #1c2a40; --accent-ink: #0d1a20;
    --shadow: none; --hero: #0f1f38; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14181b; --paper-2: #1b2024; --panel: #1b2024; --ink: #e7ecef; --muted: #a2adb4;
  --rule: #2c343a; --rule-strong: #3a444b; --accent: #9fbbe6; --accent-hover: #c0d3f0; --accent-soft: #1c2a40; --accent-ink: #0d1a20;
  --shadow: none; --hero: #0f1f38; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--rule-strong); background: var(--panel); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-wide { width: 100%; }

/* header */
.site-head { background: var(--panel); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.1rem; }
.brand-name { font-weight: 700; font-size: 1.2rem; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: .95rem; order: 3; width: 100%; padding-top: 8px; border-top: 1px solid var(--rule); }
.cat-nav a { color: var(--muted); text-decoration: none; }
.cat-nav a:hover { color: var(--accent); }
.head-cta { font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid var(--accent); border-radius: 6px; padding: 6px 12px; }

/* page intro */
.preview-note { background: var(--accent-soft); color: var(--ink); font-size: .85rem; text-align: center; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.intro { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding-block: 28px 26px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: inherit; }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); max-width: 30ch; }
.lede { margin-top: 10px; font-size: 1.08rem; color: var(--muted); max-width: 70ch; }
.byline { margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* results layout: sidebar + list */
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 32px; padding-block: 24px 44px; align-items: start; }
@media (min-width: 900px) { .results-layout { grid-template-columns: 250px minmax(0, 1fr); } .filters { position: sticky; top: 16px; } }
.results-solo { padding-block: 24px 44px; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.results-head h2 { font-size: 1.3rem; }
.results-head p { font-size: .88rem; color: var(--muted); }

/* sidebar filters */
.filters { display: grid; gap: 16px; padding: 16px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.f-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.filters input, .filters select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 8px 10px; }
.filters input::placeholder { color: var(--muted); }
.f-cats { display: flex; flex-direction: column; gap: 2px; }
.f-cat { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: inherit; font-size: .95rem; text-align: left; color: var(--ink); background: none; border: 0; border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.f-cat span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.f-cat:hover { background: var(--paper-2); }
.f-cat.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.f-cat.is-on span { color: var(--accent); }
@media (max-width: 899px) {
  .f-cats { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .f-cat { border: 1px solid var(--rule-strong); padding: 4px 10px; }
  .f-cat.is-on { border-color: var(--accent); }
}

/* supplier cards */
.grid { display: flex; flex-direction: column; gap: 12px; }
.card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 18px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.card:hover { border-color: var(--rule-strong); }
.card.featured { border-color: var(--accent); }
.logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; background: var(--tile); color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.logo-big { width: 84px; height: 84px; font-size: 1.7rem; border-radius: 10px; }
.card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card h3 { font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.badge { font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.card-cats { font-size: .92rem; color: var(--muted); }
.card-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .92rem; }
.card-loc svg { width: 14px; height: 14px; fill: var(--muted); flex: none; }
.card-region { color: var(--muted); }
.card-region::before { content: "·"; margin-right: 6px; }
.desc { margin-top: 6px; font-size: .98rem; }
.accred { font-size: .9rem; color: var(--muted); }
.accred span { font-weight: 600; color: var(--ink); }
.card-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--rule); }
.checked { font-size: .85rem; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
@media (min-width: 700px) {
  .card { grid-template-columns: 56px minmax(0, 1fr) 160px; }
  .card-side { grid-column: auto; flex-direction: column; align-items: stretch; margin-top: 0; padding-top: 0; border-top: 0; }
  .checked { margin-left: 0; text-align: center; margin-top: 2px; }
}
.empty { padding: 32px 16px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--rule-strong); border-radius: var(--radius); }

/* section blocks below the list */
.regions, .guide, .claim { display: grid; gap: 20px 48px; grid-template-columns: minmax(0, 1fr); padding-block: 36px; border-top: 1px solid var(--rule); }
.regions { align-items: start; }
@media (min-width: 880px) { .regions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .guide { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); } .claim { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.regions h2, .guide h2, .claim h2 { font-size: 1.5rem; margin-bottom: 10px; }
.regions-text { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.regions-text p, .guide-intro p, .claim > div p { color: var(--muted); max-width: 46ch; }

/* buying notes */
.steps { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps > div { padding: 14px 16px; background: var(--paper-2); border-radius: var(--radius); }
.steps dt { font-weight: 700; font-size: 1.1rem; display: flex; flex-direction: column; }
.lvl { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.steps dd { margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
.guide-more { margin-top: 12px; font-weight: 600; }

/* claim form */
.claim-form { display: grid; gap: 12px 16px; grid-template-columns: minmax(0, 1fr); padding: 18px; background: var(--paper-2); border-radius: var(--radius); }
@media (min-width: 560px) { .claim-form { grid-template-columns: repeat(3, minmax(0, 1fr)); } .claim-form .wide { grid-column: 1 / -1; } }
.claim-form label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; min-width: 0; }
.claim-form input, .claim-form textarea, .claim-form select { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 8px 10px; width: 100%; }
.claim-form button { justify-self: start; font: inherit; font-weight: 600; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 6px; padding: 10px 22px; cursor: pointer; }
.claim-form button:hover { background: var(--accent-hover); }
.hp { position: absolute; left: -9999px; }
.form-status, .form-note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }

/* supplier profile */
.profile { padding-block: 24px 56px; }
.profile-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.profile-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 4px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 40px; align-items: start; }
@media (min-width: 860px) { .profile-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.profile-box { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.claim-link { font-size: .9rem; color: var(--muted); }

/* prose pages */
.about { padding-block: 26px 56px; }
.prose { max-width: var(--measure); display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-size: 1.35rem; margin-top: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.facts { display: grid; margin: 0; }
.facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: .95rem; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.note { font-size: .93rem; color: var(--ink); padding: 10px 14px; background: var(--accent-soft); border-radius: 6px; }
.nearby { padding-left: 1.2em; }
.article { padding-block: 24px 48px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { background: var(--paper-2); font-size: .88rem; }
.facts-list { margin: 0; display: grid; gap: 10px; }
.facts-list dt { font-weight: 700; }
.facts-list dd { margin: 2px 0 0; color: var(--muted); }
.guide-list { list-style: none; padding: 0; margin: 0; max-width: 70ch; display: grid; gap: 12px; }
.guide-list li { padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius); }
.guide-list a { font-weight: 700; font-size: 1.15rem; }
.guide-list p { color: var(--muted); margin-top: 4px; }
.email { user-select: all; font-weight: 600; }

/* footer */
.site-foot { background: var(--paper-2); border-top: 1px solid var(--rule); }
.foot-row { display: grid; gap: 8px; padding-block: 24px 32px; font-size: .9rem; color: var(--muted); }
.foot-row p { max-width: 80ch; }
.foot-row strong { color: var(--ink); }

/* category buying intro */
.cat-intro { padding-block: 24px 0; }
.cat-intro .prose { max-width: 75ch; }

/* specialist cleaners additions */
.notice { margin-block: 4px 20px; padding: 14px 18px; background: var(--paper-2); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.notice p { max-width: 80ch; }
.f-block { display: grid; gap: 6px; }
.f-note { font-size: .82rem; color: var(--muted); }
.guides-home { padding-block: 36px; border-top: 1px solid var(--rule); }
.guides-home h2 { font-size: 1.5rem; margin-bottom: 12px; }
.article { padding-block: 8px 36px; }
.article .prose h2 { margin-top: 1.6em; }
.article .prose ul, .article .prose ol { padding-left: 1.3em; }
.article .prose li + li { margin-top: 6px; }

.brand-mark svg { width: 74%; height: 74%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* restyle: search-first homepage */
.hero { background: var(--hero); color: var(--hero-ink); padding-block: 44px 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.01em; max-width: 20ch; }
.hero-lede { margin-top: 12px; font-size: 1.15rem; color: var(--hero-muted); max-width: 62ch; }
.hero-search { margin-top: 22px; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); max-width: 820px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
@media (min-width: 720px) { .hero-search { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; } }
.hero-search input, .hero-search select { font: inherit; font-size: 1.05rem; color: #1d2327; background: #fff; border: 1px solid #dde2e5; border-radius: 6px; padding: 12px 12px; width: 100%; min-width: 0; }
.hero-search button { font: inherit; font-size: 1.05rem; font-weight: 700; color: #fff; background: #d2462b; border: 0; border-radius: 6px; padding: 12px 22px; cursor: pointer; }
.hero-search button:hover { background: #b0361e; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; padding: 0; list-style: none; font-size: .95rem; color: var(--hero-muted); }
.hero-trust li::before { content: "✓"; margin-right: 6px; color: #8fd0a8; font-weight: 700; }
.situations { padding-block: 36px 20px; }
.situations h2, .checks h2, .tools-sec h2 { font-size: 1.6rem; margin-bottom: 16px; }
.sit-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .sit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sit { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; align-content: start; padding: 18px; color: var(--ink); text-decoration: none; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.sit:hover { border-color: var(--accent); }
.sit:hover .sit-name { text-decoration: underline; }
.sit-icon { grid-row: span 3; width: 40px; height: 40px; padding: 8px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--accent-soft); border-radius: 8px; }
.sit-name { font-weight: 700; font-size: 1.1rem; color: var(--accent); }
.sit-desc { font-size: .95rem; color: var(--muted); }
.sit-count { margin-top: 6px; font-size: .9rem; font-weight: 600; }
.checks { padding-block: 36px; border-top: 1px solid var(--rule); }
.check-steps { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0 0 14px; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 700px) { .check-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .check-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.check-steps li { counter-increment: step; padding: 16px; background: var(--paper-2); border-radius: var(--radius); color: var(--muted); font-size: .95rem; }
.check-steps b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.05rem; }
.check-steps b::before { content: counter(step) ". "; color: var(--accent); }
.tools-sec { padding-block: 36px; border-top: 1px solid var(--rule); }
.tool-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tool { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; color: var(--ink); text-decoration: none; border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.tool:hover .tool-name { text-decoration: underline; }
.tool-tag { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tool-name { font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.tool-desc { font-size: .95rem; color: var(--muted); }
.claim-band { background: var(--hero); color: var(--hero-ink); }
.claim-band .claim { border-top: 0; padding-block: 40px; }
.claim-band .claim > div p { color: var(--hero-muted); }
.claim-band .claim a { color: #fff; }
.claim-band .claim-form { color: var(--ink); background: var(--paper); }
.claim-band .claim-form a { color: var(--accent); }
.foot-cols { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); padding-block: 32px 16px; font-size: .92rem; color: var(--muted); }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-about { grid-column: auto; } }
.foot-cols h2 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-about p + p { margin-top: 8px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.foot-brand .brand-mark { width: 26px; height: 26px; }
.foot-small { padding-block: 14px 28px; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--muted); }

/* filtered-out cards: kept last so nothing later can override it */
.grid .card.is-filtered, .empty[hidden] { display: none; }
