/* ============================================================
   LINKSKI — Landing
   ============================================================ */

/* -------- TOKENS -------- */
:root {
  /* Colors */
  --bg: #fafafa;
  --bg-elev: #ffffff;
  --bg-soft: #f4f4f4;
  --ink: #0a0a0a;
  --ink-1: #18181b;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --ink-4: #a1a1aa;
  --line: #e4e4e7;
  --line-2: #d4d4d8;

  --red: #FF1744;
  --red-deep: #E0103A;
  --red-soft: #ffe4eb;
  --red-glow: rgba(255, 23, 68, 0.18);

  --green: #10b981;
  --green-deep: #059669;
  --green-soft: #d1fae5;
  --green-glow: rgba(16, 185, 129, 0.22);

  /* Typography */
  --ff-display: 'Geist', system-ui, -apple-system, sans-serif;
  --ff-body: 'Geist', system-ui, -apple-system, sans-serif;
  --ff-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', monospace;

  /* Spacing & layout */
  --container: 1240px;
  --container-narrow: 800px;
  --pad-x: clamp(20px, 5vw, 56px);

  /* Shape */
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -------- BASE -------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern", "ss01";
  overflow-x: hidden;
}

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

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

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* -------- LAYOUT -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  position: relative;
}
.container--narrow { max-width: var(--container-narrow); }

main > section { position: relative; }

/* -------- GRAIN OVERLAY -------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  mix-blend-mode: multiply;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px;
}

/* -------- SCROLL PROGRESS -------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--scroll, 0%);
  background: var(--red);
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--red-glow);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 18px 0;
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-stuck {
  padding: 12px 0;
  background: rgba(250, 250, 250, 0.95);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.logo-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.logo-mark__bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
}
.logo-mark__bar:first-child { width: 22px; }
.logo-mark__bar:last-child  { width: 14px; background: var(--red); margin-left: 8px; }

.logo-text { font-family: var(--ff-display); }

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__link {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; gap: 10px; align-items: center; }

@media (max-width: 880px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav__actions .btn--ghost { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  position: relative;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}
.btn--sm { font-size: 14px; padding: 10px 18px; }
.btn--lg { font-size: 16px; padding: 16px 28px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--red); }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn--ghost:active { transform: translateY(1px); }

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   EYEBROW + SECTION HEADERS
   ============================================================ */
/* Hero tagline — small, low-key positioning line above H1.
   No pill, no dot: deliberately less "template SaaS eyebrow". */
.hero__tagline {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  margin: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }

.section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.section-title .line { display: block; }
.section-title--center .line { text-align: center; }

.section-sub {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  max-width: 56ch;
}
.section-sub--center { text-align: center; margin-inline: auto; }

.muted { color: var(--ink-3); }
.accent { color: var(--red); position: relative; display: inline-block; }
.accent.strong { font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: rgba(0, 0, 0, 0.06);
}
.hero__gradient {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 35% at 80% 0%, rgba(255, 23, 68, 0.16), transparent 60%),
    radial-gradient(ellipse 35% 25% at 8% 25%, rgba(255, 23, 68, 0.10), transparent 65%),
    radial-gradient(ellipse 60% 30% at 50% 110%, rgba(255, 255, 255, 0.95), transparent 70%);
  filter: blur(8px);
}
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 120px;
  position: relative;
}

.hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 940px;
}
/* H1 itself stays at flow size — lines below do the entrance animation */
.hero__title.reveal { opacity: 1; transform: none; transition: none; }
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.6s var(--ease);
}
.hero__title.is-in .line { opacity: 1; transform: translateY(0); }
.hero__title.is-in .line:nth-child(1) { transition-delay: 0.05s; }
.hero__title.is-in .line:nth-child(2) { transition-delay: 0.16s; }
.hero__title.is-in .line:nth-child(3) { transition-delay: 0.27s; }

/* "illimités" — rotates through pillar words with slide+fade.
   Underline retracts before the swap and redraws under the new word. */
.hero__title .accent {
  color: var(--red);
  font-weight: 700;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease);
}
.hero__title .accent.is-changing {
  opacity: 0;
  transform: translateY(-0.18em);
}
.hero__title .accent.is-arriving {
  opacity: 0;
  transform: translateY(0.22em);
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 0.14em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.hero__title .accent.is-stroked::after { transform: scaleX(1); }

/* Hero sub */
.hero__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-1);
  max-width: 56ch;
  line-height: 1.5;
}

