/* ============================================================
   Build Radar — marketing site styles (homepage + /for/* pages).
   The dashboard (app.html) uses style.css; this file is separate
   so marketing pages stay light. Maryland flag palette.
   ============================================================ */

:root {
  --gold: #eaaa00;
  --gold-hover: #d19800;
  --gold-soft: #fcf1d2;
  --gold-ink: #6e5000;
  --black: #141210;
  --red: #a6192e;
  --bg: #fbf9f4;
  --surface: #ffffff;
  --ink: #141210;
  --ink-2: #4a4640;
  --ink-3: #7d776e;
  --line: #e7e1d5;
  --dark-2: #221f1b;
  --good: #2f7a4b;
  --radius: 12px;
  --paly: repeating-linear-gradient(90deg, var(--gold) 0 10px, var(--black) 10px 20px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* even on elements styled display:flex (.btn) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.stripe { height: 6px; background: var(--paly); }

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav { padding: 14px 0; border-bottom: 1px solid var(--line); background: var(--surface); position: relative; z-index: 50; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav-links > a { text-decoration: none; }
.nav-links > a:hover { color: var(--ink); }

/* "Who it's for" dropdown */
.dd { position: relative; }
.dd-btn {
  font: inherit; color: var(--ink-2); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
}
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); }
.dd-btn svg { width: 12px; height: 12px; transition: transform .15s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: -16px; width: 340px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(40,30,10,.35); padding: 8px;
}
.dd-menu::before { content: ""; display: block; height: 4px; margin: -8px -8px 8px; background: var(--paly); border-radius: 11px 11px 0 0; }
/* Invisible bridge above the menu, covering the gap up to the button, so
   moving the mouse down to a link never leaves the dropdown. */
.dd-menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }
.dd.open .dd-menu { display: block; }
.dd-menu a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px;
  border-radius: 8px; text-decoration: none; color: var(--ink);
}
.dd-menu a:hover, .dd-menu a:focus-visible { background: #f6f2e8; outline: none; }
.dd-menu a b { font-size: 14px; font-weight: 600; }
.dd-menu a span { grid-column: 1; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.dd-menu a em {
  grid-column: 2; grid-row: 1; align-self: start; font-style: normal; font-size: 11px; font-weight: 600;
  background: #f1eee8; color: var(--ink-3); padding: 2px 8px; border-radius: 999px;
}
.dd-menu a[aria-current="page"] b::after { content: " ·  you're here"; font-weight: 500; color: var(--ink-3); font-size: 12px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: #c99200; }
.btn-primary:hover { background: var(--gold-hover); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-dark { background: var(--black); color: var(--gold); border-color: var(--black); }
.btn-dark:hover { background: #2b2722; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 60px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px 6px 8px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow img { width: 18px; height: 18px; border-radius: 3px; }
.eyebrow .where, .eyebrow .live { white-space: nowrap; }
.eyebrow .live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.eyebrow .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
h1 {
  font-family: Archivo, sans-serif; font-weight: 800;
  font-size: clamp(34px, 4.8vw, 54px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 20px;
}
.hl { background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%); padding: 0 2px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fine { font-size: 13px; color: var(--ink-3); }

/* Report-style card (hero visual) */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 28px 56px -28px rgba(40,30,10,.32);
  overflow: hidden; font-size: 14px;
}
.card-bar { height: 5px; background: var(--paly); }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-kicker { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; margin-bottom: 4px; gap: 12px; }
.card-title { font-weight: 600; font-size: 15px; }
.card-body { padding: 4px 20px 6px; }
.card-foot { padding: 12px 20px 16px; color: var(--ink-3); font-size: 13px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row-main { font-weight: 600; }
.row-meta { color: var(--ink-3); font-size: 13px; grid-column: 1 / 2; }
.tag {
  grid-row: 1 / 3; grid-column: 2; align-self: center; white-space: nowrap;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f1eee8; color: var(--ink-2);
}
.tag.gold { background: var(--gold-soft); color: var(--gold-ink); }
.tag.up { background: #e7f3eb; color: var(--good); }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 80px 0; }
.tight-top { padding-top: 0; }
.kicker { width: 44px; height: 6px; background: var(--paly); background-size: 20px 6px; margin-bottom: 18px; border-radius: 1px; }
.section-title {
  font-family: Archivo, sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-sub { color: var(--ink-2); font-size: 18px; max-width: 680px; margin-bottom: 40px; }

/* Towns strip */
.towns { padding-top: 40px; }
.towns-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.towns-list { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: Archivo, sans-serif; font-weight: 600; font-size: 17px; color: var(--ink-2); }
.towns-list span + span::before { content: "·"; margin-right: 18px; color: var(--gold); font-weight: 800; }

/* Persona cards */
.personas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.persona {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s; position: relative;
}
a.persona:hover { border-color: var(--ink-3); box-shadow: 0 18px 36px -24px rgba(40,30,10,.4); transform: translateY(-2px); }
.persona-who { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.persona h3 { font-family: Archivo, sans-serif; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.persona p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.persona-stat { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.persona-stat b { font-family: Archivo, sans-serif; font-size: 28px; font-weight: 800; }
.persona-stat span { color: var(--ink-3); font-size: 13px; }
.persona-go { margin-top: 14px; font-weight: 600; font-size: 14px; }
.persona.soon .persona-go { color: var(--ink-3); }
.soon-badge {
  position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700;
  background: #f1eee8; color: var(--ink-3); padding: 3px 10px; border-radius: 999px;
}
.persona.featured { border-top: 4px solid var(--gold); }

/* Dark band */
.dark { background: var(--black); color: #f1eee8; position: relative; }
.dark::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--paly); }
.dark .section-sub { color: #aaa398; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { background: var(--dark-2); border-radius: var(--radius); padding: 28px; border: 1px solid #2e2a25; }
.compare-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: #8f887d; text-transform: uppercase; letter-spacing: .1em; }
.compare-card.win { border-color: #5a4400; }
.compare-card.win h3 { color: var(--gold); }
.compare-card ul { list-style: none; display: grid; gap: 10px; }
.compare-card li { padding-left: 26px; position: relative; }
.compare-card li::before { content: "–"; position: absolute; left: 4px; color: #6b655c; }
.compare-card.win li::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  width: 32px; height: 32px; border-radius: 6px; background: var(--black); color: var(--gold);
  display: grid; place-items: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 15px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-top: 3px solid var(--black); padding-top: 16px; }
.stat:nth-child(2) { border-top-color: var(--gold); }
.stat:nth-child(3) { border-top-color: var(--red); }
.stat-num { font-family: Archivo, sans-serif; font-size: 48px; font-weight: 800; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-label { color: var(--ink-2); font-size: 15px; }

/* Live preview table with trade tabs */
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); background: #f6f2e8; overflow-x: auto; }
.tab {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-3); background: none; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: 8px 8px 0 0; white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 -3px 0 var(--gold) inset; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; }
.ptable td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable td.num { text-align: right; font-weight: 600; white-space: nowrap; }
.ptable .sub { color: var(--ink-3); font-size: 12px; font-weight: 400; }
.ptable .site { color: var(--gold-ink); font-size: 12px; font-weight: 600; }
.chg { font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.chg.up { color: var(--good); } .chg.down { color: var(--red); }
.chg.new { background: var(--gold-soft); color: var(--gold-ink); padding: 2px 8px; border-radius: 999px; }
.preview-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.feature { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.feature i {
  font-style: normal; width: 32px; height: 32px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-ink);
  display: grid; place-items: center; font-weight: 800; font-family: Archivo, sans-serif;
}
.feature h3 { font-size: 16px; margin-bottom: 2px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 28px 56px -36px rgba(40,30,10,.35); }
.price-card-bar { height: 6px; background: var(--paly); }
.price-card-inner { padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price { font-family: Archivo, sans-serif; font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price span { font-family: Inter, sans-serif; font-size: 17px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-note { color: var(--ink-2); margin: 12px 0 24px; }
.includes { list-style: none; display: grid; gap: 12px; }
.includes li { padding-left: 30px; position: relative; }
.includes li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 4px;
  background: var(--black); color: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
/* Two plans side by side */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tier.featured { border: 2px solid var(--black); box-shadow: 0 28px 56px -36px rgba(40,30,10,.35); }
.tier.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--paly); }
.tier-name { font: 800 13px Archivo, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.tier.featured .tier-name { color: var(--gold-ink); }
.tier .price { font-size: 52px; }
.tier-for { color: var(--ink-2); margin: 12px 0 20px; }
.tier .includes { gap: 10px; font-size: 15px; margin-bottom: 26px; }
.tier .btn { margin-top: auto; width: 100%; }
.tier-note { font-size: 13px; color: var(--ink-3); margin-top: 10px; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 780px; margin-top: 28px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin-top: 10px; }

/* Final CTA */
.final { background: var(--gold); text-align: center; }
.final .kicker { margin: 0 auto 18px; background: repeating-linear-gradient(90deg, var(--black) 0 10px, transparent 10px 20px); }
.final .section-sub { margin-left: auto; margin-right: auto; color: #3d3100; margin-bottom: 30px; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: var(--black); color: var(--gold); border-color: var(--black); }
.final .btn-primary:hover { background: #2b2722; }
.final .fine { color: #5a4800; margin-top: 4px; }

/* ── Data-product components (suppliers page) ─────────────── */
.status-bar { background: var(--black); color: #cfc8bb; font-size: 13px; padding: 9px 0; }
.status-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.status-bar b { color: #fff; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fb56b; display: inline-block;
  box-shadow: 0 0 0 3px rgba(63, 181, 107, .25); margin-right: 6px; vertical-align: 1px; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--black);
  border-radius: var(--radius); padding: 16px 18px; }
.kpi:nth-child(2) { border-top-color: var(--gold); }
.kpi:nth-child(3) { border-top-color: var(--good); }
.kpi:nth-child(4) { border-top-color: var(--red); }
.kpi b { display: block; font: 800 34px/1.05 Archivo, sans-serif; letter-spacing: -0.02em; }
.kpi span { color: var(--ink-2); font-size: 13px; }
.kpi-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); }

.week { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wk-head { display: grid; grid-template-columns: 1fr 380px; gap: 20px; padding: 18px 20px; align-items: center;
  border-top: 1px solid var(--line); }
.wk-range { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.wk-summary { font-size: 17px; margin-top: 4px; }
.wk-chart svg { width: 100%; height: auto; display: block; }
.wk-chart-label { font-size: 11px; color: var(--ink-3); text-align: right; margin-top: 2px; }
.wk-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.wk-card { padding: 16px 16px 18px; border-left: 1px solid var(--line); min-width: 0; }
.wk-card:first-child { border-left: 0; }
.wk-card h3 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wk-card h3 b { font: 800 22px Archivo, sans-serif; color: var(--ink); letter-spacing: 0; }
.wk-list { list-style: none; display: grid; gap: 9px; margin-top: 10px; }
.wk-list li b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.wk-list li span { display: block; font-size: 12px; color: var(--ink-3); }
.wk-empty { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.wk-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); background: #faf8f3; }
@media (max-width: 1000px) {
  .wk-grid { grid-template-columns: 1fr 1fr; }
  .wk-card { border-left: 0; border-top: 1px solid var(--line); }
  .wk-head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .wk-grid { grid-template-columns: 1fr; } }

.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); }
.pipe-step { padding: 18px 18px 20px; border-left: 1px solid var(--line); position: relative; }
.pipe-step:first-child { border-left: 0; }
.pipe-step .step-n { font: 800 11px Archivo, sans-serif; color: var(--gold-ink); letter-spacing: .12em; text-transform: uppercase; }
.pipe-step h3 { font-size: 16px; margin: 4px 0 6px; }
.pipe-step p { font-size: 13px; color: var(--ink-2); }
.pipe-step .num { display: block; font: 800 24px/1.1 Archivo, sans-serif; margin-top: 12px; }
.pipe-step .num small { display: block; font: 500 12px Inter, sans-serif; color: var(--ink-3); margin-top: 3px; }
.pipe-step:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 16px; background: var(--surface);
  color: var(--ink-3); font-weight: 700; line-height: 1; padding: 2px 0; z-index: 1; }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipe-step { border-left: 0; border-top: 1px solid var(--line); }
  .pipe-step:first-child { border-top: 0; }
  .pipe-step::after { display: none; }
}

.defs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.defs th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  background: #f6f2e8; padding: 10px 14px; }
.defs td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.defs td:first-child { font-weight: 600; color: var(--ink); width: 210px; }
@media (max-width: 560px) { .defs td:first-child { width: auto; } .defs td, .defs th { padding: 9px 10px; } }
.sub-title { font-family: Archivo, sans-serif; font-size: 20px; margin: 40px 0 12px; }

/* Raw permit records: latest filings and what each record holds */
.data-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* Edge shadows appear only while there's more table to scroll to (phones) */
.dt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(40,30,10,.2), transparent) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(40,30,10,.2), transparent) right center / 14px 100% no-repeat scroll; }
.dtable { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; }
.dtable.compact { min-width: 720px; }
.dtable th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  padding: 9px 12px; background: #faf8f3; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.dtable tbody tr:first-child td { border-top: 0; }
.dtable td.d, .dtable td.z, .dtable td.lic { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dtable td.w { color: var(--ink); min-width: 260px; }
.dtable td.c { color: var(--ink); font-weight: 600; }
.dtable .none { color: var(--ink-3); font-weight: 400; }
.dtable .cnt { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--gold-ink);
  background: var(--gold-soft); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.st { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: #efebe3; color: var(--ink-2); white-space: nowrap; }
.st.active { background: #e7f3eb; color: var(--good); }
.dt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); background: #faf8f3; }
.dt-foot b { color: var(--ink); }
.dt-note { margin-top: 10px; }
.fields th:last-child, .fields td:last-child { text-align: right; width: 170px; }
.fill { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fill .bar { display: block; width: 90px; height: 6px; border-radius: 3px; background: #efebe3; overflow: hidden; }
.fill .bar span { display: block; height: 100%; background: var(--gold); }
.fill .pct { min-width: 3.2em; text-align: right; }
@media (max-width: 560px) {
  .fields th:last-child, .fields td:last-child { width: auto; }
  .fill .bar { width: 44px; }
}

/* Request form (sample / early access) */
.req-box { max-width: 560px; margin: 0 auto; text-align: left; }
.req-form { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: 0 24px 48px -28px rgba(40,30,10,.45); }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.req-grid label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.req-grid label.full { grid-column: 1 / -1; }
.req-grid input, .req-grid textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fbfaf7;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.req-grid textarea { resize: vertical; min-height: 76px; }
.req-grid input:focus, .req-grid textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: #c99200; background: #fff; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.req-form .btn { width: 100%; }
.final .req-form .btn-primary { background: var(--black); color: var(--gold); border-color: var(--black); }
.req-msg { font-size: 13px; color: var(--ink-3); margin-top: 10px; min-height: 1em; }
.req-msg.err { color: var(--red); }
.req-done { background: var(--surface); border-radius: var(--radius); padding: 28px; text-align: center; }
.req-done b { font-family: Archivo, sans-serif; font-size: 22px; }
.req-done p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 560px) { .req-grid { grid-template-columns: 1fr; } }

/* ── Contractor pages (/contractors, rendered by functions/) ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.prof-hero { padding: 36px 0 32px; }
.prof-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.prof-name { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 12px; overflow-wrap: anywhere; }
.prof-lede { max-width: 780px; font-size: 18px; margin-bottom: 26px; }
.prof-lede b { color: var(--ink); font-weight: 600; }
.prof-kpis { grid-template-columns: repeat(4, 1fr); }
.prof-kpis .kpi b { font-size: 30px; }
.kpi .kpi-vs { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
/* section.x: outranks the mobile .tight-top/section padding rules further down */
section.prof-sec { padding-top: 40px; padding-bottom: 0; }
section.prof-first { padding-top: 0; }
section.prof-about { padding-bottom: 64px; }
.prof-sec .sub-title { margin-top: 0; }
.prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; min-width: 0; }
.panel h2 { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.panel h2 span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.panel svg { display: block; width: 100%; height: auto; }
.hbars { list-style: none; display: grid; gap: 9px; font-size: 14px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 160px) 1fr 44px; gap: 10px; align-items: center; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.hb-t { display: block; height: 8px; border-radius: 4px; background: #efebe3; overflow: hidden; }
.hb-t span { display: block; height: 100%; border-radius: 4px; background: var(--black); }
.hbars.gold .hb-t span { background: var(--gold); }
.hb-n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--black); color: #f1eee8; border-radius: var(--radius); padding: 30px 30px 26px; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--paly); }
.cta-band h2 { font: 800 24px/1.2 Archivo, sans-serif; color: var(--gold); margin-bottom: 6px; }
.cta-band p { color: #cfc8bb; font-size: 15px; max-width: 620px; }
.cta-band .cta-row { margin: 0; }
.peers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.peer { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; }
.peer:hover { border-color: var(--ink-3); }
.peer b { display: block; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.peer span { font-size: 13px; color: var(--ink-3); }
.about-data { max-width: 780px; font-size: 13px; color: var(--ink-3); }
/* "Claim this page" */
.prof-claim { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -8px 0 24px; }
.prof-claim .btn { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-ink); }
.prof-claim .btn:hover { background: #f8e6b4; border-color: #c99200; }
.prof-claim span { font-size: 13px; color: var(--ink-3); }
.claim { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.claim-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.claim-head h2 { font: 800 20px/1.2 Archivo, sans-serif; margin-bottom: 4px; }
.claim-head p { color: var(--ink-2); font-size: 15px; max-width: 620px; }
.claim-body { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.claim-body p + p { margin-top: 8px; }
.claim-body b { color: var(--ink); }
.claim-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 4px 0 8px; }
.claim-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); flex: 1 1 280px; max-width: 420px; }
.claim-form input, .claim-form textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fbfaf7;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.claim-form input:focus, .claim-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: #c99200; background: #fff; }
.claim-help { font-size: 13px; color: var(--ink-3); }
.claim-help a, .claim-body a { color: var(--ink-2); }
.claim-msg.err { color: var(--red); }
.claim.at-top { margin: 0 0 24px; box-shadow: 0 18px 36px -24px rgba(40,30,10,.35); }
.claim-next { margin: 8px 0 12px 20px; display: grid; gap: 6px; }
.claim-cta { margin: 12px 0 6px; }
.claimed { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none;
  color: var(--good); background: #e7f3eb; border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.about-data a, .dt-note a { color: var(--ink-2); }
/* Company names that link to their page, in any data table */
.dtable td.c a, .ptable td b a { color: inherit; text-decoration: none; border-bottom: 1px solid #d9d2c4; }
.dtable td.c a:hover, .ptable td b a:hover { border-bottom-color: var(--ink); }
.dtable td.n { width: 40px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dtable th.num, .dtable td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dtable td.num { color: var(--ink); font-weight: 600; }
.dir-hero { padding-bottom: 28px; }
.dir-lede { max-width: 760px; }
.dir-lede b { color: var(--ink); font-weight: 600; }
.dir-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.dir-search { flex: 1 1 280px; max-width: 420px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; }
.dir-search:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: #c99200; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.chips a:hover { border-color: var(--ink-3); }
.chips a b { margin-left: 6px; color: var(--ink); }
.dir-group { margin-top: 36px; scroll-margin-top: 16px; }
.dir-group:first-child { margin-top: 0; }
.dir-group .sub-title { margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; }
.dir-count { font: 500 14px Inter, sans-serif; color: var(--ink-3); }
.dir-empty { padding: 24px 0; color: var(--ink-3); }
/* Top 10 per trade until "Show all"; a search shows every match */
#dir:not(.searching) .dir-group.collapsed tr.more { display: none; }
#dir.searching .dir-group .dt-foot { display: none; }
.dir-group .dt-foot { justify-content: center; }
@media (max-width: 860px) {
  .prof-kpis { grid-template-columns: 1fr 1fr; }
  .prof-grid, .peers, .cta-band { grid-template-columns: 1fr; }
  .claim-head { flex-direction: column; align-items: flex-start; }
  .prof-lede { font-size: 17px; }
  section.prof-sec { padding-top: 32px; }
  section.prof-first { padding-top: 0; }
  .dir-search { max-width: none; }
}

footer { background: var(--black); color: #aaa398; padding: 32px 0 40px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .foot-brand { display: flex; align-items: center; gap: 10px; }
footer .foot-brand img { width: 20px; height: 20px; border-radius: 3px; }
footer a { text-decoration: none; margin-left: 18px; }
footer a:hover { color: #fff; }
footer .links a:first-child { margin-left: 0; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .hero-grid, .compare, .price-card-inner, .personas, .features { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 28px; }
  section { padding: 56px 0; }
  .tight-top { padding-top: 0; }
  .nav-links { gap: 14px; }
  .nav-links > a:not(.btn) { display: none; }
  .dd { position: static; }
  .dd-menu { left: 12px; right: 12px; width: auto; top: calc(100% + 2px); }
  .eyebrow .live { display: none; }
  .price-card-inner { padding: 26px; gap: 24px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { padding: 24px; }
  .towns-list { font-size: 15px; gap: 4px 12px; }
  .towns-list span + span::before { margin-right: 12px; }
  .ptable th:nth-child(4), .ptable td:nth-child(4) { display: none; }
  .ptable td, .ptable th { padding: 9px 10px; }
  .logo-sub { display: none; }
}
.dd-btn, .logo-name { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-links { gap: 10px; }
  .logo { gap: 8px; }
  .logo img { width: 26px; height: 26px; }
  .logo-name { font-size: 16px; }
  .dd-btn { font-size: 13px; }
  .nav-links .btn-sm { padding: 8px 11px; font-size: 13px; }
}
@media (max-width: 380px) {
  /* The hero repeats the call to action; the nav keeps logo + "Who it's for". */
  .nav-links .btn-sm { display: none; }
}
