/* ==========================================================================
   OptiMotion, Monochrome Editorial System
   Black / White / Gray. Alternating dark & light sections.
   Type: Inter Tight + Instrument Serif (italics) + JetBrains Mono (eyebrows)
   ========================================================================== */

:root {
  --ink: #0A0A0B;
  --void: #050506;
  --carbon: #111113;
  --slate: #17171A;
  --graphite: #1F1F23;

  --paper: #F5F5F7;
  --ivory: #ECECEE;
  --silver: #B8B8BD;
  --mist: #8A8A90;
  --smoke: #5E5E64;
  --shade: #2E2E33;

  --hair: rgba(255, 255, 255, 0.06);
  --rule: rgba(255, 255, 255, 0.09);
  --rule-strong: rgba(255, 255, 255, 0.16);

  --hair-i: rgba(0, 0, 0, 0.06);
  --rule-i: rgba(0, 0, 0, 0.09);
  --rule-strong-i: rgba(0, 0, 0, 0.16);

  --sig-red: #FF453A;
  --sig-amber: #FFD60A;
  --sig-green: #30D158;

  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-eyebrow: 11px;
  --fs-body: 17px;
  --fs-lead: 19.5px;
  --fs-h3: clamp(1.4rem, 1.05rem + 1vw, 1.85rem);
  --fs-h2: clamp(2.05rem, 1.4rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(3rem, 2rem + 4.6vw, 6.6rem);
  --fs-hero: clamp(3.3rem, 1.8rem + 6.2vw, 8.2rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --s-9: 6.5rem; --s-10: 9rem; --s-11: 12rem;

  --c-wide: 1360px;
  --c-reg: 1200px;
  --c-narrow: 880px;
  --c-text: 640px;

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

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

html {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  font-optical-sizing: auto;
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: none; }

::selection { background: var(--paper); color: var(--ink); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mist);
  font-weight: 500;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--silver);
  letter-spacing: -0.013em;
  max-width: 58ch;
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: var(--paper);
  font-feature-settings: 'ss01', 'ss02';
}
h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.05em; }
h2 { font-size: var(--fs-h2); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; }
h3 { font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -0.028em; font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.3; }
h5 { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mist); font-family: var(--font-body); }

em { font-style: normal; }
h1 em, h2 em, h3 em, .hero-title em, .editorial-hero-title em, .final-cta-title em, .pullquote em, .stat-num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

p { color: var(--silver); letter-spacing: -0.005em; }
.italic-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--mist); }
.stack-lg > * + * { margin-top: var(--s-5); }
.stack-md > * + * { margin-top: var(--s-4); }
hr.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--c-reg); margin-inline: auto; padding-inline: clamp(1.5rem, 4vw, 3rem); position: relative; z-index: 2; }
.container-wide { width: 100%; max-width: var(--c-wide); margin-inline: auto; padding-inline: clamp(1.5rem, 4vw, 3rem); position: relative; z-index: 2; }
.container-narrow { width: 100%; max-width: var(--c-narrow); margin-inline: auto; padding-inline: clamp(1.5rem, 4vw, 3rem); position: relative; z-index: 2; }
.container-text { width: 100%; max-width: var(--c-text); margin-inline: auto; padding-inline: clamp(1.5rem, 4vw, 3rem); position: relative; z-index: 2; }

section { padding-block: var(--s-10); position: relative; }
section.tight { padding-block: var(--s-8); }
section.loose { padding-block: var(--s-11); }

.sec-head { max-width: 720px; margin-bottom: var(--s-8); }
.sec-head .eyebrow { display: block; margin-bottom: var(--s-4); }
.sec-head h2 { margin-bottom: var(--s-5); }
.sec-head .lead { margin-top: var(--s-4); }

/* ---------- Light section variant ---------- */
.section-light {
  background: var(--paper);
  color: var(--ink);
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--ink); }
.section-light h5 { color: var(--smoke); }
.section-light p { color: var(--shade); }
.section-light .lead { color: var(--shade); }
.section-light .eyebrow { color: var(--smoke); }
.section-light hr.rule { background: var(--rule-i); }
.section-light ::selection { background: var(--ink); color: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease), color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--hair);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--c-wide);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  display: flex; align-items: center; gap: var(--s-6);
}
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; color: var(--paper); }
.nav-links { display: flex; gap: var(--s-6); margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 0.875rem; color: var(--silver); font-weight: 400;
  letter-spacing: -0.003em; transition: color 0.2s var(--ease);
  position: relative; padding: 6px 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: 0;
  height: 1px; background: var(--paper);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.active { color: var(--paper); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: -0.005em; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--primary:hover { background: #ffffff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.04); }
.btn--sm { padding: 10px 16px; font-size: 0.82rem; }
.btn--lg { padding: 16px 28px; font-size: 0.95rem; }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Light section button overrides */
.section-light .btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section-light .btn--primary:hover { background: #000; }
.section-light .btn--ghost { color: var(--ink); border-color: var(--rule-strong-i); }
.section-light .btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,0.04); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }
[data-delay="1"] { --d: 1; }
[data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; }
[data-delay="4"] { --d: 4; }

/* ---------- Hero (home) ---------- */
.hero {
  padding-top: 180px; padding-bottom: var(--s-8);
  min-height: 92vh;
  display: flex; align-items: center;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: var(--s-6);
}
.hero .eyebrow { opacity: 0.9; }
.hero-title {
  font-family: var(--font-display); font-size: var(--fs-hero);
  line-height: 0.94; letter-spacing: -0.055em;
  font-weight: 600; color: var(--paper); max-width: 18ch;
}
.hero-sub {
  font-size: 1.125rem; line-height: 1.5; color: var(--silver);
  max-width: 52ch; letter-spacing: -0.005em;
}
.hero-cta { display: flex; gap: var(--s-3); margin-top: var(--s-3); flex-wrap: wrap; justify-content: center; }
.hero-meta {
  margin-top: var(--s-6); display: flex; gap: var(--s-5); flex-wrap: wrap;
  justify-content: center; color: var(--mist); font-size: 0.82rem;
  font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--silver); }

/* ---------- Editorial hero (inner pages) ---------- */
.editorial-hero { padding-top: 170px; padding-bottom: var(--s-9); }
.editorial-hero .eyebrow { display: block; margin-bottom: var(--s-5); }
.editorial-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 1.5rem + 4.7vw, 5.8rem);
  line-height: 0.96; letter-spacing: -0.05em;
  font-weight: 600; color: var(--paper); max-width: 22ch;
}
.editorial-hero-sub {
  font-size: 1.05rem; line-height: 1.55; color: var(--silver);
  max-width: 62ch; margin-top: var(--s-5);
}

