/* Extra — design tokens v1.4 (18 octobre 2026) */
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Neutres */
  --color-ink: #1D1D1F;
  --color-graphite: #424245;
  --color-slate: #4A4A4F;
  --color-muted: #6E6E73;
  --color-placeholder: #8A8A8F;
  --color-line: #E6E6EB;
  --color-line-soft: #EFEFF2;
  --color-stone: #F5F5F7;
  --color-stone-strong: #EFEFF2;
  --color-paper: #FFFFFF;

  /* Encre : surfaces fortes (menu, étiquette du héros, bandeau d'outils, appel final, pied de page) */
  --on-ink: #FFFFFF;
  --on-ink-muted: rgba(255, 255, 255, 0.72);
  --on-ink-faint: rgba(255, 255, 255, 0.6);
  --on-ink-line: rgba(255, 255, 255, 0.12);
  --on-ink-glass: rgba(255, 255, 255, 0.1);

  /* Accent et nuit */
  --color-accent: #4B3BD9;
  --color-accent-soft: #ECEAFB;
  --color-night: #12143F;
  --color-night-button: #14164A;

  /* Éclats */
  --spark-blue: #2E5BFF;
  --spark-indigo: #4B3BD9;
  --spark-violet: #8A3FFC;
  --spark-magenta: #C23CB0;
  --spark-rose: #E0457B;
  --spark-coral: #FF6A55;
  --spark-amber: #FF9F45;
  --spark-teal: #1FB5A8;

  /* Statuts */
  --status-pending-bg: #FFF1DD;  --status-pending-fg: #8A5300;
  --status-done-bg: #DDF3E3;     --status-done-fg: #1F6B45;
  --status-idle-bg: #EFEFF2;     --status-idle-fg: #4A4A4F;
  --status-error-bg: #FBE3DF;    --status-error-fg: #A32A1F;

  /* Agents : teinte / encre */
  --agent-marketing-tint: #DDF3E3;           --agent-marketing-ink: #1F6B45;
  --agent-seo-geo-tint: #DAF1F2;             --agent-seo-geo-ink: #13617A;
  --agent-website-builder-tint: #D9E8FC;     --agent-website-builder-ink: #2648A3;
  --agent-phone-support-tint: #E3E2FC;       --agent-phone-support-ink: #46359E;
  --agent-executive-assistant-tint: #EDE2FC; --agent-executive-assistant-ink: #71308F;
  --agent-finance-tint: #FCEBD3;             --agent-finance-ink: #8A5300;
  --agent-legal-tint: #FBDDD5;               --agent-legal-ink: #963A1C;
  --agent-reputation-tint: #FADDE7;          --agent-reputation-ink: #8E2443;

  /* Dégradés */
  /* Aurore immobile : la nappe de lave au repos, rapportée à la surface (pour un fond qui ne bouge pas). */
  --gradient-aurora:
    radial-gradient(80% 88% at 4% 4%, rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0.6) 30%, rgba(46, 91, 255, 0.2) 62%, rgba(46, 91, 255, 0) 100%),
    radial-gradient(80% 88% at 96% 4%, rgba(138, 63, 252, 0.9) 0%, rgba(138, 63, 252, 0.56) 30%, rgba(138, 63, 252, 0.18) 62%, rgba(138, 63, 252, 0) 100%),
    radial-gradient(80% 88% at 96% 96%, rgba(224, 69, 123, 0.85) 0%, rgba(224, 69, 123, 0.52) 30%, rgba(224, 69, 123, 0.17) 62%, rgba(224, 69, 123, 0) 100%),
    radial-gradient(80% 88% at 4% 96%, rgba(255, 128, 72, 0.7) 0%, rgba(255, 128, 72, 0.42) 30%, rgba(255, 128, 72, 0.14) 62%, rgba(255, 128, 72, 0) 100%),
    #12143F;
  /* Lampe à lave (v1.4) : une seule nappe où les quatre lueurs se fondent les unes dans les autres. Elle est peinte
     sur un calque deux fois plus grand que sa surface (inset: -50 %) : la surface en voit le milieu, les lueurs
     tombent sur ses coins et se mêlent le long de ses bords, le centre reste nuit. */
  --gradient-lava:
    radial-gradient(40% 44% at 27% 27%, rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0.6) 30%, rgba(46, 91, 255, 0.2) 62%, rgba(46, 91, 255, 0) 100%),
    radial-gradient(40% 44% at 73% 27%, rgba(138, 63, 252, 0.9) 0%, rgba(138, 63, 252, 0.56) 30%, rgba(138, 63, 252, 0.18) 62%, rgba(138, 63, 252, 0) 100%),
    radial-gradient(40% 44% at 73% 73%, rgba(224, 69, 123, 0.85) 0%, rgba(224, 69, 123, 0.52) 30%, rgba(224, 69, 123, 0.17) 62%, rgba(224, 69, 123, 0) 100%),
    radial-gradient(40% 44% at 27% 73%, rgba(255, 128, 72, 0.7) 0%, rgba(255, 128, 72, 0.42) 30%, rgba(255, 128, 72, 0.14) 62%, rgba(255, 128, 72, 0) 100%);
  --gradient-text: linear-gradient(100deg, #2E5BFF 0%, #8A3FFC 55%, #E0457B 100%);
  /* En mouvement (v1.3) : deux fois plus large que le mot, il glisse d'un bout à l'autre. */
  --gradient-text-flow: linear-gradient(100deg, #2E5BFF 0%, #8A3FFC 27%, #E0457B 50%, #FF6A55 75%, #8A3FFC 100%);
  --gradient-flow: linear-gradient(90deg, #2E5BFF, #8A3FFC, #E0457B, #FF6A55, #8A3FFC, #2E5BFF);
  /* Icône d'app (design/brand/app-icon) : anneau conique bleu, violet, rose, orange, cœur bleu nuit. */
  --gradient-icon:
    radial-gradient(64% 64% at 50% 50%, #12143F 0%, #12143F 20%, rgba(18, 20, 63, 0.55) 64%, rgba(18, 20, 63, 0.26) 100%),
    conic-gradient(from 315deg, #2E5BFF, #8A3FFC 25%, #E0457B 50%, #F27A4C 75%, #2E5BFF);

  /* Typographie */
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-display: clamp(42px, 6.6vw, 96px);
  --text-closing: clamp(46px, 6.4vw, 96px);
  --text-h2: clamp(42px, 5.6vw, 80px);
  --text-h3-lg: 30px;
  --text-h3: 22px;
  --text-lead: clamp(19px, 1.8vw, 24px);
  --text-eyebrow: 19px;
  --text-body: 17px;
  --text-ui: 15px;
  --text-caption: 12.5px;
  --tracking-display: -0.05em;
  --tracking-h2: -0.048em;
  --tracking-h3: -0.04em;

  /* Espacement */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 40px;
  --space-9: 56px; --space-10: 64px;
  --space-section: clamp(88px, 10vw, 140px);
  --space-hero: clamp(64px, 8vw, 112px);
  --gutter: clamp(12px, 2vw, 22px);
  --container-text: 1100px;
  --container-nav: 1180px;
  --container-wide: 1320px;

  /* Rayons */
  --radius-pill: 999px;
  --radius-stage: 44px;
  --radius-tile: 32px;
  --radius-window: 24px;
  --radius-card: 16px;
  --radius-field: 14px;
  --radius-bubble: 20px;
  --radius-portrait: 31%;

  /* Ombres */
  --shadow-nav: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 32px -16px rgba(20, 22, 60, 0.18);
  --shadow-card: 0 18px 40px -24px rgba(20, 22, 60, 0.25);
  --shadow-portrait: 0 16px 28px -16px rgba(30, 30, 60, 0.45);
  --shadow-window: 0 40px 100px -30px rgba(8, 8, 40, 0.6);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 14px 30px -12px rgba(70, 50, 190, 0.7);

  /* Mouvement */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 200ms;
  --duration-base: 240ms;
  --duration-reveal: 480ms;
  --ease-lava: cubic-bezier(0.45, 0, 0.55, 1);
  /* La même dérive partout (boutons, surfaces Aurore, lueurs) : la nappe glisse, monte et gonfle d'un bloc, sur
     trois rythmes qui ne s'arrêtent jamais ensemble. Seules des transformations bougent : c'est léger. */
  --animation-lava:
    lava-sway 13s var(--ease-lava) infinite alternate,
    lava-rise 9s var(--ease-lava) infinite alternate,
    lava-swell 17s var(--ease-lava) infinite alternate;
  --focus-ring: 0 0 0 3px var(--color-paper), 0 0 0 5px var(--color-accent);
}

/* Utilitaires de base */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border: 0; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-button);
  color: #fff; font: 600 17px/1 var(--font-sans); text-decoration: none;
  transition: transform var(--duration-fast) var(--ease), filter var(--duration-fast) var(--ease);
}
/* Lampe à lave : boutons d'action et surfaces Aurore portent la même nappe, sur un calque derrière leur contenu.
   Avec « réduire les animations », elle reste immobile à sa position de départ. */
.btn-primary, .lava { position: relative; isolation: isolate; overflow: hidden; background: var(--color-night-button); }
.btn-primary::before, .lava::before, .surface-aurora::before {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none;
  background: var(--gradient-lava);
  animation: var(--animation-lava);
}
@keyframes lava-sway { from { translate: -8% 0; } to { translate: 8% 0; } }
@keyframes lava-rise { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes lava-swell { from { rotate: -4deg; scale: 0.96; } to { rotate: 4deg; scale: 1.12; } }
.btn-primary:hover { filter: brightness(1.08) saturate(1.1); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.text-aurora {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-aurora { color: var(--color-accent); background: none; }
}
.surface-aurora { position: relative; isolation: isolate; overflow: hidden; background: var(--color-night); color: #fff; }
.surface-aurora > .grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none; }
.field { display: grid; gap: var(--space-2); }
.field label { font: 500 var(--text-ui)/1.3 var(--font-sans); color: var(--color-ink); }
.field input, .field select {
  height: 52px; padding: 0 var(--space-4); border: 1px solid transparent; border-radius: var(--radius-field);
  background: var(--color-stone); color: var(--color-ink); font: 400 16px/1.2 var(--font-sans);
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.field input::placeholder { color: var(--color-placeholder); }
.field input:focus-visible, .field select:focus-visible {
  outline: none; background: var(--color-paper); border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(75, 59, 217, 0.15);
}
.field [aria-invalid="true"] { border-color: var(--status-error-fg); }
.field .field-error { font: 400 14px/1.4 var(--font-sans); color: var(--status-error-fg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* Extra Entreprise — site styles. Values come from design/tokens.css (prepended at build time). The look is
   the Extra design system led by ink (design/DESIGN-SYSTEM.md, « Extra Entreprise »): ink heroes and blocks,
   a menu in ink glass, the Aurora kept for buttons, one word per title and the closing glow. */

:root {
  --color-ink-soft: #3a3a3d;
  /* On ink, the indigo accent is too dark: the app's dark-theme accent (6.5:1 on ink) takes its place. */
  --accent-on-ink: #9d93ff;
  --nav-bg: rgba(29, 29, 31, 0.86);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-shine: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-nav-ink: 0 1px 2px rgba(0, 0, 0, 0.18), 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  --ink-card: rgba(255, 255, 255, 0.05);
  --ink-card-border: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --on-ink-strong: rgba(255, 255, 255, 0.8);
  --status-live-ink-bg: rgba(95, 224, 160, 0.16);
  --status-live-ink-fg: #8be8b5;
  --status-pending-ink-bg: rgba(255, 181, 71, 0.13);
  --status-pending-ink-fg: #ffc98a;
  --radius-dialog: 28px;
  --nav-space: 72px; /* the menu's 16 px offset and 56 px height: ink heroes slide under it */
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* No visible scrollbar anywhere (decision of Rayan, 19 October 2026): every area still scrolls. */
* {
  scrollbar-width: none;
}
*::-webkit-scrollbar {
  display: none;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
  background: var(--color-ink);
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font: 400 var(--text-body) / 1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}
ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}
a {
  color: var(--color-accent);
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Containers ---------- */
.container-text {
  width: 100%;
  max-width: var(--container-text);
  margin-inline: auto;
  padding-inline: 22px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: max(16px, var(--gutter));
}
.section {
  padding-block: var(--space-section);
}
.section-tight-top {
  padding-top: 0;
}
.section-stone {
  background: var(--color-stone);
}

/* ---------- Typography ---------- */
.display {
  max-width: 11em;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.h1 {
  max-width: 13em;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
}
.h2 {
  max-width: 13em;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: var(--tracking-h2);
}
.h2-sm {
  font-size: clamp(30px, 3.4vw, 46px);
}
.h3-lg {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: var(--tracking-h3);
}
.h3 {
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  max-width: 32em;
  font-size: var(--text-lead);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--color-muted);
}
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent);
}
.nowrap {
  white-space: nowrap;
}
.text-aurora {
  background: var(--gradient-text-flow) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-flow 7s var(--ease-lava) infinite alternate;
}
@keyframes text-flow {
  to {
    background-position: 100% 0;
  }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-aurora {
    color: var(--color-accent);
    background: none;
  }
}

/* ---------- Buttons and links ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-button);
  color: #fff;
  font: 600 17px / 1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease),
    filter var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
}
.btn-primary:hover {
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 34px -12px rgba(70, 50, 190, 0.75);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
}
.btn-l {
  height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.btn-m {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
}
.btn-s {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.link-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.link-action:hover {
  color: var(--color-night-button);
}
.link-action.on-ink {
  color: #fff;
}
.link-action.on-ink:hover {
  color: var(--on-ink-muted);
}
.icon-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-stone);
  color: var(--color-ink);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}
.icon-button:hover {
  background: var(--color-stone-strong);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
}
.center-link {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

/* ---------- Floating menu, in ink glass ---------- */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 30;
  max-width: var(--container-nav);
  margin: 16px auto 0;
  padding-inline: clamp(12px, 3vw, 24px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 56px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--nav-shine), var(--shadow-nav-ink);
  color: var(--on-ink);
}
.nav :focus-visible,
.menu-panel :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.ink-block :focus-visible,
.closing :focus-visible {
  outline-color: #fff;
}
/* Logo: the prism box is 1em of the word, 0.225em away; « Entreprise » follows in a lighter weight. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.225em;
  min-height: 44px;
  color: var(--on-ink);
  font-size: 21px;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  flex: none;
  width: 1em;
  height: 1em;
}
.wordmark {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark-sub {
  margin-left: 0.12em;
  color: var(--on-ink-muted);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--on-ink);
}
.nav-links a[aria-current="page"] {
  background: var(--gradient-text) left calc(100% - 9px) / 100% 2px no-repeat;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  color: var(--on-ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-lang:hover {
  color: var(--on-ink);
}
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }
  .nav-links {
    gap: 18px;
  }
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--on-ink-glass);
  color: var(--on-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-fallback {
  display: none;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--on-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.menu-panel {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px clamp(16px, 4vw, 28px) 32px;
  border: 0;
  background: var(--color-ink);
  color: var(--on-ink);
}
.menu-panel[open] {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: panel-in var(--duration-base) var(--ease);
}
.menu-panel::backdrop {
  background: transparent;
}
.menu-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 8px 0 18px;
}
.menu-panel-links {
  display: flex;
  flex-direction: column;
}
.menu-panel-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--on-ink-line);
  color: var(--on-ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu-panel-links a[aria-current="page"]::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--gradient-text);
}
.menu-panel .icon-button {
  background: var(--on-ink-glass);
  color: var(--on-ink);
}
.menu-panel-cta {
  margin-top: auto;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Pills, checks, icons ---------- */
.check {
  flex-shrink: 0;
  fill: var(--color-accent);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--color-ink-soft);
}
.check-list .check {
  margin-top: 1px;
}
.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.status-live {
  background: var(--status-done-bg);
  color: var(--status-done-fg);
}
.status-pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-fg);
}
.source-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-slate);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.glass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass-bg);
  color: #fff;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-inline: 12px;
  text-align: center;
}
.section-head-start {
  align-items: flex-start;
  padding-inline: 0;
  text-align: left;
}
.section-head.on-ink .eyebrow {
  color: var(--accent-on-ink);
}
.section-head.on-ink .lead {
  color: var(--on-ink-muted);
}
.section-head + * {
  margin-top: var(--space-9);
}

