/* ============================================================
   brAIn — Landing Page
   Direction: DARK MODE • Glassmorphism • Liquid Morphism
   • Scroll-driven background video
   • White auras following scroll
   • Darker chrome metallic gradient
   ============================================================ */

:root {
  /* Core dark palette */
  --black: #000000;
  --ink-950: #050507;
  --ink-900: #0A0A0C;
  --ink-850: #0E0E12;
  --ink-800: #14141A;
  --ink-700: #1F1F26;
  --ink-600: #2A2A33;
  --ink-500: #3D3D47;

  --paper: #FFFFFF;
  --paper-dim: #F0F0F2;
  --paper-muted: #C8C8CE;

  --ink-muted: #8A8A92;
  --gray-soft: #A8A8B0;
  --gray-line: rgba(255, 255, 255, 0.10);
  --gray-line-strong: rgba(255, 255, 255, 0.18);

  /* Darker chrome — more black, more contrast */
  --chrome-900: #1A1A1A;
  --chrome-700: #4A4A4A;
  --chrome-500: #7A7A7A;
  --chrome-300: #B0B0B0;
  --chrome-100: #E0E0E0;

  /* Chrome gradient — bright white-silver for italics on dark sections */
  --chrome-grad: linear-gradient(180deg, #FFFFFF 0%, #E8E8E8 50%, #BFBFBF 100%);
  --chrome-grad-bright: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 60%, #D8D8D8 100%);
  /* Dark variant — only for italics on LIGHT sections (white bg) for legibility */
  --chrome-grad-dark: linear-gradient(180deg, #4A4A4A 0%, #1A1A1A 50%, #000000 100%);

  /* Glass — dark variants */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-stronger: rgba(255, 255, 255, 0.08);
  --glass-soft: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-stronger: rgba(255, 255, 255, 0.18);

  /* Inset glow (top edge highlight) */
  --gloss: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --gloss-strong: inset 0 1px 0 rgba(255, 255, 255, 0.18);

  /* Type */
  --ff-display: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ff-accent: "Instrument Serif", "Times New Roman", serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --gap-1: 0.5rem;
  --gap-2: 1rem;
  --gap-3: 1.75rem;
  --gap-4: 2.75rem;
  --gap-5: 4.5rem;
  --gap-6: 7.5rem;
  --gap-7: 11rem;

  --container: 1240px;

  --r-card: 28px;
  --r-card-lg: 36px;
  --r-btn: 999px;

  --shadow-glass: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 1px 2px rgba(0, 0, 0, 0.40), 0 30px 80px rgba(0, 0, 0, 0.50);
  --shadow-glass-hover: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 1px 2px rgba(0, 0, 0, 0.50), 0 40px 100px rgba(0, 0, 0, 0.6);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper-dim);
  background: var(--ink-950);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 2;
}
.d-md { display: none; }
@media (min-width: 768px) { .d-md { display: inline; } }

.grain { display: none; }

/* ============================================================
   SCROLL-DRIVEN BACKGROUND VIDEO
   ============================================================ */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(100%) contrast(1.05) brightness(0.9);
}
.bg-video__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* ============================================================
   AURA — White glow that follows scroll position
   ============================================================ */
.aura {
  position: fixed;
  width: 480px; height: 480px;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06) 35%, transparent 65%);
  filter: blur(40px);
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  transition: top 700ms var(--ease-out), opacity 600ms;
  opacity: 0.85;
}

/* Section is layered on top of video */
main, header, footer { position: relative; z-index: 2; }
section { position: relative; isolation: isolate; }

/* ============================================================
   CHROME ITALICS — global rule (BRIGHT on dark bg)
   ============================================================ */
