/* Cash For Cars — site styles */
:root {
  --paper: #F3EFE6;
  --paper-2: #EDE8DC;
  --field: #FBFAF6;
  --white: #FFFFFF;
  --ink: #141619;
  --ink-2: #1E2125;
  --ink-line: #2E3238;
  --text: #3A3E45;
  --muted: #5B5F66;
  --muted-dark: #BFC3CA;
  --line: #D9D3C7;
  --line-strong: #B9B2A4;
  --accent: #C2410C;
  --accent-soft: #F5A26B;
  --ok: #15803D;
  --bad: #B91C1C;
  --bad-bg: #FDECEC;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 120px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: #9A3412; }
a:hover { color: #7C2D12; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
button, input, select { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }

/* Type */
.display { font-family: var(--display); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: .9; margin: 0; letter-spacing: -.005em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex-shrink: 0; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--text); margin: 0; max-width: 580px; }
.mono { font-family: var(--mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #9A3412; color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2B2F35; color: var(--paper); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Utility strip + header */
.strip { background: var(--ink); color: #E9E4D8; font-size: 13px; }
.strip .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 8px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 14px; height: 14px; }
.strip-left { display: flex; gap: 28px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 239, 230, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: 28px; text-transform: uppercase; letter-spacing: .01em; }
.brand-name strong span { font-weight: 500; }
.brand-name small { font-size: 11px; color: var(--muted); margin-top: 5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--accent); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .phone { font-family: var(--mono); font-size: 15px; min-height: 46px; padding: 0 18px; }
.header-cta .btn { min-height: 46px; font-size: 15px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 16px; }
.hero h1 { margin: 0; }
.hero .display { font-size: clamp(60px, 7.3vw, 112px); line-height: .86; }
.hero .display span { color: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-call { font-weight: 600; color: var(--ink); text-underline-offset: 4px; padding: 14px 8px; }
.facts { list-style: none; margin: 8px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); }

/* Lead card */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(20, 22, 25, .28); overflow: hidden; scroll-margin-top: 110px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--paper-2); margin: 0; border: 0; }
.mode label { position: relative; }
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode span { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; font-weight: 600; font-size: 15px; color: #4A4E55; cursor: pointer; }
.mode input:checked + span { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(20, 22, 25, .12); }
.mode input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.card h2 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 30px; line-height: 1.05; }
.card-intro { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-caps { font-size: 13px; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; }
.count { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); }
.count.ok { color: var(--ok); }
.input { height: 48px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: 16px; background: var(--field); color: var(--ink); width: 100%; min-width: 0; }
.input:hover { border-color: #8F887A; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(20, 22, 25, .15); }
.input.vin { height: 56px; padding: 0 16px; border-radius: 12px; font-family: var(--mono); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; }
.input.vin.ok { border-color: var(--ok); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.help { font-size: 13px; color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); font-size: 12.5px; color: var(--text); line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.consent.invalid { border-color: var(--bad); }
.alert { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bad-bg); color: #9B1C1C; font-size: 14px; font-weight: 600; }
.alert[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card .btn-accent { width: 100%; min-height: 56px; }
.card .btn-accent[disabled] { opacity: .7; cursor: progress; }
.secure { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.secure svg { width: 16px; height: 16px; flex-shrink: 0; }
.done { display: flex; flex-direction: column; gap: 18px; padding: 36px 32px 32px; }
.done[hidden] { display: none; }
.done .check { width: 64px; height: 64px; border-radius: 999px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; }
.done .check svg { width: 30px; height: 30px; }
.done h2 { font-size: 36px; }
.done p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.done .faster { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 22px; background: var(--paper); border-radius: 14px; }
.done .faster p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.done .faster p strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.done .faster .btn { min-height: 52px; }
.done .faster .hours-note { font-size: 13px; color: var(--muted); }

/* Beat band */
.beat { background: var(--accent); color: #fff; }
.beat .wrap { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; flex-wrap: wrap; }
.beat p { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); scroll-margin-top: 84px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head .display, .h-display { font-size: clamp(52px, 6.7vw, 96px); }
.section-head p { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 3px solid var(--ink); }
.steps .num { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); }
.steps h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 32px; line-height: 1.05; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }

.dark { background: var(--ink); color: var(--paper); }
.dark .section-head p { color: var(--muted-dark); }
.dark .display span { color: var(--accent-soft); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reason { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.reason .tag { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--accent-soft); }
.reason h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 34px; line-height: 1.05; }
.reason p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted-dark); }
.trade { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(28px, 4vw, 56px); scroll-margin-top: 100px; }
.trade .eyebrow { margin-bottom: 14px; }
.trade h2 { font-size: clamp(40px, 4.5vw, 64px); line-height: .95; font-stretch: 72%; }
.trade p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--text); max-width: 560px; }
.trade-actions { display: flex; flex-direction: column; gap: 12px; }
.trade-actions .btn { min-height: 60px; font-size: 17px; }