/* ---------- Ink heroes (home and inner pages) ---------- */
/* They slide under the floating menu, which stays above them in ink glass. */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-space));
  background: var(--color-ink);
  color: var(--on-ink);
}
.hero {
  padding: calc(var(--nav-space) + var(--space-hero)) 0 clamp(72px, 9vw, 128px);
}
/* A faint engineering grid, fading out from the centre. */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(90% 80% at 65% 45%, #000 10%, transparent 72%);
  mask-image: radial-gradient(90% 80% at 65% 45%, #000 10%, transparent 72%);
  pointer-events: none;
}
/* The Aurora glow behind the agent's run, drifting like the lava lamp. */
.hero-glow {
  position: absolute;
  inset: 0 -20% -30% 35%;
  z-index: -1;
  background:
    radial-gradient(32% 38% at 38% 42%, rgba(46, 91, 255, 0.4), rgba(46, 91, 255, 0) 100%),
    radial-gradient(30% 34% at 62% 36%, rgba(138, 63, 252, 0.36), rgba(138, 63, 252, 0) 100%),
    radial-gradient(30% 36% at 52% 70%, rgba(224, 69, 123, 0.28), rgba(224, 69, 123, 0) 100%);
  animation: var(--animation-lava);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Ink pill with the flowing Aurora edge (design system, Étiquette d'introduction, on ink). */
.hero-label {
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) padding-box,
    var(--gradient-flow) 0 0 / 300% 100% border-box;
  color: var(--on-ink-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  animation: edge-flow 6s linear infinite alternate;
}
@keyframes edge-flow {
  to {
    background-position:
      0 0,
      100% 0;
  }
}
.hero .display {
  margin-top: 28px;
}
.hero .lead {
  margin-top: 24px;
  color: var(--on-ink-muted);
}
.hero .actions {
  justify-content: flex-start;
  margin-top: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 28px;
  color: var(--on-ink-faint);
  font-size: 15px;
}
.hero-facts li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 14px;
  vertical-align: -2px;
  background: var(--on-ink-line);
}
.hero-visual {
  min-width: 0;
}
.page-hero {
  padding: calc(var(--nav-space) + clamp(56px, 7vw, 104px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.page-hero .eyebrow {
  color: var(--accent-on-ink);
}
.page-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
}
.page-hero .eyebrow a:hover {
  color: #fff;
}
.page-hero .lead {
  color: var(--on-ink-muted);
}
.page-hero .actions {
  justify-content: flex-start;
  margin-top: 8px;
}

/* ---------- Agent run (console card) ---------- */
.run {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}
.run-dark {
  border-color: var(--ink-card-border);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-window);
  color: var(--on-ink);
}
.run-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--color-line-soft);
}
.run-dark .run-head {
  border-bottom-color: var(--on-ink-line);
}
.run-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.run-dark .run-icon {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: #fff;
}
.run-title {
  flex: 1;
  min-width: 0;
}
.run-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.run-meta {
  color: var(--color-muted);
  font-size: 13px;
}
.run-dark .run-meta {
  color: var(--on-ink-faint);
}
.run-dark .status-live {
  background: var(--status-live-ink-bg);
  color: var(--status-live-ink-fg);
}
.run-steps {
  display: flex;
  flex-direction: column;
}
.run-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--color-line-soft);
  font-size: 14.5px;
  line-height: 1.35;
}
.run-dark .run-steps li {
  border-bottom-color: var(--on-ink-line);
}
.run-dark .check {
  fill: var(--accent-on-ink);
}
.run-dark .check path {
  stroke: var(--color-ink);
}
.run-text {
  flex: 1;
  min-width: 0;
}
.run-dark .source-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-ink-strong);
}
.run-gate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--status-pending-bg);
  color: var(--status-pending-fg);
  font-size: 14px;
  line-height: 1.4;
}
.run-gate p {
  flex: 1;
}
.run-gate-icon {
  display: inline-flex;
  flex: none;
}
.run-dark .run-gate {
  background: var(--status-pending-ink-bg);
  color: var(--status-pending-ink-fg);
}
.run-dark .run-gate .status-pending {
  background: rgba(255, 181, 71, 0.2);
  color: var(--status-pending-ink-fg);
}
/* The run plays once in view: each step lands, then the point where a person decides. */
.io .run .run-steps li,
.io .run .run-gate {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
  transition-delay: calc(var(--i, 0) * 380ms + 150ms);
}
.io .run.is-visible .run-steps li,
.io .run.is-visible .run-gate {
  opacity: 1;
  transform: none;
}

