/* =====================================================================
   Clarity - Identité complète (v2 : vif et jeune)
   =====================================================================

   Rupture avec la version « maison de luxe » précédente.

   Fond         blanc chaud, très clair
   Encre        gris anthracite chaud
   Accent       flamme rouge-rose -> orange (dégradé signature)
   Titres       sans-serif rond, très affirmé
   Lecture      sans-serif (plus de serif)
   Angles       généreusement arrondis, esprit application mobile
   Ombres       douces et colorées plutôt que des filets nets

   Aucune police ni ressource externe : uniquement la pile système.
   ===================================================================== */

:root {
  --paper:     #fffaf8;
  --paper-2:   #ffffff;
  --paper-3:   #fdeeea;

  --ink:       #241a1c;
  --ink-2:     #5c4a4d;
  --muted:     #948387;

  /* Accent « flamme » : rouge-rose vif vers orange, esprit Tinder. */
  --flame-1:   #fd3a69;
  --flame-2:   #ff6f4d;
  --plum:      #fd3a69;   /* alias conservé : c'est la couleur d'accent générale */
  --plum-2:    #e0295a;   /* variante plus soutenue, hover/active */
  --blush:     #ffe4e6;

  --gradient-flame: linear-gradient(135deg, var(--flame-1), var(--flame-2));

  --line:      rgba(36, 26, 28, 0.12);
  --line-soft: rgba(36, 26, 28, 0.07);

  --ok:        #1f9d63;
  --warn:      #c97a13;
  --error:     #e0294a;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px;  --s6: 32px;  --s7: 48px;  --s8: 64px;
  --s9: 96px;  --s10: 140px;

  /* Une seule pile sans-serif, ronde et amicale : plus de serif de lecture. */
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  --serif:   var(--display);
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --measure: 62ch;
  --ease:    cubic-bezier(0.2, 0.7, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(224, 41, 90, 0.08);
  --shadow-md: 0 10px 30px rgba(224, 41, 90, 0.14);
  --shadow-lg: 0 20px 50px rgba(224, 41, 90, 0.18);
}

/* Palette sombre : mêmes jetons, valeurs redéfinies. Le reste de la
   feuille de style ne référence que ces jetons, donc s'adapte seul. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:     #1c1416;
    --paper-2:   #241a1c;
    --paper-3:   #2e2124;

    --ink:       #fdf3f0;
    --ink-2:     #d8c3c5;
    --muted:     #9c8688;

    --blush:     #3a1f26;

    --line:      rgba(253, 243, 240, 0.14);
    --line-soft: rgba(253, 243, 240, 0.08);

    --ok:        #3ddb8a;
    --warn:      #e2a13f;
    --error:     #ff5470;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --paper:     #1c1416;
  --paper-2:   #241a1c;
  --paper-3:   #2e2124;

  --ink:       #fdf3f0;
  --ink-2:     #d8c3c5;
  --muted:     #9c8688;

  --blush:     #3a1f26;

  --line:      rgba(253, 243, 240, 0.14);
  --line-soft: rgba(253, 243, 240, 0.08);

  --ok:        #3ddb8a;
  --warn:      #e2a13f;
  --error:     #ff5470;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--plum-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flame-1); }

:focus-visible { outline: 2px solid var(--flame-1); outline-offset: 3px; border-radius: var(--r-xs); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: var(--s3) var(--s5); font-family: var(--display); font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* =====================================================================
   TYPOGRAPHIE
   ===================================================================== */

h1, h2, h3, .band-title, .statement {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 var(--s4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p { margin: 0 0 var(--s4); }

/* Etiquette : dégradé flamme, forme de pastille, point animé. */
.eyebrow, .band-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gradient-flame);
  padding: 6px var(--s4);
  border-radius: var(--r-pill);
  margin: 0 0 var(--s5);
}

.eyebrow::before, .band-note::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: var(--measure);
}

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

code, .mono {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--blush);
  color: var(--plum-2);
  padding: 2px 7px;
  border-radius: var(--r-xs);
  word-break: break-word;
}

.todo { font-family: var(--mono); font-size: 0.8em; color: var(--warn); border-bottom: 1px dotted var(--warn); }

