:root {
  --ink: #1c2620;
  --ink-2: #40514a;
  --muted: #6f7d76;
  --line: #e2ddd0;
  --bg: #f7f5ef;
  --card: #ffffff;
  --blue: #186b4b;        /* brand green (legacy var name kept) */
  --blue-dark: #0f4f36;
  --brand-soft: #e8f1ea;
  --green: #186b4b;
  --red: #b3403a;
  --amber: #b45309;
  --accent: #b45309;
  --accent-soft: #f9ede0;
  --radius: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
/* touch-action: manipulation removes iOS double-tap-to-zoom on taps (fast
   taps through the funnel were zooming the page); text-size-adjust stops
   Safari from rescaling text after rotation. */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .stat-num, .est-range, .hq-num, .offer-title, .calc-title, .est-addr, .est-title { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: 2.05rem; line-height: 1.18; }
h2 { font-size: 1.45rem; }
main { flex: 1 0 auto; min-height: 100vh; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.center { text-align: center; }

.demo-banner { background: var(--amber); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; letter-spacing: 0.03em; }
.flash { background: #e8f1ea; border: 1px solid #b9d6c5; color: #14573c; padding: 12px 18px; margin: 12px auto; max-width: 1080px; border-radius: var(--radius); font-weight: 600; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px 18px; border-radius: var(--radius); margin: 12px 0; font-weight: 600; }
.success-note { background: #e8f1ea; border: 1px solid #b9d6c5; color: #14573c; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav .brand { font-weight: 700; font-size: 19px; color: var(--ink); display: flex; gap: 9px; align-items: center; font-family: var(--serif); white-space: nowrap; }
.nav .brand svg { display: block; flex: none; }
.nav nav { display: flex; gap: 18px; align-items: center; }
.nav nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 9px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--card); }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .15s, opacity .15s; }
@media (max-width: 820px) {
  .nav { padding: 10px 16px; }
  .nav-burger { display: flex; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(28, 38, 32, .10); flex-direction: column; align-items: stretch; padding: 6px 16px 16px; gap: 0; }
  .nav-toggle:checked ~ nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav nav a.btn { margin-top: 10px; text-align: center; border-bottom: none; padding: 12px; }
  .nav nav a:not(.btn):last-of-type { border-bottom: none; }
}

/* buttons */
.btn { display: inline-block; border: none; cursor: pointer; font-weight: 700; font-size: 15px; border-radius: 10px; padding: 10px 18px; transition: all .15s; text-decoration: none !important; }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue) !important; border: 2px solid var(--blue); padding: 8px 16px; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-lg { font-size: 17px; padding: 14px 28px; }
.btn-sm { font-size: 13px; padding: 6px 12px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-back { background: none; border: none; color: var(--muted); cursor: pointer; margin-top: 14px; font-size: 14px; display: block; }

/* layout */
.section { max-width: 1080px; margin: 0 auto; padding: 44px 24px; }
.section.narrow { max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--muted); }

/* hero */
.hero { text-align: center; padding: 76px 24px 52px; background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 2.9rem; }
.hero h1 { margin: 0 0 16px; }
.hero-sub { max-width: 640px; margin: 0 auto 28px; font-size: 18px; color: var(--ink-2); }
.hero-learn { display: inline-block; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero-learn:hover { text-decoration: none; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stats-row { display: flex; gap: 40px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 800; }
.stat-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

/* cities */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.city-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: all .15s; color: var(--ink); }
.city-card:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(24, 107, 75, .13); text-decoration: none; transform: translateY(-2px); }
.city-name { font-weight: 800; font-size: 17px; }
.city-count { color: var(--blue); font-weight: 600; font-size: 14px; margin-top: 4px; }
.city-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

/* steps */
.how { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; text-align: left; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { width: 34px; height: 34px; background: var(--blue); color: #fff; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.checklist { padding-left: 20px; } .checklist li { margin-bottom: 10px; }

/* lead cards */
.lead-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-top: 20px; }
.lead-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: all .15s; }
.lead-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(24, 107, 75, .15); text-decoration: none; transform: translateY(-2px); }
.lead-card.is-sold .lead-card-media { filter: grayscale(.5); opacity: .85; }
.lead-card.is-sold { opacity: .85; }
.lead-card-media { position: relative; height: 112px; display: flex; align-items: center; justify-content: center; background-color: #edf3ee;
  background-image: linear-gradient(rgba(24,107,75,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(24,107,75,.10) 1px, transparent 1px);
  background-size: 22px 22px; border-bottom: 1px solid var(--line); }
.lead-icon-disc { width: 58px; height: 58px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--blue); box-shadow: 0 2px 8px rgba(28,38,32,.08); }