/* ---------- The gap between demos and production ---------- */
.gaps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.gap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}
.gap-n,
.pillar-n {
  color: var(--color-placeholder);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.gap p {
  color: var(--color-muted);
}

/* ---------- What we build ---------- */
.builds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.build {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px 34px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.build .h3-lg {
  margin-top: 8px;
}
.build > p {
  color: var(--color-muted);
}
.build .check-list {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

/* ---------- Steps (Diagnostic, Build, Run) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.step-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 32px 38px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.section-stone .step-tile,
.section-stone .pillar,
.section-stone .pricing-item {
  background: var(--color-paper);
}
.step-tile .h3-lg {
  margin-top: 14px;
}
.step-tile p {
  color: var(--color-muted);
}
.step-tile .check-list {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}
.step-number {
  align-self: flex-start;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-flow 6s var(--ease-lava) infinite alternate;
}
.step-1 {
  background-image: linear-gradient(135deg, var(--spark-blue), var(--spark-violet), var(--spark-rose));
}
.step-2 {
  background-image: linear-gradient(135deg, var(--spark-violet), var(--spark-rose), var(--spark-coral));
  animation-delay: -2s;
}
.step-3 {
  background-image: linear-gradient(135deg, var(--spark-rose), var(--spark-coral), var(--spark-amber));
  animation-delay: -4s;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-number {
    color: var(--color-accent);
    background: none;
  }
}

/* ---------- Ink block (forward deployed engineer, examples, practices) ---------- */
.ink-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 6vw, 88px);
  border-radius: var(--radius-stage);
  background: var(--color-ink);
  color: var(--on-ink);
}
.ink-block::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  z-index: -1;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(75, 59, 217, 0.28), rgba(75, 59, 217, 0));
  pointer-events: none;
}
.ink-block .eyebrow {
  color: var(--accent-on-ink);
}
.ink-block .split-text p {
  color: var(--on-ink-muted);
}

