/* Cash For Junk Cars Austin: site styles */
:root {
  --paper: #f8f5ee;
  --paper-deep: #efe9dc;
  --card: #ffffff;
  --ink: #16302a;
  --ink-soft: #4b5c57;
  --ink-faint: #7c8a85;
  --line: #d9d1c1;
  --bonnet: #2b3fcf;
  --bonnet-deep: #1e2ea3;
  --bonnet-tint: #e8ebfc;
  --coral: #ef5b3f;
  --sage: #e4ebe1;
  --danger: #b42318;
  --danger-tint: #fdeceb;
  --ok: #1f7a4d;
  --radius: 10px;
  --head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --shadow-hard: 4px 4px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--body);
}
img, svg { max-width: 100%; }
a { color: var(--bonnet); text-underline-offset: 3px; }
a:hover { color: var(--bonnet-deep); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--bonnet); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sketch { color: var(--ink); overflow: visible; }
.sketch .acc { color: var(--coral); }

/* ---- header */
.topbar { background: var(--paper); border-bottom: 1.5px solid var(--ink); position: relative; z-index: 20; }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brandmark:hover { color: var(--ink); }
.brandmark__badge { width: 46px; height: 46px; flex-shrink: 0; }
.brandmark__words { display: flex; flex-direction: column; line-height: 1; }
.brandmark__top { font: 800 15px/1.05 var(--head); letter-spacing: .01em; }
.brandmark__city { font: 800 25px/1 var(--head); letter-spacing: -.01em; position: relative; align-self: flex-start; padding-bottom: 4px; }
.brandmark__city svg { position: absolute; left: -2px; right: -4px; bottom: -3px; width: calc(100% + 6px); height: 9px; color: var(--coral); }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.mainnav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
.mainnav a:hover { background: var(--paper-deep); }
.mainnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--coral); }
.callpill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent;
  font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap;
}
.callpill:hover, .mainnav .callpill:hover { background: var(--ink); color: var(--paper); }
.mainnav .callpill { padding: 8px 16px; border-radius: 999px; font-size: 16px; font-weight: 700; margin-left: 8px; }
.callpill svg { width: 18px; height: 18px; flex-shrink: 0; }
.navtoggle { display: none; }

@media (max-width: 860px) {
  .topbar__in { min-height: 64px; gap: 8px; }
  .brandmark__badge { width: 38px; height: 38px; }
  .brandmark__top { font-size: 13px; }
  .brandmark__city { font-size: 21px; }
  .mainnav { gap: 6px; }
  .mainnav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: 8px 20px 16px;
  }
  .mainnav.is-open ul { display: flex; }
  .mainnav a { padding: 12px 4px; font-size: 17px; }
  .mainnav .callpill { margin-left: 0; }
  .mainnav .callpill { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .callpill .callpill__num { display: none; }
  .navtoggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 0; background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer;
  }
  .navtoggle svg { width: 26px; height: 26px; }
}

/* ---- buttons */
.btn-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 58px; padding: 14px 22px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--bonnet); color: #fff; font: 800 19px/1.2 var(--head); letter-spacing: .005em;
  box-shadow: var(--shadow-hard); cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-go:hover { background: var(--bonnet-deep); color: #fff; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-go:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-go svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-go--inline { width: auto; }
.textlink { background: none; border: 0; padding: 0; color: var(--bonnet); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.textlink:hover { color: var(--bonnet-deep); }

/* ---- hero */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.hero__copy h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; margin-bottom: 18px; max-width: 14ch; }
.hero__copy h1 .mark { position: relative; white-space: nowrap; }
.hero__copy h1 .mark svg { position: absolute; left: -4px; right: -4px; bottom: -8px; width: calc(100% + 8px); height: 14px; color: var(--coral); }
.hero__lede { font-size: 19px; color: var(--ink-soft); max-width: 34ch; }
.hero__call { margin-top: 4px; }
.hero__art { margin-top: 30px; max-width: 560px; }
.hero__art svg { display: block; width: 100%; height: auto; }
.hero__note { font: 600 23px/1 var(--hand); fill: var(--coral); }

.quotecard {
  position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 16px;
  padding: 28px 28px 24px; box-shadow: 8px 8px 0 var(--ink);
}
.quotecard h2 { font-size: 27px; font-weight: 800; margin-bottom: 4px; }
.quotecard__sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.quotecard__assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-soft); }
.quotecard__assure li { display: inline-flex; align-items: center; gap: 6px; }
.quotecard__assure svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }
.quotecard__alt { margin: 14px 0 0; font-size: 15px; text-align: center; }
.quotecard__err { margin: 10px 0 0; color: var(--danger); font-weight: 600; font-size: 15px; min-height: 0; }
.quotecard__err:empty { display: none; }

