/* ============================================ */
/* RESET & BASE                                 */
/* ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-dark: #1B1D1E;
  --color-body: #333333;
  --color-muted: rgba(27, 29, 30, 0.6);
  --color-white: #FFFFFF;
  /* Warm page background — cards & overlays stay --color-white so they lift off it */
  --color-page-bg: #FAF6EC;
  --color-purple: #0061FF;
  --color-yellow: #F6E683;
  --color-border: rgba(27, 29, 30, 0.1);
  --color-light-bg: rgba(27, 29, 30, 0.05);
  --color-brand-cream: #F4F1EA;

  /* Gradients */
  --gradient-mint:   linear-gradient(135deg, hsl(145 54% 88%), hsl(145 54% 95%));
  --gradient-peach:  linear-gradient(135deg, hsl(33 100% 77%), hsl(33 100% 85%));
  --gradient-yellow: linear-gradient(135deg, hsl(50 100% 79%), hsl(50 100% 87%));
  --gradient-pink:   linear-gradient(135deg, hsl(358 71% 86%), hsl(358 71% 92%));
  --gradient-warm:   linear-gradient(135deg, hsl(33 100% 77%), hsl(50 100% 79%));

  /* Badge / card colors */
  --color-badge-purple: rgba(186, 129, 238, 0.2);
  --color-badge-blue: rgba(112, 181, 255, 0.2);
  --color-badge-orange: rgba(255, 175, 104, 0.2);
  --color-badge-pink: rgba(244, 136, 154, 0.2);
  --color-badge-green: rgba(121, 212, 94, 0.2);

  /* Typography */
  --font-primary: "Inter Tight", system-ui, sans-serif;
  --font-accent: "Instrument Serif", serif;
  --font-hero: "Inter Tight", system-ui, sans-serif;
  --font-ui: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Stripe-style hero palette */
  --color-hero-bg: #FAF6EC;
  --color-headline-top: #635BFF;
  --color-headline-bottom: #14082B;
  --color-subcopy: #425466;

  /* Layout */
  --container-max: 1272px;
  --container-padding: 0 20px;

  /* Radius */
  --radius-pill: 999px;
  --radius-btn: 33px;
  --radius-card: 16px;
  --radius-card-lg: 24px;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-body);
  background: var(--color-page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ============================================ */
/* TYPOGRAPHY                                   */
/* ============================================ */
.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.section-heading {
  text-align: center;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 48px;
}

/* ============================================ */
/* NAVIGATION                                   */
/* ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483647;
  padding: 25px 24px 0;
  background: transparent;
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 72px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 0 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #1F1F1F;
  border-radius: 20px;
  box-shadow: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100px;
  height: 26px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.nav-link {
  font-family: var(--font-hero);
  font-size: 16px;
  font-weight: 400;
  color: #1F1F1F;
  padding: 8px 11px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #635BFF;
}

.nav-link.active {
  color: #14082B;
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 22.5px;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nav-btn--primary {
  background: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
  color: #FFFFFF;
  border: none;
}

.nav-btn--primary:hover {
  filter: brightness(1.05);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 20;
  position: relative;
}

.hamburger img {
  width: 24px;
  height: 24px;
}

.hamburger-close {
  display: none;
}

.hamburger.is-open .hamburger-open {
  display: none;
}

.hamburger.is-open .hamburger-close {
  display: block;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-dark);
}

.mobile-nav-cta {
  margin-top: 16px;
}

/* ============================================ */
/* HERO SECTION                                 */
/* ============================================ */
.hero {
  position: relative;
  /* 760 visible band + 97 padding so hero content clears the fixed nav
     (25px wrapper + 72px pill); the hero background sits behind the nav. */
  min-height: 857px;
  background: var(--color-hero-bg);
  overflow: hidden;
  isolation: isolate;
  padding-top: 97px;
}

/* Skewed gradient layer — single replaceable target so a future WebGL
   <canvas> can drop in without touching surrounding markup or CSS. */
.hero-gradient {
  position: absolute;
  top: -138px;
  left: 0;
  right: 0;
  height: 100%;
  background: #14082B;
  transform: matrix(1, -0.13, 0, 1, 0, 0);
  transform-origin: top left;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -150px;
  right: -150px;
  height: 120px;
  background: url("../assets/images/hero-mesh-gradient.png") center/cover no-repeat;
  filter: blur(36px);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding: 56px 20px 32px;
}

.hero-text {
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(20, 8, 43, 0.4);
}

.hero-text-link {
  transition: opacity 0.2s ease;
}

.hero-text-link:hover {
  opacity: 0.75;
}

/* Hero text — light treatment to sit on the dark banner */
.hero .hero-headline {
  font-family: var(--font-hero);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-brand-cream);
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.9;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}

.hero .hero-headline .accent-serif {
  background: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  font-size: 1.05em;
}