/* =====================================================================
   STRUCTURE
   ===================================================================== */

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--s5); }

@media (min-width: 900px) { .container { padding-inline: var(--s7); } }

main { display: block; padding-bottom: var(--s9); }

section { padding-block: var(--s8); }

@media (min-width: 900px) { section { padding-block: var(--s9); } }

.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

/* =====================================================================
   EN-TETE
   ===================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(36, 26, 28, 0.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: 68px; flex-wrap: wrap;
  transition: min-height 0.25s var(--ease);
}

.site-header.is-scrolled .header-inner { min-height: 56px; }

.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.brand-logo { width: 30px; height: 30px; flex: 0 0 auto; transition: width 0.25s var(--ease), height 0.25s var(--ease), transform 0.4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.site-header.is-scrolled .brand-logo { width: 26px; height: 26px; }

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }

.site-nav a {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: var(--s2) var(--s4);
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-pill);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.site-nav a:hover { color: var(--ink); background: var(--paper-3); }
.site-nav a[aria-current="page"] { color: var(--plum-2); background: var(--blush); }

.nav-cta {
  margin-left: var(--s3);
  padding: var(--s2) var(--s5) !important;
  background: var(--gradient-flame);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover { filter: brightness(1.05); box-shadow: var(--shadow-md); }

/* Bascule clair/sombre : les deux icônes coexistent, une seule visible
   à la fois selon le thème actif. Par défaut (avant que le thème système
   ne soit connu côté CSS), l'icône lune (« passer en sombre ») est
   affichée ; l'icône soleil apparaît une fois le thème sombre actif. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper-2); color: var(--ink-2); cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.2s var(--ease);
}
.theme-toggle:hover { background: var(--paper-3); color: var(--ink); transform: rotate(-8deg); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  padding-block: var(--s9) var(--s8);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute; z-index: 0; top: -20%; right: -12%;
  width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  background: var(--gradient-flame);
  opacity: 0.16;
  border-radius: 50%;
  filter: blur(10px);
  animation: blob-float 9s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute; z-index: 0; bottom: -18%; left: -10%;
  width: 34vw; height: 34vw; max-width: 320px; max-height: 320px;
  background: var(--flame-2);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(10px);
  animation: blob-float 11s ease-in-out infinite reverse;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.06); }
}

.hero-art { animation: hero-float 5s ease-in-out infinite; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.2deg); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--s8);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
}

.statement {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 var(--s5);
}

.statement em { font-style: normal; background: var(--gradient-flame); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-lead { max-width: 46ch; font-size: 1.15rem; color: var(--ink-2); margin: 0 0 var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.hero-art { position: relative; z-index: 1; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* Bouton principal du hero : halo pulsant qui attire l'oeil. */
.hero-actions .btn:not(.btn-ghost) { position: relative; }

.hero-actions .btn:not(.btn-ghost)::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: var(--r-pill);
  background: var(--gradient-flame);
  animation: btn-pulse 2.4s ease-out infinite;
}

@keyframes btn-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

.scroll-hint {
  display: flex; align-items: center; gap: var(--s2);
  margin: var(--s7) 0 0;
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

.scroll-hint svg { width: 14px; height: 14px; animation: chevron-bounce 1.6s ease-in-out infinite; color: var(--plum-2); }

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* =====================================================================
   BANDES
   ===================================================================== */

.band { padding-block: var(--s9); border-top: 1px solid var(--line-soft); }

@media (min-width: 900px) { .band { padding-block: var(--s10); } }

.band-grid { display: grid; gap: var(--s6); grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .band-grid { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: var(--s8); }
  .band-head { position: sticky; top: 100px; align-self: start; }
}

.band-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 var(--s3); }

