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

/* Lampe à lave : les quatre lueurs de l'Aurore nuit dérivent lentement dans les boutons d'action.
   Propriétés enregistrées pour que le navigateur interpole leurs positions. */
@property --lava-a-x { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --lava-a-y { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --lava-b-x { syntax: '<percentage>'; inherits: false; initial-value: 75%; }
@property --lava-b-y { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --lava-c-x { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --lava-c-y { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --lava-d-x { syntax: '<percentage>'; inherits: false; initial-value: 6%; }
@property --lava-d-y { syntax: '<percentage>'; inherits: false; initial-value: 100%; }

: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 */
  --gradient-aurora:
    radial-gradient(70% 90% at 0% 0%, rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0) 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(138, 63, 252, 0.9) 0%, rgba(138, 63, 252, 0) 62%),
    radial-gradient(65% 75% at 100% 100%, rgba(224, 69, 123, 0.85) 0%, rgba(224, 69, 123, 0) 60%),
    radial-gradient(55% 65% at 6% 100%, rgba(255, 128, 72, 0.7) 0%, rgba(255, 128, 72, 0) 60%),
    #12143F;
  --gradient-aurora-night:
    radial-gradient(90% 160% at 0% 0%, rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0) 60%),
    radial-gradient(70% 140% at 75% 0%, rgba(138, 63, 252, 0.85) 0%, rgba(138, 63, 252, 0) 60%),
    radial-gradient(90% 170% at 100% 100%, rgba(224, 69, 123, 0.8) 0%, rgba(224, 69, 123, 0) 55%),
    #14164A;
  --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);

  /* 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);
  --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);
}
/* Aurore nuit en lampe à lave. Par défaut, le dégradé immobile. La page pose la classe has-lava sur
   <html> seulement si le navigateur sait interpoler les propriétés enregistrées : alors les lueurs
   suivent --lava-*. Pas de valeur de secours dans var() : avec une valeur de secours, Chrome garde le
   dégradé figé à sa position de départ dans la propriété raccourcie `background`. */
.btn-primary, .lava {
  background: var(--gradient-aurora-night);
}
html.has-lava .btn-primary, html.has-lava .lava {
  background:
    radial-gradient(70% 140% at var(--lava-a-x) var(--lava-a-y), rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0) 62%),
    radial-gradient(60% 125% at var(--lava-b-x) var(--lava-b-y), rgba(138, 63, 252, 0.9) 0%, rgba(138, 63, 252, 0) 62%),
    radial-gradient(70% 145% at var(--lava-c-x) var(--lava-c-y), rgba(224, 69, 123, 0.85) 0%, rgba(224, 69, 123, 0) 60%),
    radial-gradient(55% 120% at var(--lava-d-x) var(--lava-d-y), rgba(255, 106, 85, 0.7) 0%, rgba(255, 106, 85, 0) 62%),
    var(--color-night-button);
}
html.has-lava .btn-primary, html.has-lava .lava {
  animation:
    lava-a 8s var(--ease-lava) infinite alternate,
    lava-b 10s var(--ease-lava) infinite alternate,
    lava-c 12s var(--ease-lava) infinite alternate,
    lava-d 9s var(--ease-lava) infinite alternate;
}
@keyframes lava-a { 50% { --lava-a-x: 60%; --lava-a-y: 100%; } 100% { --lava-a-x: 100%; --lava-a-y: 0%; } }
@keyframes lava-b { 50% { --lava-b-x: 10%; --lava-b-y: 80%; } 100% { --lava-b-x: 50%; --lava-b-y: 100%; } }
@keyframes lava-c { 50% { --lava-c-x: 35%; --lava-c-y: 0%; } 100% { --lava-c-x: 0%; --lava-c-y: 70%; } }
@keyframes lava-d { 50% { --lava-d-x: 90%; --lava-d-y: 90%; } 100% { --lava-d-x: 25%; --lava-d-y: 0%; } }
.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; overflow: hidden; background: var(--gradient-aurora); 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 — site styles. Values come from design/tokens.css (prepended at build time). */

/* Component values named in the design system's component specs but absent from the token block. */
:root {
  --color-ink-soft: #3a3a3d; /* menu links, agent card tasks */
  --color-email-bg: #fafafb; /* e-mail preview in the validation card */
  /* Light glass menu: the page shows through, blurred; border and shadow keep it apart from white. */
  --nav-bg: rgba(255, 255, 255, 0.64);
  --nav-border: rgba(29, 29, 31, 0.1);
  --nav-shine: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-nav-glass: 0 1px 2px rgba(20, 22, 60, 0.06), 0 18px 40px -18px rgba(20, 22, 60, 0.32);
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-bg-window: rgba(255, 255, 255, 0.12);
  --glass-border-window: rgba(255, 255, 255, 0.22);
  --on-aurora-muted: rgba(255, 255, 255, 0.8);
  --on-aurora-faint: rgba(255, 255, 255, 0.6);
  --dot-pending: #ffb547;
  --dot-done: #5fe0a0;
  --dot-idle: rgba(255, 255, 255, 0.4);
  --radius-dialog: 28px;
  --radius-consent: 24px;
  --focus-halo: 0 0 0 4px rgba(75, 59, 217, 0.15);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
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,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
/* The hidden attribute always wins over component display values. */
[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-ink);
  color: var(--color-paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}
.grain-defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* ---------- 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: var(--gutter);
}
.section {
  padding-block: var(--space-section);
}
.section-tight-top {
  padding-top: 0;
}

/* ---------- Typography ---------- */
.display {
  max-width: 11em;
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.h2 {
  max-width: 12em;
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: var(--tracking-h2);
}
.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: 30em;
  font-size: var(--text-lead);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--color-muted);
}
.eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent);
}
.prose p,
.prose li {
  max-width: 65ch;
}
.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,
.btn-primary.is-pressed {
  transform: translateY(0) scale(0.97);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
/* `html` keeps this above the lava background of html.has-lava .btn-primary. */
html .btn-primary[disabled] {
  background: var(--color-stone-strong);
  color: var(--color-placeholder);
  box-shadow: none;
  filter: none;
  transform: none;
  cursor: progress;
}
.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;
}
.btn-block {
  width: 100%;
}
.link-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-accent);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.link-action:hover {
  color: var(--color-night-button);
}
.btn-neutral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-stone-strong);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}
.btn-neutral:hover {
  background: var(--color-line);
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.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.actions-start {
  justify-content: flex-start;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
}
.surface-aurora :focus-visible {
  outline-color: #fff;
}

/* ---------- Floating menu ---------- */
.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-glass);
  color: var(--color-ink);
}
.nav .logo {
  color: var(--color-ink);
}
.menu-panel :focus-visible,
.on-ink :focus-visible {
  outline-color: #fff;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--on-ink);
  text-decoration: none;
}
.wordmark {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-ink-soft);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-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: 8px;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.06);
  color: var(--color-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-fallback {
  display: none;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--color-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);
  }
}

