:root {
  color-scheme: light;
  --navy-950: #051331;
  --navy-900: #071a45;
  --navy-800: #0b2a68;
  --blue-600: #1458c0;
  --red-600: #d9152a;
  --red-700: #b80d1f;
  --cream: #f5f3ed;
  --white: #ffffff;
  --ink: #121826;
  --muted: #637083;
  --line: #dbe1e9;
  --success: #19704a;
  --warning-bg: #fff5d6;
  --shadow: 0 24px 70px rgba(5, 19, 49, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(28, 94, 200, 0.12), transparent 24rem),
    var(--cream);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--navy-950);
  border-radius: 0.5rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), #ff3e45);
  border-radius: 0.8rem 0.8rem 0.8rem 0.15rem;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(217, 21, 42, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy-900);
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.63rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.language-button,
.store-link {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  width: 46px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
}

.store-link {
  display: none;
  align-items: center;
  padding: 0 1rem;
  text-decoration: none;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

main {
  padding-bottom: 4rem;
}

.hero {
  width: min(920px, calc(100% - 2rem));
  margin: 3.4rem auto 2rem;
  text-align: center;
}

.eyebrow,
.section-kicker,
.step-label {
  color: var(--red-600);
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  margin: 0.7rem auto 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 10vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero > p {
  max-width: 650px;
  margin: 1.25rem auto 0;
  color: #405069;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-list span {
  color: var(--success);
}

.finder-shell,
.result-section,
.how-it-works {
  width: min(840px, calc(100% - 1rem));
  margin-inline: auto;
}

.finder-shell {
  scroll-margin-top: 1rem;
}

.preview-ribbon {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0.5rem;
  padding: 0.8rem 1rem;
  color: #684800;
  background: var(--warning-bg);
  border: 1px solid #efcf6c;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.preview-ribbon strong {
  white-space: nowrap;
}

.finder-card {
  padding: clamp(1.2rem, 5vw, 2.6rem);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(11, 42, 104, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.finder-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.step-label {
  margin: 0 0 0.45rem;
}

.finder-heading h2,
.how-it-works h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  letter-spacing: -0.035em;
}

.secure-badge {
  display: none;
  padding: 0.5rem 0.65rem;
  color: var(--success);
  background: #eaf8f1;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 1.7rem 0 1.4rem;
  padding: 0.3rem;
  background: #edf0f5;
  border-radius: 14px;
}

.tab {
  min-height: 48px;
  padding: 0.6rem;
  color: #536075;
  background: transparent;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.tab.is-active {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(5, 19, 49, 0.08);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--navy-950);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid #bcc6d4;
  border-radius: 12px;
  outline: 0;
  font-size: 16px;
}

input {
  padding: 0 4.9rem 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

select {
  padding: 0 2.4rem 0 0.85rem;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  border-color: var(--blue-600);
  outline: 3px solid rgba(20, 88, 192, 0.2);
  outline-offset: 2px;
}

.vin-field {
  position: relative;
}

.counter {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.field-help,
.privacy-note,
.field-error {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.field-help,
.privacy-note {
  color: var(--muted);
}

.field-error {
  min-height: 1.1rem;
  color: #b00d22;
  font-weight: 700;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(217, 21, 42, 0.22);
  font-weight: 900;
}

.primary-button:hover {
  filter: brightness(1.04);
}

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

.result-section {
  scroll-margin-top: 1rem;
  margin-top: 1rem;
}

.result-card {
  padding: clamp(1.25rem, 5vw, 2.4rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(15, 55, 132, 0.96), rgba(5, 19, 49, 0.99)),
    var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.result-card.is-blocked {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.result-label {
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  color: #ffe8a0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.is-blocked .result-label {
  color: #6b4e00;
  background: var(--warning-bg);
}

.result-card h2 {
  margin: 0.9rem 0 0.4rem;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.result-card > p {
  margin: 0;
  color: #c9d6ef;
  line-height: 1.6;
}

.is-blocked > p {
  color: var(--muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.spec {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.spec small,
.spec strong {
  display: block;
}

.spec small {
  margin-bottom: 0.3rem;
  color: #b9c8e5;
  font-size: 0.7rem;
}

.spec strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.product-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 18px;
}

.bottle {
  display: grid;
  width: 74px;
  height: 88px;
  place-items: center;
  justify-self: center;
  color: var(--white);
  background: linear-gradient(150deg, #47546b, #111a2b);
  border-radius: 14px 14px 18px 18px;
  box-shadow: inset 0 0 0 6px #26344a;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.product-copy small,
.product-copy strong {
  display: block;
}

.product-copy small {
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 900;
}

.product-copy strong {
  margin: 0.3rem 0;
  color: var(--navy-950);
  line-height: 1.35;
}

.product-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.product-link,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-link {
  color: var(--white);
  background: var(--red-600);
}

.secondary-button {
  margin-top: 1rem;
  color: var(--navy-900);
  background: #edf2fa;
  border: 0;
  cursor: pointer;
}

.result-warning {
  margin-top: 1rem !important;
  padding-top: 1rem;
  color: #bbc8df !important;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.74rem;
}

.how-it-works {
  display: grid;
  gap: 2rem;
  margin-top: 5rem;
  padding: 0 0.5rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
}

.how-it-works > div > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  padding: 1rem 0;
  border-bottom: 1px solid #d6dce5;
}

.process-list span {
  grid-row: span 2;
  color: var(--red-600);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.process-list strong {
  color: var(--navy-950);
}

.process-list small {
  margin-top: 0.2rem;
  color: var(--muted);
}

footer {
  display: grid;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  color: var(--muted);
  border-top: 1px solid #d6dce5;
  font-size: 0.76rem;
  line-height: 1.5;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--navy-800);
  font-weight: 900;
}

@media (min-width: 560px) {
  .store-link,
  .secure-badge {
    display: inline-flex;
  }

  .preview-ribbon {
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .full-width {
    grid-column: 1 / -1;
  }

  .product-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .bottle {
    justify-self: start;
  }

  footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 800px) {
  .site-header {
    padding: 1.35rem 0;
  }

  .hero {
    margin-top: 5.2rem;
  }

  .finder-shell,
  .result-section {
    width: min(840px, calc(100% - 2rem));
  }

  .how-it-works {
    width: min(1080px, calc(100% - 2rem));
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

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

