#app {
  min-height: 100vh;
}

.brand-intro {
  align-items: center;
  animation: introFade 5.2s ease forwards;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.98), rgba(18, 68, 82, 0.94));
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  z-index: 100;
}

.brand-intro img {
  animation: introLogo 5.2s ease forwards;
  filter:
    drop-shadow(0 0 10px rgba(255, 226, 140, 0.98))
    drop-shadow(0 0 28px rgba(242, 184, 75, 0.9))
    drop-shadow(0 0 62px rgba(14, 111, 131, 0.86));
  max-height: min(52vh, 520px);
  max-width: min(76vw, 720px);
  object-fit: contain;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(24, 32, 38, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 92px;
  padding: 14px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 62px;
  max-width: min(260px, 58vw);
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--sea-deep);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 14px;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--signal-soft);
  border-color: #e3c46c;
  color: var(--ink);
}

.account-link {
  background: var(--signal);
  border: 1px solid #d29a2d;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  padding: 11px 15px;
  text-decoration: none;
}

.page-shell {
  min-height: calc(100vh - 92px);
}

.hero,
.page-intro,
.products-grid,
.search-surface,
.lead-layout,
.closing-cta {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.hero,
.page-intro {
  padding-bottom: clamp(44px, 8vw, 88px);
  padding-top: clamp(48px, 8vw, 92px);
}

.page-intro {
  background:
    linear-gradient(135deg, rgba(18, 68, 82, 0.98), rgba(24, 32, 38, 0.96));
  color: #ffffff;
  max-width: none;
  overflow: hidden;
  position: relative;
}

.page-intro::after {
  background: rgba(242, 184, 75, 0.22);
  bottom: 0;
  content: "";
  height: 6px;
  left: clamp(18px, 5vw, 72px);
  position: absolute;
  right: clamp(18px, 5vw, 72px);
}

.lead-intro {
  max-width: 820px;
}

.product-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.products-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.lead-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  padding-bottom: 72px;
}

.closing-cta {
  align-items: center;
  background: var(--sea-deep);
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: clamp(30px, 5vw, 52px);
  padding-top: clamp(30px, 5vw, 52px);
}

@media (max-width: 980px) {
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    position: static;
  }

  .brand img {
    height: 54px;
  }

  .header-actions,
  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .site-nav a {
    text-align: center;
    width: calc(50% - 5px);
  }

  .account-link {
    text-align: center;
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .brand-intro,
  .brand-intro img {
    animation-duration: 0.01ms;
  }
}

@keyframes introFade {
  0%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes introLogo {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }

  18%,
  78% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-38vh) scale(0.24);
  }
}