/* =====================================================================
   BOUTONS
   ===================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 15px var(--s6);
  border: 0;
  border-radius: var(--r-pill);
  background: var(--gradient-flame);
  color: #fff;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), filter 0.16s var(--ease);
}

.btn:hover { filter: brightness(1.05); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-ghost { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--paper-3); border-color: var(--line); box-shadow: none; }

.btn-block { width: 100%; }

.btn[disabled], .btn.is-disabled {
  background: var(--paper-3); color: var(--muted); box-shadow: none;
  cursor: not-allowed; pointer-events: none;
}

.replay {
  margin-top: var(--s4); padding: 8px var(--s4);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  color: var(--ink-2); font-family: var(--display); font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all 0.16s var(--ease);
}

.replay:hover { border-color: var(--plum); color: var(--plum-2); background: var(--blush); }

/* =====================================================================
   LISTES DE FAITS
   ===================================================================== */

.facts { margin: 0; padding: 0; list-style: none; }

.facts li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s4);
  padding: var(--s5) 0; border-top: 1px solid var(--line-soft);
  transition: transform 0.2s var(--ease);
}

.facts li:last-child { border-bottom: 1px solid var(--line-soft); }
.facts li:hover { transform: translateX(4px); }

.has-js .facts li[data-reveal]:nth-child(1) { animation-delay: 0.05s; }
.has-js .facts li[data-reveal]:nth-child(2) { animation-delay: 0.16s; }
.has-js .facts li[data-reveal]:nth-child(3) { animation-delay: 0.27s; }
.has-js .facts li[data-reveal]:nth-child(4) { animation-delay: 0.38s; }

.facts b {
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--plum-2); padding-top: 5px;
}

.facts h3 { margin: 0 0 var(--s1); }
.facts p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

@media (max-width: 560px) { .facts li { grid-template-columns: 1fr; gap: var(--s2); } }

/* =====================================================================
   CHIFFRES
   ===================================================================== */

.count-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin: 0 0 var(--s6); }

.count { border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-sm); padding: var(--s5); border-top: 4px solid var(--flame-1); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.count:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.has-js .count[data-reveal]:nth-child(1) { animation-delay: 0.05s; }
.has-js .count[data-reveal]:nth-child(2) { animation-delay: 0.18s; }

.count b {
  display: block; font-family: var(--display); font-size: clamp(2.4rem, 5.6vw, 3.6rem);
  font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink);
}

.count b span { font-size: 0.38em; color: var(--muted); }

.count p {
  margin: var(--s2) 0 0; font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

.count.is-full { border-top-color: var(--error); }
.count.is-full p { color: var(--error); }

/* Compteurs hérités des autres pages. */
.quota-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin: var(--s6) 0 0; }
.quota-card { border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-sm); padding: var(--s5); border-top: 4px solid var(--flame-1); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.quota-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quota-card.is-full { border-top-color: var(--error); }
.quota-label { margin: 0 0 var(--s2); font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.quota-value { margin: 0; font-family: var(--display); font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1; }
.quota-value span { font-size: 0.42em; color: var(--muted); font-weight: 600; }
.quota-hint, .quota-state { margin: var(--s2) 0 0; font-size: 0.88rem; color: var(--ink-2); }
.quota-state { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--plum-2); }
.quota-card.is-full .quota-state, .quota-card.is-full .quota-hint { color: var(--error); }

/* =====================================================================
   PORTRAIT ET CONVERSATION (démonstration « découverte progressive »)
   ===================================================================== */

.discovery { display: grid; gap: var(--s6); grid-template-columns: 1fr; align-items: start; }

@media (min-width: 860px) { .discovery { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: var(--s7); } }

.portrait {
  position: relative; width: 100%; max-width: 290px; aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: 32px; background: var(--paper-3); box-shadow: var(--shadow-lg);
  border: 6px solid var(--ink);
  animation: hero-float 6s ease-in-out infinite;
}

.portrait::before {
  content: "";
  position: absolute; z-index: 3; top: 10px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 6px; border-radius: var(--r-pill); background: var(--ink); opacity: 0.85;
}

.portrait-art { position: absolute; inset: 0; filter: blur(18px); transform: scale(1.06); transition: filter 1.2s var(--ease), transform 1.2s var(--ease); }
.portrait-svg { display: block; width: 100%; height: 100%; }

