:root {
  --bg: #f3fbff;
  --bg-soft: #e4f5ff;
  --surface: #ffffff;
  --surface-strong: #10243a;
  --text: #122033;
  --muted: #587089;
  --line: rgba(25, 92, 140, 0.12);
  --primary: #41b8ff;
  --primary-dark: #1f97df;
  --accent: #8de0ff;
  --accent-soft: #e4f6ff;
  --shadow: 0 18px 45px rgba(39, 115, 173, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(141, 224, 255, 0.35), transparent 28%),
    linear-gradient(180deg, #fafdff 0%, var(--bg) 42%, #eef8ff 100%);
  color: var(--text);
}

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

button,
a {
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.top-alert {
  padding: 0.9rem 1rem;
  background: #10243a;
  color: #eef8ff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 251, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 84px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo {
  width: auto;
  height: 52px;
  max-width: 180px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.city-cloud a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: var(--space-7) 0 var(--space-6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: var(--space-6);
  align-items: center;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.hero-text,
.section-heading p,
.product-meta,
.review-card p,
.feature-card p,
.footer-contact,
.copyright {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin-bottom: var(--space-4);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0;
  margin: var(--space-4) 0 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-card,
.product-card,
.logo-card,
.review-card,
.feature-card,
.age-gate__card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(119, 54, 38, 0.1);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.hero-card--large {
  inset: 0 5% 10% 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(198, 238, 255, 0.9), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.hero-card--small {
  right: 0;
  bottom: 0;
  width: 38%;
  min-height: 210px;
  background: linear-gradient(180deg, #ffffff, #ddf3ff);
}

.hero-badge {
  position: absolute;
  top: 3%;
  right: 2%;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: var(--surface-strong);
  color: #f4fbff;
  box-shadow: 0 20px 35px rgba(35, 24, 21, 0.25);
}

.hero-badge strong {
  font-size: 1.5rem;
}

.section {
  padding: var(--space-7) 0;
}

.section--soft {
  background: linear-gradient(180deg, transparent 0%, rgba(228, 245, 255, 0.8) 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: var(--space-5);
}

.section-heading p:last-child {
  margin-bottom: 0;
  line-height: 1.7;
}

.section-copy {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(119, 54, 38, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.section-copy:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(65, 184, 255, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn:hover,
.btn:focus-visible,
.product-card:hover,
.logo-card:hover,
.review-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #79d4ff);
  color: #062033;
  box-shadow: 0 14px 30px rgba(65, 184, 255, 0.3);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn--secondary,
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.btn--block {
  width: 100%;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: var(--space-5);
}

.chip {
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-weight: 600;
}

.chip.is-active,
.chip:hover,
.chip:focus-visible {
  border-color: transparent;
  background: var(--surface-strong);
  color: #f5fbff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.logo-card,
.review-card,
.feature-card {
  border-radius: 24px;
  padding: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-card.is-hidden {
  display: none;
}

.product-meta {
  margin-bottom: auto;
  font-weight: 600;
}

.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1.5px dashed rgba(73, 148, 194, 0.35);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(211, 241, 255, 0.95), rgba(243, 251, 255, 0.98)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0.45) 16px,
      rgba(231, 247, 255, 0.8) 16px,
      rgba(231, 247, 255, 0.8) 32px
    );
  color: #4e8aac;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(211, 241, 255, 0.55), rgba(243, 251, 255, 0.9));
}

.hero-card--large .product-image {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  background: transparent;
}

.image-placeholder--logo {
  min-height: 120px;
}

.image-placeholder--avatar {
  min-height: 90px;
  max-width: 90px;
  border-radius: 50%;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.3rem;
}

.logo-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-image {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 110px;
  object-fit: contain;
  object-position: center;
  margin: 1rem auto 0;
}

.logo-card h3 {
  margin-top: var(--space-3);
  margin-bottom: 0.35rem;
}

.logo-card a,
.feature-card a {
  color: var(--primary);
  font-weight: 700;
}

.logo-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-weight: 800;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.review-avatar {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(211, 241, 255, 0.65), rgba(243, 251, 255, 0.95));
}

.review-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.review-card p {
  margin: 0;
  line-height: 1.55;
}

.review-card p:last-child {
  flex-grow: 1;
}

.stars {
  margin: 0;
  color: #ff9e2c;
  letter-spacing: 0.15em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 228px;
  padding: 1.9rem 1.65rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(70, 49, 24, 0.1);
  border: 1px solid rgba(119, 54, 38, 0.08);
}

.feature-icon {
  display: block;
  width: 100%;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  align-self: center;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.feature-card p {
  margin: 0 0 1.1rem;
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.65;
}

.feature-card a {
  color: #5b44ff;
  font-weight: 700;
  text-decoration: none;
}

.feature-card a:hover,
.feature-card a:focus-visible {
  text-decoration: underline;
}

.footer {
  padding: 2rem clamp(1rem, 3vw, 2rem) 2rem;
  background: transparent;
}

.footer-wrap {
  max-width: 1200px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 3rem;
  padding: 2.5rem 2.75rem 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.footer-logo {
  width: auto;
  height: 68px;
  max-width: min(100%, 240px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(65, 184, 255, 0.16));
}

.footer-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  max-width: 12ch;
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.footer-col:not(:first-child) {
  padding-top: 4.6rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  padding-block: 0.28rem;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-expand {
  border-top: 1px solid var(--line);
  padding: 1.5rem 2.75rem 2rem;
  text-align: center;
}

.footer-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}

.footer-toggle:hover {
  background: rgba(65, 184, 255, 0.08);
  color: var(--primary-dark);
}

.footer-toggle-arrow {
  font-size: 0.72rem;
  color: var(--muted);
  transition: transform 0.3s;
  display: inline-block;
}

.footer-toggle[aria-expanded="true"] .footer-toggle-arrow {
  transform: rotate(180deg);
}

.footer-cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.footer-cities[hidden] {
  display: none;
}

.footer-cities li a {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: #f6fbff;
  border: 1px solid var(--line);
  border-radius: 100px;
  white-space: nowrap;
}

.footer-cities li a:hover {
  background: rgba(65, 184, 255, 0.08);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 20, 34, 0.66);
  backdrop-filter: blur(10px);
}

.age-gate.is-visible,
.age-gate-pending .age-gate {
  display: grid;
}

.age-gate__card {
  width: min(100%, 460px);
  padding: 2rem;
  border-radius: 30px;
  text-align: center;
}

html.age-gate-pending body,
body.age-gate-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .product-grid,
  .product-grid--featured,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(247, 252, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .product-grid,
  .product-grid--featured,
  .logo-grid,
  .review-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-template-columns: 82px 1fr;
    min-height: 0;
    padding: 1.5rem 1.25rem;
  }

  .feature-icon {
    max-width: 72px;
    max-height: 72px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-col:not(:first-child) {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-badge {
    right: auto;
    left: 1rem;
  }

  .hero-card--large {
    inset: 0 0 18% 0;
  }

  .hero-card--small {
    width: 52%;
    min-height: 160px;
  }

  .product-grid,
  .product-grid--featured,
  .logo-grid,
  .review-grid,
  .feature-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .product-card {
    padding: 1.15rem 1rem 1.25rem;
  }

  .product-card .product-image {
    width: 100%;
    height: 250px;
    margin: 0;
    object-fit: contain;
    object-position: center;
    transform: scale(1.14);
    transform-origin: center;
  }

  .feature-icon {
    max-width: 64px;
    max-height: 64px;
  }

  .header-inner {
    min-height: 76px;
  }

  .header-brand {
    gap: 0.6rem;
  }

  .logo {
    height: 42px;
    max-width: 132px;
  }

  .brand {
    font-size: 1rem;
  }

  .review-avatar {
    height: 280px;
  }

  .btn,
  .chip {
    width: 100%;
  }

  .hero-actions,
  .age-gate__actions {
    flex-direction: column;
  }

  .hero-points {
    display: grid;
    gap: 0.8rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-main {
    padding: 2rem 1.5rem 1.5rem;
  }

  .footer-expand {
    padding: 1.25rem 1.5rem 1.5rem;
  }
}