/* ---------- Introduction label and portraits ---------- */
.intro-label {
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  /* Light: white inside, the flowing Aurora edge around it (the inside must be opaque, or the edge
     gradient would tint the whole pill). */
  background:
    linear-gradient(var(--color-paper), var(--color-paper)) padding-box,
    var(--gradient-flow) 0 0 / 300% 100% border-box;
  box-shadow: var(--shadow-card);
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
html.has-lava .intro-label {
  animation:
    rise 720ms var(--ease) both,
    edge-flow 6s linear infinite alternate;
}
@keyframes edge-flow {
  to {
    background-position:
      0 0,
      100% 0;
  }
}
.intro-label .faces img {
  border-color: var(--color-paper);
}
.faces {
  display: inline-flex;
  flex-shrink: 0;
}
.faces img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-stone);
}
.faces img + img {
  margin-left: -8px;
}
.faces-26 img {
  width: 26px;
  height: 26px;
}
.faces-34 img {
  width: 34px;
  height: 34px;
}
.portrait {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-portrait);
  object-fit: cover;
  box-shadow: var(--shadow-portrait);
}

/* ---------- Pills, tags, checks ---------- */
.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;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.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-pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-fg);
}
.status-done {
  background: var(--status-done-bg);
  color: var(--status-done-fg);
}
.status-idle {
  background: var(--status-idle-bg);
  color: var(--status-idle-fg);
}
.status-error {
  background: var(--status-error-bg);
  color: var(--status-error-fg);
}
.soon {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--status-idle-bg);
  color: var(--status-idle-fg);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: 1px;
  white-space: nowrap;
}
.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;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-inline: 12px;
  text-align: center;
}
.section-head .lead {
  max-width: 30em;
}
.section-head.on-aurora .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}
.section-head.on-aurora .lead {
  color: var(--on-aurora-muted);
}
.section-head + * {
  margin-top: var(--space-9);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--space-hero);
  padding-bottom: var(--space-10);
  text-align: center;
}
.hero .display {
  margin-top: 28px;
}
/* Two sentences, two lines: the second never breaks once the screen is wide enough. */
.hero-title {
  max-width: none;
}
.hero-title .line {
  display: block;
}
@media (min-width: 600px) {
  .hero-title .line-whole {
    white-space: nowrap;
  }
}
.hero .lead {
  margin-top: 28px;
  max-width: 36em;
  text-wrap: balance;
}
.hero-actions {
  margin-top: 40px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 15px;
}
.hero-notes li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 18px;
  background: var(--color-line);
  vertical-align: -2px;
}
/* The hero arrives in a short cascade. */
.hero > *,
.hero-title .line {
  animation: rise 720ms var(--ease) both;
}
.hero > .hero-title {
  animation: none;
}
.hero-title .line:first-child {
  animation-delay: 70ms;
}
.hero-title .line + .line {
  animation-delay: 160ms;
}
.hero > .lead {
  animation-delay: 250ms;
}
.hero > .hero-actions {
  animation-delay: 330ms;
}
.hero > .hero-notes {
  animation-delay: 400ms;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
/* ---------- Aurora surfaces ---------- */
.surface-aurora {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gradient-aurora);
  color: #fff;
  border-radius: var(--radius-stage);
}
/* The four lights drift on two layers moved with transforms only (cheap to animate). The static
   gradient underneath stays the fallback and the reduced-motion look. */
