/* ============================================================
   doineedapermit.org — v11 theme
   Shared stylesheet for ALL article pages
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --blue-50:#EFF6FF; --blue-100:#DBEAFE; --blue-200:#BFDBFE; --blue-400:#60A5FA;
  --blue-600:#2563EB; --blue-700:#1D4ED8; --blue-800:#1E40AF; --blue-900:#1E3A8A;
  --amber-400:#FBBF24; --amber-500:#F59E0B; --amber-700:#B45309; --amber-accent:#FCD34D;
  --green-50:#F0FDF4; --green-600:#16A34A; --green-700:#15803D;
  --red-50:#FEF2F2; --red-600:#DC2626; --red-700:#B91C1C;
  --bg:#FAFAF7; --section:#F5F4EF; --card:#FFFFFF;
  --border:#E7E5E0; --border-soft:#EFEDE8;
  --muted:#57534E; --muted-soft:#78716C; --text:#1C1917;
  --font-display:'Fraunces',Georgia,serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --shadow-card:0 4px 20px rgba(0,0,0,0.06);
  --shadow-cta:0 6px 18px rgba(252,211,77,0.32);
  --radius-md:8px; --radius-lg:12px; --radius-xl:14px;
}
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav { background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 28px; position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav-left { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand-mark { width: 26px; height: 26px; background: var(--blue-900); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 15px; font-family: var(--font-display); }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.brand-name .blue-accent { color: var(--blue-600); }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--blue-600); color: white; padding: 9px 16px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.15s; white-space: nowrap; }
.nav-cta:hover { background: var(--blue-700); }
@media (max-width:720px) { .nav-links { display: none; } .nav { padding: 10px 14px; } .nav-left { gap: 0; } }

/* ── HERO + ARTICLE BODY (same as v7) ──────────────────────── */
.hero { background: var(--blue-900); color: white; padding: 22px 28px 28px; }
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.hero-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.hero-breadcrumb a:hover { color: white; }
.hero-breadcrumb .sep { margin: 0 6px; color: rgba(255,255,255,0.3); }
.hero-breadcrumb .current { color: white; }
.hero-row { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.hero-h1 { font-family: var(--font-display); font-size: 32px; line-height: 1.18; letter-spacing: -0.02em; font-weight: 400; margin: 2px 0 0; color: white; flex: 1 1 auto; max-width: 700px; }
@media (max-width:780px) { .hero-h1 { font-size: 24px; line-height: 1.22; } }
.hero-cta-side { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 200px; }
@media (max-width:780px) { .hero-row { flex-direction: column; align-items: stretch; gap: 16px; } .hero-cta-side { align-items: stretch; min-width: 0; } }
.pricing-pill { display: inline-flex; align-items: baseline; gap: 7px; background: var(--amber-accent); padding: 5px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(245,158,11,0.28), 0 1px 2px rgba(15,23,42,0.08); align-self: flex-end; }
.pricing-pill .strike { text-decoration: line-through; color: rgba(30,58,138,0.5); font-size: 12px; }
.pricing-pill .price { color: var(--blue-900); font-weight: 700; font-size: 16px; font-family: var(--font-display); letter-spacing: -0.01em; }
.pricing-pill .label { color: rgba(30,58,138,0.7); font-style: italic; font-size: 11px; font-weight: 500; }
@media (max-width:780px) { .pricing-pill { align-self: flex-start; } }
.pricing-pill.lg { padding: 7px 16px; }
.pricing-pill.lg .strike { font-size: 14px; }
.pricing-pill.lg .price { font-size: 19px; }
.pricing-pill.lg .label { font-size: 12px; }
.hero-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--amber-accent); color: var(--blue-900); padding: 11px 18px; border-radius: var(--radius-md); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-cta); white-space: nowrap; }
.hero-cta-btn:hover { background: var(--amber-400); }
.hero-cta-trust { font-size: 11px; color: rgba(255,255,255,0.65); text-align: right; }
@media (max-width:780px) { .hero-cta-trust { text-align: left; } }

