:root {
  --orange: #f22b2b;
  --orange-dark: #ca2222;
  --charcoal: #0b0d0f;
  --charcoal-2: #15181c;
  --ink: #202124;
  --muted: #666a70;
  --line: #d9dde2;
  --soft: #f4f5f6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 20, 22, .14);
}
* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--white); }
a { color: inherit; }
[hidden] { display: none !important; }
.site-header { min-height: 94px; padding: 16px clamp(20px, 4vw, 64px); background: var(--charcoal); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 4px solid var(--orange); }
.logo-link { display: block; line-height: 0; }
.logo-link img { display: block; width: min(285px, 52vw); height: auto; }
.header-phone { color: var(--white); font-size: clamp(17px, 2vw, 22px); font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--orange); }
main { background: linear-gradient(135deg, #fff 0%, #fff 58%, #f1f2f3 58%, #f1f2f3 100%); }
.hero { width: min(1220px, calc(100% - 40px)); min-height: calc(100vh - 154px); margin: 0 auto; padding: clamp(52px, 7vw, 94px) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(42px, 7vw, 92px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 900; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }
h1 { max-width: 720px; margin: 16px 0 20px; color: var(--charcoal); font-size: clamp(42px, 5.8vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 900; }
.intro { max-width: 690px; margin: 0; color: #555a60; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.trust-row span { padding: 8px 12px; border: 1px solid #d9dde2; background: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.input-card { max-width: 710px; padding: clamp(22px, 3vw, 34px); background: #fff; border-top: 5px solid var(--orange); box-shadow: var(--shadow); }
.input-card label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; }
.field-help { margin: 9px 0 19px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.primary-button, .secondary-button { min-height: 56px; padding: 15px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 0; font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, opacity .15s ease; }
.primary-button { color: #fff; background: var(--orange); }
.button-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.primary-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.secondary-button { color: #fff; background: var(--charcoal); }
.secondary-button:hover { background: #000; transform: translateY(-1px); }
.input-card .primary-button { width: 100%; }
.form-error { margin: 14px 0 0; padding: 12px 14px; color: #861f1f; background: #fff0f0; border-left: 4px solid #c53e3e; font-size: 14px; line-height: 1.45; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: #4e5358; font-size: 13px; }
.proof-strip strong { color: var(--orange); }
.hero-copy, .result-column { min-width: 0; max-width: 100%; }
.visual-card, .status-card, .result-card { min-width: 0; max-width: 100%; background: #fff; box-shadow: var(--shadow); }
.visual-card { overflow: hidden; }
.roof-illustration {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  line-height: 0;
  background: #eef0f2;
}
.roof-illustration svg,
.roof-illustration img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-width: 0;
}
.roof-illustration img {
  object-fit: cover;
  object-position: center center;
}
.visual-copy { padding: 30px 34px 36px; }
.orange-rule { display: block; width: 58px; height: 5px; margin-bottom: 19px; background: var(--orange); }
.visual-copy h2, .status-card h2 { margin: 0 0 12px; color: var(--charcoal); font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.035em; }
.visual-copy p, .status-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.status-card, .result-card { min-height: 535px; padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; border-top: 5px solid var(--orange); }
.spinner { width: 58px; height: 58px; margin-bottom: 26px; border: 6px solid #eceeef; border-top-color: var(--orange); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 17px; }
.progress-list li { display: flex; align-items: center; gap: 13px; color: #777b80; font-size: 15px; }
.progress-list i { width: 14px; height: 14px; border: 2px solid #bcc1c6; border-radius: 50%; }
.progress-list li.done { color: var(--ink); font-weight: 700; }
.progress-list li.done i { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px #fff; }
.result-card { justify-content: flex-start; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 900; }
.text-button { padding: 0; color: #54585d; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.result-address { margin: 22px 0 30px; color: #555a60; font-size: 14px; line-height: 1.5; }
.price-label { margin: 0 0 7px; color: #666a70; font-size: 13px; font-weight: 700; }
.price-range { color: var(--charcoal); font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; font-weight: 900; }
.price-basis { margin: 10px 0 26px; color: #70757a; font-size: 13px; line-height: 1.5; }
.financing-card {
  margin: 0 0 26px;
  padding: 20px 22px;
  background: #fff2f2;
  border-left: 5px solid var(--orange);
  box-shadow: inset 0 0 0 1px rgba(242, 43, 43, .16);
}
.financing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.finance-label {
  margin: 0 0 5px;
  color: #666a70;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.finance-payment {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--charcoal);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.finance-payment small {
  color: #555a60;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}
.finance-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #fff;
  background: var(--charcoal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.finance-range {
  margin: 12px 0 5px;
  color: #3f4449;
  font-size: 13px;
  line-height: 1.5;
}
.finance-range strong { color: var(--charcoal); }
.finance-note {
  margin: 0;
  color: #74787d;
  font-size: 10px;
  line-height: 1.55;
}
.finance-note a {
  color: #555a60;
  font-weight: 800;
  text-decoration: underline;
}
.finance-note a:hover { color: var(--orange-dark); }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-grid > div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid span { display: block; margin-bottom: 5px; color: #6c7075; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.metric-grid strong { color: var(--charcoal); font-size: 17px; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.disclaimer { margin: 18px 0 0; color: #7a7e83; font-size: 11px; line-height: 1.55; }
.unavailable-icon { width: 54px; height: 54px; margin-bottom: 22px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: 28px; font-weight: 900; }
.status-card .eyebrow { margin-bottom: 15px; }
.status-card > .text-button { align-self: flex-start; margin-top: 18px; }
footer { padding: 20px; color: #9ca0a4; background: var(--charcoal); text-align: center; font-size: 11px; }
footer p { margin: 0; }
@media (max-width: 960px) {
  main { background: #fff; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 760px; }
  .result-column { max-width: 760px; width: 100%; }
}
@media (max-width: 620px) {
  .site-header { min-height: 78px; padding: 12px 18px; }
  .logo-link img { width: min(210px, 58vw); }
  .header-phone { font-size: 14px; }
  .hero { width: min(100% - 28px, 1220px); padding: 42px 0 58px; gap: 34px; }
  h1 { font-size: 43px; }
  .input-card, .visual-copy, .status-card, .result-card { padding: 24px 20px; }
  .metric-grid, .result-actions { grid-template-columns: 1fr; }
  .price-range { font-size: 40px; }
  .financing-heading { align-items: flex-start; }
  .finance-badge { display: none; }
  .financing-card { padding: 18px; }
  .proof-strip { display: grid; gap: 8px; }
}

/* Visible, custom-styled Google address autocomplete */
.address-autocomplete { position: relative; width: 100%; }
.address-input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 15px 16px;
  color: #202124;
  background: #fff;
  border: 1px solid #bfc4ca;
  border-radius: 0;
  outline: none;
  font: 500 16px/1.35 Inter, Arial, sans-serif;
  box-shadow: none;
}
.address-input::placeholder { color: #73777d; opacity: 1; }
.address-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 43, 43, .15); }
.address-input:disabled { color: #777; background: #f2f3f4; cursor: wait; }
.address-suggestions {
  position: absolute;
  z-index: 10000;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 330px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #c7cbd0;
  box-shadow: 0 18px 45px rgba(18, 20, 22, .2);
}
.suggestion-button {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #202124;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eceef0;
  text-align: left;
  font: 500 14px/1.4 Inter, Arial, sans-serif;
  cursor: pointer;
}
.suggestion-button:hover, .suggestion-button.active { background: #fff4ee; }
.suggestion-pin { flex: 0 0 auto; width: 19px; height: 19px; color: var(--orange); }
.suggestion-pin svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.suggestion-text { min-width: 0; }
.suggestion-empty { padding: 16px; color: #64686d; font-size: 13px; line-height: 1.45; }
.suggestion-attribution { padding: 8px 12px; color: #777b80; background: #f7f8f9; text-align: right; font-size: 10px; font-weight: 700; letter-spacing: .02em; }

/* Two-step lead gate */
.step-row {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.step-row .text-button {
  color: #5b6065;
  text-transform: none;
  letter-spacing: 0;
}
.lead-card h2 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.lead-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.selected-address {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--soft);
  border-left: 4px solid var(--orange);
}
.selected-address span {
  display: block;
  margin-bottom: 4px;
  color: #6a6f74;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.selected-address strong {
  display: block;
  color: var(--charcoal);
  font-size: 13px;
  line-height: 1.45;
}
.lead-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field label {
  margin-bottom: 8px;
}
.lead-input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfc4ca;
  border-radius: 0;
  outline: none;
  font: 500 16px/1.35 Inter, Arial, sans-serif;
}
.lead-input::placeholder {
  color: #73777d;
  opacity: 1;
}
.lead-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 43, 43, .15);
}
.lead-input[aria-invalid="true"] {
  border-color: #c53e3e;
  box-shadow: 0 0 0 3px rgba(197, 62, 62, .12);
}
.lead-card .primary-button {
  width: 100%;
  margin-top: 18px;
}
.consent-copy {
  margin: 12px 0 0;
  color: #777b80;
  font-size: 10px;
  line-height: 1.5;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 620px) {
  .lead-fields {
    grid-template-columns: 1fr;
  }
}

/* Lead-quality estimator flow */
.hero-subhead {
  max-width: 690px;
  margin: -5px 0 12px;
  color: var(--charcoal-2);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}
.card-title {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.card-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.qualification-note {
  margin-top: 22px;
  padding: 17px 18px;
  background: #f7f8f9;
  border-left: 4px solid #d5d9dd;
}
.qualification-note > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 13px;
}
.qualification-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
}
.qualification-note li {
  position: relative;
  padding-left: 20px;
  color: #4d5257;
  font-size: 12px;
  line-height: 1.4;
}
.qualification-note li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 8px;
  height: 4px;
  color: var(--orange);
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.qualification-note p {
  margin: 12px 0 0;
  padding-top: 11px;
  color: #74787d;
  border-top: 1px solid #e0e3e6;
  font-size: 10px;
  line-height: 1.45;
}
.qualification-card h2,
.choice-section {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}
.choice-section legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.choice-grid-small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.input-card .choice-card {
  position: relative;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 11px 13px;
  color: #40454a;
  background: #fff;
  border: 1px solid #d1d5da;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease, transform .12s ease;
}
.choice-card:hover {
  border-color: #adb3b9;
  transform: translateY(-1px);
}
.choice-card:has(input:checked) {
  color: var(--charcoal);
  background: #fff4ee;
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card span {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
}
.choice-card span::before {
  content: "";
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  border: 2px solid #b8bdc2;
  border-radius: 50%;
  background: #fff;
}
.choice-card:has(input:checked) span::before {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 3px #fff;
  background: var(--orange);
}
.qualification-card > .primary-button {
  width: 100%;
  margin-top: 22px;
}
.measurement-proof-card {
  justify-content: flex-start;
}
.measurement-proof-card h2 {
  margin: 15px 0 0;
  color: var(--charcoal);
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.proof-check {
  width: 54px;
  height: 54px;
  margin-top: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}
.proof-check svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; stroke-linejoin: miter; }
.measurement-proof-card .result-address {
  margin-bottom: 24px;
}
.proof-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-metrics strong {
  font-size: 15px;
}
.estimate-ready-banner {
  margin-top: 22px;
  padding: 19px 20px;
  display: grid;
  gap: 5px;
  background: var(--charcoal);
  border-left: 5px solid var(--orange);
}
.estimate-ready-banner strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}
.estimate-ready-banner span {
  color: #c8cbce;
  font-size: 12px;
  line-height: 1.45;
}
.research-message {
  margin-top: 24px;
  padding: 17px 18px;
  display: grid;
  gap: 5px;
  background: #f4f5f6;
  border-left: 4px solid #aeb3b8;
}
.research-message strong {
  color: var(--charcoal);
  font-size: 14px;
}
.research-message span {
  color: #62676c;
  font-size: 12px;
  line-height: 1.5;
}
.inspection-cta-copy {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.inspection-cta-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--charcoal);
  font-size: 17px;
}
.inspection-cta-copy p {
  margin: 0;
  color: #62676c;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 620px) {
  .hero-subhead {
    font-size: 22px;
  }
  .qualification-note ul {
    grid-template-columns: 1fr;
  }
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .choice-card span {
    font-size: 11px;
  }
  .proof-metrics {
    grid-template-columns: 1fr;
  }
  .measurement-proof-card h2 {
    font-size: 31px;
  }
  .verification-field {
    max-width: none;
  }
  .verification-input {
    min-height: 62px;
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  .choice-grid:not(.choice-grid-small) {
    grid-template-columns: 1fr;
  }
}

/* Stormforge brand mark matches the company's live website. */
.logo-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-right: 48px; text-decoration: none; }
.logo-link .brand-name { color: #eef1f3; font-family: Impact, 'Arial Narrow', sans-serif; font-size: clamp(20px, 2.4vw, 34px); line-height: 1; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.logo-link .brand-strike { position: absolute; right: 34px; top: 6px; width: 9px; height: 34px; background: #f22b2b; transform: skew(-17deg); }
.logo-link .brand-roof, .logo-link .brand-roof::after { position: absolute; width: 22px; height: 4px; background: #eef1f3; content: ''; }
.logo-link .brand-roof { top: 17px; right: 10px; transform: rotate(-38deg); transform-origin: 100%; }
.logo-link .brand-roof::after { top: 8px; right: -17px; transform: rotate(76deg); }
.site-header { background: #080a0c; border-bottom: 1px solid rgba(238,241,243,.16); }
.header-phone { display: inline-flex; padding: 12px 16px; background: var(--orange); color: #fff; font-size: clamp(12px, 1.3vw, 16px); text-align: center; }
.header-phone:hover { color: #fff; background: var(--orange-dark); }
@media (max-width: 540px) { .site-header { flex-wrap: wrap; justify-content: center; gap: 8px; } .logo-link .brand-name { font-size: 22px; } .header-phone { font-size: 12px; } }