html.has-lava .surface-aurora {
  background: var(--color-night);
}
html.has-lava .surface-aurora::before,
html.has-lava .surface-aurora::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
}
html.has-lava .surface-aurora::before {
  background:
    radial-gradient(44% 56% at 19% 19%, rgba(46, 91, 255, 0.95) 0%, rgba(46, 91, 255, 0) 60%),
    radial-gradient(41% 47% at 81% 81%, rgba(224, 69, 123, 0.85) 0%, rgba(224, 69, 123, 0) 60%);
  animation: aurora-a 9s var(--ease-lava) infinite alternate;
}
html.has-lava .surface-aurora::after {
  background:
    radial-gradient(38% 50% at 81% 19%, rgba(138, 63, 252, 0.9) 0%, rgba(138, 63, 252, 0) 62%),
    radial-gradient(34% 41% at 22% 81%, rgba(255, 128, 72, 0.7) 0%, rgba(255, 128, 72, 0) 60%);
  animation: aurora-b 12s var(--ease-lava) infinite alternate;
}
@keyframes aurora-a {
  50% {
    transform: translate(14%, 10%) rotate(14deg) scale(1.12);
  }
  100% {
    transform: translate(-12%, 8%) rotate(-10deg) scale(0.94);
  }
}
@keyframes aurora-b {
  50% {
    transform: translate(-13%, -9%) rotate(-16deg) scale(1.14);
  }
  100% {
    transform: translate(10%, -12%) rotate(10deg) scale(0.96);
  }
}
.surface-aurora > .grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.surface-aurora > .grain {
  z-index: 1;
}
.surface-aurora > :not(.grain) {
  position: relative;
  z-index: 2;
}

/* Product stage: the window comes out of the bottom of the Aurora, cropped. */
.stage {
  padding: clamp(56px, 6vw, 96px) clamp(12px, 4vw, 72px) 0;
}

/* Round pause button (team orbit). */
.round-toggle {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}
.round-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}
.round-toggle:focus-visible {
  outline-color: #fff;
}
.round-toggle .icon-play,
.round-toggle[aria-pressed="true"] .icon-pause {
  display: none;
}
.round-toggle[aria-pressed="true"] .icon-play {
  display: block;
}

/* ---------- Product window (Arc style) ---------- */
.window {
  position: relative;
  display: flex;
  gap: 8px;
  min-width: 980px;
  max-width: 1140px;
  height: 590px;
  margin: 0 auto;
  padding: 8px 8px 0;
  border: 1px solid var(--glass-border-window);
  border-bottom: 0;
  border-radius: var(--radius-window) var(--radius-window) 0 0;
  background: var(--glass-bg-window);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-window);
  text-align: left;
}
.window-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 236px;
  flex-shrink: 0;
  padding: 10px 6px 0;
  color: #fff;
}
.window-dots {
  display: flex;
  gap: 6px;
  padding: 2px 6px 14px;
}
.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.window-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0 2px 12px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--glass-bg);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}
.window-label {
  padding: 0 10px 6px;
  color: var(--on-aurora-faint);
  font-size: 11.5px;
  font-weight: 600;
}
.thread {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 500;
}
.thread.is-active {
  background: rgba(255, 255, 255, 0.2);
}
.thread img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
}
.thread-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.thread-job {
  margin-left: 7px;
  color: var(--on-aurora-faint);
  font-size: 12px;
  font-weight: 500;
}
.thread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot-idle);
}
.thread-dot.pending {
  background: var(--dot-pending);
}
.thread-dot.done {
  background: var(--dot-done);
}
.thread-dot.working {
  background: #fff;
  animation: pulse 1.1s var(--ease) infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}
.thread {
  transition:
    background var(--duration-base) var(--ease),
    opacity var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease);
}
.window-card {
  display: grid;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: 0 1px 3px rgba(8, 8, 40, 0.2);
}
/* Every scene sits in the same cell: the card keeps the size of the tallest finished scene, so nothing
   moves around it while a scene plays. */
.demo-scene {
  grid-area: 1 / 1;
  display: flex;
  min-width: 0;
  min-height: 0;
}
.demo-scene + .demo-scene {
  visibility: hidden;
}
.conversation {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid var(--color-line-soft);
  font-size: 15px;
  font-weight: 600;
}
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px 3px 3px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.agent-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.conversation-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  padding: 26px 24px 96px;
}
.bubble-user {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 76%;
  padding: 12px 16px;
  border-radius: var(--radius-bubble) var(--radius-bubble) 6px var(--radius-bubble);
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}
.attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 500;
}
.bubble-agent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.bubble-agent > img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}
.bubble-agent-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.bubble-agent-text {
  padding: 12px 16px;
  border-radius: 6px var(--radius-bubble) var(--radius-bubble) var(--radius-bubble);
  background: var(--color-stone);
  font-size: 15px;
  line-height: 1.55;
}
.bubble-agent-text strong {
  font-weight: 600;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* The composer sits on the bottom of the conversation and grows upwards with what is typed. */
.composer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 6px 6px 6px 18px;
  border-radius: 25px;
  background: var(--color-stone);
  color: var(--color-placeholder);
  font-size: 14.5px;
  line-height: 1.45;
}
.composer-text {
  flex: 1;
  min-width: 0;
  align-self: center;
  padding-block: 6px;
}
.composer-text.is-typing {
  align-self: flex-end;
}
.composer-text.is-typing {
  color: var(--color-ink);
}
.composer-text.is-typing::after,
.bubble-user p.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: var(--color-accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.bubble-user p.is-typing::after {
  background: #fff;
}
.composer-send {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: transform 160ms var(--ease);
}
.composer-send.is-pressed {
  transform: scale(0.86);
}
.work-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 330px;
  flex-shrink: 0;
  padding: 20px;
  border-left: 1px solid var(--color-line-soft);
}
.work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.work-rows {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.work-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--color-line-soft);
}
.work-rows li:last-child {
  border-bottom: 1px solid var(--color-line-soft);
}
.work-rows .meta {
  color: var(--color-muted);
  white-space: nowrap;
}
.email-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: var(--color-email-bg);
  font-size: 13.5px;
  line-height: 1.5;
}
.email-preview .to {
  color: var(--color-muted);
  font-size: 12px;
}
.email-preview .subject {
  font-weight: 600;
}
.email-preview .excerpt {
  color: var(--color-graphite);
}
.work-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 4px;
}
.work-actions span {
  pointer-events: none;
  flex: 1 1 auto;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}

