:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #07101f;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #131a29;
  background-color: #07101f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.route-gray-market {
  background-image:
    linear-gradient(90deg, rgba(5, 13, 27, 0.2), rgba(5, 13, 27, 0.04)),
    url("../assets/review/gray-market-constraints-v2.png");
}

body.route-lsa {
  background-image:
    linear-gradient(90deg, rgba(5, 13, 27, 0.2), rgba(5, 13, 27, 0.04)),
    url("../assets/review/lsa-map-grid-v2.png");
}

.page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4.5rem);
}

.brand-lockup {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 0 clamp(1.5rem, 3vw, 2.75rem);
}

.card-lockup {
  display: block;
  width: 132px;
  max-width: 40%;
  height: auto;
  object-fit: contain;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.review-card {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #f9f4f1;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #315ee8;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 38rem;
  margin: 1rem 0 2rem;
  color: #4c5361;
  font-size: 1rem;
  line-height: 1.6;
}

form {
  display: grid;
  gap: 1.35rem;
}

.field-grid,
.choice-row,
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field,
fieldset {
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.conditional-field[hidden] {
  display: none;
}

label,
legend {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.optional {
  float: right;
  color: #7c8290;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marketing-methods legend {
  display: block;
  width: 100%;
}

.field-guidance {
  margin: 0.35rem 0 0.75rem;
  color: #7c8290;
  font-size: 0.78rem;
  line-height: 1.4;
}

.marketing-methods .conditional-field {
  margin-top: 1rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid #cfd2d8;
  border-radius: 0;
  background: #fff;
  color: #131a29;
  font: inherit;
}

input,
select {
  padding: 0 0.85rem;
}

textarea {
  min-height: 8.5rem;
  padding: 0.85rem;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(49, 94, 232, 0.32);
  outline-offset: 2px;
  border-color: #315ee8;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-card,
.check-grid label {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfd2d8;
  background: #fff;
  font-weight: 500;
}

.choice-card input,
.check-grid input {
  width: 1rem;
  min-height: 1rem;
  margin: 0;
  accent-color: #315ee8;
}

.review-button {
  justify-self: start;
  min-height: 3.25rem;
  margin-top: 0.25rem;
  padding: 0 1.35rem;
  border: 1px solid #315ee8;
  border-radius: 0;
  background: #315ee8;
  color: #fff;
  font: inherit;
  font-weight: 760;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.boundary-notice {
  margin: 0;
  padding: 1rem;
  border: 1px solid #cfd2d8;
  background: #f7f8fb;
  color: #4c5361;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
}

.review-button:disabled {
  cursor: default;
  opacity: 0.78;
}

.review-note {
  margin: -0.25rem 0 0;
  color: #6f7581;
  font-size: 0.76rem;
  line-height: 1.5;
}

.review-note.is-success {
  color: #174f35;
  font-weight: 650;
}

@media (max-width: 820px) {
  body {
    background-position: 62% top;
    background-size: auto 31rem;
  }

  .page {
    padding: 1.25rem;
  }

  .brand-lockup {
    width: 142px;
    margin-bottom: 9rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .field-grid,
  .choice-row,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .review-button {
    width: 100%;
  }
}

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