.section__title em,
.cta__title em,
.trust__text em,
.webapp__title em,
.story__close em,
.testimonial__quote em {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Hero title — pure white italic (no chrome gradient) */
.hero__title em {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
  background: none;
  -webkit-text-fill-color: var(--paper);
}
/* Light sections — invert chrome to dark gradient (otherwise white-on-white) */
section.is-light .section__title em,
section.is-light .webapp__title em,
section.is-light .cta__title em,
section.is-light .trust__text em,
section.is-light .story__close em {
  background: var(--chrome-grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   LIQUID BLOBS — animated organic shapes
   ============================================================ */
@keyframes liquid {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33% { transform: translate(30px, -40px) scale(1.05); border-radius: 50% 60% 40% 60% / 60% 50% 50% 40%; }
  66% { transform: translate(-20px, 30px) scale(0.95); border-radius: 40% 60% 65% 35% / 55% 45% 60% 50%; }
}
@keyframes liquid-slow {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%; }
  50% { transform: translate(-40px, 20px) scale(1.08) rotate(8deg); border-radius: 60% 50% 60% 40% / 50% 60% 50% 60%; }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ============================================================
   NAVBAR — glass pill, dark version
   ============================================================ */
.nav {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
  transition: top 280ms var(--ease-out);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 14px 8px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-btn);
  box-shadow: var(--gloss), var(--shadow-glass);
}
.nav[data-scrolled="true"] .nav__inner {
  background: rgba(10, 10, 12, 0.78);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 4px 4px;
}
.brand-logo {
  width: 38px; height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.brand-logo--lg {
  width: 60px; height: 60px;
}
.brand-mark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 1;
}
.brand-mark__ai {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--chrome-grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__links {
  display: none;
  justify-content: center;
  gap: 24px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--paper-muted);
}
@media (min-width: 960px) { .nav__links { display: flex; } }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 200ms, color 200ms;
}
.nav__links a:hover { background: rgba(255, 255, 255, 0.08); color: var(--paper); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  transition: background 220ms var(--ease-out), color 220ms, border-color 220ms, transform 220ms, box-shadow 220ms;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 0.82rem; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 8px 24px rgba(255, 255, 255, 0.12);
}
.btn--primary:hover {
  background: var(--paper-dim);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 14px 36px rgba(255, 255, 255, 0.20);
}

/* Shimmer sweep — light pass on btn--primary */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 200% 0;
  pointer-events: none;
  z-index: -1;
  animation: btn-shimmer 4.5s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes btn-shimmer {
  0% { background-position: 200% 0; }
  60%, 100% { background-position: -100% 0; }
}

.btn--ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: var(--paper);
  border-color: var(--glass-border-stronger);
  box-shadow: var(--gloss);
}
.btn--ghost:hover {
  background: var(--glass-stronger);
  border-color: var(--paper);
}
/* Shimmer sweep on glass button */
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 200% 0;
  pointer-events: none;
  z-index: -1;
  animation: btn-shimmer 5s ease-in-out infinite;
  animation-delay: 1.2s;
}

.btn--outline {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}
.btn--outline:hover { background: var(--paper); color: var(--ink-900); }

.btn--link {
  padding: 13px 0;
  background: transparent;
  color: var(--paper-muted);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 0;
}
.btn--link span {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.btn--link:hover { color: var(--paper); }

/* ============================================================
   KICKER — Glass pill on dark
   ============================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0 0 var(--gap-3);
  padding: 7px 14px;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--gloss);
}
.kicker__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--chrome-grad-bright);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  animation: pulse-glow 2.4s ease-in-out infinite;
}
.kicker__num {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--chrome-300);
  font-weight: 500;
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section__head {
  max-width: 880px;
  margin: 0 auto var(--gap-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--paper);
  margin: 0 0 var(--gap-2);
}
.section__lead {
  font-size: 1.1rem;
  color: var(--paper-muted);
  line-height: 1.55;
  max-width: 620px;
  margin: 18px auto 0;
}

/* ============================================================
   HERO — dark, with video bg + huge auras
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 var(--gap-6);
  background: transparent;
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero__bg, .hero__orb, .hero__grid { display: none; }

/* Liquid blobs in hero */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.5;
}
.hero::before {
  top: -180px; right: -180px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  animation: liquid 22s var(--ease-out) infinite;
}
.hero::after {
  bottom: -220px; left: -200px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  animation: liquid-slow 28s var(--ease-out) infinite;
}

.hero__inner {
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}
/* Soft dark plate behind hero text — improves readability over busy video */
.hero__inner::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(95%, 1100px);
  height: 105%;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.30) 50%, transparent 80%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  border-radius: 40%;
}
/* Subtle grid pattern behind hero title */
.hero__inner::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 1000px);
  height: 90%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner > .hero__glow {
  position: absolute;
  top: 30%; left: 30%;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  animation: grid-glow 9s ease-in-out infinite;
}
@keyframes grid-glow {
  0%, 100% { transform: translate(-30%, -30%); }
  25% { transform: translate(140%, -10%); }
  50% { transform: translate(180%, 130%); }
  75% { transform: translate(-30%, 110%); }
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 var(--gap-3);
  color: var(--paper);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 980px;
  margin-inline: auto;
}
.hero__lead {
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  color: var(--paper);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto var(--gap-4);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero__lead strong {
  font-weight: 700;
  color: var(--paper);
}
.hero__lead strong {
  font-weight: 700;
  color: var(--paper);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: var(--gap-4);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: var(--gap-5) auto 0;
  max-width: 1080px;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--gloss), var(--shadow-glass);
}
.pills li {
  flex: 1 1 auto;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
  border-right: 1px solid var(--glass-border);
  transition: background 220ms;
}
.pills li:last-child { border-right: 0; }
.pills li:hover { background: var(--glass-stronger); }
.pills__num {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--chrome-300);
  letter-spacing: 0;
}