/* Agent's steps: each one runs (spinner, shimmering label), then shows what it relied on. */
.activity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.activity-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px 0 7px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-slate);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease);
}
.activity-step .check {
  fill: var(--color-accent);
}
.activity-doing,
.spinner {
  display: none;
}
.spinner {
  width: 13px;
  height: 13px;
  border: 1.6px solid var(--color-line);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.demo.is-live .activity-step:not(.is-done) {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--color-line);
}
.demo.is-live .activity-step:not(.is-done) .spinner,
.demo.is-live .activity-step:not(.is-done) .activity-doing {
  display: inline-block;
}
.demo.is-live .activity-step:not(.is-done) .check,
.demo.is-live .activity-step:not(.is-done) .activity-done {
  display: none;
}
.activity-doing {
  background:
    linear-gradient(90deg, var(--color-muted) 30%, var(--color-ink) 50%, var(--color-muted) 70%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* Post drafts with their visuals. */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}
.post-visual {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-stone-strong);
}
.post-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 36% at 72% 28%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 70%),
    linear-gradient(140deg, var(--from), var(--to));
  transition: opacity 600ms var(--ease);
}
.post-day {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

/* Demo-only states of the work panel. */
.work-empty,
.work-toast {
  display: none;
}
.demo.is-live .demo-scene:not(.is-working, .is-ready) .work-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--color-muted);
  font-size: 14px;
  text-align: center;
}
.status-working {
  gap: 6px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.status-working::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.1s var(--ease) infinite;
}
.demo.is-live .is-sent .work-actions {
  opacity: 0;
}
.demo.is-live .is-sent .work-toast {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--color-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  animation: rise 420ms var(--ease) both;
}
.toast-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot-done);
}

/* Live demo: scenes cross-fade, and what has not happened yet is invisible but keeps its place. */
.demo.is-live .demo-scene {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 420ms var(--ease),
    visibility 0s linear 420ms;
}
.demo.is-live .demo-scene.is-current {
  visibility: visible;
  opacity: 1;
  transition: opacity 420ms var(--ease);
}
.demo.is-live .demo-scene.is-leaving {
  opacity: 0;
}
.demo.is-live [data-anim] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 380ms var(--ease),
    transform 520ms var(--ease);
}
.demo.is-live [data-anim].is-on {
  opacity: 1;
  transform: none;
}
.demo.is-live .w {
  opacity: 0;
  filter: blur(3px);
  transition:
    opacity 260ms var(--ease),
    filter 260ms var(--ease);
}
.demo.is-live .w.is-on {
  opacity: 1;
  filter: none;
}
.demo.is-live .post-visual:not(.is-on) {
  background:
    linear-gradient(90deg, var(--color-stone-strong) 30%, var(--color-paper) 50%, var(--color-stone-strong) 70%) 0 0 /
    300% 100%;
  animation: shimmer 1.4s linear infinite;
}
.demo.is-live .post-visual:not(.is-on)::after {
  opacity: 0;
}
.demo.is-offscreen * {
  animation-play-state: paused;
}

/* The pointer that clicks « Tout valider ». */
.demo-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  translate: var(--x, 0) var(--y, 0);
  filter: drop-shadow(0 2px 4px rgba(8, 8, 40, 0.35));
  transition:
    opacity 240ms var(--ease),
    scale 160ms var(--ease);
}
.demo-cursor.is-on {
  opacity: 1;
}
.demo-cursor.is-moving {
  transition:
    opacity 240ms var(--ease),
    translate 1s cubic-bezier(0.3, 0.7, 0.2, 1),
    scale 160ms var(--ease);
}
.demo-cursor.is-clicking {
  scale: 0.82;
}

/* ---------- Tools ---------- */
.tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.tools-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.tool-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--color-stone);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tool-pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
}

/* Tools band: a full-width ink band. The sentence centred on top, one row of tool names drifting to
   the left below it. */
