/* Cash For Cars Solution — house styles */
:root {
  --paper: #f1f0e8;
  --paper-deep: #e6e5d9;
  --sheet: #fbfaf6;
  --ink: #17221d;
  --ink-soft: #46524b;
  --pine: #1d4334;
  --pine-lift: #2a5c48;
  --verm: #d63f24;
  --verm-press: #b8341c;
  --verm-text: #b0301a;
  --rule: #c9cbbd;
  --graphite: #23201f;
  --focus: #1d4334;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- sketch strokes ---------- */
.sk { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sk-thin { stroke-width: 1.4; }
.sk-soft { opacity: .45; }
.pencil { color: var(--verm); }

/* ---------- logo ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.badge:hover { color: var(--ink); }
.badge-tag { width: 40px; height: 40px; flex: none; }
.badge-words { display: flex; flex-direction: column; line-height: .98; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.badge-words .b-top { font-size: 17px; }
.badge-words .b-bottom { font-size: 17px; position: relative; align-self: flex-start; padding-bottom: 5px; }
.badge-words .b-bottom svg { position: absolute; left: -2px; right: -4px; bottom: -2px; width: calc(100% + 6px); height: 8px; color: var(--verm); }
.badge.on-dark { color: var(--paper); }
.badge.on-dark:hover { color: #fff; }

/* ---------- header ---------- */
.masthead { background: var(--paper); border-bottom: 1.5px solid var(--ink); position: relative; z-index: 20; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.mainnav a.navlink { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; padding: 6px 0; position: relative; }
.mainnav a.navlink.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--verm); border-radius: 2px; transform: rotate(-1deg); }
.ring-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--pine); border-radius: 6px; color: var(--pine); background: transparent; font: 700 16px/1 var(--body);
  text-decoration: none; white-space: nowrap;
}
.ring-btn:hover { background: var(--pine); color: var(--paper); }
.ring-btn svg { width: 18px; height: 18px; }
.ring-btn.light { border-color: var(--paper); color: var(--paper); }
.ring-btn.light:hover { background: var(--paper); color: var(--pine); }
.menu-btn { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 6px; background: transparent; padding: 0; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
.call-mini { display: none; }

/* ---------- buttons ---------- */
.go-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px 28px;
  background: var(--verm); color: #fff; border: 0; border-radius: 6px; font: 800 19px/1.1 var(--display); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--graphite); transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.go-btn:hover { background: var(--verm-press); color: #fff; }
.go-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--graphite); }
.go-btn[disabled], .go-btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.go-btn.wide { width: 100%; }
.go-btn svg { width: 20px; height: 20px; }
.text-cta { font-weight: 700; color: var(--pine); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--verm); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-copy { position: relative; }
.hero-copy h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; color: var(--ink); }
.hero-copy h1 .place { position: relative; display: inline-block; color: var(--pine); }
.hero-copy h1 .place svg { position: absolute; left: -4px; right: -6px; bottom: -14px; width: calc(100% + 10px); height: 18px; color: var(--verm); }
.hero-copy .lede { font-size: 21px; margin: 26px 0 28px; color: var(--ink-soft); max-width: 30ch; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero-links .ring-btn img { width: 18px; height: 18px; }
.ghost-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; font: 700 17px/1 var(--body); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--verm); }
.hero-map { width: 150px; margin: 34px 0 0 -6px; color: var(--pine); opacity: .85; pointer-events: none; }

