/* Golos Text, self-hosted from the designer's PDP export (SELL-1527); woff2 only */
@font-face {
  font-family: 'Golos Text';
  src: url('../../fonts/GolosText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../../fonts/GolosText-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../../fonts/GolosText-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../../fonts/GolosText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Palette taken from the designer's PDP stylesheet (SunCatcher_LP/css/style.css) */
:root {
  /* Brand */
  --brand-primary: #51bd50;        /* CTA green */
  --brand-primary-deep: #21b120;   /* header pill green */
  --brand-secondary: #f5fbff;      /* light blue section background */
  --brand-accent: #ee8600;         /* orange heading accent + step badges */
  --brand-blue: #255a9f;           /* card borders, compare highlight column, FAQ borders */
  --brand-blue-soft: #d7e8ff;      /* icon circles, rating box border */
  --brand-blue-pill: #e3efff;      /* gift box pills */
  --brand-tint: #f5fbff;           /* read by compare-5 */

  /* Surfaces */
  --surface-bg: #ffffff;
  --surface-card: #ffffff;
  --surface-alt: #f5fbff;

  /* Text */
  --text-primary: #000000;
  --text-secondary: #000000;
  --text-inverse: #ffffff;

  /* Border */
  --border-default: #bcc7d5;

  /* State */
  --state-success: #51bd50;
  --state-warning: #f59e0b;
  --state-error: #ff0000;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Golos Text', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Design-level helpers shared by every landing section (values from the designer's CSS) */
.lp-container { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px)  { .lp-container { max-width: 750px;  padding: 0; } }
@media (min-width: 1024px) { .lp-container { max-width: 1004px; } }
@media (min-width: 1280px) { .lp-container { max-width: 1170px; } }

.lp-section { padding: 30px 0 40px; }
@media (min-width: 768px) { .lp-section { padding: 60px 0 65px; } }

.lp-heading { font-size: 30px; line-height: 36px; letter-spacing: -1px; font-weight: 700; color: var(--text-primary); }
@media (min-width: 768px)  { .lp-heading { font-size: 38px; line-height: 42px; } }
@media (min-width: 1024px) { .lp-heading { font-size: 44px; line-height: 48px; } }
@media (min-width: 1280px) { .lp-heading { font-size: 50px; line-height: 54px; } }
.lp-heading span { color: var(--brand-accent); }

.lp-paragraph { font-size: 16px; line-height: 24px; font-weight: 400; margin-top: 15px; color: var(--text-primary); }

/* PDP CTA button look */
.landing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 60px;
  background: var(--brand-primary);
  color: var(--text-inverse);
  font-size: 21px;
  line-height: 22px;
  letter-spacing: 0.5px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  transition: filter 0.15s ease;
}
@media (min-width: 768px) { .landing-cta { font-size: 22px; } }
.landing-cta:hover { filter: brightness(0.95); }

/* CTA attention pulse on every button (reference: velin grounded-sheets `.order-btn-pulse`) */
@keyframes lp-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.landing-cta { animation: lp-pulse 2s ease-in-out infinite; transform-origin: center; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .landing-cta { animation: none; } }

/* Horizontal marquee (icons-1 feature strip, ugc-5 photo strip): track holds the set twice */
@keyframes lp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.lp-marquee-track { animation: lp-marquee 20s linear infinite; will-change: transform; }
.lp-marquee-track:hover { animation-play-state: paused; }

/* Blinking "stock low" cube (cta-2) */
@keyframes lp-fade {
  0%   { opacity: 1; }
  50%  { opacity: 0.1; }
  100% { opacity: 1; }
}
.lp-fade { animation: lp-fade 1.2s ease-in-out infinite; }

/* Generic Swiper helpers (opt-in via data attributes) — from the upstream landing library */
[data-swiper-root][data-swiper-stretch-slides="true"] .swiper-wrapper,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-wrapper {
  align-items: stretch;
}
[data-swiper-root][data-swiper-stretch-slides="true"] .swiper-slide,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-slide {
  display: flex;
  height: auto;
}
[data-swiper-root][data-swiper-stretch-slides="true"] .swiper-slide > *,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-slide > * {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

[data-swiper-root][data-swiper-pagination-style="pill"] .swiper-pagination,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 9999px;
  width: auto !important;
  bottom: auto !important;
}

[data-swiper-root][data-swiper-pagination-style="pill"] .swiper-pagination .swiper-pagination-bullet,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-pagination .swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 9999px;
  background-color: var(--brand-blue);
  opacity: 0.35;
  transition: width 200ms ease, opacity 200ms ease;
}

[data-swiper-root][data-swiper-pagination-style="pill"] .swiper-pagination .swiper-pagination-bullet-active,
[data-swiper-root][data-swiper-variant="sw-landing1"] .swiper-pagination .swiper-pagination-bullet-active {
  width: 28px;
  opacity: 1;
}

/* cta-2 variants: gift-box card (compact) and the mobile sticky bar */
.landing-cta--compact { height: 52px; font-size: 17px; }
@media (min-width: 1536px) { .landing-cta--compact { font-size: 18px; } }
.landing-cta--sticky { height: 56px; }

/* Swiper paddings. Tailwind v4 utilities live in @layer, so Swiper's unlayered `.swiper { padding: 0 }` wins every
   tie regardless of load order; slider paddings therefore live here. */
.lp-swiper-protrude .swiper { padding-top: 70px; }          /* features-8: round photos protrude above the cards */
@media (min-width: 768px) { .lp-swiper-protrude .swiper { padding-top: 96px; } }
.lp-swiper-shadow-room .swiper { padding: 8px 0; }          /* reviews-1: room for the card shadow */

/* 2-row promo strip (js/promo-banner.js) renders from JS; reserve its height so the page does not jump
   (measured 2026-10-16, the same values as brand.css on the checkout). */
promo-banner { display: block; min-height: 103px; }
@media screen and (max-width: 767px) { promo-banner { min-height: 164px; } }
@media screen and (max-width: 360px) { promo-banner { min-height: 154px; } }