/* ---------- Brand reveal (growth curve → OptiMotion) ---------- */
.brand-reveal {
  position: relative;
  height: 220vh;
  background: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.brand-reveal-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  gap: clamp(1.25rem, 3vh, 2.25rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(255,255,255,0.045), transparent 70%);
}
.brand-reveal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.85;
}

/* Curve frame */
.brand-curve {
  width: min(92vw, 1180px);
  aspect-ratio: 1400 / 480;
  position: relative;
}
.brand-curve-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Subtle baseline */
.brand-curve-axis {
  stroke: var(--hair);
  stroke-width: 1;
  stroke-dasharray: 1 6;
}

/* Progressive zigzag line */
.brand-curve-path {
  stroke: url(#curveGrad);
  stroke-width: 6;
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

/* Filled triangular arrow head, moves along the line */
.brand-curve-arrow {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}
.brand-reveal[data-state="drawing"] .brand-curve-arrow,
.brand-reveal[data-state="ready"]   .brand-curve-arrow { opacity: 1; }
.brand-curve-arrow polygon {
  fill: var(--paper);
  stroke: var(--paper);
  stroke-width: 1;
  stroke-linejoin: round;
}

/* Wordmark below */
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: 0.05s;
}
.brand-wordmark-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1rem + 5vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--paper);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
}
.brand-wordmark-rule {
  display: block;
  width: 0;
  height: 1px;
  background: var(--paper);
  transition: width 1s var(--ease-out) 0.2s;
}
.brand-reveal[data-state="ready"] .brand-wordmark {
  opacity: 1;
  transform: translateY(0);
}
.brand-reveal[data-state="ready"] .brand-wordmark-rule {
  width: clamp(60px, 10vw, 140px);
}

/* Caption */
.brand-reveal-caption {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.75rem + 0.5vw, 1.15rem);
  color: var(--silver);
  max-width: 42ch;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
  letter-spacing: -0.005em;
  line-height: 1.5;
}
.brand-reveal[data-state="ready"] .brand-reveal-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll hint */
.brand-reveal-scrollhint {
  position: absolute;
  bottom: clamp(24px, 4vh, 44px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.brand-reveal-scrollhint i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--smoke), transparent);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0.2; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.2; }
}
.brand-reveal[data-state="ready"] .brand-reveal-scrollhint { opacity: 0; }

@media (max-width: 640px) {
  .brand-reveal { height: 180vh; }
  .brand-curve { aspect-ratio: 1400 / 600; }
}

/* ---------- Manifesto strip (home replacement for morph) ---------- */
.manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-i);
  border-left: 1px solid var(--rule-i);
}
.section-light .manifesto { border-color: var(--rule-i); }
.manifesto-cell {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--rule-i);
  border-bottom: 1px solid var(--rule-i);
  display: flex; flex-direction: column; gap: var(--s-4);
  min-height: 240px;
}
.manifesto-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--smoke);
  text-transform: uppercase;
}
.manifesto-cell h3 {
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.15;
}
.manifesto-cell p {
  font-size: 0.95rem; line-height: 1.55; color: var(--shade);
}
.manifesto-cell .accent {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   Diagnostic v2, reconstruction complète
   ========================================================================== */
.diag2 {
  background: linear-gradient(180deg, var(--ink) 0%, var(--carbon) 50%, var(--ink) 100%);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.diag2-head { max-width: 720px; margin-bottom: var(--s-7); }
.diag2-head .eyebrow { display: block; margin-bottom: var(--s-4); }
.diag2-head h2 { margin-bottom: var(--s-4); }
.diag2-head .lead { margin-top: var(--s-3); }

.diag2-card {
  --accent: var(--paper);
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
  border: 1px solid var(--rule);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(1.25rem, 3.2vw, 2.75rem);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -20px rgba(0,0,0,0.6);
}

/* Progress bar */
.diag2-progress {
  display: flex; align-items: center; gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.diag2-progress-bar {
  flex: 1; height: 2px;
  background: var(--rule);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.diag2-progress-bar > span {
  display: block; height: 100%; width: 0%;
  background: var(--paper);
  transition: width 0.6s var(--ease-out);
}
.diag2-progress-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mist); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Form */
.diag2-form { display: grid; gap: 0; }
.diag2-q {
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--hair);
}
.diag2-q:last-child { border-bottom: 0; }
.diag2-q-head {
  display: flex; align-items: baseline;
  gap: var(--s-4); margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.diag2-q-num {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mist);
}
.diag2-q-title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; letter-spacing: -0.015em;
  color: var(--paper); flex: 1; line-height: 1.3;
}
.diag2-q-readout {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--silver);
  font-variant-numeric: tabular-nums;
}
.diag2-q-readout strong {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 500; color: var(--paper);
  letter-spacing: -0.01em; margin-right: 2px;
}

/* Range slider */
.diag2-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: linear-gradient(to right,
    var(--paper) 0%,
    var(--paper) var(--p, 8%),
    var(--rule) var(--p, 8%),
    var(--rule) 100%);
  border-radius: 999px; outline: none; cursor: pointer;
  transition: background 0.05s linear;
}
.diag2-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 0; cursor: grab;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 4px 14px rgba(0,0,0,0.5);
  transition: transform 0.18s var(--ease);
}
.diag2-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.diag2-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(0.96); }
.diag2-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 0; cursor: grab;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.diag2-range-ticks {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding: 0 4px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.06em; color: var(--smoke);
  font-variant-numeric: tabular-nums;
}

/* Segmented control */
.diag2-seg {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; padding: 4px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.diag2-seg-opt {
  position: relative;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--silver);
  cursor: pointer; padding: 14px 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; min-height: 76px;
  text-align: center;
  font-family: var(--font-body);
  transition:
    background-color 0.22s var(--ease),
    color 0.22s var(--ease),
    transform 0.18s var(--ease);
}
.diag2-seg-opt > * { pointer-events: none; }
.diag2-seg-opt:hover { background: rgba(255,255,255,0.04); color: var(--paper); }
.diag2-seg-opt:active { transform: scale(0.985); }
.diag2-seg-opt[aria-checked="true"] {
  background: var(--paper); color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.diag2-seg-cap {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mist); transition: color 0.22s var(--ease);
}
.diag2-seg-opt[aria-checked="true"] .diag2-seg-cap { color: var(--smoke); }
.diag2-seg-label {
  font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 500; letter-spacing: -0.005em;
}