@media (max-width: 900px) {
  .hero { padding: 22px 0 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__copy { display: contents; }
  .hero__copy h1 { order: 1; font-size: 31px; margin-bottom: 6px; max-width: none; }
  .hero__lede { order: 2; font-size: 17px; margin-bottom: 0; max-width: none; }
  .quotecard { order: 3; padding: 20px 18px 18px; box-shadow: 5px 5px 0 var(--ink); }
  .quotecard h2 { font-size: 22px; }
  .quotecard__sub { margin-bottom: 12px; font-size: 15px; }
  .hero__call { order: 4; margin-top: 4px; }
  .hero__art { order: 5; margin-top: 4px; }
}

/* ---- picker (combobox) */
.fld { position: relative; margin-bottom: 14px; }
.fld > label, .fld__label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.fld__box { position: relative; }
.fld input, .fld select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9aa7a2; border-radius: 9px;
  background: #fff; color: var(--ink); font: 400 17px/1.3 var(--body); appearance: none;
}
.fld input::placeholder { color: #8a9692; }
.fld input:focus { outline: none; border-color: var(--bonnet); box-shadow: 0 0 0 3px var(--bonnet-tint); }
.fld input:disabled { background: #f1efe9; color: var(--ink-faint); cursor: not-allowed; }
.fld input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-tint); }
.pick__caret { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; color: var(--ink-soft); }
.pick input { padding-right: 40px; }
.pick__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 264px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px;
  box-shadow: 0 14px 30px rgba(22, 48, 42, .16);
}
.pick__list[hidden] { display: none; }
.pick__list li { padding: 10px 12px; border-radius: 7px; cursor: pointer; font-size: 16px; }
.pick__list li[aria-selected="true"], .pick__list li.is-active { background: var(--bonnet-tint); color: var(--bonnet-deep); }
.pick__list li.is-chosen { font-weight: 700; }
.pick__list .pick__empty { color: var(--ink-faint); cursor: default; }
.pick__list .pick__sub { color: var(--ink-faint); font-size: 14px; margin-left: 6px; }
.fld__msg { margin: 6px 0 0; font-size: 14.5px; color: var(--danger); font-weight: 600; }
.fld__msg:empty { display: none; }
.fld__hint { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---- content sections */
.story { padding: 72px 0; border-top: 1.5px solid var(--ink); }
.story--tint { background: var(--sage); }
.story__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.story__grid--flip { grid-template-columns: minmax(0, 1fr) 220px; }
.story__art { padding-top: 6px; }
.story__art svg { width: 100%; height: auto; display: block; }
.story h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.story h3 { font-size: 24px; font-weight: 800; margin-top: 1.4em; }
.story p { max-width: 68ch; color: #22382f; }
.story__kicker { font: 600 24px/1 var(--hand); color: var(--coral); display: block; margin-bottom: 6px; transform: rotate(-2deg); transform-origin: left; }
.buylist { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; padding: 0; }
.buylist li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 1.5px solid var(--ink);
  border-radius: 999px; background: var(--card); font-weight: 700; font-size: 16px;
}
.buylist svg { width: 18px; height: 18px; color: var(--coral); }
.cashline { display: inline-block; position: relative; }
.cashline svg { position: absolute; left: -4px; bottom: -10px; width: calc(100% + 8px); height: 12px; color: var(--coral); }
.story__cta { margin-top: 26px; }

@media (max-width: 860px) {
  .story { padding: 48px 0; }
  .story__grid, .story__grid--flip { grid-template-columns: 1fr; gap: 18px; }
  .story__art { max-width: 150px; }
  .story__grid--flip .story__art { order: -1; }
  body { font-size: 16.5px; }
}

/* ---- inner page hero (no form) */
.pagehero { padding: 52px 0 46px; }
.pagehero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.pagehero h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; max-width: 15ch; }
.pagehero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.pagehero__actions .btn-go { width: auto; }
@media (max-width: 860px) {
  .pagehero { padding: 30px 0 34px; }
  .pagehero__grid { grid-template-columns: 1fr; gap: 20px; }
  .pagehero__actions .btn-go { width: 100%; }
}

/* ---- footer */
.foot { background: var(--ink); color: #dfe7e3; padding: 36px 0; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brandmark { color: #fff; }
.foot .brandmark__badge { width: 40px; height: 40px; }
.foot__copy { margin: 0; font-size: 14px; letter-spacing: .04em; }
.foot__social { display: flex; gap: 6px; }
.foot__social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: #dfe7e3; border-radius: 50%; }
.foot__social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.foot__social svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