/* ============================================================
   STAT BAR
   ============================================================ */
.statbar {
  background: rgba(8, 8, 12, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.statbar::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.10), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: liquid-slow 28s var(--ease-out) infinite;
}
.statbar::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -100px;
  width: 600px; height: 420px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid 24s var(--ease-out) infinite reverse;
}
.statbar__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  padding: 80px 0;
  gap: 0;
  z-index: 2;
}
@media (min-width: 768px) {
  .statbar__inner { grid-template-columns: repeat(3, 1fr); padding: 110px 0; }
}
.stat {
  text-align: center;
  padding: 32px 18px;
  border-bottom: 1px solid var(--glass-border);
}
@media (min-width: 768px) {
  .stat { border-bottom: 0; border-right: 1px solid var(--glass-border); }
  .stat:last-child { border-right: 0; }
}
.stat:last-child { border-bottom: 0; }
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--paper);
}
.stat__num sup {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 4px;
  background: var(--chrome-grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__slash {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.7em;
  margin: 0 4px;
  background: var(--chrome-grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-top: 14px;
}

/* ============================================================
   TRUSTPILOT
   ============================================================ */
.trust {
  background: rgba(10, 10, 14, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid 30s var(--ease-out) infinite;
}
.trust__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.trust__stars { display: inline-flex; gap: 4px; margin-bottom: 28px; }
.trust__stars svg { width: 28px; height: 28px; fill: var(--paper); }
.trust__text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 24px;
}
.trust__source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper-muted);
  margin: 0;
}
.trust__source .dot {
  width: 6px; height: 6px;
  background: var(--chrome-300);
  border-radius: 50%;
}

/* ============================================================
   PILIERS — Tabbed interface (8lab-style)
   ============================================================ */
.piliers-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--gloss), var(--shadow-glass);
  margin-bottom: 28px;
}
@media (min-width: 700px) { .piliers-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .piliers-tabs { grid-template-columns: repeat(6, 1fr); } }