/* Result */
.diag2-result {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
  position: relative;
}
.diag2-pending {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  border: 1px dashed var(--rule);
  border-radius: 18px;
  background: rgba(255,255,255,0.012);
}
.diag2-pending p { color: var(--silver); margin: 0; font-size: 0.95rem; line-height: 1.5; }
.diag2-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mist); flex-shrink: 0;
  animation: diag2-pulse 1.8s var(--ease) infinite;
}
@keyframes diag2-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

.diag2-revealed { display: none; }
.diag2-result[data-state="ready"] .diag2-pending { display: none; }
.diag2-result[data-state="ready"] .diag2-revealed {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  animation: diag2-reveal 0.7s var(--ease-out) both;
}
@keyframes diag2-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cockpit (gauge + zones) */
.diag2-cockpit {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s-6); align-items: center;
  padding: var(--s-6);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hair);
  border-radius: 22px;
}
.diag2-gauge-wrap {
  position: relative;
  width: 100%; max-width: 360px;
  margin-inline: auto;
}
.diag2-gauge { width: 100%; height: auto; overflow: visible; }
.diag2-gauge-bg {
  stroke: var(--graphite); stroke-width: 14;
  fill: none; stroke-linecap: round;
}
.diag2-gauge-fg {
  stroke: rgba(255,255,255,0.16);
  stroke-width: 14; fill: none; stroke-linecap: round;
  transition: stroke 0.6s var(--ease), stroke-dashoffset 1.1s var(--ease-out);
  filter: drop-shadow(0 0 12px var(--accent));
}
.diag2-result[data-state="idle"] .diag2-gauge-fg { filter: none; }
.diag2-gauge-ticks line {
  stroke: var(--rule-strong); stroke-width: 1.5; stroke-linecap: round;
}
.diag2-gauge-readout {
  position: absolute;
  bottom: 6%; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
}
.diag2-score {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 1.8rem + 4vw, 5rem);
  font-weight: 500; letter-spacing: -0.05em;
  line-height: 0.9; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.diag2-score sup {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 0.36em; color: var(--mist);
  margin-left: 2px; vertical-align: super;
}
.diag2-status {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mist); margin-top: 14px;
}

.diag2-zones {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.zone {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--silver);
  font-variant-numeric: tabular-nums;
}
.zone i {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.zone--red i    { background: var(--sig-red); }
.zone--amber i  { background: var(--sig-amber); }
.zone--green i  { background: var(--sig-green); }

/* Metrics */
.diag2-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 22px;
  overflow: hidden;
}
.diag2-metric {
  background: var(--carbon);
  padding: var(--s-5) var(--s-6);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 168px;
}
.diag2-metric-cap {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mist);
}
.diag2-metric-val {
  display: flex; align-items: baseline;
  gap: 8px; margin-top: 4px; flex-wrap: wrap;
}
.diag2-metric-val strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.2rem + 2.8vw, 3.4rem);
  font-weight: 500; letter-spacing: -0.045em;
  color: var(--paper); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.diag2-metric-val .unit {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--silver);
  font-weight: 400; white-space: nowrap;
}
.diag2-metric-note {
  font-size: 0.85rem; color: var(--mist);
  line-height: 1.45; margin-top: auto;
}

/* Verdict */
.diag2-verdict {
  padding: var(--s-5) var(--s-6);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--accent);
  border-radius: 18px;
  font-size: 1rem; line-height: 1.6;
  color: var(--silver);
  transition: border-color 0.6s var(--ease);
}
.diag2-verdict strong { color: var(--paper); font-weight: 500; }

/* CTA */
.diag2-cta {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  padding-top: var(--s-2);
}
.diag2-disclaim {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--smoke);
}

/* Responsive */
@media (max-width: 760px) {
  .diag2-cockpit { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); }
  .diag2-zones { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .diag2-metrics { grid-template-columns: 1fr; }
  .diag2-metric + .diag2-metric { border-top: 1px solid var(--hair); }
  .diag2-cta { flex-direction: column; align-items: stretch; }
  .diag2-cta .btn { justify-content: center; }
}
@media (max-width: 520px) {
  .diag2-seg { grid-template-columns: 1fr; }
  .diag2-q-readout { width: 100%; }
}

/* ==========================================================================
   IA page, futurist monochrome aesthetic
   ========================================================================== */
.ia-hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: var(--s-9);
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--carbon) 50%, var(--ink) 100%);
}
.ia-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.ia-grid-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ia-scan {
  position: absolute;
  top: 0; left: -25%;
  width: 35%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(245,245,247,0.05) 50%, transparent 100%);
  filter: blur(20px);
  animation: iaScan 8s var(--ease) infinite;
}
@keyframes iaScan {
  0%   { transform: translateX(0)   skewX(-10deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(380%) skewX(-10deg); opacity: 0; }
}
.ia-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
}
.ia-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.8rem + 5.5vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.94;
  color: var(--paper);
  max-width: 18ch;
}
.ia-hero-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--silver);
  max-width: 56ch;
}
.ia-hero-meta {
  margin-top: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ia-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
.ia-meta-sep { color: var(--smoke); font-size: 0.7rem; }

/* 3 interactive cards */
.ia-blocks {
  background: var(--ink);
  position: relative;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.ia-blocks-head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--s-8);
}
.ia-blocks-head h2 { margin-inline: auto; }
.ia-blocks-head .lead { margin-inline: auto; }

.ia-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  max-width: 1180px;
  margin-inline: auto;
}
.ia-card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--rule);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,245,247,0.06), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.030) 0%, rgba(255,255,255,0.005) 100%);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.ia-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,245,247,0.6), transparent);
  opacity: 0.25;
  transition: opacity 0.5s var(--ease-out);
  z-index: 1;
}
.ia-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(245,245,247,0.10), transparent 70%);
  z-index: 0;
}
.ia-card:hover {
  transform: translateY(-6px);
  border-color: var(--rule-strong);
  box-shadow:
    0 20px 50px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}
.ia-card:hover::before { opacity: 0.85; }
.ia-card:hover::after { opacity: 1; }

/* Card header */
.ia-card-head {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  justify-content: space-between;
}
.ia-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 5px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.ia-card:hover .ia-card-chip { border-color: rgba(245,245,247,0.5); color: var(--paper); }
.ia-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* Visual canvas */
.ia-card-visual {
  position: relative;
  z-index: 1;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.05), transparent 70%),
    linear-gradient(165deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid var(--hair);
  overflow: hidden;
}
.ia-card-visual::before {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(245,245,247,0.05), transparent);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.ia-card:hover .ia-card-visual::before {
  opacity: 1;
  animation: iaCardScan 3s var(--ease) infinite;
}
@keyframes iaCardScan {
  0%   { transform: translateX(0)    skewX(-15deg); }
  100% { transform: translateX(380%) skewX(-15deg); }
}
.ia-viz {
  width: 100%; height: 100%;
  overflow: visible;
  position: relative; z-index: 1;
}

