@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:     #0F1B2D;
  --yellow:   #F2A900;
  --text:     #4A5568;
  --text-lt:  #D5DBE5;
  --border:   #E3E6EB;
  --bg-lt:    #F4F5F7;
  --tbl-hl:   #F7F9FC;
  --wa-bg:    #E8F5EE;
  --wa-text:  #14532D;
  --green:    #1F7A4D;
  --grn-nav:  #7BD3A2;
  --red:      #C53030;
}

/* Scope sell-page fonts to main so the shared header/footer keep site fonts */
main {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.55;
}
main h1, main h2 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
}
main h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; line-height: 1.25; }
main ul { list-style: none; }

/* ── Layout ── */
.s-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.s-hero { background: var(--navy); padding: 72px 0 80px; }
.s-hero-grid {
  display: grid; grid-template-columns: 1fr 460px;
  gap: 48px; align-items: start;
}
.s-eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--yellow); margin-bottom: 14px;
}
.s-hero h1 { font-size: 54px; color: #fff; margin-bottom: 20px; }
.s-hero-sub {
  font-size: 17px; color: var(--text-lt); line-height: 1.65; margin-bottom: 28px;
}
.s-hero-ticks { display: flex; flex-direction: column; gap: 10px; }
.s-hero-ticks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-lt); font-weight: 500;
}

/* ── Form Card ── */
.s-form-card {
  background: #fff; border-radius: 14px; padding: 28px;
  box-shadow: 0 24px 56px rgba(0,0,0,.2);
  font-family: 'Inter', system-ui, sans-serif;
}
.s-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 20px; gap: 12px;
}
.s-form-card h2 {
  font-size: 21px; color: var(--navy); flex: 1;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800; letter-spacing: -.03em;
}
.s-step-label { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; padding-top: 3px; }

.s-progress-bar {
  display: none; height: 3px; background: var(--border);
  border-radius: 2px; margin-bottom: 14px; overflow: hidden;
}
.s-progress-fill { height: 100%; background: var(--yellow); border-radius: 2px; transition: width .3s; }
.s-step-back {
  display: none; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer; padding: 0 0 12px;
  -webkit-tap-highlight-color: transparent;
}

/* ── Reg preview (step 2) ── */
.s-reg-preview {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; background: var(--bg-lt); border-radius: 8px; margin-bottom: 14px;
}
.s-reg-preview strong {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 15px; letter-spacing: .05em; flex: 1;
}
.s-reg-change {
  font-size: 12px; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer; text-decoration: underline;
}

/* ── Fields ── */
.s-field { margin-bottom: 13px; }
.s-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.s-field input[type="text"],
.s-field input[type="tel"],
.s-field select {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--navy); background: #fff;
  min-height: 46px; -webkit-appearance: none; appearance: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color .15s;
}
.s-field input:focus,
.s-field select:focus { outline: none; border-color: var(--navy); }
.s-field input.s-err,
.s-field select.s-err { border-color: var(--red); }

.s-field-err { display: none; font-size: 11px; color: var(--red); margin-top: 4px; }
.s-field-err.on { display: block; }

.s-reg-field {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 800 !important; font-size: 17px !important;
  letter-spacing: .06em !important; text-transform: uppercase;
}

/* Phone with prefix */
.s-phone-wrap { position: relative; }
.s-phone-pre {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%); font-size: 15px;
  font-weight: 500; color: var(--text); pointer-events: none;
}
.s-phone-wrap input { padding-left: 46px !important; }

/* Pills */
.s-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.s-pill {
  padding: 8px 15px; border: 1.5px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--navy); background: #fff;
  cursor: pointer; min-height: 38px; min-width: 44px;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color .12s, background .12s, color .12s;
  -webkit-tap-highlight-color: transparent;
}
.s-pill:hover { border-color: var(--navy); }
.s-pill[aria-pressed="true"] {
  border-color: var(--navy); background: var(--navy); color: #fff;
}

/* Checkbox */
.s-chk-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; cursor: pointer; }
.s-chk-wrap input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--navy); }

/* Honeypot */
.s-hp { position: absolute; left: -9999px; top: -9999px; }