/* CTA group */
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* AI agents pill — code-tag style with border, anti-AI-slop */
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
  margin-left: 4px;
}
.ai-pill:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
.ai-pill__bracket {
  color: var(--ink-4);
  font-weight: 400;
  transition: color 0.2s var(--ease);
}
.ai-pill:hover .ai-pill__bracket {
  color: var(--red);
}
.ai-pill__label {
  white-space: nowrap;
}
.ai-pill__arrow {
  font-size: 11px;
  color: var(--ink-4);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.ai-pill:hover .ai-pill__arrow {
  transform: translate(2px, -2px);
  color: var(--red);
}

/* Trust */
.trust {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 8px;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust__check {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-3);
  position: relative;
}
.trust__check::after {
  content: "";
  position: absolute;
  left: 3px; top: 0px;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
}

/* Floating cards (decorative) */
.hero__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ff-mono);
  box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.25), 0 1px 0 rgba(255,255,255,0.6) inset;
  animation: floatY 7s ease-in-out infinite;
  opacity: 0.96;
  min-width: 150px;
}
.float-card__label {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.float-card__label::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.float-card__big {
  color: var(--ink);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 2px;
}
.float-card__sub {
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.float-card--1 { top: 8%;  right: 3%;  --rot: -3deg; animation-delay: 0s; }
.float-card--2 { top: 36%; right: 8%;  --rot: 2deg;  animation-delay: -2.3s; }
.float-card--3 { top: 64%; right: 1%;  --rot: -2deg; animation-delay: -4.6s; }
@keyframes floatY {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-12px); }
}