.article-body { max-width: 720px; margin: 0 auto; padding: 28px 24px 0; }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.article-meta strong { color: var(--text); font-weight: 600; }
.article-body p { font-size: 17px; line-height: 1.72; margin: 0 0 16px; }
.article-body h2 { font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.22; margin: 44px 0 14px; color: var(--blue-900); padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.article-body strong { font-weight: 600; }

.verdict { padding: 22px 24px; border-radius: var(--radius-lg); margin: 0 0 28px; border-left: 4px solid; background: white; }
.verdict[data-verdict="amber"] { border-left-color: var(--amber-500); background: linear-gradient(180deg, #FFFBEB 0%, white 100%); }
.verdict-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.verdict-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); }
.verdict-icon { font-size: 16px; }
.verdict[data-verdict="amber"] .verdict-headline { color: var(--amber-700); }
.verdict-headline { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.32; margin-bottom: 10px; }
.verdict-summary { font-size: 16px; line-height: 1.6; margin: 0; }

/* ── KIT-BLOCK SHELL ──────────────────────────────────────── */
.kit-block { background: var(--card); border: 2px solid var(--blue-900); border-radius: var(--radius-xl); margin: 44px 0; overflow: hidden; box-shadow: 0 12px 36px rgba(30,58,138,0.14); }
.kit-block-header { background: linear-gradient(135deg,var(--blue-900),var(--blue-800)); color: white; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.kit-block-headline { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.3; max-width: 380px; }
.kit-block-headline em { color: var(--amber-accent); font-style: normal; font-weight: 600; }
@media (max-width:560px) { .kit-block-header { flex-direction: column; align-items: flex-start; } }
.kit-block-body { padding: 24px; background: var(--card); min-height: 320px; }

/* ── PROJECT PICKER (search + categories + projects) ─────── */
.pp-search-wrap { position: relative; margin-bottom: 16px; }
.pp-search { width: 100%; padding: 13px 16px 13px 44px; font-size: 15px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; transition: border-color 0.15s; background: white; }
.pp-search:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.pp-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.pp-search-results { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--border); border-radius: 10px; margin-top: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 10; max-height: 320px; overflow-y: auto; display: none; }
.pp-search-results.show { display: block; }
.pp-search-result { padding: 11px 16px; cursor: pointer; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pp-search-result:last-child { border-bottom: 0; }
.pp-search-result:hover, .pp-search-result.active { background: var(--blue-50); }
.pp-search-result .pn { font-size: 14px; font-weight: 500; color: var(--text); }
.pp-search-result .pc { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0; }
.pp-search-empty { padding: 20px; color: var(--muted); font-size: 13px; text-align: center; }

.pp-section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin: 18px 0 10px; }
.pp-section-label:first-child { margin-top: 0; }

.pp-popular { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
@media (max-width:560px) { .pp-popular { grid-template-columns: repeat(2, 1fr); } }
.pp-popular-item { padding: 10px 12px; background: white; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text); text-align: left; font-family: inherit; transition: all 0.15s; line-height: 1.3; }
.pp-popular-item:hover { border-color: var(--blue-400); background: var(--blue-50); }

.pp-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (max-width:560px) { .pp-categories { grid-template-columns: 1fr; } }
.pp-cat-btn { padding: 12px 14px; background: white; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text); text-align: left; font-family: inherit; display: flex; align-items: center; gap: 10px; transition: all 0.15s; }
.pp-cat-btn:hover { border-color: var(--blue-400); background: var(--blue-50); }
.pp-cat-btn .icon { font-size: 18px; flex-shrink: 0; }
.pp-cat-btn .label { flex: 1; line-height: 1.25; }
.pp-cat-btn .count { font-size: 11px; color: var(--muted); flex-shrink: 0; }

/* ── CATEGORY DETAIL (after click a category) ──────────────── */
.pp-back { background: none; border: 0; color: var(--blue-700); font-size: 13px; padding: 4px 0; cursor: pointer; font-family: inherit; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 4px; }
.pp-back:hover { text-decoration: underline; }
.pp-cat-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin: 0 0 14px; color: var(--text); }
.pp-cat-title .icon { margin-right: 8px; }
.pp-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
@media (max-width:560px) { .pp-projects { grid-template-columns: 1fr; max-height: none; } }
.pp-project-btn { padding: 11px 14px; background: white; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text); text-align: left; font-family: inherit; line-height: 1.3; transition: all 0.15s; }
.pp-project-btn:hover { border-color: var(--blue-600); background: var(--blue-50); }

