/* ===== HERO ===== */
.section--hero {
  padding: 22px 0 26px;
  background: transparent;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 33px;
  margin-bottom: 71px;
}

.hero__logo {
  width: 187px;
  height: auto;
}

.hero__brand-mark {
  position: relative;
  width: 52px;
  height: 30px;
  display: flex;
}

.hero__brand-mark span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent) 0%, #d71866 100%);
}

.hero__brand-mark span:first-child {
  border-radius: 18px 0 0 18px;
}

.hero__brand-mark span:last-child {
  border-radius: 0 18px 18px 0;
}

.hero__brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #050b12;
  transform: translate(-50%, -50%);
}

.hero__brand-text {
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero__brand-text strong {
  display: block;
  font-size: 37px;
  font-weight: 900;
}

.hero__brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #e8eaf1;
}

.hero__content {
  text-align: center;
}

.hero__title {
  margin: 0;
  text-wrap: balance;
  color: #f3f3f3;
}

.hero__subtitle {
  margin: 9px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.47px;
  color: #ffffff99;
}

.hero__visual {
  --hero-visual-offset-y: -12%;
  transform: translate3d(0, var(--hero-visual-offset-y), 0);
  margin: 0 calc(var(--pad) * -1);
  width: calc(100% + (var(--pad) * 2));
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(-108px, -24vw, -82px);
  padding: 2px 0 0 0;
}

.hero__footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 39px;
  background: url("/assets/img/hero-footer-arr.svg") center / contain no-repeat;
  opacity: 1;
}

.hero__note {
  margin: 0;
  max-width: none;
  position: relative;
  display: block;
  text-indent: 77px;
  overflow-wrap: normal;
  word-break: normal;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 15.42px;
  line-height: 16.94px;
  letter-spacing: -0.28px;
  color: #f0f2f6;
}

.hero__note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 27px;
  background: url("/assets/img/hero-footer-star.svg") center / contain no-repeat;
  transform: translateY(-6px);
}

.hero__copy {
  margin: 22px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.2px;
  color: #f3f4fa;
}

/* ===== SERVICES ===== */
.section--services {
  padding: 65px 0 24px;
}

.services__list {
  display: grid;
  gap: 15px;
}

.card {
  border-radius: 12px;
}

.card__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 29.48px;
  line-height: 31.56px;
  letter-spacing: -0.88px;
}

.card__lead {
  margin: 12px 0 36px;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 12.28px;
  line-height: 14.03px;
  letter-spacing: -0.18px;
  color: #ffffff99;
}

.card__list {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 11px;
  line-height: 1.28;
}

.card__list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.18px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 11px;
  height: 11px;
  background: url("/assets/img/check.svg") center / contain no-repeat;
}

.card--service {
  padding: 20px 15px 19px;
  color: #fff;
  background: linear-gradient(123.41deg, #f1769c 7.18%, #d54673 94.97%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== FORMATS ===== */
.section--formats {
  padding: 68px 0 90px;
}

.formats__title {
  margin: 0 0 40px;
}

.formats__grid {
  display: grid;
  gap: 15px;
}

.formats__price-btn {
  justify-self: center;
  margin: 18px 0 0;
  max-width: 203px;
  width: 100%;
  padding: 6px 7px 6px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-family: "Inter", var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #d3406d;
  background: #f5f5f6;
  box-shadow: 0 0 29.3px 0 #f51467a6;
}

.formats__price-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.formats__price-icon {
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f51467;
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.formats__price-icon img,
.btn__icon img {
  width: 25px;
  height: 25px;
}

.card--format {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 20px 15px;
  background:
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.03) 44%,
      rgba(27, 33, 40, 0.38) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.09),
    0 18px 40px rgba(0, 0, 0, 0.24);
  color: #fff;
}

.card--format > * {
  position: relative;
  z-index: 1;
}

.card--format .card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 29.48px;
  line-height: 31.56px;
  letter-spacing: -0.88px;
}

.card--format .card__lead {
  color: #ffffff99;
  padding: 0 40px 0 0;
}

.card--format .card__list {
  font-size: 11px;
  color: #f4f4fb;
}

.card--format-accent {
  background: linear-gradient(180deg, #f4f0f4 0%, #e9e6eb 100%);
  color: var(--ink-dark);
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card--format-accent::before {
  content: none;
}

.card--format-accent::after {
  content: none;
}

.card--format-accent .card__title {
  color: var(--accent);
}

.card--format-accent .card__lead,
.card--format-accent .card__list {
  color: #2f2a36;
}

.card--format-accent .card__list li::before {
  background: url("/assets/img/check-white.svg") center / contain no-repeat;
}

/* ===== CTA ===== */
.section--cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 45px 0;
  background: linear-gradient(180deg, #cd2459 0%, #ef5d8a 100%);
}

.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/img/background.png") center 80%/ 120% no-repeat;
  opacity: 0.09;
  mix-blend-mode: normal;
}

.section--cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.25;
  mix-blend-mode: soft-light;
}

.cta__panel {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.cta__title {
  margin: 0;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(29px, calc(29px + (39 - 29) * ((100vw - 320px) / (430 - 320))), 39px);
}

.cta__actions {
  margin-top: 36px;
  display: grid;
  gap: 15px;
  justify-items: center;
}

.btn {
  width: 100%;
  max-width: 203px;
  min-height: 62px;
  padding: 6px 7px 6px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-family: "Inter", var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #d3406d;
  background: #f5f5f6;
  box-shadow: 0 0 29.3px 0 #f51467a6;
  transition: filter 180ms ease;
}

.btn:hover {
  filter: none;
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.btn__icon {
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f51467;
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.btn--primary {
  color: #d3406d;
  background: #f5f5f6;
  border: 0;
}

.btn--primary > span:first-child {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}

.btn--primary .btn__icon {
  color: #fff;
  background: #f51467;
}

.btn--ghost {
  color: #d3406d;
  border: 0;
  background: #f5f5f6;
  backdrop-filter: none;
}

.btn--ghost .btn__icon {
  color: #fff;
  background: #f51467;
}

@media (max-width: 767px) {
  .hero__visual {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
  }
}

/* ===== MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
  .js-load-in {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
      opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--load-delay, 0ms);
    will-change: opacity, transform;
  }

  .is-ready .js-load-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .hero__visual.js-load-in {
    transform: translate3d(0, calc(var(--hero-visual-offset-y) + 16px), 0);
  }

  .is-ready .hero__visual.js-load-in {
    transform: translate3d(0, var(--hero-visual-offset-y), 0);
  }

  .js-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .js-reveal.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .is-ready .hero__visual img {
    animation: hero-visual-float 5.6s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual img {
    animation: none !important;
  }
}

@keyframes hero-visual-float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 360px) {
  .hero__brand-text strong {
    font-size: 33px;
  }

  .card__title {
    font-size: 18px;
  }
}