.piliers-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  font-family: var(--ff-body);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  color: var(--paper-muted);
  cursor: pointer;
  transition: background 220ms var(--ease-out), color 220ms;
  text-align: center;
}
.piliers-tab:last-child { border-right: 0; }
@media (min-width: 1100px) {
  .piliers-tab { border-bottom: 0; }
}
.piliers-tab:hover { background: var(--glass-stronger); color: var(--paper); }
.piliers-tab.is-active {
  background: var(--paper);
  color: var(--ink-900);
}
.piliers-tab__icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  color: currentColor;
  opacity: 0.85;
}
.piliers-tab__icon svg { width: 100%; height: 100%; }
.piliers-tab__num {
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.piliers-tab__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Panels — only the active one is visible */
.piliers-panels {
  position: relative;
}
.piliers-panel {
  display: none;
  background: var(--paper);
  border-radius: var(--r-card);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 30px 80px rgba(0, 0, 0, 0.10);
  animation: panel-fade 380ms var(--ease-out);
}
.piliers-panel.is-active { display: block; }
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.piliers-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.piliers-panel__num {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.piliers-panel__tag {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}
.piliers-panel__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.piliers-panel__desc {
  font-size: 1.02rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 640px;
}
.piliers-panel__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 22px;
}
@media (min-width: 768px) { .piliers-panel__list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.piliers-panel__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
  color: var(--ink-900);
  line-height: 1.5;
  font-weight: 500;
}
.piliers-panel__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background: var(--chrome-grad-dark);
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.piliers-panel__list li::after {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 9.5l3 3L13 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   MODAL — Liste complète des modules
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  cursor: pointer;
  animation: modal-fade 280ms var(--ease-out);
}
.modal__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border-stronger);
  border-radius: var(--r-card-lg);
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 56px);
  box-shadow: var(--gloss-strong), 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: modal-rise 340ms var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border-stronger) transparent;
}
.modal__inner::-webkit-scrollbar { width: 8px; }
.modal__inner::-webkit-scrollbar-thumb {
  background: var(--glass-border-stronger);
  border-radius: 4px;
}
@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: sticky;
  top: 0; left: 100%;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--glass-stronger);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border-stronger);
  border-radius: 50%;
  color: var(--paper);
  cursor: pointer;
  z-index: 2;
  transition: background 220ms, border-color 220ms;
}
.modal__close:hover {
  background: var(--paper);
  color: var(--ink-900);
  border-color: var(--paper);
}
.modal__head {
  text-align: center;
  margin-bottom: var(--gap-4);
}
.modal__head .kicker { display: inline-flex; }
.modal__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 0 0 14px;
}
.modal__title em {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal__lead {
  font-size: 1.02rem;
  color: var(--paper-muted);
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto;
}
.modules-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: var(--gap-4);
}
@media (min-width: 880px) { .modules-list { grid-template-columns: 1fr 1fr; } }
.module-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--gloss);
  transition: background 240ms, border-color 240ms, transform 240ms;
}
.module-card:hover {
  background: var(--glass-stronger);
  border-color: var(--glass-border-stronger);
  transform: translateY(-2px);
}
.module-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.module-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -0.018em;
  color: var(--paper);
  margin: 0 0 12px;
}
.module-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--paper-muted);
  margin: 0 0 18px;
}
.module-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}
.module-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--paper);
}
.module-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--chrome-grad);
  border-radius: 50%;
}
.modal__foot {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

/* Lock body scroll when modal open */
body.modal-open { overflow: hidden; }

/* ============================================================
   PILIERS LEGACY — Glass cards on deep dark (kept for compat)
   ============================================================ */
.piliers {
  background: rgba(8, 8, 12, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.piliers::before {
  content: "";
  position: absolute;
  top: 20%; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: liquid 32s var(--ease-out) infinite;
}
.piliers::after {
  content: "";
  position: absolute;
  bottom: 10%; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid-slow 36s var(--ease-out) infinite reverse;
}

.piliers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .piliers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .piliers__grid { grid-template-columns: repeat(3, 1fr); } }

.pilier {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 36px 32px;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--gloss), var(--shadow-glass);
  transition: transform 320ms var(--ease-out), box-shadow 320ms, background 320ms, border-color 320ms;
  position: relative;
}
.pilier:hover {
  transform: translateY(-4px);
  background: var(--glass-stronger);
  border-color: var(--glass-border-stronger);
  box-shadow: var(--gloss-strong), var(--shadow-glass-hover);
}

.pilier__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.pilier__num {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 8px 18px rgba(255, 255, 255, 0.12);
}
.pilier__tag {
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  padding: 6px 12px;
  background: var(--glass-stronger);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border-stronger);
  border-radius: 999px;
  margin-top: 10px;
}
.pilier__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--paper);
  margin: 0 0 14px;
}
.pilier__desc {
  font-size: 0.96rem;
  color: var(--paper-muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
.pilier__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 22px;
}
.pilier__list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.93rem;
  color: var(--paper);
  line-height: 1.45;
  font-weight: 500;
}
.pilier__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  background: var(--chrome-grad);
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 2px 6px rgba(0, 0, 0, 0.3);
}
.pilier__list li::after {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 10.5l3 3L14 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   AGENCE
   ============================================================ */
.agence {
  background: rgba(10, 10, 14, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--paper);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.agence::before {
  content: "";
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid 30s var(--ease-out) infinite;
}
.agence .section__title { color: var(--paper); }
.agence .section__lead { color: var(--paper-muted); }

.logos {
  margin: var(--gap-5) 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.logos__caption {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin: 0 0 30px;
}
.logos__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--gloss);
}
.logos__strip li {
  flex: 1 1 auto;
  min-width: 160px;
  padding: 30px 24px;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  color: var(--paper-muted);
  border-right: 1px solid var(--glass-border);
  transition: color 240ms, background 240ms;
}
.logos__strip li:last-child { border-right: 0; }
.logos__strip li:hover {
  color: var(--paper);
  background: var(--glass-stronger);
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: var(--gap-5) 0 var(--gap-3);
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) { .story { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.story__item {
  position: relative;
  padding: 36px 32px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  box-shadow: var(--gloss), var(--shadow-glass);
  transition: background 280ms, transform 280ms;
}
.story__item:hover {
  background: var(--glass-stronger);
  transform: translateY(-3px);
}
.story__num {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--chrome-300);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--glass-stronger);
  border-radius: 999px;
  border: 1px solid var(--glass-border-stronger);
}
.story__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 14px;
}
.story__item p {
  font-size: 0.96rem;
  color: var(--paper-muted);
  line-height: 1.6;
  margin: 0;
}

.story__close {
  max-width: 760px;
  margin: var(--gap-5) auto 0;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: var(--paper);
  position: relative;
  z-index: 2;
}

/* ============================================================
   PROGRAMME
   ============================================================ */
