/* =============================================================================
   BASE / RESET
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-sans);
  font-size: var(--text-body-b3);
  line-height: var(--text-body-b3--line-height);
  color: var(--color-gray-500);
  background-color: var(--color-body);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  color: var(--color-black);
}

h1 {
  font-size: var(--text-heading-h1);
  line-height: var(--text-heading-h1--line-height);
}

h2 {
  font-size: var(--text-heading-h2);
  line-height: var(--text-heading-h2--line-height);
}

h3 {
  font-size: var(--text-heading-h3);
  line-height: var(--text-heading-h3--line-height);
}

h4 {
  font-size: var(--text-heading-h4);
  line-height: var(--text-heading-h4--line-height);
}

h5 {
  font-size: var(--text-heading-h5);
  line-height: var(--text-heading-h5--line-height);
}

h6 {
  font-size: var(--text-heading-h6);
  line-height: var(--text-heading-h6--line-height);
}

#root,
#__next {
  isolation: isolate;
}

/* =============================================================================
   DESIGN TOKENS
   ============================================================================= */

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary: #d70465;
  --color-secondary: #fcc550;
  --color-body: #ffffff;
  --color-green: #5bb02b;
  --color-brand-600: #b10355;
  --color-gray-50: #f9f9f9;
  --color-gray-200: #e6e6e6;
  --color-gray-300: #c1c1c1;
  --color-gray-500: #555555;
  --color-gray-600: #333333;
  --color-line: #f0f0f0;
  --color-ink-strong: #111111;
  --color-copy-soft: #666666;
  --color-copy-muted: #888888;

  --font-sans: "Inter", "Segoe UI", sans-serif;

  --text-body-b3: 1rem;
  --text-body-b3--line-height: 1.5rem;

  --text-heading-h1: 2.25rem;
  --text-heading-h1--line-height: 3rem;
  --text-heading-h2: 1.875rem;
  --text-heading-h2--line-height: 2.625rem;
  --text-heading-h3: 1.75rem;
  --text-heading-h3--line-height: 2.5rem;
  --text-heading-h4: 1.5rem;
  --text-heading-h4--line-height: 2.25rem;
  --text-heading-h5: 1.25rem;
  --text-heading-h5--line-height: 2rem;
  --text-heading-h6: 1.125rem;
  --text-heading-h6--line-height: 1.625rem;

  --container-gutter: 1rem;
  --container-page: 82.5rem;
  --container-header: 88.125rem;

  --section-space: 60px;
  --section-title-space: 40px;
}

@media (width >= 48rem) {
  :root {
    --container-gutter: 1.5rem;
  }
}

@media (width >= 64rem) {
  :root {
    --section-space: 100px;
    --section-title-space: 50px;
  }
}

/* =============================================================================
   CONTAINER UTILITIES
   ============================================================================= */

.container {
  width: min(calc(100% - 2 * var(--container-gutter)), var(--container-page));
  max-width: none;
  margin-inline: auto;
}

.container-header {
  width: min(calc(100% - 2 * var(--container-gutter)), var(--container-header));
  max-width: none;
  margin-inline: auto;
}

.container-wide {
  --container-wide-gutter: var(--container-gutter);
  width: min(calc(100% - 2 * var(--container-wide-gutter)), 1920px);
  max-width: none;
  margin-inline: auto;
}

.container-wide-105 {
  --container-wide-gutter: var(--container-gutter);
  width: min(calc(100% - 2 * var(--container-wide-gutter)), 1920px);
  max-width: none;
  margin-inline: auto;
}

@media (width >= 120rem) {
  .container-wide {
    --container-wide-gutter: 64px;
  }

  .container-wide-105 {
    --container-wide-gutter: 105px;
  }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 60px;
  font-family: inherit;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    opacity 0.15s ease, transform 0.15s ease;
}

