/* HomeCostVerdict: black header and footer, white content, orange actions. */
:root {
  --black: #0B0B0C; --charcoal: #1F2328; --orange: #E8692C; --orange-dark: #C4521A; --orange-light: #FF8A4C;
  --gray: #F5F5F7; --line: #E3E3E8; --text: #1D1D1F; --muted: #5E636B; --radius: 28px;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: Inter, system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; color: var(--text); }
p { margin: 0; }
.amp { font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: var(--black); padding: 10px 16px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* Header and footer */
.site-header { background: var(--black); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.wm-accent { color: var(--orange-light); }
.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: #E6E6E8; text-decoration: none; font-size: 17px; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.main-nav a.btn { color: var(--black); }
.site-footer { background: var(--black); color: #fff; padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer-brand p { color: #B5B9BF; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h2 { font-family: var(--body); font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { color: #B5B9BF; text-decoration: none; font-size: 14px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; border-top: 1px solid #2A2D33; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8E939A; font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--orange); color: var(--black); border: 0; border-radius: 999px; font: 700 17px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--orange-light); color: var(--black); }
.btn-sm { min-height: 48px; padding: 0 24px; }
.btn-lg { min-height: 60px; font-size: 18px; padding: 0 32px; }
.btn-ghost { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #3A3E45; background: transparent; color: #fff; font: 600 15px var(--body); cursor: pointer; }
.btn-ghost:hover { border-color: #fff; }
.btn-text { min-height: 60px; padding: 0 20px; background: none; border: 0; font: 600 17px var(--body); color: var(--text); cursor: pointer; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
.section { padding: 96px 0; }
.section-gray { background: var(--gray); }
.section-top { padding: 40px 0 0; }
.section-tight { padding: 28px 0; }
.h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; margin-bottom: 28px; }
.h3 { font-size: 26px; font-weight: 700; }
.h4 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); }
.h1-page { font-size: clamp(38px, 5.5vw, 56px); line-height: 1.05; font-weight: 700; margin: 16px 0; }
.meta-line { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 104px 0 72px; }
.hero-inner { max-width: 880px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(46px, 8vw, 72px); line-height: 1.02; font-weight: 700; }
.accent { color: var(--orange); }
.hero .lead { max-width: 640px; }
.zip-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 520px; }
.zip-form input { flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 22px; border: 1.5px solid #D2D2D7; border-radius: 999px; font: 17px var(--body); }
.zip-form .btn { min-height: 56px; }
.trust { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 15px; font-weight: 500; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.tile { background: var(--gray); border-radius: var(--radius); padding: 32px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
a.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); color: var(--text); }
.tile h3 { font-size: 30px; font-weight: 700; }
.tile p { margin-top: 8px; font-size: 17px; color: var(--muted); }
.tile-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile-meta { font-size: 16px; font-weight: 600; color: var(--orange-dark); }
.tile-soon { opacity: .7; }
.tile-soon .tile-meta { color: var(--muted); }
.ill { flex: 0 0 auto; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.grid-2.tight { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card-gray { background: var(--gray); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card-gray p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.card-white { background: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card-white h3 { font-size: 24px; }
.card-white p { font-size: 17px; color: var(--muted); }
.card-line { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--display); font-size: 48px; font-weight: 700; color: var(--orange); line-height: 1; }
.pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pill-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border: 1.5px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--text); font-size: 17px; font-weight: 600; }
.pill-link:hover { border-color: var(--orange); color: var(--text); }
.pill-link span[aria-hidden] { color: var(--orange); }
.link-card { flex-direction: row; align-items: center; justify-content: space-between; text-decoration: none; color: var(--text); padding: 26px 32px; }
.link-card > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.link-arrow { font-weight: 600; color: var(--orange-dark); white-space: nowrap; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; }
.crumbs a { color: var(--muted); }

/* Category hero */
.cat-hero { margin-top: 24px; background: var(--gray); border-radius: 32px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cat-hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.04; }
.dark-cta { margin-top: 28px; background: var(--black); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-decoration: none; }
.dark-cta h3 { color: #fff; font-size: 30px; }
.dark-cta p { color: #B5B9BF; font-size: 17px; margin-top: 8px; }

/* Calculator */
.calc-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.calc-form { flex: 1 1 460px; gap: 24px; border-radius: 32px; padding: 40px; }
.calc-side { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .field-label { font-size: 15px; font-weight: 600; color: var(--text); padding: 0; margin-bottom: 10px; }
.field-label { margin-bottom: 0; }
.field input[type=text], .field input[type=number], .field input[type=email], .field input[type=tel] { height: 56px; padding: 0 18px; border: 1.5px solid #D2D2D7; border-radius: 14px; font: 17px var(--body); background: #fff; color: var(--text); width: 100%; }
.field input:focus { border-color: var(--text); outline: none; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #D2D2D7; background: #fff; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; }
.seg-opt input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.result { background: var(--black); color: #fff; border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 8px; }
.result-label, .result-sub { font-size: 15px; color: #B5B9BF; }
.result-label { font-weight: 600; }
.result-range { font-family: var(--display); font-size: clamp(36px, 5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.verdict { margin-top: 18px; background: var(--charcoal); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.verdict-label { font-size: 13px; color: #B5B9BF; }
.verdict-value { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--orange-light); }
.verdict-why { font-size: 15px; color: #D7DADF; }
.result-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.result-note { margin-top: 8px; font-size: 14px; color: #B5B9BF; }
.quote-box { border: 2px solid var(--orange); border-radius: 32px; padding: 32px 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.quote-box p { color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.data-table th, .data-table td { text-align: left; padding: 12px 0; border-top: 1px solid #DCDCE1; }
.data-table thead th { border-top: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.data-table td { font-weight: 600; text-align: right; }
.data-table thead th:last-child { text-align: right; }
.faq { display: grid; gap: 16px; }
.faq details { border: 1.5px solid var(--line); border-radius: 20px; padding: 22px 26px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.sources { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }

/* Price alerts */
.alerts { background: var(--black); border-radius: 32px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.alerts-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.alerts h2 { color: #fff; font-size: 36px; }
.alerts p { color: #B5B9BF; font-size: 17px; }
.alerts-form { flex: 1 1 380px; display: flex; gap: 12px; flex-wrap: wrap; }
.alerts-form input { flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 22px; border: 0; border-radius: 999px; font: 17px var(--body); }
.form-note { flex-basis: 100%; color: #B5B9BF; font-size: 14px; }

/* Quote flow */
.back-link { display: inline-block; font-weight: 600; text-decoration: none; margin-bottom: 20px; }
.quote-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 96px; }
.quote-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.quote-aside { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.quote-step { display: flex; flex-direction: column; gap: 24px; }
.quote-step[hidden] { display: none; }
.step-count { font-size: 15px; font-weight: 600; color: var(--muted); }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.progress span { display: block; height: 6px; background: var(--orange); transition: width .3s ease; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--muted); }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; accent-color: var(--orange-dark); }
.form-error { color: #B3261E; font-weight: 600; }
.side-step { display: flex; gap: 16px; }
.side-step div { display: flex; flex-direction: column; gap: 4px; }
.step-dot { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 999px; background: var(--orange); color: var(--black); display: inline-flex; align-items: center; justify-content: center; font: 700 18px var(--display); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tick { flex: 0 0 20px; margin-top: 2px; }
.on-dark { color: #fff; }
.on-dark-muted { color: #B5B9BF; font-size: 18px; }

/* Prose pages */
.prose { max-width: 760px; padding-bottom: 96px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; color: #3A3D42; }
.prose p + p { margin-top: 14px; }
.center-col { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .wordmark { font-size: 22px; }
  .logo svg { width: 38px; height: 38px; }
  .cat-hero, .alerts, .calc-form, .result, .card-gray { padding: 28px; }
  .tile { padding: 26px; min-height: 260px; }
  .tile .ill { width: 110px; height: 110px; }
  .main-nav { gap: 18px; }
}
@media print {
  .site-header, .site-footer, .quote-box, .link-card, .result-actions, .alerts, .calc-form .btn { display: none !important; }
  .result { background: #fff; color: #000; border: 1px solid #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
