.band {
  --band-width: 1200px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding-inline: max(2rem, calc((100% - var(--band-width)) / 2));
}

.band::before,
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.band h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.band--how {
  background: linear-gradient(180deg, var(--rose) 0%, var(--white) 18%, var(--white) 100%);
}

.band--how::before {
  background: url(/img/bg/contours-rose.svg) left center / 900px auto no-repeat;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 15% 55%, #000 30%, transparent 75%);
}

.band--how::after {
  background:
    linear-gradient(rgba(176, 69, 62, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(176, 69, 62, 0.06) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 85%);
}

.band--features {
  background: linear-gradient(180deg, var(--white) 0%, var(--rose) 100%);
}

.band--features::before {
  background: url(/img/bg/meal.webp) right top / min(62vw, 900px) auto no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 85% 30%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 75% at 85% 30%, #000 25%, transparent 72%);
  opacity: 0.55;
}

.band--features .card {
  background: rgba(255, 250, 249, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: rgba(233, 214, 209, 0.8);
}

.band--power {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 80% 15%, rgba(224, 122, 115, 0.35), transparent 40%),
    radial-gradient(circle at 15% 90%, rgba(125, 157, 122, 0.25), transparent 40%),
    linear-gradient(180deg, #2A0E0C 0%, #40140F 50%, #5A1E18 100%);
}

.band--power::before {
  background: url(/img/bg/contours-light.svg) center / cover no-repeat;
  opacity: 0.09;
}

.band--power::after {
  background:
    linear-gradient(180deg, var(--rose) 0%, transparent 90px),
    linear-gradient(0deg, var(--white) 0%, transparent 90px);
}

.band--power h2,
.band--power h3,
.band--power h3 a {
  color: #fff;
}

.band--power .card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(10, 2, 1, 0.4);
  color: rgba(255, 255, 255, 0.78);
}

.band--power .card a {
  color: var(--accent);
}

.band--power .feature-card[data-icon]::before {
  background-color: rgba(255, 255, 255, 0.12);
  filter: brightness(0) invert(1);
}

.band--plans {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.band--plans::before {
  background: url(/img/bg/contours-rose.svg) right top / 1000px auto no-repeat;
  opacity: 0.13;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 90% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 65% at 90% 25%, #000 25%, transparent 75%);
}

.band--plans::after {
  background:
    linear-gradient(rgba(125, 157, 122, 0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(125, 157, 122, 0.08) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 10% 85%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 60% at 10% 85%, #000 20%, transparent 70%);
}

.band--faq {
  --band-width: 800px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.band--faq::before {
  background:
    url(/img/bg/contours-rose.svg) left bottom / 900px auto no-repeat,
    url(/img/bg/contours-rose.svg) right top / 800px auto no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
}

.band--faq::after {
  background: radial-gradient(ellipse 40% 50% at 50% 0%, rgba(245, 173, 165, 0.3), transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (min-width: 901px) and (min-height: 640px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: var(--header-height);
  }

  .home-hero {
    scroll-snap-align: start;
  }

  .band {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
  }

  .band > * {
    width: 100%;
  }

  footer {
    scroll-snap-align: end;
  }
}

@media (max-width: 768px) {
  .band {
    padding-inline: 1.25rem;
  }

  .band--features::before {
    background-size: 120vw auto;
    opacity: 0.35;
  }
}
