:root {
  --navy-950: #04113d;
  --navy-900: #071b55;
  --navy-800: #0b2b73;
  --blue-600: #1268ff;
  --blue-500: #2679ff;
  --blue-100: #dfeaff;
  --blue-50: #f2f6ff;
  --sun: #ffbd19;
  --sun-soft: #fff2bd;
  --ink: #0c1736;
  --muted: #61708d;
  --line: #dce4f1;
  --soft: #f6f8fc;
  --white: #ffffff;
  --success: #168055;
  --danger: #ba3232;
  --shadow-sm: 0 8px 24px rgba(7, 27, 85, 0.08);
  --shadow-lg: 0 30px 80px rgba(4, 17, 61, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.035em; }
p { color: var(--muted); }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--navy-900); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid var(--blue-600); border-radius: 10px;
  background: var(--blue-600); color: #fff; font-weight: 750; cursor: pointer;
  box-shadow: 0 9px 22px rgba(18, 104, 255, 0.2); transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: #0757e8; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18, 104, 255, 0.28); }
.button:focus-visible, .text-link:focus-visible, .footer-button:focus-visible, summary:focus-visible, .close-button:focus-visible, .back-button:focus-visible, .nav-toggle:focus-visible { outline: 3px solid rgba(18, 104, 255, .35); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-full { width: 100%; }
.button-outline { background: #fff; color: var(--navy-900); border-color: var(--line); box-shadow: none; }
.button-outline:hover { background: var(--blue-50); color: var(--navy-900); }
.button-yellow { background: var(--sun); border-color: var(--sun); color: var(--navy-950); box-shadow: none; }
.button-yellow:hover { background: #ffc93d; }
.text-link { border: 0; background: none; padding: 5px 0; color: var(--blue-600); font-weight: 800; font-size: 17px; cursor: pointer; }

.site-header { position: sticky; z-index: 100; top: 0; height: 80px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,228,241,.8); backdrop-filter: blur(12px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 225px; overflow: hidden; }
.brand img { width: 225px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 700; color: #33415f; }
.site-nav > a { position: relative; }
.site-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue-600); transition: right .18s ease; }
.site-nav > a:hover::after { right: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: none; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

.hero { position: relative; overflow: hidden; padding: 78px 0 74px; background: linear-gradient(125deg, #fbfdff 0%, #f1f6ff 54%, #eaf2ff 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -380px; bottom: -330px; border: 80px solid rgba(255,189,25,.18); border-radius: 50%; }
.hero-glow { position: absolute; width: 540px; height: 540px; right: -160px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,205,72,.3), rgba(255,205,72,0) 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue-600); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow > span { width: 24px; height: 3px; border-radius: 5px; background: var(--sun); }
.eyebrow.light { color: #afc8ff; }
.hero h1 { max-width: 660px; margin-bottom: 24px; color: var(--navy-950); font-size: clamp(44px, 5.2vw, 71px); font-weight: 850; }
.hero h1 em { display: block; color: var(--blue-600); font-style: normal; }
.hero-lede { max-width: 650px; margin-bottom: 31px; font-size: 19px; line-height: 1.65; }
.address-form label { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: 13px; font-weight: 800; }
.address-control { position: relative; display: flex; align-items: center; padding: 6px; border: 1px solid #cbd7e9; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.address-control:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(18,104,255,.1), var(--shadow-sm); }
.pin-icon { flex: 0 0 43px; display: grid; place-items: center; }
.pin-icon svg { width: 21px; fill: var(--blue-600); }
.address-control input { min-width: 0; flex: 1; height: 48px; padding: 0 8px; border: 0; outline: none; color: var(--ink); font-size: 15px; }
.address-control .button { min-height: 48px; white-space: nowrap; }
.field-error { min-height: 20px; margin: 6px 0 0; color: var(--danger); font-size: 13px; font-weight: 650; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; color: #52627f; font-size: 12px; font-weight: 650; }
.hero-assurances i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border-radius: 50%; background: #e0f5ec; color: var(--success); font-style: normal; font-size: 11px; }
.hero-visual { position: relative; min-height: 510px; }
.hero-visual::before { content: ""; position: absolute; inset: 34px -12px -15px 45px; border: 2px solid rgba(18,104,255,.12); border-radius: 45% 18px 18px 18px; transform: rotate(2deg); }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 110px 24px 24px 24px; box-shadow: var(--shadow-lg); }
.estimate-peek { position: absolute; z-index: 2; left: -35px; bottom: 30px; width: 230px; padding: 19px 20px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 20px 50px rgba(4,17,61,.22); backdrop-filter: blur(10px); }
.peek-kicker { display: block; color: var(--blue-600); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.estimate-peek > strong { display: block; color: var(--navy-900); font-size: 36px; letter-spacing: -.04em; }
.estimate-peek > strong span { font-size: 16px; }
.estimate-peek > small { display: block; margin-top: -3px; color: var(--muted); }
.peek-row { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: #43516d; font-size: 10px; font-weight: 750; }
.sun-chip { position: absolute; z-index: 2; right: 18px; top: 18px; padding: 9px 13px; border-radius: 99px; background: rgba(7,27,85,.9); color: #fff; font-size: 11px; font-weight: 750; box-shadow: var(--shadow-sm); }
.sun-chip span { margin-right: 4px; color: var(--sun); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px 0; }
.trust-grid > div { display: flex; flex-direction: column; padding: 0 35px; border-right: 1px solid var(--line); text-align: center; }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { padding-right: 0; border: 0; }
.trust-grid strong { color: var(--navy-900); font-size: 14px; }
.trust-grid span { color: var(--muted); font-size: 12px; }

.section { padding: 105px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 680px; margin-bottom: 48px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .pricing-copy h2, .faq-intro h2 { margin-bottom: 17px; color: var(--navy-950); font-size: clamp(36px, 4vw, 52px); font-weight: 820; }
.section-heading p { font-size: 17px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; min-height: 315px; padding: 34px 30px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 15px 40px rgba(7,27,85,.05); }
.step-card.featured { border-color: #b8ceff; transform: translateY(-10px); }
.step-card.featured::after { content: ""; position: absolute; width: 130px; height: 130px; right: -52px; bottom: -55px; border: 25px solid var(--sun-soft); border-radius: 50%; }
.step-number { position: absolute; right: 24px; top: 20px; color: #e6ecf5; font-size: 42px; font-weight: 900; letter-spacing: -.06em; }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border-radius: 15px; background: var(--blue-50); color: var(--blue-600); font-size: 27px; font-weight: 800; }
.step-card.featured .step-icon { background: var(--sun-soft); color: #9a6a00; }
.step-card h3 { margin-bottom: 12px; color: var(--navy-900); font-size: 22px; }
.step-card p { margin-bottom: 0; font-size: 15px; }

.pricing-section { overflow: hidden; }
.pricing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.pricing-copy > p { max-width: 560px; font-size: 17px; }
.check-list { display: grid; gap: 18px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 13px; }
.check-list li > span { flex: 0 0 25px; display: grid; place-items: center; width: 25px; height: 25px; margin-top: 1px; border-radius: 50%; background: #e3f7ef; color: var(--success); font-weight: 900; }
.check-list strong, .check-list small { display: block; }
.check-list strong { color: var(--navy-900); font-size: 15px; }
.check-list small { color: var(--muted); font-size: 13px; }
.price-card-wrap { position: relative; padding: 40px; }
.price-card-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #eaf2ff 0 50%, transparent 51%); }
.price-card { position: relative; z-index: 2; max-width: 520px; margin: auto; padding: 31px; border: 1px solid #d6e1f3; border-radius: 23px; background: #fff; box-shadow: var(--shadow-lg); }
.price-card-top, .savings-head, .proposal-head { display: flex; align-items: flex-start; justify-content: space-between; }
.price-card-top div:first-child span, .price-main > span, .price-stats span, .savings-head span { display: block; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.price-card-top div:first-child strong { color: var(--navy-900); font-size: 25px; }
.status-pill, .prelim-pill { padding: 7px 11px; border-radius: 99px; background: var(--sun-soft); color: #795500; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.price-main { margin: 24px 0; padding: 25px; border-radius: 15px; background: var(--navy-900); color: #fff; }
.price-main > span { color: #a9c3ff; }
.price-main > strong { display: block; margin: 4px 0 0; font-size: 48px; letter-spacing: -.06em; }
.price-main > strong small { font-size: 17px; }
.price-main p { margin: -3px 0 0; color: #bfcdf0; font-size: 11px; }
.price-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.price-stats div { padding: 16px; background: #fff; }
.price-stats strong { display: block; color: var(--navy-900); font-size: 17px; }
.price-note { margin-top: 16px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.orbit { position: absolute; border: 2px solid rgba(18,104,255,.12); border-radius: 50%; }
.orbit-one { width: 530px; height: 270px; left: 20px; top: 130px; transform: rotate(-14deg); }
.orbit-two { width: 450px; height: 470px; left: 55px; top: 15px; transform: rotate(35deg); }

.section-navy { position: relative; overflow: hidden; background: var(--navy-950); }
.section-navy::before { content: ""; position: absolute; width: 620px; height: 620px; top: -390px; right: -90px; border: 100px solid rgba(18,104,255,.12); border-radius: 50%; }
.section-heading.light h2 { color: #fff; }
.benefit-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-grid article { padding: 28px; border: 1px solid rgba(151,181,246,.17); border-radius: 18px; background: rgba(255,255,255,.055); }
.benefit-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 25px; border-radius: 13px; background: rgba(18,104,255,.25); color: var(--sun); font-size: 20px; font-weight: 800; }
.benefit-grid h3 { color: #fff; font-size: 20px; }
.benefit-grid p { margin: 0; color: #aebbd8; font-size: 14px; }

.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.option-card { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.option-card.featured-option { border: 2px solid var(--blue-600); box-shadow: 0 20px 45px rgba(18,104,255,.12); transform: translateY(-8px); }
.option-label { display: inline-block; margin-bottom: 22px; padding: 6px 10px; border-radius: 99px; background: var(--blue-50); color: var(--blue-600); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.featured-option .option-label { background: var(--sun-soft); color: #795500; }
.option-card h3 { margin-bottom: 9px; color: var(--navy-900); font-size: 25px; }
.option-card p { min-height: 51px; font-size: 14px; }
.option-card ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: #4f5f7c; font-size: 13px; }
.option-card li::before { content: "✓"; margin-right: 9px; color: var(--success); font-weight: 900; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq-intro { position: sticky; top: 120px; align-self: start; }
.faq-intro .button { margin-top: 12px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 23px; color: var(--navy-900); font-weight: 780; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue-600); font-size: 23px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 23px 22px; font-size: 14px; }

.final-cta { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(115deg, var(--navy-900), #0b3d9c); }
.final-cta::before { content: ""; position: absolute; width: 400px; height: 400px; right: -220px; top: -170px; border: 70px solid rgba(255,189,25,.18); border-radius: 50%; }
.final-cta-inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.final-cta h2 { margin: 0; color: #fff; font-size: 40px; }
.address-form.compact .address-control { box-shadow: 0 15px 40px rgba(0,0,0,.16); }
.address-form.compact .field-error { color: #ffd3d3; }

.site-footer { padding: 55px 0 22px; background: #fff; }
.footer-main { display: flex; justify-content: space-between; gap: 70px; }
.footer-brand img { width: 230px; }
.footer-brand p { margin-top: 10px; font-size: 13px; }
.footer-links { display: flex; gap: 90px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: var(--navy-900); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a, .footer-button { color: var(--muted); font-size: 13px; }
.footer-button { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.footer-links a:hover, .footer-button:hover { color: var(--blue-600); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 21px; border-top: 1px solid var(--line); color: #7b879e; font-size: 11px; }

/* Estimator */
.estimator-shell { position: fixed; z-index: 1000; inset: 0; display: none; }
.estimator-shell.open { display: block; }
.estimator-backdrop { position: absolute; inset: 0; background: rgba(4,17,61,.66); backdrop-filter: blur(7px); animation: fadeIn .2s ease; }
.estimator-panel { position: absolute; display: grid; grid-template-rows: auto 1fr auto; inset: 18px; max-width: 1020px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.3); animation: panelIn .28s ease; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.99); } }
.estimator-header { display: grid; grid-template-columns: 190px 1fr 40px; gap: 35px; align-items: center; min-height: 86px; padding: 13px 24px; border-bottom: 1px solid var(--line); }
.estimator-header > img { width: 185px; }
.estimate-progress-wrap { width: 100%; max-width: 430px; margin: 0 auto; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; }
.progress-label span { color: var(--muted); }
.progress-label strong { color: var(--navy-900); }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #e7edf6; }
.progress-track div { width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), #4e8fff); transition: width .3s ease; }
.close-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy-900); font-size: 25px; cursor: pointer; }
.estimator-body { overflow-y: auto; padding: 39px 60px 45px; background: #fbfcfe; }
.estimate-stage { display: none; max-width: 820px; margin: 0 auto; animation: stageIn .25s ease; }
.estimate-stage.active { display: block; }
@keyframes stageIn { from { opacity: 0; transform: translateX(9px); } }
.stage-copy { max-width: 670px; margin-bottom: 30px; }
.stage-kicker { display: block; margin-bottom: 8px; color: var(--blue-600); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
.stage-copy h2, .result-hero h2, .proposal-success h2 { margin-bottom: 11px; color: var(--navy-950); font-size: clamp(30px, 4vw, 41px); }
.stage-copy p { margin: 0; font-size: 15px; }
.field-group { margin-bottom: 27px; }
.field-group > label, .field-group legend { display: block; margin-bottom: 10px; color: var(--navy-900); font-size: 13px; font-weight: 800; }
fieldset.field-group { padding: 0; border: 0; }
.simple-input { position: relative; display: flex; align-items: center; overflow: visible; border: 1px solid #cbd7e9; border-radius: 10px; background: #fff; }
.simple-input:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(18,104,255,.09); }
.simple-input span { padding-left: 16px; color: var(--blue-600); }
.simple-input input, .field-group > input, .field-group select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #cbd7e9; border-radius: 10px; outline: none; background: #fff; color: var(--ink); }
.simple-input input { border: 0; }
.address-suggestions { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; left: 0; display: none; max-height: 250px; margin: 0; padding: 6px; overflow-y: auto; border: 1px solid #cbd7e9; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(4,17,61,.18); }
.address-suggestions.open { display: block; }
.address-suggestions button { display: flex; width: 100%; gap: 11px; align-items: flex-start; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.address-suggestions button:hover, .address-suggestions button:focus-visible { background: var(--blue-50); outline: none; }
.address-suggestions button > span:first-child { flex: 0 0 24px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 13px; }
.address-suggestions strong, .address-suggestions small { display: block; line-height: 1.35; }
.address-suggestions strong { color: var(--navy-900); font-size: 14px; }
.address-suggestions small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.address-suggestions .suggestion-status { padding: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.field-group > input:focus, .field-group select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(18,104,255,.09); }
.field-group > input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(190,35,50,.08); }
.choice-grid { display: grid; gap: 10px; }
.roof-choices { grid-template-columns: repeat(3, 1fr); }
.story-choices { grid-template-columns: repeat(4, 1fr); }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #3e4d6b; font-size: 13px; font-weight: 700; text-align: center; transition: .15s ease; }
.choice-grid b { color: var(--blue-600); font-size: 19px; }
.choice-grid input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--blue-600); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(18,104,255,.2); }
.form-grid-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid-two .field-wide { grid-column: 1 / -1; }
.bill-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; }
.bill-card label { display: block; color: var(--navy-900); font-size: 13px; font-weight: 800; }
.bill-card output { display: block; margin: 8px 0 18px; color: var(--navy-900); font-size: 45px; font-weight: 850; letter-spacing: -.05em; }
input[type="range"] { width: 100%; height: 6px; appearance: none; border-radius: 5px; background: linear-gradient(90deg, var(--blue-600) 0 17%, #e2e8f2 17%); outline: none; }
input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; appearance: none; border: 4px solid #fff; border-radius: 50%; background: var(--blue-600); box-shadow: 0 2px 10px rgba(7,27,85,.3); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: var(--blue-600); box-shadow: 0 2px 10px rgba(7,27,85,.3); cursor: grab; }
.range-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 10px; }
.info-callout { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #edf4ff; }
.info-callout > span { flex: 0 0 21px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--blue-600); color: #fff; font-family: serif; font-weight: 800; }
.info-callout p { margin: 0; color: #546681; font-size: 11px; }
.info-callout.warning { background: #fff8dd; }
.info-callout.warning > span { background: #d09500; }
.info-callout.live { background: #e8f7f1; }
.info-callout.live > span { background: var(--success); }
.button:disabled { opacity: .55; transform: none; cursor: wait; }
.roof-preview { position: relative; height: 300px; overflow: hidden; border-radius: 16px; background: #dbe5f2; }
.roof-preview > iframe { width: 100%; height: 100%; border: 0; }
.roof-preview > iframe[hidden] { display: none; }
.roof-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(4,17,61,.35)); pointer-events: none; }
.roof-map-status { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; background: rgba(4,17,61,.68); color: #fff; font-size: 14px; font-weight: 750; }
.roof-map-status[hidden] { display: none; }
.demo-badge { position: absolute; z-index: 2; left: 14px; bottom: 13px; padding: 7px 10px; border-radius: 8px; background: rgba(4,17,61,.88); color: #fff; font-size: 10px; font-weight: 750; }
.demo-badge.live { background: rgba(12,112,75,.92); }
.demo-badge.loading { background: rgba(7,27,85,.88); }
.potential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.potential-grid div { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.potential-grid span, .potential-grid strong { display: block; }
.potential-grid span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.potential-grid strong { color: var(--navy-900); font-size: 19px; }

.result-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.result-hero h2 { margin-bottom: 6px; }
.result-hero p { margin: 0; font-size: 13px; }
.result-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 12px; }
.result-primary { padding: 28px; border-radius: 15px; background: linear-gradient(135deg, var(--navy-900), #0d3d9c); color: #fff; }
.result-primary > span, .result-primary > p { color: #b8cdfc; font-size: 11px; }
.result-primary > strong { display: block; margin: 3px 0 0; font-size: 48px; letter-spacing: -.055em; }
.result-primary > strong small { font-size: 17px; }
.cash-row { display: flex; align-items: center; justify-content: space-between; margin-top: 21px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.17); font-size: 12px; }
.cash-row strong { font-size: 18px; }
.result-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.result-metrics div { display: flex; flex-direction: column; justify-content: center; padding: 17px 20px; background: #fff; }
.result-metrics span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.result-metrics strong { color: var(--navy-900); font-size: 20px; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.payment-option { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.payment-option.featured-payment { border-width: 2px; border-color: #75c9a6; background: #f0faf6; box-shadow: 0 12px 28px rgba(12,112,75,.12); }
.payment-option.tpo-payment { border-color: #b8e1cf; background: #f0faf6; }
.payment-option-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.payment-option-head span { color: var(--navy-900); font-size: 12px; font-weight: 800; }
.payment-option-head small { padding: 4px 6px; border-radius: 99px; background: rgba(255,255,255,.8); color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.payment-option > strong { display: block; color: var(--navy-900); font-size: 27px; letter-spacing: -.04em; }
.payment-option > strong small { font-size: 12px; }
.payment-option p { min-height: 32px; margin: 4px 0 0; font-size: 10px; line-height: 1.45; }
.tpo-disclosure { margin: 8px 2px 0; font-size: 10px; line-height: 1.45; }
.savings-card { margin-top: 12px; padding: 22px 25px 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.savings-head strong { display: block; color: var(--success); font-size: 27px; }
.savings-head p { margin: 3px 0 0; font-size: 10px; }
.chart-wrap { margin-top: 4px; }
#savings-chart { display: block; width: 100%; height: 150px; overflow: visible; }
.chart-grid line { stroke: #e9edf4; stroke-width: 1; }
.utility-line, .solar-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }
.utility-line { stroke: #ff9f1c; }
.solar-line { stroke: var(--blue-600); }
.chart-legend { display: flex; gap: 22px; color: var(--muted); font-size: 10px; }
.chart-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; margin: 0 6px 3px 0; border-radius: 5px; }
.utility-key::before { background: #ff9f1c; }
.solar-key::before { background: var(--blue-600); }
.assumptions-box { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.assumptions-box summary { display: flex; justify-content: space-between; padding: 15px 18px; color: var(--navy-900); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.assumptions-box summary::-webkit-details-marker { display: none; }
.assumptions-box[open] summary span { transform: rotate(45deg); }
#assumptions-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 20px; padding: 0 18px 16px; color: var(--muted); font-size: 11px; }

.proposal-success { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 51px; height: 51px; margin: 0 auto 14px; border-radius: 50%; background: #e2f6ef; color: var(--success); font-size: 23px; font-weight: 900; }
.proposal-success p { font-size: 14px; }
.save-form { max-width: 680px; margin: 0 auto; padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.save-form .field-group { margin-bottom: 5px; }
.privacy-note { margin: 10px 0 0; text-align: center; font-size: 10px; }
.proposal-preview { max-width: 760px; margin: 0 auto; padding: 29px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.proposal-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.proposal-head span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.proposal-head strong { display: block; color: var(--navy-900); font-size: 22px; }
.proposal-numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: 19px 0; border: 1px solid var(--line); border-radius: 11px; }
.proposal-numbers div { padding: 15px; border-right: 1px solid var(--line); }
.proposal-numbers div:last-child { border: 0; }
.proposal-numbers span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.proposal-numbers strong { color: var(--navy-900); font-size: 14px; }
.proposal-ownership { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: -2px 0 18px; padding: 14px 16px; border: 1px solid #cbd7ec; border-radius: 10px; background: var(--blue-50); }
.proposal-ownership span, .proposal-ownership strong { display: block; }
.proposal-ownership span { color: var(--blue-600); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.proposal-ownership strong { color: var(--navy-900); font-size: 18px; }
.proposal-ownership > small { max-width: 390px; color: var(--muted); font-size: 10px; text-align: right; }
.proposal-actions { display: flex; gap: 10px; }
.proposal-actions .button { flex: 1; }
.lock-message { display: flex; flex-direction: column; margin-top: 14px; padding: 13px; border-radius: 9px; background: #fff8dd; color: #6c5000; font-size: 11px; }
.estimator-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 79px; padding: 12px 26px; border-top: 1px solid var(--line); background: #fff; }
.estimator-footer > .button { justify-self: end; }
.back-button { justify-self: start; padding: 10px; border: 0; background: none; color: var(--navy-900); font-weight: 750; cursor: pointer; }
.back-button:disabled { opacity: .35; cursor: default; }
.footer-disclaimer { color: #8a95a9; font-size: 10px; }
.toast { position: fixed; z-index: 2000; left: 50%; bottom: 25px; padding: 11px 18px; border-radius: 99px; background: var(--navy-950); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-header { height: 70px; }
  .brand { width: 190px; }
  .brand img { width: 190px; }
  .nav-toggle { display: block; cursor: pointer; }
  .site-nav { position: absolute; display: none; flex-direction: column; align-items: stretch; gap: 4px; top: 70px; left: 0; right: 0; padding: 15px 20px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 11px 5px; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 470px; margin-left: 35px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 45px; }
  .price-card-wrap { max-width: 630px; margin: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .estimator-panel { inset: 0; border-radius: 0; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 75px 0; }
  .hero { padding: 45px 0 55px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: 44px; }
  .hero-lede { font-size: 16px; }
  .address-control { align-items: stretch; flex-wrap: wrap; }
  .address-control .pin-icon { display: none; }
  .address-control input { flex-basis: 100%; padding: 0 11px; }
  .address-control .button { width: 100%; }
  .hero-assurances { gap: 9px 14px; }
  .hero-visual { min-height: 330px; margin-left: 12px; }
  .hero-visual > img { border-radius: 58px 18px 18px 18px; }
  .estimate-peek { left: -12px; bottom: -20px; transform: scale(.9); transform-origin: left bottom; }
  .sun-chip { right: 8px; top: 8px; }
  .trust-grid { grid-template-columns: 1fr; padding: 9px 0; }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .steps-grid, .option-grid { grid-template-columns: 1fr; }
  .step-card.featured, .option-card.featured-option { transform: none; }
  .price-card-wrap { padding: 12px 0; }
  .orbit { display: none; }
  .price-card { padding: 21px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 35px; }
  .footer-links { gap: 55px; }
  .footer-bottom { flex-direction: column; }
  .estimator-header { grid-template-columns: 145px 1fr 38px; gap: 12px; min-height: 70px; padding: 9px 13px; }
  .estimator-header > img { width: 140px; }
  .progress-label strong { display: none; }
  .estimator-body { padding: 28px 17px 35px; }
  .roof-choices { grid-template-columns: repeat(2, 1fr); }
  .story-choices { grid-template-columns: repeat(2, 1fr); }
  .form-grid-two { grid-template-columns: 1fr; gap: 0; }
  .roof-preview { height: 220px; }
  .potential-grid { grid-template-columns: 1fr; }
  .potential-grid div { display: flex; align-items: center; justify-content: space-between; }
  .result-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .payment-option p { min-height: 0; }
  .result-primary > strong { font-size: 43px; }
  .savings-card { padding: 18px 15px 12px; }
  .proposal-numbers { grid-template-columns: repeat(2, 1fr); }
  .proposal-numbers div:nth-child(2) { border-right: 0; }
  .proposal-numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proposal-ownership { align-items: flex-start; flex-direction: column; gap: 5px; }
  .proposal-ownership > small { text-align: left; }
  .proposal-actions { flex-direction: column; }
  .estimator-footer { grid-template-columns: auto 1fr; min-height: 70px; padding: 9px 13px; }
  .footer-disclaimer { display: none; }
  .result-hero { flex-direction: column; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 39px; }
  .hero-visual { min-height: 280px; }
  .estimate-peek { width: 215px; }
  .price-stats { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 28px; }
  .estimator-header { grid-template-columns: 127px 1fr 36px; }
  .estimator-header > img { width: 125px; }
  .stage-copy h2, .result-hero h2, .proposal-success h2 { font-size: 29px; }
  .choice-grid span { min-height: 58px; font-size: 12px; }
  .bill-card { padding: 22px 17px; }
  #assumptions-list { grid-template-columns: 1fr; }
}

@media print {
  body > *:not(.estimator-shell) { display: none !important; }
  .estimator-shell, .estimator-panel, .estimate-stage[data-stage="5"], .proposal-preview { position: static !important; display: block !important; box-shadow: none !important; }
  .estimator-backdrop, .estimator-header, .estimator-footer, .proposal-success, .save-form, .proposal-actions, .lock-message { display: none !important; }
  .estimator-body { overflow: visible; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
