:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #1f1f1f;
  --grey: #4d4d4d;
  --light-grey: #f2f2f2;
  --border-grey: #d9d9d9;
  --blue: #005cb2;
  --blue-dark: #004789;
  --green: #0b7a44;
  --red: #d93025;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Host Grotesk", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.55;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.narrow-container {
  max-width: 920px;
}
.centered {
  text-align: center;
}

.hero {
  overflow: hidden;
  background: var(--light-grey);
  padding: 74px 0 90px;
}
.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  max-width: 560px;
}
h1 {
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  font-weight: 800;
}
h2 {
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  font-weight: 800;
  color: var(--black);
}
h4 {
  margin: 0 0 14px;
}
p {
  margin: 0 0 18px;
}
.hero-copy p,
.section-copy p {
  color: var(--ink);
}
.hero-media img,
.image-card img {
  width: 100%;
}
.hero-media {
  transform: translateY(12px);
}

.vin-form {
  margin-top: 30px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  max-width: 560px;
  flex-wrap: wrap;
}
.vin-input-wrap {
  position: relative;
  flex: 1 1 300px;
  min-height: 64px;
  padding: 9px 44px 7px 18px;
  border: 1px solid rgba(113, 128, 150, 0.35);
  border-radius: 8px;
  background: var(--light-grey);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}
.vin-input-wrap label {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: var(--grey);
  margin-bottom: 4px;
}
.vin-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--grey);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.clear-vin {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--grey);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.clear-vin.visible {
  display: inline-flex;
}
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.primary-btn:hover,
.secondary-btn:hover {
  background: var(--blue-dark);
  text-decoration: underline;
}
.secondary-btn {
  min-height: 48px;
  margin-top: 10px;
}
.form-message {
  width: 100%;
  margin: 0;
  font-size: 14px;
  color: var(--grey);
}
.form-message.error {
  color: var(--red);
}
.form-message.success {
  color: var(--green);
}

.section {
  padding: 90px 0;
}
.section-grey {
  background: var(--light-grey);
}
.section-copy {
  max-width: 560px;
}
.image-card {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}
.section:not(.section-grey) .image-card {
  background: var(--light-grey);
}
.small-image-card {
  max-width: 500px;
  justify-self: center;
}
.reverse .split-grid .section-copy {
  order: 1;
}
.reverse .split-grid .image-card {
  order: 2;
}

.check-grid {
  list-style: none;
  padding: 0;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}
.check-grid li,
.plain-list li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
}
.check-grid li::before,
.plain-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.report-tabs {
  display: inline-flex;
  gap: 10px;
  margin: 14px 0 28px;
}
.tab-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}
.tab-btn.active {
  background: var(--blue);
  color: var(--white);
}
.report-preview {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.tab-panel {
  display: none;
  width: 100%;
  border-radius: 14px;
}
.tab-panel.active {
  display: block;
}
.packages-section {
  background: var(--white);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}
.footer-logo {
  margin: 0 0 18px;
}
.footer-logo span:last-child {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}
.site-footer p {
  color: #d8d8d8;
  font-size: 14px;
  max-width: 430px;
}
.site-footer a {
  color: var(--white);
  display: block;
  text-decoration: none;
  margin: 9px 0;
  font-size: 15px;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer small {
  background: var(--green);
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 6px;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-navbar {
    width: min(100%, calc(100% - 32px));
  }
  .mobile-menu-btn {
    display: block;
  }
  .site-nav-wrapper {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-top: 1px solid var(--border-grey);
    padding: 20px 24px 28px;
    box-shadow: var(--shadow);
  }
  .site-nav-wrapper.open {
    display: flex;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav-right {
    margin-top: 12px;
  }
  .site-nav-item {
    display: block;
    padding: 7px 0;
  }
  .search-item,
  .language-item {
    border-right: 0;
    padding-right: 0;
  }
  .dropdown-menu {
    position: static;
    margin-top: 10px;
    box-shadow: none;
    width: 100%;
  }
  .wide-dropdown,
  .small-dropdown {
    min-width: 0;
    padding: 18px;
  }
  .wide-dropdown {
    flex-direction: column;
  }
  .feature-card {
    border-right: 0;
    border-bottom: 1px solid #333;
    padding-right: 0;
    padding-bottom: 18px;
  }
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding: 48px 0 60px;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 30px;
  }
  .vin-form {
    flex-direction: column;
  }
  .primary-btn {
    width: 100%;
  }
  .section {
    padding: 64px 0;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }
  h1 {
    font-size: 36px;
  }
  .hero-copy p,
  body {
    font-size: 16px;
  }
  .report-preview {
    padding: 12px;
    border-radius: 16px;
  }
}