.tools-band {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: var(--space-section);
  padding: 24px 0 26px;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--on-ink);
}
.section + .tools-band {
  margin-top: 0;
}
.tools-band-title {
  padding-inline: 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.tools-band-list {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.marquee {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-inner {
  display: flex;
  flex-shrink: 0;
  animation: marquee 70s linear infinite;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding-inline: 0.75em;
  color: var(--on-ink-muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0.5em var(--dot);
}
.tools-band:hover .marquee-inner {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Team orbit (home) ---------- */
/* The yuzu slice in the middle, the eight agents around it. The ring turns (--turn) so that the chosen
   agent and its segment point at the panel; each agent turns back the other way and stays upright. */
.team-stage {
  --point: 90;
  --orbit-ease: cubic-bezier(0.65, 0, 0.2, 1);
  --orbit-time: 1.1s;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-stage);
  background: var(--color-stone);
}
.team-stage.is-instant {
  --orbit-time: 0s;
}
.orbit {
  position: relative;
  container-type: inline-size;
  justify-self: center;
  width: min(100%, 560px);
  aspect-ratio: 1;
}
.orbit-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background-color: var(--active-tint);
  filter: blur(48px);
  transition: background-color 900ms var(--ease);
}
.orbit-track {
  position: absolute;
  inset: 12%;
  border: 1.5px dashed rgba(29, 29, 31, 0.14);
  border-radius: 50%;
  animation: spin 120s linear infinite;
}
.orbit-track-outer {
  inset: 1%;
  border: 1px solid var(--color-line);
  animation: none;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  transform: rotate(var(--turn));
  transition: transform var(--orbit-time) var(--orbit-ease);
}
.orbit-slice {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44cqi;
  height: 44cqi;
  max-width: none;
  translate: -50% -50%;
  overflow: visible;
  filter: drop-shadow(0 24px 40px rgba(20, 22, 60, 0.18));
}
.orbit-slice path {
  opacity: 0.2;
  transition:
    opacity 600ms var(--ease),
    transform 700ms var(--ease);
}
.orbit-slice path.is-active {
  opacity: 1;
  transform: translate(var(--dx), var(--dy));
}
.orbit-agent {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16cqi;
  height: 16cqi;
  margin: -8cqi 0 0 -8cqi;
  padding: 0;
  border: 0;
  border-radius: 31%;
  background: none;
  cursor: pointer;
  transform: rotate(var(--a)) translateY(-38cqi) rotate(calc(-1 * var(--a) - var(--turn)));
  transition: transform var(--orbit-time) var(--orbit-ease);
}
.orbit-agent img {
  width: 100%;
  height: 100%;
  border-radius: 31%;
  object-fit: cover;
  box-shadow: var(--shadow-portrait);
  filter: saturate(0.8);
  scale: 0.86;
  transition:
    scale 500ms var(--ease),
    box-shadow 500ms var(--ease),
    filter 500ms var(--ease);
  animation: float 4.5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.6s);
}
.orbit-agent:hover img {
  filter: none;
  scale: 0.96;
}
.orbit-agent.is-active img {
  filter: none;
  scale: 1.16;
  box-shadow:
    0 0 0 4px var(--color-paper),
    0 0 0 6px var(--ink),
    0 22px 40px -14px var(--ink);
}
.orbit-agent:focus-visible {
  outline: none;
}
.orbit-agent:focus-visible img {
  box-shadow:
    0 0 0 3px var(--color-paper),
    0 0 0 5px var(--color-accent);
}
.orbit-name {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 400ms var(--ease);
}
.orbit-agent.is-active .orbit-name {
  translate: -50% 16px;
  color: var(--color-ink);
}
@keyframes float {
  to {
    translate: 0 -6px;
  }
}

/* Panels share one cell: the stage keeps the height of the tallest, and the chosen one comes in. */
.team-panels {
  display: grid;
}
.team-panel {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 300ms var(--ease),
    visibility 0s linear 300ms;
}
.team-panel.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 300ms var(--ease);
}
.team-panel.is-active > *,
.team-panel.is-active .team-tasks li {
  animation: rise 640ms var(--ease) both;
}
.team-panel.is-active > :nth-child(2) {
  animation-delay: 60ms;
}
.team-panel.is-active > :nth-child(3) {
  animation-delay: 120ms;
}
.team-panel.is-active .team-tasks li {
  animation-delay: calc(180ms + var(--n) * 70ms);
}
.team-panel.is-active > :nth-child(5) {
  animation-delay: 420ms;
}
.team-panel.is-active > :nth-child(6) {
  animation-delay: 480ms;
}
.team-panel-top .portrait {
  display: none;
}
.team-name {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
}
.team-pitch {
  max-width: 28em;
  color: var(--color-muted);
  font-size: 19px;
  line-height: 1.45;
}
.team-tasks {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.team-tasks li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--color-line);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.team-tasks li:last-child {
  border-bottom: 1px solid var(--color-line);
}
.team-task-n {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.team-tools {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.team-tools > span:first-child {
  color: var(--color-ink);
  font-weight: 600;
}
.team-more {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.team-panel:hover .team-more {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.round-toggle.on-light {
  border-color: var(--color-line);
  background: var(--color-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--color-ink);
}
.round-toggle.on-light:hover {
  background: var(--color-stone-strong);
}
.round-toggle.on-light:focus-visible {
  outline-color: var(--color-accent);
}
.team-toggle {
  top: 16px;
  right: 16px;
}
.team-stage.is-still .orbit-track,
.team-stage.is-still .orbit-agent img {
  animation-play-state: paused;
}

/* Without JavaScript: no orbit, the eight panels as a grid of cards. */
html:not(.js) .orbit,
html:not(.js) .team-toggle {
  display: none;
}
html:not(.js) .team-stage {
  display: block;
  padding: 0;
  background: none;
}
html:not(.js) .team-panels {
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 16px;
}
html:not(.js) .team-panel {
  grid-area: auto;
  visibility: visible;
  opacity: 1;
  padding: 28px 26px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
html:not(.js) .team-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
}
html:not(.js) .team-panel-top .portrait {
  display: block;
}
html:not(.js) .team-name {
  font-size: var(--text-h3-lg);
}

/* ---------- Agent cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 16px;
}
.agent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 28px 26px 26px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
  transition:
    transform var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease),
    background var(--duration-base) var(--ease);
}
/* On hover the card takes the agent's own colour. */
.agent-card:hover {
  background: var(--tint);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.agent-card .portrait {
  transition: transform var(--duration-base) var(--ease);
}
.agent-card:hover .portrait {
  transform: scale(1.05) rotate(-2deg);
}
.agent-card-tasks {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
}
.agent-card-tasks li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 15.5px;
  line-height: 1.4;
}
.agent-card:hover .agent-card-tasks,
.agent-card:hover .agent-card-tasks li {
  border-color: rgba(29, 29, 31, 0.1);
}
.agent-card-more {
  margin-top: auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity var(--duration-base) var(--ease),
    transform var(--duration-base) var(--ease);
}
.agent-card:hover .agent-card-more,
.agent-card:focus-within .agent-card-more {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .agent-card-more {
    opacity: 1;
    transform: none;
  }
}
.agent-card:focus-within {
  box-shadow:
    0 0 0 2px var(--color-paper),
    0 0 0 4px var(--color-accent);
}
.agent-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.agent-card-name {
  font-size: var(--text-h3-lg);
  line-height: 1.1;
  letter-spacing: var(--tracking-h3);
}
.card-link {
  color: inherit;
  text-decoration: none;
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card-link:focus-visible {
  outline: none;
}
.card-more {
  margin-top: auto;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 500;
}

/* ---------- Steps ---------- */
.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: 36px 34px 42px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.step-tile .h3-lg {
  margin-top: 18px;
}
.step-tile p {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.5;
}
.step-number {
  align-self: flex-start;
  font-size: 96px;
  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));
}
.step-3 {
  background-image: linear-gradient(135deg, var(--spark-rose), var(--spark-coral), var(--spark-amber));
}
.step-4 {
  background-image: linear-gradient(135deg, var(--spark-coral), var(--spark-amber), var(--spark-rose));
}
.step-2 {
  animation-delay: -2s;
}
.step-3 {
  animation-delay: -4s;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-number {
    color: var(--color-accent);
    background: none;
  }
}

/* ---------- Trust block ---------- */
.trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 96px);
  text-align: center;
}
.trust .section-head + * {
  margin-top: 0;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 40px 48px;
  width: 100%;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.trust-item p {
  max-width: 20em;
  color: var(--on-aurora-muted);
  font-size: 16.5px;
  line-height: 1.5;
}
.glass-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.trust-link {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

/* ---------- Pricing ---------- */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-stage);
  background: var(--color-stone);
}
.price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.price-amount {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.price-unit {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: var(--text-lead);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.price-terms {
  color: var(--color-ink-soft);
  font-size: 17px;
}
.price-includes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: var(--color-paper);
}
.price-includes h2,
.price-includes h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.price-includes .check-list li {
  font-size: 16.5px;
  color: var(--color-ink);
}
.credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.credit-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.credit-tile .credit-cost {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}
.credit-tile p {
  color: var(--color-muted);
}
.credit-tile ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.credit-tile li {
  display: flex;
  gap: 8px;
  font-size: 15.5px;
  color: var(--color-ink-soft);
}

/* ---------- 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: aurora-a 10s var(--ease-lava) infinite alternate;
  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: 17px;
  font-weight: 600;
}
.closing .lead {
  color: var(--on-ink-muted);
}
.closing .link-action {
  color: var(--on-ink);
}
.closing :focus-visible {
  outline-color: #fff;
}
.closing-title {
  max-width: 11em;
  margin-top: 18px;
  font-size: var(--text-closing);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.closing .lead {
  margin-top: 24px;
  max-width: 28em;
}
.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;
}
.faq-answer p + p {
  margin-top: 10px;
}
.faq-group + .faq-group {
  margin-top: var(--space-9);
}
.faq-group-title {
  max-width: 820px;
  margin: 0 auto 12px;
  color: var(--color-accent);
  font-size: 19px;
}

/* ---------- Footer (ink, continues the closing call) ---------- */
.footer {
  border-top: 1px solid var(--on-ink-line);
  background: var(--color-ink);
  color: var(--on-ink-faint);
}
.footer :focus-visible {
  outline-color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px 32px;
}
.footer-brand p {
  max-width: 22em;
  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;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-ink-muted);
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover {
  color: var(--on-ink);
}
.footer-bottom {
  padding-block: 18px 30px;
  border-top: 1px solid var(--on-ink-line);
  font-size: var(--text-caption);
}

/* ---------- Dialogs ---------- */
.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);
}
.callback {
  width: min(520px, calc(100% - 32px));
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 18px 26px;
  border-bottom: 1px solid var(--color-line-soft);
}
.dialog-head .faces {
  margin-top: 2px;
}
.dialog-titles {
  flex: 1;
  min-width: 0;
}
.dialog-titles p {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 15px;
}
.dialog-titles .book-task {
  color: var(--color-ink);
  font-weight: 500;
}
.dialog-body {
  overflow-y: auto;
  padding: 22px 26px 26px;
}
.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;
}
.dialog-foot .link-action {
  min-height: 32px;
  font-size: 13px;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
body.dialog-open {
  overflow: hidden;
}

/* ---------- Form fields (design system v1.1) ---------- */
.callback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field label,
.field legend {
  padding: 0;
  color: var(--color-ink);
  font: 500 var(--text-ui) / 1.3 var(--font-sans);
}
.field .optional {
  margin-left: 4px;
  color: var(--color-muted);
  font-weight: 400;
}
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  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),
    box-shadow var(--duration-fast) var(--ease);
}
.field input::placeholder {
  color: var(--color-placeholder);
}
.field input:focus-visible {
  outline: none;
  background: var(--color-paper);
  border-color: var(--color-accent);
  box-shadow: var(--focus-halo);
}
.field [aria-invalid="true"] {
  border-color: var(--status-error-fg);
}
.field-error {
  color: var(--status-error-fg);
  font: 400 14px / 1.4 var(--font-sans);
}
.choices legend {
  margin-bottom: var(--space-2);
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--color-stone);
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease);
}
.choice input:checked + span {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  padding: 12px 16px;
  border-radius: var(--radius-field);
  background: var(--status-error-bg);
  color: var(--status-error-fg);
  font-size: 15px;
}
.form-error a {
  color: inherit;
  font-weight: 600;
}
.form-note {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}
.form-note a {
  color: var(--color-graphite);
}
.callback-done {
  padding: 8px 0 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.callback-done:focus {
  outline: none;
}
.callback-done p + p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Consent card ---------- */
.consent {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-consent);
  background: var(--color-paper);
  box-shadow:
    var(--shadow-card),
    0 2px 8px rgba(20, 22, 60, 0.06);
}
.consent h2 {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.consent h2:focus {
  outline: none;
}
.consent-text,
.consent details p {
  margin-top: 8px;
  color: var(--color-graphite);
  font-size: 14.5px;
  line-height: 1.5;
}
.consent details {
  margin-top: 8px;
}
.consent summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-accent);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}
.consent-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.consent-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--color-stone);
  cursor: pointer;
}
.consent-opt input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--color-accent);
}
.consent-opt b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.consent-opt small {
  color: var(--color-muted);
  font-size: 13px;
}
.consent-now {
  margin-top: 10px;
  color: var(--status-done-fg);
  font-size: 14px;
  font-weight: 500;
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.consent-actions .btn-neutral,
.consent-pick .btn-neutral {
  height: 44px;
}
.consent-links {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.consent-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-graphite);
  font-size: 14px;
  cursor: pointer;
}