/* Card body */
.ia-card-body {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ia-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1.15;
}
.ia-card-desc {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.5;
  margin: 0;
}
.ia-card-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ia-card-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.4;
}
.ia-card-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--paper);
  opacity: 0.5;
}

/* Hover-revealed insight */
.ia-card-insight {
  position: relative; z-index: 2;
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s var(--ease-out),
    padding 0.4s var(--ease-out),
    margin 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}
.ia-card:hover .ia-card-insight,
.ia-card:focus-within .ia-card-insight {
  max-height: 280px;
  opacity: 1;
  border-top-color: rgba(245,245,247,0.30);
}
.ia-card-insight-cap {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
.ia-card-insight p {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.55;
  margin: 0;
}

/* ----- Card 01 — Knowledge ----- */
[data-card="knowledge"] .ia-viz-rings circle {
  fill: none;
  stroke: rgba(245,245,247,0.10);
  stroke-width: 0.6;
  stroke-dasharray: 2 4;
}
[data-card="knowledge"] .ia-viz-edges line {
  stroke: var(--silver);
  stroke-width: 0.8;
  opacity: 0.35;
  stroke-dasharray: 1 3;
  transition: opacity 0.5s var(--ease-out), stroke-dasharray 0.6s var(--ease-out);
}
[data-card="knowledge"] .ia-viz-nodes circle {
  fill: var(--paper);
  transition: r 0.4s var(--ease-out);
}
[data-card="knowledge"] .ia-viz-nodes .hub {
  filter: drop-shadow(0 0 8px rgba(245, 245, 247, 0.6));
}
[data-card="knowledge"]:hover .ia-viz-edges line { opacity: 1; stroke-dasharray: none; }
[data-card="knowledge"]:hover .ia-viz-rings circle:nth-child(1) { animation: ringPulse 3s var(--ease) infinite 0s; }
[data-card="knowledge"]:hover .ia-viz-rings circle:nth-child(2) { animation: ringPulse 3s var(--ease) infinite 0.4s; }
[data-card="knowledge"]:hover .ia-viz-rings circle:nth-child(3) { animation: ringPulse 3s var(--ease) infinite 0.8s; }
@keyframes ringPulse {
  0%, 100% { stroke-opacity: 0.10; }
  50%      { stroke-opacity: 0.4;  }
}

/* ----- Card 02 — Bridge (abstract nodes, no letters) ----- */
[data-card="compat"] .bridge-node {
  fill: rgba(255,255,255,0.04);
  stroke: var(--paper);
  stroke-width: 1.4;
  transition: fill 0.4s var(--ease-out), stroke-width 0.4s var(--ease-out);
}
[data-card="compat"]:hover .bridge-node {
  fill: rgba(255,255,255,0.10);
  stroke-width: 1.8;
}
[data-card="compat"] .bridge-node-dot {
  fill: var(--paper);
  opacity: 0.7;
  transition: opacity 0.4s var(--ease-out);
}
[data-card="compat"]:hover .bridge-node-dot {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(245,245,247,0.6));
}
[data-card="compat"] .bridge-line {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease-out);
}
[data-card="compat"]:hover .bridge-line { opacity: 0.85; }
[data-card="compat"] .bridge-particle {
  fill: var(--paper);
  filter: drop-shadow(0 0 6px rgba(245, 245, 247, 0.7));
  opacity: 0;
}
[data-card="compat"]:hover .bridge-particle { opacity: 1; }
[data-card="compat"] .bridge-p1 {
  offset-path: path("M 72 58 Q 110 30 148 58");
  animation: bridgePath 2.6s linear infinite;
}
[data-card="compat"] .bridge-p2 {
  offset-path: path("M 64 74 Q 88 110 96 116");
  animation: bridgePath 2.6s linear infinite 0.6s;
}
[data-card="compat"] .bridge-p3 {
  offset-path: path("M 156 74 Q 132 110 124 116");
  animation: bridgePath 2.6s linear infinite 1.3s;
}
@keyframes bridgePath {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ----- Card 03 — Agent (clean concentric pulse) ----- */
[data-card="agents"] .agent-ring {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
[data-card="agents"] .agent-core {
  fill: rgba(255,255,255,0.08);
  stroke: var(--paper);
  stroke-width: 1.4;
  transition: fill 0.4s var(--ease-out);
}
[data-card="agents"] .agent-core-inner {
  fill: var(--paper);
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-out), fill 0.4s var(--ease-out);
  filter: drop-shadow(0 0 6px rgba(245,245,247,0.5));
}
[data-card="agents"]:hover .agent-core { fill: var(--paper); }
[data-card="agents"]:hover .agent-core-inner { fill: var(--ink); opacity: 1; filter: none; }
[data-card="agents"]:hover .agent-ring-1 { animation: agentRing 2.6s var(--ease-out) infinite 0s; }
[data-card="agents"]:hover .agent-ring-2 { animation: agentRing 2.6s var(--ease-out) infinite 0.6s; }
[data-card="agents"]:hover .agent-ring-3 { animation: agentRing 2.6s var(--ease-out) infinite 1.2s; }
@keyframes agentRing {
  0%   { opacity: 0;   stroke-width: 1.6; transform: scale(0.55); }
  20%  { opacity: 0.55; }
  100% { opacity: 0;   stroke-width: 0.4; transform: scale(1.05); }
}
@keyframes agentPulse {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.18); opacity: 0;   }
}

/* =========== Use cases — bento layout =========== */
.ia-cases {
  background: var(--ink);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.ia-cases::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.ia-cases > .container { position: relative; z-index: 1; }

.ia-cases-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.ia-case {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.ia-case::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,245,247,0.20), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.ia-case:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55);
}
.ia-case:hover::before { opacity: 1; }

/* Featured top card spans full width */
.ia-case--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 3vw, 2.75rem);
  min-height: 240px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(245,245,247,0.06), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}