.portrait[data-step="1"] .portrait-art { filter: blur(18px); transform: scale(1.06); }
.portrait[data-step="2"] .portrait-art { filter: blur(9px);  transform: scale(1.04); }
.portrait[data-step="3"] .portrait-art { filter: blur(3px);  transform: scale(1.01); }
.portrait[data-step="4"] .portrait-art { filter: none;       transform: none; }

.portrait-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,26,28,0.15) 0%, transparent 34%, rgba(36,26,28,0.82) 100%); }
.portrait-meta { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s4); }
.portrait-name { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; color: #fff; margin: 0; }
.portrait-sub { margin: 2px 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.86); }

.portrait-progress { position: absolute; left: var(--s4); right: var(--s4); top: var(--s4); height: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,0.4); overflow: hidden; }
.portrait-progress i { display: block; height: 100%; width: 0; background: #fff; transition: width 1.1s var(--ease); }
.portrait[data-step="1"] .portrait-progress i { width: 10%; }
.portrait[data-step="2"] .portrait-progress i { width: 42%; }
.portrait[data-step="3"] .portrait-progress i { width: 72%; }
.portrait[data-step="4"] .portrait-progress i { width: 100%; }

.portrait-stage { position: absolute; top: calc(var(--s4) + 12px); left: var(--s4); margin: 0; font-family: var(--display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }

.chat { display: flex; flex-direction: column; gap: var(--s3); margin: 0; padding: 0; list-style: none; min-height: 190px; }

.chat li {
  max-width: 86%; padding: var(--s3) var(--s4);
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  font-size: 0.98rem; line-height: 1.55; color: var(--ink-2);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.chat li.is-shown { opacity: 1; transform: none; }
.chat li.them { align-self: flex-start; }
.chat li.me { align-self: flex-end; background: var(--gradient-flame); border-color: transparent; color: #fff; }

.discovery-legend {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-soft);
  font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}

.discovery-legend b { color: var(--plum-2); font-weight: 700; margin-right: var(--s2); }

.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s7); }
.stage-visual { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-md); background: var(--paper-3); margin-bottom: var(--s3); }
.stage-visual .portrait-svg { transition: filter 0.5s var(--ease); }
.stage:nth-child(1) .stage-visual .portrait-svg { filter: blur(8px); }
.stage:nth-child(2) .stage-visual .portrait-svg { filter: blur(3px); }
.stage:nth-child(3) .stage-visual .portrait-svg { filter: none; }
.stage-label { margin: 0; font-family: var(--display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--plum-2); }
.stage-text { margin: var(--s1) 0 0; font-size: 0.86rem; color: var(--muted); }

/* =====================================================================
   BLOCS ET CARTES
   ===================================================================== */

.grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }

@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); align-items: start; padding: var(--s4); border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--blush); color: var(--plum-2); transition: transform 0.2s var(--ease); }
.feature:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }
.feature-icon svg { width: 20px; height: 20px; display: block; }
.feature h3 { margin: 0 0 var(--s1); }
.feature p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

.card { background: var(--paper-2); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(var(--s5), 4vw, var(--s7)); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.card + .card { margin-top: var(--s5); }
.card:hover { box-shadow: var(--shadow-md); }

.admin-table tbody tr { transition: background-color 0.15s var(--ease); }
.admin-table tbody tr:hover { background: var(--paper-3); }

.step-index { display: inline-block; font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--plum-2); margin-bottom: var(--s3); }

