/*
 * Copper Hawk Auto: public website.
 *
 * Brand: Brand Black #0B0D0F, Copper #C86B32 (art and accents), UI copper #A34D1D on light
 * (white text 5.8:1) and #D9772F on dark (6.2:1 on black), Steel #BFC5CC, Off White #F5F7F8.
 * Metallic gradients live only in the logo and hero art; controls use flat colours.
 *
 * Type: Archivo (variable width) for headings, set wide like the wordmark;
 * Atkinson Hyperlegible for reading, because it keeps 0/O and 1/I apart (VINs, ZIPs).
 *
 * Signature: the copper and slate diagonal stripes from the brand banner, used twice:
 * at the foot of the hero and in the closing call band. Everything else stays quiet.
 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --ink: #0b0d0f;
  --ink-2: #14171b;
  --ink-3: #23282e;
  --copper: #c86b32;
  --copper-ui: #a34d1d;
  --copper-ui-hover: #8a3f16;
  --copper-on-dark: #d9772f;
  --copper-on-dark-hover: #e68a47;
  --copper-tint: #fbf1ea;
  --steel: #bfc5cc;
  --slate: #59626b;
  --paper: #f5f7f8;
  --white: #ffffff;

  /* Text and lines */
  --text: #15181c;
  --muted: #545d67;
  --on-dark: #e9ecef;
  --on-dark-muted: #a9b1ba;
  --line: #dce1e5;
  --line-strong: #b9c1c9;

  /* Answers */
  --yes: #1d6f45;
  --yes-tint: #e6f3eb;
  --check: #7a5200;
  --check-tint: #fff3d6;
  --no: #9e2a2b;
  --no-tint: #fbe9e9;

  --font-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 76rem;
  --gutter: 1rem;
  --radius: 10px;
  --bar: 64px;

  color-scheme: light;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  font-stretch: 102%;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--copper-ui);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--copper-ui-hover);
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--copper-ui);
  outline-offset: 2px;
  border-radius: 4px;
}

.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--copper-on-dark);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 46rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.muted {
  color: var(--muted);
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

@media (min-width: 40rem) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --gutter: 2rem;
  }
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

.btn-primary {
  background: var(--copper-ui);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--copper-ui-hover);
  color: var(--white);
}

.btn-copper {
  background: var(--copper-on-dark);
  color: var(--ink);
}

.btn-copper:hover {
  background: var(--copper-on-dark-hover);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-3);
  color: var(--white);
}

.btn-ghost-light {
  border-color: #4a525b;
  color: var(--on-dark);
  background: transparent;
}

.btn-ghost-light:hover {
  border-color: var(--steel);
  color: var(--white);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0.85rem 1.5rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 700;
}

/* ------------------------------------------------------------------ announcement + header */

.banner {
  background: var(--copper-ui);
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
}

.banner p {
  margin: 0;
  padding-block: 0.5rem;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid var(--ink-3);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 34px;
}

.header-nav {
  display: none;
  margin-left: auto;
  gap: 1.6rem;
}

.header-nav a {
  color: var(--on-dark);
  font-size: 0.97rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--copper-on-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-phone {
  display: none;
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--copper-on-dark);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.mobile-nav {
  border-top: 1px solid var(--ink-3);
  background: var(--ink);
}

.mobile-nav ul {
  margin: 0;
  padding: 0.5rem 0 1rem;
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--ink-2);
  color: var(--on-dark);
  font-size: 1.05rem;
  text-decoration: none;
}

@media (min-width: 40rem) {
  .brand img {
    height: 40px;
  }
}

@media (min-width: 68rem) {
  .header-nav {
    display: flex;
  }
  .header-actions {
    margin-left: 1.25rem;
  }
  .header-phone {
    display: inline;
  }
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  z-index: -2;
  top: 0;
  right: -14%;
  width: 92%;
  max-width: 780px;
  opacity: 0.42;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: auto;
}

.hero::after {
  /* keeps the headline readable over the art on narrow screens */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(11 13 15 / 0.35) 0%, rgb(11 13 15 / 0.82) 55%, var(--ink) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-block: 2.75rem 7.5rem;
}

.hero h1 {
  max-width: 15ch;
  color: var(--white);
  font-size: clamp(2.35rem, 1.4rem + 4.4vw, 4.35rem);
  font-stretch: 116%;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.hero-lede {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--on-dark);
  font-size: 1.15rem;
}