.programme {
  background: rgba(8, 8, 12, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.programme::before {
  content: "";
  position: absolute;
  top: 30%; right: -160px;
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid-slow 28s var(--ease-out) infinite;
}
.programme__cta { text-align: center; margin-bottom: var(--gap-5); }

.webapp {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card-lg);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  box-shadow: var(--gloss-strong), var(--shadow-glass);
}
.webapp__overline {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin: 0 0 16px;
}
.webapp__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 var(--gap-5);
}

.webapp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: left;
}
@media (min-width: 768px) { .webapp__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .webapp__grid { grid-template-columns: repeat(4, 1fr); } }

.feature {
  background: var(--glass-stronger);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 32px 28px;
  border-radius: var(--r-card);
  border: 1px solid var(--glass-border-stronger);
  position: relative;
  transition: transform 320ms, box-shadow 320ms;
  box-shadow: var(--gloss);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--gloss-strong), var(--shadow-glass);
}
.feature__icon {
  width: 44px; height: 44px;
  margin-bottom: 22px;
  color: var(--paper);
  background: var(--chrome-grad-dark);
  border: 1px solid var(--glass-border-stronger);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__num {
  position: absolute;
  top: 32px; right: 28px;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--chrome-500);
}
.feature h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 10px;
}
.feature p {
  font-size: 0.92rem;
  color: var(--paper-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   VERSUS — Glass before / Bright chrome after
   ============================================================ */
.versus {
  background: rgba(10, 10, 14, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.versus::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid 36s var(--ease-out) infinite;
}

.versus__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 880px) { .versus__grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

.versus__col {
  padding: 44px 36px;
  border-radius: var(--r-card);
  position: relative;
}
.versus__col--before {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  color: var(--paper-muted);
  box-shadow: var(--gloss), var(--shadow-glass);
}
.versus__col--after {
  background: var(--paper);
  color: var(--ink-900);
  border: 1px solid var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 30px 80px rgba(255, 255, 255, 0.10);
}
.versus__col--after::after {
  content: "✓";
  position: absolute;
  top: -22px; right: -16px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--chrome-grad-dark);
  color: var(--paper);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.4rem;
  border: 4px solid var(--ink-900);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px rgba(0, 0, 0, 0.5);
}

.versus__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--glass-border);
}
.versus__col--after .versus__head { border-bottom-color: rgba(0, 0, 0, 0.10); }
.versus__tag {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass-stronger);
  color: var(--paper-muted);
}
.versus__tag--after {
  background: var(--ink-900);
  color: var(--paper);
}
.versus__line { flex: 1; height: 1px; background: var(--glass-border); }
.versus__line--after { background: rgba(0, 0, 0, 0.12); }

.versus__list { display: flex; flex-direction: column; gap: 14px; }
.versus__list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
  color: inherit;
}
.versus__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%238A8A92' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.versus__list--after li::before {
  background: var(--chrome-grad-dark);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    var(--chrome-grad-dark);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}
.versus__list--after li {
  color: var(--ink-900);
  font-weight: 500;
}

/* ============================================================
   OPPORTUNITES
   ============================================================ */
.opportunities {
  background: rgba(8, 8, 12, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.opportunities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 768px) { .opportunities__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.opp {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 320ms var(--ease-out), box-shadow 320ms, border-color 320ms, background 320ms;
  box-shadow: var(--gloss), var(--shadow-glass);
}
.opp:hover {
  transform: translateY(-4px);
  box-shadow: var(--gloss-strong), var(--shadow-glass-hover);
  background: var(--glass-stronger);
  border-color: var(--glass-border-stronger);
}
.opp--feature {
  background: var(--paper);
  color: var(--ink-900);
  border-color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 30px 80px rgba(255, 255, 255, 0.10);
}
.opp__top { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--glass-border); }
.opp--feature .opp__top { border-bottom-color: rgba(0, 0, 0, 0.10); }
.opp__num {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--chrome-300);
  line-height: 1;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--glass-stronger);
  border: 1px solid var(--glass-border-stronger);
  border-radius: 999px;
}
.opp--feature .opp__num {
  color: var(--ink-900);
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}
.opp__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin: 0;
  color: inherit;
  line-height: 1.1;
}
.opp__sub {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-top: 8px;
}
.opp--feature .opp__sub { color: var(--chrome-700); }
.opp__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--paper-muted);
  margin: 0 0 24px;
  flex: 1;
}
.opp--feature .opp__desc { color: var(--chrome-700); }
.opp__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opp__pills li {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass-stronger);
  color: var(--paper);
}
.opp--feature .opp__pills li {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-900);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: rgba(10, 10, 14, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  top: 30%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: liquid 32s var(--ease-out) infinite;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 880px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.testimonial {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 36px 32px;
  margin: 0;
  position: relative;
  box-shadow: var(--gloss), var(--shadow-glass);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 8px; left: 24px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonial--alt {
  background: var(--paper);
  color: var(--ink-900);
  border-color: var(--paper);
}
.testimonial--alt::before {
  background: var(--chrome-grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonial blockquote { margin: 0 0 24px; padding-top: 28px; }
.testimonial blockquote p {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: inherit;
  margin: 0;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--glass-border);
}
.testimonial--alt figcaption { border-top-color: rgba(0, 0, 0, 0.10); }
.testimonial__name {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: inherit;
}
.testimonial__role {
  font-size: 0.85rem;
  color: var(--paper-muted);
}
.testimonial--alt .testimonial__role { color: var(--chrome-700); }

/* ============================================================
   TRUSTPILOT BAR + MARQUEE
   ============================================================ */
.trustpilot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto var(--gap-4);
  padding: 14px 22px;
  width: fit-content;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--gloss);
}
.trustpilot-bar__stars {
  display: inline-flex;
  gap: 2px;
  background: #00B67A;
  padding: 4px 6px;
  border-radius: 4px;
}
.trustpilot-bar__stars svg {
  width: 18px; height: 18px;
  fill: #FFFFFF;
}
.trustpilot-bar__text {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--paper);
  margin: 0;
}
.trustpilot-bar__text strong { font-weight: 700; }