/* Rainbow italic accent — applied to specific spots across the page */
.features .section-heading .accent-serif,
.team-story-heading .accent-serif,
.footer-tagline .accent-serif,
.about-statement .accent-serif,
.how-it-works .section-heading .accent-serif {
  background: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Override the text-reveal animation's per-char opacity inside gradient-fill spans.
   Any opacity < 1 creates a new stacking context and breaks background-clip: text on the
   ancestor, so chars render as their transparent color (invisible). */
.features .section-heading .accent-serif .char,
.team-story-heading .accent-serif .char,
.about-statement .accent-serif .char,
.how-it-works .section-heading .accent-serif .char {
  opacity: 1 !important;
}

.hero .hero-subcopy {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  color: rgba(244, 241, 234, 0.85);
  margin-bottom: clamp(28px, 3vw, 44px);
}

.hero .hero-btn-primary {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 22.5px;
  padding: 10px 22px;
  border-radius: 22px;
  background: var(--color-brand-cream);
  color: #0A0A0A;
}

.hero .hero-text-link {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--color-brand-cream);
}

/* Right column — layered placeholder mockups */
.hero-mockups {
  position: relative;
  height: clamp(420px, 45vw, 540px);
}

.hero-mockup-card {
  position: absolute;
  background: #FFFFFF;
  box-shadow:
    0 60px 120px -30px rgba(20, 8, 43, 0.25),
    0 30px 60px -20px rgba(20, 8, 43, 0.15);
  padding: 24px;
}