@media (max-width: 1080px) {
  .hero__floats { display: none; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.marquee__item { font-weight: 500; display: inline-flex; align-items: baseline; gap: 6px; }
.marquee__plus {
  color: var(--red);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}
.marquee__sep { color: var(--red); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: clamp(80px, 10vw, 140px) 0;
}


/* ============================================================
   DEMO — auto-playing "screencast" loop showing the workflow.
   Faux app frame that loops 4 phases:
     phase-1 : counter ramps up from 0 → 500 + slider thumb slides
     phase-2 : "Générer X liens" button gets pressed (red flash)
     phase-3 : generation grid + counter 0/500 → 500/500
     phase-4 : done state (✓ prêts + actions)
   Then loops back to phase-1.
   ============================================================ */
.demo {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}
.demo__frame {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 80px -30px rgba(0,0,0,0.18),
    0 6px 16px -6px rgba(0,0,0,0.08);
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.demo__dots { display: inline-flex; gap: 6px; }
.demo__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}
.demo__path { letter-spacing: 0.06em; }

.demo__stage {
  position: relative;
  padding: 56px 40px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* All phases share the same absolute slot inside the stage */
.demo__select,
.demo__generating,
.demo__done {
  position: absolute;
  inset: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.demo__generating,
.demo__done {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* === Phase 1 / 2 — Selection === */
.demo__label {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.demo__user {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: -0.005em;
  vertical-align: 1px;
}
.demo__user--green {
  color: var(--green-deep);
  background: rgba(16, 185, 129, 0.10);
  font-size: 12.5px;
}
.demo__counter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}
.demo__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 500;
  font-family: var(--ff-mono);
  cursor: pointer;
}
.demo__num {
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  min-width: 150px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.demo__slider {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 28px;
  margin-top: 4px;
}
.demo__slider-track {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.demo__slider-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
}
.demo__slider-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.demo__hint {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.demo__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 0;
  margin-top: 4px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.demo__cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

/* Phase 2 : button gets pressed (visual click) */
.demo.is-phase-2 .demo__cta {
  background: var(--red);
  transform: scale(0.96);
}
.demo.is-phase-2 .demo__cta-arrow {
  transform: translateX(4px);
}

/* === Phase 3 — Generating === */
.demo.is-phase-3 .demo__select {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.demo.is-phase-3 .demo__generating,
.demo.is-phase-4 .demo__done {
  opacity: 1;
  transform: translateY(0);
}

.demo__gen-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.demo__gen-num {
  color: var(--ink);
  font-size: 56px;
  font-variant-numeric: tabular-nums;
  min-width: 110px;
  text-align: right;
}
.demo__gen-sep { color: var(--ink-3); font-size: 36px; font-weight: 400; }
.demo__gen-total { color: var(--ink-3); font-size: 24px; font-weight: 500; }
.demo__gen-status {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.demo__gen-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: status-pulse-cheap 1.2s var(--ease) infinite;
}
.demo__gen-bar {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.demo__gen-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
}
.demo__gen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 460px;
  font-family: var(--ff-mono);
  font-size: 11px;
}
.demo__gen-grid span {
  background: rgba(255, 23, 68, 0.06);
  border: 1px solid rgba(255, 23, 68, 0.25);
  color: var(--red);
  border-radius: 4px;
  padding: 4px 6px;
  text-align: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.demo.is-phase-3 .demo__gen-grid span,
.demo.is-phase-4 .demo__gen-grid span {
  opacity: 1;
  transform: scale(1);
}
.demo__gen-grid span:nth-child(1)  { transition-delay: 0.05s; }
.demo__gen-grid span:nth-child(2)  { transition-delay: 0.10s; }
.demo__gen-grid span:nth-child(3)  { transition-delay: 0.15s; }
.demo__gen-grid span:nth-child(4)  { transition-delay: 0.20s; }
.demo__gen-grid span:nth-child(5)  { transition-delay: 0.25s; }
.demo__gen-grid span:nth-child(6)  { transition-delay: 0.30s; }
.demo__gen-grid span:nth-child(7)  { transition-delay: 0.35s; }
.demo__gen-grid span:nth-child(8)  { transition-delay: 0.40s; }
.demo__gen-grid span:nth-child(9)  { transition-delay: 0.45s; }
.demo__gen-grid span:nth-child(10) { transition-delay: 0.50s; }
.demo__gen-grid span:nth-child(11) { transition-delay: 0.55s; }
.demo__gen-grid span:nth-child(12) { transition-delay: 0.60s; }

/* === Phase 4 — Done === */
.demo.is-phase-4 .demo__select {
  opacity: 0;
  pointer-events: none;
}
.demo.is-phase-4 .demo__generating {
  opacity: 0;
}

.demo__done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.demo__done-icon svg { width: 32px; height: 32px; }
.demo__done-text {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.demo__done-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 36ch;
}
.demo__done-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.demo__action {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.demo__action--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

@media (max-width: 720px) {
  .demo__stage { padding: 32px 20px; min-height: 460px; }
  .demo__select, .demo__generating, .demo__done { inset: 32px 20px; }
  .demo__num { font-size: 44px; }
  .demo__gen-num { font-size: 44px; }
  .demo__gen-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   BAN WAVE
   ============================================================ */
.banwave {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 30%, var(--bg-soft) 70%, transparent);
}

.banwave__schema {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  margin: 80px 0 64px;
  position: relative;
}
.banwave__schema::before {
  content: "VS";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  background: var(--bg-soft);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  z-index: 5;
}
@media (max-width: 760px) {
  .banwave__schema { grid-template-columns: 1fr; }
  .banwave__schema::before { display: none; }
}

.schema-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}
.schema-col--bad   { border-color: rgba(255, 23, 68, 0.35); }
.schema-col--good  {
  border-color: rgba(10,10,10,0.18);
  transition: border-color 0.6s var(--ease);
}
.banwave__schema.virus-3 .schema-col--good {
  border-color: rgba(16, 185, 129, 0.40);
  transition-delay: 0.3s;
}

.schema-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.schema-label--bottom {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
}
.schema-label--red { color: var(--red); }

/* ============================================================
   SCHEMA — HTML cards (accounts) + SVG lines (connectors).
   Two columns: bad (cascade) vs good (contained).
   ============================================================ */

/* Account row (shared between bad-side list and good-side rows) */
.schema-acc__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.schema-acc__name {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--ink-1);
  flex: 1;
  transition: color 0.4s ease, text-decoration-color 0.4s ease;
}
.schema-acc__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  transition: background 0.4s ease;
}

/* ===== BAD side: stacked list + converging lines + shared link ===== */
.schema-bad {
  display: grid;
  grid-template-columns: 1fr 80px auto;
  align-items: center;
  width: 100%;
  gap: 0;
  padding: 8px 0;
}
.schema-bad__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.schema-acc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
}
.banwave__schema.is-in .schema-acc {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--i) * 0.05s);
}

.schema-bad__lines {
  width: 80px;
  height: 100%;
  min-height: 280px;
}
.schema-bad__lines path {
  fill: none;
  stroke: var(--ink-4);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1s var(--ease), stroke 0.4s ease, stroke-width 0.4s ease;
}
.banwave__schema.is-in .schema-bad__lines path { stroke-dashoffset: 0; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(1) { transition-delay: 0.45s; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(2) { transition-delay: 0.51s; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(3) { transition-delay: 0.57s; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(4) { transition-delay: 0.63s; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(5) { transition-delay: 0.69s; }
.banwave__schema.is-in .schema-bad__lines path:nth-child(6) { transition-delay: 0.75s; }

.schema-bad__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--ink-3);
  border-radius: 10px;
  min-width: 96px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-bounce), border-color 0.4s ease, background 0.4s ease;
}
.banwave__schema.is-in .schema-bad__link {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}
.schema-bad__link-tag {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color 0.4s ease;
}
.schema-bad__link-meta {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== GOOD side: paired rows (compte → /lien) ===== */
.schema-good {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  width: 100%;
}
.schema-good__row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
}
.banwave__schema.is-in .schema-good__row {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              background 0.4s ease, border-color 0.4s ease;
  transition-delay: calc(var(--i) * 0.05s);
}
.schema-good__arrow {
  font-family: var(--ff-mono);
  color: var(--ink-4);
  font-size: 14px;
  transition: color 0.4s ease;
}
.schema-good__link {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* ============================================================
   VIRUS ANIMATION — sequential propagation
   Steps applied via JS:
     .virus-1 = patient zero infected on each side
     .virus-2 = on bad side, shared link gets infected
     .virus-3 = on bad side, virus propagates through the
                lines and reaches each account
   The good side never advances past .virus-1 — the ban stays
   contained on a single account.
   ============================================================ */

/* === Helper: a row turns "banned" (red) === */
.schema-bad .schema-acc.is-banned,
.schema-good__row.is-banned {
  background: rgba(255, 23, 68, 0.06);
  border-color: rgba(255, 23, 68, 0.45);
}
.schema-bad .schema-acc.is-banned .schema-acc__avatar,
.schema-good__row.is-banned .schema-acc__avatar {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}
.schema-bad .schema-acc.is-banned .schema-acc__name,
.schema-good__row.is-banned .schema-acc__name {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 23, 68, 0.6);
  text-decoration-thickness: 1.5px;
}
.schema-bad .schema-acc.is-banned .schema-acc__status,
.schema-good__row.is-banned .schema-acc__status {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.schema-good__row.is-banned .schema-good__link {
  background: rgba(255, 23, 68, 0.08);
  border-color: var(--red);
  color: var(--red);
}
.schema-good__row.is-banned .schema-good__arrow { color: var(--red); }

/* === Helper: a good-side row goes "safe" (green) === */
.schema-good__row.is-safe {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.40);
}
.schema-good__row.is-safe .schema-acc__avatar {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--green);
  color: var(--green-deep);
}
.schema-good__row.is-safe .schema-good__link {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--green-deep);
}
.schema-good__row.is-safe .schema-good__arrow { color: var(--green); }

/* === Step 1 — patient zero === */
.banwave__schema.virus-1 [data-schema="bad"]  .schema-bad .schema-acc[data-i="0"] {
  background: rgba(255, 23, 68, 0.06);
  border-color: rgba(255, 23, 68, 0.45);
}
.banwave__schema.virus-1 [data-schema="bad"]  .schema-bad .schema-acc[data-i="0"] .schema-acc__avatar {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}
.banwave__schema.virus-1 [data-schema="bad"]  .schema-bad .schema-acc[data-i="0"] .schema-acc__name {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 23, 68, 0.6);
  text-decoration-thickness: 1.5px;
}
.banwave__schema.virus-1 [data-schema="bad"]  .schema-bad .schema-acc[data-i="0"] .schema-acc__status {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
/* Good side: A3 (i=2) gets banned and stays alone */
.banwave__schema.virus-1 [data-schema="good"] .schema-good__row[data-i="2"] {
  background: rgba(255, 23, 68, 0.06);
  border-color: rgba(255, 23, 68, 0.45);
}
.banwave__schema.virus-1 [data-schema="good"] .schema-good__row[data-i="2"] .schema-acc__avatar {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}
.banwave__schema.virus-1 [data-schema="good"] .schema-good__row[data-i="2"] .schema-acc__name {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 23, 68, 0.6);
  text-decoration-thickness: 1.5px;
}
.banwave__schema.virus-1 [data-schema="good"] .schema-good__row[data-i="2"] .schema-good__link {
  background: rgba(255, 23, 68, 0.08);
  border-color: var(--red);
  color: var(--red);
}
.banwave__schema.virus-1 [data-schema="good"] .schema-good__row[data-i="2"] .schema-good__arrow { color: var(--red); }

/* === Step 2 — shared link infected (bad side only) === */
.banwave__schema.virus-2 [data-schema="bad"] .schema-bad__link {
  background: rgba(255, 23, 68, 0.08);
  border-color: var(--red);
  animation: schema-link-infect 0.7s var(--ease) forwards;
}
.banwave__schema.virus-2 [data-schema="bad"] .schema-bad__link-tag {
  color: var(--red);
}
.banwave__schema.virus-2 [data-schema="bad"] .schema-bad__lines path:nth-child(1) {
  stroke: var(--red);
  stroke-width: 1.5;
  transition-delay: 0s;
}
@keyframes schema-link-infect {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* === Step 3 — cascade on bad, "safe" green on good (except A3) === */
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path {
  stroke: var(--red);
  stroke-width: 1.5;
}
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path:nth-child(2) { transition-delay: 0s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path:nth-child(3) { transition-delay: 0.10s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path:nth-child(4) { transition-delay: 0.20s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path:nth-child(5) { transition-delay: 0.30s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad__lines path:nth-child(6) { transition-delay: 0.40s; }

/* Cascade : each remaining bad account turns red one by one */
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc {
  background: rgba(255, 23, 68, 0.06);
  border-color: rgba(255, 23, 68, 0.45);
}
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc .schema-acc__avatar {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
}
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc .schema-acc__name {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 23, 68, 0.6);
  text-decoration-thickness: 1.5px;
}
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc .schema-acc__status {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc[data-i="1"] { transition-delay: 0.05s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc[data-i="2"] { transition-delay: 0.15s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc[data-i="3"] { transition-delay: 0.25s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc[data-i="4"] { transition-delay: 0.35s; }
.banwave__schema.virus-3 [data-schema="bad"] .schema-bad .schema-acc[data-i="5"] { transition-delay: 0.45s; }

/* Good side : non-banned rows turn green ("safe") */
.banwave__schema.virus-3 [data-schema="good"] .schema-good__row:not([data-i="2"]) {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.40);
  transition-delay: 0.25s;
}
.banwave__schema.virus-3 [data-schema="good"] .schema-good__row:not([data-i="2"]) .schema-acc__avatar {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--green);
  color: var(--green-deep);
  transition-delay: 0.25s;
}
.banwave__schema.virus-3 [data-schema="good"] .schema-good__row:not([data-i="2"]) .schema-good__link {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--green-deep);
  transition-delay: 0.25s;
}
.banwave__schema.virus-3 [data-schema="good"] .schema-good__row:not([data-i="2"]) .schema-good__arrow {
  color: var(--green);
  transition-delay: 0.25s;
}

/* "Contained" / "Cascade" status badges */
.schema-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
.schema-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
}
.schema-status--cascade {
  color: var(--red);
  border-color: var(--red);
  background: rgba(255, 23, 68, 0.06);
}
.schema-status--cascade::before {
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: status-pulse 1.4s var(--ease) infinite;
}
.schema-status--contained {
  color: var(--green-deep);
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.06);
}
.schema-status--contained::before {
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: status-pulse-green 1.4s var(--ease) infinite;
}
.banwave__schema.virus-3 .schema-status--cascade,
.banwave__schema.virus-3 .schema-status--contained {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
/* Cheap GPU-accelerated pulse: transform + opacity only.
   Replaces all the box-shadow pulses that were forcing a repaint per frame. */
@keyframes status-pulse-cheap {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.4);  opacity: 0.6; }
}
@keyframes status-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.4);  opacity: 0.6; }
}
@keyframes status-pulse-green {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.4);  opacity: 0.6; }
}

