:root {
  --black: #000;
  --white: #fff;
  --ink: #1f1f1f;
  --muted: #4d4d4d;
  --light-grey: #f2f2f2;
  --border: #d9d9d9;
  --blue: #005cb2;
  --blue-dark: #004789;
  --pale-blue: #deebf2;
  --green: #2f6f3e;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --font: "Host Grotesk", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 9999;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  background: var(--light-grey);
  overflow: hidden;
  padding: 66px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -1.6px;
  font-weight: 800;
  color: var(--black);
}
.hero-copy > p {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 20px;
  color: var(--ink);
}
.hero-image-card img {
  width: 100%;
  border-radius: 8px;
}

.vin-form {
  max-width: 560px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.vin-input-wrap {
  position: relative;
  flex: 1 1 280px;
  min-height: 62px;
  background: var(--light-grey);
  border: 1px solid rgba(113, 128, 150, 0.35);
  border-radius: 8px;
  padding: 8px 44px 8px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vin-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 92, 178, 0.22);
}
.vin-input-wrap label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
}
.vin-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.clear-vin {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #fff;
  color: var(--muted);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.clear-vin.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.primary-btn:hover {
  background: var(--blue-dark);
  text-decoration: underline;
}
.form-message {
  flex-basis: 100%;
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--blue-dark);
}
.form-message.error {
  color: #b00020;
}

.content-section {
  padding: 76px 0;
}
.white-section {
  background: var(--white);
}
.grey-section {
  background: var(--light-grey);
}
.blue-section {
  background: var(--pale-blue);
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.image-left .image-panel {
  order: -1;
}
.text-content h2,
.info-card h2,
.narrow-content h2,
.cta-card h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.8px;
  font-weight: 800;
  color: var(--black);
}
.text-content h3,
.breakdown-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--black);
}
.text-content p,
.info-card p,
.cta-card p,
.narrow-content p {
  margin: 0 0 20px;
}
.info-card,
.cta-card,
.breakdown-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.cta-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-card .primary-btn {
  width: fit-content;
  min-height: auto;
}
.image-panel img {
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.narrow-content {
  max-width: 1020px;
}
.vin-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.breakdown-card {
  padding: 24px;
  box-shadow: none;
  border: 1px solid var(--border);
}
.breakdown-card span {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.breakdown-card h3 {
  font-size: 20px;
}
.breakdown-card p {
  font-size: 16px;
  margin-bottom: 0;
}
.note-text {
  margin-top: 24px !important;
  color: var(--muted);
}
.check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin: 0 0 12px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.accordion-list {
  display: grid;
  gap: 12px;
}
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 48px 18px 20px;
  text-align: left;
  color: var(--black);
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}
.accordion-item.open .accordion-trigger::after {
  content: "−";
}
.accordion-panel {
  display: none;
  padding: 0 20px 20px;
}
.accordion-item.open .accordion-panel {
  display: block;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 42px;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-logo span:last-child {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}
.site-footer p {
  color: #dedede;
  margin: 0;
  font-size: 15px;
  max-width: 520px;
}
.site-footer h4 {
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-footer a,
.footer-button {
  display: block;
  color: var(--white);
  margin: 0 0 10px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 15px;
  text-align: left;
}
.site-footer a:hover,
.footer-button:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 22px;
}
.footer-bottom p {
  font-size: 14px;
}

@media (max-width: 980px) {
  .mobile-menu-btn {
    display: block;
  }
  .site-navbar {
    padding: 0 18px;
  }
  .site-nav-wrapper {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--white);
    padding: 20px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-nav-wrapper.open {
    display: block;
  }
  .site-nav,
  .site-nav-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav-right {
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
  .search-item,
  .language-item {
    border-right: 0;
    padding-right: 0;
  }
  .dropdown-menu {
    position: static;
    margin: 8px 0 12px;
    box-shadow: none;
  }
  .wide-dropdown,
  .small-dropdown {
    min-width: 100%;
    padding: 20px;
  }
  .featured-link {
    border-right: 0;
    border-bottom: 1px solid #555;
    padding-right: 0;
    padding-bottom: 18px;
  }
  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 44px 0 58px;
  }
  .hero-grid {
    gap: 36px;
  }
  .vin-breakdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .container {
    width: min(100% - 28px, 1200px);
  }
  .hero-copy h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .vin-form {
    display: block;
  }
  .vin-input-wrap {
    margin-bottom: 12px;
  }
  .primary-btn {
    width: 100%;
  }
  .content-section {
    padding: 54px 0;
  }
  .vin-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .info-card,
  .cta-card,
  .breakdown-card {
    padding: 24px;
  }
}