.price-card {
  position: relative; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 8px; padding: 30px 30px 26px;
  box-shadow: 8px 8px 0 var(--pine);
}
.price-card h2 { font-size: 27px; font-weight: 800; margin-bottom: 6px; }
.price-card .card-sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }
.price-card .scribble { position: absolute; right: -18px; top: -26px; width: 92px; color: var(--verm); transform: rotate(8deg); }
.field-stack { display: grid; gap: 14px; }
.lane-field { position: relative; }
.lane-field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.lane-input {
  width: 100%; min-height: 52px; padding: 12px 44px 12px 14px; font: 500 17px/1.2 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #8e968f; border-radius: 6px; appearance: none;
}
.lane-input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(29,67,52,.22); }
.lane-input[disabled] { background: #eceae2; color: #6b716c; border-style: dashed; cursor: not-allowed; }
.lane-input[aria-invalid="true"] { border-color: var(--verm-text); box-shadow: 0 0 0 2px rgba(214,63,36,.18); }
.lane-field .chev { position: absolute; right: 14px; top: 44px; width: 16px; height: 16px; pointer-events: none; color: var(--ink-soft); }
.lane-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 264px; overflow-y: auto; margin: 0; padding: 4px;
  list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: 0 10px 24px rgba(23,34,29,.18);
}
.lane-list[hidden] { display: none; }
.lane-list li { padding: 11px 12px; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.lane-list li[aria-selected="true"], .lane-list li.on { background: #e5ede6; }
.lane-list li .code { color: var(--ink-soft); font-size: 14px; }
.lane-list li.none { cursor: default; color: var(--ink-soft); }
.hint-err { color: var(--verm-text); font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.hint-err:empty { display: none; }
.card-cta { margin-top: 20px; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 16px; }
.card-foot a { font-weight: 700; font-size: 16px; }
.assure { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1.5px dashed var(--rule); display: grid; gap: 8px; }
.assure li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.assure svg { width: 22px; height: 22px; color: var(--verm); flex: none; }

/* ---------- dividers ---------- */
.wiggle { color: var(--ink); opacity: .55; height: 14px; width: 100%; }

/* ---------- how it works ---------- */
.steps-band { background: var(--paper-deep); padding: 72px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.steps-band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; max-width: 18ch; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; counter-reset: stp; }
.step-note { position: relative; padding-top: 74px; }
.step-note p { margin: 0; color: var(--ink-soft); }
.step-note p strong { display: block; color: var(--ink); font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.step-num { position: absolute; top: 0; left: -6px; width: 64px; height: 60px; color: var(--verm); }
.step-num text { font: 800 26px var(--display); fill: var(--ink); stroke: none; }
.steps-row .step-note + .step-note::before {
  content: ""; position: absolute; top: 28px; left: -30px; width: 22px; border-top: 2px dashed var(--ink); opacity: .35;
}

/* ---------- quote band ---------- */
.band-cta { padding: 56px 0; text-align: center; }
.band-cta .go-btn { min-width: 260px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- headache ---------- */
.headache { background: var(--pine); color: #eef1ea; padding: 84px 0; }
.headache-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.headache h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; color: #fff; margin-bottom: 22px; }
.headache p { color: #d9e2da; font-size: 18px; }
.headache .tangle { color: #f2b9a9; width: 100%; max-width: 360px; }
.headache .ring-btn { margin-top: 10px; }
.headache .ring-btn img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ---------- stress + run ---------- */
.calm { padding: 88px 0 40px; text-align: center; }
.calm-col { max-width: 720px; margin: 0 auto; }
.calm span.kicker { display: inline-block; font: 700 18px var(--body); color: var(--verm-text); margin-bottom: 10px; }
.calm h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; margin-bottom: 20px; }
.calm p { font-size: 19px; color: var(--ink-soft); }
.runs { padding: 30px 0 90px; }
.runs-card { max-width: 760px; margin: 0 auto; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 8px; padding: 44px 48px; position: relative; }
.runs-card > span { display: block; font: 600 22px/1.3 var(--display); color: var(--ink-soft); }
.runs-card h2 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; color: var(--verm); margin: 8px 0 10px; text-transform: uppercase; transform: rotate(-1.5deg); transform-origin: left; }
.runs-card h3 { font: 700 21px/1.35 var(--body); margin-bottom: 22px; }
.runs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.runs-card li { position: relative; padding-left: 36px; font-size: 18px; }
.runs-card li svg { position: absolute; left: 0; top: 3px; width: 24px; height: 24px; color: var(--pine); }
.runs-card .car-doodle { position: absolute; right: 26px; top: -46px; width: 150px; color: var(--ink); background: var(--paper); padding: 0 8px; }

/* ---------- feature rows ---------- */
.feature { padding: 64px 0; }
.feature + .feature { border-top: 1.5px dashed var(--rule); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: center; }
.feature.flip .feature-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.feature h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; margin-bottom: 22px; }
.feature h2 span { display: block; }
.feature h2 span { color: var(--pine); position: relative; }
.feature p { color: var(--ink-soft); font-size: 18px; }
.feature-art { color: var(--ink); max-width: 300px; margin: 0 auto; width: 100%; }
.feature-art .pencil { color: var(--verm); }

/* ---------- inner pages ---------- */
.page-top { padding: 64px 0 80px; }
.page-top h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 24px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.about-grid p { font-size: 18px; color: var(--ink-soft); }
.about-art { color: var(--pine); max-width: 420px; }
.legal { max-width: 820px; }
.legal p { color: var(--ink-soft); }
.legal p:empty { display: none; }

/* ---------- footer ---------- */
.basefoot { background: var(--graphite); color: #d8d6cf; padding: 40px 0; }
.basefoot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.basefoot p { margin: 0; font-size: 15px; }
.basefoot a { color: #fff; margin-left: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid { gap: 36px; }
  .feature-grid, .feature.flip .feature-grid { gap: 40px; }
}
@media (max-width: 860px) {
  .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 8px var(--gutter) 20px; }
  .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; gap: 0; }
  .mainnav a.navlink { display: block; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
  .mainnav .ring-btn { margin-top: 16px; width: 100%; }
  .menu-btn { display: inline-flex; }
  .call-mini { display: inline-flex; margin-left: auto; }
  .masthead-in { min-height: 66px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .badge-tag { width: 34px; height: 34px; }
  .badge-words .b-top, .badge-words .b-bottom { font-size: 15.5px; }
  .call-mini { padding: 8px 12px; font-size: 15px; }
  .hero { padding: 22px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 1; font-size: 34px; }
  .hero-copy .lede { order: 2; font-size: 17px; margin: 14px 0 16px; }
  .price-card { order: 3; padding: 20px 16px 18px; box-shadow: 5px 5px 0 var(--pine); }
  .hero-links { order: 4; margin-top: 26px; }
  .hero-map { display: none; }
  .price-card h2 { font-size: 22px; }
  .price-card .card-sub { margin-bottom: 14px; font-size: 15px; }
  .price-card .scribble { width: 46px; right: -8px; top: -30px; }
  .field-stack { gap: 10px; }
  .lane-input { min-height: 48px; font-size: 16px; }
  .lane-field .chev { top: 42px; }
  .steps-band, .headache { padding: 56px 0; }
  .steps-row { grid-template-columns: 1fr; gap: 30px; }
  .steps-row .step-note + .step-note::before { display: none; }
  .headache-grid, .feature-grid, .feature.flip .feature-grid, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .headache .tangle { max-width: 220px; }
  .feature { padding: 48px 0; }
  .feature-art { max-width: 210px; margin: 0; }
  .feature.flip .feature-art { order: 0; }
  .runs-card { padding: 40px 20px 28px; }
  .runs-card .car-doodle { width: 110px; right: 12px; top: -36px; }
  .band-cta .go-btn { width: 100%; }
  .page-top { padding: 40px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