.banwave__quote {
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 80px auto 0;
  color: var(--ink);
}
.banwave__quote p { display: flex; flex-direction: column; gap: 4px; }
.banwave__quote span { display: block; }

/* ============================================================
   INCLUS
   ============================================================ */
.included {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.included__lead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  font-size: 13px;
  font-family: var(--ff-mono);
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.included__lead-tag {
  color: var(--ink-1);
  font-weight: 600;
}
.included__lead-note {
  font-style: italic;
  color: var(--ink-3);
}

.included__row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 0;
}
.included__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
.included__plus {
  color: var(--red);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}
.included__chip strong {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.included__chip-sub {
  color: var(--ink-3);
  font-family: var(--ff-mono);
  font-size: 12px;
}
@media (max-width: 760px) {
  .included__row { gap: 8px 14px; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */

/* ============================================================
   COMPARATIF
   ============================================================ */
.compare { padding: clamp(80px, 10vw, 140px) 0; }

/* Compare — 4-col table.
   Refined: soft red tint + red rail on Linkski column, numbers in
   bold red display vs mono grey for competitors. Clear without
   shouting. */
.compare__table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.compare__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }

.compare__cell {
  padding: 22px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-family: var(--ff-mono);
  font-size: 14.5px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.compare__cell:first-child { border-left: 0; }

.compare__cell--label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

.compare__cell--num {
  color: var(--ink-3);
}

/* Header row — pale grey bg, two-line layout (kind + name) */
.compare__row--head .compare__cell {
  background: var(--bg-soft);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 28px 16px;
}
.compare__col-kind {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.compare__col-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* === Linkski column — soft red tint + rail + bold display numbers === */
.compare__cell--brand {
  background: rgba(255, 23, 68, 0.035);
  position: relative;
  border-left-color: rgba(255, 23, 68, 0.18);
}
.compare__row--head .compare__cell--brand {
  background: rgba(255, 23, 68, 0.06);
}
/* Red rail on the very left edge of the Linkski column */
.compare__row .compare__cell--brand::before,
.compare__row--head .compare__cell--brand::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--red);
}

.compare__row--head .compare__cell--brand .compare__col-name {
  color: var(--red);
}
.compare__col-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Linkski numbers : same size + same mono family as competitors,
   so the column reads in tabular alignment. The win comes purely
   from weight (bold) + colour (red), not from a big font swap. */
.compare__cell--num.compare__cell--brand {
  color: var(--red);
  font-weight: 700;
}
.compare__cell--brand sup {
  font-size: 0.7em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 1px;
}
.compare__count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 2.4ch;
  text-align: right;
}
.compare__cell--cross {
  color: var(--ink-4);
  font-size: 18px;
  font-weight: 600;
}
.compare__cell--check {
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 700;
}
.compare__cell--num.compare__cell--brand.compare__cell--check {
  color: var(--green-deep);
}

@media (max-width: 760px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__cell { padding: 14px 18px; font-size: 13px; }
  .compare__row--head .compare__cell:nth-child(1),
  .compare__row .compare__cell:nth-child(1) { display: none; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: clamp(80px, 10vw, 140px) 0; }

.pricing__toggle {
  position: relative;
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 56px;
  align-self: flex-start;
}
.pricing__toggle-btn {
  position: relative;
  z-index: 2;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.pricing__toggle-btn.is-active { color: var(--ink); }
.pricing__toggle-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: var(--pill-w, 95px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 999px;
  z-index: 1;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.18);
  transition: transform 0.45s var(--ease-bounce), width 0.45s var(--ease-bounce);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* Price cards — operator/spec-sheet feel.
   Tier shown as mono `[ tag ]`, list items use the same `+` accent
   as the "+ Inclus" section, currency in mono, sharper edges. */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.price-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.price-card--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  z-index: 2;
}
.price-card--featured:hover { border-color: var(--red); }

.price-card__head { display: flex; flex-direction: column; gap: 6px; }
.price-card__tier {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.price-card--featured .price-card__tier {
  color: #fff;
}
.price-card__infinity {
  color: var(--red);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
.price-card__for {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
}
.price-card--featured .price-card__for { color: var(--ink-4); }

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price-card__amount {
  font-size: 48px;
  line-height: 1;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
  display: inline-block;
}
.price-card__amount.is-changing { transform: translateY(-6px) scale(0.9); opacity: 0.4; }
.price-card__currency {
  font-family: var(--ff-mono);
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 4px;
}
.price-card--featured .price-card__currency { color: var(--ink-4); }
.price-card__period {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 4px;
}
.price-card--featured .price-card__period { color: var(--ink-4); }

.price-card__hint {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin: -10px 0 0;
  letter-spacing: -0.005em;
}
.price-card--featured .price-card__hint { color: rgba(255,255,255,0.55); }
.price-card__hint .accent {
  color: var(--red);
  font-weight: 700;
  font-family: var(--ff-mono);
}

.price-card__headline {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.price-card__headline .num {
  color: var(--red);
  font-size: 22px;
  margin-right: 2px;
}
.price-card--featured .price-card__headline {
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

.price-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.price-card__list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-2);
  line-height: 1.45;
}
.price-card--featured .price-card__list li {
  color: #d4d4d8;
}
.price-card__list .plus {
  color: var(--red);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  width: 14px;
  line-height: 1;
}
.price-card__list strong {
  color: var(--ink);
  font-weight: 700;
}
.price-card--featured .price-card__list strong {
  color: #fff;
}

.pricing__mention {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 40px;
  letter-spacing: 0.04em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: clamp(80px, 10vw, 140px) 0; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .testimonials__grid { grid-template-columns: 1fr; } }

.testi {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testi:hover { transform: translateY(-2px); border-color: var(--ink-3); }

.testi__text {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-1);
  flex: 1;
  position: relative;
  padding-left: 14px;
  margin: 0;
}
.testi__text::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--red);
}
.testi__cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi__tag {
  font-family: var(--ff-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.testi__num {
  color: var(--red);
  font-weight: 700;
  margin-left: 2px;
}
.testi__meta {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 21px);
  letter-spacing: -0.018em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--red); }

.faq__q-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.faq__q-text { color: inherit; }

.faq__q-icon {
  position: relative;
  width: 18px; height: 18px;
}
.faq__q-icon::before,
.faq__q-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq__q-icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__q-icon::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__q { color: var(--red); }
.faq__item[open] .faq__q-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item[open] .faq__q-icon::before { background: var(--red); }

.faq__a {
  padding: 0 0 28px 56px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: faq-in 0.5s var(--ease);
}
.faq__a strong { color: var(--ink); font-weight: 500; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 540px) {
  .faq__a { padding-left: 0; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: clamp(100px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--red-glow) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.cta-final__phrase {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 48px;
  position: relative;
}
.cta-final__phrase .line { display: block; }
.cta-final__phrase .accent {
  position: relative;
  display: inline-block;
  color: var(--red);
}
.cta-final__phrase .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.02em;
  height: 0.10em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease) 0.3s;
}
.cta-final__phrase.is-in .accent::after { transform: scaleX(1); }
.cta-final__buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--ink-4);
  padding: 80px 0 40px;
  position: relative;
}
.footer .nav__logo { color: #fff; }
.footer .logo-mark__bar:first-child { background: #fff; }

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr; } }