/* ── QUIZ STEPS ────────────────────────────────────────────── */
.quiz-progress { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.quiz-progress .picked { color: var(--blue-700); font-weight: 600; text-transform: none; letter-spacing: 0; }
.quiz-question { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--text); margin: 0 0 18px; letter-spacing: -0.012em; }
.quiz-question em { font-style: italic; color: var(--blue-700); font-weight: 500; }
.quiz-options { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
.quiz-options.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width:560px) { .quiz-options.cols-2 { grid-template-columns: 1fr; } }
.quiz-option { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s; font-size: 14px; font-weight: 500; color: var(--text); text-align: left; font-family: inherit; user-select: none; }
.quiz-option:hover { border-color: var(--blue-400); background: var(--blue-50); }
.quiz-option.selected { border-color: var(--blue-600); background: var(--blue-50); }
.quiz-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; margin-left: 12px; transition: all 0.15s; }
.quiz-option:hover .quiz-radio { border-color: var(--blue-400); }
.quiz-option.selected .quiz-radio { border: 5px solid var(--blue-600); background: white; }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.quiz-back-btn { background: none; border: 0; color: var(--muted); font-size: 13px; padding: 4px 0; cursor: pointer; font-family: inherit; }
.quiz-back-btn:hover { color: var(--text); text-decoration: underline; }
.quiz-step-label { display: none; }
.quiz-next-btn { background: var(--amber-accent); color: var(--blue-900); padding: 12px 28px; border-radius: var(--radius-md); border: 0; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-cta); font-family: inherit; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.quiz-next-btn:hover:not(:disabled) { background: var(--amber-400); transform: translateY(-1px); }
.quiz-next-btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ── ADDRESS STEP ──────────────────────────────────────────── */
.addr-input { width: 100%; padding: 13px 16px; font-size: 15px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; margin-bottom: 18px; background: white; }
.addr-input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.addr-help { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

/* ── AUDIT ANIMATION ────────────────────────────────────── */
.audit-wrap { padding: 16px 0; }
.audit-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 18px; line-height: 1.3; }
.audit-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; opacity: 0; transform: translateY(8px); transition: opacity 0.45s, transform 0.45s; font-size: 14px; color: var(--text); }
.audit-line.appear { opacity: 1; transform: translateY(0); }
.audit-line .check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; transition: all 0.3s; }
.audit-line.checked .check { background: var(--green-600); border-color: var(--green-600); color: white; }
.audit-finalizing { opacity: 0; transition: opacity 0.5s; font-size: 13px; color: var(--muted); margin-top: 14px; padding-left: 34px; }
.audit-finalizing.show { opacity: 1; }