.ia-case--featured .ia-case-icon {
  width: clamp(72px, 10vw, 110px);
  height: clamp(72px, 10vw, 110px);
  border-radius: 22px;
  align-self: center;
  justify-self: center;
}
.ia-case--featured .ia-case-icon svg { width: 50%; height: 50%; }
.ia-case--featured .ia-case-body {
  display: flex; flex-direction: column;
  gap: 14px;
  align-self: center;
}
.ia-case--featured .ia-case-num {
  font-size: 0.66rem; margin-bottom: 4px;
}
.ia-case-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--paper);
  line-height: 1.1;
  margin: 0;
}
.ia-case-text {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0;
  max-width: 56ch;
}
.ia-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.ia-case-meta span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

/* Standard cases icon */
.ia-case-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  margin-bottom: 4px;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.ia-case:hover .ia-case-icon { border-color: var(--rule-strong); }
.ia-case-icon svg { width: 19px; height: 19px; }

.ia-case-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
}
.ia-case h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--paper);
  line-height: 1.2;
}
.ia-case p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.5;
  margin: 0;
}

/* Home-page IA promo */
.ia-promo {
  position: relative;
  padding-block: var(--s-10);
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(255,255,255,0.04), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.ia-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
.ia-promo > .container { position: relative; z-index: 1; }
.ia-promo .sec-head {
  text-align: center;
  margin-inline: auto;
}
.ia-promo .sec-head h2 { margin-inline: auto; }
.ia-promo .sec-head .lead { margin-inline: auto; }
.ia-promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: var(--s-7);
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 20px;
  overflow: hidden;
}
.ia-promo-item {
  background: var(--carbon);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.3s var(--ease);
}
.ia-promo-item:hover { background: var(--slate); }
.ia-promo-item .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-transform: uppercase;
}
.ia-promo-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--paper);
  line-height: 1.25;
}
.ia-promo-item p {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.5;
}
.ia-promo-cta {
  margin-top: var(--s-7);
  text-align: center;
}

@media (max-width: 880px) {
  .ia-cards { grid-template-columns: 1fr; max-width: 560px; }
  .ia-cases-bento { grid-template-columns: repeat(2, 1fr); }
  .ia-case--featured { grid-column: span 2; grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-6); }
  .ia-case--featured .ia-case-icon { justify-self: start; }
  .ia-promo-list { grid-template-columns: 1fr; }
  .ia-card-insight { max-height: 280px; opacity: 1; padding-top: var(--s-3); margin-top: var(--s-3); }
  .ia-card::before { opacity: 0.6; }
}
@media (max-width: 520px) {
  .ia-cases-bento { grid-template-columns: 1fr; }
  .ia-case--featured { grid-column: span 1; }
  .ia-hero-meta { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Pullquote ---------- */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem);
  line-height: 1.25; letter-spacing: -0.025em;
  color: var(--paper); font-weight: 400;
  max-width: 60ch;
  padding-left: var(--s-5);
  border-left: 1px solid var(--rule-strong);
}
.section-light .pullquote { color: var(--ink); border-left-color: var(--rule-strong-i); }
.pullquote.center { text-align: center; border-left: 0; padding-left: 0; margin-inline: auto; }

/* ---------- Friction grid ---------- */
.friction {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.section-light .friction { border-color: var(--rule-i); }
.friction-item {
  padding: var(--s-6);
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: var(--s-3);
  min-height: 200px;
  background: transparent;
  transition: background-color 0.32s var(--ease-out), border-color 0.32s var(--ease-out);
  cursor: default;
}
.friction-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--rule-strong);
}
.section-light .friction-item { border-color: var(--rule-i); }
.section-light .friction-item:hover {
  background: rgba(0, 0, 0, 0.025);
  border-color: var(--rule-strong-i);
}
.friction-item:hover .friction-num { color: var(--silver); }
.section-light .friction-item:hover .friction-num { color: var(--ink); }
.friction-num { transition: color 0.32s var(--ease-out); }
.friction-num {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; color: var(--mist); text-transform: uppercase;
}
.section-light .friction-num { color: var(--smoke); }
.friction-item h4 {
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.015em; color: var(--paper); margin-top: auto;
}
.section-light .friction-item h4 { color: var(--ink); }
.friction-item p {
  font-size: 0.92rem; color: var(--silver); line-height: 1.55;
}
.section-light .friction-item p { color: var(--shade); }

/* ---------- Stat cards (4 mesurables, approche) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-i);
  border: 1px solid var(--rule-i);
  border-radius: 24px;
  overflow: hidden;
}
.stat-card {
  background: var(--paper);
  padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-4);
  min-height: 280px;
}
.stat-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--smoke); margin-bottom: var(--s-3);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3vw, 4.8rem);
  font-weight: 500; line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
}
.stat-num .unit {
  font-family: var(--font-mono);
  font-size: 0.28em;
  letter-spacing: 0.08em;
  color: var(--smoke);
  margin-left: 6px; vertical-align: top;
  text-transform: uppercase; font-weight: 500;
}
.stat-title {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 500; letter-spacing: -0.015em;
  color: var(--ink); margin-top: var(--s-2);
}
.stat-desc {
  font-size: 0.95rem; color: var(--shade);
  line-height: 1.55; margin-top: auto;
}

/* ---------- Two-col editorial ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--s-8); align-items: start;
}
.two-col .side h2 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--s-5);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--rule-i);
  align-items: baseline;
}
.section-light .step { border-color: var(--rule-i); }
.step:last-child { border-bottom: 0; }
.step-n {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.14em; color: var(--smoke); text-transform: uppercase;
}
.step-body h3 {
  font-size: 1.6rem; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px;
}
.step-body p { font-size: 0.98rem; color: var(--shade); max-width: 54ch; }
.step-tag {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--smoke); text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--rule-strong-i);
  border-radius: 999px; white-space: nowrap;
}

/* ---------- Modules flow, horizontal tabs full width ---------- */
.modules-flow {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.modules-flow-stage {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(ellipse 70% 55% at 25% 0%, rgba(255,255,255,1), transparent 65%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(232,232,236,0.6), transparent 60%),
    linear-gradient(165deg, #FAFAFC 0%, #ECECEE 100%);
  border: 1px solid var(--rule-i);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 24px 60px -32px rgba(0,0,0,0.16);
}
.modules-flow-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* Pills row, 5 equal columns */
.modules-flow-pills {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.modules-flow-pills li { margin: 0; padding: 0; position: relative; min-width: 0; }

.module-pill {
  position: relative;
  display: flex; align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 14px 16px 14px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  min-width: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 1px 2px rgba(0,0,0,0.04),
    0 6px 16px -8px rgba(0,0,0,0.12);
  /* Snappier multi-prop transitions for fluid feel */
  transition:
    transform 0.18s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.18s var(--ease-out),
    background-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    border-color 0.18s var(--ease-out);
  will-change: transform, box-shadow, background-color;
}
.module-pill > * { pointer-events: none; }
.module-pill:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 2px 4px rgba(0,0,0,0.05),
    0 14px 28px -10px rgba(0,0,0,0.20);
  border-color: rgba(0,0,0,0.12);
}
.module-pill:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.08s;
}
.module-pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 14px 32px -10px rgba(0,0,0,0.45);
  animation: pillActivate 0.42s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes pillActivate {
  0%   { transform: translateY(-3px) scale(0.99); }
  45%  { transform: translateY(-5px) scale(1.015); }
  100% { transform: translateY(0)    scale(1); }
}

/* Icon slot */
.module-pill .pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0,0,0,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
  color: var(--ink);
}
.module-pill .pill-icon svg {
  width: 19px; height: 19px;
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.module-pill:hover .pill-icon svg { transform: scale(1.08); }
.module-pill.is-active .pill-icon {
  background: rgba(255,255,255,0.10);
  color: var(--paper);
}

/* Body, number on top, name below */
.module-pill .pill-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.module-pill .pill-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--smoke);
  font-weight: 500;
  line-height: 1;
  transition: color 0.22s var(--ease-out);
}
.module-pill.is-active .pill-num { color: var(--silver); }
.module-pill .pill-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Affordance hint above staircase */
.modules-flow-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  padding: 0 4px;
}
.modules-flow-meta .meta-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* Detail panel, full width below the tabs */
.module-detail {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--rule-i);
  border-radius: 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 12px 40px -20px rgba(0,0,0,0.12);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  scroll-margin-top: 100px;
}