/* Cars + areas */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 48px); }
.panel h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: clamp(34px, 3.4vw, 48px); line-height: .95; text-transform: uppercase; }
.panel > p { margin: 0 0 24px; color: var(--text); font-size: 17px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 8vw, 120px); align-items: start; }
.faq-side { display: flex; flex-direction: column; gap: 20px; }
.faq-side p { margin: 0; font-size: 17px; color: var(--text); }
.faq-side a { font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--ink); }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 80px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: transform .2s, background-color .2s; }
.faq-list summary .pm svg { width: 18px; height: 18px; }
.faq-list details[open] summary .pm { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 64px 28px 0; font-size: 17px; line-height: 1.6; color: var(--text); }

/* Visit */
.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.visit-info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.visit-info h2 { font-size: clamp(48px, 5vw, 72px); }
.visit-info .k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.visit-info address { font-style: normal; font-size: 20px; font-weight: 600; line-height: 1.4; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th { text-align: left; font-weight: 400; padding: 10px 0; }
.hours td { text-align: right; font-family: var(--mono); padding: 10px 0; }
.hours tr + tr { border-top: 1px solid #E6E0D4; }
.hours tr.closed { color: var(--muted); }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map { min-height: 460px; background: #E6E0D4; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: 64px 32px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.foot-brand .brand { color: var(--paper); }
.foot-brand .brand svg { width: 56px; height: 56px; }
.foot-brand .brand strong { font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: 40px; text-transform: uppercase; line-height: 1; }
.foot-brand .brand strong span { font-weight: 500; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; font-size: 15px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols h2 { margin: 0 0 4px; font-size: 15px; color: var(--paper); font-family: var(--body); }
.foot-cols a { color: var(--muted-dark); text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; border-top: 1px solid var(--ink-line); padding-top: 24px; font-size: 13px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.foot-bottom a { color: var(--muted-dark); }
.foot-bottom a:hover { color: #fff; }
.foot-bottom .powered { text-align: center; }
.foot-bottom .powered a { color: var(--paper); font-weight: 600; }
.foot-bottom .legal { display: flex; gap: 20px; justify-content: flex-end; }
@media (max-width: 760px) {
  .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  .foot-bottom .legal { justify-content: center; }
}

/* Mobile action bar */
.action-bar { display: none; }

/* Simple pages */
.page { padding-block: clamp(48px, 7vw, 96px); max-width: 820px; }
.page h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 24px; }
.page h2 { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 28px; margin: 40px 0 8px; }
.page p, .page li { font-size: 17px; line-height: 1.65; color: var(--text); }

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header-cta .phone { display: none; }
}
@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open .nav { display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .site-header.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .reasons { grid-template-columns: 1fr; }
  .trade, .split, .faq-grid, .visit { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .action-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; height: 64px; padding: 6px; gap: 6px; background: var(--ink); border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(20, 22, 25, .5); }
  .action-bar a { flex: 1; min-height: 52px; font-size: 15px; }
  .action-bar a:last-child { flex: 2; }
  .action-bar .call { color: var(--paper); background: transparent; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  .strip .wrap { justify-content: center; }
  .strip .strip-right, .strip .addr { display: none; }
  .site-header .wrap { height: 68px; }
  .site-header.open .nav { top: 68px; }
  .brand svg { width: 38px; height: 38px; }
  .brand-name strong { font-size: 23px; }
  .brand-name small { display: none; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .facts li { padding: 0; border: 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .card-body { padding: 20px; }
  .done { padding: 28px 20px 24px; }
  .done .faster .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reason { padding: 24px; }
  .faq-list details p { padding-right: 0; }
  .beat .btn { width: 100%; }
}