.values { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-soft); }
.value { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.value svg { width: 16px; height: 16px; color: var(--plum-2); flex: 0 0 auto; }

.store-note { margin-top: var(--s7); }
.store-badge { display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-radius: var(--r-pill); background: var(--paper-2); box-shadow: var(--shadow-sm); font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.store-badge svg { width: 17px; height: 17px; color: var(--plum-2); }

.badge { display: inline-flex; align-items: center; gap: var(--s2); padding: 4px var(--s3); border-radius: var(--r-pill); background: var(--paper-3); font-family: var(--display); font-size: 0.7rem; font-weight: 600; color: var(--ink-2); }

/* =====================================================================
   FORMULAIRES
   ===================================================================== */

/* =====================================================================
   SCENE DE CONNEXION : Cupidon
   Reprend la métaphore centrale de Clarity (le flou se précise) sous
   forme d'interaction : la connexion reste dans le flou tant que la
   flèche n'a pas touché le coeur. Entièrement dégradé sans JavaScript :
   la mise en scène ne s'applique que sous .has-js, jamais sans lui.
   ===================================================================== */

.login-scene {
  position: relative;
  background: #0f0a0b;
  border-radius: var(--r-lg);
  padding: var(--s7) var(--s5) var(--s7);
  margin: var(--s6) 0;
  overflow: clip;
  display: grid;
  gap: var(--s3);
  justify-items: center;
  text-align: center;
}

.cupid-row { display: flex; align-items: center; justify-content: center; gap: var(--s6); }

.cupid-figure { width: 108px; flex: 0 0 auto; cursor: pointer; border: 0; background: none; padding: 0; }
.cupid-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.cupid-figure:focus-visible { outline: 2px solid var(--flame-1); outline-offset: 6px; border-radius: var(--r-sm); }

/* Cible : la vraie icône de l'application, en médaillon. */
.cupid-target {
  position: relative; flex: 0 0 auto; width: 96px; height: 96px;
  border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease);
}
.cupid-target img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cupid-target::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 3px solid var(--flame-1); opacity: 0; transform: scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.login-scene.is-lit .cupid-target::after { opacity: 1; transform: scale(1); }
.cupid-target.is-hit { animation: cupid-hit-pulse 0.5s var(--ease); }

@keyframes cupid-hit-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.16); }
  100% { transform: scale(1); }
}

/* Arc : incliné selon la position du curseur (classes discrètes, jamais
   de style en ligne), pour donner l'impression de viser. */