.highlights {
  display: grid;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--on-dark);
}

.highlights svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  stroke: var(--copper-on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin: 0.9rem 0 0;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--steel);
  font-size: 0.95rem;
}

.trust-line li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-line svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--copper-on-dark);
}

.stripes {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: min(78%, 760px);
  height: auto;
  pointer-events: none;
}

.stripes .s-copper {
  fill: var(--copper);
}

.stripes .s-slate {
  fill: var(--slate);
}

@media (min-width: 60rem) {
  .hero-art {
    right: -5%;
    top: -2%;
    width: 60%;
    max-width: 920px;
    opacity: 1;
  }
  .hero::after {
    background: linear-gradient(90deg, var(--ink) 0%, rgb(11 13 15 / 0.9) 36%, rgb(11 13 15 / 0.15) 58%, rgb(11 13 15 / 0) 75%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: end;
    gap: 3rem;
    padding-block: 5rem 10.5rem;
  }
  .stripes {
    width: min(42%, 640px);
  }
}

/* ------------------------------------------------------------------ vehicle check */

.check-card {
  position: relative;
  padding: 1.4rem;
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.65);
}

.check-card h2 {
  font-size: 1.4rem;
  font-stretch: 106%;
}

.check-card .hint {
  margin: 0.35rem 0 1rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
}

.check-grid .span-2 {
  grid-column: 1 / -1;
}

.verdict {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border-left: 4px solid currentColor;
  font-size: 0.98rem;
}

.verdict strong {
  display: block;
  margin-bottom: 0.15rem;
}

.verdict p {
  margin: 0;
}

.verdict-yes {
  background: var(--yes-tint);
  color: var(--yes);
}

.verdict-check,
.verdict-unknown {
  background: var(--check-tint);
  color: var(--check);
}

.verdict-no {
  background: var(--no-tint);
  color: var(--no);
}

.verdict .verdict-body {
  color: var(--text);
}

.check-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ------------------------------------------------------------------ sections */

.section {
  padding-block: 4rem;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-dark .section-head p {
  color: var(--on-dark-muted);
}

.section-foot {
  margin-top: 2rem;
}

@media (min-width: 60rem) {
  .section {
    padding-block: 5.5rem;
  }
}

/* Page intro on inner pages */
.page-head {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}

.page-head .wrap {
  padding-block: 2.5rem 3.25rem;
}

.page-head h1 {
  max-width: 22ch;
  color: var(--white);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem);
  font-stretch: 114%;
  font-weight: 750;
}

.page-head .lede {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--on-dark);
  font-size: 1.12rem;
}

.page-head .page-mark {
  position: absolute;
  z-index: -1;
  right: -5rem;
  bottom: -2.5rem;
  width: 18rem;
  opacity: 0.14;
}

.page-head .page-mark img {
  width: 100%;
  height: auto;
}

.crumbs {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--copper-on-dark);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: #5c656f;
}

@media (min-width: 60rem) {
  .page-head .wrap {
    padding-block: 3.5rem 4.25rem;
  }
  .page-head .page-mark {
    right: 3%;
    bottom: -3rem;
    width: 24rem;
    opacity: 0.2;
  }
}

/* ------------------------------------------------------------------ services */

.service-list {
  display: grid;
  gap: 1rem;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: 4px 4px var(--radius) var(--radius);
  background: var(--white);
}

.service h3 {
  font-size: 1.35rem;
}

.service h3 a {
  color: var(--text);
  text-decoration: none;
}

.service h3 a:hover {
  color: var(--copper-ui);
}

.service p {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
}

.service .ticks {
  margin-bottom: 1.25rem;
}

.service .text-link {
  margin-top: auto;
}

.service-soon {
  border-top-color: var(--line-strong);
}

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: normal;
  vertical-align: middle;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.55em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2.5px solid var(--copper-ui);
  border-bottom: 2.5px solid var(--copper-ui);
  transform: rotate(-45deg);
}

.section-dark .ticks li::before {
  border-color: var(--copper-on-dark);
}

@media (min-width: 52rem) {
  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--copper-ui);
  font-family: var(--font-display);
  font-size: 3rem;
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 0.5rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* ------------------------------------------------------------------ policies */

.policy-grid {
  display: grid;
  gap: 1rem;
}

