:root {
  --orange: #f26522;
  --orange-dark: #d94e0f;
  --charcoal: #17191b;
  --charcoal-2: #24272a;
  --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); }
.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; }
.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; }
  .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, 101, 34, .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; color: var(--orange); font-size: 19px; line-height: 1.1; font-weight: 900; }
.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; }
