html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  color: #121111;
  background: #fffaf5;
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 74px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  box-shadow: 0 14px 6px -8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.5),
    inset 0 10px 10px -3.75px rgba(255, 255, 255, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: #ff2f00;
  border: 1px solid #ff2f01;
  box-shadow: 0 14px 6px -8px rgba(255, 47, 0, 0.2);
}

.btn--outline {
  background: transparent;
  color: #ff2f00;
  border: 1px solid #ff2f00;
  box-shadow: none;
}

.btn--outline::after {
  display: none;
}

.btn--outline:hover {
  background: rgba(255, 47, 0, 0.06);
  filter: none;
}

.btn--outline-neutral {
  background: transparent;
  color: #1a1615;
  border: 1px solid rgba(117, 115, 114, 0.45);
  box-shadow: none;
  font-weight: 400;
}

.btn--outline-neutral::after {
  display: none;
}

.btn--outline-neutral:hover {
  background: rgba(26, 22, 21, 0.04);
  filter: none;
  transform: none;
}

.btn--dark {
  background: #121111;
}

.pricing-hero .btn--dark {
  width: 100%;
}

.btn--sm {
  font-size: 16px;
  padding: 10px 20px;
  min-height: 42px;
  font-weight: 500;
}

.nav .btn--outline-neutral.btn--sm {
  font-weight: 400;
  letter-spacing: 0;
  border: 1px solid #ff2f00;
  line-height: 100%;
  color: #ff2f00;
}