/* ── VERDICT REVEAL ──────────────────────────────────────── */
.rev-sources-byline { font-size: 12px; color: var(--muted); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.rev-sources-byline b { color: var(--text); }

.rev-hero { padding: 22px; border-radius: var(--radius-lg); margin-bottom: 18px; opacity: 0; transform: translateY(8px); transition: all 0.5s; }
.rev-hero.reveal { opacity: 1; transform: translateY(0); }
.rev-hero.amber { background: linear-gradient(180deg,#FFFBEB,white); border-left: 4px solid var(--amber-500); }
.rev-hero.green { background: linear-gradient(180deg,#F0FDF4,white); border-left: 4px solid var(--green-600); }
.rev-hero.red { background: linear-gradient(180deg,#FEF2F2,white); border-left: 4px solid var(--red-600); }
.rev-hero-badge { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.rev-hero.amber .rev-hero-badge { background: var(--amber-accent); color: var(--blue-900); }
.rev-hero.green .rev-hero-badge { background: var(--green-600); color: white; }
.rev-hero.red .rev-hero-badge { background: var(--red-600); color: white; }
.rev-hero-headline { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.rev-hero.amber .rev-hero-headline { color: var(--amber-700); }
.rev-hero.green .rev-hero-headline { color: var(--green-700); }
.rev-hero.red .rev-hero-headline { color: var(--red-700); }
.rev-hero-sub { font-size: 14px; color: var(--text); line-height: 1.6; margin: 0; }

.rev-findings { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.rev-finding { display: flex; gap: 11px; padding: 11px 14px; background: var(--section); border-radius: var(--radius-md); font-size: 13px; line-height: 1.55; opacity: 0; transform: translateY(8px); transition: all 0.4s; }
.rev-finding.reveal { opacity: 1; transform: translateY(0); }
.rev-finding-icon { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.rev-finding-icon.amber { background: var(--amber-accent); color: var(--amber-700); }
.rev-finding-icon.plus { background: var(--blue-100); color: var(--blue-700); }
.rev-finding-text b { color: var(--text); font-weight: 600; }

.rev-pitch { background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%); border: 2px solid var(--amber-accent); border-radius: var(--radius-lg); padding: 20px 22px; margin-top: 24px; opacity: 0; transform: translateY(8px); transition: all 0.5s 0.3s; }
.rev-pitch.reveal { opacity: 1; transform: translateY(0); }
.rev-pitch-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.rev-pitch-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--amber-700); margin-bottom: 4px; }
.rev-pitch-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); line-height: 1.3; max-width: 360px; letter-spacing: -0.012em; }
.rev-pitch-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
@media (max-width:560px) { .rev-pitch-deliverables { grid-template-columns: 1fr; } .rev-pitch-top { flex-direction: column; } }
.rev-deliverable { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 8px 10px; background: white; border-radius: 6px; border: 1px solid var(--border-soft); }
.rev-deliverable .ck { color: var(--green-700); font-weight: 700; flex-shrink: 0; }
.rev-deliverable strong { display: block; color: var(--text); font-weight: 600; font-size: 13px; margin-bottom: 1px; line-height: 1.3; }
.rev-deliverable span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.rev-email-wrap { margin-bottom: 12px; }
.rev-email-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--muted); margin-bottom: 6px; display: block; }
.rev-email-input { width: 100%; padding: 12px 14px; font-size: 15px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; background: white; }
.rev-email-input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.rev-cta-btn { display: block; width: 100%; background: var(--amber-accent); color: var(--blue-900); padding: 15px 24px; border-radius: var(--radius-md); border: 0; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-cta); font-family: inherit; transition: all 0.15s; }
.rev-cta-btn:hover { background: var(--amber-400); transform: translateY(-1px); }
.rev-trust { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }
.rev-trust strong { color: var(--green-700); }
.rev-sources-line { font-size: 11px; color: var(--muted-soft); margin-top: 14px; text-align: center; line-height: 1.4; }

/* ── FEAR / scenarios / etc shared from v7 (kept slim) ──── */
.fear-block { background: linear-gradient(180deg,#FEF2F2,#FFFFFF); border: 1px solid #FECACA; border-radius: var(--radius-lg); padding: 22px 24px; margin: 28px 0; }
.fear-block-title { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--red-700); margin: 0 0 14px; }
.fear-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width:560px) { .fear-block-grid { grid-template-columns: 1fr; } }
.fear-item { display: flex; gap: 10px; padding: 12px 14px; background: white; border: 1px solid var(--border-soft); border-radius: var(--radius-md); }
.fear-item-icon { font-size: 18px; flex-shrink: 0; }
.fear-item-text { font-size: 13px; line-height: 1.55; }
.fear-item-text strong { color: var(--red-700); }
.project-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
@media (max-width:560px) { .project-cards { grid-template-columns: 1fr; } }
.project-card { display: block; padding: 18px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; transition: all 0.15s; }
.project-card:hover { border-color: var(--blue-600); box-shadow: 0 6px 20px rgba(37,99,235,0.12); transform: translateY(-1px); }
.project-card-icon { font-size: 22px; margin-bottom: 8px; }
.project-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--blue-900); margin-bottom: 4px; }
.project-card-verdict { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.project-card-verdict strong { color: var(--text); font-weight: 600; }
.project-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.project-card-meta span strong { color: var(--text); font-weight: 600; }
.cost-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14px; background: var(--card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.cost-table th { background: var(--blue-900); color: white; text-align: left; padding: 11px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.cost-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-soft); }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table .row-label { font-weight: 600; color: var(--text); }
.cost-table .row-value { color: var(--blue-700); font-weight: 600; white-space: nowrap; }
.citation { background: var(--section); border-left: 3px solid var(--blue-600); padding: 12px 16px; font-size: 13px; color: var(--muted); margin: 16px 0 22px; border-radius: 0 6px 6px 0; }
.citation strong { color: var(--text); }

/* footers same as v7 */
.slim-reminder { background: var(--blue-900); color: white; padding: 16px 28px; text-align: center; font-size: 13px; }
.slim-reminder strong { color: var(--amber-accent); font-weight: 600; }
.slim-reminder a { color: white; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); margin-left: 8px; }
.footer-cta { background: var(--blue-900); color: white; padding: 48px 28px; text-align: center; }
.footer-cta-inner { max-width: 660px; margin: 0 auto; }
.footer-cta h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.2; margin: 0 0 12px; color: white; }
.footer-cta h2 em { color: var(--amber-accent); font-style: italic; font-weight: 400; }
.footer-cta p { color: rgba(255,255,255,0.82); margin: 0 0 22px; font-size: 15px; }
.footer-cta .pricing-pill { margin-bottom: 12px; }
.footer-cta-btn { display: inline-block; background: var(--amber-accent); color: var(--blue-900); padding: 14px 28px; border-radius: var(--radius-md); font-weight: 700; text-decoration: none; font-size: 15px; box-shadow: var(--shadow-cta); }
.footer-cta-trust { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 16px; }
.site-footer { background: var(--card); padding: 24px 28px; border-top: 1px solid var(--border); }
.site-footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 12px; }
.site-footer a { color: var(--blue-700); text-decoration: none; margin: 0 8px; }

