/* RoofLift — site styles */
:root {
  --black: #101113;
  --ink: #17191B;
  --brand-red: #F20D1D;   /* logo red */
  --red: #D60B19;         /* buttons and fills: white text passes AA */
  --red-hover: #B30915;
  --red-text: #B80A16;    /* red text on light backgrounds */
  --red-light: #FF5C66;   /* red text on dark backgrounds */
  --green: #1F7A45;
  --paper: #F5F4F1;
  --white: #FFFFFF;
  --line: #D8D6D0;
  --line-dark: #3A3F45;
  --muted: #4A5056;
  --body: #3A3F45;
  --on-dark: #C9CDD1;
  --on-dark-muted: #A9AEB2;
  --wrap: 1200px;
}

@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 900; font-display: swap; src: url("/fonts/montserrat-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap; src: url("/fonts/montserrat-latin-800-italic.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red-text); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.sec { padding: 112px 0; }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--black { background: var(--black); color: var(--white); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 12px 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.colon, .r { color: var(--brand-red); }

/* Type */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red-text); }
.sec--ink .eyebrow, .sec--black .eyebrow, .hero .eyebrow { color: var(--red-light); }
.h1, .h2, .h3, .band h2, .steps h3, .trio h3, .price, .big-stat, .steps__num { font-family: "Montserrat", Inter, Arial, sans-serif; font-style: italic; }
.h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 900; line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.h1--hero { font-size: clamp(42px, 5.2vw, 70px); }
.hero__sub { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--white); margin-top: -12px; }
.lead { font-size: 19px; line-height: 1.55; }
.body { font-size: 18px; line-height: 1.6; color: var(--body); }
.sec--ink .body, .sec--black .body { color: var(--on-dark); }
.note { font-size: 13px; line-height: 1.5; color: #5C6166; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  text-decoration: none;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hover); color: var(--white); }
.btn--ghost { color: var(--white); border: 1px solid #4A4F55; background: transparent; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid #B5B2AB; font-weight: 700; text-transform: none; letter-spacing: 0; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.link-cta { font-weight: 800; font-size: 15px; letter-spacing: 0.6px; text-transform: uppercase; text-underline-offset: 6px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid #24272B; }
.header__in { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }
.logo:hover { color: var(--white); }
.nav { display: flex; gap: 28px; }
.nav a { color: #D9DBDD; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }

/* Hero */
.hero { background: var(--black); color: var(--white); }
.hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__copy .eyebrow { color: var(--on-dark-muted); }
.hero__copy .lead { color: var(--on-dark); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; border-top: 1px solid #2A2E33; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero__trust svg { color: var(--brand-red); flex: none; }
.hero__media { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.caption-dark { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: var(--on-dark-muted); }

/* Before/after slider */
.ba { position: relative; height: 580px; overflow: hidden; user-select: none; background: #222; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 50% 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--white); color: var(--white);
  display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.ba__tag { position: absolute; top: 16px; padding: 8px 12px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); pointer-events: none; }
.ba__tag--l { left: 16px; background: rgba(16,17,18,.86); }
.ba__tag--r { right: 16px; background: var(--red); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }

/* Split layouts */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* System steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 2px solid var(--ink); }
.steps li { flex: 1 1 200px; padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.steps__num { font-size: 56px; font-weight: 900; line-height: 1; color: var(--red); letter-spacing: -2px; }
.steps h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.3px; text-transform: uppercase; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head .lead { color: var(--muted); max-width: 400px; }

/* Photo figures */
.figs { display: flex; flex-wrap: wrap; gap: 16px; }
.fig { flex: 1 1 300px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fig__img { position: relative; }
.fig__img img { width: 100%; height: 280px; object-fit: cover; }
.chip { position: absolute; left: 12px; top: 12px; padding: 6px 10px; background: rgba(16,17,18,.86); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.chip--bottom { top: auto; bottom: 16px; left: 16px; font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: none; padding: 8px 12px; }
.fig figcaption { font-size: 15px; line-height: 1.5; color: var(--muted); }
.fig figcaption b { color: var(--ink); }

/* Qualification */
.panel { border: 1px solid var(--line-dark); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel__label { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red-light); }
.panel__label--muted { color: var(--on-dark-muted); }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dash-list li { display: flex; gap: 12px; align-items: baseline; }
.dash-list li::before { content: "—"; color: var(--red); font-weight: 900; }
.sec--ink .dash-list, .pricing__side .dash-list { color: #E3E5E7; }

/* Pricing */
.pricing { background: var(--white); border-top: 6px solid var(--red); display: flex; flex-wrap: wrap; }
.pricing__main { flex: 1 1 520px; padding: 56px; display: flex; flex-direction: column; gap: 24px; }
.pricing__side { flex: 1 1 360px; background: var(--ink); color: var(--white); padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.price-from { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.price { font-size: clamp(56px, 7vw, 96px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.price-sub { font-size: 16px; font-weight: 700; color: var(--muted); }
.big-stat { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -2px; color: var(--red-light); }

/* Red band */
.band { background: var(--red); color: var(--white); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -1px; text-transform: uppercase; line-height: 1.05; }
.band a.text-link { color: var(--white); font-weight: 700; text-underline-offset: 5px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; min-height: 44px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 28px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.input {
  height: 52px; padding: 0 16px; width: 100%; font: inherit; font-size: 16px;
  background: var(--white); border: 1px solid #B5B2AB; color: var(--ink);
}
select.input { appearance: auto; }
.form--dark .field { color: #D9DBDD; }
.form--dark .input { background: #1C1F22; border-color: var(--line-dark); color: var(--white); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--body); }
.form--dark .check { color: var(--on-dark); }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--red); }
.check a { color: inherit; }
.upload { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px dashed #A9A6A0; background: var(--paper); font-weight: 500; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hidden-field { display: none; }

.card-form { background: var(--white); border-top: 6px solid var(--red); padding: 48px; }
.card-form--paper { background: var(--paper); }
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.progress span { height: 6px; background: #E3E1DC; }
.progress span.on { background: var(--red); }
.step-label { font-size: 14px; font-weight: 700; color: var(--muted); }

.num-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.num-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.num-list .n { font-weight: 900; font-size: 22px; color: var(--red); width: 24px; flex: none; }

/* Page hero (inner pages) */
.page-hero { background: var(--black); color: var(--white); }
.page-hero__in { display: flex; flex-direction: column; gap: 28px; padding-top: 104px; padding-bottom: 104px; }
.page-hero .lead { color: var(--on-dark); max-width: 640px; }
.page-hero__img { position: relative; margin-top: 24px; }
.page-hero__img img { width: 100%; height: 560px; object-fit: cover; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--body); }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }

/* Footer */
.footer { background: var(--black); color: var(--on-dark-muted); border-top: 1px solid #24272B; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 48px; padding-bottom: 48px; font-size: 14px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand img { width: 220px; height: auto; }
.footer__legal { padding-bottom: 32px; font-size: 12px; color: #8E9398; }
.footer__legal p { border-top: 1px solid #24272B; padding-top: 20px; }
.footer__tag { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { color: #D9DBDD; }
.footer nav a:hover { color: var(--white); }

/* Mobile sticky CTA */
.mcta { display: none; }

@media (max-width: 1040px) {
  .nav { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .header .btn { display: none; }
  .ba { height: 360px; }
  .logo img { height: 50px; }
  .header__in { height: 72px; }
  .pricing__main, .pricing__side, .card-form { padding: 32px 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .page-hero__img img { height: 300px; }
  .mcta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  }
  .footer { padding-bottom: 80px; }
}

/* RoofLift additions */
.dot { color: var(--black); }
.stepcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stepcards li { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stepcards .fig__img img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.stepcards .steps__num { font-size: 44px; margin-top: 8px; }
.stepcards h3 { font-family: "Montserrat", Inter, Arial, sans-serif; font-style: italic; font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.3px; }
.stepcards p { font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1040px) { .stepcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stepcards { grid-template-columns: minmax(0, 1fr); } }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.trio > div { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.trio > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trio h3 { font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; color: var(--brand-red); }
.trio p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.row--flip { flex-direction: row-reverse; }
.row__txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.row__img { flex: 1.2 1 440px; min-width: 0; }
.row__img img { width: 100%; height: 380px; object-fit: cover; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare__col { padding: 40px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); border-top: 6px solid var(--green); }
.compare__col--no { border-top-color: var(--red); }
.compare__col .fig__img { margin: -40px -40px 8px; }
.compare__col .fig__img img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.picker { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: stretch; }
.picker__view { flex: 1.7 1 520px; min-width: 0; }
.picker__view img { width: 100%; aspect-ratio: 761 / 505; height: auto; object-fit: cover; transition: opacity .25s ease; }
.picker__view img.is-fading { opacity: .35; }
.picker__panel { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.picker__name { font-family: "Montserrat", Inter, Arial, sans-serif; font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; }
.picker__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip-btn { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; }
.chip-btn span { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { border: 2px solid var(--brand-red); padding: 7px 11px; }
@media (prefers-reduced-motion: reduce) { .picker__view img { transition: none; } }
.input--area { height: auto; padding: 14px 16px; resize: vertical; }
.btn--ghost { border-color: #5A5F65; }
@media (max-width: 760px) {
  .trio, .compare { grid-template-columns: minmax(0, 1fr); }
  .trio > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .row, .row--flip { flex-direction: column; align-items: stretch; }
  .row__img img { height: 240px; }
  .compare__col { padding: 28px 22px; }
  .compare__col .fig__img { margin: -28px -22px 8px; }
}

.h1--hero .r { margin-left: 0.08em; }