.btn--lg {
  font-size: 24px;
  padding: 8px 24px;
  min-height: 50px;
  letter-spacing: -0.04em;
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 46px clamp(24px, 5vw, 80px) 0;
  pointer-events: none;
  transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled {
  padding: 12px 20px 0;
}

.nav {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  width: 100%;
  max-width: 1440px;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
  transition:
    width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    column-gap 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 1072px;
}

.site-header.is-scrolled .nav {
  width: min(834px, 100%);
  max-width: 834px;
  min-height: 59px;
  padding: 8px 20px;
  column-gap: 12px;
  border-radius: 40px;
  background: rgba(255, 250, 245, 0.62);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav__top {
  display: contents;
}

.nav-backdrop {
  display: none;
}

.nav__logo {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__menu {
  display: contents;
}

.nav__links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

.nav__actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

.site-header.is-scrolled .nav__links a {
  padding: 8px 10px;
  font-size: 15px;
}

.site-header.is-scrolled .nav__actions {
  gap: 8px;
}

.site-header.is-scrolled .nav__actions .btn--sm {
  padding: 8px 14px;
  font-size: 15px;
  min-height: 40px;
}

.nav__actions .btn {
  width: auto;
  flex-shrink: 0;
}

.nav__logo-icon {
    width: 100%;
  /*width: 32px;*/
  /*height: 32px;*/
}

.nav__logo--brand-image .nav__logo-icon {
  width: auto;
  height: 32px;
  /*max-width: 55px;*/
  object-fit: contain;
  object-position: left center;
}

.nav__logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #1a1615;
  letter-spacing: -0.02em;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
  z-index: 2;
}

.nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #121111;
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.nav__links a {
  display: block;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #1a1615;
  border-radius: 100px;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav__links a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scoped: pricing-hero */
.pricing-hero {
  position: relative;
  padding: 180px 0 140px;
  min-height: 100vh;
  background-color: #fffaf5;
  isolation: isolate;
}

.pricing-hero .container {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

.pricing-hero .pricing-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Figma: BG Image mask-group — illustration clipped with radial SVG mask */
.pricing-hero .pricing-hero__bg-mask-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(420px, 52vw, 720px);
  z-index: 1;
}

.pricing-hero .pricing-hero__bg-masked {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image:
    url("../img/bg-mask.svg"),
    linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image:
    url("../img/bg-mask.svg"),
    linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  -webkit-mask-size:
    100% clamp(320px, 39.3vw, 566px),
    100% 100%;
  mask-size:
    100% clamp(320px, 39.3vw, 566px),
    100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position:
    center top,
    center top;
  mask-position:
    center top,
    center top;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.pricing-hero .pricing-hero__bg-image {
  position: absolute;
  left: 0;
  top: -29.51%;
  width: 100%;
  height: 159%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: multiply;
}

/* Figma: static grid SVG centered behind content */
.pricing-hero .pricing-hero__grid-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(2160px, 150vw);
  height: min(1400px, 97vw);
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 88%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 88%
  );
}

.pricing-hero .pricing-hero__grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Figma: radial gradient wash over grid */
.pricing-hero .pricing-hero__radial {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    ellipse 86.67% 122% at 50% 52%,
    rgba(255, 255, 255, 0) 41.4%,
    rgba(255, 255, 255, 0.45) 100%
  );
}

.pricing-hero .pricing-hero__noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image: url("../img/bg-noise.png");
  background-size: 128px 128px;
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Figma: fade-out to page background at bottom */
.pricing-hero .pricing-hero__fade {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(
    to bottom,
    rgba(255, 250, 245, 0) 42.856%,
    #fffaf5 100%
  );
}

.pricing-hero .pricing-hero__content {
  position: relative;
  z-index: 10;
}

.pricing-hero .pricing-hero__title {
  color: #121111;
  text-align: center;
  font-family: Figtree;
  font-size: 88px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -3.52px;
  margin: 0;
}

.pricing-hero .pricing-hero__title-line {
  display: block;
}

.pricing-hero .pricing-hero__title-accent {
  display: block;
  color: #ff4222;
}

/* Billing toggle */
.pricing-hero .billing-toggle {
  display: inline-flex;
  padding: 4px;
  background: #edebee;
  border-radius: 16px;
  margin: 52px auto 32px;
  gap: 8px;
}

.pricing-hero .pricing-hero__content .billing-toggle {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-hero .billing-toggle__option {
  min-width: 100px;
  padding: 4px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(18, 17, 17, 0.6);
  line-height: 162%;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.pricing-hero .billing-toggle__option.is-active {
  background: #fff;
  color: #121111;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

/* Pricing cards */
.pricing-hero .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-hero .plan-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: stretch;
}

.pricing-hero .plan-card--featured {
  padding: 8px;
  overflow: hidden;
}

.pricing-hero .plan-card__glow {
  position: absolute;
  top: -30px;
  right: -60px;
  width: 181px;
  height: 181px;
  filter: blur(17.5px);
  pointer-events: none;
  opacity: 0.8;
}

.pricing-hero .plan-card__glow img {
  width: 100%;
  height: 100%;
}

.pricing-hero .plan-card__header--featured {
  background: linear-gradient(76deg, #ff2f00 0%, #ff3e13 57%, #ff2f00 95%);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.pricing-hero .plan-card__featured-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-hero .plan-card__name {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.pricing-hero .plan-card__header--featured .plan-card__name {
  color: #fff;
}

.pricing-hero .plan-card__badge {
  background: #121111;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: capitalize;
}

.pricing-hero .plan-card__tagline {
  margin: 8px 0 0;
  font-size: 16px;
}

.pricing-hero .plan-card__tagline--light {
  color: #fff;
}

.pricing-hero .plan-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-hero .plan-card__price-wrap--featured {
  padding-inline: 16px;
  margin-top: -12px;
}

.pricing-hero .plan-card__features--featured {
  padding: 0 16px 16px;
}

.pricing-hero .plan-card__price {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.pricing-hero .plan-card__amount {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pricing-hero .plan-card__period {
  font-size: 14px;
  opacity: 0.7;
  padding-bottom: 6px;
}

.pricing-hero .plan-card__features-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
}

.pricing-hero .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-hero .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.625;
}

.pricing-hero .feature-list img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Scoped: cta-section */
.cta-section {
  padding: 0 8px 8px;
  margin-top: -20px;
}

.cta-section .cta-section__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  border-radius: 30px;
  overflow: hidden;
  min-height: 587px;
}

.cta-section .cta-section__meteor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cta-section .cta-section__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.85;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 15% 28%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(
      1.5px 1.5px at 22% 8%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 31% 35%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 38% 18%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 45% 42%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 52% 14%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(
      1.5px 1.5px at 58% 52%,
      rgba(255, 255, 255, 0.5),
      transparent
    ),
    radial-gradient(1px 1px at 64% 26%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 71% 44%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 78% 10%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 84% 32%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 91% 48%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 12% 55%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 26% 62%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 41% 68%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 55% 58%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 68% 72%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 82% 64%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 94% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 6% 78%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 33% 88%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 49% 6%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 73% 38%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 255, 255, 0.35), transparent);
  animation: cta-stars-twinkle 6s ease-in-out infinite alternate;
}

.cta-section .cta-section__stars::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    radial-gradient(1px 1px at 18% 46%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 36% 24%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 61% 48%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 77% 56%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 92% 36%, rgba(255, 255, 255, 0.55), transparent);
  animation: cta-stars-twinkle 8s ease-in-out 1.5s infinite alternate-reverse;
}

@keyframes cta-stars-twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

/* Shooting stars / meteors — transform-based for Safari; wave schedule on 28s loop */
.cta-section .cta-section__shooting-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    transparent 100%
  );
}

