:root {
  --blush: var(--z-color-blush);
  --rose: var(--z-color-rosewater);
  --rose-deep: var(--z-color-accent);
  --lilac: var(--z-color-lilac);
  --lilac-deep: #7f77dd;
  --cream: var(--z-color-cream);
  --cream-deep: #ba7517;
  --ink: var(--z-color-text);
  --ink-soft: var(--z-color-text-muted);
  --plum: var(--z-color-brand);
  --indigo: #26215c;
  --amber-ink: #412402;
  --paper: var(--z-color-background);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--z-font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1,
h2,
h3,
.serif {
  font-family: var(--z-font-heading);
  font-weight: 500;
}

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

a:focus-visible,
button:focus-visible {
  outline: var(--z-focus-ring);
  outline-offset: var(--z-focus-offset);
}

/* marquee */
.marquee {
  background: var(--lilac);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.marquee > span {
  display: inline-block;
  padding-right: 60px;
  animation: scroll 22s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 32px 80px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.hero::before {
  background: var(--hero-desktop-image, url("/assets/images/hero-desktop.png"))
    center / cover no-repeat;
  transform: scale(var(--hero-background-scale, 1));
  transform-origin: center;
  transition: transform 80ms linear;
  will-change: transform;
}

.hero::after {
  background: linear-gradient(
    90deg,
    rgba(255, 250, 251, 0.88) 0%,
    rgba(255, 250, 251, 0.62) 48%,
    rgba(255, 250, 251, 0.22) 100%
  );
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: center;
  position: relative;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-media {
  display: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--plum);
  color: var(--blush);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.hero-visual {
  aspect-ratio: 4/5;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 251, 0.1);
}

.charm {
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.7;
}

.charm.c1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: -30px;
}

.charm.c2 {
  width: 70px;
  height: 70px;
  bottom: 18%;
  right: 10%;
  background: var(--paper);
  opacity: 0.5;
}

.hero-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
}

/* divider */
.scallop {
  width: 100%;
  height: 28px;
  display: block;
}

/*Category segments */
.section {
  padding: var(--z-section-space) var(--z-container-padding);
  scroll-margin-top: 200px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 46px;
}

.section-head .eyebrow {
  justify-content: center;
  display: flex;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 10px;
}

.segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--z-grid-gap);
  max-width: var(--z-container);
  margin: 0 auto;
}

.seg-card {
  position: relative;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--z-motion-slow) var(--z-ease-standard);
}

.seg-card:hover,
.seg-card:focus-visible {
  transform: translateY(-6px);
}

.hero-trust {
  display: flex;
  max-width: 560px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  flex-wrap: wrap;
  gap: 12px 20px;
  border-top: 1px solid rgba(75, 21, 40, 0.12);
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.hero-trust i {
  color: var(--rose-deep);
}

.hero-trust a {
  text-decoration: underline;
  text-decoration-color: rgba(212, 83, 126, 0.4);
  text-underline-offset: 3px;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.seg-card:hover .category-img,
.seg-card:focus-visible .category-img {
  transform: scale(1.08);
}

.seg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 10%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.seg-card h3,
.seg-card p {
  position: absolute;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #fff;
}

.seg-card h3 {
  bottom: 42px;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.seg-card p {
  bottom: 18px;
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* featured products */
.best-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--z-container);
  margin: 0 auto;
  padding-bottom: 12px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
}

.best-strip::-webkit-scrollbar {
  display: none;
}

.category-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, var(--blush), var(--cream));
  color: var(--rose-deep);
  font: 600 54px/1 var(--z-font-heading);
}

.category-image-fallback[hidden] {
  display: none;
}

.category-skeleton,
.ugc-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.category-skeleton {
  height: 280px;
}

.ugc-skeleton {
  aspect-ratio: 3 / 4;
  background: rgba(206, 203, 246, 0.14);
}

.category-skeleton::after,
.ugc-skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  content: "";
  transform: translateX(-100%);
  animation: home-shimmer 1.35s infinite;
}

@keyframes home-shimmer {
  to {
    transform: translateX(100%);
  }
}

.best-strip .home-state {
  flex: 1 0 100%;
}

.section-action {
  display: flex;
  margin-top: 30px;
  justify-content: center;
}

/* ugc */
.ugc-section {
  background: var(--indigo);
  color: var(--lilac);
  padding: 70px 32px;
}

.ugc-section .section-head h2,
.ugc-section .section-head p {
  color: var(--lilac);
}

.ugc-section .eyebrow {
  color: var(--cream);
}