.footer__tag {
  margin-top: 16px;
  max-width: 32ch;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 540px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

.footer__title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease, transform 0.3s var(--ease);
  display: inline-block;
}
.footer__col a:hover { color: var(--red); transform: translateX(3px); }
.footer__col .muted { color: rgba(255,255,255,0.35); font-size: 12px; }

/* Compressed brand statement (was the standalone manifesto section) */
.footer__manifesto {
  text-align: center;
  padding: 36px 0 32px;
  margin-top: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.footer__manifesto-text {
  font-family: var(--ff-display);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
  margin: 0;
}
.footer__manifesto-text em {
  font-style: normal;
  color: var(--red);
  font-weight: 600;
}
.footer__manifesto-sig {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 14px 0 0;
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.footer__made { color: rgba(255,255,255,0.35); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Note: prefers-reduced-motion is intentionally NOT honored here. All
   animations on this page are subtle (slow marquee, gentle floats, small
   pulses, single fade-ups) — none are vertigo-inducing parallax or rapid
   shakes. Disabling them killed the page identity for users on systems
   that auto-enable reduced-motion (Windows Server, some testing envs). */


/* ============================================================
   AI / DENSE PAGES (for-ai.html, terms, privacy, etc.)
   Style: command-line / technical doc, no animations, mono-heavy,
   dense and accurate — built for machine readability, not bling.
   ============================================================ */

.aip-body {
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--ff-mono);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Top breadcrumb bar */
.aip-top {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.aip-top__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}
.aip-top__path {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.aip-top__path:hover { color: var(--red); }
.aip-top__path-host { font-weight: 600; color: var(--ink-1); }
.aip-top__path-sep { color: var(--ink-4); }
.aip-top__path-page { color: var(--red); font-weight: 600; }

/* Inverse pill on for-ai page (dark on light works fine; keep base) */
.ai-pill--inverse { margin-left: 0; }

/* Page container */
.aip-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Hero block */
.aip-hero {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.aip-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.aip-h1 {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.15;
}
.aip-lead {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
}

/* Callouts */
.aip-callout {
  border-left: 2px solid var(--red);
  background: var(--red-soft);
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-1);
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}
.aip-callout--human strong { color: var(--red); }
.aip-callout__tag {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-right: 6px;
}
.aip-callout a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.aip-callout a:hover { color: var(--red); }

/* Sections */
.aip-section {
  margin-bottom: 48px;
}
.aip-section--meta {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px dashed var(--line-2);
}

/* Headings */
.aip-h2 {
  font-family: var(--ff-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.aip-h3 {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  margin: 28px 0 10px;
}

/* Body text */
.aip-page p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-1);
  margin: 0 0 14px;
}
.aip-page p code,
.aip-page li code {
  font-family: var(--ff-mono);
  font-size: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--red-deep);
}
.aip-page strong {
  color: var(--ink);
  font-weight: 700;
}
.aip-page a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}
.aip-page a:hover {
  color: var(--red-deep);
}

/* Lists */
.aip-list {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-1);
  padding-left: 24px;
  margin: 0 0 14px;
}
.aip-list li {
  margin-bottom: 6px;
}
.aip-list--ordered { list-style-type: decimal; }
.aip-list--tldr {
  list-style: none;
  padding-left: 0;
}
.aip-list--tldr li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.aip-list--tldr li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--ff-mono);
  font-weight: 700;
}
.aip-list--meta {
  list-style: none;
  padding-left: 0;
  font-family: var(--ff-mono);
  font-size: 13px;
}
.aip-list--meta li {
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
}
.aip-list--meta li:last-child { border-bottom: 0; }