/* ---------- Sticky mobile button ---------- */
.sticky {
  display: none;
}

/* ---------- Reveal on scroll (added by site.js only; content is visible without JS) ---------- */
.js .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);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Page heroes (inner pages) ---------- */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: var(--space-hero);
  padding-bottom: var(--space-10);
  text-align: center;
}
.page-hero .h1 {
  max-width: 12em;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.page-hero .lead {
  max-width: 30em;
}
.page-hero .actions {
  margin-top: 12px;
}
.agent-hero .portrait {
  width: 128px;
  height: 128px;
}
.agent-hero-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Feature list (agent pages, security) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  border-radius: var(--radius-tile);
  background: var(--color-stone);
}
.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-head .check {
  margin-top: 4px;
}
.feature h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.feature p {
  color: var(--color-muted);
  font-size: 16px;
}
.feature.is-soon h3 {
  color: var(--color-graphite);
}
.note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--color-muted);
  font-size: 15px;
  text-align: center;
}

/* Split section: text beside a visual */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.split-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.split-text .h2 {
  font-size: clamp(36px, 4.4vw, 60px);
}
.split-text p {
  color: var(--color-muted);
  font-size: 18px;
}

/* Example card (agent pages): compact window on Aurora */
.example-stage {
  padding: clamp(28px, 4vw, 56px);
}
.example-window {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: var(--shadow-window);
}
.example-window .conversation-body {
  padding: 22px;
}
.deliverable {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 22px 22px;
  padding: 18px;
  border: 1px solid var(--color-line-soft);
  border-radius: 18px;
}
.deliverable-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.deliverable .email-preview {
  font-size: 14px;
}
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.45;
}
.deliverable-list li {
  display: flex;
  gap: 10px;
}
.deliverable-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.deliverable .work-actions {
  margin-top: 4px;
}
.deliverable .work-actions span {
  flex: 0 1 auto;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* Mini cards (« Il travaille avec ») */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.mini-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-stone);
}
.mini-card img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-portrait);
  object-fit: cover;
  box-shadow: var(--shadow-portrait);
}
.mini-card h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.mini-card p {
  color: var(--color-muted);
  font-size: 15px;
}
.mini-card:focus-within {
  box-shadow:
    0 0 0 2px var(--color-paper),
    0 0 0 4px var(--color-accent);
}

