:root {
  --landing-black: #050607;
  --landing-panel: rgba(8, 9, 10, 0.88);
  --landing-line: rgba(160, 177, 219, 0.26);
  --landing-text: #f7f8fb;
  --landing-muted: rgba(247, 248, 251, 0.8);
  --landing-soft: rgba(247, 248, 251, 0.62);
  --landing-accent: #8298ca;
  --landing-accent-bright: #9fb4e4;
  --landing-blue-band: #34435f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  background: var(--landing-black);
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--landing-text);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  min-height: 100svh;
  background: var(--landing-black);
}

.landing-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(720px, calc(100svh - 96px)) 96px;
  overflow: hidden;
}

.landing-hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 78px minmax(0, 1fr) 124px;
  isolation: isolate;
  overflow: hidden;
  background-color: #070809;
  background-image: url("/images/landing-hero.png");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.landing-hero-carousel {
  background-image: none;
}

.landing-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #070809;
}

.landing-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 1200ms ease, transform 6200ms ease;
}

.landing-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 78px 0 124px;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 22%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.06) 72%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.landing-header {
  position: relative;
  z-index: 4;
  min-height: 72px;
  max-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(30px, 4vw, 58px);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-brand {
  display: inline-flex;
  width: fit-content;
}

.landing-brand img {
  display: block;
  width: clamp(142px, 11.8vw, 176px);
  height: auto;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(34px, 4.2vw, 58px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

.landing-nav a {
  position: relative;
  padding: 8px 0;
}

.landing-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--landing-accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: clamp(44px, 6vw, 98px);
  align-items: center;
  min-height: 0;
  padding: clamp(24px, 4.2vw, 56px) clamp(34px, 4.4vw, 68px) clamp(20px, 2.4vw, 34px);
}

.hero-copy {
  max-width: 780px;
  transform: translateY(-40px);
  animation: riseIn 620ms ease both;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.047em;
  color: #fff;
}

.hero-copy h1 span {
  color: var(--landing-accent);
}

.hero-rule {
  width: 65px;
  height: 2px;
  margin: clamp(24px, 3vw, 34px) 0 22px;
  background: var(--landing-accent);
  box-shadow: 0 0 24px rgba(130, 152, 202, 0.44);
}

.hero-copy p {
  margin: 0 0 31px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--landing-muted);
  letter-spacing: -0.02em;
}

.hero-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 35px;
  border: 1px solid rgba(206, 217, 245, 0.48);
  background: linear-gradient(180deg, rgba(139, 159, 209, 0.98), rgba(106, 126, 168, 0.98));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 243, 255, 0.82);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.42), 0 0 26px rgba(130, 152, 202, 0.18);
}

.hero-button:focus-visible,
.cta-button:focus-visible,
.landing-nav a:focus-visible {
  outline: 2px solid var(--landing-accent-bright);
  outline-offset: 5px;
}

.benefit-stack {
  display: grid;
  gap: 0;
  width: min(100%, 390px);
  margin-left: auto;
  padding: 10px 24px;
  transform: translateY(-42px);
  background:
    linear-gradient(90deg, rgba(2, 3, 4, 0.36), rgba(255, 255, 255, 0.08)),
    rgba(4, 5, 6, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: riseIn 760ms 100ms ease both;
}

.benefit-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.benefit-card:last-child {
  border-bottom: 0;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(130, 152, 202, 0.92);
  border-radius: 50%;
  color: #f9fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 28px rgba(130, 152, 202, 0.08);
}

.benefit-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #fff;
}

.benefit-card em {
  display: block;
  max-width: 220px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.52;
  color: var(--landing-muted);
}

.bottom-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 124px;
  padding: 20px clamp(28px, 7.2vw, 116px);
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.98), rgba(19, 20, 21, 0.96), rgba(8, 9, 10, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 -20px 46px rgba(0, 0, 0, 0.46);
}

.bottom-strip article {
  min-height: 68px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 clamp(18px, 2.5vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.bottom-strip article:first-child {
  padding-left: 0;
}

.bottom-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.strip-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-accent);
}