/* Marquee — auto-scrolling carousel of review screenshots */
.reviews-marquee {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.reviews-marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.reviews-marquee:hover .reviews-marquee__track,
.reviews-marquee:focus-within .reviews-marquee__track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  flex-shrink: 0;
  width: clamp(280px, 30vw, 380px);
  background: var(--paper);
  border: 1px solid var(--glass-border-stronger);
  border-radius: var(--r-card);
  padding: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 32px rgba(0, 0, 0, 0.30);
  transition: transform 280ms var(--ease-out), box-shadow 280ms;
  display: block;
  overflow: hidden;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 16px 48px rgba(0, 0, 0, 0.40);
}
.review-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track { animation: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: rgba(8, 8, 12, 0.46);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: var(--gap-6) 0;
  position: relative;
  overflow: hidden;
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-5);
  align-items: start;
}
@media (min-width: 880px) { .faq__inner { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }

.faq__aside .section__title { font-size: clamp(2rem, 4vw, 3rem); text-align: left; }
.faq__aside .section__lead { text-align: left; margin-left: 0; max-width: 100%; }
.faq__aside .kicker { justify-content: flex-start; }
.faq__aside .section__head { align-items: flex-start; text-align: left; }

.link {
  position: relative;
  color: var(--paper);
  font-weight: 600;
  border-bottom: 1px solid var(--chrome-300);
}
.link:hover { color: var(--chrome-300); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qa {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card);
  padding: 0;
  transition: border-color 220ms, background 220ms, box-shadow 220ms;
}
.qa[open] {
  background: var(--glass-stronger);
  border-color: var(--paper);
  box-shadow: var(--gloss-strong), var(--shadow-glass);
}
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.018em;
  color: var(--paper);
  transition: color 200ms;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--chrome-300); }
.qa__plus {
  position: relative;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 320ms var(--ease-out), background 220ms, color 220ms;
}
.qa[open] .qa__plus {
  background: var(--paper);
  color: var(--ink-900);
  transform: rotate(180deg);
  border-color: var(--paper);
}
.qa__plus::before, .qa__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.qa__plus::before { width: 12px; height: 1.5px; }
.qa__plus::after { width: 1.5px; height: 12px; transition: transform 320ms; }
.qa[open] .qa__plus::after { transform: translate(-50%, -50%) scaleY(0); }

.qa__body { padding: 0 26px 24px; max-width: 760px; }
.qa__body p { font-size: 1rem; line-height: 1.65; color: var(--paper-muted); margin: 0; }
.qa__body p em { color: var(--paper); font-style: italic; }

/* ============================================================
   CTA — pure black with white aura
   ============================================================ */
.cta {
  position: relative;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--paper);
  padding: clamp(96px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
}
.cta__bg, .cta::after { display: none; }
.cta::before {
  content: "";
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 800px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.18), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50% 60% 50% 50% / 60% 50% 60% 40%;
  animation: liquid-slow 30s var(--ease-out) infinite;
}
.cta__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.038em;
  color: var(--paper);
  margin: 0 0 var(--gap-3);
}
.cta__lead {
  font-size: 1.12rem;
  color: var(--paper-muted);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto var(--gap-4);
}
.cta__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px;
}
.cta__note {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--paper-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--paper);
  padding: 80px 0 32px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--glass-border);
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.2fr 2fr; } }