.cta-section .cta-section__shooting-star {
  position: absolute;
  width: var(--meteor-len, 88px);
  height: 2px;
  border-radius: 2px;
  transform-origin: right center;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 25%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
  opacity: 0;
  animation: cta-meteor-drag 28s linear infinite;
  animation-delay: var(--meteor-delay, 0s);
  animation-fill-mode: backwards;
  will-change: transform, opacity;
}

.cta-section .cta-section__shooting-star::after {
  content: "";
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.65);
}

@keyframes cta-meteor-drag {
  0%,
  8%,
  100% {
    transform: rotate(var(--meteor-angle, 22deg)) translate3d(-18vw, -6vh, 0)
      scaleX(0.05);
    opacity: 0;
  }
  0.6% {
    opacity: var(--meteor-head, 0.65);
  }
  2% {
    transform: rotate(var(--meteor-angle, 22deg)) translate3d(-18vw, -6vh, 0)
      scaleX(1);
    opacity: var(--meteor-head, 0.65);
  }
  6.5% {
    transform: rotate(var(--meteor-angle, 22deg)) translate3d(44vw, 22vh, 0)
      scaleX(1);
    opacity: calc(var(--meteor-head, 0.65) * 0.55);
  }
  7.5% {
    opacity: 0;
  }
}

/* Wave schedule (28s loop): 4 @ 0s | 1 @ 7s | 4 @ 14s | 1 @ 21s | 4 @ 24.5s */
.cta-section .cta-section__shooting-star:nth-child(1) {
  --meteor-len: 78px;
  --meteor-angle: 21deg;
  --meteor-delay: 0s;
  --meteor-head: 0.52;
  --meteor-sx: -18vw;
  --meteor-sy: -4vh;
  --meteor-ex: 48vw;
  --meteor-ey: 22vh;
  top: 0;
  left: -6%;
}

.cta-section .cta-section__shooting-star:nth-child(2) {
  --meteor-len: 102px;
  --meteor-angle: 24deg;
  --meteor-delay: 0.06s;
  --meteor-head: 0.62;
  --meteor-sx: -22vw;
  --meteor-sy: -8vh;
  --meteor-ex: 54vw;
  --meteor-ey: 28vh;
  top: 3%;
  left: -12%;
}

.cta-section .cta-section__shooting-star:nth-child(3) {
  --meteor-len: 58px;
  --meteor-angle: 19deg;
  --meteor-delay: 0.12s;
  --meteor-head: 0.4;
  --meteor-sx: -10vw;
  --meteor-sy: -2vh;
  --meteor-ex: 42vw;
  --meteor-ey: 18vh;
  top: 8%;
  left: 0;
}

.cta-section .cta-section__shooting-star:nth-child(4) {
  --meteor-len: 118px;
  --meteor-angle: 23deg;
  --meteor-delay: 0.18s;
  --meteor-head: 0.68;
  --meteor-sx: -26vw;
  --meteor-sy: -10vh;
  --meteor-ex: 56vw;
  --meteor-ey: 30vh;
  top: 1%;
  left: -18%;
}

.cta-section .cta-section__shooting-star:nth-child(5) {
  --meteor-len: 88px;
  --meteor-angle: 25deg;
  --meteor-delay: 7s;
  --meteor-head: 0.58;
  --meteor-sx: -16vw;
  --meteor-sy: -6vh;
  --meteor-ex: 50vw;
  --meteor-ey: 25vh;
  top: 9%;
  left: -10%;
}

.cta-section .cta-section__shooting-star:nth-child(6) {
  --meteor-len: 86px;
  --meteor-angle: 20deg;
  --meteor-delay: 14s;
  --meteor-head: 0.5;
  --meteor-sx: -20vw;
  --meteor-sy: -7vh;
  --meteor-ex: 50vw;
  --meteor-ey: 25vh;
  top: 2%;
  left: -14%;
}

.cta-section .cta-section__shooting-star:nth-child(7) {
  --meteor-len: 52px;
  --meteor-angle: 25deg;
  --meteor-delay: 14.06s;
  --meteor-head: 0.36;
  --meteor-sx: -8vw;
  --meteor-sy: -3vh;
  --meteor-ex: 38vw;
  --meteor-ey: 20vh;
  top: 11%;
  left: 2%;
}