/* Body, 2 columns full width, fades on swap */
.md-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  transition: opacity 0.18s var(--ease-out), transform 0.22s var(--ease-out);
  will-change: opacity, transform;
}
.md-body.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}
.md-main {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.md-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--rule-i);
}

/* Header, progress indicator */
.md-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule-i);
  flex-wrap: wrap;
}
.md-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}
.md-progress-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.md-progress-counter strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}
.md-progress-sep { opacity: 0.4; }
.md-progress-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.md-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.md-dot.is-active {
  background: var(--ink);
  transform: scale(1.25);
}
.md-progress-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* Title + content */
.md-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--ink);
  line-height: 1.15;
}
.md-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--shade);
  margin: 0;
}
.md-tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.md-tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 5px 10px;
  border: 1px solid var(--rule-i);
  border-radius: 999px;
}
/* Included (now in md-side) */
.md-included-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}
.md-included-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.md-included-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--shade);
  line-height: 1.45;
}
.md-included-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--ink);
  opacity: 0.5;
}

/* Header counter + name update, smooth color/scale */
.md-progress-counter strong,
.md-progress-name {
  display: inline-block;
  transition: opacity 0.18s var(--ease-out);
}
.md-progress-counter.is-swapping strong,
.md-progress-name.is-swapping {
  opacity: 0;
}
.md-dot {
  /* Already has transition; ensure transform-origin is centered */
  transform-origin: center;
}

@media (max-width: 880px) {
  .modules-flow-pills { grid-template-columns: repeat(2, 1fr); }
  .modules-flow-pills li:nth-child(5) .module-pill {
    grid-column: span 2;
    max-width: 50%;
    justify-self: start;
  }
  .md-body { grid-template-columns: 1fr; gap: var(--s-5); }
  .md-side { padding-left: 0; border-left: 0; padding-top: var(--s-5); border-top: 1px solid var(--rule-i); }
  .modules-flow-meta { margin-bottom: var(--s-4); }
  .meta-keys { display: none; }
}
@media (max-width: 520px) {
  .modules-flow-pills { grid-template-columns: 1fr; }
  .modules-flow-pills li:nth-child(5) .module-pill { max-width: 100%; }
  .md-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Systems list (text-only, monochrome) ---------- */
.systems-list {
  display: grid; gap: 0;
  border-top: 1px solid var(--rule-i);
}
.systems-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 0.45fr) minmax(0, 1.55fr);
  gap: var(--s-5);
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--rule-i);
  align-items: baseline;
}
.systems-row .sys-n {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.14em; color: var(--smoke);
  text-transform: uppercase;
}
.systems-row .sys-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  font-weight: 500; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.1;
}
.systems-row .sys-desc {
  font-size: 1rem; color: var(--shade);
  line-height: 1.55; max-width: 60ch;
}
.systems-row .sys-desc .tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--smoke); margin-top: var(--s-3);
}

/* ---------- Versus comparison (Avant / Après), split-screen ---------- */
.versus {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.versus-col {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: relative;
}
.versus-before {
  background: #F0F0F2;
  border: 1px solid var(--rule-i);
}
.versus-after {
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.30);
}

/* Column header */
.versus-col-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule-i);
}
.versus-after .versus-col-head {
  border-bottom-color: var(--rule-strong);
}
.versus-col-cap {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}
.versus-col-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
}
.versus-before .versus-col-cap { color: var(--smoke); }
.versus-before .versus-col-title { color: var(--shade); }
.versus-after .versus-col-cap { color: var(--silver); }
.versus-after .versus-col-title { color: var(--paper); }

/* Items list */
.versus-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.versus-col-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: clamp(0.85rem, 1.6vw, 1.1rem);
  font-size: 1rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--rule-i);
}
.versus-col-list li:last-child { border-bottom: 0; }
.versus-after .versus-col-list li { border-bottom-color: var(--hair); }

.versus-col-list li > div {
  flex: 1;
  min-width: 0;
}
.versus-col-list strong {
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Marks: × for Avant, ✓ for Après */
.versus-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}
.versus-before {
  color: var(--smoke);
}
.versus-before strong {
  color: var(--shade);
}
.versus-before .versus-mark {
  background: rgba(0, 0, 0, 0.06);
  color: var(--smoke);
}
.versus-after {
  color: var(--silver);
}
.versus-after strong {
  color: var(--paper);
}
.versus-after .versus-mark {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 880px) {
  .versus { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ---------- Declic table ---------- */
.declic {
  border: 1px solid var(--rule-i);
  border-radius: 20px; overflow: hidden;
  background: var(--paper);
}
.declic-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0;
}
.declic-row + .declic-row { border-top: 1px solid var(--rule-i); }
.declic-cell {
  padding: var(--s-4) var(--s-5); font-size: 0.92rem;
  color: var(--shade); display: flex; align-items: center; min-height: 58px;
}
.declic-cell + .declic-cell { border-left: 1px solid var(--rule-i); }
.declic-row--head .declic-cell {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--smoke); padding-block: var(--s-3); min-height: 44px;
}
.declic-cell.indicator { color: var(--ink); font-weight: 500; }
.declic-cell.before { color: var(--smoke); }
.declic-cell.after { color: var(--ink); font-weight: 500; }

