:root {
  --blue: #0757bd;
  --blue-dark: #083b82;
  --green: #18b957;
  --green-dark: #0c8f40;
  --ink: #111827;
  --muted: #637083;
  --line: #d9e2ee;
  --soft: #f5f8fc;
  --warm: #fff7ed;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 31, 70, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.phone-link,
.cta-button,
.choice {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border-radius: 10px;
}

.brand-mark svg,
.phone-link svg,
.secure-note svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  color: #142033;
  background: #e9fbf0;
  border: 1px solid #d5f5e1;
  border-radius: 999px;
  white-space: nowrap;
}

.phone-link:hover {
  background: #d8f7e5;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 62px;
  padding: 12px 20px;
  color: #8d3b1d;
  background: var(--warm);
  border-bottom: 1px solid #f3dfc7;
  text-align: center;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  place-items: center;
  color: var(--white);
  background: #36516e;
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack span:nth-child(2) { background: #0f766e; }
.avatar-stack span:nth-child(3) { background: #b45309; }
.avatar-stack span:nth-child(4) { background: #7c3aed; }
.avatar-stack span:nth-child(5) { background: #be123c; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 128px);
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/junk-car-pickup-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 34, 76, 0.94) 0%, rgba(6, 70, 148, 0.86) 44%, rgba(6, 70, 148, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 20, 45, 0.2), rgba(3, 20, 45, 0.1));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.eyebrow,
.step-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span {
  padding: 10px 14px;
  color: #e7f9ef;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
}

.offer-card {
  width: 100%;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.offer-card h2 {
  margin: 0 0 26px;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.12;
}

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

.choice,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px 20px;
  border-radius: 7px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.choice {
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.choice-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(24, 185, 87, 0.28);
}

.choice:hover,
.cta-button:hover {
  transform: translateY(-2px);
}

.choice-primary:hover,
.cta-button:hover {
  background: var(--green-dark);
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 14px;
  color: #637083;
  background: var(--soft);
  border-radius: 7px;
  font-weight: 700;
  text-align: center;
}

.secure-note svg {
  color: var(--green);
  flex: 0 0 auto;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 104px) 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.condition-panel h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.condition-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.step-grid article,
.review-grid figure {
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16, 36, 64, 0.07);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.step-grid h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.step-grid p,
.review-grid blockquote {
  margin: 0;
  color: var(--muted);
}

.condition-section {
  width: 100%;
  background: #eef5fd;
}

.condition-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 70px);
  background: var(--white);
  border: 1px solid #cfe0f4;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-button {
  width: fit-content;
  min-width: 210px;
  margin-top: 12px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(24, 185, 87, 0.26);
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.condition-list li {
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.condition-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--green);
  border-radius: 50%;
}

.review-grid blockquote {
  min-height: 116px;
  font-size: 1.08rem;
  font-weight: 650;
}

.review-grid figcaption {
  margin-top: 22px;
  font-weight: 900;
}

.review-grid span {
  display: block;
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 0.88rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(36px, 6vw, 58px) clamp(20px, 6vw, 72px);
  color: var(--white);
  background: var(--blue-dark);
}

.final-cta .eyebrow {
  color: #80f0ad;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.phone-link-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.phone-link-dark:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 28px 20px 34px;
  color: #9aa7b8;
  background: #0a1729;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer button,
.modal-close {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer button:hover {
  color: var(--white);
}

dialog {
  width: min(560px, calc(100% - 32px));
  padding: 28px;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(8, 20, 38, 0.62);
}

dialog h2 {
  margin: 0 36px 12px 0;
}

dialog p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  font-size: 1.6rem;
}

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

  .hero-inner,
  .condition-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 34, 76, 0.94), rgba(6, 70, 148, 0.76));
  }

  .step-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid blockquote {
    min-height: 0;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 10px 14px;
  }

  .brand {
    justify-content: flex-start;
    flex: 1 1 auto;
    gap: 7px;
    font-size: clamp(0.92rem, 4.2vw, 1rem);
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .brand-mark svg,
  .phone-link svg {
    width: 16px;
    height: 16px;
  }

  .site-header > .phone-link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 9px;
    gap: 5px;
    font-size: clamp(0.76rem, 3.35vw, 0.9rem);
  }

  .trust-strip {
    gap: 10px;
    min-height: 68px;
    padding: 10px 14px;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .avatar-stack span {
    width: 28px;
    height: 28px;
    margin-left: -7px;
    font-size: 0.58rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 520px);
    gap: 16px;
    padding: 24px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 13.4vw, 3.45rem);
  }

  .hero-lede {
    margin-top: 12px;
    font-size: 0.96rem;
  }

  .hero-badges {
    display: none;
  }

  .offer-card {
    padding: 22px 18px;
  }

  .offer-card h2 {
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 8.2vw, 2rem);
  }

  .choice,
  .cta-button {
    min-height: 54px;
    padding: 12px 16px;
  }

  .choice-grid,
  .condition-list {
    grid-template-columns: 1fr;
  }

  .secure-note {
    align-items: flex-start;
    text-align: left;
  }

  .section {
    width: min(100% - 28px, 520px);
  }

  .condition-panel {
    width: min(100% - 28px, 520px);
    padding: 28px 18px;
  }

  .cta-button {
    width: 100%;
  }
}