.brand-mark--lg { font-size: 2.2rem; }
.footer__brand p {
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 320px;
}
.footer__brand a {
  color: var(--chrome-300);
  border-bottom: 1px solid var(--chrome-500);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 36px;
}
.footer__nav h5 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-300);
  margin: 0 0 16px;
}
.footer__nav a {
  display: block;
  padding: 5px 0;
  font-size: 0.92rem;
  color: var(--paper-muted);
  transition: color 200ms;
}
.footer__nav a:hover { color: var(--paper); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.84rem;
  color: var(--gray-soft);
}
.footer__bottom em {
  font-family: var(--ff-accent);
  font-style: italic;
  background: var(--chrome-grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   LEGAL PAGES — long-form text on dark with glass card
   ============================================================ */
.legal {
  position: relative;
  padding: 160px 0 var(--gap-6);
  min-height: 100vh;
  z-index: 2;
}
.legal__inner {
  max-width: 880px;
  margin-inline: auto;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-card-lg);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  box-shadow: var(--gloss), var(--shadow-glass);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--paper-muted);
  margin-bottom: 28px;
  transition: color 200ms;
}
.legal__back:hover { color: var(--paper); }
.legal__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 14px;
}
.legal__title em {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.legal__updated {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--paper-muted);
  text-transform: uppercase;
  margin: 0 0 var(--gap-4);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}
.legal__inner h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 36px 0 14px;
}
.legal__inner h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--paper);
  margin: 22px 0 10px;
}
.legal__inner p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--paper-muted);
  margin: 0 0 14px;
}
.legal__inner p strong { color: var(--paper); font-weight: 600; }
.legal__inner ul {
  margin: 0 0 16px;
  padding-left: 0;
}
.legal__inner li {
  position: relative;
  padding-left: 22px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--paper-muted);
  margin-bottom: 8px;
}
.legal__inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--chrome-500);
}
.legal__inner a {
  color: var(--paper);
  border-bottom: 1px solid var(--chrome-500);
  transition: color 200ms, border-color 200ms;
}
.legal__inner a:hover { color: var(--chrome-300); border-color: var(--chrome-300); }
.legal__inner address {
  font-style: normal;
  color: var(--paper-muted);
  line-height: 1.65;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after,
  .statbar::before, .statbar::after,
  .agence::before, .programme::before, .versus::before,
  .testimonials::before, .cta::before,
  .piliers::before, .piliers::after, .trust::before { animation: none; }
  html { scroll-behavior: auto; }
  .kicker__dot { animation: none; }
  .aura { transition: none; }
}

/* ============================================================
   HERO LOGO — huge, behind text, video shows through
   ============================================================ */
.hero__logo-wrap {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 1100px);
  height: min(85vw, 1100px);
  pointer-events: none;
  z-index: 1;
  display: grid;
  place-items: center;
}
.hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 40px 120px rgba(0, 0, 0, 0.8));
  opacity: 0.92;
}

/* Hero text on top of logo */
.hero__inner { z-index: 3 !important; }
.hero__inner .kicker,
.hero__inner .hero__title,
.hero__inner .hero__lead,
.hero__inner .hero__cta,
.hero .pills {
  position: relative;
  z-index: 3;
}

/* ============================================================
   INLINE CTA — band between sections, glass pill with button
   ============================================================ */