/* --- Sizes (mobile-first) --- */
.btn--sm {
  padding: 0.5rem 1.125rem;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.btn--md {
  padding: 0.625rem 1.25rem;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.btn--lg {
  padding: 0.75rem 1.25rem;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (width >= 48rem) {
  .btn--sm {
    padding: 10px 30px;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
  }

  .btn--md {
    padding: 12px 32px;
    gap: 4px;
    font-size: 16px;
    line-height: 24px;
  }

  .btn--lg {
    padding: 16px 32px;
    gap: 6px;
    font-size: 18px;
    line-height: 26px;
  }
}

/* --- Color / style variants --- */
.btn--black {
  background: #000;
  backdrop-filter: blur(5px);
  color: #fff;
}

.btn--black:hover {
  background: var(--color-gray-600);
}

.btn--dark {
  background: #1e0033;
  color: #fff;
}

.btn--dark:hover {
  background: #2a0a45;
}

.btn--glass {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn--primary {
  border: 1px solid #d70465;
  background: #d70465;
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-brand-600);
  border-color: var(--color-brand-600);
}

.btn--brand {
  background: #d70465;
  color: #fff;
}

.btn--brand:hover {
  background: var(--color-brand-600);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn__icon--circle {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

/* ==== Icon reverse ==== */
.btn-icon-reverse:hover,
.btn-icon-reverse-left:hover {
  transform: translateY(-1px);
}

.btn-icon-reverse .icon_left,
.btn-icon-reverse .icon_right,
.btn-icon-reverse-left .icon_left,
.btn-icon-reverse-left .icon_right {
  transition: opacity .6s cubic-bezier(.68, -.55, .27, 1.55), margin .6s cubic-bezier(.68, -.55, .27, 1.55);
}

/* ==== Icon reverse right ==== */
.btn-icon-reverse .icon_right {
  margin-right: -24px;
  opacity: 0;
}

.btn-icon-reverse:hover .icon_left {
  margin-left: -24px;
  opacity: 0;
}

.btn-icon-reverse:hover .icon_right {
  margin-right: 0;
  opacity: 1;
}

/* ==== Icon reverse left ==== */
.btn-icon-reverse-left .icon_left {
  margin-left: -24px;
  opacity: 0;
}

.btn-icon-reverse-left:hover .icon_left {
  margin-left: 0;
  opacity: 1;
}

.btn-icon-reverse-left:hover .icon_right {
  margin-right: -24px;
  opacity: 0;
}

/* =============================================================================
   PROMO BAR
   ============================================================================= */

.promo-bar {
  position: relative;
  z-index: 110;
  background-color: #ffe600;
  color: var(--color-black);
}

.promo-bar[hidden] {
  display: none;
}

.promo-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem var(--container-gutter);
}

.promo-bar__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.promo-bar__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.5rem;
  animation: promo-bar-marquee 18s linear infinite;
}

.promo-bar__text {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #000;
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  white-space: nowrap;
}

.promo-bar__icon {
  flex-shrink: 0;
}

.promo-bar__copy {
  flex-shrink: 0;
}

.promo-bar__link {
  position: relative;
  flex-shrink: 0;
  color: #000;
  font-family: var(--font-sans);
  font-size: inherit;
  font-style: normal;
  font-weight: 800;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.promo-bar__link::before {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: right;
  transition: transform 0.3s ease;
}

.promo-bar__link::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.25rem);
  content: "→";
  opacity: 0;
  pointer-events: none;
  transform: translate(-0.35rem, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.promo-bar__link:hover {
  transform: translateY(-1px);
}

.promo-bar__link:hover::before {
  transform: scaleX(0);
  transform-origin: left;
}

.promo-bar__link:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.promo-bar__close {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
}

.promo-bar__close:hover {
  opacity: 0.7;
}

@keyframes promo-bar-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 1.25rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-bar__track {
    animation: none;
  }

  .promo-bar__text[aria-hidden="true"] {
    display: none;
  }
}

@media (width >= 48rem) {
  .promo-bar__inner {
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.5rem 2.5rem;
  }

  .promo-bar__viewport {
    flex: 0 1 auto;
    overflow: visible;
  }

  .promo-bar__track {
    width: auto;
    gap: 0;
    animation: none;
    justify-content: center;
  }

  .promo-bar__text {
    font-size: 12px;
    letter-spacing: 0.72px;
  }

  .promo-bar__text[aria-hidden="true"] {
    display: none;
  }

  .promo-bar__close {
    position: absolute;
    inset-inline-end: var(--container-gutter);
    top: 50%;
    translate: 0 -50%;
  }
}

/* =============================================================================
   HEADER (over hero)
   ============================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(199, 0, 91, 0.94);
  box-shadow: 0 10px 30px rgba(56, 0, 26, 0.12);
}

.site-header.is-nav-open {
  z-index: 120;
}

.main-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
  padding-block: 0.75rem;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  order: 1;
}

.logo img {
  width: auto;
  height: 1.75rem;
}

.btn-purchase {
  flex-shrink: 0;
  order: 2;
  margin-inline-start: auto;
  padding-inline: 1.25rem;
}

.btn-purchase__label {
  white-space: nowrap;
}

.nav-toggle {
  order: 3;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 50;
  width: 3.125rem;
  height: 3.125rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.18);
}

.menuicon {
  display: block;
  width: 3.125rem;
  height: 3.125rem;
  color: currentColor;
  transform: rotate(0deg);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menuicon__bar,
.menuicon__circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.menuicon__bar {
  transform: rotate(0deg);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.25s ease-in-out;
}

.menuicon__circle {
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 0.3s linear 0.1s;
}

.site-header.is-nav-open .menuicon {
  transform: rotate(180deg);
}

.site-header.is-nav-open .menuicon__circle {
  stroke-dashoffset: 0;
}

.site-header.is-nav-open .menuicon__bar:nth-child(1),
.site-header.is-nav-open .menuicon__bar:nth-child(4) {
  opacity: 0;
}

.site-header.is-nav-open .menuicon__bar:nth-child(2) {
  transform: rotate(45deg);
}

.site-header.is-nav-open .menuicon__bar:nth-child(3) {
  transform: rotate(-45deg);
}

.nav {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 5.5rem var(--container-gutter) 2rem;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.5s;
}

.site-header.is-nav-open .nav {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.25rem;
  min-height: calc(100% - 1rem);
  max-width: 28rem;
  list-style: none;
  padding: 0;
  margin: auto;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}

.site-header.is-nav-open .nav__list {
  visibility: visible;
  transition-delay: 0s;
}

.nav__list > li {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0, 0.995, 0.99, 1) 0.25s,
    transform 0.3s cubic-bezier(0, 0.995, 0.99, 1) 0.25s;
}

.nav__list > li:nth-child(1) {
  transform: translateY(-2.5rem);
}

.nav__list > li:nth-child(2) {
  transform: translateY(-5rem);
}

.nav__list > li:nth-child(3) {
  transform: translateY(-7.5rem);
}

.nav__list > li:nth-child(4) {
  transform: translateY(-10rem);
}

.nav__list > li:nth-child(5) {
  transform: translateY(-12.5rem);
}

.site-header.is-nav-open .nav__list > li {
  opacity: 1;
  transform: translateY(0);
}

.nav__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-radius: 0.5rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 6vw, 1.75rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__list a:hover {
  background: rgba(0, 0, 0, 0.16);
}

.nav__splash {
  position: absolute;
  z-index: 1;
  top: 2.5rem;
  right: 2.5rem;
  width: 1px;
  height: 1px;
}

.nav__splash::after {
  position: absolute;
  top: -142vmax;
  left: -142vmax;
  display: block;
  width: 284vmax;
  height: 284vmax;
  border-radius: 50%;
  background: #a9004e;
  content: "";
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
  will-change: transform;
}

.site-header.is-nav-open .nav__splash::after {
  transform: scale(1);
}

body.nav-open {
  overflow: hidden;
}

.nav__chevron {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.nav__item {
  position: relative;
}

.nav__dropdown {
  display: grid;
  gap: 0.25rem;
  max-height: 0;
  margin: 0;
  padding: 0 0.5rem;
  overflow: hidden;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    padding 0.25s ease,
    visibility 0s linear 0.3s;
}

.nav__item--dropdown.is-open .nav__dropdown {
  max-height: 16rem;
  padding: 0.35rem 0.5rem 0.75rem;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.nav__item--dropdown.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 4.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

.nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 9999px;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.demo-megamenu {
  display: none;
}

@media (width >= 48rem) {
  .main-nav__inner {
    gap: 1rem;
    min-height: 4.5rem;
    padding-block: 1rem;
  }

  .logo img {
    height: 2rem;
  }
}

@media (width >= 64rem) {
  .site-header {
    backdrop-filter: blur(14px);
  }

  .main-nav__inner {
    gap: 1.5rem;
    min-height: 88px;
    padding-block: 24px;
  }

  .logo img {
    height: 2.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .btn-purchase {
    order: 3;
    margin-inline-start: 0;
    padding-inline: 30px;
  }

  .nav {
    position: static;
    inset: auto;
    top: auto;
    display: flex;
    flex: 1;
    justify-content: center;
    min-width: 0;
    order: 2;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 0;
    max-width: none;
    height: auto;
    margin: 0;
    gap: 0.25rem 1.75rem;
    visibility: visible;
    transition: none;
  }

  .nav__list > li,
  .nav__list > li:nth-child(n) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav__list > li > a {
    position: relative;
    display: inline-flex;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    font-size: 15px;
    line-height: 1.46;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    gap: 8px;
    transform: none;
    transition: transform 0.25s ease;
  }

  .nav__list > li > a::after {
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav__list > li > a:hover,
  .nav__list > li > a:focus-visible {
    background: transparent;
    opacity: 1;
    transform: translateY(-2px);
  }

  .nav__list > li > a:hover::after,
  .nav__list > li > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__item--dropdown {
    padding-block: 1rem;
    margin-block: -1rem;
  }

  .nav__dropdown {
    display: none;
  }

  .demo-megamenu {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 40;
    display: grid;
    grid-template-rows: 0fr;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      grid-template-rows 0.3s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.3s;
  }

  .site-header.is-demo-menu-open .demo-megamenu {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-header.is-demo-menu-open .nav__chevron {
    transform: rotate(180deg);
  }

  .demo-megamenu__inner {
    position: relative;
    min-height: 0;
    max-height: calc(100dvh - 9rem);
    padding-block: 1.5rem;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .demo-megamenu__watermark {
    position: absolute;
    bottom: -3.5rem;
    left: 50%;
    color: transparent;
    font-family: var(--font-sans);
    font-size: clamp(9rem, 16vw, 17.5rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 4, 120, 0.15) 6.25%, rgba(255, 255, 255, 0) 87.5%);
    background-clip: text;
    transform: translateX(-50%);
    user-select: none;
    pointer-events: none;
  }

  .demo-megamenu__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .demo-megamenu__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0.375rem 0.3125rem 0.5rem;
    border: 2px solid #fff;
    border-radius: 0.3125rem;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4.666px 17.498px 2.916px rgba(0, 0, 0, 0.05);
    color: var(--color-black);
    text-decoration: none;
    backdrop-filter: blur(9px);
  }

  a.demo-megamenu__card {
    transition: color 0.2s ease, transform 0.2s ease;
  }

  a.demo-megamenu__card:hover,
  a.demo-megamenu__card:focus-visible {
    color: var(--color-primary);
    transform: translateY(-2px);
  }

  .demo-megamenu__dots {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding-block: 0.5rem;
  }

  .demo-megamenu__dots i {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #ff5f57;
  }

  .demo-megamenu__dots i:nth-child(2) {
    background: #ffbd2e;
  }

  .demo-megamenu__dots i:nth-child(3) {
    background: #28ca41;
  }

  .demo-megamenu__preview {
    position: relative;
    display: block;
    width: 100%;
  }

  .demo-megamenu__card img {
    display: block;
    width: 100%;
    max-height: 12.5rem;
    aspect-ratio: 233 / 242;
    border-radius: 0.25rem;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  a.demo-megamenu__card:hover img,
  a.demo-megamenu__card:focus-visible img {
    transform: scale(1.02);
  }

  .demo-megamenu__card--soon img {
    opacity: 0.75;
    filter: blur(4px);
  }

  .demo-megamenu__status {
    position: absolute;
    inset: 50% auto auto 50%;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -50%);
  }

  .demo-megamenu__title {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.27;
    text-align: center;
  }

  .demo-megamenu__all {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 1.875rem auto 0;
    color: #fff;
    text-decoration: none;
  }

  .demo-megamenu__all span,
  .demo-megamenu__all i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.625rem;
    background: var(--color-primary);
  }

  .demo-megamenu__all span {
    padding-inline: 1.5rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
  }

  .demo-megamenu__all i {
    width: 2.625rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    font-size: 0.9375rem;
  }

  .demo-megamenu__all:hover span,
  .demo-megamenu__all:hover i,
  .demo-megamenu__all:focus-visible span,
  .demo-megamenu__all:focus-visible i {
    background: var(--color-brand-500, #c7005b);
    color: #fff;
  }

  .nav__splash {
    display: none;
  }
}

@media (width >= 96rem) {
  .demo-megamenu__inner {
    max-height: none;
    padding-block: 2.5rem;
    overflow: visible;
  }

  .demo-megamenu__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 1.625rem;
  }

  .demo-megamenu__card img {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-bar__link,
  .promo-bar__link::before,
  .promo-bar__link::after,
  .footer__copyright a,
  .footer__copyright a::before,
  .nav__list > li > a,
  .nav__list > li > a::after,
  .nav__list > li,
  .nav__dropdown,
  .nav__dropdown a,
  .nav__chevron,
  .menuicon,
  .menuicon__bar,
  .menuicon__circle,
  .nav__splash::after {
    transition: none;
  }
}

/* =============================================================================
   HERO
   ============================================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  color: var(--color-white);
  background-color: var(--color-primary);
  background-image: url("assets/svgs/hero-pattern.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  margin-block-start: -4.05rem;
  padding: 7rem var(--container-gutter) 12rem;
}

/* --- Hero content --- */

.hero__watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: clamp(4.5rem, 28vw, 17.5rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 55rem;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.625rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(271deg, #e71374 -1.24%, #f32087 95.04%);
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

.hero__title {
  margin-top: 1rem;
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 8.5vw, 4.375rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

.hero__title-accent {
  position: relative;
  display: inline-block;
}

.hero__title-underline {
  position: absolute;
  left: 50%;
  bottom: 0.05em;
  width: 105%;
  max-width: none;
  height: auto;
  translate: -50% 55%;
  pointer-events: none;
}

.hero__lede {
  margin-top: 0.875rem;
  max-width: 28rem;
  color: #eee;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 20rem;
  margin-top: 1.75rem;
}

.hero__actions .btn {
  width: 100%;
}

/* --- Hero floating assets --- */

.hero__floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__float {
  position: absolute;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(95, 14, 48, 0.28));
  animation: hero-float 6s ease-in-out infinite;
}

/* Hide side floats on small screens; keep the main bottom visual */
.hero__float--1,
.hero__float--2,
.hero__float--3,
.hero__float--4,
.hero__float--5,
.hero__float--6 {
  display: none;
}

.hero__float--7 {
  left: 50%;
  bottom: -8%;
  z-index: 3;
  width: min(78vw, 18rem);
  height: auto;
  translate: -50% 0;
  animation-delay: -0.9s;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__float {
    animation: none;
  }
}

@media (width >= 40rem) {
  .hero {
    padding-bottom: 14rem;
  }

  .hero__badge {
    font-size: 0.875rem;
    padding: 0.5625rem 0.875rem 0.5625rem 0.75rem;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: none;
    width: auto;
  }

  .hero__actions .btn {
    width: auto;
  }

  .hero__float--7 {
    width: min(70vw, 20rem);
    bottom: -10%;
  }
}

@media (width >= 48rem) {
  .hero {
    min-height: min(44rem, 100vh);
    margin-block-start: -83px;
    padding: 8.5rem var(--container-gutter) 16rem;
  }

  .hero__watermark {
    top: 38%;
    font-size: clamp(8rem, 22vw, 14rem);
  }

  .hero__badge {
    gap: 0.625rem;
    padding: 10px 12px 10px 10px;
    font-size: 1rem;
    line-height: 1;
  }

  .hero__title {
    margin-top: 1.25rem;
    font-size: 2.75rem;
    letter-spacing: -0.04em;
  }

  .hero__lede {
    margin-top: 1.125rem;
    max-width: none;
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .hero__actions {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .hero__float--1,
  .hero__float--4 {
    display: block;
  }

  .hero__float--1 {
    top: 18%;
    left: 2%;
    width: 5.5rem;
    height: 5.5rem;
    animation-delay: 0s;
  }

  .hero__float--4 {
    top: 16%;
    right: 2%;
    width: 4.75rem;
    height: 4.75rem;
    animation-delay: -0.6s;
  }

  .hero__float--7 {
    width: min(58vw, 22rem);
    bottom: -12%;
  }
}

@media (width >= 64rem) {
  .hero {
    min-height: min(860px, 100vh);
    margin-block-start: -89px;
    padding: 150px var(--container-gutter) 220px;
  }

  .hero__watermark {
    top: 35%;
    font-size: 280px;
  }

  .hero__badge {
    font-size: 18px;
  }

  .hero__title {
    margin-top: 23px;
    font-size: 70px;
    line-height: 1.14;
    letter-spacing: -2.8px;
  }

  .hero__lede {
    margin-top: 20px;
    font-size: 20px;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 40px;
  }

  .hero__float--2,
  .hero__float--3,
  .hero__float--5,
  .hero__float--6 {
    display: block;
  }

  .hero__float--1 {
    top: 12%;
    left: 4%;
    width: 143px;
    height: 143px;
  }

  .hero__float--2 {
    bottom: 20%;
    left: 18%;
    width: 200px;
    height: 200px;
    animation-delay: -1.2s;
  }

  .hero__float--3 {
    bottom: 10%;
    left: 1%;
    width: 160px;
    height: 160px;
    animation-delay: -2.4s;
  }

  .hero__float--4 {
    top: 14%;
    right: 6%;
    width: 120px;
    height: 120px;
  }

  .hero__float--5 {
    top: 44%;
    right: 22%;
    width: 120px;
    height: 120px;
    animation-delay: -1.8s;
  }

  .hero__float--6 {
    bottom: 2%;
    right: -2%;
    width: 255px;
    height: 255px;
    animation-delay: -3s;
  }

  .hero__float--7 {
    bottom: -14%;
    width: 360px;
    height: 360px;
  }
}

@media (width >= 80rem) {
  .hero__float--1 {
    left: 4%;
  }

  .hero__float--2 {
    left: 18%;
  }

  .hero__float--6 {
    right: -2%;
  }
}

/* =============================================================================
   MARQUEE
   ============================================================================= */

.marquee {
  --marquee-bg: #4b1d8f;
  overflow: hidden;
  background-color: var(--marquee-bg);
  color: var(--color-white);
  padding-block: 24px;
}

.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 24px;
}

.marquee__item {
  color: #FFF;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
}

.marquee__star {
  color: var(--color-secondary);
  font-size: 14px;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* =============================================================================
   SECTION TITLE
   ============================================================================= */

.section-title {
  max-width: 695px;
  margin: 0 auto var(--section-title-space);
  text-align: center;
}

.section-title__eyebrow {
  margin-inline: auto;
  margin-block-end: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 40px;
  background: linear-gradient(90deg, rgba(226, 28, 112, 0.2) 0%, rgba(226, 28, 112, 0) 93.5%);
  color: #d70465;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.57;
  max-width: max-content;
}

.section-title__heading {
  margin-bottom: 0.75rem;
  color: var(--color-ink-strong);
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-title__heading span {
  color: var(--color-primary);
}

.section-title__heading small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-ink-strong);
  font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.28;
}

.section-title__subtitle {
  margin-bottom: 0.75rem;
  color: var(--color-ink-strong);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
}

.section-title__lede {
  color: var(--color-copy-soft);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
}

.section-title .btn {
  margin-top: 1.5rem;
}

@media (width >= 48rem) {
  .section-title__eyebrow {
    font-size: 14px;
  }

  .section-title__heading {
    margin-bottom: 0.75rem;
    font-size: 2rem;
  }

  .section-title__heading small {
    margin-top: 0.25rem;
    font-size: 1.5rem;
  }

  .section-title__subtitle {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }

  .section-title__lede {
    font-size: 1rem;
  }

  .section-title .btn {
    margin-top: 1.5rem;
  }
}

@media (width >= 64rem) {
  .section-title__heading {
    margin-bottom: 14px;
    font-size: 2.5rem;
  }

  .section-title__heading small {
    margin-top: 6px;
    font-size: 1.875rem;
  }

  .section-title__subtitle {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .section-title__lede {
    font-size: 16px;
  }

  .section-title .btn {
    margin-top: 28px;
  }
}

/* --- Variant: start-aligned (split layouts) --- */

.section-title--start {
  margin-inline: 0;
  text-align: start;
}

.section-title--start .section-title__eyebrow {
  margin-inline: 0;
}

/* --- Variant: dark section (custom pages) --- */

.section-title--dark {
  margin-bottom: var(--section-title-space);
}

.section-title--dark .section-title__eyebrow {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 93.5%);
  color: #fff;
}

.section-title--dark .section-title__heading {
  color: #fff;
}

.section-title--dark .section-title__heading small {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: inherit;
  font-weight: 700;
}

@media (width >= 48rem) {
  .section-title--dark .section-title__heading {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .section-title--dark .section-title__heading small {
    margin-top: 0.25rem;
  }
}

@media (width >= 64rem) {
  .section-title--dark .section-title__heading {
    font-size: 2.75rem;
    line-height: 1.15;
  }

  .section-title--dark .section-title__heading small {
    margin-top: 4px;
  }
}

/* =============================================================================
   FEATURES
   ============================================================================= */

.features {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background-color: #f7f8fc;
}

.features__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.features__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.features__inner {
  position: relative;
  z-index: 2;
}

/* --- Feature grid (1 col → sm/md 2-col bento → lg 6 col) --- */

.features__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

@media (width >= 40rem) {
  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
  }

  .feature-card--performance {
    grid-column: 1 / -1;
  }
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  border-radius: 1.25rem;
  background: var(--color-white);
  box-shadow: 0 12px 40px rgba(18, 24, 48, 0.06);
}

.feature-card--performance .feature-card__copy {
  padding: 1.5rem 1.25rem 0;
}

.feature-card--mobile {
  justify-content: space-between;
  padding: 2.5rem 1.25rem 2rem;
}

.feature-card--tailwind,
.feature-card--layouts {
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}

.feature-card--browsers,
.feature-card--responsive {
  padding: 1.5rem 1.25rem 1.25rem;
}

.feature-card--ui {
  background-image: url("/assets/images/features/ui-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* --- Feature card copy --- */

.feature-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card__label {
  color: #d70465;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.21;
}

.feature-card__title {
  color: #000;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.feature-card__title--small {
  font-size: 1.375rem;
  line-height: 1.25;
}

.feature-card__text {
  color: #555;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.feature-card__text--small {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.feature-card__copy--split {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card__copy--split .feature-card__heading {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card__copy--split .feature-card__text {
  max-width: none;
  flex-shrink: 0;
  padding-bottom: 0;
}

.feature-card--tailwind .feature-card__title,
.feature-card--layouts .feature-card__title {
  font-size: 1.25rem;
}

.feature-card--tailwind .feature-card__text,
.feature-card--layouts .feature-card__text {
  font-size: 0.875rem;
}

.feature-card--tailwind .feature-card__copy,
.feature-card--layouts .feature-card__copy {
  flex: 1;
  min-width: 0;
  order: -1;
}

/* =============================================================================
   PERFORMANCE CARD
   ============================================================================= */

.feature-card__visual--performance {
  position: relative;
  margin-top: 1.25rem;
  margin-left: 0;
  max-width: none;
  width: 100%;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  background-image: url("assets/images/features/performance-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (width >= 48rem) {
  .feature-card__visual--performance {
    margin-top: 2.5rem;
  }
}

.feature-card__img--rocket {
  position: absolute;
  left: -0.5rem;
  top: -1.5rem;
  z-index: 2;
  width: 4.5rem;
  height: auto;
  animation: features-float 4.5s ease-in-out infinite;
}

.perf-panel {
  position: relative;
  z-index: 1;
  width: 100%;
}

.perf-panel__google-logo {
  display: block;
  width: auto;
  height: 1.75rem;
  margin-inline: auto;
  margin-bottom: 0.875rem;
}

.perf-panel__search {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.perf-panel__field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(40, 50, 100, 0.1);
}

.perf-panel__field img {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.perf-panel__query {
  color: var(--color-ink-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.perf-panel__skeleton {
  margin-bottom: 1rem;
  overflow: hidden;
}

.perf-skel__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.perf-skel__pill {
  display: block;
  width: 2rem;
  height: 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.perf-skel__pill--active {
  width: 2rem;
  background: #22c55e;
  box-shadow: none;
}

.perf-skel__spacer {
  flex: 1;
  min-width: 0.75rem;
}

.perf-skel__pill--wide {
  width: 3rem;
}

.perf-skel__pill--small {
  width: 1.5rem;
}

.perf-skel__divider {
  height: 1px;
  margin: 0.75rem 0 1rem;
  background: #fff;
}

.perf-skel__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perf-skel__line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
}

.perf-skel__line--lg {
  width: 86%;
}

.perf-skel__line--sm {
  width: 58%;
}

.perf-panel__scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
  margin-top: 1rem;
  justify-items: center;
}

@media (width >= 40rem) {
  .perf-panel__scores {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.perf-score {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  text-align: center;
}

.perf-score__bg {
  background-color: #fff;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  padding: 0.4rem;
  position: relative;
}

.perf-score__bg svg {
  width: 100%;
  height: auto;
}

.perf-score__title {
  color: #000;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

.perf-score__ring {
  --score: 100;
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}

.perf-score__track,
.perf-score__value {
  fill: none;
  stroke-width: 3.2;
}

.perf-score__track {
  stroke: #e8f5ec;
}

.perf-score__value {
  stroke: #0cce6b;
  stroke-linecap: round;
  stroke-dasharray: 97.4;
  stroke-dashoffset: calc(97.4 - (97.4 * var(--score) / 100));
}

.perf-score__num {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: #24bd25;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

/* =============================================================================
   MOBILE CARD
   ============================================================================= */

.feature-card__phones {
  position: relative;
  width: 100%;
  min-height: 14rem;
  margin-top: 0.5rem;
  max-width: 290px;
  margin-inline: auto;
}

.feature-card__phone {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(20, 20, 40, 0.18));
}

.feature-card__phone--1 {
  z-index: 3;
  width: 7.5rem;
  height: auto;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
}

.feature-card__phone--2 {
  z-index: 1;
  width: 5.25rem;
  height: auto;
  left: 6%;
  bottom: 1.25rem;
}

.feature-card__phone--3 {
  z-index: 2;
  width: 5.25rem;
  height: auto;
  right: 6%;
  bottom: 1.5rem;
}

.feature-card__onion {
  position: absolute;
  z-index: 4;
  top: -1.25rem;
  right: -0.5rem;
  width: 5.5rem;
  height: auto;
  animation: features-float 5.5s ease-in-out infinite;
  animation-delay: -1.2s;
}

.feature-card__copy--mobile {
  text-align: center;
  margin-top: 1.25rem;
}

@media (width >= 64rem) {
  .feature-card__onion {
    right: -1.5rem;
  }
}

/* =============================================================================
   TAILWIND & LAYOUTS CARDS
   ============================================================================= */

.feature-card__visual--side {
  flex-shrink: 1;
  width: 100%;
  max-width: none;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__visual--side .feature-card__img {
  width: 100%;
  max-width: 16rem;
  max-height: 11rem;
  height: auto;
  object-fit: contain;
}

.feature-card__visual--bottom {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.feature-card__visual--bottom .feature-card__img {
  width: 100%;
  max-width: 22rem;
  height: auto;
}

.feature-card--responsive .feature-card__visual--bottom .feature-card__img {
  max-width: 100%;
}

/* =============================================================================
   UI COMPONENTS CARD
   ============================================================================= */

.feature-card__copy--ui {
  padding: 1.5rem 1.25rem 0;
}

.feature-card__bubbles {
  position: relative;
  flex: 1;
  min-height: 16rem;
  margin-top: 0.75rem;
  transform: scale(0.78);
  transform-origin: center top;
}

.feature-bubble {
  --bubble-delay: 0ms;
  --bubble-float-duration: 4.8s;
  position: absolute;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  background: #ffed4a;
  opacity: 0;
  translate: 0 1.25rem;
  scale: 0.45;
  transform-origin: center;
  will-change: opacity, translate, scale, transform;
}

.feature-card--ui.is-visible .feature-bubble {
  animation:
    feature-bubble-pop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3)
      var(--bubble-delay) forwards,
    feature-bubble-float var(--bubble-float-duration) ease-in-out
      calc(var(--bubble-delay) + 0.7s) infinite;
}

.feature-bubble:nth-child(2) {
  --bubble-delay: 90ms;
  --bubble-float-duration: 5.3s;
}

.feature-bubble:nth-child(3) {
  --bubble-delay: 180ms;
  --bubble-float-duration: 4.6s;
}

.feature-bubble:nth-child(4) {
  --bubble-delay: 270ms;
  --bubble-float-duration: 5.5s;
}

.feature-bubble:nth-child(5) {
  --bubble-delay: 360ms;
  --bubble-float-duration: 4.9s;
}

.feature-bubble:nth-child(6) {
  --bubble-delay: 450ms;
  --bubble-float-duration: 5.7s;
}

.feature-bubble:nth-child(7) {
  --bubble-delay: 540ms;
  --bubble-float-duration: 5.1s;
}

.feature-bubble:nth-child(8) {
  --bubble-delay: 630ms;
  --bubble-float-duration: 4.7s;
}

.feature-bubble__icon {
  font-size: 16px;
}

.feature-bubble__icon--countdown {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.feature-bubble__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  text-align: center;
}

.feature-bubble--category-grid {
  width: 106px;
  height: 106px;
  left: -8px;
  top: 5%;
  color: #fff;
  z-index: 2;
  padding: 8px;
}

.feature-bubble--category-grid .feature-bubble__inner {
  background: #7f54b3;
}

.feature-bubble--quick-view {
  width: 88px;
  height: 88px;
  left: 22%;
  top: 32%;
  color: #000;
  z-index: 1;
  padding: 6px;
}

.feature-bubble--quick-view .feature-bubble__inner {
  background: #f6f7f7;
}

.feature-bubble--scoll-sidebar {
  width: 100px;
  height: 100px;
  left: 40%;
  top: 4%;
  color: #000;
  padding: 8px;
  z-index: 2;
}

.feature-bubble--scoll-sidebar .feature-bubble__inner {
  background: #ff7d44;
}

.feature-bubble--scoll-sidebar .feature-bubble__icon {
  color: #215ada;
}

.feature-bubble--countdown {
  width: 106px;
  height: 106px;
  left: 50%;
  top: 43%;
  color: #fff;
  z-index: 3;
  padding: 9px;
}

.feature-bubble--countdown .feature-bubble__inner {
  background: #002f86;
}

.feature-bubble--right-sidebar {
  width: 108px;
  height: 108px;
  right: 5%;
  top: 5%;
  color: #000;
  padding: 10px;
  z-index: 2;
}

.feature-bubble--right-sidebar .feature-bubble__inner {
  background: #b2fce3;
}

.feature-bubble--right-sidebar .feature-bubble__icon {
  color: #215ada;
}

.feature-bubble--hero {
  width: 96px;
  height: 96px;
  left: -7px;
  bottom: 15%;
  color: #fff;
  padding: 6px;
  z-index: 2;
}

.feature-bubble--hero .feature-bubble__inner {
  background: #0052ff;
}

.feature-bubble--filter {
  width: 95px;
  height: 95px;
  left: 21%;
  bottom: -22px;
  padding: 6px;
  color: #333;
  z-index: 3;
}

.feature-bubble--filter .feature-bubble__inner {
  background: #fdba10;
}

.feature-bubble--galleries {
  width: 120px;
  height: 120px;
  right: 2%;
  bottom: -37px;
  color: #000;
  padding: 12px;
  z-index: 2;
}

.feature-bubble--galleries .feature-bubble__inner {
  background: #ffb3c7;
}

.feature-bubble--galleries .feature-bubble__icon {
  color: #215ada;
  font-size: 20px;
}

@keyframes feature-bubble-pop {
  0% {
    opacity: 0;
    translate: 0 1.25rem;
    scale: 0.45;
  }

  70% {
    opacity: 1;
    translate: 0 -0.25rem;
    scale: 1.08;
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes feature-bubble-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-0.45rem) rotate(1.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-bubble {
    opacity: 1;
    translate: none;
    scale: none;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

/* --- Features desktop (sm layout holds through md) --- */

@media (width >= 64rem) {
  .features__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
  }

  .feature-card {
    border-radius: 24px;
  }

  .feature-card--performance {
    grid-column: span 3;
    padding-top: 32px;
    padding-left: 32px;
    padding-right: 0;
    padding-bottom: 0;
  }

  .feature-card--performance .feature-card__title {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  .feature-card--performance .feature-card__text {
    font-size: 16px;
  }

  .feature-card--mobile {
    grid-column: span 3;
    padding-top: 32px;
    padding-inline: 36px;
    padding-bottom: 56px;
  }

  .feature-card--tailwind,
  .feature-card--layouts {
    flex-direction: row;
    align-items: center;
    grid-column: span 3;
    min-height: 260px;
    gap: 4px;
  }

  .feature-card--tailwind {
    padding-inline: 32px;
    padding-block: 25px;
  }

  .feature-card--layouts {
    padding-inline: 24px;
    padding-block: 36px;
  }

  .feature-card--tailwind .feature-card__copy,
  .feature-card--layouts .feature-card__copy {
    order: 0;
  }

  .feature-card--ui,
  .feature-card--browsers,
  .feature-card--responsive {
    grid-column: span 2;
  }

  .feature-card--browsers,
  .feature-card--responsive {
    padding-top: 32px;
    padding-inline: 28px;
    padding-bottom: 26px;
  }

  .feature-card__label {
    font-size: 14px;
  }

  .feature-card__title {
    font-size: 32px;
    line-height: 1.31;
    letter-spacing: -0.64px;
  }

  .feature-card__title--small {
    font-size: 28px;
    line-height: 1.21;
  }

  .feature-card__text {
    font-size: 18px;
    line-height: 1.44;
  }

  .feature-card__text--small {
    font-size: 16px;
    line-height: 1.5;
  }

  .feature-card__copy--split .feature-card__text {
    max-width: 220px;
    padding-bottom: 4px;
  }

  .feature-card--tailwind .feature-card__title,
  .feature-card--layouts .feature-card__title {
    font-size: 22px;
  }

  .feature-card--tailwind .feature-card__text,
  .feature-card--layouts .feature-card__text {
    font-size: 14px;
  }

  .feature-card__visual--performance {
    margin-top: auto;
    margin-left: auto;
    max-width: 100%;
    padding-top: 20px;
    padding-inline: 40px;
    padding-bottom: 28px;
    border-radius: 16px 0 12px 0;
  }

  .feature-card__img--rocket {
    left: -14%;
    top: 48px;
    width: 140px;
  }

  .perf-panel__google-logo {
    height: 2.5rem;
    margin-bottom: 16px;
  }

  .perf-panel__search {
    margin-bottom: 18px;
  }

  .perf-panel__skeleton {
    margin-bottom: 27px;
  }

  .perf-skel__nav {
    gap: 8px;
  }

  .perf-skel__pill {
    width: 48px;
    height: 16px;
  }

  .perf-skel__pill--wide {
    width: 64px;
  }

  .perf-skel__pill--small {
    width: 32px;
  }

  .perf-skel__spacer {
    min-width: 24px;
  }

  .perf-skel__divider {
    margin: 15px 0 23px;
  }

  .perf-panel__scores {
    gap: 8px;
    margin-top: 24px;
  }

  .perf-score {
    width: 84px;
  }

  .perf-score__bg {
    width: 84px;
    height: 84px;
    padding: 6px;
  }

  .perf-score__title {
    font-size: 12px;
    line-height: 16px;
  }

  .perf-score__num {
    font-size: 24px;
    line-height: 36px;
  }

  .feature-card__phones {
    min-height: 340px;
    max-width: 400px;
  }

  .feature-card__phone--1 {
    width: 172px;
    height: 350px;
  }

  .feature-card__phone--2 {
    width: 122px;
    height: 248px;
    left: 4%;
    bottom: 40px;
  }

  .feature-card__phone--3 {
    width: 122px;
    height: 248px;
    right: 4%;
    bottom: 48px;
  }

  .feature-card__onion {
    top: -40px;
    right: -48px;
    width: 176px;
  }

  .feature-card__copy--mobile {
    margin-top: 36px;
  }

  .feature-card__visual--side {
    width: 48%;
    max-width: 220px;
    min-width: 0;
  }

  .feature-card__visual--side .feature-card__img {
    max-width: 100%;
    max-height: 200px;
  }

  .feature-card__copy--ui {
    padding-top: 32px;
    padding-inline: 28px;
  }

  .feature-card__bubbles {
    min-height: 278px;
    transform: none;
  }

  .feature-card__visual--bottom .feature-card__img {
    max-width: 360px;
  }
}

@media (width >= 80rem)  {
  .feature-card__visual--performance {
    max-width: 708px;
  }
  .feature-card__copy--split {
    flex-direction: row;
    align-items: flex-end;
    gap: 28px;
  }
  .feature-card--performance {
      grid-column: span 4;
  }
  .feature-card--mobile {
    grid-column: span 2;
  }
}

/* =============================================================================
   Designs
   ============================================================================= */

.designs {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
}

.designs .container {
  position: relative;
}

.designs__big-text {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(5rem, 28vw, 10rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-transform: capitalize;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(
    180deg,
    rgba(215, 4, 101, 0.15) 15%,
    rgba(215, 4, 101, 0.02) 87.5%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.designs .section-title {
  position: relative;
  z-index: 1;
}

.designs__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (width >= 40rem) {
  .designs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
} 

.designs__item {
  position: relative;
  border-radius: 12px;
  border: 3px solid #fff;
  background: #f3f4f6;
  box-shadow: 1px 1px 9px 0 rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0.75rem 1.25rem;
  transition: translate 0.25s ease, box-shadow 0.25s ease;
}

.designs__item:hover {
  translate: 0 -4px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.designs__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.designs__link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.designs__status {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  z-index: 4;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 8px 20px rgba(215, 4, 101, 0.28);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.designs__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.designs__item:has(.designs__status) .designs__img {
  filter: blur(3px) saturate(0.7);
  opacity: 0.82;
}

.designs__title {
  margin-top: 0.625rem;
  color: #000;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.designs__badge-img {
  position: absolute;
  right: -0.5rem;
  bottom: 8%;
  width: 4.5rem;
  height: auto;
  pointer-events: none;
}

.designs__dots {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}

.designs__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
}

.designs__dot--red {
  background: #ff5f57;
}

.designs__dot--yellow {
  background: #febc2e;
}

.designs__dot--green {
  background: #29c841;
}

@media (width >= 48rem) {
  .designs {
    overflow: visible;
  }

  .designs__big-text {
    font-size: clamp(7.5rem, 18vw, 10rem);
  }

  .designs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .designs__item {
    border-width: 4px;
    padding: 12px 12px 24px 12px;
  }

  .designs__title {
    font-size: 1.125rem;
    letter-spacing: -0.4px;
    margin-top: 10px;
  }

  .designs__badge-img {
    right: -8%;
    bottom: 10%;
    width: 6.5rem;
  }
}

@media (width >= 64rem) {
  .designs__big-text {
    font-size: 160px;
  }

  .designs__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }

  .designs__title {
    font-size: 20px;
    margin-top: 20px;
  }

  .designs__badge-img {
    right: -4%;
    width: 132px;
    height: 140px;
  }
}

@media (width >= 120rem) {
  .designs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =============================================================================
   CUSTOM PAGES
   ============================================================================= */

.custom-pages {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: #0b0b0b;
}

.custom-pages__glow {
  position: absolute;
  z-index: 0;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.custom-pages__glow--one {
  width: min(790px, 115vw);
  top: 2%;
  left: -55%;
}

.custom-pages__glow--two {
  width: min(546px, 90vw);
  top: 58%;
  right: -45%;
}

.custom-pages__inner {
  position: relative;
  z-index: 1;
}

.custom-pages__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.custom-pages__filter {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-pages__filter:hover {
  background: #3a3a3a;
}

.custom-pages__filter.is-active {
  background: var(--color-primary);
  color: #fff;
}

.custom-pages__gallery {
  position: relative;
  overflow: hidden;
}

.custom-pages__grid {
  position: relative;
  z-index: 1;
}

.custom-pages__card {
  position: relative;
  width: 100%;
  margin-right: 0;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 2px solid #555;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 24px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.custom-pages__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.custom-pages__link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.custom-pages__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.custom-pages__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.custom-pages__dot--red {
  background: #ff5f57;
}

.custom-pages__dot--yellow {
  background: #febc2e;
}

.custom-pages__dot--green {
  background: #29c841;
}

.custom-pages__preview {
  position: relative;
  overflow: hidden;
  margin-inline: 6px;
  border-radius: 8px;
}

.custom-pages__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.custom-pages__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  background: #5bb02b;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  border-radius: 35px;
}

.custom-pages__label {
  margin: 0;
  padding: 0.625rem 0.75rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.custom-pages__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: clamp(12rem, 30vw, 27.125rem);
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #000 0.36%,
    rgba(0, 0, 0, 0.9) 25.78%,
    rgba(0, 0, 0, 0.6) 48.44%,
    rgba(125, 125, 125, 0.46) 66.39%,
    rgba(255, 255, 255, 0) 85.18%
  );
  opacity: 1;
  transition: opacity 0.3s ease;
}

.custom-pages__gallery.is-expanded .custom-pages__fade {
  opacity: 0;
  visibility: hidden;
}

.custom-pages__actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: -1.25rem;
}

.custom-pages__actions:has([hidden]) {
  margin-top: 0;
}

.custom-pages__more {
  gap: 8px;
  box-shadow: 0 12px 30px rgba(215, 4, 101, 0.35);
}

.custom-pages__more[hidden] {
  display: none;
}

@media (width >= 40rem) {
  .custom-pages__card {
    width: calc((100% - 24px) / 2);
    margin-right: 0;
    margin-bottom: 16px;
  }

  .custom-pages__filters {
    gap: 0.625rem;
  }

  .custom-pages__filter {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

@media (width >= 48rem) {
  .custom-pages__glow--one {
    width: min(790px, 72vw);
    top: 4%;
    left: -22%;
  }

  .custom-pages__glow--two {
    width: min(546px, 52vw);
    top: 56%;
    right: -14%;
  }

  .custom-pages__filters {
    gap: 10px;
    margin-bottom: 2.5rem;
  }

  .custom-pages__filter {
    padding: 10px 18px;
    font-size: 15px;
  }

  .custom-pages__card {
    width: calc((100% - 48px) / 3);
    margin-bottom: 24px;
    border-width: 3px;
    border-radius: 8.579px;
  }

  .custom-pages__badge {
    top: 14px;
    right: 12px;
  }

  .custom-pages__label {
    padding: 10px 12px;
    font-size: 15px;
  }

  .custom-pages__actions {
    margin-top: -28px;
  }
}

@media (width >= 64rem) {
  .custom-pages__glow--one {
    width: min(790px, 58vw);
    top: 2%;
    left: -12%;
  }

  .custom-pages__glow--two {
    width: min(546px, 40vw);
    top: 58%;
    right: -8%;
  }

  .custom-pages__filters {
    margin-bottom: 48px;
  }

  .custom-pages__filter {
    padding: 10px 22px;
  }

  .custom-pages__card {
    width: calc((100% - 72px) / 4);
  }
}

@media (width >= 80rem) {
  .custom-pages__glow--one {
    width: 790px;
    top: 90px;
    left: -400px;
  }

  .custom-pages__glow--two {
    width: 546px;
    top: clamp(420px, 34vw, 650px);
    right: calc(((100% - 96px) / 5) + 12px - 273px);
  }

  .custom-pages__card {
    width: calc((100% - 96px) / 5);
  }
}

/* =============================================================================
   SECTIONS SHOWCASE
   ============================================================================= */

.sections-showcase {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: #f9f9f9;
}

.sections-showcase__intro {
  margin-bottom: 0;
}

.sections-showcase__intro .section-title__heading {
  margin-bottom: 0.75rem;
}

.sections-showcase__intro .section-title__heading span {
  background: linear-gradient(180deg, #fe6db4 0%, #d70465 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sections-showcase__btn {
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  max-width: calc(100% - 2 * var(--container-gutter));
  margin: 0 auto 1.5rem;
}

.sections-showcase__gallery {
  position: relative;
  width: 100%;
}

.sections-showcase__viewport {
  overflow: hidden;
  width: 100%;
}

.sections-showcase__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sections-marquee-x 60s linear infinite;
}

.sections-showcase__gallery:hover .sections-showcase__track {
  animation-play-state: paused;
}

.sections-showcase__group {
  flex-shrink: 0;
  width: 100vw;
  padding-top: 0.5rem;
  padding-inline-end: 12px;
  column-count: 2;
  column-gap: 12px;
}

.sections-showcase__item {
  display: block;
  width: 100%;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 40px #eaeaea;
  background: #fff;
}

.sections-showcase__item img {
  display: block;
  width: 100%;
  height: auto;
}

.sections-showcase__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(249, 249, 249, 0) 0%,
    rgba(249, 249, 249, 0.72) 45%,
    #f9f9f9 100%
  );
}

@keyframes sections-marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sections-showcase__track {
    animation: none;
    transform: none;
  }

  .sections-showcase__group[data-sections-clone] {
    display: none;
  }
}

@media (width >= 48rem) {
  .sections-showcase__intro .section-title__heading {
    margin-bottom: 1.25rem;
  }

  .sections-showcase__btn {
    margin-bottom: 0;
  }

  .sections-showcase__group {
    padding-top: 1rem;
    padding-inline-end: 20px;
    column-count: 3;
    column-gap: 20px;
  }

  .sections-showcase__item {
    margin-bottom: 20px;
    box-shadow: 0 8px 70px #eaeaea;
  }

  .sections-showcase__fade {
    height: 10rem;
  }
}

@media (width >= 64rem) {
  .sections-showcase__intro .section-title__heading {
    margin-bottom: 32px;
  }

  .sections-showcase__group {
    padding-top: 52px;
    padding-inline-end: 24px;
    column-count: 4;
    column-gap: 24px;
  }

  .sections-showcase__item {
    margin-bottom: 24px;
    box-shadow: 0 8px 100px #eaeaea;
  }

  .sections-showcase__fade {
    height: 220px;
  }
}

/* =============================================================================
   MOBILE FIRST
   ============================================================================= */

.mobile-first {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: #1a1919;
}

.mobile-first__glow {
  position: absolute;
  width: 12rem;
  height: 16rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.mobile-first__glow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(2.5);
  transform-origin: center;
}

.mobile-first__glow--a {
  left: -18%;
  top: 40%;
}

.mobile-first__glow--b {
  right: -16%;
  bottom: 2%;
}

.mobile-first__inner {
  position: relative;
  z-index: 1;
}

.mobile-first__intro {
  margin-bottom: var(--section-title-space);
}

.mobile-first__intro .section-title__heading {
  text-transform: capitalize;
}

.mobile-first__intro .section-title__heading small {
  margin-top: 0;
  font-weight: 400;
  text-transform: capitalize;
}

.mobile-first__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-first__qr-code {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 4px;
  object-fit: cover;
}

.mobile-first__qr-caption {
  position: relative;
  width: min(100%, 31.5rem);
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  background: #27272a;
  border: 1px solid #3f3e46;
  border-radius: 1.25rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.mobile-first__qr-caption::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #27272a;
  border-top: 1px solid #3f3e46;
  border-left: 1px solid #3f3e46;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-first__slider-wrap {
  position: relative;
  padding-inline: 2.75rem;
}

.mobile-first__swiper {
  overflow: hidden;
  padding-block: 0.5rem;
}

.mobile-first__swiper .swiper-slide {
  height: auto !important;
}

.mobile-first__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.mobile-first__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-first__phone figcaption {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.mobile-first__nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, opacity 0.2s ease;
  background: var(--color-primary);
}

.mobile-first__nav i {
  font-size: 0.875rem;
  color: #fff;
}

.mobile-first__nav--prev {
  left: 0;
}

.mobile-first__nav--next {
  right: 0;
}

.mobile-first__nav:hover {
  opacity: 0.88;
}

.mobile-first__nav:disabled {
  opacity: 0.4;
  cursor: default;
  background: #444;
}

@media (width >= 40rem) {
  .mobile-first__qr-code {
    width: 6.5rem;
    height: 6.5rem;
  }

  .mobile-first__qr-caption {
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    white-space: nowrap;
    width: max-content;
    max-width: min(100%, 31.5rem);
  }
}

@media (width >= 48rem) {
  .mobile-first__glow {
    width: 18rem;
    height: 24rem;
    opacity: 1;
  }

  .mobile-first__glow img {
    transform: scale(3);
  }

  .mobile-first__glow--a {
    left: -10%;
    top: 36%;
  }

  .mobile-first__glow--b {
    right: -8%;
    bottom: 4%;
  }

  .mobile-first__qr {
    gap: 1rem;
    margin-bottom: 2.75rem;
  }

  .mobile-first__qr-code {
    width: 7.5rem;
    height: 7.5rem;
  }

  .mobile-first__qr-caption {
    margin-top: 0.75rem;
    padding: 12px 24px;
    font-size: 1.125rem;
    line-height: 26px;
  }

  .mobile-first__slider-wrap {
    padding-inline: 4rem;
  }

  .mobile-first__phone {
    gap: 1.25rem;
  }

  .mobile-first__phone figcaption {
    font-size: 1.0625rem;
    line-height: 1.45;
    white-space: nowrap;
  }

  .mobile-first__nav {
    width: 3.5rem;
    height: 3.5rem;
    top: 44%;
  }

  .mobile-first__nav i {
    font-size: 1rem;
  }
}

@media (width >= 64rem) {
  .mobile-first__glow {
    width: 302px;
    height: 408px;
  }

  .mobile-first__glow--a {
    left: -8%;
  }

  .mobile-first__glow--b {
    right: -6%;
  }

  .mobile-first__intro .section-title__heading {
    font-size: 2.5rem;
    line-height: 1.25;
  }

  .mobile-first__intro .section-title__heading small {
    font-size: 1.875rem;
    line-height: 1.35;
  }

  .mobile-first__qr {
    margin-bottom: 56px;
  }

  .mobile-first__qr-code {
    width: 120px;
    height: 120px;
  }

  .mobile-first__qr-caption {
    font-size: 20px;
  }

  .mobile-first__slider-wrap {
    padding-inline: 80px;
  }

  .mobile-first__phone {
    gap: 24px;
  }

  .mobile-first__phone figcaption {
    font-size: 18px;
    line-height: 26px;
  }

  .mobile-first__nav {
    width: 66px;
    height: 66px;
    top: 45%;
  }
}

/* =============================================================================
   BUILDER
   ============================================================================= */

.builder {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: #fff7fa;
}

.builder__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.builder__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

.builder__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(calc(100% - 2 * var(--container-gutter)), 1040px);
}

.builder__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.builder__intro {
  width: 100%;
  max-width: 470px;
  margin: 0 0 8px;
  align-self: start;
}

.builder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(215, 4, 101, 0.04);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(215, 4, 101, 0.08);
}

.builder-card__copy {
  padding: 42px 20px 20px;
  text-align: center;
}

.builder-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.builder-card__badge--cyan {
  background: #1bb8c9;
}

.builder-card__badge--green {
  background: #5bb02b;
}

.builder-card__badge--purple {
  background: #7c5cbf;
}

.builder-card__title {
  margin-bottom: 12px;
  margin-inline: auto;
  color: var(--color-ink-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.builder-card__title span {
  display: block;
  color: var(--color-primary);
}

.builder-card--mega .builder-card__title span {
  display: inline;
}

.builder-card__text {
  color: #555;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.builder-card__visual {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  min-height: 190px;
}

.builder-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.builder-card__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.builder-card--sections .builder-card__visual,
.builder-card--footers .builder-card__visual {
  min-height: 230px;
}

@media (width >= 48rem) {
  .builder__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .builder__col {
    gap: 32px;
  }

  .builder__col--offset {
    padding-top: 48px;
  }

  .builder__intro {
    min-height: 210px;
    margin-bottom: 0;
    padding: 24px 0 0;
  }

  .builder-card__copy {
    padding: 44px 24px 24px;
  }

  .builder-card__visual {
    min-height: 220px;
  }

  .builder-card--sections .builder-card__visual,
  .builder-card--footers .builder-card__visual {
    min-height: 280px;
  }
}

@media (width >= 64rem) {
  .builder__inner {
    gap: 40px;
  }

  .builder__col {
    gap: 40px;
  }

  .builder__col--offset {
    padding-top: 0;
  }

  .builder__intro {
    min-height: 250px;
    padding: 48px 0 0;
  }

  .builder-card__copy {
    padding: 48px 28px 26px;
  }

  .builder-card__title {
    font-size: 20px;
  }

  .builder-card__text {
    font-size: 14px;
  }

  .builder-card__visual {
    min-height: 250px;
  }

  .builder-card--sections .builder-card__visual,
  .builder-card--footers .builder-card__visual {
    min-height: 330px;
  }
}

/* =============================================================================
   PURCHASE CTA
   ============================================================================= */

.purchase {
  position: relative;
}

.purchase__banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 22rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  background-image: url("assets/svgs/hero-pattern.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  padding: var(--section-space) var(--container-gutter);
}

.purchase__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  gap: 1rem;
}

.purchase__eyebrow {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.purchase__title {
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: capitalize;
}

.purchase__title-sub {
  display: block;
  margin-top: 0.15em;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

.purchase__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.purchase__offer-label {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: capitalize;
}

.purchase__price {
  color: #fbe523;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.purchase__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 30px;
  background: #fd69b1;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.purchase__cta {
  margin-top: 0.5rem;
  padding-inline: 2.5rem;
  border-radius: 60px;
}

.purchase__floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.purchase__float {
  position: absolute;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(95, 14, 48, 0.28));
  animation: hero-float 6s ease-in-out infinite;
}

.purchase__float--salmon,
.purchase__float--cupcake,
.purchase__float--radish,
.purchase__float--cabbage,
.purchase__float--shell,
.purchase__float--flour {
  display: none;
}

@media (width >= 48rem) {
  .purchase__banner {
    min-height: 28rem;
    padding: var(--section-space) var(--container-gutter);
  }

  .purchase__content {
    gap: 1rem;
  }

  .purchase__eyebrow {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .purchase__title {
    font-size: 3.5rem;
    line-height: 1.15;
  }

  .purchase__title-sub {
    font-size: 2.5rem;
    line-height: 1.25;
  }

  .purchase__offer {
    gap: 0.5rem 1rem;
  }

  .purchase__offer-label {
    font-size: 1.125rem;
    line-height: 26px;
  }

  .purchase__price {
    font-size: 2rem;
    line-height: 42px;
  }

  .purchase__cta {
    margin-top: 1rem;
  }

  .purchase__float--salmon,
  .purchase__float--shell {
    display: block;
  }

  .purchase__float--salmon {
    top: -4%;
    left: 3%;
    width: 5.5rem;
    rotate: -15deg;
    animation-delay: 0s;
  }

  .purchase__float--shell {
    top: -6%;
    right: 4%;
    width: 4.5rem;
    rotate: 15deg;
    animation-delay: -0.8s;
  }
}

@media (width >= 64rem) {
  .purchase__banner {
    min-height: 525px;
    padding: var(--section-space) var(--container-gutter);
  }

  .purchase__content {
    gap: 16px;
  }

  .purchase__eyebrow {
    font-size: 24px;
    line-height: 36px;
  }

  .purchase__title {
    font-size: 64px;
    line-height: 74px;
  }

  .purchase__title-sub {
    margin-top: 0;
    font-size: 48px;
    line-height: 60px;
  }

  .purchase__offer {
    gap: 16px;
  }

  .purchase__cta {
    margin-top: 16px;
    padding: 12px 40px;
    gap: 8px;
    font-size: 18px;
    line-height: 26px;
  }

  .purchase__float--cupcake,
  .purchase__float--radish,
  .purchase__float--cabbage,
  .purchase__float--flour {
    display: block;
  }

  .purchase__float--salmon {
    top: -12%;
    left: 3.9%;
    width: 142px;
  }

  .purchase__float--cupcake {
    top: 30%;
    left: 14%;
    width: 229px;
    rotate: 30deg;
    animation-delay: -1.4s;
  }

  .purchase__float--radish {
    bottom: -8%;
    left: -2%;
    width: 188px;
    animation-delay: -2.2s;
  }

  .purchase__float--cabbage {
    top: 34%;
    right: 19%;
    width: 180px;
    animation-delay: -1.1s;
  }

  .purchase__float--shell {
    top: -8%;
    right: 9%;
    width: 116px;
  }

  .purchase__float--flour {
    bottom: -18%;
    right: -2%;
    width: 255px;
    rotate: 165deg;
    scale: 1 -1;
    animation-delay: -2.8s;
  }
}

@media (width >= 80rem) {
  .purchase__float--salmon {
    left: 3.9%;
  }

  .purchase__float--cupcake {
    left: 14%;
  }

  .purchase__float--flour {
    right: -2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchase__float {
    animation: none;
  }
}

/* =============================================================================
   SUPPORT
   ============================================================================= */

.support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1A1919;
  color: #fff;
  padding-block: var(--section-space);
}

.support__glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: #d70465;
  opacity: 0.4;
  filter: blur(150px);
}

.support__glow--left {
  left: -2%;
  bottom: -8%;
  width: 248px;
  height: 278px;
  border-radius: 278px;
}

.support__glow--right {
  right: -4%;
  top: 10%;
  width: 302px;
  height: 408px;
  border-radius: 408px;
}

.support__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

.support-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 20px;
  border-radius: 1rem;
  background: rgba(39, 39, 42, 0.70);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
}

.support-card--featured {
  background: rgba(0, 0, 0, 0.70);
}

.support-card__ribbon {
  position: absolute;
  top: -7px;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 159px;
  height: 24px;
  padding: 0 1.25rem 2px;
  background: url("assets/svgs/recommended-ribbon.svg") center / 100% 100% no-repeat;
  color: #111;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-card__icon {
  width: 81px;
  height: 81px;
  object-fit: contain;
  margin-bottom: 16px;
}

.support-card__divider {
  border: none;
  height: 1px;
  width: 100%;
  background-color: #363636;
  margin-block: 16px;
}

.support-card__title {
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.support-card__text {
  color: #C1C1C1;
  font-family: var(--font-sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.44;
  margin-bottom: 14px;
}

.support-card__btn {
  margin-top: auto;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #3F3E46;
  color: #fff;
  font-weight: 600;
  line-height: 1.44;
  width: max-content;
}

.support-card__btn:hover,
.support-card__btn:focus-visible {
  background: #353535;
}

.support-card__btn--primary {
  border-color: #d70465;
  background: #d70465;
}

.support-card__btn--primary:hover,
.support-card__btn--primary:focus-visible {
  background: var(--color-brand-600);
  border-color: var(--color-brand-600);
}

.footer {
  background-color: color-mix(in srgb, rgb(39, 39, 42) 70%, #1a1919);
  padding-block: 24px;
  text-align: center;
  position: relative;
}

.footer__copyright {
  color: #999;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.44; 
}
.footer__copyright a {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer__copyright a::before {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__copyright a:hover,
.footer__copyright a:focus-visible {
  color: var(--color-primary);
}

.footer__copyright a:hover::before,
.footer__copyright a:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

@media (width >= 40rem) {
  .support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >= 48rem) {
  .support-card {
    padding: 2.25rem 1.5rem 1.75rem;
    min-height: 100%;
  }

  .support-card__title {
    font-size: 1.375rem;
  }

}

@media (width >= 64rem) {
  .support__grid {
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .support-card {
    padding: 40px 25px;
  }
}

@media (width >= 80rem) {
  .support-card {
    padding: 48px 32px;
  }
  .support-card__title {
    font-size: 24px;
  }
  
  .support-card__text {
    font-size: 18px;
  }
  .support-card__btn {
    padding: 12px 40px;
    font-size: 18px;
  }
  .support-card__divider {
    margin-block: 24px;
  }
  .footer__copyright {
    font-size: 18px;
  }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes features-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card__img--rocket,
  .feature-card__onion {
    animation: none;
  }
}

/* =============================================================================
   SPLASH REVEAL ANIMATIONS
   ============================================================================= */

.hero__badge,
.hero__title,
.hero__lede,
.hero__actions {
  opacity: 0;
  translate: 0 25px;
  animation: hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, translate;
}

.hero__badge {
  animation-delay: 0.15s;
}

.hero__title {
  animation-delay: 0.3s;
}

.hero__lede {
  animation-delay: 0.45s;
}

.hero__actions {
  animation-delay: 0.6s;
}

@keyframes hero-fade-up {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.features .feature-card {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--feature-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.features .feature-card.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.designs .designs__item {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--design-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.designs .designs__item.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.builder .builder-card {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--builder-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.builder .builder-card.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.custom-pages .custom-pages__filter,
.custom-pages .custom-pages__actions {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--custom-page-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.custom-pages .custom-pages__filter.is-visible,
.custom-pages .custom-pages__actions.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.custom-pages .custom-pages__card {
  opacity: 0;
  transition: opacity 0.6s ease;
  transition-delay: var(--custom-page-reveal-delay, 0ms);
}

.custom-pages .custom-pages__card.is-visible {
  opacity: 1;
}

/* Isotope owns transform/opacity — avoid dual transitions that cause flicker */
.custom-pages__grid.is-isotope-ready .custom-pages__card {
  opacity: 1;
  transition: none;
  transition-delay: 0ms;
}

.custom-pages__grid.is-arranging .custom-pages__card {
  backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .designs .designs__item.is-visible {
    transition:
      opacity 0.6s ease,
      translate 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      scale 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s ease;
  }

  .designs .designs__item.is-visible:hover {
    translate: 0 -0.5rem;
    scale: 1.015;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  }

  .designs__img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .designs__item:hover .designs__img {
    transform: scale(1.025);
  }

  .designs__title {
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .designs__item:hover .designs__title {
    color: var(--color-primary);
    transform: translateY(-0.1rem);
  }

  .custom-pages__preview {
    transition: box-shadow 0.4s ease;
  }

  .custom-pages__preview::after {
    position: absolute;
    inset: -35%;
    z-index: 1;
    background: linear-gradient(
      110deg,
      transparent 35%,
      rgba(255, 255, 255, 0.34) 50%,
      transparent 65%
    );
    content: "";
    pointer-events: none;
    transform: translateX(-85%) rotate(8deg);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .custom-pages__img {
    transition: filter 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .custom-pages__dot {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4);
  }

  .custom-pages__label {
    transition: color 0.25s ease, letter-spacing 0.35s ease;
  }

  .custom-pages__card:hover {
    border-color: rgba(255, 255, 255, 0.75);
  }

  .custom-pages__card:hover .custom-pages__preview {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 15px 28px rgba(0, 0, 0, 0.18);
  }

  .custom-pages__card:hover .custom-pages__preview::after {
    transform: translateX(85%) rotate(8deg);
  }

  .custom-pages__card:hover .custom-pages__img {
    filter: saturate(1.08) brightness(1.04);
    transform: scale(1.018);
  }

  .custom-pages__card:hover .custom-pages__dot--red {
    transform: translateY(-0.18rem);
  }

  .custom-pages__card:hover .custom-pages__dot--yellow {
    transform: translateY(-0.18rem);
    transition-delay: 60ms;
  }

  .custom-pages__card:hover .custom-pages__dot--green {
    transform: translateY(-0.18rem);
    transition-delay: 120ms;
  }

  .custom-pages__card:hover .custom-pages__label {
    color: #fff;
    letter-spacing: 0.025em;
  }

  .builder .builder-card.is-visible {
    transition:
      opacity 0.6s ease,
      translate 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.3s ease,
      box-shadow 0.4s ease;
  }

  .builder .builder-card.is-visible:hover {
    border-color: rgba(215, 4, 101, 0.18);
    box-shadow: 0 18px 42px rgba(215, 4, 101, 0.14);
  }

  .builder-card::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
      115deg,
      transparent 30%,
      rgba(255, 255, 255, 0.52) 48%,
      transparent 66%
    );
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translateX(-110%);
    transition: opacity 0.25s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .builder-card__img,
  .builder-card__bg {
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .builder-card__badge {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4);
  }

  .builder-card__visual {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .builder-card:hover::after {
    opacity: 1;
    transform: translateX(110%);
  }

  .builder-card:hover .builder-card__visual {
    transform: translateY(-0.6rem);
  }

  .builder-card:hover .builder-card__img {
    transform: scale(1.02);
  }

  .builder-card:hover .builder-card__bg {
    filter: saturate(1.1);
    transform: scale(1.025);
  }

  .builder-card:hover .builder-card__badge {
    transform: rotate(-4deg) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-pages__preview::after,
  .builder-card::after {
    display: none;
  }

  .custom-pages__img,
  .custom-pages__dot,
  .builder-card__visual,
  .builder-card__img,
  .builder-card__bg,
  .builder-card__badge {
    transition: none;
  }

  .custom-pages__card:hover .custom-pages__img,
  .custom-pages__card:hover .custom-pages__dot,
  .builder-card:hover .builder-card__visual,
  .builder-card:hover .builder-card__img,
  .builder-card:hover .builder-card__bg,
  .builder-card:hover .builder-card__badge {
    transform: none;
  }
}

.sections-showcase .sections-showcase__btn,
.sections-showcase .sections-showcase__item {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sections-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.sections-showcase .sections-showcase__btn.is-visible,
.sections-showcase .sections-showcase__item.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.mobile-first .mobile-first__qr,
.mobile-first .mobile-first__phone,
.mobile-first .mobile-first__nav {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--mobile-first-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.mobile-first .mobile-first__qr.is-visible,
.mobile-first .mobile-first__phone.is-visible,
.mobile-first .mobile-first__nav.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.style-control .style-control__visual,
.style-control .style-control__pills > *,
.style-control .style-control__content > .btn {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--style-control-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.style-control .style-control__visual.is-visible,
.style-control .style-control__pills > *.is-visible,
.style-control .style-control__content > .btn.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.optionality .option-card {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s ease,
    box-shadow 0.35s ease;
  transition-delay: var(--optionality-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.optionality .option-card.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.testimonials .testimonials__stars,
.testimonials .testimonial-card,
.testimonials .testimonials__footer {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--testimonials-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.testimonials .testimonials__stars.is-visible,
.testimonials .testimonial-card.is-visible,
.testimonials .testimonials__footer.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.faq .faq__avatars,
.faq .faq-item,
.faq .faq__support {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--faq-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.faq .faq__avatars.is-visible,
.faq .faq-item.is-visible,
.faq .faq__support.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.support .support-card {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--support-reveal-delay, 0ms);
  will-change: opacity, translate;
}

.support .support-card.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

[data-reveal-title] [data-reveal-part] {
  opacity: 0;
  translate: 0 25px;
  transition:
    opacity 0.65s ease,
    translate 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
  will-change: opacity, translate;
}

[data-reveal-title].is-visible [data-reveal-part] {
  opacity: 1;
  translate: 0 0;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: auto;
}

[data-reveal-part="icon"] {
  --reveal-delay: 0ms;
}

[data-reveal-part="eyebrow"] {
  --reveal-delay: 120ms;
}

[data-reveal-part="heading"] {
  --reveal-delay: 260ms;
}

[data-reveal-part="subtitle"] {
  --reveal-delay: 400ms;
}

[data-reveal-part="lede"] {
  --reveal-delay: 540ms;
}

[data-reveal-part="action"] {
  --reveal-delay: 680ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__title,
  .hero__lede,
  .hero__actions {
    opacity: 1;
    translate: 0 0;
    animation: none;
  }

  .features .feature-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .designs .designs__item {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .builder .builder-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .custom-pages .custom-pages__filter,
  .custom-pages .custom-pages__actions,
  .custom-pages .custom-pages__card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .custom-pages__grid.is-arranging .custom-pages__card {
    backdrop-filter: blur(12px);
  }

  .sections-showcase .sections-showcase__btn,
  .sections-showcase .sections-showcase__item {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .mobile-first .mobile-first__qr,
  .mobile-first .mobile-first__phone,
  .mobile-first .mobile-first__nav {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .style-control .style-control__visual,
  .style-control .style-control__pills > *,
  .style-control .style-control__content > .btn {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .optionality .option-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .testimonials .testimonials__stars,
  .testimonials .testimonial-card,
  .testimonials .testimonials__footer {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .faq .faq__avatars,
  .faq .faq-item,
  .faq .faq__support {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .support .support-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  [data-reveal-title] [data-reveal-part] {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* =============================================================================
   FAQ
   ============================================================================= */

.faq {
  background: var(--color-gray-50);
  padding-block: var(--section-space);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding-left: 14px;
}

.faq__avatars .faq__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: -14px;
  border: 5px solid var(--color-white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq__avatars .faq__avatar::after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: 1px;
  background: #53DC54;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  transition: 0.3s;
}

.faq__avatars .faq__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.faq__intro {
  margin-bottom: var(--section-title-space);
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 936px);
}

.faq-item {
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 8px 100px rgba(0, 0, 0, 0.06);
}

.faq-item__heading {
  margin: 0;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 84px;
  padding: 24px 18px;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-item__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gray-200);
  border-radius: 50%;
  color: var(--color-gray-300);
  font-size: 15px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  border-color: var(--color-black);
  color: var(--color-black);
  transform: rotate(180deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: grid-template-rows 0.32s ease, padding-bottom 0.32s ease,
    opacity 0.22s ease, transform 0.22s ease;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item__panel[hidden] {
  display: none;
}

.faq-item__panel p {
  overflow: hidden;
  max-width: 839px;
  color: var(--color-gray-500);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.faq__support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  text-align: center;
}

.faq__support p {
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

@media (width >= 48rem) {
  .faq__accordion {
    gap: 24px;
  }

  .faq-item__trigger {
    min-height: 100px;
    gap: 24px;
    padding: 32px 24px 32px 32px;
    font-size: 20px;
    line-height: 1.5;
  }

  .faq-item__icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .faq-item__panel {
    padding: 0 96px 0 32px;
  }

  .faq-item.is-open .faq-item__panel {
    padding-bottom: 32px;
  }

  .faq-item__panel p,
  .faq__support p {
    font-size: 18px;
  }
}

@media (width >= 64rem) {
  .faq-item__trigger {
    font-size: 24px;
  }
}

/* =============================================================================
   STYLE CONTROL
   ============================================================================= */

.style-control {
  overflow: hidden;
  padding-block: var(--section-space);
  background: var(--color-gray-50);
}

.style-control__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-title-space);
}

.style-control__visual {
  position: relative;
  width: 43.25rem;
  max-width: none;
  min-height: 32.5rem;
  transform: scale(0.52);
  transform-origin: top center;
  margin-bottom: -15rem;
}

.style-control__dash {
  position: absolute;
  left: 26px;
  bottom: 40px;
  width: 612px;
  height: 362px;
  border: 2px dashed #dbdbdb;
  border-radius: 8px;
}

.style-control__preview {
  position: absolute;
  top: 67px;
  left: 98px;
  width: 576px;
  height: 341px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: 0 0 38px #e5e5e5;
}

.style-control__preview-img,
.style-control__preview-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.style-control__toolbar {
  position: absolute;
  top: 39px;
  left: 79px;
  width: 614px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 29px 10px #ececec;
}

.style-control__brush {
  position: absolute;
  top: 0;
  right: 88px;
  width: 69px;
  height: auto;
  transform: rotate(180deg);
}

.style-control__side-tools {
  position: absolute;
  left: 0;
  top: 155px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.style-control__side-tools span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 19px #ddd;
}

.style-control__side-tools img {
  width: 100%;
  height: auto;
}

.style-control__palette {
  position: absolute;
  left: 171px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 264px;
  height: 72px;
  padding: 16px;
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: 0 0 19px #ddd;
}

.style-control__swatch {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d70465;
}

.style-control__swatch--active {
  border: 6px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.style-control__swatch--green {
  background: #5bb02b;
}

.style-control__swatch--purple {
  background: #673ab7;
}

.style-control__swatch--cyan {
  background: #0ac2e9;
}

.style-control__swatch--blue {
  background: #215ada;
}

.style-control__size-panel {
  position: absolute;
  right: 27px;
  bottom: 24px;
  width: 150px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 19px #ddd;
}

.style-control__visual.is-visible .style-control__preview-overlay {
  animation: style-control-preview 7s ease-in-out infinite;
}

.style-control__visual.is-visible .style-control__toolbar {
  animation: style-control-toolbar 4.5s ease-in-out infinite;
}

.style-control__visual.is-visible .style-control__brush {
  animation: style-control-brush 3.8s ease-in-out infinite;
}

.style-control__visual.is-visible .style-control__side-tools span {
  animation:
    style-control-tool-pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.4) backwards,
    style-control-tool-float 4s ease-in-out 0.8s infinite;
}

.style-control__visual.is-visible .style-control__side-tools span:nth-child(1) {
  animation-delay: 0.15s, 0.7s;
}

.style-control__visual.is-visible .style-control__side-tools span:nth-child(2) {
  animation-delay: 0.28s, 1.1s;
}

.style-control__visual.is-visible .style-control__side-tools span:nth-child(3) {
  animation-delay: 0.41s, 1.5s;
}

.style-control__visual.is-visible .style-control__palette {
  animation: style-control-panel-float 4.8s ease-in-out 0.35s infinite;
}

.style-control__visual.is-visible .style-control__swatch {
  animation: style-control-swatch 3.2s ease-in-out infinite;
}

.style-control__visual.is-visible .style-control__swatch:nth-child(2) {
  animation-delay: 0.18s;
}

.style-control__visual.is-visible .style-control__swatch:nth-child(3) {
  animation-delay: 0.36s;
}

.style-control__visual.is-visible .style-control__swatch:nth-child(4) {
  animation-delay: 0.54s;
}

.style-control__visual.is-visible .style-control__swatch:nth-child(5) {
  animation-delay: 0.72s;
}

.style-control__visual.is-visible .style-control__size-panel {
  animation: style-control-size-panel 4.2s ease-in-out 0.55s infinite;
}

@keyframes style-control-preview {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.018);
  }
}

@keyframes style-control-toolbar {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes style-control-brush {
  0%,
  100% {
    transform: translate(0, 0) rotate(180deg);
  }

  45% {
    transform: translate(-12px, 8px) rotate(168deg);
  }

  70% {
    transform: translate(5px, 3px) rotate(186deg);
  }
}

@keyframes style-control-tool-pop {
  from {
    opacity: 0;
    scale: 0.4;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes style-control-tool-float {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(7px);
  }
}

@keyframes style-control-panel-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes style-control-swatch {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.06);
  }
}

@keyframes style-control-size-panel {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(7px) rotate(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .style-control__visual.is-visible .style-control__preview-overlay,
  .style-control__visual.is-visible .style-control__toolbar,
  .style-control__visual.is-visible .style-control__brush,
  .style-control__visual.is-visible .style-control__side-tools span,
  .style-control__visual.is-visible .style-control__palette,
  .style-control__visual.is-visible .style-control__swatch,
  .style-control__visual.is-visible .style-control__size-panel {
    animation: none;
  }
}

.style-control__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-title-space);
  width: 100%;
  text-align: center;
}

.style-control__intro {
  margin-bottom: 0;
  margin-inline: auto;
  text-align: center;
}

.style-control__intro .section-title__eyebrow {
  margin-inline: auto;
}

.style-control__intro .section-title__lede {
  max-width: 30rem;
  margin-inline: auto;
  font-size: 1rem;
}

.style-control__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 35rem;
}

.style-control__pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.125rem 0.875rem;
  border-radius: 60px;
  background: #eeeeee;
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.625;
}

.style-control__pills i {
  color: var(--color-primary);
}

@media (width >= 48rem) {
  .style-control__inner {
    gap: 2.5rem;
  }

  .style-control__visual {
    transform: scale(0.72);
    margin-bottom: -8.5rem;
  }

  .style-control__intro .section-title__lede {
    font-size: 1.125rem;
  }

  .style-control__pills {
    gap: 1rem;
  }

  .style-control__pills span {
    padding: 2px 16px;
    font-size: 1rem;
  }
}

@media (width >= 64rem) {
  .style-control__visual {
    transform: scale(0.88);
    margin-bottom: -3.5rem;
  }
}

@media (width >= 75rem) and (width < 87.5rem) {
  .style-control__inner {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 500px);
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .style-control__visual {
    justify-self: center;
    width: 692px;
    min-height: 454px;
    margin-inline: -36px;
    margin-bottom: 0;
    transform: scale(0.87);
    transform-origin: center center;
  }

  .style-control__content {
    align-items: flex-start;
    gap: var(--section-title-space);
    text-align: start;
  }

  .style-control__intro {
    margin-inline: 0;
    text-align: start;
  }

  .style-control__intro .section-title__eyebrow {
    margin-inline: 0;
  }

  .style-control__intro .section-title__lede {
    margin-inline: 0;
    max-width: 485px;
    font-size: 18px;
  }

  .style-control__pills {
    justify-content: flex-start;
    gap: 10px;
    max-width: 500px;
  }

  .style-control__pills span {
    padding: 2px 14px;
    font-size: 15px;
  }
}

@media (width >= 87.5rem) {
  .style-control__inner {
    display: grid;
    grid-template-columns: minmax(0, 692px) minmax(0, 560px);
    align-items: center;
    justify-content: center;
    gap: 64px;
  }

  .style-control__visual {
    width: auto;
    min-height: 520px;
    transform: none;
    margin-bottom: 0;
  }

  .style-control__content {
    align-items: flex-start;
    gap: var(--section-title-space);
    text-align: start;
  }

  .style-control__intro {
    margin-inline: 0;
    text-align: start;
  }

  .style-control__intro .section-title__eyebrow {
    margin-inline: 0;
  }

  .style-control__intro .section-title__lede {
    margin-inline: 0;
    max-width: 485px;
    font-size: 18px;
  }

  .style-control__pills {
    justify-content: flex-start;
    max-width: 560px;
  }
}

/* =============================================================================
   OPTIONALITY
   ============================================================================= */

.optionality {
  padding-block: var(--section-space);
  background: var(--color-white);
}

.optionality__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.optionality__intro {
  margin-bottom: var(--section-title-space);
}

.optionality__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  perspective: 1000px;
}

@media (width >= 40rem) {
  .optionality__grid {
    grid-template-columns: repeat(2, 1fr);
  }
} 

.option-card {
  position: relative;
  overflow: visible;
  min-height: auto;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 5px 50px rgba(234, 234, 234, 0.95);
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.option-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--option-bg) 0%, rgba(255, 255, 255, 0) 100%);
  transform: translate3d(0, 0, 18px);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-card__visual--green {
  --option-bg: #ccefc0;
}

.option-card__visual--blue {
  --option-bg: #a9d6ff;
}

.option-card__visual--purple {
  --option-bg: #d9ccff;
}

.option-card__visual--gold {
  --option-bg: #ffe4a9;
}

.option-card__visual--violet {
  --option-bg: #e5d5ff;
}

.option-card__visual--rose {
  --option-bg: #ffd9d9;
}

.option-card__visual--gray {
  --option-bg: #dfdfdf;
}

.option-card__visual--lavender {
  --option-bg: #ead3ff;
}

.option-card__visual--ice {
  --option-bg: #cfe2ff;
}

.option-card__visual--cyan {
  --option-bg: #bbf2ff;
}

.option-card__visual--orange {
  --option-bg: #ffdbb7;
}

.option-card__visual--coral {
  --option-bg: #ffcdcd;
}

.option-card__img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: translate3d(0, 0, 24px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-card__img--seo {
  width: 134px;
}

.option-card__img--newsletter {
  width: 127px;
}

.option-card__img--contact {
  width: 158px;
}

.option-card__img--rtl {
  width: 218px;
}

.option-card__img--tailwind {
  width: 140px;
}

.option-card__img--cart {
  width: 140px;
}

.option-card__browser-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translate3d(0, 0, 24px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-card__browser-icons img:nth-child(2) {
  width: 100px;
}

.option-card__browser-icons img:not(:nth-child(2)) {
  width: 56px;
}

.option-card__media-icons {
  display: flex;
  gap: 16px;
  transform: translate3d(0, 0, 24px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-card__media-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff7b7b 0%, #e94343 100%);
  color: var(--color-white);
  font-size: 28px;
  box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.32), 0 12px 26px rgba(224, 0, 1, 0.18);
}

.option-card__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 24px 26px;
  border-radius: 0 0 12px 12px;
  background: var(--color-white);
  text-align: center;
  transform: translate3d(0, 0, 14px);
  transition: transform 0.35s ease;
}

.option-card__label {
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.33;
}

.option-card__title {
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  text-transform: capitalize;
}

.option-card__text {
  color: var(--color-gray-500);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .optionality .option-card.is-visible:hover {
    z-index: 2;
    transform: rotate3d(1, 1, 0, 9deg);
    box-shadow: 28px 38px 45px -28px rgba(80, 45, 100, 0.35),
      0 24px 35px -12px rgba(80, 45, 100, 0.2);
  }

  .option-card:hover .option-card__visual {
    transform: translate3d(0, 0, 36px);
  }

  .option-card:hover .option-card__img,
  .option-card:hover .option-card__browser-icons,
  .option-card:hover .option-card__media-icons {
    transform: translate3d(0, -8px, 64px) scale(1.06);
  }

  .option-card:hover .option-card__copy {
    transform: translate3d(0, 0, 30px);
  }
}

@media (width >= 48rem) {
  .optionality__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .option-card {
    min-height: 394px;
  }
}

@media (width >= 64rem) {
  .optionality__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .option-card {
    box-shadow: 0 8px 100px rgba(234, 234, 234, 0.95);
  }
}

@media (width >= 80rem) {
  .optionality__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.testimonials {
  position: relative;
  overflow: hidden;
  /* Same bg as optionality — shared gap is optionality's padding-bottom */
  padding-top: 0;
  padding-bottom: var(--section-space);
  background: var(--color-white);
}

.testimonials::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  height: 318px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, var(--color-white) 71%);
  content: "";
  pointer-events: none;
}

.testimonials__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials__stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: -14px;
  color: #ffeab1;
  font-size: 34px;
  line-height: 1;
}

.testimonials__stars svg {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

.testimonials__intro {
  position: relative;
  z-index: 1;
  margin-bottom: var(--section-title-space);
}

.testimonials__grid {
  display: block;
  width: 100%;
  column-count: 1;
  position: relative;
}

@media (width >= 40rem) {
  .testimonials__grid {
    column-count: 2;
    max-width: 100%;
  }
} 

.testimonials__grid::after {
  content: none;
}

.testimonials__col,
.testimonials__col--middle {
  display: contents;
  padding-top: 0;
}

.testimonial-card {
  display: inline-flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-bottom: 16px;
  padding: 24px 18px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 8px 50px rgba(234, 234, 234, 0.9);
  break-inside: avoid;
}

.testimonial-card__title {
  color: var(--color-copy-muted);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.testimonial-card__title span {
  color: var(--color-black);
}

.testimonial-card__quote {
  color: var(--color-gray-500);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.testimonial-card__author {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
}

.testimonial-card__author img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__rating {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  color: #ffc107;
  font-size: 16px;
  line-height: 1;
}

.testimonials__footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  text-align: center;
}

.testimonials__footer p {
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.testimonials__footer .btn {
  gap: 6px;
}

@media (width >= 48rem) {
  .testimonials__stars {
    font-size: 58px;
  }

  .testimonials__grid {
    max-width: 860px;
    column-count: 2;
    column-gap: 24px;
  }

  .testimonial-card {
    margin-bottom: 24px;
    padding: 28px 22px;
  }

  .testimonials__footer {
    margin-top: 32px;
  }

  .testimonials__footer p {
    font-size: 20px;
  }
}

@media (width >= 80rem) {
  .testimonials::after {
    display: block;
  }

  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 424px));
    justify-content: center;
    gap: 24px;
    max-width: none;
    column-count: auto;
  }

  .testimonials__grid::after {
    content: "";
    height: 318px;
    position: absolute;
    width: 100%;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(0deg, #FFF 28.97%, rgba(255, 255, 255, 0.20) 100%);
  }

  .testimonials__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .testimonials__col--middle {
    display: flex;
  }

  .testimonial-card {
    display: flex;
    margin-bottom: 0;
    padding: 32px 24px;
  }

  .testimonials__footer {
    margin-top: -18px;
  }
}