.strip-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.08;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usa-badge {
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.usa-badge span {
  transform: translateX(1px);
}

.bottom-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.bottom-strip em {
  display: block;
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  color: var(--landing-muted);
}

.landing-cta {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 14vw, 210px);
  padding: 20px 28px calc(20px + env(safe-area-inset-bottom));
  background:
    linear-gradient(90deg, rgba(71, 87, 121, 0.95), rgba(30, 40, 55, 0.98)),
    var(--landing-blue-band);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-cta p {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
}

.cta-button {
  min-width: 210px;
  min-height: 53px;
  background: rgba(19, 25, 36, 0.24);
  border-color: rgba(255, 255, 255, 0.86);
}

.landing-cta .cta-button:hover,
.landing-cta .cta-button:focus-visible {
  background: rgba(247, 248, 251, 0.98);
  color: #101722;
  border-color: rgba(247, 248, 251, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 34px rgba(159, 180, 228, 0.3);
}

.order-success {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: min(420px, calc(100vw - 48px));
  padding: 22px;
  color: #0d1b24;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(128, 154, 210, 0.3);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.order-success h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.order-success p {
  margin: 0 0 16px;
  color: #4b5660;
  line-height: 1.5;
}

.order-success button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(82, 128, 153, 0.38);
  background: #527f99;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.order-success button:hover,
.order-success button:focus-visible {
  background: #0d1b24;
}

@keyframes riseIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .landing-shell {
    grid-template-rows: auto auto;
  }

  .landing-hero {
    min-height: 900px;
    grid-template-rows: 78px 1fr 222px;
    background-position: 56% bottom;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: clamp(48px, 8vw, 76px);
  }

  .benefit-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 28px 0 0;
    padding: 0;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(6px);
  }

  .benefit-card {
    grid-template-columns: 56px 1fr;
    gap: 15px;
    padding: 18px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .benefit-card:last-child {
    border-right: 0;
  }

  .benefit-icon {
    width: 56px;
    height: 56px;
  }

  .benefit-icon svg {
    width: 31px;
    height: 31px;
  }

  .bottom-strip {
    min-height: 222px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .bottom-strip article:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .bottom-strip article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    grid-template-rows: auto auto;
  }

  .landing-hero {
    min-height: auto;
    grid-template-rows: auto auto auto;
    background-position: center 76px;
    background-size: auto 44%;
    background-color: #030405;
  }

  .hero-shade {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0.58) 26%, rgba(0, 0, 0, 0.88) 54%, #030405 78%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.44));
  }

  .landing-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 72px;
    max-height: 82px;
    justify-items: stretch;
    padding: 12px 16px;
  }

  .landing-brand img {
    width: clamp(98px, 28vw, 124px);
  }

  .landing-nav {
    width: 100%;
    min-width: 0;
    justify-content: flex-end;
    gap: clamp(10px, 3vw, 18px);
    overflow: hidden;
    font-size: clamp(9px, 2.45vw, 11px);
    letter-spacing: 0.035em;
  }

  .landing-nav a {
    padding: 7px 0;
  }

  .hero-grid {
    display: block;
    padding: 40px 18px 72px;
  }

  .hero-copy {
    transform: none;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.45vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.052em;
  }

  .hero-rule {
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy p {
    max-width: 25rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-button,
  .cta-button {
    width: 100%;
    max-width: 318px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy::after {
    content: "";
    display: block;
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 32px auto 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22)),
      url("/images/landing-hero.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.17);
    box-shadow: 0 26px 68px rgba(0, 0, 0, 0.5);
  }

  .benefit-stack {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
    margin: 34px auto 0;
    background: rgba(2, 3, 4, 0.68);
  }

  .benefit-card {
    grid-template-columns: 58px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .bottom-strip {
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 30px 22px;
  }

  .bottom-strip article,
  .bottom-strip article:first-child,
  .bottom-strip article:nth-child(2),
  .bottom-strip article:nth-child(3),
  .bottom-strip article:last-child {
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bottom-strip article:last-child {
    border-bottom: 0;
  }

  .landing-cta {
    min-height: 132px;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 30px 22px calc(30px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .landing-header {
    gap: 9px;
    padding-inline: 14px;
  }

  .landing-brand img {
    width: 96px;
  }

  .hero-copy h1 {
    font-size: clamp(31px, 9.2vw, 36px);
  }

  .hero-copy::after {
    aspect-ratio: 1.72 / 1;
    background-position: center bottom;
  }

  .landing-nav {
    gap: 8px;
    font-size: 8.8px;
  }
}

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

  .landing-slide {
    transform: none !important;
    transition: none !important;
  }
}