.policy {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.policy h3 {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}

.policy h4 {
  margin: 1rem 0 0.25rem;
  font-size: 1rem;
}

.policy p {
  color: var(--muted);
}

.policy p:last-child {
  margin-bottom: 0;
}

.policy-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.policy-dark h3 {
  color: var(--white);
}

.policy-dark p {
  color: var(--on-dark-muted);
}

.policy-dark .ticks li::before {
  border-color: var(--copper-on-dark);
}

.policy-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  stroke: var(--copper-on-dark);
}

@media (min-width: 60rem) {
  .policy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ makes */

.make-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.make-chips a {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1px solid #3a4148;
  border-radius: 999px;
  color: var(--on-dark);
  text-decoration: none;
}

.make-chips a:hover {
  border-color: var(--copper-on-dark);
  color: var(--white);
}

.make-chips-light a {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--text);
}

.make-chips-light a:hover {
  border-color: var(--copper-ui);
  color: var(--copper-ui);
}

.make-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.98rem;
}

.make-table th,
.make-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.make-table td:first-child {
  white-space: nowrap;
}

.table-wrap + .prose,
.table-wrap + p {
  margin-top: 2.5rem;
}

.make-table thead th {
  background: var(--paper);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.answer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.answer-yes {
  background: var(--yes-tint);
  color: var(--yes);
}

.answer-check,
.answer-unknown {
  background: var(--check-tint);
  color: var(--check);
}

.answer-no {
  background: var(--no-tint);
  color: var(--no);
}

.make-index {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.make-index a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  text-decoration: none;
}

.make-index a:hover {
  border-color: var(--copper-ui);
}

.make-index strong {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-size: 1.1rem;
}

.make-index span {
  color: var(--muted);
}

@media (min-width: 40rem) {
  .make-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .make-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ area */

.area-grid {
  display: grid;
  gap: 2rem;
}

.town-list {
  columns: 2;
  column-gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.town-list li {
  padding: 0.3rem 0;
  break-inside: avoid;
}

.panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.panel h3 {
  margin-bottom: 0.5rem;
}

.zip-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.zip-form input {
  flex: 1;
  min-width: 0;
}

.zip-result {
  margin-top: 1rem;
}

.tier-block + .tier-block {
  margin-top: 1.75rem;
}

.tier-block h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.zip-list {
  display: grid;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.zip-list b {
  display: inline-block;
  min-width: 3.5rem;
  font-variant-numeric: tabular-nums;
}

.zip-list span {
  color: var(--muted);
}

@media (min-width: 40rem) {
  .town-list {
    columns: 3;
  }
  .zip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .area-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
  }
}

/* ------------------------------------------------------------------ prose, faq */

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.6rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.75rem 0 0.5rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose .lead {
  font-size: 1.2rem;
  color: var(--text);
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 4rem;
    align-items: start;
  }
  .split .sticky {
    position: sticky;
    top: 1.5rem;
  }
}

.faq-list {
  max-width: 50rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-stretch: 102%;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-right: 2.5px solid var(--copper-ui);
  border-bottom: 2.5px solid var(--copper-ui);
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.6rem;
}

.faq-list .answer-text {
  max-width: 42rem;
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq-list .answer-text p:last-child {
  margin-bottom: 0;
}

/* Side box used on inner pages */
.call-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}

.call-box h2,
.call-box h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.call-box .big-phone {
  display: block;
  margin: 0.75rem 0 0.25rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-stretch: 110%;
  font-weight: 720;
  text-decoration: none;
}

.call-box .big-phone:hover {
  color: var(--copper-on-dark);
}

.call-box p {
  color: var(--on-dark-muted);
  font-size: 0.97rem;
}

.call-box .btn {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ closing call band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}

.cta-band .wrap {
  display: grid;
  gap: 1.5rem;
  padding-block: 3.5rem 6rem;
}

.cta-band h2 {
  max-width: 18ch;
  color: var(--white);
  font-stretch: 114%;
}

.cta-band p {
  max-width: 34rem;
  margin: 0;
  color: var(--on-dark-muted);
}

.cta-band .stripes {
  left: auto;
  right: 0;
  transform: scaleX(-1);
  width: min(70%, 640px);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 60rem) {
  .cta-band .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding-block: 4.5rem 5.5rem;
  }
  .cta-band .stripes {
    width: min(40%, 620px);
  }
}

/* ------------------------------------------------------------------ forms */

.form-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

@media (min-width: 40rem) {
  .form-card {
    padding: 2rem;
  }
}

.form-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-group + .form-group {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.form-group > legend {
  float: left;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-stretch: 106%;
  font-weight: 700;
}

.form-group > legend + * {
  clear: both;
}

.field {
  margin-bottom: 1.15rem;
}

.field:last-child {
  margin-bottom: 0;
}

label,
.label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
}

.hint {
  margin: -0.15rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input:not([type]),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  line-height: 1.35;
}

select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 52%, calc(100% - 0.8rem) 52%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper-ui);
  outline: 3px solid rgb(163 77 29 / 0.25);
  outline-offset: 0;
}

