:root {
  --yellow: #f5c518;
  --yellow-bright: #ffd83d;
  --yellow-soft: #fff7d6;
  --yellow-pale: #fffbeb;
  --burgundy: #7a1e1e;
  --burgundy-dark: #501111;
  --ink: #24211c;
  --muted: #655f55;
  --cream: #fffdf6;
  --line: #e9dfc3;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(71, 45, 5, 0.16);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 85% 8%, #fff1a8 0, transparent 26rem), var(--cream); }
a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .86; transform: rotate(-1deg); }
.wordmark-cash { font: 800 27px/1 "Fraunces", serif; color: var(--burgundy); letter-spacing: -1px; }
.wordmark-loans { width: max-content; margin-top: 5px; padding: 4px 7px; background: var(--yellow); color: var(--burgundy-dark); font-size: 10px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
.phone-pill { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border: 1px solid #ddc55e; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--burgundy); text-decoration: none; box-shadow: 0 8px 24px rgba(72,44,0,.08); }
.phone-label { color: var(--muted); font-size: 12px; }

main { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; max-width: 1180px; min-height: 610px; margin: 0 auto; padding: 52px 24px 78px; }
.hero::before { content: ""; position: absolute; inset: 20px -180px 20px 47%; z-index: -1; border-radius: 70px 0 0 70px; background: linear-gradient(135deg, var(--yellow-bright), #f4b40f); transform: skewX(-5deg); }
.hero-copy { max-width: 610px; }
.eyebrow { margin: 0 0 13px; color: var(--burgundy); font-size: 13px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
h1, h2 { font-family: "Fraunces", serif; letter-spacing: -.035em; }
h1 { max-width: 680px; margin: 0; font-size: clamp(46px, 6.1vw, 76px); line-height: .99; }
h1 span { color: var(--burgundy); white-space: nowrap; }
.hero-lede { max-width: 560px; margin: 24px 0; color: var(--muted); font-size: 20px; line-height: 1.5; }
.benefit-list { display: grid; gap: 11px; margin: 0 0 30px; padding: 0; list-style: none; }
.benefit-list li { position: relative; padding-left: 30px; font-weight: 700; }
.benefit-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--burgundy-dark); font-size: 12px; }
.primary-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 8px; background: var(--burgundy); color: white; font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px rgba(122,30,30,.24); transition: transform .2s ease, box-shadow .2s ease; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(122,30,30,.28); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-row span:not(:last-child)::after { content: "•"; margin-left: 18px; color: #b59100; }

.hero-visual { position: relative; min-height: 430px; }
.car-art { position: absolute; right: -25px; bottom: 20px; z-index: 2; width: min(640px, 112%); filter: drop-shadow(0 24px 20px rgba(92,55,0,.2)); }
.amount-card { position: absolute; top: 35px; right: 30px; z-index: 4; width: 230px; padding: 21px; border: 2px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(10px); transform: rotate(3deg); }
.amount-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.amount-card strong { display: block; margin-top: 4px; color: var(--burgundy); font: 800 30px/1 "Fraunces", serif; }
.cash-orbit { position: absolute; border: 2px solid rgba(122,30,30,.16); border-radius: 50%; }
.orbit-one { width: 310px; height: 310px; right: 60px; bottom: 35px; }
.orbit-two { width: 210px; height: 210px; left: 35px; top: 105px; border-color: rgba(255,255,255,.5); }

.form-shell { position: relative; z-index: 3; max-width: 1040px; margin: -20px auto 70px; padding: 38px; border: 1px solid var(--line); border-top: 8px solid var(--yellow); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-intro { max-width: 690px; margin-bottom: 30px; }
.form-intro h2, .steps-section h2, .closing-cta h2 { margin: 0; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; }
.form-intro > p:last-child { color: var(--muted); font-size: 17px; }
.lead-form { display: grid; gap: 24px; }
.form-section { margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--yellow-pale); }
.form-section legend { padding: 0 10px; font-weight: 800; font-size: 18px; }
.form-section legend span { display: inline-grid; width: 29px; height: 29px; margin-right: 8px; place-items: center; border-radius: 50%; background: var(--burgundy); color: white; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field, .dob-group label { display: grid; gap: 7px; color: #3b352c; font-size: 13px; font-weight: 800; }
.zip-field { grid-column: span 2; }
input, select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #cfc3a5; border-radius: 9px; background: white; color: var(--ink); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { border-color: #b88c00; box-shadow: 0 0 0 4px rgba(245,197,24,.25); }
select:disabled { background: #f1eee6; color: #827b70; }
.dob-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; padding: 0; border: 0; }
.dob-group legend { grid-column: 1/-1; margin-bottom: 8px; padding: 0; font-size: 13px; }
.submit-button { min-height: 60px; border: 0; border-radius: 9px; background: var(--burgundy); color: white; cursor: pointer; font-size: 18px; font-weight: 800; box-shadow: 0 14px 28px rgba(122,30,30,.22); }
.submit-button:hover { background: var(--burgundy-dark); }
.submit-button:disabled { opacity: .65; cursor: wait; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #4c5a31; font-size: 13px; font-weight: 800; }
.secure-note span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e4efc4; }
.recaptcha-notice, .consent { max-width: 820px; margin: 0 auto; color: #70695e; text-align: center; font-size: 11px; line-height: 1.55; }
.form-status { margin: 0; min-height: 18px; text-align: center; font-weight: 700; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto 80px; padding: 0 24px; }
.proof-strip article { padding: 32px; border: 1px solid var(--line); background: white; }
.proof-strip article:first-child { border-radius: 18px 0 0 18px; }
.proof-strip article:last-child { border-radius: 0 18px 18px 0; }
.proof-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--burgundy); font-weight: 900; }
.proof-strip h3 { margin: 18px 0 7px; color: var(--burgundy); }
.proof-strip p, .steps p { margin: 0; color: var(--muted); line-height: 1.55; }

.testimonial { position: relative; max-width: 900px; margin: 0 auto 90px; padding: 55px 70px 45px 110px; border-radius: 24px; background: var(--burgundy); color: white; box-shadow: 0 24px 60px rgba(80,17,17,.2); }
.quote-mark { position: absolute; left: 35px; top: 18px; color: var(--yellow); font: 800 100px/1 "Fraunces", serif; }
.testimonial blockquote { margin: 0; font: 700 clamp(24px, 3vw, 36px)/1.25 "Fraunces", serif; }
.testimonial p { margin: 18px 0 0; color: #f7d976; font-weight: 800; }

.steps-section { max-width: 1080px; margin: 0 auto 90px; padding: 0 24px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; text-align: left; }
.steps article { position: relative; min-height: 190px; padding: 28px; border-radius: 18px; background: linear-gradient(145deg, #fff6c7, #fffdf4); border: 1px solid #f0d66b; }
.steps strong { color: rgba(122,30,30,.2); font: 800 50px/1 "Fraunces", serif; }
.steps h3 { margin: 10px 0 8px; color: var(--burgundy); }

.closing-cta { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; max-width: 1120px; margin: 0 auto 70px; padding: 55px; border-radius: 24px; background: var(--yellow); }
.closing-cta h2 { max-width: 720px; font-size: clamp(31px, 4vw, 48px); }
.primary-cta.dark { white-space: nowrap; }

.site-footer { padding: 42px 24px 100px; border-top: 1px solid var(--line); background: #2d2418; color: #e9e0d2; text-align: center; }
.footer-phone { display: inline-block; margin-bottom: 18px; color: var(--yellow); text-decoration: none; font-size: 18px; }
.site-footer p { max-width: 900px; margin: 0 auto 18px; color: #c9bfaf; font-size: 12px; line-height: 1.6; }
.site-footer small { color: #928778; font-size: 10px; }
.mobile-cta { display: none; }

@media (max-width: 820px) {
  .site-header { padding: 13px 16px; background: rgba(255,253,246,.94); }
  .wordmark-cash { font-size: 22px; }
  .phone-pill { padding: 9px 12px; font-size: 13px; }
  .phone-label { display: none; }
  .hero { display: flex; min-height: auto; flex-direction: column; padding: 44px 20px 55px; }
  .hero::before { inset: auto -80px -10px 20%; height: 44%; border-radius: 70px 0 0 0; transform: none; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-lede { margin: 18px 0; font-size: 18px; }
  .benefit-list { margin-bottom: 24px; }
  .primary-cta { width: 100%; }
  .trust-row { justify-content: center; gap: 9px; font-size: 11px; }
  .trust-row span:not(:last-child)::after { margin-left: 9px; }
  .hero-visual { width: 100%; min-height: 260px; margin-top: 20px; }
  .car-art { right: -50px; bottom: -8px; width: 122%; }
  .amount-card { top: 0; right: 2px; width: 190px; padding: 16px; }
  .amount-card strong { font-size: 25px; }
  .orbit-one { width: 220px; height: 220px; right: 20px; }
  .orbit-two { display: none; }
  .form-shell { margin: 0 12px 54px; padding: 26px 16px; border-radius: 18px; }
  .form-intro h2 { font-size: 38px; }
  .form-section { padding: 20px 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .zip-field { grid-column: auto; }
  .dob-group { gap: 7px; }
  .proof-strip, .steps { grid-template-columns: 1fr; }
  .proof-strip { gap: 12px; margin-bottom: 58px; }
  .proof-strip article, .proof-strip article:first-child, .proof-strip article:last-child { border-radius: 15px; }
  .testimonial { margin: 0 14px 65px; padding: 62px 25px 32px; }
  .quote-mark { left: 20px; top: 8px; font-size: 80px; }
  .steps-section { margin-bottom: 60px; }
  .steps { margin-top: 28px; }
  .closing-cta { grid-template-columns: 1fr; gap: 26px; margin: 0 14px 55px; padding: 32px 24px; }
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 20; display: flex; min-height: 54px; align-items: center; justify-content: center; border: 2px solid #ffdf52; border-radius: 9px; background: var(--burgundy); color: white; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(52,17,17,.35); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .55s both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-visual { animation: reveal .75s .15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes reveal { from { opacity: 0; transform: translateX(24px); } }
}
