/* ============================================================
   Whoolo AI — landing page
   Faithful implementation of the Figma design
   ============================================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: "Igra Sans";
  src: url("assets/fonts/igra-sans.woff2") format("woff2"),
       url("assets/fonts/igra-sans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --bg: #020103;
  --text: #ffffff;
  --text-soft: #f0f0f0;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-faint: rgba(255, 255, 255, 0.2);
  --accent: #b372cf;
  --accent-2: #c296ed;
  --border: rgba(255, 255, 255, 0.1);
  --danger: #ff6464;
  --success: #9be39b;

  --grad-cta: linear-gradient(98deg, #ff541f 0%, #6d33a8 100%);
  --grad-heading: linear-gradient(to bottom, #ffffff 54%, #b372cf 100%);
  --grad-features: linear-gradient(128deg, #190d2e 0.5%, #020103 99.5%);

  /* Ambient glows — overridden per theme (see .theme-creators) */
  --fx-glow-hero: radial-gradient(circle, rgba(98, 42, 154, 0.85) 0%, rgba(98, 42, 154, 0.35) 38%, transparent 68%);
  --fx-glow-card: radial-gradient(120% 120% at 0% 0%, rgba(96, 42, 154, 0.22), transparent 55%);
  --fx-glow-pill: radial-gradient(circle, rgba(96, 42, 154, 0.45), transparent 70%);
  --fx-glow-footer: radial-gradient(ellipse, rgba(140, 69, 255, 0.6), transparent 70%);

  --font-display: "Igra Sans", "Poppins", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;

  --container: 1032px;
  --container-wide: 1200px;
  --radius-card: 24px;
  --radius-lg: 32px;
}

/* ---- Theme: UGC creators (warm/orange palette) ----
   Applied via <body class="theme-creators">. Overrides only colors. */
.theme-creators {
  --accent: #ff854f;
  --accent-2: #ff541f;
  --grad-heading: linear-gradient(to bottom, #ffffff 54%, #ffae95 100%);
  --grad-features: linear-gradient(128deg, #2e140d 0.5%, #020103 99.5%);
  --fx-glow-hero: radial-gradient(circle, rgba(255, 90, 40, 0.6) 0%, rgba(154, 105, 42, 0.4) 38%, transparent 68%);
  --fx-glow-card: radial-gradient(120% 120% at 0% 0%, rgba(255, 110, 50, 0.18), transparent 55%);
  --fx-glow-pill: radial-gradient(circle, rgba(154, 96, 42, 0.5), transparent 70%);
  --fx-glow-footer: radial-gradient(ellipse, rgba(255, 156, 69, 0.55), transparent 70%);
}
/* Warm hue tint on the logo orb (mimics #8b2e12 mix-blend-hue in the v2 design) */
.theme-creators .logo__mark { filter: sepia(1) saturate(2.6) hue-rotate(-18deg) brightness(1.02); }

/* ---- Reset ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

/* Keyboard navigation: on-brand focus ring instead of the browser default.
   :focus-visible keeps it off for mouse clicks — it only shows when tabbing. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.page { position: relative; isolation: isolate; overflow-x: clip; }

/* ---- Shared helpers ---- */
.gradient-text {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 60px;
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  padding: 13px 27px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn--gradient {
  background-image: var(--grad-cta);
  color: #fff;
  box-shadow: 0 14px 40px -12px rgba(255, 84, 31, 0.5);
}
.btn--gradient:hover {
  filter: brightness(1.07);
  box-shadow: 0 20px 50px -12px rgba(255, 84, 31, 0.6);
}
.btn--gradient:active {
  filter: brightness(0.95);
  box-shadow: 0 8px 24px -12px rgba(255, 84, 31, 0.5);
}
.btn--light {
  background: #fff;
  color: var(--bg);
}
.btn--light:hover {
  box-shadow: 0 14px 40px -12px rgba(255, 255, 255, 0.45);
}
.btn--light:active {
  filter: brightness(0.92);
  box-shadow: 0 6px 18px -12px rgba(255, 255, 255, 0.4);
}
.btn--block { width: 100%; }

/* Framed CTA: gradient pill wrapped in a translucent ring (matches Figma) */
.btn--framed::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--border);
  border-radius: 48px;
  pointer-events: none;
}

/* ============================================================
   Ambient background (hero rings + glow)
   ============================================================ */
.bg-fx {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1032px, 100vw);
  height: 1100px;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
}
.bg-fx__rings {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1032px;
  height: 1032px;
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ring--1 { width: 1032px; height: 1032px; opacity: 0.4; }
.ring--2 { width: 800px; height: 800px; opacity: 0.18; }
.ring--3 { width: 565px; height: 565px; opacity: 0.4; }
.bg-fx__glow {
  position: absolute;
  top: 420px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: var(--fx-glow-hero);
  filter: blur(80px);
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 37px 24px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.8; }
.logo:active { opacity: 0.6; }
.logo__mark { width: 38px; height: 38px; object-fit: contain; }
.logo__text {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 84px 24px 0;
  max-width: 940px;
  margin: 0 auto;
}
.models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
  max-width: 880px;
}
.models__item {
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-faint);
  white-space: nowrap;
}
.models__sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 826px;
}
.hero__subtitle {
  font-size: 22px;
  color: var(--text-soft);
  margin: 16px 0 0;
  max-width: 840px;
}
.hero .btn { margin-top: 24px; }