/* ── Pitch (verdict screen) — used after free audit ─────── */
/* Compact verdict for v9 */
.rev-hero.compact { padding: 18px 20px; margin-bottom: 14px; }
.rev-hero.compact .rev-hero-badge { margin-bottom: 8px; }
.rev-hero.compact .rev-hero-headline { font-size: 19px; margin-bottom: 8px; line-height: 1.3; }
.rev-hero.compact .rev-hero-sub { font-size: 13px; line-height: 1.55; }

/* Subtle divider before pitch */
.pitch-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 26px 0 22px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 700; color: var(--muted-soft);
}
.pitch-divider::before, .pitch-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* The pitch itself — dominant, yellow-accented */
.pitch-block {
  background: linear-gradient(180deg, #FFF8E1 0%, #FFFFFF 60%);
  border: 2px solid var(--amber-accent);
  border-radius: 14px;
  padding: 26px 24px 22px;
  margin: 0;
  position: relative;
  box-shadow: 0 12px 36px rgba(245,158,11,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  opacity: 0; transform: translateY(8px);
  transition: all 0.5s 0.3s;
}
.pitch-block.reveal { opacity: 1; transform: translateY(0); }

.pitch-eyebrow {
  display: inline-block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--amber-700);
  background: var(--amber-accent);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
}

.pitch-headline {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  color: var(--text); line-height: 1.22; letter-spacing: -0.014em;
  margin: 0 0 22px;
}
@media (max-width:560px) { .pitch-headline { font-size: 22px; } }

/* Fear / relief two-column — the heart of the pitch */
.pitch-fear-relief {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 22px;
}
@media (max-width:560px) { .pitch-fear-relief { grid-template-columns: 1fr; gap: 10px; } }
.pitch-col { padding: 16px 16px 14px; border-radius: 10px; border: 1px solid; background: white; }
.pitch-fear { border-color: #FECACA; background: linear-gradient(180deg, #FEF2F2 0%, white 100%); }
.pitch-relief { border-color: #BBF7D0; background: linear-gradient(180deg, #F0FDF4 0%, white 100%); }
.pitch-col-title {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  margin-bottom: 12px; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 6px;
}
.pitch-fear .pitch-col-title { color: var(--red-700); }
.pitch-relief .pitch-col-title { color: var(--green-700); }
.pitch-col ul { list-style: none; margin: 0; padding: 0; }
.pitch-col li {
  font-size: 13px; line-height: 1.55; margin-bottom: 9px;
  padding-left: 22px; position: relative; color: var(--text);
}
.pitch-col li:last-child { margin-bottom: 0; }
.pitch-fear li::before {
  content: '✗'; position: absolute; left: 0; top: 0;
  color: var(--red-600); font-weight: 700; font-size: 14px;
}
.pitch-relief li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green-700); font-weight: 700; font-size: 14px;
}

/* The purchase block — single price, dominant CTA */
.pitch-purchase {
  background: var(--card);
  border-radius: 12px; padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.pitch-email-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 6px; display: block;
}
.pitch-email {
  width: 100%; padding: 12px 14px; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; background: white;
  margin-bottom: 14px; transition: all 0.15s;
}
.pitch-email:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* THE single price display — strikethrough + new price + spring-sale badge */
.pitch-price {
  display: flex; align-items: baseline; justify-content: center;
  gap: 12px; margin-bottom: 12px;
}
.pitch-price-strike {
  text-decoration: line-through;
  color: var(--muted-soft); font-size: 17px; font-weight: 500;
}
.pitch-price-now {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--blue-900);
  letter-spacing: -0.02em; line-height: 1;
}
.pitch-price-label {
  color: var(--amber-700); font-style: italic;
  font-size: 13px; font-weight: 500;
  background: #FEF3C7; padding: 3px 8px; border-radius: 999px;
}