.cta-section .cta-section__shooting-star:nth-child(8) {
  --meteor-len: 108px;
  --meteor-angle: 22deg;
  --meteor-delay: 14.12s;
  --meteor-head: 0.58;
  --meteor-sx: -24vw;
  --meteor-sy: -9vh;
  --meteor-ex: 52vw;
  --meteor-ey: 27vh;
  top: 5%;
  left: -20%;
}

.cta-section .cta-section__shooting-star:nth-child(9) {
  --meteor-len: 64px;
  --meteor-angle: 18deg;
  --meteor-delay: 14.18s;
  --meteor-head: 0.42;
  --meteor-sx: -16vw;
  --meteor-sy: -4vh;
  --meteor-ex: 44vw;
  --meteor-ey: 21vh;
  top: 14%;
  left: -6%;
}

.cta-section .cta-section__shooting-star:nth-child(10) {
  --meteor-len: 96px;
  --meteor-angle: 27deg;
  --meteor-delay: 21s;
  --meteor-head: 0.54;
  --meteor-sx: -14vw;
  --meteor-sy: -5vh;
  --meteor-ex: 47vw;
  --meteor-ey: 24vh;
  top: 7%;
  left: -8%;
}

.cta-section .cta-section__shooting-star:nth-child(11) {
  --meteor-len: 94px;
  --meteor-angle: 21.5deg;
  --meteor-delay: 24.5s;
  --meteor-head: 0.54;
  --meteor-sx: -21vw;
  --meteor-sy: -8vh;
  --meteor-ex: 49vw;
  --meteor-ey: 26vh;
  top: 0;
  left: -16%;
}

.cta-section .cta-section__shooting-star:nth-child(12) {
  --meteor-len: 62px;
  --meteor-angle: 23.5deg;
  --meteor-delay: 24.56s;
  --meteor-head: 0.38;
  --meteor-sx: -9vw;
  --meteor-sy: -2vh;
  --meteor-ex: 40vw;
  --meteor-ey: 19vh;
  top: 12%;
  left: -4%;
}

.cta-section .cta-section__shooting-star:nth-child(13) {
  --meteor-len: 76px;
  --meteor-angle: 22deg;
  --meteor-delay: 24.62s;
  --meteor-head: 0.48;
  --meteor-sx: -18vw;
  --meteor-sy: -6vh;
  --meteor-ex: 46vw;
  --meteor-ey: 23vh;
  top: 6%;
  left: -11%;
}

.cta-section .cta-section__shooting-star:nth-child(14) {
  --meteor-len: 110px;
  --meteor-angle: 24deg;
  --meteor-delay: 24.68s;
  --meteor-head: 0.6;
  --meteor-sx: -23vw;
  --meteor-sy: -9vh;
  --meteor-ex: 53vw;
  --meteor-ey: 28vh;
  top: 3%;
  left: -19%;
}

.cta-section .cta-section__shooting-star:nth-child(3)::after,
.cta-section .cta-section__shooting-star:nth-child(7)::after,
.cta-section .cta-section__shooting-star:nth-child(9)::after,
.cta-section .cta-section__shooting-star:nth-child(12)::after,
.cta-section .cta-section__shooting-star:nth-child(14)::after {
  opacity: 0.28;
}

@media (prefers-reduced-motion: reduce) {
  .cta-section .cta-section__shooting-star {
    animation: none;
    opacity: 0;
  }

  .cta-section .cta-section__stars,
  .cta-section .cta-section__stars::after {
    animation: none;
  }
}

.cta-section .cta-section__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(64px, 12vw, 100px) 24px clamp(48px, 8vw, 72px);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.cta-section .cta-section__title {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.cta-section .cta-section__cta.btn--primary {
  box-shadow:
    0 0 24px rgba(255, 47, 0, 0.45),
    0 14px 6px -8px rgba(255, 47, 0, 0.25);
}

.cta-section .cta-section__cta.btn--primary:hover {
  box-shadow:
    0 0 32px rgba(255, 47, 0, 0.55),
    0 14px 6px -8px rgba(255, 47, 0, 0.3);
}

/* Footer inside CTA */
.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding: 28px 0 clamp(28px, 4vw, 40px);
  border-top: 1px dashed #333;
  min-height: 178px;
  max-width: 1320px;
  width: 100%;
  margin: auto auto 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-left: clamp(8px, 2vw, 24px);
}