/* ============================================================
   UGC gallery marquee
   ============================================================ */
.gallery {
  margin-top: 96px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-left 48s linear infinite;
}
.ugc {
  flex: 0 0 auto;
  width: 282px;
  height: 384px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}
.ugc__img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.ugc__img img,
.ugc__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
@keyframes scroll-right {
  from { transform: translateX(calc(-50% - 8px)); }
  to { transform: translateX(0); }
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  margin-top: 96px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 44px 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.stat__label {
  font-size: 22px;
  color: var(--accent-2);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1;
  color: #fff;
}
.stat__sep {
  width: 1px;
  align-self: stretch;
  min-height: 134px;
  background: rgba(255, 255, 255, 0.12);
}

/* ============================================================
   "AI is too expensive"
   ============================================================ */
.expensive {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--grad-features);
}
.expensive__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 76px 24px;
}
.expensive__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 442px;
}
/* Keep the CTA hugging its text instead of stretching to the column width */
.expensive__content .btn { align-self: flex-start; }
.expensive__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  border: 1px solid rgba(34, 34, 34, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.icon-box img { width: 24px; height: 24px; }
.expensive__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}
.expensive__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 18px;
}
.expensive__list li {
  position: relative;
  padding-left: 27px;
}
.expensive__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.expensive__visual {
  width: 504px;
  max-width: 100%;
  height: 404px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.expensive__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(40px 30px 50px rgba(0, 0, 0, 0.25));
}

/* ============================================================
   Bento grid
   ============================================================ */
.bento {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 0;
}
.bento__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bento__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    var(--fx-glow-card),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.card--tall { min-height: 445px; }
.card--mid { min-height: 343px; }
.card--mid-tall { min-height: 358px; }
.card--short { min-height: 256px; }
.card__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 31px 31px 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.card__media img { height: auto; object-fit: contain; }
/* Per-card figure sizes, tucked top-left — exact Figma bento proportions */
.card__media--xl img { width: 201px; }  /* Бесплатный старт */
.card__media--lg img { width: 184px; }  /* Никакого обучения */
.card__media--md img { width: 127px; }  /* Готовые шаблоны */
.card__media--sm img { width: 96px; }   /* Оплата рублями */
.card__body {
  padding: 0 31px 31px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
  color: #fff;
}
.card__text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Audience pills
   ============================================================ */
.audience {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 0;
}
.audience .section-title { text-align: left; }
.pills {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* break out of the container to bleed edges */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pills__row { overflow: hidden; }
.pills__track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.pills__row--ltr .pills__track { animation: scroll-left 40s linear infinite; }
.pills__row--rtl .pills__track { animation: scroll-right 44s linear infinite; }
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  padding: 24px 40px;
  border: 1px solid var(--border);
  border-radius: 1000px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.pill::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  background: var(--fx-glow-pill);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.pill img {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.pill { isolation: isolate; }

/* ============================================================
   Final CTA
   ============================================================ */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
}
/* Creators variant: final CTA has no ring visual, so widen + add top room */
.cta--no-visual { max-width: 980px; padding-top: 180px; padding-bottom: 120px; }
.cta__ring {
  width: 365px;
  max-width: 80%;
  height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 20px 60px rgba(140, 69, 255, 0.35));
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.cta__subtitle {
  font-size: 22px;
  color: var(--text-soft);
  margin: 24px 0 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 356px;
  height: 260px;
  background: var(--fx-glow-footer);
  filter: blur(70px);
  pointer-events: none;
}
.footer__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 85px 24px;
}
.footer__link {
  font-size: 18px;
  color: #fff;
  transition: color 0.2s ease;
}
.footer__link:hover { color: var(--accent-2); }

