/* Homepage: a cost comparison and planning desk for homeowners. */
.home-page { background: #fff; }
.home-main { --display: "DM Sans", system-ui, sans-serif; }
.home-main h1, .home-main h2 { font-weight: 600; letter-spacing: -.045em; }
.home-hero { grid-template-columns: 1.04fr 1fr; gap: 60px; padding: 70px 0 54px; }
.home-hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.06; max-width: 600px; margin-bottom: 26px; }
.home-hero .hero-subtitle { font-size: 19px; line-height: 1.5; font-weight: 600; margin-bottom: 12px; }
.home-hero-copy > p:not(.hero-subtitle) { max-width: 500px; line-height: 1.7; }
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 30px 0 19px; }
.home-hero-actions .button { padding: 17px 24px; font-size: 16px; }
.home-text-link { font-weight: 600; font-size: 14px; text-decoration-thickness: 1px; }
.home-hero-copy > .home-free-note { color: #21634d; font-size: 13px; margin: 0; }
.home-free-note span { margin-right: 5px; }
.home-hero-photo { border-radius: 16px; }
.home-hero-photo img { aspect-ratio: 1.13; object-position: center; }
.hero-photo-note { margin: 13px 0 0; font-size: 12px; }
.home-content { padding-bottom: 64px; }
.home-promises { display: grid; grid-template-columns: repeat(3, 1fr); padding: 27px 0; gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-promises p { margin: 0; font-size: 14px; }
.home-promises strong, .home-promises span { display: block; }
.home-promises span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.home-content > .home-section { border-top: 0; padding: 76px 0; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.home-section-heading h2, .home-how h2, .home-methodology h2, .home-final-cta h2 { margin: 0 0 16px; font-size: clamp(30px, 3.1vw, 43px); line-height: 1.16; }
.home-section-heading p { color: var(--muted); font-size: 16px; margin: 0; }
.home-section-heading > a { flex-shrink: 0; margin-bottom: 4px; }
.system-cost-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.system-cost { min-width: 0; }
.system-cost .card-thumbnail { margin: 0 0 18px; border-radius: 8px; }
.system-cost .card-thumbnail img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.system-cost h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.4; }
.system-cost h3 a { color: var(--ink); text-decoration: none; }
.system-cost h3 a:hover { color: var(--blue); text-decoration: underline; }
.system-cost p { font-size: 13px; color: var(--muted); margin: 0; }
.system-cost .system-range { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; color: var(--ink); letter-spacing: -.025em; margin: 16px 0 4px; font-variant-numeric: tabular-nums; }
.system-cost .system-mid { font-size: 12px; }
.home-content .cost-data-note { max-width: none; color: var(--muted); font-size: 12px; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.home-content > .home-how { display: grid; grid-template-columns: 1fr 1.05fr; gap: 85px; padding: 48px; background: var(--soft-blue); border-radius: 16px; }
.home-how-intro > p { font-size: 16px; color: var(--muted); max-width: 390px; margin-bottom: 25px; }
.home-steps { counter-reset: steps; list-style: none; padding: 0 !important; margin: 0; }
.home-steps li { counter-increment: steps; position: relative; padding: 0 0 24px 48px; margin: 0 !important; }
.home-steps li:last-child { padding-bottom: 0; }
.home-steps li::before { content: counter(steps); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #b4c7e5; border-radius: 50%; font-size: 13px; font-weight: 600; }
.home-steps h3 { font-size: 18px; margin: 0 0 8px; }
.home-steps p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.home-city-search { margin: 0 0 30px; max-width: 610px; }
.home-city-search label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.fyc-search-wrap { display: flex; gap: 10px; }
.fyc-search-input { width: 100%; min-width: 0; border: 1px solid #9aabc0; border-radius: 7px; padding: 13px 16px; font-size: 15px; background: #fff; color: var(--ink); }
.fyc-search-input::placeholder { color: var(--muted); }
.fyc-search-wrap button { flex-shrink: 0; }
.home-local .city-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 0; }
.city-link { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.city-link img { width: 64px; height: 58px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.city-link small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 3px; }
.city-link-mark { margin-left: auto; font-size: 20px; color: var(--blue); }
.city-link:hover { color: var(--blue); }
.home-state-links { display: flex; align-items: baseline; gap: 24px; margin-top: 30px; }
.home-state-links h3, .home-more-guides h3 { font-size: 14px; margin: 0; flex-shrink: 0; }
.home-state-links nav, .home-more-guides nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.home-state-links a, .home-more-guides a { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; }
.home-content > .home-planning { border-top: 1px solid var(--line); }
.home-planning-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.home-quote-guide { background: var(--ink); color: white; border-radius: 12px; padding: 36px; align-self: start; }
.home-quote-guide h3 { color: white; font-size: 28px; margin: 0 0 18px; letter-spacing: -.035em; }
.home-quote-guide p { color: #d9e4f3; font-size: 16px; }
.home-quote-guide .button-secondary { display: flex; background: white; color: var(--ink); margin: 28px 0 20px; font-size: 14px; }
.home-quote-guide > a:not(.button-secondary) { display: inline-block; color: #d9e4f3; font-size: 13px; }
.home-decision-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.home-decision-guides h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.home-decision-guides h3 a { color: var(--ink); }
.home-decision-guides p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.home-more-guides { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 22px; }
.home-more-guides h3 { margin-bottom: 5px; }
.home-content > .home-methodology { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; padding-top: 0; }
.home-methodology-intro { color: var(--muted); font-size: 17px; }
.home-methodology p { font-size: 15px; }
.home-methodology .home-review-date { font-size: 12px; color: var(--muted); margin: 0; }
.home-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border: 1px solid var(--line); border-radius: 12px; background: #f7faff; }
.home-final-cta h2 { font-size: 34px; }
.home-final-cta p { font-size: 14px; color: var(--muted); margin: 0; }
.home-final-cta .button { flex-shrink: 0; }
@media (max-width: 1000px) {
  .home-hero { gap: 30px; }
  .system-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .home-local .city-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-content > .home-how { gap: 36px; padding: 36px; }
  .home-planning-grid, .home-content > .home-methodology { gap: 32px; }
  .home-decision-guides { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; padding: 40px 0 32px; }
  .home-hero h1 { font-size: clamp(39px, 7.7vw, 55px); max-width: 590px; }
  .home-hero-photo img { aspect-ratio: 1.65; }
  .home-promises { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .home-promises p { display: grid; grid-template-columns: 1fr 1.1fr; gap: 15px; }
  .home-promises span { margin: 0; }
  .home-section-heading { display: block; }
  .home-section-heading > a { display: inline-block; margin-top: 16px; }
  .home-content > .home-section { padding: 48px 0; }
  .home-content > .home-how { grid-template-columns: 1fr; padding: 28px; }
  .home-how-intro > p { max-width: none; }
  .home-planning-grid, .home-content > .home-methodology { grid-template-columns: 1fr; }
  .home-state-links { display: block; }
  .home-state-links h3 { margin-bottom: 8px; }
  .home-final-cta { display: block; padding: 30px; }
  .home-final-cta .button { margin-top: 24px; }
}
@media (max-width: 480px) {
  .home-hero-actions { gap: 18px; }
  .home-hero-actions .button { width: 100%; }
  .home-hero-actions .home-text-link { width: 100%; text-align: center; }
  .home-hero-photo img { aspect-ratio: 1.3; }
  .home-hero .hero-subtitle { font-size: 17px; }
  .home-promises strong { font-size: 13px; }
  .home-promises span { font-size: 12px; }
  .system-cost-grid { grid-template-columns: 1fr; gap: 20px; }
  .system-cost { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .system-cost .card-thumbnail { margin: 0; }
  .system-cost .card-thumbnail img { height: 100%; min-height: 130px; aspect-ratio: auto; }
  .system-cost h3 { font-size: 16px; }
  .system-cost .system-range { font-size: 18px; }
  .system-cost .system-mid { font-size: 11px; }
  .system-cost-copy > p:first-of-type { font-size: 12px; }
  .home-local .city-card-grid { grid-template-columns: 1fr; }
  .fyc-search-wrap { flex-direction: column; }
  .fyc-search-wrap button { width: 100%; }
  .home-quote-guide { padding: 28px; }
  .home-final-cta h2 { font-size: 29px; }
  .home-final-cta .button { width: 100%; }
}