/* ---------- Tiers (abonnement) ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 24px; overflow: hidden;
  margin-top: var(--s-7);
}
.tier {
  background: var(--carbon);
  padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: background 0.3s var(--ease);
}
.tier:hover { background: var(--slate); }
.tier--featured { background: var(--slate); position: relative; }
.tier--featured::before {
  content: 'Recommandé';
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--paper);
  padding: 5px 10px; border-radius: 999px;
}
.tier-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist);
}
.tier-name {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 500; letter-spacing: -0.03em; color: var(--paper);
}
.tier-desc { font-size: 0.95rem; color: var(--silver); line-height: 1.55; }
.tier-includes {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mist); margin-top: var(--s-3);
}
.tier-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tier-list li {
  font-size: 0.92rem; color: var(--silver);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.tier-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--silver);
}
.tier-cta { margin-top: auto; padding-top: var(--s-4); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: var(--s-7); align-items: start;
}
.contact-meta {
  position: sticky; top: 140px;
  display: flex; flex-direction: column; gap: var(--s-5);
}
.contact-block h4 {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mist); margin-bottom: var(--s-3); font-weight: 500;
}
.contact-block a {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; color: var(--paper);
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.contact-block a:hover { border-color: var(--paper); }
.contact-block p { font-size: 0.9rem; color: var(--mist); margin-top: 8px; }
/* Home page diagnostic teaser */
.diag-teaser {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,0.04), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-block: var(--s-9);
}
.diag-teaser-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(245,245,247,0.06), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 70px -30px rgba(0,0,0,0.55);
}
.diag-teaser-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,245,247,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.diag-teaser-eyebrow {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.diag-teaser-title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0;
}
.diag-teaser-sub {
  position: relative; z-index: 1;
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0;
}
.diag-teaser-cta {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-3);
}
.diag-teaser-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* Nav with 8 items: tighten gaps to fit */
.nav-links { gap: var(--s-5); }
@media (max-width: 1180px) {
  .nav-links { gap: var(--s-4); font-size: 0.84rem; }
}

/* Booking card (replaces Calendly iframe) */
.booking-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(245,245,247,0.06), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 70px -30px rgba(0,0,0,0.5);
}
.booking-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,245,247,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.booking-head { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.booking-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.booking-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0;
}
.booking-sub {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0;
  max-width: 56ch;
}
.booking-features {
  position: relative; z-index: 1;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-4);
}
.booking-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--silver);
}
.booking-features .bf-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}
.booking-cta {
  position: relative; z-index: 1;
  align-self: flex-start;
}
.booking-note {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--smoke);
  margin: 0;
}

/* =========== À propos hero (discrete certif badge top-right) =========== */
.apropos-hero {
  position: relative;
  padding-top: 170px;
  padding-bottom: var(--s-9);
}
.apropos-hero > .container { position: relative; }

.apropos-hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.apropos-hero-text .eyebrow { display: block; }
.apropos-hero-text .editorial-hero-title { max-width: 18ch; }
.apropos-hero-text .editorial-hero-sub { max-width: 52ch; margin-top: 0; }
.apropos-hero-text .editorial-hero-sub strong {
  color: var(--paper);
  font-weight: 600;
}

/* Notion + certifs strip, top-right of hero (white background) */
.apropos-badge {
  position: absolute;
  top: 4px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.32s var(--ease-out), background-color 0.32s var(--ease-out), transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px -16px rgba(0, 0, 0, 0.45);
}
.apropos-badge:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px -18px rgba(0, 0, 0, 0.55);
}
.apropos-badge-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.apropos-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.apropos-badge-sep {
  width: 1px;
  height: 48px;
  background: rgba(0, 0, 0, 0.12);
}
.apropos-badge-certifs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.apropos-badge-certifs img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  transition: transform 0.32s var(--ease-out);
}
.apropos-badge:hover .apropos-badge-certifs img { transform: translateY(-2px); }

@media (max-width: 1080px) {
  .apropos-badge { gap: 12px; padding: 10px 14px; }
  .apropos-badge-logo { width: 50px; height: 50px; padding: 6px; }
  .apropos-badge-certifs img { width: 50px; height: 50px; }
  .apropos-badge-certifs { gap: 10px; }
  .apropos-badge-sep { height: 40px; }
}
@media (max-width: 880px) {
  .apropos-hero { padding-top: 130px; }
  .apropos-badge {
    position: relative;
    top: 0;
    right: auto;
    margin-bottom: var(--s-6);
    align-self: flex-start;
  }
}
@media (max-width: 520px) {
  .apropos-badge {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 12px;
  }
  .apropos-badge-logo { width: 44px; height: 44px; }
  .apropos-badge-certifs img { width: 44px; height: 44px; }
  .apropos-badge-sep { display: none; }
}

/* =========== Notion section + certifications =========== */
.notion-section {
  position: relative;
  overflow: hidden;
}
.notion-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
}
.notion-section > .container { position: relative; z-index: 1; }

.notion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: var(--s-6);
  background: var(--rule-i);
  border: 1px solid var(--rule-i);
  border-radius: 20px;
  overflow: hidden;
}
.notion-pillar {
  background: #FFFFFF;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.3s var(--ease);
}
.notion-pillar:hover { background: #FAFAFC; }
.notion-pillar-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}
.notion-pillar h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.notion-pillar p {
  font-size: 0.92rem;
  color: var(--shade);
  line-height: 1.5;
}

/* Big lockup: Notion logo + claim, before pillars */
.notion-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: var(--s-7);
  margin-bottom: var(--s-6);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--rule-i);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 40px -20px rgba(0,0,0,0.10);
}
.notion-lockup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 200px;
  margin-inline: auto;
  padding: 14%;
}
.notion-lockup-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.notion-lockup-text {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.notion-lockup-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
}
.notion-lockup-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.notion-lockup-text p {
  font-size: 1rem;
  color: var(--shade);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

/* Why Notion — 4 reasons */
.notion-why {
  margin-top: var(--s-8);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule-i);
}
.notion-why-head {
  margin-bottom: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.notion-why-head .eyebrow { color: var(--smoke); }
.notion-why-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}
.notion-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) clamp(1.5rem, 3vw, 3rem);
}
.notion-why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: var(--s-3);
}
.notion-why-item .why-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.notion-why-item h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 6px;
  font-feature-settings: 'ss01';
}
.notion-why-item p {
  font-size: 0.95rem;
  color: var(--shade);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .notion-lockup { grid-template-columns: 1fr; }
  .notion-lockup-logo { max-width: 140px; }
  .notion-why-grid { grid-template-columns: 1fr; }
}