/* ---------- Split: text beside a visual ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.split-top {
  align-items: start;
}
.split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.split-text .h2 {
  font-size: clamp(32px, 3.8vw, 54px);
}
.split-text .h2-sm {
  font-size: clamp(28px, 3vw, 42px);
}
.split-text p {
  max-width: 34em;
  color: var(--color-muted);
  font-size: 18px;
}

/* ---------- Week of a forward deployed engineer ---------- */
.week {
  padding: 24px;
  border: 1px solid var(--ink-card-border);
  border-radius: 24px;
  background: var(--ink-card);
}
.week-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--on-ink-line);
  font-size: 15px;
  font-weight: 600;
}
.week-label {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-ink-strong);
  font-size: 12px;
}
.week-days {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.week-days li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--on-ink-line);
}
.week-days li:last-child {
  border-bottom: 0;
}
.week-day {
  color: var(--accent-on-ink);
  font-size: 14px;
  font-weight: 600;
}
.week-days p {
  color: var(--on-ink-strong);
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- Use case cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}
.case-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 26px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: var(--color-paper);
  transition:
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}
.case-card .h3 {
  margin-top: 8px;
}
.case-card p {
  color: var(--color-muted);
  font-size: 16px;
}
.card-link {
  color: inherit;
  text-decoration: none;
}
.case-card .card-link::after,
.insight-item .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.case-card:hover {
  border-color: rgba(75, 59, 217, 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.case-card:focus-within {
  border-color: var(--color-accent);
}
.case-card .card-link:focus-visible {
  outline: none;
}
.case-card .card-link:focus-visible::after {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.case-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 500;
}
.case-more .icon {
  transition: transform var(--duration-fast) var(--ease);
}
.case-card:hover .case-more .icon {
  transform: translateX(3px);
}

/* ---------- Pillars (security, deliverables, principles) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}
.pillars-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: var(--color-stone);
}
.pillar .tile-icon {
  margin-bottom: 6px;
}
.pillar p {
  color: var(--color-muted);
  font-size: 16px;
}

/* ---------- Proof: Extra ---------- */
.proof-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.proof-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-slate);
}
.proof-faces {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
}
.proof-faces li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.proof-faces img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-portrait);
  object-fit: cover;
  box-shadow: var(--shadow-portrait);
}
.proof-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}
.proof-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--color-ink-soft);
}