[aria-invalid="true"] {
  border-color: var(--no) !important;
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--no);
  font-size: 0.95rem;
  font-weight: 700;
}

.input-vin {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 40rem) {
  .row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .row-vehicle {
    grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1fr);
  }
}

.choice-group {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
}

.choice-group > legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-weight: 700;
}

.choices {
  display: grid;
  gap: 0.5rem;
}

.choices-inline {
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

@media (min-width: 40rem) {
  .choices-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  font-weight: 400;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--muted);
}

.choice input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  accent-color: var(--copper-ui);
}

.choice:has(input:checked) {
  border-color: var(--copper-ui);
  background: var(--copper-tint);
  box-shadow: inset 0 0 0 1px var(--copper-ui);
}

.choice strong {
  display: block;
}

.choice small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.2rem 0 0;
  accent-color: var(--copper-ui);
}

.agree {
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice,
.error-summary,
.notice {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  border-left: 4px solid var(--no);
  background: var(--no-tint);
}

.notice {
  border-left-color: var(--copper-ui);
  background: var(--copper-tint);
}

.error-summary h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--no);
}

.error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.error-summary a {
  color: var(--no);
  font-weight: 700;
}

.zip-status {
  margin-top: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.95rem;
}

.zip-status p {
  margin: 0;
}

.zip-status .btn {
  margin-top: 0.6rem;
}

.form-actions {
  margin-top: 2rem;
}

.form-actions p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.form-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 3rem;
    align-items: start;
  }
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  padding-block: 3rem 2rem;
  background: var(--ink);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--ink-3);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  width: auto;
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 24rem;
  font-size: 0.97rem;
}

.footer-heading {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-stretch: 104%;
  font-weight: 700;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--copper-on-dark);
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-3);
  font-size: 0.9rem;
}

.footer-legal p {
  margin: 0;
}

.footer-tagline {
  color: var(--steel);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-stretch: 105%;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ------------------------------------------------------------------ mobile action bar */

.action-bar {
  position: fixed;
  z-index: 30;
  inset: auto 0 0 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgb(11 13 15 / 0.96);
  border-top: 1px solid var(--ink-3);
  backdrop-filter: blur(8px);
}

.action-bar .action {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border: 1px solid #3a4148;
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.action-bar .action svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.action-bar .action-primary {
  border-color: var(--copper-on-dark);
  background: var(--copper-on-dark);
  color: var(--ink);
}

body.has-action-bar {
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}

@media (min-width: 52rem) {
  .action-bar {
    display: none;
  }
  body.has-action-bar {
    padding-bottom: 0;
  }
}

/* ------------------------------------------------------------------ small pages */

.status-page {
  padding-block: 4rem 5rem;
}

.status-page h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  font-stretch: 112%;
}

.status-page .status-mark {
  width: 4.5rem;
  height: auto;
  margin-bottom: 1.25rem;
}

.next-steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}

.next-steps li {
  position: relative;
  counter-increment: next;
  padding: 0 0 1rem 2.5rem;
}

.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}

.fee-table th,
.fee-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.fee-table td:last-child,
.fee-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media print {
  .site-header,
  .action-bar,
  .cta-band,
  .stripes,
  .hero-art {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

.choice-group.flush {
  margin: 0;
}

.vc-submit {
  margin-top: 1rem;
}

.hours-title {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
}

.area-zips-title {
  margin: 2.5rem 0 1.25rem;
  font-size: 1.6rem;
}

.panel-title {
  font-size: 1.3rem;
}

.sticky > * + * {
  margin-top: 1.25rem;
}

/* Small notes in the dark footer: muted, but still 7:1 on Brand Black. */
.footer-note {
  color: var(--on-dark-muted);
}
