@font-face {
  font-family: 'HelveticaNeue';
  src: url('../fonts/helvetica-neue/HelveticaNeueThin.woff2') format('woff2'),
      url('../fonts/helvetica-neue/HelveticaNeueThin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('../fonts/helvetica-neue/HelveticaNeueLight.woff2') format('woff2'),
      url('../fonts/helvetica-neue/HelveticaNeueLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('../fonts/helvetica-neue/HelveticaNeueRegular.woff2') format('woff2'),
      url('../fonts/helvetica-neue/HelveticaNeueRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('../fonts/helvetica-neue/HelveticaNeueMedium.woff2') format('woff2'),
      url('../fonts/helvetica-neue/HelveticaNeueMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeue';
  src: url('../fonts/helvetica-neue/HelveticaNeueBold.woff2') format('woff2'),
      url('../fonts/helvetica-neue/HelveticaNeueBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0c15;
  --bg-deep: #09070d;
  --surface: #14141a;
  --border: #1e1e24;
  --purple: #4a1fb0;
  --pink: #c36e8b;
  --pink-bright: #f58aae;
  --violet: #9b72fc;
  --ice: #f5f6fc;
  --gray-01: #d3d6e0;
  --gray-02: #bcbfcc;
  --gray-03: #9da2b3;
  --gray-04: #6e7180;
  --font: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ice);
  font-family: var(--font);
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

.eyebrow {
  color: var(--pink);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow--light { color: var(--gray-02); letter-spacing: 1.12px; }

.muted { color: var(--gray-03); font-size: 14px; }

.label {
  color: var(--gray-03);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.btn {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  border-radius: 140px;
  font-size: 16px;
}

.btn--pill-solid {
  background: linear-gradient(82deg, rgba(74,31,176,.66) 15.778%, rgba(195,110,139,.66) 102.06%), #fff;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn--outline-pink {
  background: transparent;
  border: 1px solid var(--pink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 8px;
  font-size: 20px;
  font-weight: 500;
}
.btn--outline-pink .btn__icon {
  background: var(--pink);
  border-radius: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px #5f3543;
}
.btn--outline-pink .btn__icon img { width: 20px; }

.btn--outline-gradient {
  background: transparent;
  border: 1.5px solid var(--purple);
  border-radius: 60px;
  padding: 20px 48px;
  font-size: 20px;
  font-weight: 700;
  background-image: linear-gradient(76deg, rgba(74,31,176,.66) 4%, rgba(195,110,139,.66) 99%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ---------- Navbar ---------- */
.navbar {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  height: 80px;
  margin: 30px 20px 0;
  padding: 0 20px;
  background: rgba(20, 20, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
@media (min-width: 1240px) {
  .navbar { margin-left: auto; margin-right: auto; }
}
.navbar__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.navbar__mark { height: 40px; width: 40px; }
.navbar__word { height: 22px; width: auto; }
.navbar__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}
.navbar__links a {
  color: inherit;
  text-decoration: none;
}
.navbar__links .dot { display: flex; }
.navbar__links .dot img { width: 6px; height: 6px; }
.navbar__menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.navbar__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.navbar.is-open .navbar__menu span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar.is-open .navbar__menu span:nth-child(2) { opacity: 0; }
.navbar.is-open .navbar__menu span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 800px;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20,20,26,.9);
  mix-blend-mode: hard-light;
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 296px;
  background: linear-gradient(180deg, rgba(9,7,13,0) 0%, rgba(9,7,13,.8) 50%, rgba(9,7,13,.9) 75%, rgb(9,7,13) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 763px;
  margin: 0 auto;
  padding: 140px 20px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__title {
  font-size: clamp(28px, 5.5vw, 80px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
  background: linear-gradient(170deg, #fff 0%, #71717a 146%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title span { white-space: nowrap; }
.hero__desc {
  color: var(--gray-02);
  font-size: 18px;
  line-height: 1.4;
  max-width: 600px;
}

/* ---------- Sections shared ---------- */
.section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px;
}
.section__head {
  max-width: 689px;
  margin: 0 auto 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section__head--left { margin: 0 0 40px; text-align: left; align-items: flex-start; }
.section__head h2 {
  font-size: clamp(24px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.15;
}
.section__head h2 span, .stats__head h2 span { white-space: nowrap; }
.section__desc {
  color: var(--gray-02);
  font-size: 18px;
  line-height: 1.4;
}
.section__desc--left { max-width: 531px; }
.section__desc--right { color: var(--gray-02); font-size: 18px; line-height: 1.4; max-width: 411px; }

.blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.blob--left {
  left: -320px; top: 40%;
  background: radial-gradient(circle at 40% 40%, var(--purple), transparent 70%);
}
.blob--right {
  right: -320px; top: 20%;
  background: radial-gradient(circle at 60% 40%, var(--pink), transparent 70%);
}

/* Figma decorative orb clusters (page-level accents) */
.deco-orbs,
.deco-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.deco-orbs--eco {
  /* Figma 24:191 — 486×486 at artboard (-256, 3203); ecosystem at (120, 3449) */
  width: 486px;
  height: 486px;
  left: -376px;
  top: -246px;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.95;
}
.deco-glow--eco {
  /* Figma 24:194 gradient — soft left bloom under ecosystem */
  width: 560px;
  height: auto;
  left: -340px;
  bottom: -120px;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.deco-orbs--protect {
  /* Figma 24:190 — right side near Three ways */
  width: 323px;
  height: 505px;
  right: -180px;
  top: 40px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
}
#three-ways,
.section--ecosystem {
  overflow: visible;
}
#three-ways .section__head,
.section--ecosystem .section__head,
.section--ecosystem .eco-grid,
#three-ways .protect-cards {
  position: relative;
  z-index: 1;
}

/* ---------- Compare (Same task) ---------- */
.compare {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.compare__toggle {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: 10px 30px 10px 10px;
}
.compare__tab {
  background: none;
  border: none;
  color: var(--ice);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 60px;
}
.compare__tab--active { background: var(--pink); }

.compare__body {
  display: grid;
  grid-template-columns: minmax(240px, 342px) 16px minmax(220px, 304px) 16px minmax(240px, 376px);
  align-items: start;
  justify-content: center;
  gap: 0 12px;
  width: 100%;
}
.compare__col {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.compare__col--bundle { max-width: 304px; justify-self: center; }
.compare__arrow {
  width: 16px;
  align-self: center;
  margin-top: 0;
  opacity: .7;
}
.compare__col .label {
  margin-bottom: 12px;
  flex-shrink: 0;
}
.compare__col--bundle .label {
  margin-bottom: 12px;
}

.glass-card {
  border: 2px solid #fff;
  border-radius: 14px;
  background: linear-gradient(151deg, rgba(0,0,0,.037) 3.5%, rgba(255,255,255,.083) 95%);
  backdrop-filter: blur(8px);
  padding: 22px 24px;
}
.prompt-card,
.output-card {
  height: 247px;
  min-height: 247px;
  box-sizing: border-box;
}
.prompt-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.avatar {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gray-02);
}
.prompt-card__text { color: var(--gray-02); font-size: 18px; line-height: 1.6; }
.prompt-card__text em { color: var(--pink); font-style: normal; }
.prompt-card hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 20px 0; }
.prompt-card__tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--gray-02); }
.chip {
  border: .5px solid var(--pink);
  background: rgba(195,110,139,.05);
  color: var(--pink-bright);
  border-radius: 30px;
  padding: 8px 10px;
}

.tile-stack {
  position: relative;
  width: 100%;
  height: 247px;
  min-height: 247px;
  max-height: 247px;
  padding: 0;
  box-sizing: border-box;
}
.tile {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 52px;
  border-radius: 10px;
  border: .5px solid;
  padding: 0 20px;
  text-align: center;
  font-size: 18px;
  transform: rotate(-19deg) skewX(28deg);
  transform-origin: center;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
/* Overlapping stack — same visual height as prompt/output cards */
.tile:nth-child(1) { top: 0%; z-index: 6; }
.tile:nth-child(2) { top: 16%; z-index: 5; }
.tile:nth-child(3) { top: 32%; z-index: 4; }
.tile:nth-child(4) { top: 48%; z-index: 3; }
.tile:nth-child(5) { top: 64%; z-index: 2; }
.tile:nth-child(6) { top: 80%; z-index: 1; }

.tile__label {
  position: relative;
  z-index: 1;
  transition: opacity .25s ease;
  white-space: nowrap;
}
.tile__pixels {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%) skewX(-28deg) rotate(19deg);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2;
}
.tile--purple { background: rgba(102,45,239,.1); border-color: var(--violet); color: var(--violet); }
.tile--pink { background: rgba(195,110,139,.1); border-color: var(--pink); color: var(--pink); }

/* PureLabs Approach: pixelate first 3 sensitive tiles */
.compare[data-mode="purelabs"] .tile--sensitive .tile__label {
  opacity: 0;
}
.compare[data-mode="purelabs"] .tile--sensitive .tile__pixels {
  opacity: 1;
}
.compare[data-mode="purelabs"] .tile--sensitive {
  background: rgba(102,45,239,.16);
  box-shadow: 0 0 18px rgba(155,114,252,.18);
}

.skeleton-line {
  background: rgba(217,217,217,.06);
  border-radius: 2px;
  height: 10px;
  margin-bottom: 10px;
  width: 100%;
}
.skeleton-line.short { width: 55%; }
.output-card .muted { margin-top: 20px; display: block; }

/* ---------- Protect cards ---------- */
.protect-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.protect-card {
  position: relative;
  min-height: 348px;
  display: flex;
  flex-direction: column;
}
.protect-card__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.protect-card__body {
  position: relative;
  z-index: 1;
  padding: 34px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 318px;
}
.protect-card__num {
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(119deg, var(--purple) 5%, var(--pink) 93%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.protect-card h3 { font-size: 24px; font-weight: 500; line-height: 1.2; }
.protect-card__body > p:not(.protect-card__num) {
  color: var(--gray-02);
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- Experiments section + carousel (Figma 1201 × 673) ---------- */
.section--experiments {
  max-width: 1241px; /* 1201 content + 20px side padding */
}
.experiments__head {
  margin: 0 0 60px;
  gap: 20px;
  max-width: 531px;
  align-items: flex-start;
  text-align: left;
}
.experiments__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.experiments__title h2 {
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: normal;
}

.carousel {
  /* Figma: left 184 + gap 20 + center 793 + gap 20 + right 184 = 1201 */
  --slide-w: 793px;
  --slide-h: 394px;
  --slide-gap: 20px;
  --peek: 184px;
  position: relative;
  width: 100%;
  max-width: 1201px;
  margin-inline: auto;
}
.carousel__viewport {
  overflow: hidden;
  width: 100%;
  height: var(--slide-h);
}
.carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel.is-dragging .carousel__track {
  transition: none;
}
.carousel__slide {
  position: relative;
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  height: var(--slide-h);
  border: 2px solid #fff;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.45s ease;
}
.carousel__slide.is-active {
  cursor: default;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(195, 110, 139, 0.2);
}
.carousel__slide:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
/* Full-bleed product image as slide background */
.carousel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.carousel__bg--sentinel {
  object-position: 70% center;
}
.carousel__bg--paio {
  object-position: left 30%;
}
.carousel__bg--anchor {
  object-position: center top;
}

/* Dark scrim so caption stays readable over the image */
.carousel__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(75deg, rgba(14, 12, 21, 0.97) 0%, rgba(14, 12, 21, 0.82) 32%, rgba(14, 12, 21, 0.35) 58%, rgba(14, 12, 21, 0.08) 78%, transparent 100%),
    linear-gradient(180deg, transparent 42%, rgba(14, 12, 21, 0.55) 100%);
}

/* Product logos — Figma peek badges; reposition for left/right peeks + active */
.carousel__logo {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  bottom: 40px;
  width: 48px;
  height: 60px;
  object-fit: contain;
  opacity: 1;
  transition: left 0.45s ease, right 0.45s ease, top 0.45s ease, bottom 0.45s ease, opacity 0.35s ease;
}
.carousel__logo--paio {
  width: 60px;
  height: 60px;
}
.carousel__logo--anchor {
  width: 49px;
  height: 60px;
}
/* Left peek shows the right edge of the slide */
.carousel__slide.is-prev .carousel__logo {
  left: auto;
  right: 68px;
}
/* Right peek shows the left edge of the slide */
.carousel__slide.is-next .carousel__logo {
  left: 62px;
  right: auto;
}
/* Centered slide: logo sits above the caption */
.carousel__slide.is-active .carousel__logo {
  left: 38px;
  right: auto;
  bottom: auto;
  top: 150px;
}

/* Caption — Figma: left 38–40, top 222, width 440 */
.carousel__caption {
  position: absolute;
  left: 38px;
  top: 222px;
  z-index: 2;
  width: 440px;
  max-width: calc(100% - 76px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.05s;
}
.carousel__slide.is-active .carousel__caption {
  opacity: 1;
}
.carousel__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.carousel__caption h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}
.carousel__caption p:not(.muted) {
  color: var(--gray-01);
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  width: 100%;
}
.carousel__caption .muted {
  margin: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.dot-btn {
  width: 12px;
  height: 8px;
  border-radius: 5px;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}
.dot-btn--active {
  width: 24px;
  border-radius: 6px;
  background: var(--ice);
}

/* ---------- Ecosystem ---------- */
.eco-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.eco-card--wide { grid-column: 1 / -1; }
.eco-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 39px;
  background: linear-gradient(150deg, rgba(110,113,128,.16) 24%, rgba(0,0,0,.16) 66%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  min-height: 369px;
}
.eco-card__copy { display: flex; flex-direction: column; gap: 10px; }
.eco-card h3 { font-size: 32px; font-weight: 500; letter-spacing: -.96px; line-height: 1.2; }
.eco-card p { color: var(--gray-02); font-size: 18px; line-height: 1.4; }
.eco-card__panel {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(27,28,54,.16) 35%, rgba(112,113,122,.16) 108%);
  padding: 17px 20px;
  backdrop-filter: blur(6px);
}
.eco-card__panel .skeleton-line,
.eco-card__lines .skeleton-line {
  background: #cad1e9;
  height: 15px;
  border-radius: 43px;
  margin-bottom: 0;
}
.eco-card__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.eco-card__icon { width: 80px; height: 80px; margin-bottom: 12px; }
.eco-card__prefs-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}
.eco-card__shield {
  width: 125px;
  height: 125px;
  flex-shrink: 0;
}
.eco-card__panel--compact {
  flex: 1;
  padding: 28px;
  border-color: #2c2d47;
}
.eco-card--wide {
  min-height: 276px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.eco-card--wide .eco-card__copy { max-width: 503px; }
.eco-card__panel--row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 484px;
  max-width: 100%;
  min-height: 195px;
  padding: 22px 20px;
  border-color: #2c2d47;
  flex-shrink: 0;
}
.eco-card__icon-wrap {
  width: 152px;
  height: 152px;
  background: rgba(255,255,255,.07);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px #2d2e48;
}
.eco-card__icon--analytics {
  width: 112px;
  height: 112px;
  margin: 0;
}

/* ---------- Stats ---------- */
#stats { text-align: left; }
.stats__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin: 10px 0 60px;
  flex-wrap: wrap;
}
.stats__head h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -2px;
  max-width: 610px;
}
.stats__row {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
}
.stat__num {
  font-size: clamp(32px, 3.6vw, 60px);
  font-weight: 600;
  letter-spacing: -2.4px;
  background: linear-gradient(97deg, #86479d 0%, #c3a3ce 24%, #e1b6c5 71%, #c36e8b 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--gray-04); font-size: 18px; margin-top: 10px; }
.stat__divider { width: 3px; height: 100px; background: linear-gradient(var(--purple), transparent); flex-shrink: 0; }

/* ---------- Filter (Figma 1200 × 706) ---------- */
.filter {
  position: relative;
  max-width: 1200px;
  width: 100%;
  height: 706px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: #0a0a0c;
}
.filter__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  pointer-events: none;
}
/* Figma Rectangle 36 — top fade */
.filter__fade {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 275px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #0a0a0c 0%, rgba(10, 10, 12, 0.75) 40%, transparent 100%);
}
.filter__content {
  position: absolute;
  left: 50%;
  top: 226px;
  transform: translateX(-50%);
  z-index: 2;
  width: min(762px, calc(100% - 40px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.filter__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.filter__content h2 {
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: normal;
  color: var(--ice);
  margin: 0;
  max-width: 762px;
}
.filter__desc {
  margin: 0;
  width: 100%;
  color: var(--gray-03);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.footer-section { padding-bottom: 60px; }
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-cta__text h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -2px;
  max-width: 428px;
  margin-top: 10px;
}
.footer-cta__form { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.subscribe { display: flex; gap: 10px; }
.subscribe input {
  border: 2px solid var(--purple);
  border-radius: 9px;
  background: transparent;
  color: var(--gray-03);
  font-size: 14px;
  padding: 0 14px;
  width: 260px;
  height: 60px;
  font-family: var(--font);
}
.subscribe input::placeholder { color: var(--gray-03); }
.subscribe .btn--pill-solid { border-radius: 12px; padding: 0 20px; height: 60px; font-size: 14px; }
.socials { display: flex; gap: 8px; }
.social-btn {
  width: 43px; height: 43px;
  border-radius: 11px;
  background: var(--surface);
  border: 1.3px solid #40424d;
  display: flex; align-items: center; justify-content: center;
}
.social-btn img { width: 24px; height: 24px; }

.footer-rule { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}
.footer-links { display: flex; gap: 24px; color: var(--gray-04); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .compare__body {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
  }
  .compare__arrow { transform: rotate(90deg); margin: 0; }
  .compare__col--bundle { max-width: 342px; }
}

/* Figma mobile artboard ~414px — PureLabs Homepage Mob Resp */
@media (max-width: 900px) {
  .section {
    padding: 72px 19px;
    overflow: hidden;
  }
  .blob {
    width: 280px;
    height: 280px;
    filter: blur(60px);
  }
  .blob--left { left: -140px; }
  .blob--right { right: -140px; }
  .section__head {
    margin-bottom: 40px;
    gap: 16px;
  }
  .section__head h2 {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -1px;
  }
  .section__head h2 span,
  .stats__head h2 span {
    white-space: normal;
  }

  /* Nav: logo + hamburger (Figma mobile 24:6939) */
  .navbar {
    height: 70px;
    margin: 14px 14px 0;
    padding: 0 16px;
    border-radius: 16px;
    flex-shrink: 0;
  }
  .navbar__mark { height: 30px; width: 30px; }
  .navbar__word { height: 18px; }
  .navbar__cta { display: none; }
  .navbar__menu { display: flex; }
  .navbar__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(20, 20, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    z-index: 10;
  }
  .navbar__links .dot { display: none; }
  .navbar__links a {
    display: block;
    padding: 14px 16px;
    font-size: 14px;
  }
  .navbar.is-open .navbar__links {
    display: flex;
  }

  /* Hero: Figma 24:6935 — content centered under nav, not flush */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__content {
    flex: 1;
    justify-content: center;
    padding: 48px 20px 72px;
    gap: 40px;
    max-width: 364px;
  }
  .hero__text {
    gap: 10px;
  }
  .hero .eyebrow--light {
    font-size: 11px;
    letter-spacing: 1.12px;
    margin: 0 0 10px;
  }
  .hero__title {
    font-size: clamp(30px, 8.2vw, 36px);
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin: 0;
  }
  /* Keep Figma’s two-line break — don’t reflow mid-phrase */
  .hero__title span {
    white-space: nowrap;
  }
  .hero__desc {
    font-size: 14px;
    line-height: 1.4;
    max-width: 315px;
    margin: 8px 0 0;
  }
  .hero .btn--outline-pink {
    font-size: 14px;
    padding: 6px 16px 6px 6px;
    gap: 8px;
    border-radius: 40px;
  }
  .hero .btn--outline-pink .btn__icon {
    width: 38px;
    height: 38px;
  }
  .hero .btn--outline-pink .btn__icon img {
    width: 16px;
  }

  /* Compare toggle — keep tabs on one line at ~375 */
  .compare__toggle {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 6px;
    padding: 6px;
    justify-content: stretch;
  }
  .compare__tab {
    flex: 1;
    font-size: 13px;
    padding: 12px 10px;
    white-space: nowrap;
    text-align: center;
  }
  .compare__body {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .compare__col--bundle {
    max-width: min(304px, 100%);
  }
  .tile-stack {
    max-width: 100%;
  }

  .protect-cards { grid-template-columns: 1fr; }
  .protect-card h3 { font-size: 24px; }

  /* Experiments: image top + text bottom (no overlay on small screens) */
  .carousel {
    --slide-w: min(366px, calc(100vw - 48px));
    --slide-gap: 16px;
    max-width: 100%;
  }
  .carousel__viewport {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .carousel__slide {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    background: #0e0c15;
  }
  .carousel__bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    object-fit: cover;
    opacity: 1;
  }
  .carousel__bg--paio { object-position: left center; }
  .carousel__bg--anchor { object-position: center top; }
  .carousel__bg--sentinel { object-position: 60% center; }
  .carousel__scrim { display: none; }
  .carousel__logo,
  .carousel__slide.is-active .carousel__logo {
    display: none;
  }
  .carousel__caption {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 16px 18px 18px;
    gap: 12px;
    opacity: 1;
    pointer-events: none;
  }
  .carousel__caption h3 {
    font-size: 22px;
    color: #fff;
  }
  .carousel__caption p:not(.muted) {
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray-01);
  }
  .carousel__dots { margin-top: 28px; }
  .experiments__head { margin-bottom: 32px; max-width: 100%; }

  /* Compare: keep prompt + bundle fully readable in the stack */
  .compare {
    gap: 28px;
  }
  .prompt-card,
  .output-card {
    max-width: 100%;
  }
  .tile-stack {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }
  .tile {
    font-size: 15px;
    height: 48px;
    left: 10%;
    right: 10%;
  }

  .eco-grid { grid-template-columns: 1fr; }
  .eco-card {
    min-height: 0;
    padding: 28px;
  }
  .eco-card h3 { font-size: 26px; }
  .eco-card--wide { flex-direction: column; align-items: flex-start; }
  .eco-card__panel--row { width: 100%; }

  /* Stats: 2×2 like Figma mobile */
  .stats__head {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .stats__head h2 {
    font-size: clamp(28px, 8vw, 36px);
    max-width: 100%;
  }
  .section__desc--right { max-width: 100%; }
  .stats__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    align-items: start;
  }
  .stat__divider { display: none; }
  .stat__num { font-size: clamp(28px, 8vw, 40px); letter-spacing: -1.5px; }
  .stat__label { font-size: 14px; }

  .filter {
    height: auto;
    min-height: 420px;
    width: 100%;
    max-width: none;
    aspect-ratio: 414 / 490;
  }
  .filter__content {
    top: 30%;
    width: min(340px, calc(100% - 40px));
  }
  .filter__content h2 { font-size: 28px; letter-spacing: -1px; }
  .filter__desc { font-size: 16px; }

  .deco-orbs--eco {
    left: -180px;
    top: -80px;
    width: 280px;
    height: 280px;
  }
  .deco-glow--eco { display: none; }
  .deco-orbs--protect {
    right: -100px;
    width: 180px;
    height: auto;
    opacity: 0.65;
  }

  /* Footer: stacked form + centered brand */
  .footer-cta {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cta__text h2 {
    font-size: clamp(28px, 8vw, 36px);
    max-width: 100%;
  }
  .footer-cta__form {
    align-items: stretch;
    width: 100%;
  }
  .subscribe {
    flex-direction: column;
    width: 100%;
  }
  .subscribe input {
    width: 100%;
    box-sizing: border-box;
  }
  .subscribe .btn--pill-solid {
    width: 100%;
  }
  .socials { justify-content: flex-start; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }
}

/* ---------- WordPress FSE bridge ---------- */
.purelabs-home,
.purelabs-pattern {
  background: transparent;
}
.purelabs-pattern.wp-block-group {
  margin-block: 0;
}
.wp-block-html {
  margin: 0;
}
/* Keep interactive buttons looking like the design inside WP */
.purelabs-pattern button.btn,
.purelabs-pattern a.btn {
  font-family: inherit;
  text-decoration: none;
}