/* ---------- Use case pages ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: var(--color-stone);
}
.feature h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.feature p {
  color: var(--color-muted);
  font-size: 16px;
}
.metric-list,
.guard-list {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-top: 6px;
  border-top: 1px solid var(--color-line);
}
.metric-list li,
.guard-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 16.5px;
  line-height: 1.45;
}
.metric-list .icon,
.guard-list .icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}
.tool-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--color-stone);
  font-size: 16px;
  font-weight: 500;
}
.note {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--color-muted);
  font-size: 16px;
  text-align: center;
}

/* ---------- Security ---------- */
.commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.commitment {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px 34px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.commitment .h3-lg {
  margin-top: 8px;
}
.commitment ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}
.commitment li {
  position: relative;
  padding-left: 18px;
  color: var(--color-ink-soft);
  font-size: 16px;
}
.commitment li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.practices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px 48px;
}
.practice {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.practice .glass-icon {
  margin-bottom: 4px;
}
.practice p {
  color: var(--on-ink-muted);
  font-size: 16px;
}
.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-tile);
  background: var(--color-stone);
  text-align: center;
}
.review-card p {
  max-width: 34em;
  color: var(--color-muted);
}

/* ---------- Approach ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px 32px;
  border-radius: 24px;
  background: var(--color-stone);
}
.pricing-step {
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
}
.pricing-item > p:last-child {
  color: var(--color-muted);
  font-size: 16px;
}
.needs-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.needs-card .check-list li {
  font-size: 17px;
}

/* ---------- Closing (ink, an Aurora glow rising behind the title) ---------- */
.closing {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--on-ink);
}
.closing::before {
  content: "";
  position: absolute;
  inset: -10% -15%;
  animation: var(--animation-lava);
  background:
    radial-gradient(34% 38% at 36% 74%, rgba(46, 91, 255, 0.42), rgba(46, 91, 255, 0) 100%),
    radial-gradient(30% 34% at 52% 70%, rgba(138, 63, 252, 0.4), rgba(138, 63, 252, 0) 100%),
    radial-gradient(30% 36% at 66% 76%, rgba(224, 69, 123, 0.34), rgba(224, 69, 123, 0) 100%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(96px, 11vw, 160px);
  text-align: center;
}
.closing-meta {
  color: var(--on-ink-faint);
  font-size: 16px;
  font-weight: 600;
}
.closing-title {
  max-width: 12em;
  margin-top: 18px;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
}
.closing .lead {
  max-width: 28em;
  margin-top: 24px;
  color: var(--on-ink-muted);
}
.closing .actions {
  margin-top: 36px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--color-line);
}
.faq-list details {
  border-bottom: 1px solid var(--color-line);
}
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 48px 18px 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  transform: rotate(45deg);
  transition: transform var(--duration-fast) var(--ease);
}
.faq-list details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}
.faq-answer {
  padding: 0 4px 24px;
  color: var(--color-graphite);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--on-ink-line);
  background: var(--color-ink);
  color: var(--on-ink-faint);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px 32px;
}
.footer-brand p {
  max-width: 24em;
  margin-top: 10px;
  font-size: 14px;
}
.footer-title {
  margin-bottom: 10px;
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 600;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-ink-muted);
  font-size: 14px;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--on-ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 30px;
  border-top: 1px solid var(--on-ink-line);
  font-size: var(--text-caption);
}
.footer-bottom .footer-lang {
  min-height: 44px;
  font-size: var(--text-caption);
}