/* ============================================================
   Lead form modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 3, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  width: 390px;
  max-width: 100%;
  background: #140f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.modal__visual { width: 156px; height: 156px; object-fit: contain; }
.modal__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  color: #fff;
}
.modal__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal__input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
}
.modal__input::placeholder { color: rgba(255, 255, 255, 0.6); }
.modal__input:focus { border-color: rgba(255, 255, 255, 0.35); }
.modal__input.is-invalid { border-color: var(--danger); }
.modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.modal__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.modal__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}
.modal__error {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--danger);
}
.modal__form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  color: #ffb3b3;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-muted);
}
.modal__checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.modal__checkbox-box {
  flex: 0 0 auto;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.modal__checkbox-box svg { opacity: 0; transition: opacity 0.15s ease; }
.modal__checkbox:checked + .modal__checkbox-box {
  background: #fe531e;
  border-color: #fe531e;
}
.modal__checkbox:checked + .modal__checkbox-box svg { opacity: 1; }
.modal__checkbox:focus-visible + .modal__checkbox-box {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
.modal__checkbox-box.is-invalid { border-color: var(--danger); }
.modal__consent-link {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.modal__consent-link:hover { color: var(--accent-2); }

/* Hide the form once a lead is submitted, leaving only the success block. */
.modal__form.is-sent .modal__field,
.modal__form.is-sent .modal__form-error,
.modal__form.is-sent button[type="submit"] { display: none; }

.modal__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.modal__success:not([hidden]) { display: flex; }
.modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(155, 227, 155, 0.14);
  color: var(--success);
}
.modal__success-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.modal__success-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ============================================================
   Legal pages (privacy policy)
   ============================================================ */
.legal {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal__head {
  margin-bottom: 48px;
  text-align: center;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.legal__updated {
  font-size: 15px;
  color: var(--text-faint);
  margin: 0;
}
.legal__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 40px;
}
.legal__section { margin-bottom: 36px; }
.legal__section:last-child { margin-bottom: 0; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.legal p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.legal p:last-child { margin-bottom: 0; }
.legal ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}
.legal li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}
.legal a:hover { opacity: 0.8; }
.legal strong { color: var(--text-soft); font-weight: 500; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  /* Stack the "expensive" section with the visual ON TOP (matches mobile design) */
  .expensive__inner { grid-template-columns: 1fr; }
  .expensive__content { max-width: none; }
  .expensive__visual { width: 100%; height: 320px; order: -1; }
  .stat__value { font-size: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  /* Bento: single column in true reading order
     (tall → mid → mid → short), not column-by-column */
  .bento__grid { grid-template-columns: 1fr; }
  .bento__col { display: contents; }
  .card--tall { order: 1; }
  .card--mid { order: 2; }
  .card--short { order: 4; }

  /* Stats: 3 full-width rows stacked vertically with horizontal dividers */
  .stats__inner { flex-direction: column; gap: 0; padding: 8px 16px; }
  .stat { width: 100%; padding: 28px 0; }
  .stat__sep {
    width: 100%;
    height: 1px;
    min-height: 0;
    align-self: auto;
  }

  .hero { padding-top: 56px; }
  .gallery { margin-top: 64px; }
  .ugc { width: 240px; height: 327px; padding: 12px; }
  .pill { font-size: 20px; padding: 18px 28px; gap: 16px; }
  .pill img { width: 32px; height: 32px; }
  .bento, .audience, .cta { padding-top: 80px; }
  .cta--no-visual { padding-top: 80px; }
  .section-title { margin-bottom: 40px; }
  .footer__inner { flex-direction: column; text-align: center; padding: 48px 16px; }

  .legal { padding: 48px 20px 72px; }
  .legal__head { margin-bottom: 36px; }
  .legal p, .legal li { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .hero__subtitle, .cta__subtitle { font-size: 18px; }
  .models { gap: 10px; margin-bottom: 48px; }
  .models__item { font-size: 16px; }
  .models__sep { height: 24px; }
}

/* ---- Scroll reveal (added by script.js) ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .gallery__track,
  .pills__row--ltr .pills__track,
  .pills__row--rtl .pills__track { animation: none; }
  html { scroll-behavior: auto; }
}