/* Note (smaller callout) */
.aip-note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 18px 0;
  border-radius: 4px;
}
.aip-note strong { color: var(--ink); }

/* Tables */
.aip-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
}
.aip-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.aip-table tbody th {
  font-weight: 600;
  color: var(--ink-1);
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-elev);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.aip-table td {
  padding: 10px 12px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.aip-table tbody tr:hover th,
.aip-table tbody tr:hover td {
  background: var(--bg-soft);
}
.aip-table th:last-child,
.aip-table td:last-child {
  color: var(--red);
  font-weight: 600;
}
.aip-table tbody th:last-child { color: var(--red); }

/* Footer */
.aip-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 24px;
  margin-top: 60px;
}
.aip-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.aip-footer__brand {
  font-weight: 600;
  color: var(--ink-1);
}
.aip-footer__sep {
  color: var(--ink-4);
}
.aip-footer__link {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.aip-footer__link:hover { color: var(--red); }
.aip-footer__copy {
  margin-left: auto;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .aip-page { padding: 40px 18px 80px; }
  .aip-h1 { font-size: 26px; }
  .aip-table { font-size: 12px; }
  .aip-table thead th, .aip-table td, .aip-table tbody th { padding: 8px 10px; }
  .aip-top__inner { padding: 12px 18px; }
  .aip-top__path { font-size: 11px; }
  .aip-footer__copy { margin-left: 0; width: 100%; }
}


/* ============================================================
   ACCESSIBILITY — skip link (visible only on focus)
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