/* ---------- Booking dialog ---------- */
.dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-dialog);
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-in var(--duration-base) var(--ease);
}
.dialog::backdrop {
  background: rgba(18, 20, 63, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 18px 26px;
  border-bottom: 1px solid var(--color-line-soft);
}
.dialog-titles {
  flex: 1;
  min-width: 0;
}
.dialog-titles p {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 15px;
}
.book-frame {
  position: relative;
  flex: 1;
  min-height: 560px;
  height: 66vh;
  background: var(--color-paper);
}
.book-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease);
}
.book-frame.ready iframe {
  opacity: 1;
}
.book-status {
  position: absolute;
  inset: 0 0 auto;
  padding: 18px 26px;
  color: var(--color-muted);
  font-size: 15px;
}
.book-status::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: loading-line 1.2s var(--ease) infinite;
}
.book-status.stuck::after {
  display: none;
}
@keyframes loading-line {
  from {
    background-position: -50% 0;
  }
  to {
    background-position: 150% 0;
  }
}
.dialog-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding: 10px 26px 14px;
  border-top: 1px solid var(--color-line-soft);
  color: var(--color-muted);
  font-size: 13px;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
body.dialog-open {
  overflow: hidden;
}

/* ---------- Reveal on scroll (added by site.js only; content is visible without JS) ---------- */
.io .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-reveal) var(--ease),
    transform var(--duration-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.io .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- About ---------- */
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.founder {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.founder-id {
  display: flex;
  align-items: center;
  gap: 18px;
}
.founder-id img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-portrait);
  object-fit: cover;
}
.founder-id h3 {
  font-size: var(--text-h3-lg);
  letter-spacing: var(--tracking-h3);
}
.founder-id p {
  color: var(--color-muted);
  font-size: 15px;
}
.founder-hl {
  font-size: 17px;
}
.founder-schools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
}
/* School logos (official files), shown in ink; sizes balance their shapes. */
.school-logo {
  width: auto;
  max-width: 150px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.72;
}
.school-logo.school-hec {
  height: 28px;
}
.school-logo.school-spo {
  height: 17px;
}
.school-logo.school-bk {
  height: 26px;
}
.school-logo.school-ucl {
  height: 34px;
  max-width: 170px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.contact-card h2 {
  font-size: var(--text-h3-lg);
  letter-spacing: var(--tracking-h3);
}
.contact-card > p {
  color: var(--color-muted);
}
.contact-card .btn-primary,
.contact-card .link-action {
  margin-top: auto;
}

/* ---------- Insights ---------- */
.insight-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
}
.insight-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--color-line);
}
.insight-item p {
  max-width: 44em;
  color: var(--color-muted);
}
.insight-item .insight-date {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
}
.insight-item:hover .card-link {
  color: var(--color-accent);
}
.insight-list-compact {
  margin-top: 18px;
}
.insight-list-compact .insight-item {
  padding: 20px 4px;
}

