/**
 * /sell/ Phase D — Carwow sell-your-car clone in CPSA chassis red.
 * Body styles, namespaced under .ax-sell so chassis tokens stay intact.
 * Stars/yes markers use CPSA red, not Trustpilot green (brand decision).
 */

.ax-sell {
  --ink: #232A25;
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-soft: #FFE6E6;
  --paper: #fff;
  --paper-soft: #F2F2F2;
  --paper-warm: #FAFAF8;
  --line: rgba(35,42,37,0.08);
  --mute: rgba(35,42,37,0.55);
  --good: #DC2626;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
.ax-sell, .ax-sell * { box-sizing: border-box; }
.ax-sell a { text-decoration: none; color: inherit; }
.ax-sell p { line-height: 1.6; }

/* RED HERO */
.ax-sell .hero { background: var(--red); padding: 56px 24px 80px; position: relative; overflow: hidden; }
.ax-sell .hero-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.ax-sell .hero h1 { font-size: clamp(38px, 3.4vw + 8px, 62px); font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; margin: 0 0 16px; color: var(--ink); text-transform: uppercase; }
.ax-sell .hero .sub { font-size: 17px; color: rgba(35,42,37,0.78); margin: 0 0 24px; max-width: 480px; line-height: 1.5; }
.ax-sell .hero-trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); margin-top: 18px; }
.ax-sell .hero-trust .stars { color: #14181a; letter-spacing: 1.5px; }
.ax-sell .hero-trust b { font-weight: 700; }

/* VAL FORM */
.ax-sell .val-form { background: var(--paper); border-radius: 18px; padding: 28px; box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.ax-sell .val-form h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; }
.ax-sell .reg-input { display: flex; gap: 0; margin-bottom: 14px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 2px var(--ink); }
.ax-sell .reg-flag { background: var(--ink); color: #fff; padding: 0 14px; display: flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.ax-sell .reg-flag::before { content: ""; width: 14px; height: 10px; background: linear-gradient(to bottom, #DE3831 33%, #FFFFFF 33% 66%, #002395 66%); border-radius: 2px; margin-right: 8px; }
.ax-sell .reg-input input { flex: 1; border: 0; outline: 0; padding: 18px 16px; font-size: 22px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-family: inherit; color: var(--ink); }
.ax-sell .reg-input input::placeholder { color: rgba(35,42,37,0.3); }
.ax-sell .val-mileage { display: block; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink); margin-bottom: 14px; }
.ax-sell .val-cta { display: block; width: 100%; background: var(--red); color: #fff; padding: 16px; border-radius: 10px; font-size: 15px; font-weight: 700; text-align: center; cursor: pointer; border: 0; font-family: inherit; }
.ax-sell .val-cta:hover { background: var(--red-dark); }
.ax-sell .val-note { font-size: 12px; color: var(--mute); text-align: center; margin-top: 12px; }

/* STAT BAND */
.ax-sell .stat-band { background: #14181a; color: #fff; padding: 28px 24px; }
.ax-sell .stat-band-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ax-sell .stat-band .stat { padding: 0 8px; border-right: 1px solid rgba(255,255,255,0.1); }
.ax-sell .stat-band .stat:last-child { border-right: 0; }
.ax-sell .stat-band .stat .big { font-size: 32px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.ax-sell .stat-band .stat .big em { font-style: normal; color: var(--red); }
.ax-sell .stat-band .stat .lbl { font-size: 13px; color: rgba(255,255,255,0.65); }

/* HOW IT WORKS */
.ax-sell .how { padding: 80px 24px; background: var(--paper); }
.ax-sell .how-inner { max-width: 1320px; margin: 0 auto; }
.ax-sell .how h2 { font-size: clamp(32px, 2.6vw + 8px, 48px); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 12px; text-transform: uppercase; }
.ax-sell .how .sub { font-size: 17px; color: var(--mute); max-width: 600px; margin: 0 0 48px; }
.ax-sell .how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ax-sell .step { background: var(--paper-soft); border-radius: 18px; padding: 32px 28px; position: relative; }
.ax-sell .step .num { position: absolute; top: 24px; right: 28px; font-size: 96px; font-weight: 900; letter-spacing: -0.04em; color: rgba(35,42,37,0.06); line-height: 0.8; }
.ax-sell .step .icon { width: 56px; height: 56px; background: var(--red-soft); color: var(--red); border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; position: relative; z-index: 2; }
.ax-sell .step .icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.ax-sell .step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 10px; }
.ax-sell .step p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.55; }

/* WHY CHARGEPOINT */
.ax-sell .why { background: var(--paper-warm); padding: 80px 24px; }
.ax-sell .why-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ax-sell .why-left h2 { font-size: clamp(32px, 2.6vw + 8px, 44px); font-weight: 900; letter-spacing: -0.025em; line-height: 1; margin: 0 0 18px; text-transform: uppercase; }
.ax-sell .why-left p { font-size: 16px; color: var(--ink); line-height: 1.55; margin: 0 0 18px; }
.ax-sell .why-trust { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); margin-top: 24px; }
.ax-sell .why-trust .stars { color: var(--good); letter-spacing: 2px; font-size: 18px; }
.ax-sell .why-trust .text { font-size: 13px; }
.ax-sell .why-trust .text b { display: block; font-size: 15px; }
.ax-sell .why-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ax-sell .badge { background: var(--paper); border-radius: 14px; padding: 24px; }
.ax-sell .badge .big { font-size: 36px; font-weight: 900; letter-spacing: -0.025em; color: var(--red); line-height: 1; margin-bottom: 8px; }
.ax-sell .badge .lbl { font-size: 14px; color: var(--ink); line-height: 1.4; }

/* COMPARISON TABLE */
.ax-sell .compare { padding: 80px 24px; background: var(--paper); }
.ax-sell .compare-inner { max-width: 1320px; margin: 0 auto; }
.ax-sell .compare h2 { font-size: clamp(32px, 2.6vw + 8px, 48px); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 12px; text-transform: uppercase; }
.ax-sell .compare .sub { font-size: 17px; color: var(--mute); max-width: 700px; margin: 0 0 36px; }
.ax-sell .compare-tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.ax-sell .compare-tbl th, .ax-sell .compare-tbl td { padding: 18px; text-align: center; border-bottom: 1px solid var(--line); }
.ax-sell .compare-tbl tr:last-child td { border-bottom: 0; }
.ax-sell .compare-tbl th { background: var(--paper-soft); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.ax-sell .compare-tbl th.us { background: var(--red); color: #fff; }
.ax-sell .compare-tbl td { font-size: 14px; }
.ax-sell .compare-tbl td:first-child { text-align: left; font-weight: 700; }
.ax-sell .compare-tbl td.us { background: rgba(220,38,38,0.04); font-weight: 700; }
.ax-sell .compare-tbl .yes { color: var(--good); font-weight: 900; font-size: 18px; }
.ax-sell .compare-tbl .no { color: rgba(35,42,37,0.45); font-weight: 900; font-size: 18px; }
.ax-sell .compare-tbl .mh { color: var(--mute); }

/* TESTIMONIALS */
.ax-sell .testi { background: #14181a; color: #fff; padding: 80px 24px; }
.ax-sell .testi-inner { max-width: 1320px; margin: 0 auto; }
.ax-sell .testi h2 { font-size: clamp(32px, 2.6vw + 8px, 44px); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 36px; text-transform: uppercase; color: #fff; }
.ax-sell .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ax-sell .testi-card { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 24px; }
.ax-sell .testi-card .stars { color: var(--good); letter-spacing: 2px; font-size: 16px; margin-bottom: 12px; }
.ax-sell .testi-card .quote { font-size: 15px; line-height: 1.55; margin: 0 0 18px; color: #fff; }
.ax-sell .testi-card .who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); }
.ax-sell .testi-card .who .ava { width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ax-sell .testi-card .who b { display: block; font-size: 13px; }
.ax-sell .testi-card .who span { font-size: 12px; color: rgba(255,255,255,0.55); }

/* FAQ */
.ax-sell .faq { padding: 80px 24px; background: var(--paper); }
.ax-sell .faq-inner { max-width: 980px; margin: 0 auto; }
.ax-sell .faq h2 { font-size: clamp(32px, 2.6vw + 8px, 44px); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 28px; text-transform: uppercase; }
.ax-sell .faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; cursor: pointer; }
.ax-sell .faq-item:first-child { border-top: 1px solid var(--line); }
.ax-sell .faq-q { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; }
.ax-sell .faq-q::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--red); }
.ax-sell .faq-item.open .faq-q::after { content: "−"; }
.ax-sell .faq-a { display: none; padding-top: 12px; font-size: 15px; color: var(--ink); line-height: 1.55; }
.ax-sell .faq-item.open .faq-a { display: block; }

/* FINAL CTA */
.ax-sell .final { padding: 80px 24px; background: var(--paper-warm); }
.ax-sell .final-inner { max-width: 1320px; margin: 0 auto; background: var(--red); border-radius: 22px; padding: 56px 48px; text-align: center; color: var(--ink); }
.ax-sell .final h2 { font-size: clamp(34px, 3vw + 8px, 56px); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 14px; text-transform: uppercase; color: var(--ink); }
.ax-sell .final p { font-size: 17px; color: rgba(35,42,37,0.78); margin: 0 0 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.ax-sell .final .cta-row { display: inline-flex; gap: 12px; align-items: center; padding: 8px; background: var(--paper); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.ax-sell .final .cta-row input { border: 0; outline: 0; padding: 14px 20px; font-size: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-family: inherit; min-width: 240px; }
.ax-sell .final .cta-row button { background: var(--ink); color: #fff; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; font-family: inherit; }

@media (max-width: 980px) {
  .ax-sell .hero-inner, .ax-sell .why-inner { grid-template-columns: 1fr; }
  .ax-sell .how-steps, .ax-sell .testi-grid { grid-template-columns: 1fr; }
  .ax-sell .stat-band-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ax-sell .compare-tbl { font-size: 12px; }
}