.ugc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--z-grid-gap);
  max-width: var(--z-container);
  margin: 0 auto;
}

.ugc-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(206, 203, 246, 0.25),
    rgba(212, 83, 126, 0.25)
  );
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-size: 12px;
  font-weight: 600;
}

.ugc-reel {
  isolation: isolate;
  color: #fff;
  text-decoration: none;
}

.ugc-reel::after {
  position: absolute;
  z-index: -1;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  content: "";
}

.ugc-reel img,
.ugc-reel video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ugc-reel.has-media-error {
  background: linear-gradient(
    145deg,
    rgba(206, 203, 246, 0.3),
    rgba(212, 83, 126, 0.34)
  );
}

.ugc-reel-title {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  padding-right: 34px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ugc-reel-play {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--indigo);
  font-size: 12px;
  place-items: center;
}

.ugc-reel:hover img {
  transform: scale(1.04);
}

.ugc-reel img {
  transition: transform 0.25s ease;
}

/* founder */

.founder {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font:
    600 28px/1 Fraunces,
    serif;
  text-decoration: none;
}

.founder h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.founder p {
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 600px;
  margin: 0 auto;
}

.founder .sign {
  margin-top: 22px;
  font-family: var(--z-font-heading);
  font-style: italic;
  font-size: 18px;
  color: var(--rose-deep);
}

.why-zovana {
  padding: 74px 32px 80px;
  background: var(--blush);
}

.why-zovana-grid {
  display: grid;
  max-width: var(--z-container);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--z-grid-gap);
}

.why-zovana-card {
  display: flex;
  min-width: 0;
  padding: 26px;
  flex-direction: column;
  border: 1px solid rgba(212, 83, 126, 0.15);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(75, 21, 40, 0.06);
}

.why-zovana-card > i {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--rose-deep);
  font-size: 17px;
}

.why-zovana-card h3 {
  margin: 0 0 9px;
  color: var(--plum);
  font-size: 19px;
  line-height: 1.3;
}

.why-zovana-card p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.why-zovana-card a {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-underline-offset: 4px;
}

.home-state {
  display: grid;
  min-height: 180px;
  padding: 30px;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(75, 21, 40, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 251, 0.72);
  color: var(--ink);
  text-align: center;
}

.home-state h3 {
  margin: 0 0 8px;
  color: var(--plum);
  font-size: 20px;
}

