/* Corrections from the pre-launch visual review. */
.checkout-form,
.order-summary {
  background: #101827;
  border-color: #34445e;
  color: #f7f8fb;
}

.checkout-section h3,
.summary-product h3,
.summary-product > b,
.summary-bump,
.summary-total {
  color: #f7f8fb;
}

.checkout-section p,
.checkout-form > label:not(.bump-card),
.payment-placeholder,
.bump-card p,
.summary-product p,
.summary-trust,
.secure-note {
  color: #b7c2d3;
}

.checkout-form > input {
  background: #172234;
  border-color: #465772;
  color: #fff;
}

.payment-placeholder {
  background: #151f30;
  border-color: #53637b;
}

.payment-placeholder b {
  color: #e8edf5;
}

.bump-card {
  background: #152440;
  border-color: #4d76b8;
}

.bump-card strong,
.bump-card em {
  color: #f4f7fb;
}

.bump-check {
  border-color: #7d94b8;
}

.summary-product,
.summary-bump,
.summary-total {
  border-color: #34445e;
}

.summary-trust p {
  color: #c2ccda;
}

.result-icon {
  color: #fff;
  font: 600 14px var(--mono);
  letter-spacing: .5px;
}

/* Final accessibility and interaction polish. */
:where(a, button, input):focus-visible {
  outline: 3px solid #f05a2a;
  outline-offset: 4px;
}

.answer:focus-visible,
.button:focus-visible,
.path-cta:focus-visible {
  outline-offset: 5px;
}

.question-wrap > :is(h1, h2)[tabindex="-1"],
.result-wrap :is(h1, h2)[tabindex="-1"],
.sales-page :is(h1, h2)[tabindex="-1"],
.checkout-page :is(h1, h2)[tabindex="-1"],
.post-purchase-page :is(h1, h2)[tabindex="-1"],
.membership-page :is(h1, h2)[tabindex="-1"],
.confirmation-page :is(h1, h2)[tabindex="-1"] {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.checkout-button:disabled {
  cursor: wait;
  opacity: .72;
}

.checkout-error {
  color: #b42318;
  background: #fff1ef;
  border: 1px solid #f1a69d;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
}

/* Mobile landing-page containment and conversion polish. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.hero,
.hero-copy,
.hero-visual,
.hero-actions,
.trust-row {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-visual {
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 32px);
  }

  .nav {
    height: 68px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
    font-size: 10px;
    letter-spacing: .75px;
    white-space: nowrap;
  }

  .brand-mark {
    flex: 0 0 22px;
  }

  .hero {
    min-height: auto;
    padding-block: 44px 54px;
    gap: 34px;
  }

  .hero h1 {
    max-width: 100%;
    margin: 20px 0;
    font-size: clamp(39px, 12vw, 46px);
    line-height: .99;
    letter-spacing: -1.4px;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    display: flex;
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 1.05px;
  }

  .hero .pulse {
    flex: 0 0 7px;
    margin-top: 4px;
  }

  .hero-lede {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.58;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    width: 100%;
    margin-top: 28px;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    padding: 17px 16px;
    box-shadow: 6px 6px 0 var(--ink);
    white-space: normal;
  }

  .hero-actions .button span {
    margin-left: 10px;
  }

  .micro-proof {
    width: 100%;
    font-size: 11px;
    line-height: 1.5;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
    width: 100%;
    margin-top: 34px;
  }

  .trust-row > i {
    display: none;
  }

  .trust-row > div {
    min-width: 0;
    align-items: flex-start;
    gap: 6px;
  }

  .trust-row strong {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .trust-row span {
    min-width: 0;
    font-size: 7px;
    line-height: 1.35;
    letter-spacing: .35px;
    overflow-wrap: anywhere;
  }

  .route-visual {
    position: relative;
    height: 360px;
    width: 100%;
    overflow: hidden;
  }

  .map-sheet {
    position: absolute;
    top: 0;
    left: 50%;
    width: 520px;
    height: 560px;
    max-width: none;
    transform: translateX(-50%) scale(.62);
    transform-origin: top center;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 38px;
  }

  .route-visual {
    height: 330px;
  }

  .map-sheet {
    transform: translateX(-50%) scale(.57);
  }
}