.cupid-aim { transform-origin: 52px 100px; transition: transform 0.18s var(--ease); }
.cupid-aim.aim-up { transform: rotate(-9deg); }
.cupid-aim.aim-down { transform: rotate(9deg); }
.cupid-bow { stroke: #6a5a5d; }
.cupid-string { stroke: #8a7a7d; }
.cupid-arrow { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1); }
.cupid-arrow.is-hit { opacity: 0; transition: opacity 0.15s var(--ease); }
.cupid-arrow-shaft { stroke: #8a6a4d; }
.cupid-arrow-head { fill: #6a5a5d; }
.cupid-arrow-fletch { stroke: var(--flame-1); }

.cupid-figure:hover .cupid-arrow:not(.is-flying) { transform: translateX(6px); }

/* Tir : la flèche parcourt la scène jusqu'à la cible. */
.cupid-arrow.is-flying { transform: translateX(150px); }

.login-hint {
  font-family: var(--display); font-size: 0.82rem; color: #cbb9bb;
  margin: 0; transition: opacity 0.5s var(--ease);
}
.login-hint b { color: #fff; }
.login-scene.is-lit .login-hint { opacity: 0; height: 0; overflow: hidden; margin: 0; }

.login-reveal { transition: opacity 0.9s var(--ease), filter 0.9s var(--ease); }

/* Le fond de la scène reste toujours sombre, indépendamment du thème
   clair/sombre choisi pour le reste du site : le texte qui n'est pas
   dans la carte doit donc rester clair dans les deux cas. */
.login-reveal > h1,
.login-reveal > .lead { color: #fdf3f0; }
.login-reveal > p.small.muted { color: #a89194; }
.login-reveal > p.small.muted a { color: #ffb4c4; }

.has-js .login-scene:not(.is-lit) .login-reveal {
  opacity: 0.05;
  filter: blur(6px) grayscale(1);
  pointer-events: none;
}

.login-scene.is-lit .login-reveal {
  opacity: 1;
  filter: blur(0) grayscale(0);
  pointer-events: auto;
}

/* Mascotte de l'espace participant : les yeux se ferment pendant la
   saisie du mot de passe, comme une pudeur amusée. */
.mascot { width: 108px; margin: 0 auto var(--s5); display: block; filter: drop-shadow(var(--shadow-md)); }
.mascot svg { display: block; width: 100%; height: auto; }

.mascot-eyes-shy { opacity: 0; transition: opacity 0.2s var(--ease); }
.mascot-eyes-open { opacity: 1; transition: opacity 0.2s var(--ease); }
.mascot-mouth-shy { opacity: 0; transition: opacity 0.2s var(--ease); }
.mascot-mouth-open { opacity: 1; transition: opacity 0.2s var(--ease); }
.mascot-pupil { transition: transform 0.15s var(--ease); transform-origin: center; }

.mascot.is-shy .mascot-eyes-open { opacity: 0; }
.mascot.is-shy .mascot-eyes-shy { opacity: 1; }
.mascot.is-shy .mascot-mouth-open { opacity: 0; }
.mascot.is-shy .mascot-mouth-shy { opacity: 1; }

/* Champ mot de passe avec bouton "afficher". */
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle {
  position: absolute; top: 34px; right: 4px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: var(--r-pill); color: var(--muted); cursor: pointer;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.password-toggle:hover { color: var(--plum-2); background: var(--blush); }
.password-toggle svg { width: 18px; height: 18px; display: block; }
.password-toggle .icon-eye-off { display: none; }
.password-field.is-visible .password-toggle .icon-eye { display: none; }
.password-field.is-visible .password-toggle .icon-eye-off { display: block; }

.form-page { max-width: 640px; margin: 0 auto; padding-top: var(--s8); }
.field { margin-bottom: var(--s5); }

.field label, .fieldset-legend {
  display: block; margin-bottom: var(--s2);
  font-family: var(--display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: -0.005em; color: var(--ink);
}

.field-hint { display: block; margin: 0 0 var(--s3); font-size: 0.88rem; line-height: 1.55; color: var(--muted); font-weight: 400; font-family: var(--display); }

input[type="text"], input[type="email"], input[type="date"],
input[type="password"], textarea, select {
  width: 100%; padding: 13px var(--s4);
  background: var(--paper-2); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink);
  font-family: var(--display); font-size: 1.02rem;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}

select { width: auto; font-family: var(--display); font-size: 0.95rem; }
textarea { resize: vertical; line-height: 1.65; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:hover, textarea:hover, select:hover { border-color: var(--plum); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px var(--blush); }
input[aria-invalid="true"] { border-color: var(--error); }

fieldset { border: 0; margin: 0 0 var(--s5); padding: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }

@media (min-width: 560px) { .choice-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.choice span {
  display: flex; align-items: center; justify-content: center;
  padding: 15px var(--s3); border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper-2);
  font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all 0.15s var(--ease);
}

.choice input:checked + span { background: var(--gradient-flame); border-color: transparent; color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--flame-1); outline-offset: 2px; }
.choice input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.choice-note { display: block; margin-top: var(--s2); font-size: 0.82rem; color: var(--muted); }

.check { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s4); font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.check input[type="checkbox"], .check input[type="radio"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--plum); cursor: pointer; }
.check label { cursor: pointer; padding-block: 2px; }

.field-error { display: block; margin-top: var(--s2); font-size: 0.88rem; color: var(--error); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-footer { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }

/* =====================================================================
   MESSAGES
   ===================================================================== */

.alert {
  padding: var(--s4) var(--s5); margin: 0 0 var(--s5);
  background: var(--paper-2); border-radius: var(--r-md); border-left: 5px solid var(--flame-1);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem; color: var(--ink-2);
}

.alert h2, .alert h3 { margin-bottom: var(--s2); font-size: 1.05rem; color: var(--ink); }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin: 0 0 var(--s3); padding-left: 1.1em; }
.alert-error { border-left-color: var(--error); }
.alert-success { border-left-color: var(--ok); }
.alert-warn { border-left-color: var(--warn); }
.alert-info { border-left-color: var(--plum); }

/* =====================================================================
   PAGES D'ETAT
   ===================================================================== */

.status-page { max-width: 640px; margin: 0 auto; padding-block: var(--s8); }
.status-icon { width: 48px; height: 48px; margin: 0 0 var(--s5); border-radius: var(--r-pill); background: var(--gradient-flame); display: grid; place-items: center; font-size: 1.15rem; color: #fff; }
.status-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* =====================================================================
   TEXTE LONG
   ===================================================================== */

.prose { max-width: var(--measure); padding-top: var(--s8); }
.prose h2 { margin-top: var(--s8); }
.prose h3 { margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--plum-2); }

.prose table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s5); font-size: 0.92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--s3); border-bottom: 1px solid var(--line-soft); }
.prose th { font-family: var(--display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--plum-2); white-space: nowrap; }

.table-scroll { overflow-x: auto; }

.toc { padding: var(--s5); border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-sm); margin-bottom: var(--s7); }
.toc ol { margin: 0; padding-left: 1.15em; columns: 2; column-gap: var(--s6); }
.toc li { margin-bottom: var(--s2); font-size: 0.9rem; break-inside: avoid; }

@media (max-width: 640px) { .toc ol { columns: 1; } }

.meta-line { font-family: var(--display); font-size: 0.78rem; line-height: 1.8; color: var(--muted); margin-bottom: var(--s7); }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--s7) 0; }

/* =====================================================================
   QUESTIONS FREQUENTES
   ===================================================================== */

.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-of-type { border-top: 1px solid var(--line-soft); }

.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: var(--s4) var(--s6) var(--s4) 0;
  font-family: var(--display); font-size: 1rem; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--plum-2); }