.home-state p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.home-state__actions {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.home-state__action {
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid var(--plum);
  border-radius: var(--z-radius-control);
  background: var(--plum);
  color: #fff;
  cursor: pointer;
  font: 700 12px/1.2 var(--z-font-body);
}

.home-state__action--secondary {
  background: transparent;
  color: var(--plum);
}

.ugc-section .home-state {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ugc-section .home-state h3,
.ugc-section .home-state p {
  color: inherit;
}

.ugc-section .home-state__action {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--indigo);
}

.ugc-section .home-state__action--secondary {
  background: transparent;
  color: var(--cream);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .segments {
    grid-template-columns: repeat(2, 1fr);
  }

  .ugc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-zovana-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 38px;
  }

  .segments {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 44px 20px 38px;
    background: linear-gradient(155deg, #fffdf9 10%, #fff6f7 100%);
  }

  .hero-inner {
    display: block;
  }

  .hero-inner > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero .eyebrow {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-align: center;
  }

  .hero h1 {
    max-width: 390px;
    margin: 0 auto 32px;
    font-size: clamp(35px, 10vw, 44px);
    line-height: 1.08;
    text-align: center;
  }

  .hero p {
    display: none;
  }

  .hero-media {
    display: block;
    width: 100%;
    aspect-ratio: 1.26 / 1;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 18px;
    background: var(
        --hero-mobile-image,
        url("/assets/images/hero-phone.png")
      )
      center 58% / cover no-repeat;
    box-shadow: 0 12px 30px rgba(75, 21, 40, 0.08);
  }

  .hero .btn-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .hero .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  .hero .btn-row .z-button--primary {
    min-height: 58px;
    border-radius: 999px;
    font-size: 16px;
  }

  .hero .btn-row .z-button--outline {
    width: auto;
    min-height: 36px;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
  }

  .hero .btn-row .z-button--outline:hover {
    background: transparent;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero-trust {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding-top: 24px;
    gap: 12px 24px;
    border-top: 0;
  }

  .hero-trust li {
    font-size: 11px;
  }

  .charm.c1 {
    width: 80px;
    height: 80px;
  }

  .charm.c2 {
    width: 40px;
    height: 40px;
  }

  .seg-card h3 {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .seg-card p {
    font-size: 10px;
    opacity: 0.85;
  }

  .segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .seg-card {
    height: 190px;
  }

  .category-skeleton {
    height: 190px;
  }

  .best-strip .z-product-card,
  .best-strip .z-product-card-skeleton {
    scroll-snap-align: start;
  }

  .ugc-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .ugc-grid::-webkit-scrollbar {
    display: none;
  }

  .ugc-tile,
  .ugc-skeleton {
    flex: 0 0 min(280px, 82vw);
    scroll-snap-align: start;
  }

  .ugc-section,
  .why-zovana,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .why-zovana-grid {
    grid-template-columns: 1fr;
  }

  .why-zovana-card {
    padding: 22px;
  }

  .home-state {
    min-height: 160px;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee > span,
  .category-skeleton::after,
  .ugc-skeleton::after {
    animation: none;
  }

  .btn,
  .seg-card,
  .category-img,
  .ugc-reel img {
    transition-duration: 0.01ms;
  }

  .hero::before {
    transform: scale(1);
    transition: none;
  }
}

.find-zovana-cta {
  max-width: var(--z-container);
  margin: 0 auto var(--z-section-space);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(75, 21, 40, 0.14);
  border-radius: 20px;
  background: linear-gradient(115deg, #fbeaf0, #fffaf7);
}

.find-zovana-cta .eyebrow {
  display: flex;
}
.find-zovana-cta h2 {
  margin: 7px 0;
  font-size: clamp(24px, 3vw, 34px);
}
.find-zovana-cta p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .find-zovana-cta {
    margin-inline: var(--z-container-padding);
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
  }
}
.promotional-banners {
  background: #fbeaf0;
  padding: clamp(34px, 5vw, 72px) 0;
}
.promo-carousel {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(72, 29, 48, 0.12);
}
.promo-slide {
  position: relative;
  min-height: clamp(390px, 43vw, 620px);
  background: #fbeaf0;
}
.promo-slide__surface {
  position: relative;
  display: block;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}
.promo-slide picture,
.promo-slide picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.promo-slide picture img {
  object-fit: cover;
}
.promo-slide__copy {
  position: relative;
  min-height: inherit;
  box-sizing: border-box;
  padding: clamp(54px, 8vw, 125px) clamp(24px, 7vw, 100px);
  color: #fff;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  background: linear-gradient(
    90deg,
    rgba(44, 44, 42, 0.66),
    rgba(44, 44, 42, 0.18) 62%,
    rgba(44, 44, 42, 0.05)
  );
}
.promo-slide__copy--center {
  justify-items: center;
  text-align: center;
}
.promo-slide__copy--right {
  justify-items: end;
  text-align: right;
}
.promo-slide__copy h2 {
  font-family: Fraunces, serif;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 1.02;
  max-width: 650px;
  margin: 0;
}
.promo-slide__copy p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 540px;
  margin: 0;
  line-height: 1.6;
}
.promo-slide__cta {
  margin-top: 4px;
  pointer-events: none;
}
.promo-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fffdf0d9;
  color: #4b1528;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.promo-carousel__previous {
  left: 18px;
}
.promo-carousel__next {
  right: 18px;
}
.promo-carousel__dots {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.promo-carousel__dot {
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 0;
  background: #ffffff75;
  cursor: pointer;
}
.promo-carousel__dot[aria-current="true"] {
  background: #fff;
}
@media (max-width: 540px) {
  .promotional-banners {
    padding: 32px 0;
  }
  .promo-carousel {
    width: 100%;
    border-radius: 0;
  }
  .promo-slide {
    min-height: 560px;
  }
  .promo-slide__copy {
    min-height: 560px;
    align-content: end;
    padding: 38px 28px 68px;
    background: linear-gradient(
      0deg,
      rgba(44, 44, 42, 0.72),
      rgba(44, 44, 42, 0.05) 80%
    );
  }
  .promo-carousel__control {
    top: auto;
    bottom: 12px;
    transform: none;
    width: 34px;
    height: 34px;
    font-size: 25px;
  }
  .promo-carousel__previous {
    left: 18px;
  }
  .promo-carousel__next {
    right: 18px;
  }
  .promo-carousel__dots {
    bottom: 26px;
  }
}
.featured-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}
.featured-offer {
  padding: 22px;
  border: 1px solid #ecc9d7;
  border-radius: 16px;
  background: #fff8fb;
}
.featured-offer strong {
  display: block;
  color: #7a2748;
  font:
    600 28px Fraunces,
    serif;
}
.featured-offer code {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 9px;
  border: 1px dashed #b54570;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
