html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.hero-plate {
  background:
    linear-gradient(to top, #120d3a 0%, rgba(18, 13, 58, 0.94) 22%, rgba(18, 13, 58, 0.55) 48%, rgba(5, 3, 27, 0.12) 100%);
}

.media-scrim {
  background: linear-gradient(
    to top,
    #120d3a 0%,
    rgba(18, 13, 58, 0.92) 42%,
    rgba(18, 13, 58, 0.28) 68%,
    rgba(18, 13, 58, 0) 100%
  );
}

.navy-grade {
  background: linear-gradient(to bottom, #221b58, #120d3a);
}

.gold-pill {
  background-color: #7a4e14;
  color: #ffffff;
  border-radius: 999px;
  min-height: 44px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.45);
}

.gold-pill:hover {
  opacity: 0.92;
}

.navy-pill {
  background: #120d3a;
  color: #ffffff;
  border-radius: 999px;
  min-height: 44px;
}

.store-badge {
  background-color: #7a4e14;
  color: #ffffff;
  border-radius: 12px;
  min-height: 44px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.45);
}

.store-badge:hover {
  opacity: 0.92;
}

.gold-rule {
  width: 3rem;
  height: 1px;
  background: #a76b2b;
}

.hero-type {
  animation: rise 700ms ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.drawer {
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 220ms ease-out, visibility 220ms ease-out;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.scrim {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease-out;
}

.scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.faq-panel {
  display: none;
}

.faq.is-open .faq-panel {
  display: block;
}

.faq-chevron {
  transition: transform 180ms ease-out;
}

.faq.is-open .faq-chevron {
  transform: rotate(180deg);
}

:focus-visible {
  outline: 2px solid #120d3a;
  outline-offset: 3px;
}

header :focus-visible,
footer :focus-visible,
.bg-navy :focus-visible,
.navy-grade :focus-visible {
  outline-color: #e6c378;
}

.legal h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #120d3a;
}

.legal h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #120d3a;
}

.legal p,
.legal li {
  color: #120d3a;
  font-size: 1rem;
  line-height: 1.6;
}

.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 0.85rem;
}

.legal ul {
  margin-top: 0.6rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal a {
  color: #1927ae;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid #f0f0f0;
  color: #120d3a;
}

.legal th {
  font-weight: 600;
}

@media (max-width: 639px) {
  .legal table,
  .legal thead,
  .legal tbody,
  .legal tr,
  .legal th,
  .legal td {
    display: block;
    width: 100%;
  }

  .legal thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .legal tr {
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .legal td {
    border-bottom: 0;
    padding: 0.2rem 0;
  }

  .legal td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4e565e;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-type {
    animation: none;
  }

  .drawer,
  .scrim,
  .faq-chevron,
  .gold-pill,
  .store-badge {
    transition: none;
  }
}
