/* ChattBizConnect. Layout modeled on webive.com: white header, full-bleed hero, black
   statement band, alternating two-column sections, dark bands, card grids. Colors and type
   follow the brand guide (docs/brand-guidelines.pdf): Brand Blue, Black, Mid Blue, Sky Blue,
   Light Gray, and Montserrat. Phone first: rules outside the media queries are
   the phone layout; wider screens only add columns and size. */

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* The brand palette */
  --blue: #1380cb;        /* Brand Blue */
  --black: #000000;       /* Black */
  --mid-blue: #4a9fda;    /* Mid Blue */
  --sky-blue: #8cc4ea;    /* Sky Blue */
  --light-gray: #e6e8ec;  /* Light Gray */
  /* Working shades for interface states */
  --blue-dark: #0e66a3;
  --blue-light: var(--sky-blue);
  --blue-soft: #e8f3fb;
  --ink: #111111;
  --text: #4f5560;
  --muted: #666c76;
  --line: var(--light-gray);
  --gray-bg: #f3f4f6;
  --charcoal: #454545;
  --ok: #187a45;
  --ok-soft: #e7f5ec;
  --warn-soft: #fff4dd;
  --warn: #b7791f;
  --shadow: 0 2px 14px rgba(0, 0, 0, .09);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .18);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 500 16px/1.7 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--black); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.blue { color: var(--blue); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.section { padding: 40px 0; }
.section-gray { background: var(--gray-bg); }
.section-h { margin-top: 32px; font-size: 1.4rem; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: .6em; }
.eyebrow a { color: inherit; }
.lede { font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 0; text-align: center; transition: background .15s, box-shadow .15s, color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2b2b2b; color: #fff; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 1px 10px rgba(0, 0, 0, .16); }
.btn-white:hover { color: var(--blue-dark); box-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
.btn-gray { background: #3a3a3a; color: #fff; }
.btn-gray:hover { background: #505050; color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-square { border-radius: 0; }
.btn-wide { min-width: min(100%, 360px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.actions .btn { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; padding: 8px 0; flex: none; }
.brand .logo-compact { height: 34px; width: auto; }
.brand .logo-wide { display: none; width: 360px; height: auto; }
.nav, .header-cta { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: #555; text-decoration: none; font-size: .97rem; font-weight: 500; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--black); }
.nav a[aria-current="page"] { color: var(--black); border-bottom-color: var(--black); }
.menu > summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; cursor: pointer; color: var(--black); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .icon { width: 28px; height: 28px; }
.menu .menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: block; }
/* Closed, the panel must take no space at all: newer browsers still lay out the inside
   of a closed <details>, which would push the page wider than the phone. */
.menu:not([open]) .menu-panel { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .15); padding: 8px 16px 20px; display: grid; gap: 10px; }
.menu-panel nav { display: flex; flex-direction: column; margin-bottom: 6px; }
.menu-panel nav a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu-panel nav a[aria-current="page"] { color: var(--blue); }

/* ---------- Hero (home) and page heroes ---------- */
.hero, .page-hero { position: relative; color: #fff; background: radial-gradient(ellipse at 80% 30%, #0b3557 0%, rgba(11, 53, 87, 0) 60%), linear-gradient(120deg, #030507 0%, #06121d 55%, #0a2a45 100%); overflow: hidden; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: url("/brand/network.svg") center / cover no-repeat; opacity: .9; pointer-events: none; }
.hero > .wrap, .page-hero > .wrap { position: relative; }
.hero { padding: 48px 0 56px; }
.hero-eyebrow { font-weight: 500; font-style: italic; font-size: 1rem; color: #fff; margin-bottom: 14px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.h1-lead { display: block; font-size: 1.3rem; font-weight: 700; color: #dbe9f5; line-height: 1.3; margin-bottom: 6px; }
.h1-main { display: block; font-size: 2.35rem; font-weight: 900; line-height: 1.1; color: #fff; }
.hero-sub { font-size: 1.05rem; font-weight: 600; color: #e8eef4; max-width: 600px; margin-bottom: 24px; }
.page-hero { padding: 40px 0 44px; }
.page-hero h1 { color: #fff; font-size: 2rem; }
.page-hero h1 .h1-lead { font-size: 1.3rem; }
.page-hero h1 .h1-main { font-size: 2.2rem; }
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero .lede { color: #cfd8e1; max-width: 720px; }
.page-hero .lede a, .page-hero .hero-note a { color: #fff; }
.hero-note { color: #cfd8e1; font-size: .92rem; margin: 10px 0 0; }

/* The four directories: tiles in the hero, jump links on service pages */
.dir-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dir-tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; min-height: 44px; padding: 14px 16px; background: #fff; color: var(--ink); border-radius: 10px; border-top: 4px solid var(--light-gray); box-shadow: var(--shadow-lg); text-decoration: none; }
.dir-tile:hover { box-shadow: 0 0 0 3px var(--sky-blue), var(--shadow-lg); }
.dir-tile[aria-current="page"] { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
.dir-icon { grid-row: 1 / 4; width: 36px; height: 36px; color: var(--muted); margin-top: 2px; }
.dir-name { font-weight: 900; font-size: 1.2rem; color: var(--black); line-height: 1.25; }
.dir-line { color: var(--text); font-size: .92rem; line-height: 1.4; }
.dir-count { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 800; font-size: .88rem; color: var(--blue); }
.dir-go { width: 18px; height: 18px; }
.dir-premium { border-top-color: var(--black); }
.dir-premium .dir-icon { color: var(--black); }
.dir-pro { border-top-color: var(--blue); }
.dir-pro .dir-icon { color: var(--blue); }
.dir-verified { border-top-color: var(--mid-blue); }
.dir-verified .dir-icon { color: var(--mid-blue); }
.page-hero .dir-tiles { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.page-hero .dir-tile { grid-template-columns: 26px 1fr; column-gap: 8px; padding: 10px 12px; }
.page-hero .dir-icon { width: 24px; height: 24px; }
.page-hero .dir-name { font-size: 1rem; }
.page-hero .dir-line { display: none; }
.page-hero .dir-count { margin-top: 2px; font-size: .82rem; }
.jump { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; text-decoration: none; }
.jump a:hover { background: rgba(255, 255, 255, .22); }
.jump .icon { color: var(--sky-blue); }
.jump a span { background: #fff; color: var(--black); border-radius: 999px; padding: 1px 8px; font-size: .8rem; font-weight: 800; }
.section-icon { width: 26px; height: 26px; color: var(--blue); vertical-align: -4px; margin-right: 10px; }
.section-h a { color: inherit; text-decoration: none; }
.section-h a:hover { color: var(--blue); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; color: var(--ink); font-size: .92rem; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9ced6; border-radius: 6px; background: #fff; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(19, 128, 203, .25); outline-offset: 0; }

/* ---------- Statement band (black, rounded bottom) ---------- */
.statement { background: var(--black); color: #fff; border-radius: 0 0 32px 32px; padding: 72px 0 48px; position: relative; }
.statement-row { display: grid; justify-items: center; text-align: center; gap: 18px; position: relative; }
.pill { position: absolute; top: -52px; left: 16px; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; padding: 10px 20px; border-radius: 999px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pill:hover { background: var(--blue-dark); color: #fff; }
.statement-mark { width: 250px; height: auto; }
.statement h2 { color: #fff; font-size: 1.75rem; font-weight: 900; margin: 0 0 8px; }
.statement p { color: var(--blue); font-size: 1.25rem; font-weight: 700; margin: 0; }

/* ---------- Two-column sections ---------- */
.split { padding: 56px 0; overflow-x: hidden; overflow-x: clip; }
.split-row { display: grid; gap: 32px; align-items: center; }
.big-h { font-size: 1.95rem; font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.big-h .h-lead { display: block; font-size: .62em; color: var(--black); margin-bottom: 4px; }
.split-text p { color: var(--text); line-height: 1.9; }
.split-art { display: flex; justify-content: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--blue); margin-top: .28em; stroke-width: 3; }

/* The Verified medal */
.medal { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px 26px; width: 100%; max-width: 420px; position: relative; }
.medal-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.medal-icon { width: 64px; height: 64px; padding: 12px; border-radius: 50%; background: var(--blue); color: #fff; }
.medal-top span { font-size: 2rem; font-weight: 800; color: var(--black); }
.medal ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.medal li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.medal li .icon { width: 26px; height: 26px; color: var(--blue); }

/* The phone mock-up */
.phone-mock { width: 270px; background: var(--black); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--gray-bg); border-radius: 30px; padding: 16px 14px 18px; min-height: 500px; font-size: 12px; line-height: 1.45; color: var(--ink); position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 6px; border-radius: 4px; background: #d7dbe0; }
.pm-bar { display: flex; justify-content: center; padding: 12px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pm-bar img { height: 24px; width: auto; }
.pm-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 2px; }
.pm-title { font-size: 20px; font-weight: 800; color: var(--black); margin: 0 0 12px; }
.pm-card { background: #fff; border: 2px solid var(--blue); border-radius: 12px; padding: 12px; }
.pm-label { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; border-radius: 6px; padding: 5px 8px; margin: 0 0 8px; }
.pm-name { font-size: 16px; font-weight: 800; color: var(--black); margin: 0 0 6px; }
.pm-badge { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--blue-dark); margin: 0 0 10px; }
.pm-badge .icon { color: var(--blue); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.pm-grid p { margin: 0; background: var(--gray-bg); border-radius: 6px; padding: 6px 8px; color: var(--muted); }
.pm-grid b { display: block; color: var(--black); font-size: 15px; }
.pm-call { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 6px; padding: 9px; margin: 0; }
.pm-note { text-align: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin: 14px 0 0; }

/* ---------- Features (mark + cards) ---------- */
.features { padding: 56px 0; }
.center-h { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.center-sub { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.features-row { display: grid; gap: 28px; align-items: center; margin-top: 28px; }
.features-mark { width: 260px; height: auto; justify-self: center; }
.feature-list { display: grid; gap: 14px; }
.feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 18px 20px; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex: none; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.feature p { margin: 0; font-size: .95rem; }

/* ---------- Stats band (blue to black) ---------- */
.stats { background: linear-gradient(100deg, var(--blue) 0%, #0b4a76 38%, #061624 70%, #000 100%); color: #fff; padding: 56px 0; text-align: center; }
.stats h2 { color: #fff; font-size: 1.7rem; margin-bottom: 32px; font-weight: 700; }
.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin: 0; }
.stats-row dt { font-size: 2.6rem; font-weight: 700; line-height: 1.1; color: #fff; }
.stats-row dd { margin: 8px auto 0; color: #c7dcec; max-width: 230px; font-size: .95rem; }

/* ---------- Dark band (for businesses) ---------- */
.dark-band { background: radial-gradient(ellipse at 30% 40%, #2e2e2e 0%, #161616 70%); color: #e9e9e9; padding: 56px 0; }
.dark-row { display: grid; gap: 32px; align-items: center; }
.dark-text img { width: 250px; height: auto; margin-bottom: 24px; }
.blue-h { color: var(--blue); font-size: 2.1rem; font-weight: 900; margin-bottom: 16px; }
.dark-text p { font-size: 1.05rem; line-height: 1.8; }
.tier-row { display: grid; gap: 14px; }
.tier-dark { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; }
.tier-dark h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.tier-price { color: var(--blue-light); font-weight: 700; margin: 2px 0 10px; }
.tier-dark p:not(.tier-price) { color: #cfcfcf; font-size: .95rem; flex: 1; }

/* ---------- Service cards ---------- */
.services { background: linear-gradient(var(--gray-bg) 0, var(--gray-bg) 160px, #fff 160px); padding: 56px 0 40px; }
.service-group + .service-group { margin-top: 28px; }
.group-h { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 800; }
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-card { background: #fff; box-shadow: var(--shadow); }
.service-link { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 18px 10px 0; text-decoration: none; color: var(--ink); }
.service-icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 10px; stroke-width: 1.75; }
.service-name { font-weight: 800; font-size: 1rem; line-height: 1.25; color: var(--black); margin-bottom: 4px; }
.service-blurb { font-size: .85rem; color: var(--muted); line-height: 1.45; margin-bottom: 12px; flex: 1; }
.service-link .count { font-size: .78rem; font-weight: 700; color: var(--ok); margin-bottom: 10px; }
.service-link .btn { margin: 0 -10px; width: calc(100% + 20px); font-size: .88rem; padding: 8px 10px; min-height: 44px; }
.service-link:hover .btn { background: var(--blue-dark); }
.service-link:hover .service-name { color: var(--blue); }
.tile-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; background: #fff; box-shadow: var(--shadow); border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .93rem; line-height: 1.25; }
.tile:hover { color: var(--blue); }
.tile-icon { width: 24px; height: 24px; color: var(--blue); }

/* ---------- Black band + towns ---------- */
.black-band { background: var(--black); padding: 28px 0; text-align: center; }
.black-band h2 { color: #fff; font-size: 1.4rem; margin: 0; }
.towns { padding: 40px 0 8px; }
.town-block { text-align: center; padding: 24px 0; }
.town-block + .town-block { border-top: 1px solid #bfc3c9; }
.town-block h3 { font-size: 1.35rem; margin: 0; }
.town-block p { font-size: 1.2rem; color: var(--ink); margin: 0 0 18px; }
.town-block .chips { justify-content: center; }

/* ---------- Chips, cards, badge, evidence ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a, .chips.static li { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .1); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.chips a .icon { color: var(--blue); }
.chips a:hover { color: var(--blue); }
.cards { display: grid; gap: 16px; }
.card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 20px; margin: 0 0 16px; }
.cards .card { margin: 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head a { text-decoration: none; color: var(--black); }
.card-head a:hover { color: var(--blue); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: .85rem; text-decoration: none; line-height: 1.35; }
.badge .icon { width: 20px; height: 20px; color: var(--blue); }
.badge:hover { color: var(--blue-dark); background: #dcebf8; }
.page-hero .badge { background: rgba(255, 255, 255, .1); color: #fff; margin-top: 6px; padding: 8px 14px 8px 8px; font-size: .92rem; }
.page-hero .badge .icon { color: var(--blue-light); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f0f1f3; color: var(--muted); font-size: .82rem; font-weight: 700; }
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 14px 0; }
.evidence div { background: #fafbfc; padding: 10px 12px; }
.evidence dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }
.evidence dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 800; color: var(--black); }
.evidence dd .muted { font-size: .85rem; font-weight: 600; }
.match { border-top: 4px solid var(--line); }
.match-member { border-top-color: var(--blue); }
.match-top { border-top-color: var(--black); }
.match-label { font-size: .92rem; font-weight: 700; color: var(--blue-dark); background: var(--blue-soft); border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; }
.match-top .match-label { background: #f0f1f3; color: var(--ink); }
.match-other .match-label { background: #f0f1f3; color: var(--muted); }
.match-name { font-size: 1.55rem; }
/* Premium members: featured at the top of pages, logo big */
.premium-band { padding: 36px 0 8px; }
.premium-h { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 18px; }
.premium-crown { width: 30px; height: 30px; color: var(--blue); }
.premium-grid { display: grid; gap: 18px; }
.premium-card { display: grid; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); border-top: 4px solid var(--black); margin: 0 0 18px; }
.premium-grid .premium-card { margin: 0; }
.premium-logo { display: flex; align-items: center; justify-content: center; padding: 26px 20px; min-height: 190px; background: #fff; border-bottom: 1px solid var(--line); text-decoration: none; }
.premium-logo img { width: min(100%, 300px); height: auto; max-height: 200px; object-fit: contain; }
.premium-logo-text { font-weight: 900; font-size: 1.7rem; line-height: 1.15; color: var(--black); text-align: center; }
.premium-body { padding: 20px 22px 24px; }
.premium-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--black); color: #fff; font-size: .8rem; font-weight: 800; padding: 5px 12px 5px 10px; border-radius: 999px; margin: 0 0 10px; }
.premium-tag .icon { color: var(--sky-blue); width: 16px; height: 16px; }
.premium-name { font-size: 1.45rem; margin: 0 0 4px; }
.premium-name a { color: var(--black); text-decoration: none; }
.premium-name a:hover { color: var(--blue); }
.premium-body .badge { margin: 6px 0 2px; }
.premium-body > .btn-dark { display: flex; width: 100%; justify-content: center; }
.hero-logo { display: inline-flex; background: #fff; border-radius: 10px; padding: 14px 20px; margin-bottom: 18px; }
.hero-logo img { width: min(70vw, 260px); height: auto; max-height: 150px; object-fit: contain; }

/* Search results: Premium, Pro and Verified, and the "nobody yet" card */
.match-premium { border-top-color: var(--black); }
.match-pro { border-top-color: var(--blue); }
.match-verified { border-top-color: var(--sky-blue); }
.tag-premium { background: var(--black); color: #fff; }
.tag-pro { background: var(--blue); color: #fff; }
.card-head + .badge { margin-bottom: 8px; }
.no-match { text-align: center; padding: 28px 22px; }
.no-match-icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 10px; }
.no-match h2 { font-size: 1.3rem; }

/* "Let them know" */
.mention { display: flex; gap: 14px; align-items: flex-start; background: var(--black); color: #fff; border-radius: 8px; padding: 18px 20px; margin: 0 0 24px; }
.mention p { margin: 0; color: #e8eef4; }
.mention strong { color: #fff; }
.mention-icon { width: 28px; height: 28px; color: var(--sky-blue); margin-top: 2px; }
.g-rating { display: flex; align-items: baseline; gap: 6px; font-size: 1.1rem; margin: 4px 0 10px; color: var(--black); }
.g-stars { color: var(--blue); font-size: 1.3rem; line-height: 1; }
.g-line { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; color: var(--ink); }
.g-line .icon { color: var(--blue); margin-top: .3em; }
.attribution { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.match-alt .match-name { font-size: 1.25rem; }
.listings { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.listing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.listing:first-child { border-top: 0; }
.listing a { color: var(--black); }
.phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; min-height: 44px; color: var(--blue) !important; }
.facts { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.facts .icon { color: var(--blue); margin-top: .3em; }

/* ---------- Notices, guide, prose, examples ---------- */
.notice { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 6px; margin: 0 0 18px; color: var(--ink); }
.guide { display: flex; gap: 16px; align-items: flex-start; background: var(--gray-bg); border-radius: 8px; padding: 20px; margin: 32px 0 0; }
.guide-icon { width: 32px; height: 32px; color: var(--blue); }
.guide h2 { font-size: 1.15rem; margin-bottom: 6px; }
.guide p { margin: 0; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .55em; }
.prose .check-list { padding-left: 0; }
.example { background: var(--gray-bg); border-left: 4px solid var(--blue); border-radius: 6px; padding: 16px 18px; margin-bottom: 12px; }
.example p { margin: 0; }
.footer-tagline { font-weight: 500; font-style: italic; color: #fff; }
.footer-tagline.dark { color: var(--blue); font-size: 1.1rem; }

/* ---------- Tiers (for businesses page) ---------- */
.tiers { display: grid; gap: 16px; }
.tier { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 24px; border-top: 4px solid var(--line); }
.tier-main { border-top-color: var(--blue); }
.tier-flag { display: inline-block; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.tier .price { font-size: 1.6rem; color: var(--black); font-weight: 800; margin-bottom: .6em; }
.tier .check-list { margin: 0; }

/* Checker and results */
.checker h3 { font-size: 1.4rem; }
.star-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.result { margin-top: 16px; padding: 14px 16px; border-radius: 6px; }
.result p:last-child { margin-bottom: 0; }
.result-title { font-weight: 800; font-size: 1.1rem; color: var(--black); }
.result-verified { background: var(--ok-soft); border-left: 4px solid var(--ok); }
.result-not_eligible, .result-not_yet_eligible { background: var(--warn-soft); border-left: 4px solid var(--warn); }

/* Forms */
.form { display: grid; gap: 14px; }
.form h2, .form h3 { margin: 0; }
.field-row { display: grid; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.check input { width: 24px; min-height: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.lead-box { margin: 0 0 18px; }
.lead-box > summary { list-style: none; width: 100%; }
.lead-box > summary::-webkit-details-marker { display: none; }
.lead-box[open] > summary { margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer: charcoal, black links band, charcoal bar ---------- */
.site-footer { color: #f1f1f1; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-top { background: var(--charcoal); padding: 44px 0 32px; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 250px; height: auto; display: block; }
.footer-about p { color: #ececec; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-links { background: var(--black); padding: 24px 0; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.footer-links a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { background: var(--charcoal); padding: 16px 0; font-size: .85rem; }
.footer-bottom-row { display: grid; gap: 4px; }
.footer-bottom p { margin: 0; color: #e0e0e0; }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .header-row { min-height: 88px; }
  .brand .logo-compact { display: none; }
  .brand .logo-wide { display: block; }
  h1 { font-size: 2.6rem; }
  .h1-lead { font-size: 1.7rem; }
  .h1-main { font-size: 3.1rem; }
  .page-hero h1 { font-size: 2.6rem; }
  .page-hero h1 .h1-main { font-size: 2.8rem; }
  .pill { left: 24px; }
  .statement h2 { font-size: 2.4rem; }
  .statement p { font-size: 1.6rem; }
  .big-h { font-size: 2.6rem; }
  .center-h { font-size: 2.5rem; }
  .stats-row dt { font-size: 3.4rem; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards .evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .star-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .premium-body > .btn-dark { display: inline-flex; width: auto; }
  .actions { display: flex; flex-wrap: wrap; }
  .lead-box > summary { width: auto; display: inline-flex; }
  .tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom-row { grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
  .black-band h2 { font-size: 2rem; }
}

@media (min-width: 900px) {
  .section { padding: 56px 0; }
  .hero { padding: 120px 0 130px; }
  .page-hero { padding: 64px 0 60px; }
  .dir-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .dir-tile { grid-template-columns: 1fr; row-gap: 6px; padding: 20px 18px; min-height: 100%; }
  .dir-icon { grid-row: auto; width: 34px; height: 34px; margin: 0 0 4px; }
  .dir-count { margin-top: auto; padding-top: 6px; }
  .page-hero .dir-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .page-hero .dir-tile { grid-template-columns: 26px 1fr; padding: 14px 16px; }
  .page-hero .dir-icon { grid-row: 1 / 4; margin: 0; }
  .page-hero .dir-name, .page-hero .dir-line, .page-hero .dir-count { grid-column: 2; }
  .page-hero .dir-line { display: block; }
  .statement { padding: 96px 0 72px; border-radius: 0 0 48px 48px; }
  .statement-row { grid-template-columns: 300px 1fr; text-align: center; gap: 40px; }
  .statement-mark { width: 290px; }
  .pill { top: -76px; }
  .statement h2 { font-size: 3rem; }
  .split { padding: 88px 0; }
  .split-row { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .split-flip .split-row { grid-template-columns: 1fr 1.15fr; }
  .big-h { font-size: 3.2rem; }
  .features-row { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .features-mark { width: 380px; }
  .center-h { font-size: 3rem; }
  .stats { padding: 88px 0; }
  .stats h2 { font-size: 2.3rem; margin-bottom: 48px; }
  .stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-row dt { font-size: 4rem; }
  .dark-band { padding: 80px 0; }
  .dark-row { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .blue-h { font-size: 3.2rem; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .service-link { padding: 26px 16px 0; }
  .service-link .btn { margin: 0 -16px; width: calc(100% + 32px); }
  .service-icon { width: 52px; height: 52px; }
  .service-name { font-size: 1.15rem; }
  .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .premium-card { grid-template-columns: minmax(300px, 1fr) 1.4fr; }
  .premium-logo { border-bottom: 0; border-right: 1px solid var(--line); min-height: 100%; }
  .premium-h { font-size: 1.9rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr .9fr; gap: 48px; }
  .town-block h3 { font-size: 1.6rem; }
  .town-block p { font-size: 1.45rem; }
}

/* The full header (360px logo, five links, two buttons) needs about 1300px. */
@media (min-width: 1360px) {
  .header-row { min-height: 96px; }
  .nav { display: flex; gap: 24px; }
  .nav a, .header-cta .btn { white-space: nowrap; }
  .header-cta { display: flex; gap: 14px; }
  .menu { display: none; }
}

@media (min-width: 1100px) {
  .h1-lead { font-size: 2.1rem; }
  .h1-main { font-size: 3.7rem; }
}