/* Certification cards (real images) */
.certifs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--s-8);
}
.certifs-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: var(--s-5);
}
.certif-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: #FFFFFF;
  border: 1px solid var(--rule-i);
  border-radius: 18px;
  text-align: center;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 8px 22px -12px rgba(0,0,0,0.10);
}
.certif-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 40px -16px rgba(0,0,0,0.18);
  border-color: rgba(0,0,0,0.18);
}
.certif-card img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: transparent;
}
.certif-card-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.certif-card-label strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.25;
}
.certif-card-label span {
  font-size: 0.78rem;
  color: var(--smoke);
  line-height: 1.4;
  max-width: 26ch;
}

@media (max-width: 880px) {
  .notion-grid { grid-template-columns: 1fr; }
  .certifs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .certifs { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

/* =========== Mobile sidebar navigation =========== */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  margin-left: auto;
  transition: background-color 0.22s var(--ease);
}
.nav-mobile-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  border-radius: 1px;
  transition: transform 0.32s var(--ease-out), opacity 0.22s var(--ease-out), top 0.32s var(--ease-out);
}
.nav-mobile-toggle span:nth-child(1) { top: 14px; }
.nav-mobile-toggle span:nth-child(2) { top: 20px; }
.nav-mobile-toggle span:nth-child(3) { top: 26px; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.nav-mobile-toggle:hover { background: rgba(255,255,255,0.08); }

.mobile-sidebar {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.mobile-sidebar[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}
.mobile-sidebar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-sidebar[aria-hidden="false"] .mobile-sidebar-backdrop { opacity: 1; }
.mobile-sidebar-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 84vw);
  background: var(--ink);
  border-left: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 4vw, 2rem);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -30px 0 60px -10px rgba(0,0,0,0.6);
  overflow-y: auto;
}
.mobile-sidebar[aria-hidden="false"] .mobile-sidebar-inner { transform: translateX(0); }
.mobile-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hair);
}
.mobile-sidebar-head .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.mobile-sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule);
  color: var(--paper);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.22s var(--ease);
}
.mobile-sidebar-close:hover { background: rgba(255,255,255,0.08); }
.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: var(--s-5) 0;
  flex: 1;
  gap: 2px;
}
.mobile-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--silver);
  border-radius: 10px;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), padding-left 0.22s var(--ease);
}
.mobile-sidebar-nav a::before {
  content: counter(msNav, decimal-leading-zero);
  counter-increment: msNav;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--smoke);
  min-width: 22px;
}
.mobile-sidebar-nav { counter-reset: msNav 0; }
.mobile-sidebar-nav a:hover, .mobile-sidebar-nav a:focus {
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  padding-left: 16px;
}
.mobile-sidebar-nav a.is-active {
  background: rgba(255,255,255,0.06);
  color: var(--paper);
}
.mobile-sidebar-foot {
  padding-top: var(--s-5);
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-sidebar-foot .btn { justify-content: center; width: 100%; }
.mobile-sidebar-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--smoke);
  text-align: center;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Lock body scroll when sidebar open */
body.has-mobile-nav-open { overflow: hidden; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: var(--s-11);
  text-align: center;
  border-top: 1px solid var(--hair);
}
.section-light .final-cta { border-top-color: var(--rule-i); }
.final-cta-inner {
  max-width: 760px; margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}
.final-cta .eyebrow { display: block; margin-bottom: var(--s-4); }
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 500; color: var(--paper); margin-bottom: var(--s-4);
}
.section-light .final-cta-title { color: var(--ink); }
.final-cta-sub {
  font-size: 1.05rem; color: var(--silver);
  max-width: 58ch; margin-inline: auto;
  margin-bottom: var(--s-5); line-height: 1.5;
}
.section-light .final-cta-sub { color: var(--shade); }
.final-cta-actions {
  display: inline-flex; gap: var(--s-3);
  flex-wrap: wrap; justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
  padding: var(--s-8) 0 var(--s-5);
  color: var(--mist);
  background: var(--ink);
}
.footer-inner {
  max-width: var(--c-wide);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7); padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--hair);
}
.footer-brand .brand { font-size: 1.1rem; }
.footer-brand p {
  font-size: 0.92rem; color: var(--mist);
  max-width: 40ch; margin-top: var(--s-3); line-height: 1.5;
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver); margin-bottom: var(--s-4); font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 0.88rem; color: var(--mist);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--c-wide);
  margin-inline: auto;
  padding: var(--s-5) clamp(1.5rem, 4vw, 3rem) 0;
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--smoke);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .diag-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .diag-right { position: static; }
  .two-col { grid-template-columns: 1fr; gap: var(--s-5); }
  .friction { grid-template-columns: repeat(2, 1fr); }
  .manifesto { grid-template-columns: 1fr; border-left: 0; }
  .manifesto-cell { border-right: 0; min-height: auto; }
  .systems-row { grid-template-columns: 60px 1fr; }
  .systems-row .sys-desc { grid-column: 2 / -1; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: auto; }
  .tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .contact-meta { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .btn-group { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; }
  .step-tag { grid-column: 2 / -1; margin-top: var(--s-3); justify-self: start; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .friction { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; min-height: auto; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .declic-row { grid-template-columns: 1fr; }
  .declic-cell { border-left: 0 !important; border-top: 1px solid var(--rule-i); }
  .declic-row > :first-child { border-top: 0; }
  .savings { grid-template-columns: 1fr; }
  .savings-cell + .savings-cell { border-left: 0; border-top: 1px solid var(--hair); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .gauge-value { font-size: 3rem; }
  .savings-val { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== SECTION FAQ OPTIMOTION (SEO/GEO blocks) ===== */
.faq-section {
  padding: 6rem 0;
  max-width: 720px;
  margin: 0 auto;
}

.faq-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 1.2rem;
}

.faq-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 3.5rem;
}

.faq-heading em {
  font-style: italic;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  gap: 1.5rem;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item[open] > .faq-question::after {
  transform: rotate(45deg);
  opacity: 1;
}

.faq-answer {
  padding-bottom: 1.8rem;
  line-height: 1.75;
  font-size: 0.95rem;
  opacity: 0.65;
  max-width: 640px;
}
/* ===== FIN FAQ ===== */