.hero-mockup-card--dashboard {
  width: clamp(420px, 48vw, 580px);
  height: clamp(280px, 32vw, 380px);
  right: clamp(-120px, -10vw, -60px);
  top: 80px;
  border-radius: 16px;
  transform: rotate(-2deg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-mockup-card--phone {
  width: clamp(180px, 20vw, 240px);
  height: clamp(360px, 40vw, 480px);
  right: clamp(260px, 27vw, 380px);
  top: 30px;
  border-radius: 36px;
  transform: rotate(4deg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 20px 24px;
}

.mockup-bar {
  background: #E3E8EE;
  border-radius: 6px;
  height: 12px;
}

.mockup-bar--title {
  height: 18px;
  width: 60%;
  background: #C1C9D2;
}

.mockup-bar--short {
  width: 50%;
}

.mockup-bar--avatar {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: #C1C9D2;
}

.mockup-bar--button {
  margin-top: auto;
  height: 40px;
  border-radius: 999px;
  background: var(--color-headline-bottom);
}

.mockup-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-row {
  height: 14px;
  border-radius: 4px;
  background: #E3E8EE;
}

.mockup-row--short {
  width: 65%;
}

.mockup-chart {
  flex: 1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 60%, rgba(99, 91, 255, 0.18)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(99, 91, 255, 0.08) 47px,
      rgba(99, 91, 255, 0.08) 48px
    ),
    #F6F9FC;
  position: relative;
}

.mockup-chart::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 38%;
  background: linear-gradient(135deg, var(--color-headline-top), #81C7FF);
  clip-path: polygon(
    0% 80%, 12% 60%, 24% 70%, 36% 40%, 48% 55%, 60% 25%, 72% 45%, 84% 20%, 100% 35%,
    100% 100%, 0% 100%
  );
  opacity: 0.85;
}

.mockup-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #14082B;
  border-radius: 0 0 12px 12px;
}

/* In-hero logos strip — pinned to the bottom of the hero, sitting in the
   off-white area below the diagonal cut. */
.hero-logos {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0 24px;
}

.hero-logos .logo-bar-divider {
  margin-bottom: 16px;
}

.hero-logos .marquee-overlay-left {
  background: linear-gradient(90deg, var(--color-hero-bg), rgba(250, 246, 236, 0) 75%);
}

.hero-logos .marquee-overlay-right {
  background: linear-gradient(90deg, rgba(250, 246, 236, 0), var(--color-hero-bg) 75%);
}

.logo-bar-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.divider-text {
  font-size: 14px;
  color: var(--color-muted);
  white-space: nowrap;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-overlay-left,
.marquee-overlay-right {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-overlay-left {
  left: 0;
  background: linear-gradient(90deg, var(--color-page-bg), rgba(250, 246, 236, 0) 75%);
}

.marquee-overlay-right {
  right: 0;
  background: linear-gradient(90deg, rgba(250, 246, 236, 0), var(--color-page-bg) 75%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
  flex-shrink: 0;
}

.hero-logos .marquee-track {
  animation-duration: 75s;
}

.hero-logos .marquee-content {
  gap: 36px;
  padding: 0 18px;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  width: 180px;
  height: auto;
  aspect-ratio: 618 / 232;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* ============================================ */
/* ABOUT / PROBLEM STATEMENT SECTION            */
/* ============================================ */
/* Problem + Solution statements — pitch-deck treatment: mono eyebrow, thin
   rainbow rule, big left-aligned Inter Tight bold with serif-rainbow emphasis. */
.about {
  padding: 96px 0 48px;
}

.about .container {
  max-width: var(--container-max);
  width: 100%;
}

.about-block {
  max-width: 1060px;
  margin: 0 auto;
}

.about-block + .about-block {
  margin-top: 64px;
}

.about-statement {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(28px, 3.7vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  text-align: center;
  margin: 0;
}

/* Section anchor headings — heavy editorial weight to punctuate each major
   section. Mirrors the visual weight of the carousel "Supertest your"
   tagline. Excludes pull-quote sections (Andrew Ng, Elena Verna) and the
   About statements, which keep their lighter weight by design. */
.features .section-heading,
.how-it-works .section-heading,
.team .section-heading,
.testimonials .section-heading,
.pricing .section-heading,
.faq .section-heading {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
}

/* ============================================ */
/* TAGLINE STRIPE (rotating-word)               */
/* ============================================ */
.topics-tagline {
  position: relative;
  width: 100%;
  padding: 48px 0;
  text-align: center;
  overflow: hidden;
  background: url("../assets/images/hero-mesh-gradient.png") center/cover no-repeat;
}

.topics-tagline .marquee-overlay-left,
.topics-tagline .marquee-overlay-right {
  width: 180px;
}

.tagline-stripe-text {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--color-headline-bottom);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  flex-wrap: nowrap;
}

.tagline-carousel {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.2em;
  padding-left: 0.05em;
  padding-bottom: 0.15em;
  position: relative;
}

.tagline-carousel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.tagline-carousel-word {
  height: 1.2em;
  display: flex;
  align-items: center;
}

/* ============================================ */
/* FEATURES SECTION                             */
/* ============================================ */
.features {
  position: relative;
  /* vw-based padding so the section scales vertically with viewport width,
     which is what governs the skew shift. Keeps navy fully inside bounds. */
  padding: 18vw 0 20vw;
  overflow: hidden;
  background: var(--color-page-bg);
  isolation: isolate;
}

/* Single shared transform for navy + accents, so they all shift together
   and their pre-transform relative positions are preserved. */
.features-shapes {
  position: absolute;
  inset: 0;
  transform: matrix(1, -0.13, 0, 1, 0, 0);
  transform-origin: top left;
  z-index: 0;
  pointer-events: none;
}

.features-bg {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 16vw;
  bottom: 4vw;
  background: #14082B;
}

.features-accent {
  position: absolute;
  height: 18px;
}

.features-accent--top-outer {
  left: -4%;
  width: 32%;
  top: 13vw;
  background: #F87D4F;
}

.features-accent--top-inner {
  left: -2%;
  width: 45%;
  top: 14.7vw;
  background: #EE5C89;
}

.features-accent--bottom-inner {
  right: -2%;
  width: 45%;
  bottom: 2.7vw;
  background: #CA48C2;
}

.features-accent--bottom-outer {
  right: -4%;
  width: 32%;
  bottom: 1vw;
  background: #933FE4;
}

/* At narrow viewports the skew shift becomes large relative to section
   height — switch to flat horizontal stripes. */
@media (max-width: 768px) {
  .features {
    padding: 80px 0 80px;
  }

  .features-shapes {
    transform: none;
  }

  .features-bg,
  .features-accent {
    left: 0;
    right: 0;
    width: auto;
  }

  .features-bg {
    top: 40px;
    bottom: 40px;
  }

  .features-accent--top-outer { top: 12px; }
  .features-accent--top-inner { top: 24px; }
  .features-accent--bottom-inner { bottom: 24px; }
  .features-accent--bottom-outer { bottom: 12px; }
}

.features > .container {
  position: relative;
  z-index: 1;
}

.features .section-heading {
  color: #FFFFFF;
}

.features-label {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.features .section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  overflow: hidden;
  box-shadow: 0 12px 32px -14px rgba(20, 8, 43, 0.12);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--card-accent, linear-gradient(90deg, #F87D4F, #EE5C89));
}

.features-grid .feature-card {
  border-radius: var(--radius-card-lg);
  --tilt: 0deg;
}

.features-grid .feature-card:nth-child(6n+1) { --card-accent: linear-gradient(90deg, #F87D4F, #EE5C89); }
.features-grid .feature-card:nth-child(6n+2) { --card-accent: linear-gradient(90deg, #EE5C89, #CA48C2); }
.features-grid .feature-card:nth-child(6n+3) { --card-accent: linear-gradient(90deg, #CA48C2, #933FE4); }
.features-grid .feature-card:nth-child(6n+4) { --card-accent: linear-gradient(90deg, #933FE4, #F87D4F); }
.features-grid .feature-card:nth-child(6n+5) { --card-accent: linear-gradient(90deg, #F87D4F, #CA48C2); }
.features-grid .feature-card:nth-child(6n)   { --card-accent: linear-gradient(90deg, #EE5C89, #933FE4); }

.feature-card:hover {
  transform: rotate(0deg) translateY(-6px);
  background: #FFFFFF;
  box-shadow: 0 20px 44px -12px rgba(20, 8, 43, 0.22);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--brand-orange {
  color: #F87D4F;
  background: rgba(248, 125, 79, 0.2);
}

.feature-icon--brand-pink {
  color: #EE5C89;
  background: rgba(238, 92, 137, 0.2);
}

.feature-icon--brand-magenta {
  color: #CA48C2;
  background: rgba(202, 72, 194, 0.2);
}

.feature-icon--brand-purple {
  color: #933FE4;
  background: rgba(147, 63, 228, 0.2);
}

.feature-card-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.feature-card-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark);
}

.feature-card-body .accent-serif {
  color: var(--color-dark);
  font-style: normal;
  font-family: inherit;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features {
    padding: 60px 0 80px;
  }

  .features-grid .feature-card {
    border-radius: var(--radius-card-lg);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================ */
/* PULL QUOTE                                   */
/* ============================================ */
.pull-quote-section {
  padding: 80px 0;
}

.pull-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Pull-quote rendered like the problem/solution statements — Inter Tight bold */
.pull-quote-bold {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.pull-quote-cite {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ============================================ */
/* HOW IT WORKS SECTION                         */
/* ============================================ */
.how-it-works {
  padding: 100px 0 120px;
}

.hiw-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
}

.hiw-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, #F87D4F 0%, #EE5C89 33%, #CA48C2 66%, #933FE4 100%);
  border-radius: 2px;
  transform-origin: top center;
  transform: translateX(-50%) scaleY(var(--line-progress, 0));
  transition: transform 0.1s linear;
}

.hiw-step {
  position: relative;
  display: flex;
  width: 100%;
  margin-bottom: 72px;
}

.hiw-step:last-child {
  margin-bottom: 0;
}

.hiw-step--left {
  justify-content: flex-start;
}

.hiw-step--right {
  justify-content: flex-end;
}

.hiw-dot {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 22px;
  height: 22px;
  background: var(--accent-color);
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hiw-step.is-visible .hiw-dot {
  transform: translateX(-50%) scale(1);
}

.hiw-step .hiw-card {
  opacity: 0;
  transition: opacity 0.65s ease 0.3s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.hiw-step--left .hiw-card {
  transform: translateX(-120px);
}

.hiw-step--right .hiw-card {
  transform: translateX(120px);
}

.hiw-step.is-visible .hiw-card {
  opacity: 1;
  transform: translateX(0);
}

.hiw-card {
  position: relative;
  width: calc(50% - 52px);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-lg);
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hiw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-gradient);
}

.hiw-heading {
  font-size: 26px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hiw-body {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- How-it-works remix: serif intro, time label ---- */
.hiw-intro {
  text-align: center;
  font-family: var(--font-mono);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  margin: -28px 0 4px;
}

.hiw-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 16px;
}

/* ---- Illustrations ---- */
.hiw-art {
  height: 120px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Browser mockup (step 1) */
.hiw-browser {
  width: 100%;
  max-width: 280px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px -16px rgba(20, 8, 43, 0.28);
}
.hiw-browser-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: var(--color-light-bg);
  border-bottom: 1px solid var(--color-border);
}
.hiw-browser-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(27, 29, 30, 0.18);
}
.hiw-browser-body {
  position: relative;
  padding: 16px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hiw-skel {
  height: 8px; width: 70%; border-radius: 4px;
  background: var(--color-light-bg);
}
.hiw-skel--short { width: 45%; }
.hiw-browser-dash {
  position: absolute;
  left: 16px; bottom: 14px;
  width: 96px; height: 24px;
  border: 1.5px dashed #933FE4;
  border-radius: 6px;
}
.hiw-browser-plus {
  position: absolute;
  right: 14px; bottom: 12px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #933FE4;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

/* Terminal + node graph (step 2) */
.hiw-terminal {
  width: 100%;
  max-width: 280px;
  background: var(--color-dark);
  color: #F4F1EA;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
}
.hiw-term-prompt { color: #CA48C2; margin-right: 6px; }
.hiw-term-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: #F4F1EA;
  margin-left: 4px;
  vertical-align: -2px;
  animation: hiw-blink 1.1s steps(2) infinite;
}
@keyframes hiw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hiw-nodes { width: 132px; height: 50px; }
.hiw-nodes line { stroke: var(--color-border); stroke-width: 1.5; }
.hiw-nodes circle { fill: var(--accent-color); }

/* Funnel / convergence (step 3) */
.hiw-funnel { width: 150px; height: 56px; }
.hiw-funnel line { stroke: var(--color-border); stroke-width: 1.5; }
.hiw-funnel circle { fill: var(--accent-color); }
.hiw-funnel .hiw-funnel-hub { fill: none; stroke: var(--accent-color); stroke-width: 2; }
.hiw-funnel .hiw-funnel-core { fill: var(--accent-color); }
.hiw-funnel .hiw-funnel-arrow { stroke: var(--accent-color); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hiw-funnel rect { fill: none; stroke: var(--accent-color); stroke-width: 1.6; }

/* Interview / chat wireframe (step 3) */
.hiw-chat { width: 150px; height: 56px; }
.hiw-chat circle,
.hiw-chat rect,
.hiw-chat path {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hiw-chat .hiw-chat-dot,
.hiw-chat .hiw-chat-diamond {
  fill: var(--accent-color);
  stroke: none;
}

/* ---- Loop-back ---- */
.hiw-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
}
.hiw-loop-arrow { width: 54px; height: 54px; flex: 0 0 auto; }
.hiw-loop-text {
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
}

/* ============================================ */
/* WHAT YOU CAN SUPERTEST SECTION               */
/* ============================================ */
.what-you-can-test {
  padding: 0;
}

.topics-marquee {
  margin-top: 0;
}

/* Topics marquee has 2 copies of the content (vs the logo bar's 4), so the
   shared `marquee` keyframe (which translates -25%) lands mid-copy and snaps.
   Override with a -50% keyframe so the loop lands exactly one copy later. */
.topics-marquee .marquee-track {
  animation-name: topics-marquee;
}

@keyframes topics-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topics-band {
  background: var(--color-page-bg);
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.topics-marquee {
  overflow: visible;
}

.topics-marquee--row-a .marquee-track {
  animation: topics-marquee 30s linear infinite;
}

.topics-marquee--row-b .marquee-track {
  animation: topics-marquee-reverse 36s linear infinite;
}

@keyframes topics-marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.topics-marquee .marquee-content {
  gap: 20px;
  padding: 20px 10px;
}

.icon-sprite {
  display: none;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-hero);
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topic-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.topic-pill-icon {
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
}

.topic-pill .accent-serif {
  font-size: 1.08em;
  margin-left: 2px;
}

.topics-marquee .topic-pill:nth-child(4n+1) { background: #F87D4F; }
.topics-marquee .topic-pill:nth-child(4n+2) { background: #EE5C89; }
.topics-marquee .topic-pill:nth-child(4n+3) { background: #CA48C2; }
.topics-marquee .topic-pill:nth-child(4n+4) { background: #933FE4; }

/* ============================================ */
/* TEAM SECTION                                 */
/* ============================================ */
.team {
  padding: 80px 0;
  text-align: center;
}

.team .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-story-wrapper {
  position: relative;
  width: 100%;
  padding: 40px 30px;
}

.team-story-backdrop {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-mesh-gradient.png") center/cover no-repeat;
  border-radius: 48px;
  filter: blur(36px);
  opacity: 0.85;
  z-index: 0;
  will-change: transform;
  transform: translateY(var(--backdrop-shift, 0px));
}

.team-story-card {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 56px 16px 56px 16px;
  padding: 72px 72px;
  box-shadow: 0 28px 60px -24px rgba(20, 8, 43, 0.28);
  transform: rotate(-1.2deg);
}

.team-story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.4fr;
  gap: 60px;
  align-items: start;
}

.team-story-heading {
  font-size: 56px;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.05;
}

.team-story {
  max-width: none;
  text-align: left;
}

.team-story p {
  font-size: 17px;
  color: #252525;
  line-height: 1.65;
  margin-bottom: 18px;
}

.team-story p:last-child {
  margin-bottom: 0;
}

.team-story-statement {
  font-family: var(--font-hero);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-headline-bottom) !important;
  line-height: 1.25;
  margin-top: 8px !important;
  letter-spacing: -0.3px;
}

.team-story-statement .accent-serif {
  font-size: 1.06em;
}

/* ============================================ */
/* TESTIMONIALS SECTION                         */
/* ============================================ */
.testimonials {
  padding: 80px 0 100px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0 72px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.trust-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-stat-number {
  font-family: var(--font-hero);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  word-spacing: 6px;
  background: linear-gradient(135deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-star {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.trust-stat-label {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.testimonials-marquee {
  overflow: visible;
}

.testimonials-marquee .marquee-track {
  animation: marquee 60s linear infinite;
  gap: 28px;
}

.testimonials-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.testimonials-marquee .marquee-content {
  gap: 28px;
  padding: 32px 14px;
}

.testimonials-marquee .marquee-overlay-left,
.testimonials-marquee .marquee-overlay-right {
  width: 120px;
  z-index: 2;
}

.testimonial-card {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  min-height: 320px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 14px 32px -8px rgba(20, 8, 43, 0.15);
  transform: rotate(var(--tilt, 0deg));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 20px 44px -10px rgba(20, 8, 43, 0.22);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.testimonial-mark {
  position: absolute;
  top: 8px;
  right: 20px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 140px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}

.testimonial-theme {
  display: inline-block;
  font-family: var(--font-hero);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.testimonial-quote {
  font-family: var(--font-hero);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-headline-bottom);
  margin: 0 0 28px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: #FFFFFF;
  font-family: var(--font-hero);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.testimonial-author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.testimonial-role {
  font-size: 12px;
  color: var(--color-muted);
}

.testimonial-company-logo {
  flex-shrink: 0;
  height: auto;
  width: 80px;
  aspect-ratio: 618 / 232;
  object-fit: contain;
}

/* ============================================ */
/* PRICING SECTION                              */
/* ============================================ */
.pricing {
  padding: 80px 0;
}

.gradient-text {
  background: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================ */
/* PRICING MATRIX (Variant C — soft tints)      */
/* ============================================ */
.pm-wrap {
  --pm-navy: #14082B;
  --pm-subcopy: #425466;
  --pm-muted: rgba(27, 29, 30, 0.6);
  --pm-body: #2A2C2D;
  --pm-orange: #F87D4F;
  --pm-pink: #EE5C89;
  --pm-magenta: #CA48C2;
  --pm-purple: #933FE4;
  --pm-gradient: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);

  font-family: var(--font-primary);
  color: var(--pm-navy);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.pm-promo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 24px;
  border-radius: 16px;
  width: min(100%, 760px);
  margin: 0 auto 28px;
  font-size: 17px;
  background: #fff;
  border: 1.5px solid rgba(20, 8, 43, 0.16);
  box-shadow: 0 6px 18px -8px rgba(20, 8, 43, 0.18);
  color: var(--pm-navy);
}
.pm-promo__copy { flex: 1; font-weight: 500; }

.pm-promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--pm-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: opacity 0.2s, transform 0.2s;
}
.pm-promo__cta:hover { opacity: 0.92; transform: translateY(-1px); }
.pm-promo__cta-arrow {
  display: none;
}

.pm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pm-card {
  position: relative;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 8, 43, 0.06);
}
.pm-card--single { background: #FCEEDD; }

.pm-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--pm-navy);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pm-tag__dot { width: 7px; height: 7px; border-radius: 999px; margin-right: 9px; }
.pm-tag--single .pm-tag__dot     { background: var(--pm-orange); }

.pm-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 60px;
}
.pm-price {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1.8px;
  color: var(--pm-navy);
}

.pm-desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--pm-navy);
  opacity: 0.75;
  margin: 0 0 24px;
  min-height: 72px;
}

.pm-feat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-navy);
  opacity: 0.55;
  margin: 0 0 14px;
}

.pm-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pm-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pm-body);
}
.pm-check {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pm-check svg { width: 20px; height: 20px; }
.pm-card--single .pm-check     { color: #C24A1A; }

.pm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: var(--pm-navy);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--font-ui);
  margin-top: auto;
  box-sizing: border-box;
}
.pm-cta:hover { opacity: 0.92; transform: translateY(-1px); }

@media (max-width: 1023px) {
  .pm-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pm-card { min-height: auto; }
  
}

@media (max-width: 640px) {
  .pm-card { padding: 24px; }
  .pm-price { font-size: 48px; letter-spacing: -1.4px; }
  
  
  .pm-features li { font-size: 14px; }
  .pm-promo {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
  .pm-promo__cta { justify-content: center; width: 100%; }
}

/* Two-plan pricing page and interactive estimate */
.pm-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pm-grid--two .pm-card {
  min-height: 0;
  padding: clamp(24px, 3vw, 40px);
}

.pm-card--calculator {
  background: #FADCE6;
  box-shadow: 0 16px 36px -22px rgba(238, 92, 137, 0.55);
}

.pm-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.pm-card-badges .pm-tag {
  margin-bottom: 0;
}

.pm-intro-offer {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pm-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 7px 16px -8px rgba(147, 63, 228, 0.8);
}

.pm-card--monthly {
  background: #ECE0F7;
  box-shadow: 0 16px 36px -22px rgba(147, 63, 228, 0.45);
}

.pm-tag--single .pm-tag__dot { background: var(--pm-pink); }
.pm-tag--monthly .pm-tag__dot { background: var(--pm-purple); }
.pm-card--calculator .pm-check { color: var(--pm-pink); }
.pm-card--monthly .pm-check { color: var(--pm-purple); }

.pm-plan-title {
  margin: 0 0 12px;
  font-family: var(--font-hero);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pm-grid--two .pm-desc {
  min-height: 0;
  margin-bottom: 28px;
}

.pm-calculator {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  margin-bottom: 30px;
  border: 1px solid rgba(20, 8, 43, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.pm-field { display: block; }
.pm-field[hidden] { display: none; }
.pm-features li[hidden] { display: none; }
.pm-field__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-navy);
}
.pm-field__value {
  text-align: right;
  color: #A72B66;
  font-weight: 700;
}

.pm-number-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(20, 8, 43, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--pm-navy);
  font: 600 17px var(--font-primary);
}

.pm-number-input:focus-visible,
.pm-range:focus-visible {
  outline: 3px solid rgba(238, 92, 137, 0.3);
  outline-offset: 2px;
}

.pm-recruitment {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.pm-recruitment .pm-field__header { width: 100%; }
.pm-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 8, 43, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--pm-navy);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.pm-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pm-radio-row .pm-radio { flex: 1 1 auto; min-width: 0; }
.pm-radio-row .pm-info { margin-top: 13px; }
.pm-radio-row + .pm-radio-row { margin-top: 8px; }
.pm-radio:has(input:checked) {
  border-color: var(--pm-pink);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(238, 92, 137, 0.14);
}
.pm-radio input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--pm-pink);
}

.pm-range {
  width: 100%;
  height: 8px;
  margin: 4px 0 8px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--pm-pink) var(--range-progress, 0%), rgba(20, 8, 43, 0.12) var(--range-progress, 0%));
  cursor: pointer;
}
.pm-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--pm-pink);
  box-shadow: 0 2px 8px rgba(20, 8, 43, 0.25);
}
.pm-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--pm-pink);
  box-shadow: 0 2px 8px rgba(20, 8, 43, 0.25);
}
.pm-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--pm-muted);
  font-size: 11px;
  line-height: 1.25;
}
.pm-range-labels span:last-child { text-align: right; }

/* Field label + its info tooltip. The trigger is a real button so the bubble is
   reachable by keyboard and tap, not hover alone. */
.pm-field__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pm-field__label label { cursor: pointer; }

.pm-info {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.pm-info__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid rgba(20, 8, 43, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--pm-subcopy);
  font: 700 10px/1 var(--font-primary);
  font-style: italic;
  cursor: help;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.pm-info__trigger:hover,
.pm-info__trigger:focus-visible {
  border-color: var(--pm-pink);
  color: var(--pm-pink);
}
.pm-info__trigger:focus-visible {
  outline: 3px solid rgba(238, 92, 137, 0.3);
  outline-offset: 2px;
}
.pm-info__bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 10px 12px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: var(--pm-navy);
  color: #fff;
  font: 400 12px/1.45 var(--font-primary);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 12px 28px -12px rgba(20, 8, 43, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.pm-info__bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border: 6px solid transparent;
  border-top-color: var(--pm-navy);
  transform: translateX(-50%);
}
.pm-info__trigger:hover + .pm-info__bubble,
.pm-info__trigger:focus-visible + .pm-info__bubble,
.pm-info:hover .pm-info__bubble {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .pm-info__bubble { transition: none; }
}

.pm-estimate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 8, 43, 0.12);
}
.pm-estimate__label {
  display: block;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-muted);
}
.pm-estimate__basis {
  margin: 0;
  font-family: var(--font-hero);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pm-navy);
}
.pm-estimate__result {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}
.pm-estimate__equals {
  font-size: 30px;
  font-weight: 500;
  color: var(--pm-purple);
}
.pm-estimate__total {
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 600;
}
.pm-estimate__price {
  font-family: var(--font-hero);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.pm-estimate__price.is-contact { font-size: clamp(25px, 3vw, 36px); }
/* How much raw material the study yields, alongside what it costs. */
.pm-audio-time {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 0;
  font-size: 13px;
  color: var(--pm-subcopy);
}
.pm-audio-time__value {
  font-weight: 700;
  color: var(--pm-navy);
  white-space: nowrap;
}

.pm-estimate-note {
  margin: -10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--pm-muted);
}

.pm-price-row--contact {
  align-items: baseline;
  justify-content: flex-start;
  margin: 14px 0 38px;
}
.pm-price--contact { font-size: clamp(42px, 5vw, 62px); }
.pm-cta--monthly { background: var(--pm-purple); }

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

@media (max-width: 480px) {
  .pm-calculator { padding: 18px; }
  .pm-field__header { flex-direction: column; gap: 4px; }
  .pm-field__value { text-align: left; }
  .pm-estimate { align-items: flex-start; flex-direction: column; }
}

/* ============================================ */
/* FAQ SECTION                                  */
/* ============================================ */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
  text-align: left;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--color-light-bg);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-dark);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 8px 32px 32px;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 80ch;
}

.faq-category {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  background: var(--color-light-bg);
  transition: background 0.2s ease;
  cursor: pointer;
}

.faq-category-header:hover {
  background: rgba(27, 29, 30, 0.08);
}

.faq-category.is-open .faq-category-header .faq-chevron {
  transform: rotate(180deg);
}

.faq-category-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-category-body .faq-item {
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
}

/* ============================================ */
/* PARTICIPANT BAND (audience-switch strip)     */
/* ============================================ */
.participant-band {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
  isolation: isolate;
}

.participant-band-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #F87D4F, #EE5C89, #CA48C2, #933FE4);
}

.participant-band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.participant-band-copy {
  flex: 1 1 520px;
  min-width: 0;
}

.participant-band-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.participant-band-headline {
  font-family: var(--font-primary);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 12px;
}

.participant-band-headline .accent-serif {
  font-size: 1.08em;
}

.participant-band-subcopy {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-bottom: 20px;
}

.participant-band-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.participant-band-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
}

.participant-band-tick {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.participant-band-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.participant-band-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 24px rgba(27, 29, 30, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.participant-band-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(27, 29, 30, 0.26);
}

.participant-band-proof {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

@media (max-width: 1024px) {
  .participant-band-row {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .participant-band {
    padding: 44px 0;
  }

  .participant-band-row {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .participant-band-copy {
    flex: 0 0 auto;
    width: 100%;
  }

  .participant-band-action {
    width: 100%;
    align-items: stretch;
  }

  .participant-band-cta {
    width: 100%;
  }

  .participant-band-proof {
    text-align: center;
  }
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
  padding: 80px 0 0;
  background: var(--color-white);
}

.footer-top {
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1;
  max-width: 300px;
}

.footer-email {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-headline-bottom);
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex: 1;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-dark);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--color-muted);
}

.footer-bottom a {
  color: var(--color-dark);
}

/* ============================================ */
/* TEXT REVEAL ANIMATION                        */
/* ============================================ */
.text-reveal .word {
  display: inline-block;
  white-space: nowrap;
}

.text-reveal .char {
  display: inline;
  opacity: 0.15;
  transition: opacity 0.1s ease;
}

.text-reveal .char.is-space {
  width: 0.3em;
  display: inline-block;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-pill {
    padding: 0 12px 0 16px;
  }
}

@media (max-width: 960px) {

  .hero {
    min-height: auto;
  }

  /* Below the two-column breakpoint, drop absolute positioning so logos
     flow naturally below the grid instead of overlapping the CTA. */
  .hero-logos {
    position: relative;
    z-index: 2;
    background: var(--color-hero-bg);
    padding: 28px 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 20px 60px;
    min-height: auto;
  }

  /* Stacked layout: center text and mockups as a single column. */
  .hero-text {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-headline br {
    display: none;
  }

  .hero-subcopy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .hero-mockups {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    height: clamp(320px, 44vw, 420px);
  }

  .hero-mockup-card--dashboard {
    width: 100%;
    height: clamp(240px, 32vw, 300px);
    right: 0;
    top: 40px;
  }

  .hero-mockup-card--phone {
    width: clamp(160px, 22vw, 200px);
    height: clamp(300px, 42vw, 360px);
    right: 55%;
    top: 0;
  }
}

@media (max-width: 768px) {

  /* On mobile, reset the top offset so the gradient runs the full hero height.
     The skew is kept — the diagonal cut falls near the bottom of the section,
     below the CTA buttons, instead of through the text. */
  .hero-gradient {
    top: 0;
    height: 100%;
  }

  /* The topics-tagline row uses 180px side fades, wide enough to cover the
     centred rotating word on a phone. Hide them on the tagline row only;
     the pill-row fades above and below are unaffected. */
  .topics-tagline .marquee-overlay-left,
  .topics-tagline .marquee-overlay-right {
    display: none;
  }

  .hero-logos .marquee-overlay-left,
  .hero-logos .marquee-overlay-right {
    display: none;
  }

  .hero-logos .marquee-content {
    gap: 36px;
    padding: 0 18px;
  }

  .topics-band {
    padding: 40px 0;
    gap: 16px;
  }

  .topic-pill {
    font-size: 16px;
    padding: 10px 20px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    padding: 24px 0 48px;
    margin-bottom: 40px;
  }

  .trust-stat-number {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .trust-stat-label {
    font-size: 12px;
  }

  .testimonial-card {
    width: 300px;
    min-height: 280px;
    padding: 28px 24px 20px;
  }

  .testimonial-mark {
    font-size: 100px;
  }

  .testimonial-quote {
    font-size: 16px;
  }

  .section-heading {
    font-size: 36px;
    line-height: 1.2;
  }

  /* Tagline stripe responsive */
  .topics-tagline {
    padding: 28px 0;
  }

  .team-story-wrapper {
    padding: 24px 12px;
  }

  .team-story-card {
    padding: 40px 28px;
    border-radius: 32px 12px 32px 12px;
    transform: rotate(-0.6deg);
  }

  .team-story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-story-heading {
    font-size: 36px;
  }

  .team-story-statement {
    font-size: 22px;
  }

  .team-story-backdrop {
    filter: blur(28px);
    border-radius: 32px;
  }

  .tagline-stripe-text {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  /* How it works responsive */
  .how-it-works {
    padding: 60px 0 72px;
  }

  .hiw-timeline {
    padding: 16px 0;
  }

  .hiw-timeline-line {
    left: 20px;
  }

  .hiw-step,
  .hiw-step--left,
  .hiw-step--right {
    justify-content: flex-start;
    padding-left: 56px;
    margin-bottom: 48px;
  }

  .hiw-card {
    width: 100%;
    padding: 32px 28px;
  }

  .hiw-step--left .hiw-card,
  .hiw-step--right .hiw-card {
    transform: translateY(40px);
  }

  .hiw-step.is-visible .hiw-card {
    transform: translateY(0);
  }

  .hiw-dot {
    left: 20px;
    top: 32px;
  }

  .hiw-heading {
    font-size: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .divider-text {
    white-space: normal;
    text-align: center;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px 24px;
  }

}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -1px;
  }

  .hero-mockups {
    display: none;
  }

  .section-heading {
    font-size: 28px;
  }

  .hiw-heading {
    font-size: 24px;
  }

}