/* Primary button */
.s-btn-primary {
  width: 100%; padding: 15px; background: var(--yellow); color: var(--navy);
  border: 0; border-radius: 10px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px;
  min-height: 52px; cursor: pointer; letter-spacing: -.01em;
  transition: opacity .15s; -webkit-tap-highlight-color: transparent;
}
.s-btn-primary:hover  { opacity: .88; }
.s-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.s-form-note { font-size: 12px; color: var(--text); text-align: center; margin-top: 10px; }
.s-form-div {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text); margin: 14px 0;
}
.s-form-div::before,
.s-form-div::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.s-form-ctas { display: flex; gap: 10px; }
.s-call-sm {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 10px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 13px; font-weight: 700; color: var(--navy); min-height: 46px;
}
.s-wa-sm {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 10px; background: var(--wa-bg); color: var(--wa-text);
  border: 0; border-radius: 10px; font-size: 13px; font-weight: 700; min-height: 46px;
}
.s-form-error {
  display: none; color: var(--red); font-size: 13px;
  margin-top: 10px; padding: 10px; background: #fff5f5; border-radius: 8px;
}
.s-consent { font-size: 11px; color: var(--text); margin-top: 12px; line-height: 1.55; }
.s-consent a { text-decoration: underline; }

/* ════════════════════════════════
   SECTIONS
   ════════════════════════════════ */
.s-sec { padding: 88px 0; }
.s-sec-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.s-sec h2 { font-size: 40px; color: var(--navy); margin-bottom: 14px; }
.s-sec-sub { font-size: 17px; color: var(--text); line-height: 1.65; max-width: 680px; }

/* ── HOW IT WORKS ── */
.s-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.s-step-num {
  width: 48px; height: 48px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px;
  color: var(--navy); margin-bottom: 16px; flex-shrink: 0;
}
.s-step h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.s-step p  { font-size: 14px; color: var(--text); line-height: 1.6; }
.s-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; margin-bottom: 10px;
}

/* ── CARS WE BUY ── */
.s-bg-lt  { background: var(--bg-lt); }
.s-cars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.s-car-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px;
}
.s-car-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.s-car-card h3.sub { font-size: 16px; margin-top: 20px; margin-bottom: 12px; }
.s-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.s-chip {
  padding: 5px 12px; background: var(--bg-lt); border: 1px solid var(--border);
  border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--navy);
}
.s-ticks { display: flex; flex-direction: column; gap: 10px; }
.s-ticks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.s-ticks li svg { flex-shrink: 0; margin-top: 2px; }
.s-green-note { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 2px; }
.s-card-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text); font-style: italic;
}

/* ── COMPARE TABLE ── */
.s-tbl-wrap { overflow-x: auto; margin-top: 48px; border-radius: 14px; border: 1px solid var(--border); }
.s-tbl { width: 100%; border-collapse: collapse; min-width: 580px; }
.s-tbl th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 15px 20px; font-size: 14px; font-weight: 700;
}
.s-tbl th:first-child { background: var(--bg-lt); color: var(--text); font-weight: 600; }
.s-tbl th.hl { background: var(--tbl-hl); color: var(--navy); }
.s-tbl td {
  padding: 14px 20px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55;
}
.s-tbl td:first-child { font-weight: 700; color: var(--navy); background: var(--bg-lt); }
.s-tbl td.hl { background: var(--tbl-hl); color: var(--navy); font-weight: 600; }
.s-tbl tr:last-child td { border-bottom: none; }

/* ── DOCUMENTS ── */
.s-docs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 48px;
}
.s-doc {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.s-doc svg { flex-shrink: 0; margin-top: 2px; }
.s-doc p   { font-size: 14px; color: var(--navy); font-weight: 600; line-height: 1.4; }
.s-doc .s-green-note { margin-top: 4px; }

/* ── FAQ ── */
.s-faq-layout {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 48px; margin-top: 48px; align-items: start;
}
.s-contact-card {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 28px;
}
.s-contact-card h3 { font-size: 20px; color: #fff; margin-bottom: 18px; }
.s-contact-info { display: flex; flex-direction: column; gap: 12px; }
.s-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-lt); line-height: 1.55;
}
.s-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.s-contact-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 13px 20px; background: var(--yellow);
  color: var(--navy); border-radius: 10px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px;
}
.s-faq-list { display: flex; flex-direction: column; }
details.s-faq-item { border-bottom: 1px solid var(--border); }
details.s-faq-item summary {
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; padding: 18px 0;
  font-size: 16px; font-weight: 600; color: var(--navy);
  cursor: pointer; gap: 16px;
}
details.s-faq-item summary::-webkit-details-marker { display: none; }
.s-faq-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; color: var(--text);
  transition: background .15s, border-color .15s, color .15s;
}
details[open] .s-faq-icon {
  border-color: var(--navy); background: var(--navy); color: #fff;
}
details.s-faq-item p {
  padding: 0 32px 18px 0; font-size: 15px; color: var(--text); line-height: 1.65;
}