.inline-cta {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 48px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.inline-cta::before { display: none; }
.inline-cta__inner {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border-stronger);
  border-radius: var(--r-card);
  box-shadow: var(--gloss), var(--shadow-glass);
}
.inline-cta__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--paper);
  flex: 1 1 280px;
}
.inline-cta__title em {
  font-family: var(--ff-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   IS-LIGHT — Semi-transparent white sections (video visible through)
   ============================================================ */
section.is-light {
  background: rgba(255, 255, 255, 0.50) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--ink-900);
  isolation: isolate;
}
/* Disable liquid blob shapes on light sections (they're for dark mode) */
section.is-light::before,
section.is-light::after {
  display: none !important;
}
section.is-light > * { position: relative; z-index: 2; }

/* Section heads inverted on light */
section.is-light .section__title { color: var(--ink-900); }
section.is-light .section__lead { color: var(--ink-700); }
section.is-light .kicker {
  color: var(--ink-700);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
section.is-light .kicker__num { color: var(--ink-900); }
section.is-light .kicker__dot {
  background: var(--chrome-grad-dark);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.18);
}

/* Stat bar (white version) */
.statbar.is-light .stat__num { color: var(--ink-900); }
.statbar.is-light .stat__num sup,
.statbar.is-light .stat__slash {
  background: var(--chrome-grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.statbar.is-light .stat__label { color: var(--ink-muted); }
.statbar.is-light .stat { border-color: rgba(0, 0, 0, 0.10); }
@media (min-width: 768px) {
  .statbar.is-light .stat { border-bottom: 0; border-right-color: rgba(0, 0, 0, 0.10); }
}

/* Piliers tabs on light section — flip to dark contrast */
.piliers.is-light .piliers-tabs {
  background: var(--ink-900) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: var(--ink-900);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 60px rgba(0, 0, 0, 0.18);
}
.piliers.is-light .piliers-tab {
  color: rgba(255, 255, 255, 0.65);
  border-right-color: rgba(255, 255, 255, 0.10);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.piliers.is-light .piliers-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}
.piliers.is-light .piliers-tab.is-active {
  background: var(--paper);
  color: var(--ink-900);
}
.piliers.is-light .piliers-tab.is-active .piliers-tab__icon,
.piliers.is-light .piliers-tab.is-active .piliers-tab__num,
.piliers.is-light .piliers-tab.is-active .piliers-tab__label {
  color: var(--ink-900);
}

/* Piliers (white version) */
.piliers.is-light .pilier {
  background: rgba(0, 0, 0, 0.025);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.04), 0 30px 60px rgba(0, 0, 0, 0.06);
}
.piliers.is-light .pilier:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.18);
}
.piliers.is-light .pilier__num {
  background: var(--ink-900);
  color: var(--paper);
}
.piliers.is-light .pilier__tag {
  color: var(--ink-900) !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: none;
}
.piliers.is-light .pilier__title { color: var(--ink-900); }
.piliers.is-light .pilier__desc { color: var(--ink-700); }
.piliers.is-light .pilier__list { border-top-color: rgba(0, 0, 0, 0.10); }
.piliers.is-light .pilier__list li { color: var(--ink-900); }
.piliers.is-light .pilier__list li::before {
  background: var(--chrome-grad-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Programme (white) */
.programme.is-light .webapp {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 30px 80px rgba(0, 0, 0, 0.06);
}
.programme.is-light .webapp__overline { color: var(--ink-muted); }
.programme.is-light .webapp__title { color: var(--ink-900); }
.programme.is-light .feature {
  background: var(--paper);
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.programme.is-light .feature__icon {
  color: var(--paper);
  background: var(--ink-900);
  border-color: var(--ink-900);
}
.programme.is-light .feature h4 { color: var(--ink-900); }
.programme.is-light .feature p { color: var(--ink-700); }
.programme.is-light .feature__num { color: var(--ink-muted); }
.programme.is-light .btn--outline { border-color: var(--ink-900); color: var(--ink-900); }
.programme.is-light .btn--outline:hover { background: var(--ink-900); color: var(--paper); }

/* Opportunities (white) */
.opportunities.is-light .opp {
  background: var(--paper);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 30px 80px rgba(0, 0, 0, 0.06);
}
.opportunities.is-light .opp:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 40px 100px rgba(0, 0, 0, 0.08);
}
.opportunities.is-light .opp--feature {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
}
.opportunities.is-light .opp__top { border-bottom-color: rgba(0, 0, 0, 0.10); }
.opportunities.is-light .opp--feature .opp__top { border-bottom-color: rgba(255, 255, 255, 0.18); }
.opportunities.is-light .opp__num {
  color: var(--ink-700);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.10);
}
.opportunities.is-light .opp--feature .opp__num {
  color: var(--paper-muted);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.opportunities.is-light .opp__title { color: inherit; }
.opportunities.is-light .opp__sub { color: var(--ink-muted); }
.opportunities.is-light .opp--feature .opp__sub { color: var(--paper-muted); }
.opportunities.is-light .opp__desc { color: var(--ink-700); }
.opportunities.is-light .opp--feature .opp__desc { color: var(--paper-muted); }
.opportunities.is-light .opp__pills li {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-900);
}
.opportunities.is-light .opp--feature .opp__pills li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper-muted);
}

/* FAQ (white) */
.faq.is-light .qa {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.10);
}
.faq.is-light .qa[open] {
  background: var(--paper);
  border-color: var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 30px 80px rgba(0, 0, 0, 0.08);
}
.faq.is-light .qa summary { color: var(--ink-900); }
.faq.is-light .qa summary:hover { color: var(--ink-700); }
.faq.is-light .qa[open] .qa__plus {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
}
.faq.is-light .qa__body p { color: var(--ink-700); }
.faq.is-light .qa__body p em { color: var(--ink-900); }
.faq.is-light .link {
  color: var(--ink-900);
  border-bottom-color: var(--chrome-500);
}