/* Small reminder band (« Vous gardez la main » on agent pages) */
.reminder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-tile);
  background: var(--color-accent-soft);
}
.reminder .glass-icon {
  border: 0;
  background: var(--color-paper);
  color: var(--color-accent);
}
.reminder h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.reminder p {
  margin-top: 4px;
  color: var(--color-graphite);
}
.reminder a {
  font-size: 17px;
  white-space: nowrap;
}

/* 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;
  gap: 8px;
}
.school {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-slate);
  font-size: 14px;
  font-weight: 500;
}
.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-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
  margin-top: var(--space-8);
}
.school-band p {
  color: var(--color-muted);
  font-size: 15px;
}
.school-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
}
/* School logos (official files), shown in ink like the rest of the page; sizes balance their shapes. */
.school-logo,
.school-band-logo {
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.72;
}
.school-logo {
  height: 24px;
}
.school-logo.school-hec {
  height: 28px;
}
.school-logo.school-spo {
  height: 17px;
}
.school-logo.school-bk {
  height: 26px;
}
.school-band-logo {
  height: 36px;
}
.school-band-logo.school-hec {
  height: 40px;
}
.school-band-logo.school-spo {
  height: 24px;
}
.school-band-logo.school-bk {
  height: 38px;
}
.founder-schools {
  align-items: center;
  gap: 14px 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
  align-items: start;
}
.contact-card {
  display: flex;
  flex-direction: column;
  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 .field input[type="text"],
.contact-card .field input[type="tel"],
.contact-card .choice span {
  background: var(--color-paper);
}
.contact-card .btn-primary {
  align-self: flex-start;
}

/* Prose pages (privacy) */
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.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 {
  margin-top: 14px;
  color: var(--color-graphite);
}
.prose ul {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  color: var(--color-ink);
  font-weight: 600;
}
.prose .date {
  color: var(--color-muted);
  font-size: 15px;
}
.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;
  color: var(--color-graphite);
}
.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;
}
.not-found .h1 {
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .price-card,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  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;
  }
  .wordmark {
    font-size: 20px;
  }

  /* The product window drops its sidebar and stacks: the conversation, the work to validate, then the
     composer. */
  .stage {
    padding: 22px 12px 12px;
  }
  .window {
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .window-sidebar {
    display: none;
  }
  .window-card {
    border-radius: 20px;
    box-shadow: var(--shadow-window);
  }
  .demo-scene {
    flex-direction: column;
  }
  .conversation {
    display: contents;
  }
  .conversation-head {
    order: 1;
  }
  .conversation-body {
    order: 2;
  }
  .work-panel {
    order: 3;
  }
  .composer {
    display: none;
  }
  .conversation-head {
    padding: 0 16px;
  }
  .conversation-body {
    padding: 18px 16px;
  }
  .work-panel {
    width: auto;
    margin-bottom: 14px;
    border-left: 0;
    border-top: 1px solid var(--color-line-soft);
    padding: 16px;
  }
  .demo.is-live .is-sent .work-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .email-preview {
    display: none;
  }

  .reminder {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .team-stage {
    --point: 180;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 56px 20px 32px;
  }
  .orbit {
    width: min(100%, 400px);
  }
  .orbit-name {
    font-size: 12px;
  }
  .team-name {
    font-size: 56px;
  }
  .team-toggle {
    top: 12px;
    right: 12px;
  }

  .sticky {
    position: fixed;
    z-index: 25;
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition:
      opacity var(--duration-base) var(--ease),
      transform var(--duration-base) var(--ease);
  }
  .sticky.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .sticky-button {
    width: 100%;
    max-width: 420px;
    height: 54px;
    gap: 12px;
  }
  .sticky .faces img {
    border-color: transparent;
  }

  .consent {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .actions {
    flex-direction: column;
    gap: 6px;
  }
  .hero .actions .btn-primary,
  .page-hero .actions .btn-primary,
  .closing .actions .btn-primary {
    width: 100%;
    max-width: 420px;
  }
  .btn-l {
    padding: 0 22px;
  }
  .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-head .faces {
    display: none;
  }
  .dialog-body {
    padding: 18px;
  }
  .dialog-foot {
    padding: 10px 18px 14px;
  }
  .step-tile,
  .agent-card {
    padding: 26px 22px 28px;
  }
  .price-includes {
    padding: 22px;
  }
  .toc ol {
    columns: 1;
  }
  .intro-label {
    gap: 8px;
    padding-right: 14px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .intro-label .faces img:nth-child(3) {
    display: none;
  }
  .hero-notes {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .hero-notes li + li::before {
    display: none;
  }
  .bubble-user {
    max-width: 90%;
  }
  .work-rows li {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .btn-primary:hover,
  .agent-card:hover,
  .agent-card:hover .portrait {
    transform: none;
  }
  /* The tools stand still: the plain list replaces the scrolling row. */
  .marquee {
    display: none;
  }
  .tools-band-list {
    position: static;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .tools-band-list .marquee-item {
    font-size: 16px;
  }
}