/* THE big CTA — no price in text (price is in the row above) */
.pitch-cta-btn {
  display: block; width: 100%;
  background: var(--amber-accent); color: var(--blue-900);
  padding: 17px 24px; border-radius: 10px; border: 0;
  font-size: 17px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(252,211,77,0.4);
  font-family: inherit; transition: all 0.15s;
  margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
}
.pitch-cta-btn:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(252,211,77,0.5); }
.pitch-cta-btn:active { transform: translateY(0); }
.pitch-cta-btn-arrow { font-size: 18px; }

.pitch-trust {
  font-size: 11px; color: var(--muted); text-align: center;
  line-height: 1.6;
}
.pitch-trust strong { color: var(--green-700); font-weight: 600; }
.pitch-trust .ck { color: var(--green-700); font-weight: 700; margin-right: 1px; }

/* ── Audit animation — heavy-lifting framing ─────────────── */
.audit-headline {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text); line-height: 1.25; margin-bottom: 4px;
  letter-spacing: -0.012em;
}
.audit-headline .spinner {
  display: inline-block; width: 22px; height: 22px;
  border: 2.5px solid rgba(30, 58, 138, 0.10);
  border-top-color: var(--blue-700);
  border-right-color: var(--blue-700);
  border-radius: 50%;
  animation: spin 0.7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin-right: 12px; vertical-align: -4px;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.audit-context {
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-soft);
  line-height: 1.55;
}
.audit-context b { color: var(--text); font-weight: 600; }
.audit-mismatch {
  font-size: 12.5px; color: var(--amber-700, #B45309);
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 8px; padding: 10px 14px;
  margin: -6px 0 16px; line-height: 1.55;
}
.audit-mismatch b { color: var(--text); font-weight: 600; }

/* Honest error UI when Sonnet research fails — no fabricated verdict, ever.
   Color is informational gray, not alarming red, since this is a retry-able
   condition and we want the user to feel safe trying again. */
.verdict-error {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-left: 3px solid var(--blue-600, #2563eb);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 18px 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}
.verdict-error p { margin: 0 0 10px; }
.verdict-error p:last-child { margin-bottom: 0; }
.verdict-error-detail {
  font-size: 13px;
  color: var(--muted);
}

/* ── Legacy inline-style helpers preserved for old article bodies ── */
.italic-accent { font-style: italic; font-weight: 400; color: var(--blue-600); }

/* ── v11 CHROME OVERRIDES (win over old theme.css cascade) ── */
/* When loaded AFTER theme.css, these ensure the v11 chrome wins */

/* v11 slim hero overrides old big hero */
.hero { padding: 22px 28px 28px !important; }
.hero-inner { max-width: 1080px !important; }
.hero-row { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.hero-h1 { font-size: 32px !important; line-height: 1.18 !important; max-width: 700px !important; margin: 2px 0 0 !important; }
@media (max-width:780px) { .hero-h1 { font-size: 24px !important; } .hero-row { flex-direction: column; align-items: stretch; gap: 16px; } }

/* v11 article-body — tighten padding so kit-block has room */
.article-body { max-width: 720px; margin: 0 auto !important; padding: 28px 24px 0 !important; }

/* v11 footer-cta narrower than old */
.footer-cta { padding: 48px 28px !important; }
.footer-cta h2 { font-size: 28px !important; }

/* Preserve the old article-body .verdict (article lead) styling visually intact —
   override v11's .verdict white-bg back to blue-bg when the verdict has old-style children */
.article-body .verdict {
  background: var(--blue-50) !important;
  border-left: none !important;
  border: 1px solid var(--blue-100) !important;
  padding: 22px 26px !important;
  box-shadow: none !important;
}
/* But the v11 post-quiz reveal verdict (inside #permit-calculator or #calc-mount) uses .rev-hero, not .verdict — no conflict */

/* ─── ADDITIONAL MOBILE FIXES (v11.1) ─────────────────────────────── */

/* Pitch price scales down on small phones to avoid overflow */
@media (max-width: 480px) {
  .pitch-price-now { font-size: 30px; }
  .pitch-price-strike { font-size: 15px; }
  .pitch-price-label { font-size: 12px; }
  .pitch-price { gap: 8px; }
  .pitch-headline { font-size: 20px; line-height: 1.25; }
  .pitch-eyebrow { font-size: 10px; }
}

/* Cost tables: prevent horizontal overflow on phones */
.article-body table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  .article-body table { font-size: 13px; }
  .article-body table td, .article-body table th { padding: 8px 10px; }
}

/* Kit-block on narrow phones: ensure tappable buttons (44px min height) */
@media (max-width: 480px) {
  .kit-block-body { padding: 18px 16px; }
  .pp-search { padding: 12px 14px 12px 40px; font-size: 16px; }  /* 16px prevents iOS zoom-on-focus */
  .pp-search-icon { left: 12px; }
  .pp-popular-item, .pp-cat-btn, .pp-project-btn { padding: 12px 14px; min-height: 44px; }
  .quiz-option { padding: 14px 16px; min-height: 48px; font-size: 14px; }
  .quiz-next-btn { padding: 14px 24px; min-height: 48px; width: 100%; justify-content: center; }
  .quiz-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .quiz-back-btn { text-align: center; padding: 8px; }
  .quiz-step-label { display: none; }  /* Save space */
}

/* Pricing pill on narrow phones */
@media (max-width: 480px) {
  .pricing-pill.lg .price { font-size: 17px; }
  .pricing-pill.lg .strike { font-size: 13px; }
  .pricing-pill.lg .label { font-size: 11px; }
  .pricing-pill.lg { padding: 6px 12px; }
}

/* Hero CTA pill on phones — full width feels better */
@media (max-width: 480px) {
  .hero-cta-btn { width: 100%; padding: 13px 18px; }
  .hero-cta-trust { text-align: center; }
}

/* Footer CTA button full-width on phones */
@media (max-width: 480px) {
  .footer-cta-btn { display: block; max-width: none; padding: 14px 20px; }
  .footer-cta h2 { font-size: 22px; }
}

/* Verdict findings — tighter on small screens */
@media (max-width: 480px) {
  .rev-finding, .pitch-col li { font-size: 13px; }
  .rev-hero.compact .rev-hero-headline { font-size: 17px; }
  .pitch-col { padding: 14px; }
}

/* Article body: narrower padding on phones (already 24px in v11, 20px in old) */
@media (max-width: 480px) {
  .article-body { padding: 22px 16px 0 !important; }
}

/* ═══ FIX: search autocomplete dropdown was hidden ═══ */
#search-suggestions.show { display: block !important; }
.search-suggestion {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.1s;
  font-family: inherit;
}
.search-suggestion:last-child { border-bottom: 0; }
.search-suggestion:hover, .search-suggestion.active { background: var(--blue-50); }
.search-suggestion > span:first-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.search-suggestion .cat {
  font-size: 10.5px;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══ CATEGORY GRID — homepage browse-by-category ═══
   Mirrors the homepage 3-step cards: icon top, title below, centered. */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.cat-card:hover { border-color: var(--blue-600); background: var(--blue-50); }
.cat-card.active {
  border-color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.10);
}
.cat-card-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-100);
  color: var(--blue-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 12px;
}
.cat-card.active .cat-card-icon { background: var(--blue-200); }
.cat-card-body { width: 100%; }
.cat-card-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
  line-height: 1.25;
}
.cat-card-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.cat-card-count {
  font-size: 10px;
  color: var(--blue-700);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Inline expansion: shows projects when a category is clicked */
.cat-grid-projects {
  margin-top: 14px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.cat-grid-projects.show {
  padding: 18px 20px;
  max-height: 1800px;
}
.cat-grid-projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cat-grid-projects-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-900);
  letter-spacing: -0.012em;
}
.cat-grid-projects-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.cat-grid-projects-close:hover { background: var(--card); color: var(--text); }
.cat-grid-projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.cat-proj-btn {
  text-align: left;
  padding: 11px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
  line-height: 1.35;
}
.cat-proj-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-800);
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-card { padding: 16px 10px 12px; }
  .cat-card-icon { width: 36px; height: 36px; font-size: 18px; margin-bottom: 9px; }
  .cat-card-name { font-size: 13px; }
  .cat-card-desc { display: none; }
  .cat-grid-projects-list { grid-template-columns: 1fr; }
  .cat-grid-projects.show { padding: 14px; }
}

