:root {
  --ink: #172126;
  --muted: #5f6b70;
  --paper: #f8faf8;
  --panel: #ffffff;
  --line: #d9e2de;
  --teal: #0f6a63;
  --teal-dark: #0b403d;
  --coral: #d75f45;
  --gold: #e4ad4d;
  --blue: #305d78;
  --shadow: 0 24px 70px rgba(23, 33, 38, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 248, .9);
  border-bottom: 1px solid rgba(217, 226, 222, .8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: .78rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:first-child {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(15, 106, 99, .18);
}

.site-nav a:first-child:hover {
  background: var(--teal-dark);
}

.site-nav a:last-child {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.site-nav a:last-child:hover {
  border-color: #b7c8c1;
  background: #f7faf8;
  box-shadow: 0 10px 24px rgba(23, 33, 38, .08);
}

.brand:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: auto;
  padding: clamp(34px, 4.4vw, 62px) clamp(18px, 4vw, 56px);
  background: #172126;
  overflow: hidden;
}

.hero-copy {
  --hero-inner-width: min(100%, 1030px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1120px, 82vw);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 42px) 0;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .58);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
  padding: 8px 13px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  font-size: clamp(.95rem, 1.5vw, 1.25rem);
  letter-spacing: .06em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(18ch, var(--hero-inner-width));
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-text {
  width: min(92%, 920px);
  max-width: var(--hero-inner-width);
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  justify-content: center;
  width: min(92%, var(--hero-inner-width));
}

.trust-list,
.form-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero .trust-list {
  justify-content: center;
  width: min(92%, var(--hero-inner-width));
}

.offer-summary {
  counter-reset: offer;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.offer-summary li {
  counter-increment: offer;
  position: relative;
  margin: 0;
  padding: 0 6px 0 36px;
  color: var(--ink);
  font-weight: 760;
}

.offer-summary li::before {
  content: counter(offer);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  background: var(--teal);
  border: 1px solid rgba(15, 106, 99, .22);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 106, 99, .18);
  font-size: .78rem;
  font-weight: 850;
}

.offer-summary li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 0;
  left: calc(100% - 18px);
  height: 2px;
  background: #c7d8d1;
}

.trust-list li,
.form-trust-list li {
  position: relative;
  padding: 8px 12px 8px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: #314047;
  font-size: .9rem;
  font-weight: 750;
}

.trust-list li::before,
.form-trust-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.hero .trust-list li {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .92);
}

.hero .trust-list li::before {
  border-color: #74d7c7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(15, 106, 99, .24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: #b7c8c1;
  background: #f7faf8;
  box-shadow: 0 10px 24px rgba(23, 33, 38, .08);
}

.button[hidden] {
  display: none;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0;
  text-align: left;
}

.quick-facts div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #d5e3dd;
  border-radius: 8px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.hero-detail-strip {
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #fbfdf9 0%, #eef7f1 100%);
  border-bottom: 1px solid #d9e8e0;
}

.process-strip {
  padding-block: clamp(14px, 2vw, 20px);
}

