/* BusinessOwnerAI site styles
   Layout: one narrow reading column, full-width colored bands for the show and the offers;
   cards only for episodes and forms. Mobile first. */
:root {
  --paper: #f4f6f5;
  --panel: #ffffff;
  --ink: #18212b;
  --muted: #55606b;
  --line: #d6dcdf;
  --red: #b8312a;        /* the Home Hero tool-belt red: the one accent */
  --red-ink: #ffffff;
  --steel: #2f4a61;      /* channel color, used for bands */
  --steel-ink: #eef3f7;
  --soft: #e7ecee;
  --ok: #1f6b45;
  --warn-bg: #fff4d6;
  --warn-ink: #5a4300;
  --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: 2.3rem;
  --step-4: clamp(2.6rem, 7vw, 4.2rem);
  --radius: 6px;
  --wrap: 70rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #11161b; --panel: #192129; --ink: #e8edf0; --muted: #a3afb9; --line: #2c3742;
    --red: #e0584f; --red-ink: #160707; --steel: #20364a; --steel-ink: #e6eef5; --soft: #1e2831;
    --ok: #6fcf9a; --warn-bg: #3a3014; --warn-ink: #f6e3a8; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #11161b; --panel: #192129; --ink: #e8edf0; --muted: #a3afb9; --line: #2c3742;
  --red: #e0584f; --red-ink: #160707; --steel: #20364a; --steel-ink: #e6eef5; --soft: #1e2831;
  --ok: #6fcf9a; --warn-bg: #3a3014; --warn-ink: #f6e3a8; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: var(--step-4); font-weight: 800; text-transform: uppercase; }
h2 { font-size: var(--step-3); font-weight: 800; text-transform: uppercase; }
h3 { font-size: var(--step-1); font-weight: 700; font-family: var(--font-body); line-height: 1.25; }
p { margin: 0; max-width: 65ch; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.stack { display: grid; gap: 1rem; }
.stack-lg { display: grid; gap: 2rem; }
.label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* Preview ribbon (turned off in main.js before launch) */
.preview-ribbon {
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: var(--step--1);
}
.preview-ribbon .wrap { padding-block: 0.5rem; }

/* Header */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.75rem; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--red); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* Sections */
.section { padding-block: 3.5rem; }
.section-tight { padding-block: 2.25rem; }
.band { background: var(--steel); color: var(--steel-ink); }
.band .label, .band .muted { color: var(--steel-ink); opacity: 0.85; }
.band a:not(.btn) { color: var(--steel-ink); }
.soft { background: var(--soft); }

.hero { padding-block: 3rem 3.5rem; }
.hero .stack { gap: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.3rem;
  font: 700 1.05rem/1.2 var(--font-body);
  border-radius: var(--radius); border: 2px solid var(--red);
  background: var(--red); color: var(--red-ink); text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.band .btn-ghost { color: var(--steel-ink); border-color: var(--steel-ink); }
.btn-big { min-height: 3.6rem; font-size: 1.2rem; padding-inline: 1.8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Grids */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 > *, .grid-3 > * { min-width: 0; }

/* Show block on the home page */
.show-card { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 760px) { .show-card { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.show-mark {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 6.5rem); line-height: 0.9; color: var(--steel-ink);
}
.show-mark span { color: var(--red); display: block; }
.segments { display: grid; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.segments li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; border-top: 1px solid color-mix(in srgb, var(--steel-ink) 25%, transparent); padding-top: 0.6rem; }
.segments li > * { min-width: 0; }
.segments strong { font-family: var(--font-label); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 420px) { .segments li { grid-template-columns: 1fr; gap: 0.15rem; } }
.signoff { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; line-height: 1.15; text-transform: uppercase; }

/* Episodes */
.episodes { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.episode {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-items: baseline;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.episode > * { min-width: 0; }
.episode .ep-no { font-family: var(--font-label); font-size: 0.85rem; color: var(--red); font-weight: 600; grid-row: span 3; }
.episode h3 { font-size: 1.2rem; }
.episode .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.tag {
  display: inline-block; font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 3px; padding: 0.1rem 0.45rem; color: var(--muted); background: var(--paper);
}
.tag-ai { border-color: var(--steel); color: var(--steel); }
.band .tag-ai, :root[data-theme="dark"] .tag-ai { color: var(--steel-ink); border-color: var(--steel-ink); background: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-ai { color: var(--steel-ink); border-color: var(--steel-ink); background: transparent; } }
.tag-ready { border-color: var(--ok); color: var(--ok); }

/* Three-step offer (Mel's pitch shape) */
.steps3 { display: grid; gap: 1rem; counter-reset: s; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.steps3 li { border-top: 3px solid var(--red); padding-top: 0.9rem; display: grid; gap: 0.4rem; min-width: 0; }
.steps3 li::before { counter-increment: s; content: "Step " counter(s); font-family: var(--font-label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.steps3.is-stacked { grid-template-columns: 1fr; }
.band .steps3 li::before { color: var(--steel-ink); opacity: 0.85; }

.checks { padding: 0; margin: 0; list-style: none; display: grid; gap: 0.7rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.75rem; height: 0.4rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.counties { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.counties li { font-weight: 700; border: 2px solid currentColor; border-radius: 999px; padding: 0.2rem 0.85rem; font-size: 0.95rem; }

/* Forms */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .form-card { padding: 2rem; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.98rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.8rem; min-height: 3rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent); }
input[type="file"] { font: inherit; font-size: var(--step--1); max-width: 100%; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; background: var(--soft); border-radius: var(--radius); padding: 0.9rem 1rem; font-size: var(--step--1); line-height: 1.5; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; accent-color: var(--red); }
.consent > * { min-width: 0; }
.review-flag { display: inline-block; font-family: var(--font-label); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--warn-bg); color: var(--warn-ink); border-radius: 3px; padding: 0.05rem 0.4rem; margin-left: 0.35rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 0.9rem 1rem; font-weight: 600; }
.form-status.is-info { background: var(--warn-bg); color: var(--warn-ink); }
.form-status.is-error { background: color-mix(in srgb, var(--red) 15%, var(--panel)); color: var(--ink); border: 1px solid var(--red); }

.call-box { display: grid; gap: 0.6rem; background: var(--panel); border: 2px solid var(--red); border-radius: var(--radius); padding: 1.25rem; }
.call-number { font-family: var(--font-label); font-size: 1.3rem; font-weight: 600; user-select: all; }

/* Draft marks (preview only) */
.draft-on [data-draft] { position: relative; outline: 1px dashed color-mix(in srgb, var(--warn-ink) 55%, transparent); outline-offset: 4px; }
.draft-on [data-draft]::after {
  content: "Draft copy"; position: absolute; top: -0.9rem; right: 0;
  font: 600 0.62rem/1 var(--font-label); text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--warn-bg); color: var(--warn-ink); padding: 0.2rem 0.35rem; border-radius: 3px; pointer-events: none;
}

/* Legal pages */
.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 1rem 1.1rem; font-weight: 600; max-width: 46rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { padding-block: 2rem; display: grid; gap: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.foot-links a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Areas, path and lead card ---------- */
.counties a { color: inherit; text-decoration: none; }
.counties a:hover { text-decoration: underline; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-family: var(--font-label); font-size: 0.8rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.status-pill { justify-self: start; font-family: var(--font-label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid var(--ok); color: var(--ok); border-radius: 999px; padding: 0.2rem 0.75rem; }
.status-pill.is-soon { border-color: var(--muted); color: var(--muted); }
.place-line { font-family: var(--font-label); font-size: 0.9rem; color: var(--muted); }
.served-note { border-radius: var(--radius); padding: 0.7rem 0.9rem; font-weight: 600; font-size: 0.95rem; }
.served-note.is-yes { background: color-mix(in srgb, var(--ok) 14%, var(--panel)); color: var(--ok); }
.served-note.is-no { background: var(--warn-bg); color: var(--warn-ink); }

.area-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.area-card { display: grid; gap: 0.35rem; align-content: start; background: var(--panel); border: 1px solid var(--line);
  border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; min-width: 0; }
a.area-card:hover { border-color: var(--red); }
.area-card strong { font-family: var(--font-display); font-size: var(--step-2); text-transform: uppercase; line-height: 1; }
.area-card a { color: var(--ink); }
.area-card.is-static .small a { color: var(--muted); }
.state-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem 1rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.state-grid li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.state-grid a { color: var(--ink); text-decoration: none; }
.state-grid a:hover { color: var(--red); text-decoration: underline; }
.state-grid .is-live a { font-weight: 700; }
.county-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem 1rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); color: var(--muted); }
.town-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.town-grid a { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.town-grid a:hover { border-color: var(--red); color: var(--red); }
.table-wrap { overflow-x: auto; max-width: 30rem; }
.zip-table { border-collapse: collapse; width: 100%; }
.zip-table th, .zip-table td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); }
.zip-table th { font-family: var(--font-label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.zip-table td:last-child { font-family: var(--font-label); }
.ask-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ask-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.ask-q { font-weight: 700; color: var(--ink); }
.trade-groups { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }
.trade-groups details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; min-width: 0; }
.trade-groups summary { cursor: pointer; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.chips a { font-size: 0.9rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--red); color: var(--red); }
select optgroup { font-weight: 700; }

/* The five-step path, homeowner to business owner */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.path li { position: relative; display: grid; gap: 0.35rem; padding: 0 0 1.75rem 3.5rem; min-width: 0; }
.path li::before { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: 0; width: 3px; background: color-mix(in srgb, var(--steel-ink) 35%, transparent); }
.path li:last-child::before { display: none; }
.path-dot { position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--steel-ink); color: var(--steel); font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.path-kicker { font-family: var(--font-label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.path h3 { color: var(--steel-ink); }
.path p { opacity: 0.92; }
.path li.is-handoff .path-dot { background: var(--red); color: var(--red-ink); }
.path li.is-handoff h3 { color: var(--steel-ink); }
.path-note { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; text-transform: uppercase; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .path li { padding: 3.6rem 0 0 0; }
  .path li::before { left: 2.6rem; right: -1.25rem; top: 1.2rem; bottom: auto; width: auto; height: 3px; }
  .path li.is-handoff { background: color-mix(in srgb, var(--red) 22%, transparent); border-radius: var(--radius); padding: 3.6rem 0.9rem 0.9rem; margin-top: -0.9rem; }
  .path li.is-handoff .path-dot { left: 0.9rem; top: 0.9rem; }
}

/* Sample lead card */
.lead-card { background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; display: grid; gap: 0.6rem; align-content: start; box-shadow: 0 10px 30px -18px rgba(0,0,0,0.45); min-width: 0; }
.lead-top { display: flex; justify-content: space-between; font-family: var(--font-label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); }
.lead-trade { font-family: var(--font-display); font-size: var(--step-3); font-weight: 900; text-transform: uppercase; line-height: 1; }
.lead-where { font-family: var(--font-label); color: var(--muted); }
.lead-quote { font-size: var(--step-1); font-style: italic; }
.lead-card dl { margin: 0; display: grid; gap: 0.35rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.lead-card dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; }
.lead-card dt { font-family: var(--font-label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.lead-card dd { margin: 0; min-width: 0; }
.lead-foot { font-size: var(--step--1); color: var(--muted); }

/* Town search (towns.js): type, pick, and the town drops in as a tag */
.town-box { position: relative; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.35rem; min-height: 3rem; }
.town-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent); }
.town-box input[type="text"] { flex: 1 1 9rem; border: 0; background: transparent; min-height: 2.2rem; padding: 0.3rem 0.45rem; box-shadow: none; }
.town-box input[type="text"]:focus { box-shadow: none; }
.town-tags { display: contents; list-style: none; margin: 0; padding: 0; }
.town-tags li { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--steel); color: var(--steel-ink);
  border-radius: 999px; padding: 0.3rem 0.35rem 0.3rem 0.8rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.town-tags button { border: 0; background: color-mix(in srgb, var(--steel-ink) 18%, transparent); color: inherit; border-radius: 999px;
  width: 1.7rem; height: 1.7rem; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.town-tags button:hover { background: var(--red); color: var(--red-ink); }
.town-list { position: absolute; z-index: 20; left: -1.5px; right: -1.5px; top: calc(100% + 4px); margin: 0; padding: 0.3rem; list-style: none;
  background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgb(0 0 0 / 0.16);
  max-height: 20rem; overflow-y: auto; }
.town-list li { display: grid; grid-template-columns: 1fr; padding: 0.6rem 0.7rem; border-radius: 4px; cursor: pointer; }
.town-list li[aria-selected="true"], .town-list li:hover { background: var(--soft); }
.town-name { font-weight: 700; }
.town-sub { grid-column: 1; font-size: var(--step--1); color: var(--muted); }
.ready-mark { display: inline-grid; place-items: center; flex: none; width: 1.1rem; height: 1.1rem; margin-right: 0.35rem;
  border-radius: 50%; background: var(--ok); color: var(--panel); font-size: 0.7rem; font-weight: 800; line-height: 1; vertical-align: -0.12em; }
.town-tags .ready-mark { margin-right: 0; box-shadow: 0 0 0 2px var(--steel-ink); }
.served-note.is-yes::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; margin-right: 0.45rem;
  border-radius: 50%; background: var(--ok); color: var(--panel); font-size: 0.7rem; font-weight: 800; line-height: 1; vertical-align: -0.12em; }
.town-own { color: var(--muted); font-style: italic; }
.zip-picks { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.2rem; }
.zip-picks .hint { flex-basis: 100%; }
.zip-picks button { font: inherit; font-family: var(--font-label); font-size: 0.9rem; border: 1.5px solid var(--line); background: var(--panel);
  color: var(--ink); border-radius: 999px; padding: 0.25rem 0.75rem; cursor: pointer; }
.zip-picks button:hover { border-color: var(--red); color: var(--red); }

/* Report card grades (For businesses) */
.grades { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.grades li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.8rem; align-items: start; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 0.9rem; }
.grade-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--red);
  border: 2px solid var(--red); border-radius: 4px; text-align: center; padding: 0.35rem 0.1rem; }
.report-plus { background: var(--steel); color: var(--steel-ink); border-radius: var(--radius); padding: 0.8rem 1rem; margin: 0; }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 0.75rem; top: -3rem; z-index: 50; background: var(--red); color: var(--red-ink); font-weight: 700;
  padding: 0.6rem 1rem; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 0.75rem; }
.prose h2 { margin-top: 1.5rem; }