.faq summary::after {
  content: ""; position: absolute; right: var(--s2); top: 50%;
  width: 11px; height: 2px; border-radius: var(--r-pill); background: var(--plum-2);
  transition: transform 0.2s var(--ease);
}

.faq summary::before {
  content: ""; position: absolute; right: calc(var(--s2) + 4.5px); top: 50%;
  width: 2px; height: 11px; margin-top: -5px; border-radius: var(--r-pill); background: var(--plum-2);
  transition: opacity 0.2s var(--ease);
}

.faq details[open] summary::before { opacity: 0; }
.faq details p { margin: 0 0 var(--s5); padding-right: var(--s6); font-size: 0.98rem; color: var(--ink-2); }

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */

.site-footer { border-top: 1px solid var(--line); padding-block: var(--s7) var(--s8); font-size: 0.9rem; color: var(--muted); }
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-tagline { margin: var(--s2) 0 0; font-family: var(--display); font-size: 1.02rem; color: var(--ink-2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin: var(--s6) 0 var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line-soft); }
.footer-nav a { font-family: var(--display); font-weight: 600; color: var(--ink-2); text-decoration: none; font-size: 0.88rem; }
.footer-nav a:hover { color: var(--plum-2); }
.footer-legal { margin: 0; line-height: 1.8; font-size: 0.84rem; }

/* =====================================================================
   UTILITAIRES (tableaux et espacements du panel admin / espace participant)

   Remplacent les attributs style="..." qui étaient écrits en dur dans ces
   pages : la politique de sécurité du site interdit les styles en ligne.
   ===================================================================== */

.u-m0  { margin: 0 !important; }
.u-mb0 { margin-bottom: 0 !important; }
.u-mb1 { margin-bottom: var(--s1) !important; }
.u-mb2 { margin-bottom: var(--s2) !important; }
.u-mb4 { margin-bottom: var(--s4) !important; }
.u-mt3 { margin-top: var(--s3) !important; }
.u-mt4 { margin-top: var(--s4) !important; }
.u-mt5 { margin-top: var(--s5) !important; }
.u-mt6 { margin-top: var(--s6) !important; }
.u-mt7 { margin-top: var(--s7) !important; }
.u-pt0 { padding-top: 0 !important; }
.u-left { text-align: left !important; }
.u-title-sm { font-size: 1.15rem !important; }
.u-pre { white-space: pre-wrap; }
.u-text-error { color: var(--error) !important; }
.u-text-warn  { color: var(--warn) !important; }
.is-hidden { display: none !important; }