.lead-card-media .badge { position: absolute; top: 12px; left: 12px; }
.lead-card-media .lead-time { position: absolute; top: 13px; right: 12px; font-size: 12px; color: var(--muted); font-weight: 600; background: rgba(255,255,255,.75); border-radius: 999px; padding: 2px 8px; }
.lead-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.lead-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lead-kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.lead-addr { font-weight: 700; font-size: 16px; line-height: 1.35; }
.lead-specs { color: var(--muted); font-size: 14px; }
.lead-est { color: var(--green); font-weight: 700; font-size: 14px; }
.lead-card-bottom { display: flex; align-items: center; margin-top: auto; padding-top: 8px; gap: 8px; flex-wrap: wrap; }
.lead-loc { color: var(--muted); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.lead-price { font-weight: 800; color: var(--accent); font-size: 18px; margin-left: auto; }
.chip { background: #efece3; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }

.badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; border-radius: 999px; padding: 4px 10px; }
.badge-available { background: #ddeee3; color: #14573c; }
.badge-sold { background: #f6e3e1; color: #8f3b35; }

.blurred { filter: blur(4.5px); user-select: none; }
.contact-box .blurred, .lead-head .blurred { filter: blur(5px); }

/* lead detail */
.lead-head h1 { margin-bottom: 6px; font-size: 1.6rem; }
.lead-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 24px; }
@media (max-width: 760px) { .lead-cols { grid-template-columns: 1fr; } }
.lead-main, .contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.lead-main h3, .contact-box h3 { margin-top: 0; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec span { color: var(--muted); }
.spec:last-of-type { border-bottom: none; }
.contact-box.locked { border: 2px solid var(--blue); }
.contact-box.unlocked { border: 2px solid var(--green); }
.sold-note { background: #fef2f2; border-radius: 8px; padding: 12px; color: #991b1b; font-size: 14px; }
.contact-box form { margin-top: 16px; }

/* forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 16px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
/* 16px minimum on form fields — anything smaller makes iOS Safari auto-zoom
   the page when a field is focused (the "page zooms in weirdly" bug). */
input, select, textarea { width: 100%; padding: 11px 12px; margin-top: 5px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23186b4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row:has(> :nth-child(3)) { grid-template-columns: 2fr 2fr 1fr; }
@media (max-width: 560px) { .form-row, .form-row:has(> :nth-child(3)) { grid-template-columns: 1fr; } }
.inline-form { display: inline; }
.consent { display: flex; gap: 10px; font-weight: 400; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.consent-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 12px 0 0; text-align: center; }
.consent input { width: 22px; height: 22px; min-width: 22px; margin-top: 1px; accent-color: var(--blue); }

/* dashboard tabs (CSS-only) */
.tabs { margin-top: 20px; }
.tabs > input[type="radio"] { display: none; }
.tabs > label { display: inline-block; padding: 10px 20px; cursor: pointer; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: 0; }
.tabs > input:checked + label { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; padding-top: 20px; border-top: 1px solid var(--line); }
#tab-leads:checked ~ .tab-panel[data-tab="tab-leads"],
#tab-saved:checked ~ .tab-panel[data-tab="tab-saved"],
#tab-locations:checked ~ .tab-panel[data-tab="tab-locations"],
#tab-autoclaim:checked ~ .tab-panel[data-tab="tab-autoclaim"],
#tab-credits:checked ~ .tab-panel[data-tab="tab-credits"],
#tab-reports:checked ~ .tab-panel[data-tab="tab-reports"] { display: block; }
.pack-tile form { margin-top: 10px; }
.hq-search-form { display: flex; gap: 10px; margin: 18px 0; }
.hq-search-form input { flex: 1; }
.hq-nav { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search-hero { display: flex; gap: 10px; max-width: 460px; margin: 20px auto 0; }
.search-hero input { flex: 1; }
.search-hero .suggest-wrap { flex: 1; }
.search-hero .suggest-wrap input { width: 100%; margin-top: 0; }
.search-hero .suggest-list { text-align: left; }
.report-box { background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: var(--radius); padding: 14px 18px; margin-top: 16px; font-size: 14px; }
.report-box select, .report-box input { margin-top: 6px; }
.sub-list { list-style: none; padding: 0; }
.sub-list li { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; font-weight: 600; gap: 10px; flex-wrap: wrap; }
.sub-form { max-width: 480px; }

/* seller offer flow */
.offer-flow { max-width: 560px; margin: 0 auto; padding: 28px 20px 60px; }
.offer-flow .step-panel > input:not(.otp-input) { margin: 8px 0 18px; }
.offer-flow .step-panel > .suggest-wrap { margin: 8px 0 18px; }
.suggest-wrap { position: relative; }
.suggest-wrap input { margin: 0; }
.suggest-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(28, 38, 32, .14); z-index: 30; overflow: hidden; }
.suggest-item { padding: 12px 14px; font-size: 15px; cursor: pointer; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover, .suggest-item.active { background: var(--brand-soft); }
.suggest-item strong { font-weight: 700; }
.suggest-pin { color: var(--muted); display: flex; flex: none; }
.city-ac { display: block; margin-top: 6px; }
.city-ac input { width: 100%; }
.city-ac .suggest-list { max-height: 264px; overflow-y: auto; }
.city-ac .suggest-item { font-size: 15px; padding: 11px 14px; }
.city-ac .suggest-item.active .suggest-pin { color: var(--brand); }
.suggest-empty { color: var(--muted); font-size: 14px; cursor: default; }
.suggest-empty:hover { background: transparent; }
.situation-h { margin: 26px 0 2px; font-size: 17px; }
.situation-h .muted { font-weight: 400; font-size: 13px; }
.offer-flow .step-panel .form-row { margin-bottom: 6px; }
.offer-flow .step-panel > .btn { margin-top: 2px; }
.offer-head { margin-bottom: 24px; }
.offer-title { font-weight: 800; font-size: 2rem; margin: 24px 0 20px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.option-grid.option-rows { grid-template-columns: 1fr; }
.option-grid.option-rows button { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 20px; font-size: 22px; text-align: left; }
.option-grid.option-rows button span { font-size: 17px; }
.option-grid.option-rows button small { margin-left: auto; }
.step-calculating { text-align: center; padding: 40px 0; }
.calc-title { font-size: 2rem; margin: 24px 0 8px; }
.calc-sub { color: var(--muted); font-size: 16px; }
.spinner { width: 46px; height: 46px; margin: 0 auto; border: 4px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 14%; background: var(--blue); border-radius: 999px; transition: width .3s; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeIn .25s; }
@keyframes fadeIn { from { transform: translateY(8px); } to { transform: none; } }
.step-panel h1 { font-size: 1.7rem; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.option-grid button { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all .12s; font-family: inherit; color: var(--blue); }
.option-grid button span { font-size: 15px; font-weight: 700; color: var(--ink); }
.option-grid button small { font-size: 12px; color: var(--muted); font-weight: 400; }
.option-grid button:hover, .option-grid button.selected { border-color: var(--blue); background: var(--brand-soft); }

/* estimate result */
.estimate-result { max-width: 640px; }
.est-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.est-title { font-size: 1.9rem; margin: 0 0 14px; }
.est-label { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); margin: 0; }
.est-addr { font-size: 1.3rem; margin: 8px 0 18px; }
.est-point { font-family: var(--serif); letter-spacing: -0.01em; font-size: 3.2rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.est-range { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin-top: 8px; }
.est-range span { color: var(--muted); font-weight: 400; }
.est-what { margin-top: 14px; }
.est-what summary { display: inline-block; cursor: pointer; list-style: none; color: var(--ink-2); font-size: 15px; border-bottom: 1.5px dashed var(--blue); padding-bottom: 1px; }
.est-what summary::-webkit-details-marker { display: none; }
.est-what-body { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 14px auto 0; max-width: 560px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.est-what-body strong { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.est-what-body p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.teaser { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 14px; text-align: center; margin: 4px 0 18px; }
.teaser-addr { font-family: var(--serif); font-size: 1.1rem; margin: 6px 0 4px; }
.teaser-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 800; color: var(--green); line-height: 1.1; min-height: 1.1em; }
.teaser-num .blurred { filter: blur(7px); }
.situation-after { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.situation-after h2 { margin-top: 0; }
.situation-after .btn { margin-top: 6px; }
.est-next { margin-top: 28px; }
.est-next ol li { margin-bottom: 10px; }
.disclaimer-box { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 12px; border-radius: var(--radius); padding: 14px 18px; margin-top: 28px; }

/* legal */
.legal h2 { font-size: 1.1rem; margin-top: 28px; }
.legal p { font-size: 14px; color: var(--ink-2); }

/* auth extras */
.btn-google { background: #fff; border: 1.5px solid var(--line); color: var(--ink) !important; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; padding: 12px; }
.btn-google:hover { border-color: var(--blue); background: var(--brand-soft); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.warn-box { background: #fffbeb; border: 1.5px solid #fde68a; color: #92400e; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin: 14px 0; }
.warn-box form { margin-top: 10px; }
.warn-box a { word-break: break-all; }
.verified-chip { color: #065f46; font-weight: 700; }
.btn-danger { background: var(--red); color: #fff !important; }
.btn-danger:hover { background: #b91c1c; }

.chip-verified { background: #ddeee3; color: #14573c; display: inline-flex; align-items: center; gap: 4px; }
.otp-input { font-size: 28px; letter-spacing: 12px; text-align: center; font-weight: 700; max-width: 280px; margin: 12px auto 18px; display: block; }

/* browse page */
.filter-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.filter-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; width: 52px; flex: none; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.seg a { padding: 9px 18px; font-weight: 700; font-size: 14px; color: var(--ink-2); border-right: 1.5px solid var(--line); }
.seg a:last-child { border-right: none; }
.seg a:hover { text-decoration: none; background: var(--brand-soft); }
.seg a.active { background: var(--blue); color: #fff; }
.seg a.active .pill-count { color: rgba(255,255,255,.75); }
.city-context { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 6px 20px 16px; margin-top: 16px; }
.city-context .market-pricing { border: none; background: none; padding: 0; margin: 8px 0 0; }

.browse-bar { display: grid; grid-template-columns: 1fr 190px auto; gap: 10px; margin-top: 20px; }
.browse-bar input, .browse-bar select { margin-top: 0; }
@media (max-width: 760px) { .browse-bar { grid-template-columns: 1fr 1fr; } .browse-bar input { grid-column: 1 / -1; } }
.pill-count { opacity: .65; font-weight: 600; margin-left: 2px; }

/* how-it-works long-form page */
.hiw-hero { text-align: center; padding: 80px 24px 56px; background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hiw-hero h1 { font-size: 2.8rem; margin: 0 0 16px; }
.center-h { text-align: center; margin-bottom: 8px; }
.hiw-example-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .hiw-example-grid { grid-template-columns: 1fr; } }
.hiw-example-card { max-width: 360px; margin: 0 auto; pointer-events: none; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 26px; }
.value-card, .feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.value-card h3, .feature-card h3 { margin: 10px 0 6px; font-size: 16px; }
.value-card p, .feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.value-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
@media (max-width: 700px) { .compare-cols { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 26px; border: 1.5px solid var(--line); background: var(--card); }
.compare-col h3 { margin-top: 0; }
.compare-col ul { padding-left: 20px; margin: 0; } .compare-col li { margin-bottom: 10px; font-size: 14.5px; }
.compare-bad { background: #faf6f1; }
.compare-bad li { color: var(--ink-2); }
.compare-good { border-color: var(--blue); background: var(--brand-soft); }
.math-box { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 36px; text-align: center; }
.math-box h2 { margin-top: 0; }
.math-box > p { max-width: 640px; margin: 10px auto 0; }
.math-figures { display: flex; gap: 44px; justify-content: center; margin: 26px 0 8px; flex-wrap: wrap; }
.math-num { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 800; color: var(--blue); }
.math-label { color: var(--muted); font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .price-cols { grid-template-columns: 1fr; } }
.price-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price-card h3 { margin-top: 0; }
.price-list { list-style: none; padding: 0; margin: 14px 0; }
.price-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.price-list li:last-child { border-bottom: none; }
.price-list strong { color: var(--accent); font-size: 16px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 15px 0; font-size: 15px; list-style-position: inside; }
.faq-item p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; }
.cta-band { text-align: center; background: var(--blue); color: #fff; padding: 56px 24px; margin-top: 30px; }
.cta-band h2 { margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0 0 22px; opacity: .92; }
.btn-cta { background: #fff; color: var(--blue-dark) !important; }
.btn-cta:hover { background: var(--brand-soft); }
.btn-icon { display: inline-flex; align-items: center; gap: 7px; }
.btn-icon svg { flex: none; }

.market-pricing { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 14px; background: var(--brand-soft); border: 1px solid #cfe2d6; border-radius: 10px; padding: 10px 14px; margin: 4px 0 6px; flex-wrap: wrap; }
.market-pricing svg { color: var(--blue); flex: none; }
.pricing-form { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.pricing-field { display: inline-flex; flex-direction: column; gap: 2px; }
.pricing-field label { font-size: 10px; font-weight: 700; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .04em; }

/* market page SEO blocks */
.market-about { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 760px; }
.market-about h2 { font-size: 1.25rem; }
.market-about p { color: var(--ink-2); font-size: 15px; }
.market-siblings { margin-top: 26px; }
.market-siblings h2 { font-size: 1.1rem; margin-bottom: 4px; }

/* HQ analytics dashboard */
.hq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.hq-head h1 { margin: 0 0 4px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.pill { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 18px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.pill:hover { text-decoration: none; border-color: var(--blue); }
.pill-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.live-banner { background: #e8f1ea; border: 1.5px solid #7fb99a; color: #14573c; font-weight: 700; padding: 12px 18px; border-radius: var(--radius); font-size: 14px; }
.hq-h2 { margin: 36px 0 6px; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.hq-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.hq-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.hq-num { font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1.15; overflow-wrap: anywhere; }
.hq-num-long { font-size: 1.5rem; }
.hq-num-xl { font-size: 1.25rem; }
.hq-label { font-weight: 700; font-size: 14px; margin-top: 4px; }
.hq-sub { font-size: 12px; }
.funnel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 14px; }
.fun-row { margin-bottom: 16px; } .fun-row:last-child { margin-bottom: 0; }
.fun-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.fun-pct { font-size: 12px; }
.fun-bar { height: 12px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.fun-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #4ca580); border-radius: 999px; min-width: 8px; }
.table-wrap { overflow-x: auto; margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.hq-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hq-table th { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.hq-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hq-table tr:last-child td { border-bottom: none; }

/* mobile polish */
#address-input[type="search"] { -webkit-appearance: none; appearance: none; }
#address-input::-webkit-search-decoration, #address-input::-webkit-search-cancel-button, #address-input::-webkit-search-results-button { -webkit-appearance: none; display: none; }
.vbadge { position: relative; cursor: help; outline: none; }
.vbadge .vtip { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 260px; background: #14301f; color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.45; padding: 10px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 20; text-align: left; white-space: normal; }
.vbadge .vtip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #14301f; }
.vbadge:hover .vtip, .vbadge:focus .vtip, .vbadge:focus-within .vtip { display: block; }
.lead-card .vbadge .vtip { left: auto; right: 0; transform: none; }
.lead-card .vbadge .vtip::after { left: auto; right: 24px; transform: none; }
.verify-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.verify-box h2 { margin-top: 0; }
.suggest-manual { color: var(--blue); font-weight: 700; font-size: 14px; border-top: 1px solid var(--line); }
.manual-address { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 6px; margin: 6px 0 14px; }
.manual-address label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
@media (max-width: 640px) {
  .hq-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hq-tile { padding: 14px; }
  .hq-num { font-size: 1.45rem; }
  .hq-num-long { font-size: 1.2rem; }
  .hq-num-xl { font-size: 1.05rem; }
  .hq-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 13px; }
  .hq-table th, .hq-table td { padding: 9px 10px; }
  .hq-head .btn { display: none; }
  .hero { padding: 44px 18px 36px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 16px; }
  h1 { font-size: 1.55rem; }
  .section { padding: 28px 18px; }
  .stats-row { gap: 22px; }
  .offer-title { font-size: 1.5rem; }
  .tabs > label { padding: 10px 12px; font-size: 14px; }
  .city-head { flex-direction: column; align-items: flex-start; }
}

/* footer */
.footer { border-top: 1px solid var(--line); text-align: center; padding: 32px 20px; color: var(--muted); font-size: 14px; margin-top: 60px; flex-shrink: 0; background: var(--card); }
.footer p { margin: 6px 0; }
.footer p a { white-space: nowrap; }