/* ── FINAL CTA BAND ── */
.s-cta-band { background: var(--navy); padding: 88px 0; text-align: center; }
.s-cta-band h2 { font-size: 40px; color: #fff; margin-bottom: 12px; }
.s-cta-band p  { font-size: 17px; color: var(--text-lt); margin-bottom: 32px; }
.s-cta-form {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
}
.s-cta-input {
  flex: 1; padding: 14px 16px;
  border: 2px solid rgba(255,255,255,.2); border-radius: 10px;
  background: rgba(255,255,255,.08); color: #fff;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  min-height: 52px;
}
.s-cta-input::placeholder { color: rgba(255,255,255,.35); }
.s-cta-input:focus { outline: none; border-color: var(--yellow); }
.s-cta-btn {
  padding: 14px 24px; background: var(--yellow); color: var(--navy);
  border: 0; border-radius: 10px;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px;
  cursor: pointer; min-height: 52px; white-space: nowrap;
  transition: opacity .15s;
}
.s-cta-btn:hover { opacity: .88; }

/* ════════════════════════════════
   THANK-YOU PAGE
   ════════════════════════════════ */
.s-ty { padding: 64px 0 80px; }
.s-ty-tick {
  width: 64px; height: 64px; background: var(--wa-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.s-ty h1 { font-size: 42px; color: var(--navy); margin-bottom: 16px; }
.s-ty-sub { font-size: 17px; color: var(--text); max-width: 560px; margin-bottom: 28px; line-height: 1.65; }
.s-ty-summary {
  background: var(--bg-lt); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px;
  display: inline-flex; flex-direction: column; gap: 6px; margin-bottom: 48px;
}
.s-ty-summary p { font-size: 14px; color: var(--text); }
.s-ty-summary p strong { color: var(--navy); }
.s-ty-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start; margin-top: 8px;
}
.s-ty-section h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.s-ty-steps { display: flex; flex-direction: column; gap: 12px; }
.s-ty-steps li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text); line-height: 1.55;
}
.s-ty-steps li svg { flex-shrink: 0; margin-top: 3px; }
.s-ty-docs { font-size: 15px; color: var(--text); line-height: 1.65; margin-bottom: 24px; }
.s-btn-wa-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; background: var(--green); color: #fff;
  border-radius: 10px; font-weight: 700; font-size: 15px;
}
.s-btn-wa-green:hover { opacity: .88; }
.s-ty-browse { display: block; margin-top: 14px; font-size: 13px; color: var(--text); text-decoration: underline; }

/* ════════════════════════════════
   RESPONSIVE  ≤ 768px
   ════════════════════════════════ */
@media (max-width: 768px) {
  .s-wrap { padding: 0 16px; }

  /* Hero */
  .s-hero { padding: 40px 0 48px; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .s-hero h1 { font-size: 34px; }
  .s-hero-sub { font-size: 15px; }

  /* Form card */
  .s-progress-bar { display: block; }
  .s-step-back    { display: flex; }

  /* Sections */
  .s-sec { padding: 56px 0; }
  .s-sec h2 { font-size: 28px; }
  .s-sec-sub { font-size: 15px; }

  /* Steps */
  .s-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }

  /* Cars we buy */
  .s-cars-grid { grid-template-columns: 1fr; margin-top: 32px; }

  /* Compare */
  .s-tbl-wrap { margin-top: 32px; }

  /* Documents */
  .s-docs-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }

  /* FAQ */
  .s-faq-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }

  /* CTA band */
  .s-cta-band { padding: 56px 0; }
  .s-cta-band h2 { font-size: 28px; }
  .s-cta-form { flex-direction: column; }

  /* Thank-you */
  .s-ty { padding: 40px 0 64px; }
  .s-ty h1 { font-size: 30px; }
  .s-ty-layout { grid-template-columns: 1fr; gap: 32px; }
}