.stack-sm { display: grid; gap: var(--s3); }
.list-tight { padding-left: 1.2em; margin-bottom: 0; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-td { text-align: left; padding: var(--s3); border-bottom: 1px solid var(--line-soft); }
.admin-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.actions-row { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: flex-end; }

.section-heading { margin-top: var(--s9); font-size: 1.25rem; }
.section-heading-tight { margin-top: var(--s7); font-size: 1.25rem; }

/* Panel admin / espace participant : structure de page et petits composants */
.container-top { padding-top: 40px; }
.form-page-sm { padding-top: 60px; max-width: 460px; }
.card-narrow { max-width: 560px; }

.h1-sm   { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.h1-md   { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.h1-dash { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.h2-card { font-size: 1.35rem; }

.challenge-code {
  font-family: var(--mono); font-size: 2.2rem; letter-spacing: 0.5em;
  color: var(--plum-2); margin: 0 0 var(--s6); padding-left: 0.5em;
}

.row-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s4); flex-wrap: wrap;
}
.row-header-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--s4); flex-wrap: wrap;
}
.row-between-baseline {
  display: flex; justify-content: space-between; gap: var(--s4);
  flex-wrap: wrap; align-items: baseline;
}

.summary-link { cursor: pointer; color: var(--plum-2); }

.reply-box {
  margin: var(--s5) 0; padding: var(--s4); border-left: 2px solid var(--plum);
  background: var(--blush); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.feedback-title {
  margin: 0 0 var(--s2); text-transform: none; letter-spacing: 0;
  font-size: 1.08rem; color: var(--ink);
}
.pending-name {
  margin-bottom: var(--s2); letter-spacing: 0.04em; text-transform: none; font-size: 1.1rem;
}

.feedback-status { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.status-plum  { color: var(--plum); }
.status-ink2  { color: var(--ink-2); }
.status-warn  { color: var(--warn); }
.status-ok    { color: var(--ok); }
.status-muted { color: var(--muted); }

/* Pastilles d'état : encodent le statut par la forme, pas seulement la
   couleur, pour rester lisibles au premier coup d'oeil dans le panel. */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.03em; white-space: nowrap;
}

.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.pill-plum  { background: var(--blush); color: var(--plum-2); }
.pill-ok    { background: #e3f6ec; color: var(--ok); }
.pill-warn  { background: #fdf1de; color: var(--warn); }
.pill-error { background: #fde5e9; color: var(--error); }
.pill-muted { background: var(--paper-3); color: var(--muted); }

/* Badge de comptage à côté des titres de section. */
.count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.6em; padding: 2px 8px; margin-left: 6px;
  border-radius: var(--r-pill); background: var(--paper-3); color: var(--ink-2);
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  font-variant-numeric: tabular-nums; vertical-align: middle;
}

.count-badge.has-items { background: var(--gradient-flame); color: #fff; }

/* Petit graphique en barres : candidatures reçues par jour. */
.spark-chart { display: block; width: 100%; height: 64px; margin: var(--s2) 0 0; }
.spark-bar { fill: var(--paper-3); transition: fill 0.15s var(--ease); }
.spark-bar.has-data { fill: var(--flame-1); }
.spark-bar:hover { fill: var(--plum-2); }

.admin-toolbar { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s5); }

.search-box {
  display: flex; gap: var(--s2); align-items: center; margin: var(--s7) 0 var(--s4);
}
.search-box input[type="search"] { max-width: 320px; }

/* =====================================================================
   MOUVEMENT
   ===================================================================== */

.has-js [data-reveal] { opacity: 0; transform: translateY(16px); }
.has-js [data-reveal].is-revealed { animation: rise 0.7s var(--ease) forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.has-js .hero-inner > * { animation: rise 0.8s var(--ease) both; }
.has-js .hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.has-js .hero-inner > *:nth-child(2) { animation-delay: 0.18s; }

@media (max-width: 560px) {
  .site-nav a { font-size: 0.82rem; }
  .nav-cta { margin-left: 0; }
  .quota-grid, .count-row, .choice-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: var(--s2); }
  .chat li { max-width: 100%; }
  .statement { font-size: clamp(2.2rem, 10vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .has-js [data-reveal], .has-js .hero-inner > * { opacity: 1 !important; transform: none !important; }
  .chat li { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-actions { display: none; }
  body { background: #fff; color: #000; }
  .has-js [data-reveal] { opacity: 1; transform: none; }
}