.qualification-strip {
  padding-block: clamp(14px, 2vw, 18px);
  background: linear-gradient(180deg, #f9fcf8 0%, #eef6f1 100%);
  border-top: 1px solid #d9e8e0;
}

.hero-detail-inner {
  display: grid;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: .96;
  filter: saturate(1.05) contrast(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(23, 33, 38, .86) 0%, rgba(23, 33, 38, .66) 54%, rgba(23, 33, 38, .28) 100%),
    linear-gradient(0deg, rgba(23, 33, 38, .34), rgba(23, 33, 38, .12));
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.band {
  background: #eef5f0;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 32px;
}

.single-line-heading {
  max-width: none;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 210px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.feature:hover {
  background: #fff;
  border-color: #b7c8c1;
  box-shadow: 0 18px 42px rgba(23, 33, 38, .1);
  transform: translateY(-2px);
}

.feature p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.feature:hover .icon {
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(15, 106, 99, .18);
  transform: translateY(-1px);
}

.requirements {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

#requirements {
  background: #2f464d;
}

#requirements h2,
#requirements h3,
#requirements li {
  color: #fff;
}

#requirements p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 14px;
  height: 8px;
  border-left: 3px solid #74d7c7;
  border-bottom: 3px solid #74d7c7;
  transform: rotate(-45deg);
}

.journey-divider {
  padding: 10px clamp(10px, 1.8vw, 22px) 0;
  background: linear-gradient(180deg, var(--paper) 0%, #f1f7f3 100%);
}

.journey-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.journey-road {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.journey-shadow,
.journey-dashes {
  fill: none;
  stroke-linecap: round;
}

.journey-shadow {
  stroke: rgba(48, 93, 120, .12);
  stroke-width: 20;
}

.journey-dashes {
  stroke: #305d78;
  stroke-width: 8;
  stroke-dasharray: 26 18;
}

.journey-car {
  filter: drop-shadow(0 10px 14px rgba(23, 33, 38, .18));
}

.intake-section {
  background: #2f464d;
  scroll-margin-top: 72px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #fff;
}

.form-intro {
  max-width: 430px;
}

.form-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
}

.form-trust-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form-trust-list li {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
}

.form-trust-list li::before {
  border-color: #74d7c7;
}

.lead-form {
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress {
  display: grid;
  grid-template-columns: 38px 1fr 38px 1fr 38px;
  align-items: center;
  margin-bottom: 28px;
}

.progress-step {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--muted);
  background: #eef2f0;
  font-weight: 800;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: #fff;
  background: var(--teal);
}

.progress-line {
  height: 2px;
  background: var(--line);
}

.progress-line.is-complete {
  background: var(--teal);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 850;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.consent span {
  color: #314047;
  font-size: .93rem;
  font-weight: 750;
}

.field-note {
  margin-left: 6px;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field-note.optional {
  color: var(--muted);
}

.choice-field {
  gap: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.repair-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid #cdd8d3;
  border-radius: 8px;
  background: #fbfcfb;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--teal);
  background: #edf8f5;
  box-shadow: 0 0 0 3px rgba(15, 106, 99, .1);
}

.choice-card:hover {
  border-color: #9db4ad;
  background: #fff;
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.choice-card input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.choice-card span {
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #cdd8d3;
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 106, 99, .12);
}

.upload-field input {
  padding: 12px;
  border-style: dashed;
}

.photo-reassurance {
  padding: 14px 16px;
  background: #eef7f4;
  border: 1px solid #cce4dc;
  border-radius: 8px;
}

.photo-reassurance strong {
  display: block;
  margin-bottom: 4px;
}

.photo-reassurance p {
  margin: 0;
  color: var(--muted);
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.photo-preview figure {
  margin: 0;
  overflow: hidden;
  background: #eef2f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.photo-preview figcaption {
  padding: 7px;
  color: var(--muted);
  font-size: .76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-message {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--coral);
  font-weight: 750;
}

.form-message:not(:empty) {
  padding: 12px 14px;
  background: #fff4ef;
  border: 1px solid #f0c4b8;
  border-radius: 8px;
}

.form-message.success {
  color: var(--teal);
  padding: 14px 16px;
  background: #eef7f4;
  border: 1px solid #cce4dc;
  border-radius: 8px;
}

.form-actions {
  justify-content: space-between;
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .72);
  background: #172126;
  font-size: .9rem;
}

.site-footer p {
  width: min(1180px, 100%);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .requirements,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(460px, 58vh, 620px);
  }

  h1 {
    max-width: 13ch;
  }

  .hero-copy {
    width: min(720px, 88vw);
  }

  .hero-visual img {
    object-position: 68% center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .single-line-heading {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .form-actions,
  .quick-facts,
  .field-row,
  .trust-list,
  .choice-grid,
  .repair-choice-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .trust-list {
    display: grid;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(112px, .8fr);
    gap: 8px;
    width: 100%;
  }

  .quick-facts {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 0;
  }

  .section {
    padding-block: 48px;
  }

  .hero {
    min-height: auto;
    padding: 18px 14px 22px;
  }

  .hero-copy {
    --hero-inner-width: 100%;
    width: 100%;
    gap: 16px;
    padding: 12px 0 18px;
  }

  h1 {
    max-width: 13ch;
    margin-bottom: 0;
    font-size: clamp(2.05rem, 9.5vw, 2.45rem);
    line-height: .98;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-text {
    width: min(100%, 31rem);
    margin-bottom: 0;
    font-size: .88rem;
    line-height: 1.36;
  }

  .hero-actions,
  .trust-list,
  .quick-facts {
    margin-top: 0;
  }

  .hero-eyebrow {
    width: auto;
    max-width: 100%;
    min-height: 0;
    margin-bottom: 0;
    padding: 6px 9px;
    justify-content: center;
    text-align: center;
    font-size: .72rem;
  }

  .trust-list li,
  .form-trust-list li {
    padding-block: 6px;
    font-size: .76rem;
  }

  .hero .trust-list {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100%, 31rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 31rem);
  }

  .offer-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .offer-summary li {
    min-height: 54px;
    padding: 0 0 0 28px;
    font-size: .72rem;
    line-height: 1.25;
  }

  .offer-summary li::before {
    top: 0;
    width: 20px;
    height: 20px;
    font-size: .66rem;
  }

  .offer-summary li:not(:last-child)::after {
    display: none;
  }

  .quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .hero-detail-strip {
    padding: 16px 14px 18px;
  }

  .process-strip,
  .qualification-strip {
    padding-block: 12px 14px;
  }

  .hero-detail-inner {
    gap: 14px;
  }

  .quick-facts div {
    padding: 8px;
  }

  .quick-facts dt {
    font-size: .62rem;
  }

  .quick-facts dd {
    font-size: .68rem;
    line-height: 1.25;
  }

  .journey-divider {
    padding-top: 2px;
  }

  .journey-divider {
    padding-inline: 4px;
  }

  .journey-inner {
    width: 100%;
  }

  .journey-road {
    min-height: 54px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