/* ═══ Article post-scenarios CTA strip (added with quiz-relocation refactor) ═══ */
.article-cta-strip {
  text-align: center;
  padding: 36px 24px;
  margin: 28px 0;
  border-top: 1px solid var(--border, #e5e7eb);
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.article-cta-strip .cta-strip-lead {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text, #111827);
  margin: 0 0 18px;
  font-style: italic;
}
.article-cta-strip .cta-strip-btn {
  display: inline-block;
  background: var(--primary, #1e40af);
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.article-cta-strip .cta-strip-btn:hover {
  background: var(--primary-hover, #1e3a8a);
}
.article-cta-strip .cta-strip-trust {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted, #6b7280);
  margin-top: 14px;
}

/* ═══ Results-page softer treatment + 6-bullet kit list (added with kit-block refresh) ═══ */
.pitch-block-soft {
  background: #FAFAF7;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--amber-400, #fbbf24);
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 24px;
  opacity: 0; transform: translateY(8px);
  transition: all 0.5s 0.3s;
}
.pitch-block-soft.reveal { opacity: 1; transform: translateY(0); }

.pitch-eyebrow-soft {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--muted, #6b7280); margin-bottom: 6px;
}

/* Kit list: headline + detail */
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.kit-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}
.kit-list .kit-headline {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  margin-bottom: 2px;
}
.kit-list .kit-detail {
  font-weight: 400;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
}

/* Strikethrough fix — muted angled line so $14.99 stays readable */
.pitch-price-strike-soft {
  position: relative;
  display: inline-block;
  color: #9ca3af;
  font-size: 17px;
  font-weight: 500;
}
.pitch-price-strike-soft::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1.5px;
  background: rgba(156, 163, 175, 0.6);
  transform: rotate(-2deg);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   v6 verdict redesign — prose-based, no boxes
   Replaces .pitch-block-soft, .rev-hero, .rev-findings, etc.
   The verdict step now uses .quiz-progress, .quiz-question, .pc-sub,
   .addr-input, .quiz-actions — the same chrome as the address step,
   plus this prose block + trust line.
   ════════════════════════════════════════════════════════════════ */
.verdict-prose {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.verdict-prose.reveal { opacity: 1; transform: translateY(0); }
.verdict-prose b { font-weight: 600; }
.verdict-prose .penalty { color: var(--text); font-weight: 700; }
.verdict-prose .cite {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--section);
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
/* The "Get the permit form…" line owns ALL the spacing around it:
   - Big gap above (separates from prose conclusion)
   - Tiny gap below (visually attaches to the email input it labels) */
.verdict-cta-prompt {
  margin-top: 32px !important;
  margin-bottom: 6px !important;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
/* Email input directly after the prompt: no extra top margin, they live as a unit */
.verdict-cta-prompt + .addr-input {
  margin-top: 0 !important;
}

/* Trust line: flex row of small badges, no separator dots, no border above.
   Forced with !important to win against any cached/conflicting rules. */
.kit-block-body .verdict-trust,
.verdict-trust {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 22px !important;
  margin: 22px 0 0 !important;
  font-size: 11px !important;
  color: var(--muted-soft) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  border: 0 !important;
}
.kit-block-body .verdict-trust .vt-item,
.verdict-trust .vt-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  font-weight: 500 !important;
}
.kit-block-body .verdict-trust .vt-ck,
.verdict-trust .vt-ck {
  color: var(--green-600) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  margin: 0 !important;
}
.pc-error {
  font-size: 13px;
  color: var(--red-700);
  margin-top: 8px;
  text-align: center;
}


/* === Hub <-> Catchall cross-linking sections === */
.other-guides-block, .cities-block {
  margin: 48px 0 32px;
  padding: 32px 0 0;
  border-top: 1px solid var(--border, #e5e3dd);
}
.other-guides-block h2, .cities-block h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.other-guides-block > p, .cities-block > p {
  font-size: 15px;
  color: var(--ink-muted, #6a655c);
  margin: 0 0 24px;
  max-width: 640px;
}
.hub-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.hub-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border, #e5e3dd);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms ease, transform 120ms ease;
}
.hub-card:hover {
  border-color: var(--accent, #1d4ed8);
  transform: translateY(-1px);
}
.hub-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink, #1c1917);
}
.hub-card p {
  font-size: 13px;
  color: var(--ink-muted, #6a655c);
  margin: 0;
  line-height: 1.45;
}
.cities-by-state {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px 32px;
}
.state-cities h3 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border, #e5e3dd);
  color: var(--ink, #1c1917);
}
.state-cities .city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.state-cities .city-list li {
  font-size: 14px;
  padding: 3px 0;
}
.state-cities .city-list a {
  color: var(--ink, #1c1917);
  text-decoration: none;
}
.state-cities .city-list a:hover {
  color: var(--accent, #1d4ed8);
  text-decoration: underline;
}
@media (max-width:560px) {
  .other-guides-block, .cities-block { margin: 32px 0 24px; }
  .hub-card-grid { grid-template-columns: 1fr; }
  .cities-by-state { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}