.site-footer__nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  opacity: 0.95;
  transition: opacity 0.15s;
}

.site-footer__nav a:hover {
  opacity: 1;
}

.site-footer__contact {
  border-left: 1px dashed #333;
  padding-left: clamp(24px, 4vw, 40px);
  padding-right: 24px;
  min-width: 0;
  max-width: 384px;
  margin-left: auto;
}

.site-footer__label {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.subscribe-form {
  display: flex;
  position: relative;
  height: 47px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 130px 0 16px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.subscribe-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(255, 66, 34, 0.5);
}

.subscribe-form__submit {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 122px;
  background: #292929;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.15s;
}

.subscribe-form__submit:hover {
  background: #3a3a3a;
}

.subscribe-form.is-invalid input {
  box-shadow: inset 0 0 0 2px #ff4222;
}

.subscribe-form__message {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  min-height: 1.25em;
}

.subscribe-form__message.is-success {
  color: #7dffa8;
}

.subscribe-form__message.is-error {
  color: #ff8a70;
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: rgba(18, 17, 17, 0.6);
}

.modal__title {
  margin: 0 0 12px;
  font-size: 22px;
}

.modal__body {
  margin: 0 0 24px;
  color: rgba(18, 17, 17, 0.6);
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-hero .pricing-hero__title {
    font-size: 72px;
    letter-spacing: -2.88px;
  }

  .pricing-hero .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .pricing-hero .plan-card--featured {
    order: -1;
  }
}

@media (max-width: 900px) {
  .pricing-hero .pricing-hero__title {
    font-size: 64px;
    letter-spacing: -2.56px;
  }

  .site-footer {
    /* grid-template-columns: 1fr; */
    gap: 0;
    padding-inline: 24px;
  }

  .site-footer__nav {
    padding-left: 0;
    padding-bottom: 24px;
  }

  .site-footer__contact {
    border-left: none;
    padding-left: 0;
    /* border-top: 1px dashed #333;
    padding-top: 24px; */
  }

  .cta-section .cta-section__content {
    padding-bottom: 32px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  body {
    overflow-x: clip;
  }

  .site-header {
    padding: 12px 16px 0;
    transition: none;
    transform: translateZ(0);
  }

  .site-header.is-scrolled {
    padding: 12px 16px 0;
  }

  .nav {
    transition: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }

  .site-header.is-scrolled .nav {
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-menu-open {
    z-index: 110;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(255, 250, 245, 0.35);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  /* .site-header.is-menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  } */

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: none;
    column-gap: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__top {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  .nav__top::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }

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

  .nav__menu {
    display: none;
    position: relative;
    z-index: 1;
    isolation: isolate;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 36px 24px 28px;
    background: transparent;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
      rgba(26, 22, 21, 0.08) 0px 0.602187px 0.602187px -0.833333px,
      rgba(26, 22, 21, 0.08) 0px 2.28853px 2.28853px -1.66667px,
      rgba(26, 22, 21, 0.08) 0px 10px 10px -2.5px;
  }

  .nav__menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }

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

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

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  .nav__links {
    grid-column: unset;
    grid-row: unset;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .nav__links a {
    padding: 4px 8px;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
  }

  .nav__links a:hover {
    background: transparent;
  }

  .nav__actions {
    grid-column: unset;
    grid-row: unset;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 12px;
    justify-self: stretch;
  }

  .nav__actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .site-header.is-scrolled .nav__links a,
  .site-header.is-scrolled .nav__actions .btn--sm {
    font-size: 16px;
    padding: 8px 14px;
  }

  .site-header.is-scrolled .nav__links a {
    font-size: 18px;
    padding: 4px 8px;
  }

  .pricing-hero {
    padding-top: 120px;
  }

  .pricing-hero .pricing-hero__title {
    font-size: clamp(44px, 10vw, 56px);
    letter-spacing: -2.24px;
    line-height: 1.05;
  }
}

@media (max-width: 480px) {
  .pricing-hero .pricing-hero__title {
    font-size: 36px;
    letter-spacing: -1.44px;
    line-height: 1.08;
    padding-inline: 4px;
  }

  .subscribe-form {
    flex-direction: column;
    height: auto;
    padding: 4px;
    gap: 4px;
  }

  .subscribe-form input {
    padding: 12px 16px;
    width: 100%;
  }

  .subscribe-form__submit {
    position: static;
    width: 100%;
    height: 44px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer__contact {
    margin-left: 0;
    padding-right: 0;
    margin-top: 24px;
  }
}