/* ---------- Prose (articles, privacy) ---------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.prose h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--tracking-h2);
}
.prose h2 {
  margin-top: 48px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.prose h3 {
  margin-top: 28px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.prose p,
.prose ul,
.prose ol {
  margin-top: 14px;
  color: var(--color-graphite);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  color: var(--color-ink);
  font-weight: 600;
}
.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .answer {
  margin-top: 0;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--color-stone);
  color: var(--color-ink);
  font-size: 19px;
  line-height: 1.55;
}
.prose .date {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 15px;
}
.privacy {
  padding-top: calc(var(--space-hero) + 8px);
}
.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: 16px;
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line-soft);
  text-align: left;
  vertical-align: top;
}
.prose thead th {
  background: var(--color-stone);
  color: var(--color-ink);
  font-weight: 600;
}
.prose tbody th {
  color: var(--color-ink);
  font-weight: 600;
}
.prose td {
  color: var(--color-graphite);
}
.prose tbody tr:last-child > * {
  border-bottom: 0;
}
.toc {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--color-stone);
}
.toc p {
  margin: 0;
  color: var(--color-ink);
  font-weight: 600;
}
.toc ol {
  columns: 2;
  margin-top: 10px;
}
.toc a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--color-graphite);
}

/* ---------- 404 ---------- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    max-width: 620px;
  }
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  :root {
    --nav-space: 70px;
  }
  html {
    scroll-padding-top: 88px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .js .menu-button {
    display: inline-flex;
  }
  html:not(.js) .menu-fallback {
    display: inline-flex;
  }
  .nav {
    height: 54px;
    padding: 0 6px 0 14px;
  }
  .gaps {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .logo {
    font-size: 19px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .hero .actions,
  .page-hero .actions {
    align-self: stretch;
  }
  .actions .link-action {
    justify-content: center;
  }
  .closing .actions {
    align-self: stretch;
  }
  .btn-l {
    padding: 0 22px;
  }
  .hero-facts {
    flex-direction: column;
    gap: 4px;
  }
  .hero-facts li + li::before {
    display: none;
  }
  .run {
    padding: 16px;
  }
  .run-steps li {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .run-steps .source-pill {
    margin-left: 28px;
  }
  .run-gate {
    flex-wrap: wrap;
  }
  .week {
    padding: 18px;
  }
  .week-days li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .proof-faces {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 6px;
  }
  .proof-faces img {
    width: 52px;
    height: 52px;
  }
  .step-tile,
  .build,
  .commitment {
    padding: 26px 22px 28px;
  }
  .dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }
  .book-frame {
    min-height: 0;
    height: auto;
  }
  .dialog-head {
    padding: 16px 16px 14px 18px;
  }
  .dialog-foot {
    padding: 10px 18px 14px;
  }
  .toc ol {
    columns: 1;
  }
  .prose .answer {
    padding: 20px;
    font-size: 17.5px;
  }
}
@media (max-width: 340px) {
  .wordmark-sub {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .io .reveal,
  .io .run .run-steps li,
  .io .run .run-gate {
    opacity: 1;
    transform: none;
  }
  .btn-primary:hover,
  .case-card:hover,
  .case-card:hover .case-more .icon {
    transform: none;
  }
}
