/*
Theme Name: Ayooka
Theme URI: http://intside.com/themes/ayooka/
Author: Intside
Author URI: http://intside.com/
Description: Ayooka — Système d'information et de gestion digitalisée des services de transfusion sanguine. Thème Bootstrap, inline-block, rem, mobile-first.
Version: 1.0
Text Domain: ayooka
Tags: bootstrap, healthcare, one-column, responsive-layout, custom-menu, featured-images, translation-ready
*/

/**
 * Table of Contents:
 *
 * 1.0 - Basic Structure
 * 2.0 - Media Queries
 * ----------------------------------------------------------------------------
 */


html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ── Design tokens ────────────────────────────────────────── */
:root {
  /* Accent — Vital Red */
  --primary: #be0316;
  --red-600: #991b1b;
  --red-400: #e8041e;
  --red-tint: #fef2f2;
  /* Neutrals */
  --ink-0: #ffffff;
  --ink-50: #f7f7f7;
  --ink-100: #f1f1f1;
  --ink-150: #e9e9e9;
  --ink-200: #e5e5e5;
  --ink-300: #d4d4d4;
  --ink-400: #a3a3a3;
  --ink-500: #737373;
  --ink-600: #525252;
  --ink-700: #404040;
  --ink-800: #262626;
  --ink-900: #1a1a1a;
  --ink-950: #0a0a0a;
  /* Data viz */
  --viz-green: #059669;
  --viz-orange: #ea580c;
  --viz-blue: #2563eb;
  --viz-purple: #9333ea;
  /* Radius */
  --r-sm: 0.25rem;
  --r-md: 0.375rem;
  --r-lg: 0.5rem;
  --r-xl: 0.75rem;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 48px 96px -24px rgba(0, 0, 0, 0.32), 0 16px 32px -8px rgba(0, 0, 0, 0.12);
  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  /* Spacing (design: 4→8→12→16→24→32→48→64→96→128 px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  /* Semantic tokens */
  --bg-body: var(--ink-0);
  --bg-elevated: var(--ink-50);
  --text-main: var(--ink-950);
  --text-muted: var(--ink-600);
  --text-subtle: var(--ink-400);
  --border-color: var(--ink-200);
  --border-strong: var(--ink-300);
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  background: none;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style-type: none;
}

/* ── Typographie ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: -0.035em;
}

h2, .h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

h3, .h3 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.h1 {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.035em;
}

h1 strong,
.h1 strong,
h2 strong {
  font-weight: inherit;
  color: var(--primary);
}

.h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--text-main);
}

.h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--text-main);
}

.content-title-h2,
.section-head {
  margin-bottom: var(--space-5);
}

.content-desc {
  margin-top: var(--space-3);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-muted);
}


/* ── Skip link / Screen reader ────────────────────────────── */
.skip-to-main-content-link,
.screen-reader-text {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.skip-to-main-content-link:focus {
  background: var(--primary);
  position: fixed;
  z-index: 9999;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  margin: 0;
  overflow: visible;
  color: var(--ink-0);
  clip: auto;
}

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375;
  padding: 0.75rem 1.625rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

/* Override complet des états Bootstrap */
.btn, .btn:hover, .btn:focus,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn:focus-visible {
  border-width: 1px;
  border-style: solid;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus,
:not(.btn-check)+.btn:active.btn-primary,
.btn:first-child:active.btn-primary,
.btn:focus-visible.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-600);
  border-color: var(--red-600);
}

.btn-primary:active {
  transform: translateY(0.5px);
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:focus,
:not(.btn-check)+.btn:active.btn-secondary,
.btn:first-child:active.btn-secondary,
.btn:focus-visible.btn-secondary {
  background: var(--bg-body);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--ink-50);
  border-color: var(--ink-400);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-main);
}

.btn-ghost:hover,
.btn-white:hover {
  background: var(--ink-100);
}

/* Bouton sur section sombre */
.section-dark .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink-0);
}

.section-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-muted {
  opacity: 0.7;
}

/* Icône dans bouton */
.btn svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.0625rem;
  height: 1.0625rem;
  margin-left: 0.625rem;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Espacement boutons cote a cote */
.btn-group-inline .btn {
  display: block;
  width: 100%;
  margin: 0 0 0.625rem;
}


/* ── Chips / Tags ──────────────────────────────────────────── */
.chip {
  background: var(--red-tint);
  display: inline-block;
  vertical-align: middle;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(190, 3, 22, 0.18);
  border-radius: 999px;
  color: var(--primary);
}

.chip-soon {
  background: var(--red-tint);
  font-size: 0.5625rem;
  padding: 0.125rem 0.4375rem;
  margin-left: 0.5rem;
  border-color: rgba(190, 3, 22, 0.15);
  color: var(--primary);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card-ayooka {
  background: var(--bg-body);
  padding: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.card-ayooka:hover,
.deploy-card:hover {
  box-shadow: var(--shadow-md);
}


.tile-dark {
  background: var(--ink-900);
  height: 100%;
  padding: var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-xl);
  color: var(--ink-0);
}

.tile-dark-val {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-0);
}

.tile-dark-lbl {
  font-size: 0.8125rem;
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
}

.tile-dark .h4 {
  font-size: 0.9375rem;
  color: var(--ink-0);
}

.tile-dark p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
}

.tile-dark-sub {
  font-size: 0.75rem;
  margin-top: var(--space-1);
  color: rgba(255, 255, 255, 0.45);
}

/* ── Section head ──────────────────────────────────────────── */
.section-head .chip {
  margin-bottom: var(--space-3);
}

.section-head > .chip {
  background: var(--red-tint);
  border-color: rgba(190, 3, 22, 0.18);
  color: var(--primary);
}

.section-dark .section-head > .chip,
.section-dark > .container .chip {
  background: rgba(190, 3, 22, 0.15);
  border-color: rgba(190, 3, 22, 0.28);
  color: var(--red-400);
}

.section-head .content-desc {
  margin-top: var(--space-3);
}



/* ── Navigation (fixed — glassmorphism — Bootstrap offcanvas) ── */
nav {
  background: rgba(255, 255, 255, 0.88);
  z-index: 1046;
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  transition: box-shadow 0.3s;
}

.logo img {
  max-width: 7.5rem;
  max-height: 1.75rem;
  width: auto;
  height: auto;
}

/* ── Hamburger 3 spans (bootstrap.md §8B) ── */
nav .navbar-toggler {
  background: none;
  padding: 0.5rem;
  border: none;
}

nav .navbar-toggler:focus {
  box-shadow: none;
}

nav .navbar-toggler span {
  background-color: var(--primary);
  display: block;
  width: 1.375rem;
  height: 0.125rem;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

nav .navbar-toggler span + span {
  margin-top: 0.3125rem;
}

nav .navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav .navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

nav .navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Offcanvas mobile ── */
nav .offcanvas {
  background: #fff;
}

nav .offcanvas-header .btn-close {
  font-size: 0.875rem;
}

nav .offcanvas-body {
  padding: 0 2rem 2rem;
}

nav .navbar-collapse .navbar-nav .menu-item a {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

nav .navbar-collapse .navbar-nav .menu-item a:hover {
  color: var(--text-main);
}

nav .navbar-collapse .navbar-nav .menu-item a.is-active {
  color: var(--primary);
}

nav .navbar-collapse .navbar-cta {
  text-align: center;
  padding: 1.125rem 0 0;
}

nav .navbar-collapse .navbar-cta .nav-lang {
  margin-bottom: var(--space-3);
}

nav .navbar-collapse .navbar-cta .btn {
  display: block;
  text-align: center;
  width: 100%;
}

/* ── Language toggle ── */
.nav-lang {
  background: var(--bg-body);
  display: inline-block;
  vertical-align: middle;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 2.375rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-main);
  transition: background 0.2s, border-color 0.2s;
}

.nav-lang:hover {
  background: var(--ink-100);
  border-color: var(--ink-200);
}

.nav-lang .nav-lang-icon {
  font-size: 0.875rem;
}

.nav-lang .nav-lang-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-left: 0.375rem;
}

/* ── Desktop (≥ 1200px) ── */


/* ── Hero ──────────────────────────────────────────────────── */
.hero-dark {
  background: var(--ink-950);
  position: relative;
  padding: 3.5rem 0 var(--space-9);
  color: var(--ink-0);
}

.hero-dark h1,
.hero-dark .h1 {
  text-align: center;
  color: var(--ink-0);
}

.hero-dark .content-desc {
  text-align: center;
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.6);
}

.hero-dark .btn-group-inline {
  text-align: center;
  margin-top: var(--space-6);
}

/* Background patterns */
.bg-grid-dark {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.glow-red {
  background: radial-gradient(circle, rgba(190, 3, 22, 0.25), transparent 65%);
  position: absolute;
  top: -12.5rem;
  left: 50%;
  z-index: 0;
  width: 37.5rem;
  height: 37.5rem;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  transform: translateX(-50%);
}

/* Hero marquee stats */
.hero-marquee {
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  padding: 2rem 2.5rem;
  margin-top: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
}

.hero-stat {
  text-align: center;
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-0);
}

.hero-stat-lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}


/* Page hero (sub-pages) */
.page-hero {
  position: relative;
  padding-top: var(--space-9);
}


.page-hero h1,
.page-hero .h1 {
  margin-top: var(--space-4);
}

.page-hero .content-desc {
  margin-top: 1.25rem;
}

.page-hero .btn-group-inline {
  margin-top: 1.75rem;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.trust {
  background: var(--bg-body);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--text-subtle);
}

.partners-slick {
  margin: 0 -1.25rem;
}

.partners-slick .slick-slide {
  padding: 0 1.25rem;
}

/* Slick dots (shared) */
.partners-slick .slick-dots,
.testimonials-slick .slick-dots {
  position: relative;
  bottom: 0;
  margin-top: var(--space-5);
}

.partners-slick .slick-dots li,
.testimonials-slick .slick-dots li {
  width: 0.5rem;
  height: 0.5rem;
}

.partners-slick .slick-dots li button:before,
.testimonials-slick .slick-dots li button:before {
  content: "";
  background: var(--border-color);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  opacity: 1;
}

.partners-slick .slick-dots li.slick-active button:before,
.testimonials-slick .slick-dots li.slick-active button:before {
  background: var(--primary);
}

.partners-slick.slick-dotted.slick-slider,
.testimonials-slick.slick-dotted.slick-slider {
  margin-bottom: 0;
}

/* ── Testimonials Slick ───────────────────────────────────── */
.testimonials-slick {
  margin: 0 -0.75rem;
}

.testimonials-slick .slick-slide {
  padding: 0 0.75rem;
}

.slick-slide > div,
.slick-slide > div > div {
  height: 100%;
}

.testimonials-slick .testi {
  margin-bottom: 0;
}

.partner-img {
  text-align: center;
}

.partner-img img {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  max-width: 11.25rem;
  max-height: 2.25rem;
  width: auto;
  height: auto;
  opacity: 0.6;
  filter: grayscale(30%);
  transition: opacity 0.2s, filter 0.2s;
}

.partner-img img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Problem / Narrative ───────────────────────────────────── */
.problem-narrative {
  max-width: 55rem;
  margin: 0 auto;
}

.narrative-step {
  margin-bottom: var(--space-4);
}

.narrative-time {
  display: inline-block;
  vertical-align: top;
  font-size: 0.875rem;
  width: 5rem;
  padding-top: 1.75rem;
  color: var(--text-subtle);
}

.narrative-card {
  background: var(--bg-body);
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 6.5rem);
  padding: 1.5rem 1.75rem;
  cursor: default;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  color: var(--text-main);
}

.narrative-card.card-active,
.audience-card.card-active {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: var(--ink-0);
}

.narrative-card.card-active .h4,
.audience-card.card-active .h4,
.audience-card.card-active h2 {
  color: var(--ink-0);
}

.narrative-card.card-active p {
  color: rgba(255, 255, 255, 0.7);
}

.audience-card.card-active .audience-role {
  color: rgba(255, 255, 255, 0.6);
}

.narrative-card.card-active .narrative-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--red-400);
}

.audience-card.card-active .audience-num,
.audience-card.card-active .audience-cta {
  color: var(--red-400);
}

.audience-card.card-active .audience-list li {
  color: rgba(255, 255, 255, 0.8);
}

.audience-card.card-active .audience-list li::before {
  background: var(--red-400);
}

.narrative-card > * {
  margin-bottom: 0.625rem;
}

.narrative-card > *:last-child {
  margin-bottom: 0;
}


.narrative-tag {
  background: var(--ink-100);
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.3s, color 0.3s;
}

/* ── Audience / Solution grid ──────────────────────────────── */
.audience-card {
  background-color: var(--bg-body);
  position: relative;
  display: block;
  width: auto;
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  color: var(--text-main);
}

.audience-num {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.audience-role {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--text-muted);
}

.audience-card h2 {
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
}


.audience-list {
  margin-bottom: var(--space-4);
}

.audience-list li {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.5;
  padding-left: 1.125rem;
  margin-bottom: var(--space-2);
  color: var(--text-muted);
}

.audience-list li::before {
  content: "";
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.5625rem;
  width: 0.5rem;
  height: 1px;
}

.audience-cta {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: auto;
  color: var(--primary);
}

/* ── Showcase (Dashboard demo) ─────────────────────────────── */
/* Mobile */
.showcase-shell {
  background: var(--ink-900);
  margin-top: var(--space-5);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem -0.5rem rgba(0, 0, 0, 0.3);
}

.showcase-tabs {
  background: var(--ink-950);
  white-space: nowrap;
  padding: 0 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.showcase-tabs::-webkit-scrollbar,
.showcase-frame::-webkit-scrollbar {
  display: none;
}

.showcase-tab {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.625rem 0.75rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s, border-color 0.15s;
}

.showcase-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.showcase-tab.is-active {
  border-bottom-color: var(--primary);
  color: var(--ink-0);
}

.showcase-frame {
  background: var(--bg-body);
  min-height: 20rem;
  overflow-x: auto;
  color: var(--text-main);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.showcase-meta {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.showcase-meta-item {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  margin: 0.5rem 0.75rem;
}

.showcase-meta-item span {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.showcase-meta-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-0);
}

/* Desktop */


/* Dashboard interior — mobile-first responsive */
.dash {
  position: relative;
}

.dash-sidebar {
  display: none;
}

.dash-main {
  display: block;
  padding: 1rem;
}


.dash-main > * {
  margin-bottom: 1.25rem;
}

.dash-main > *:last-child {
  margin-bottom: 0;
}

.dash-sb-section {
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.75rem 0.75rem 0.375rem;
  color: var(--text-subtle);
}

.dash-sb-item {
  display: block;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  cursor: default;
  border-radius: 0.375rem;
  color: var(--text-muted);
}

.dash-sb-item svg {
  display: inline-block;
  vertical-align: middle;
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.625rem;
}

.dash-sb-item.active {
  background: var(--primary);
  color: var(--ink-0);
}

.dash-sb-item:not(.active):hover {
  background: var(--ink-100);
  color: var(--text-main);
}

.dash-sb-item .ct {
  background: var(--red-tint);
  float: right;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.0625rem 0.375rem;
  border-radius: 999px;
  color: var(--primary);
}

.dash-sb-item.active .ct {
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink-0);
}

.dash-toolbar {
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.dash-toolbar > div:first-child {
  margin-bottom: var(--space-2);
}

.dash-toolbar .dash-tb-actions {
  margin-bottom: 0;
}


.dash-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.dash-sub {
  font-size: 0.75rem;
  margin-top: 0.125rem;
  color: var(--text-muted);
}


.dash-pill {
  background: var(--bg-body);
  display: inline-block;
  vertical-align: middle;
  line-height: 1.875rem;
  font-size: 0.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-muted);
}

.dash-tb-actions .dash-pill {
  margin-left: 0.5rem;
}

.dash-pill-primary,
.dash-tb-actions .dash-pill-primary,
.transfer-row .dash-pill-primary {
  background: var(--primary);
  font-weight: 600;
  border-color: var(--primary);
  color: var(--ink-0);
}

.dash-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dash-kpis > * {
  flex: 0 0 calc(50% - 0.375rem);
}


.dash-kpi {
  background: var(--bg-body);
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.dash-kpi-lbl {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.dash-kpi-val {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: var(--space-1);
}


.dash-kpi-delta {
  font-size: 0.75rem;
  margin-top: var(--space-1);
  color: var(--viz-green);
}

.dash-kpi-delta.down {
  color: var(--primary);
}

/* Dash tables */
.dash-table {
  font-size: 0.75rem;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  border-spacing: 0;
}

.dash-table table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
}


.dash-tag {
  background: var(--ink-100);
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--text-muted);
}

.dash-tag.crit {
  background: var(--red-tint);
  color: var(--primary);
}

.dash-tag.warn {
  background: rgba(234, 88, 12, 0.08);
  color: var(--viz-orange);
}

.dash-tag.ok {
  background: rgba(5, 150, 105, 0.08);
  color: var(--viz-green);
}

.dash-tag.info {
  background: rgba(37, 99, 235, 0.08);
  color: var(--viz-blue);
}

/* Stock matrix */
.stock-matrix {
  font-size: 0;
}

.stock-matrix > * {
  display: inline-block;
  vertical-align: top;
  font-size: 1rem;
  width: calc(50% - 0.3125rem);
  margin-right: 0.625rem;
  margin-bottom: 0.625rem;
}

.stock-matrix > *:nth-child(2n) {
  margin-right: 0;
}


.stock-cell {
  background: var(--bg-body);
  position: relative;
  padding: 0.625rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}


.stock-cell > * {
  margin-bottom: 0.375rem;
}

.stock-cell > *:last-child {
  margin-bottom: 0;
}

.stock-cell.crit {
  background: var(--red-tint);
  border-color: rgba(190, 3, 22, 0.3);
}

.stock-cell-grp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stock-cell-val {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}


.stock-cell-bar {
  background: var(--ink-150);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
}

.stock-cell-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.stock-cell-status {
  font-size: 0.6875rem;
  overflow: hidden;
  color: var(--text-muted);
}

.stock-cell-status span:first-child {
  float: left;
}

.stock-cell-status span:last-child {
  float: right;
}

/* Dashboard card */
.dash-card {
  background: var(--bg-body);
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}


.dash-card-flush {
  padding: 0;
  overflow: hidden;
}

.dash-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.dash-card-subtitle {
  float: right;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-subtle);
}

.dash-pill svg {
  display: inline-block;
  vertical-align: middle;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
}

.dash-table thead th {
  background: var(--ink-50);
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-subtle);
}

.dash-table tbody td {
  vertical-align: middle;
  font-size: 0.8125rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dash-table tbody tr:last-child td {
  border-bottom: none;
}

.dash-table tbody tr:hover {
  background: var(--ink-50);
}

/* Stock bar colors */
.stock-bar-crit span {
  background: var(--primary);
}


/* Transfer map */
.transfer-map {
  background: linear-gradient(180deg, var(--ink-50), var(--ink-100));
  position: relative;
  height: 10rem;
  overflow: hidden;
}


.transfer-map svg {
  width: 100%;
  height: 100%;
}

/* Transfer suggestion rows */
.transfer-row {
  background: var(--ink-50);
  font-size: 0.75rem;
  line-height: 1.625rem;
  padding: 0.625rem;
  margin-bottom: var(--space-2);
  overflow: hidden;
  border-radius: 0.375rem;
}

.transfer-row:last-child {
  margin-bottom: 0;
}

.transfer-row > * {
  display: inline-block;
  vertical-align: middle;
}

.transfer-row .dash-pill {
  display: block;
  text-align: center;
  margin-top: var(--space-2);
}

.transfer-row .transfer-eta {
  display: block;
  font-size: 0.6875rem;
  margin-top: var(--space-1);
  color: var(--text-muted);
}

.transfer-row .dash-tag {
  margin-right: 0.5rem;
}


/* Campaign cards */
.dash-campaigns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-campaigns .dash-card {
  display: flex;
  flex-direction: column;
}


.campaign-time {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.campaign-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: var(--space-1);
}

.campaign-header > div:first-child {
  float: left;
}

.campaign-header .dash-tag {
  float: right;
}

.campaign-progress-info {
  font-size: 0.6875rem;
  margin-bottom: 0.375rem;
  overflow: hidden;
  color: var(--text-muted);
}

.campaign-progress-info span:first-child {
  float: left;
}

.campaign-progress-info .mono {
  float: right;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.stock-bar {
  background: var(--ink-150);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
}

.stock-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.campaign-tags {
  margin-top: var(--space-3);
}

.campaign-tags .dash-tag {
  background: var(--ink-100);
  margin-right: 0.375rem;
}

/* Reason list */
.reason-list > div {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.625rem;
  overflow: hidden;
}

.reason-list > div:last-child {
  margin-bottom: 0;
}

.reason-dot {
  display: inline-block;
  vertical-align: middle;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.75rem;
  border-radius: 50%;
}

/* Chart legend */
.chart-legend {
  float: right;
  font-size: 0.6875rem;
  font-weight: 400;
}

.chart-legend-item {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1rem;
}

.legend-line {
  display: inline-block;
  vertical-align: middle;
  width: 0.625rem;
  height: 2px;
  margin-right: 0.375rem;
}

.legend-box {
  display: inline-block;
  vertical-align: middle;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.375rem;
  border: 1px solid rgba(190, 3, 22, 0.2);
}

/* Lab test result */
.test-neg {
  font-size: 0.75rem;
  color: var(--viz-green);
}

.test-pos {
  font-size: 0.75rem;
  color: var(--primary);
}

.test-pending {
  font-size: 0.75rem;
  color: var(--viz-orange);
}

/* Dashboard KPI value unit */
.dash-kpi-val .unit {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Features grid ─────────────────────────────────────────── */

.feature-ico {
  background: var(--red-tint);
  display: inline-block;
  line-height: 3rem;
  text-align: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-3);
  border-radius: 0.5rem;
  color: var(--primary);
}

.feature-ico svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.375rem;
  height: 1.375rem;
}

.feature .h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.feature p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Donors section ────────────────────────────────────────── */
.donors {
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}

.donors::before {
  content: "";
  background: radial-gradient(circle, rgba(190, 3, 22, 0.05), transparent 70%);
  position: absolute;
  top: -6.25rem;
  right: -6.25rem;
  width: 31.25rem;
  height: 31.25rem;
  pointer-events: none;
}

.donors-copy .section-head {
  margin-bottom: 0;
}

.donors-copy .chip,
.donors-copy .content-title-h2,
.donors-copy .content-desc,
.donors-feature-list {
  margin-bottom: 1.25rem;
}

.donors-feature-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: var(--space-3);
  padding-left: 2.125rem;
  position: relative;
  color: var(--text-main);
}

.donors-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.0625rem;
  background: var(--primary);
  display: inline-block;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 1.375rem;
  height: 1.375rem;
  line-height: 1.375rem;
  border-radius: 100px;
  color: var(--ink-0);
}

.donors-phones {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28rem;
}


/* ── Phone mockups (flex autorisé — composant isolé) ─────────── */
.phone-device {
  background: #0a0a0a;
  position: absolute;
  flex-shrink: 0;
  width: 12.5rem;
  height: 25.625rem;
  padding: 0.375rem;
  border: 1px solid #1a1a1a;
  box-shadow: 0 2rem 4rem -1rem rgba(0, 0, 0, 0.25), 0 0.75rem 1.5rem -0.5rem rgba(0, 0, 0, 0.12);
  border-radius: 1.875rem;
}


.phone-back {
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-78%, -50%) rotate(-6deg);
}

.phone-front {
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-22%, -52%) rotate(4deg);
}

.phone-screen {
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
}


.phone-notch {
  background: #0a0a0a;
  position: absolute;
  top: 0.375rem;
  left: 50%;
  z-index: 2;
  width: 5rem;
  height: 1.125rem;
  border-radius: 0.625rem;
  transform: translateX(-50%);
}


.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  height: 2.25rem;
  padding: 0.375rem 1.375rem 0;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── Phone text utilities ──────────────────── */
.phone-txt-xxs { font-size: 0.5625rem; }
.phone-txt-xs { font-size: 0.6875rem; }
.phone-txt-sm { font-size: 0.8125rem; font-weight: 500; }
.phone-txt-bold { font-weight: 600; }
.phone-txt-muted { color: #737373; }
.phone-txt-light { color: rgba(255, 255, 255, 0.7); }
.phone-txt-faded { color: rgba(255, 255, 255, 0.65); }
.phone-txt-red { color: var(--primary); font-weight: 600; }

.phone-eyebrow {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-eyebrow-red { color: var(--red-400); }
.phone-eyebrow-white { color: #fff; opacity: 0.85; }

/* ── Phone Impact (back) ──────────────────── */
.phone-header-greeting {
  padding: 0.5rem 0.625rem 0;
}

.phone-header-greeting .phone-txt-sm {
  line-height: 1.3;
  margin-top: 0.125rem;
  color: #0a0a0a;
}

.phone-card-impact {
  background: #0a0a0a;
  position: relative;
  margin: 0.5rem 0.625rem 0;
  padding: 0.625rem;
  overflow: hidden;
  border-radius: 0.875rem;
  color: #fff;
}


.phone-card-glow {
  background: radial-gradient(circle, rgba(190, 3, 22, 0.4), transparent 70%);
  position: absolute;
  right: -1.875rem;
  top: -1.875rem;
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
}

.phone-impact-row {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: 0.375rem;
}

.phone-big-num {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}


.phone-impact-meta {
  display: flex;
  font-size: 0.6875rem;
  gap: 0.875rem;
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
}

.phone-meta-sep {
  background: rgba(255, 255, 255, 0.15);
  width: 1px;
}

/* ── Eligibility card ──────────────────────── */
.phone-card-elig {
  background: var(--red-tint);
  margin: 0.5rem 0.625rem 0;
  padding: 0.625rem;
  border: 1px solid rgba(190, 3, 22, 0.15);
  border-radius: 0.75rem;
}


.phone-card-elig .phone-txt-sm {
  margin-top: var(--space-1);
  color: #0a0a0a;
}

.phone-progress {
  background: #fff;
  height: 0.25rem;
  margin-top: 0.625rem;
  overflow: hidden;
  border-radius: 999px;
}

.phone-progress-bar {
  background: var(--primary);
  width: 62%;
  height: 100%;
}

/* ── Badges ────────────────────────────────── */
.phone-badges-section {
  padding: 0.5rem 0.625rem 0;
}


.phone-badges-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.phone-badges-row {
  display: flex;
  gap: 0.5rem;
}

.phone-badge {
  background: #f5f5f5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 600;
  height: 2.25rem;
  gap: 0.125rem;
  border-radius: 0.5rem;
  color: #0a0a0a;
}


.phone-badge span:first-child {
  font-size: 0.625rem;
}


.phone-badge-tint {
  background: var(--red-tint);
  color: var(--primary);
}

.phone-badge-dark {
  background: #1a1a1a;
  color: #fff;
}

/* ── Phone bottom bar ──────────────────────── */
.phone-bottom-bar {
  margin-top: auto;
  padding: 0.5rem 0.625rem;
  border-top: 1px solid #f1f1f1;
}


.phone-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-arrow-btn {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
}

/* ── Phone Alert (front) ──────────────────── */
.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.625rem 0;
}


.phone-topbar img {
  width: auto;
  height: 1.125rem;
}

.phone-avatar-main {
  background: linear-gradient(135deg, #be0316, #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #fff;
}

.phone-card-campaign {
  background: linear-gradient(135deg, #be0316, #991b1b);
  position: relative;
  margin: 0.5rem 0.625rem 0;
  padding: 0.625rem;
  overflow: hidden;
  border-radius: 0.875rem;
  color: #fff;
}


.phone-card-glow-w {
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
  right: -1.25rem;
  top: -1.25rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}

.phone-campaign-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: var(--space-1);
}

.phone-group {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}


.phone-campaign-row .phone-txt-sm {
  font-weight: 500;
  color: #fff;
}

.phone-card-campaign .phone-txt-xs {
  margin-top: 0.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.phone-card-campaign .phone-txt-xxs {
  margin-top: 0.375rem;
}

/* ── Map ───────────────────────────────────── */
.phone-map {
  background: #f5f5f5;
  height: 4rem;
  margin: 0.5rem 0.625rem 0;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
}


/* ── CTA buttons ───────────────────────────── */
.phone-cta-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem 0;
}


.phone-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.625rem;
  height: 1.75rem;
  border-radius: 0.5rem;
}


.phone-cta-primary {
  background: var(--primary);
  color: #fff;
}

.phone-cta-secondary {
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  color: #0a0a0a;
}

/* ── Nearby (bottom) ───────────────────────── */
.phone-nearby {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.phone-avatars {
  display: flex;
}

.phone-av {
  width: 1.375rem;
  height: 1.375rem;
  margin-left: -0.4375rem;
  border-radius: 50%;
  border: 2px solid #fff;
}

.phone-av:first-child { margin-left: 0; background: #be0316; }
.phone-av:nth-child(2) { background: #525252; }
.phone-av:nth-child(3) { background: #a3a3a3; }
.phone-av:nth-child(4) { background: #1a1a1a; }


/* ── Vision / Roadmap ──────────────────────────────────────── */
.roadmap {
  position: relative;
}


.roadmap::before {
  content: "";
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: 0.4375rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
}

.roadmap-item {
  position: relative;
  padding-left: 3.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-item:last-child {
  border-bottom: none;
}

.roadmap-marker {
  background: var(--ink-800);
  position: absolute;
  left: 0;
  top: 1.625rem;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--ink-800);
}

.roadmap-item.is-done .roadmap-marker {
  background: var(--primary);
  border-color: var(--primary);
}

.roadmap-item.is-active .roadmap-marker {
  background: var(--bg-body);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(190, 3, 22, 0.2);
}

.roadmap-phase {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--red-400);
}

.roadmap-item .h4 {
  font-size: 1.125rem;
  margin-top: var(--space-1);
  color: var(--ink-0);
}

.roadmap-item p {
  font-size: 0.875rem;
  margin-top: 0.375rem;
  color: rgba(255, 255, 255, 0.6);
}

.roadmap-item:not(.is-done):not(.is-active) .h4 {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Investors section ─────────────────────────────────────── */
.invest-pillar {
  background: var(--bg-body);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.invest-num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.invest-pillar .h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}

.invest-pillar p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.invest-cta {
  background: var(--ink-950);
  padding: 2.5rem;
  overflow: hidden;
  border-radius: var(--r-xl);
  color: var(--ink-0);
}

.invest-cta .h4 {
  color: var(--ink-0);
}

.invest-cta p {
  margin-top: var(--space-1);
  color: rgba(255, 255, 255, 0.66);
}

.invest-cta-actions {
  margin-top: var(--space-5);
}

.invest-cta-actions .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.625rem;
}


/* ── Testimonials ──────────────────────────────────────────── */
.testi {
  background: var(--bg-body);
  padding: 2rem;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.testi blockquote {
  font-size: 1rem;
  line-height: 1.6;
  font-style: normal;
  margin: 0;
  padding: 0;
  margin-bottom: var(--space-5);
  border: none;
  color: var(--text-main);
}

.testi figcaption {
  overflow: hidden;
}

.testi-avatar {
  background-color: var(--ink-200);
  display: inline-block;
  vertical-align: middle;
  line-height: 2.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.75rem;
  border-radius: 50%;
  color: var(--text-main);
  transition: background-color 0.3s, color 0.3s;
}

.testi:hover .testi-avatar {
  background-color: var(--primary);
  color: var(--ink-0);
}

.testi-info {
  display: inline-block;
  vertical-align: middle;
}

.testi-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.testi-role {
  font-size: 0.75rem;
  margin-top: 0.0625rem;
  color: var(--text-muted);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-custom {
  background: var(--ink-950);
  font-size: 0.875rem;
  padding: var(--space-9) 0 var(--space-6);
  color: rgba(255, 255, 255, 0.66);
}


.footer-custom .h6 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
  color: var(--ink-0);
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.15s;
}

.footer-custom a:hover {
  color: var(--ink-0);
}

.footer-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-custom ul li {
  margin-bottom: var(--space-3);
}

.footer-brand img {
  max-width: 7.5rem;
  max-height: 1.75rem;
  width: auto;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: var(--space-4);
}

.footer-socials a {
  display: inline-block;
  line-height: calc(2.25rem - 2px);
  text-align: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  transition: background 0.15s, border-color 0.15s;
}

.footer-socials a svg {
  display: inline-block;
  vertical-align: middle;
  width: 0.875rem;
  height: 0.875rem;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.store-badges .store-badge,
.store-badges a.store-badge {
  background: var(--ink-950);
  display: inline-block;
  line-height: 2.875rem;
  padding: 0 0.875rem;
  margin: 0 0.5rem 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  color: var(--ink-0);
  transition: background 0.15s, border-color 0.15s;
}

.store-badges a.store-badge:hover {
  background: var(--ink-900);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ink-0);
}

.store-badge svg {
  display: inline-block;
  vertical-align: middle;
  width: 1.125rem;
  height: 1.25rem;
  margin-right: 0.625rem;
}

.store-badge-text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.1;
}

.store-badge-sup {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.store-badge-main {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 0.125rem;
  color: var(--ink-0);
}

/* Newsletter */
.newsletter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-1);
}

.newsletter input {
  background: rgba(255, 255, 255, 0.04);
  flex: 1;
  line-height: 2.375rem;
  font-size: 0.875rem;
  min-width: 0;
  padding: 0 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  outline: none;
  color: var(--ink-0);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter input:focus {
  border-color: var(--red-400);
}

.newsletter .btn {
  flex-shrink: 0;
  padding: 0.5rem 0.875rem;
}

.footer-newsletter-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.store-badges {
  margin-top: var(--space-6);
}

.footer-bottom {
  font-size: 0.75rem;
  text-align: center;
  padding-top: var(--space-5);
  margin-top: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-left {
  margin-bottom: var(--space-2);
}

.footer-bottom-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline;
}

.footer-bottom-right li {
  display: inline;
}

.footer-bottom-right a {
  margin: 0 0.75rem;
}


/* ── Forms ─────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-body);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.form-row + .form-row {
  margin-top: 1.125rem;
}

.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  color: var(--text-muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg-body);
  display: block;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 2.75rem;
  width: 100%;
  padding: 0 0.875rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  outline: none;
  color: var(--text-main);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-subtle);
}

.form-row textarea {
  line-height: 1.5;
  min-height: 6.25rem;
  padding: 0.75rem 0.875rem;
  resize: vertical;
}

.form-row select {
  height: calc(2.75rem + 2px);
  appearance: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(190, 3, 22, 0.1);
}

.form-grid-2 {
  margin-top: 1.125rem;
  margin-bottom: 0;
}

.form-grid-2 .form-row + .form-row {
  margin-top: 0;
}

.form-grid-2 + .form-row {
  margin-top: 1.125rem;
}

.btn-full {
  text-align: center;
  width: 100%;
  margin-top: var(--space-4);
}

.form-consent {
  font-size: 0.75rem;
  text-align: center;
  margin-top: var(--space-3);
  color: var(--text-subtle);
}


/* Institution picker */
.institution-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.institution-picker > label {
  width: 100%;
}


.institution-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.institution-picker label {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--text-main);
  margin: 0;
}

.institution-picker label:hover {
  border-color: var(--ink-300);
  background: var(--ink-50);
}

.institution-picker .ip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink-100);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.institution-picker .ip-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.institution-picker .ip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.institution-picker .ip-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.institution-picker .ip-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
}

.institution-picker .ip-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.institution-picker .ip-check svg {
  width: 12px;
  height: 12px;
}

.institution-picker input:checked + label {
  border-color: var(--primary);
  background: var(--red-tint);
  box-shadow: 0 0 0 3px rgba(190, 3, 22, 0.08), var(--shadow-sm);
}

.institution-picker input:checked + label .ip-icon {
  background: var(--primary);
  color: var(--ink-0);
}

.institution-picker input:checked + label .ip-check {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--ink-0);
}

.institution-picker input:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── KPI row ───────────────────────────────────────────────── */
.kpi-row {
  background: var(--bg-body);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.kpi-row .kpi-item {
  padding: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.kpi-row .row > [class*="col"]:nth-child(2n) .kpi-item {
  border-right: none;
}

.kpi-row .row > [class*="col"]:nth-child(n+3) .kpi-item {
  border-bottom: none;
}


.kpi-row .v {
  font-size: 2.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.kpi-row .l {
  font-size: 0.8125rem;
  margin-bottom: 0.375rem;
  color: var(--text-muted);
}

.kpi-row .s {
  font-size: 0.75rem;
  margin-top: var(--space-1);
  color: var(--text-subtle);
}

/* ── Architecture diagram ──────────────────────────────────── */
.arch {
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  border-radius: var(--r-xl);
  color: var(--ink-0);
}


.arch::before {
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.arch::after {
  content: "";
  background: radial-gradient(closest-side, rgba(190, 3, 22, 0.22), rgba(190, 3, 22, 0) 70%);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 37.5rem;
  height: 25rem;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.arch-grid {
  position: relative;
  z-index: 2;
}

.arch-node {
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 3;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.arch-node:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.arch-node-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
  color: rgba(255, 255, 255, 0.5);
}

.arch-node-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-0);
}

.arch-node-sub {
  font-size: 0.78125rem;
  line-height: 1.4;
  margin-top: var(--space-1);
  color: rgba(255, 255, 255, 0.72);
}

.arch-node-meta {
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  margin-top: var(--space-2);
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
}

.arch-node-accent .arch-node-tag {
  color: #ff7383;
}

/* Core circle */
.arch-core {
  position: relative;
  z-index: 4;
  text-align: center;
  width: 12.5rem;
  margin: 2rem auto;
}

.arch-core-inner {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #e21629 0%, #be0316 50%, #7a0210 100%);
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 10.625rem;
  height: 10.625rem;
  padding: 1.125rem;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow:
    0 20px 60px -10px rgba(190, 3, 22, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 0 8px rgba(190, 3, 22, 0.08);
}

.arch-core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 10.625rem;
  height: 10.625rem;
  margin: -5.3125rem 0 0 -5.3125rem;
  border-radius: 50%;
  border: 1px solid rgba(190, 3, 22, 0.5);
  animation: archPulse 2.8s ease-out infinite;
}

.arch-core-pulse-2 {
  animation-delay: 1.4s;
}

@keyframes archPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.arch-core-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.arch-core-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.125rem;
  color: var(--ink-0);
}

.arch-core-sub {
  font-size: 0.6875rem;
  line-height: 1.4;
  margin-top: 0.375rem;
  color: rgba(255, 255, 255, 0.88);
}

.arch-core-meta {
  font-family: var(--font-mono);
  font-size: 0.59375rem;
  margin-top: 0.375rem;
  color: rgba(255, 255, 255, 0.6);
}

/* SVG connecting lines */
.arch-lines {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Flow rail */
.arch-flow {
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  margin-top: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.625rem;
}

.arch-flow-cell {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.625rem 1rem;
  overflow: hidden;
}

.arch-flow .row > [class*="col"] + [class*="col"] .arch-flow-cell {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.arch-flow-arrow {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.125rem;
  font-weight: 700;
  margin-right: 0.75rem;
  color: #ff7383;
}

.arch-flow-label {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-0);
}

.arch-flow-meta {
  float: right;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Module cards (solution page) ──────────────────────────── */
.module-card {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-color);
}

.module-card:last-child {
  border-bottom: none;
}

.module-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

.module-card h2 {
  font-size: 1.75rem;
  margin-top: var(--space-3);
}


.module-bullets {
  margin-top: 1.25rem;
}

.module-card .content-desc {
  margin-top: var(--space-3);
}

.module-bullets li {
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-left: 1.0625rem;
  margin-bottom: 0.625rem;
  color: var(--text-muted);
}

.module-bullets li::before {
  content: "";
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.5625rem;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
}

.module-visual {
  background: var(--ink-50);
  position: relative;
  min-height: 22.5rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.module-visual-dark {
  background: var(--ink-950);
  border-color: var(--ink-950);
  display: flex;
  align-items: center;
  color: var(--ink-0);
}

.module-visual-dark > * {
  width: 100%;
}

.module-visual-header {
  background: var(--bg-elevated);
  padding: 0.875rem 1.125rem;
  margin: -2rem -2rem 1.25rem -2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.module-visual-header > .chip,
.module-visual-header > .dash-tag {
  float: right;
  margin-top: var(--space-1);
}

.module-visual-header > div:first-child {
  float: left;
}

.module-visual-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.module-visual-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.module-visual-body {
  margin: 0 -2rem -2rem;
  padding: 1.25rem;
}

.fw-400 {
  font-weight: 400;
  color: var(--text-muted);
}

.chip-green {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--viz-green);
}

.row-alert {
  background: var(--red-tint);
}

.btn-sm {
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
}

.btn-white {
  background: var(--ink-0);
  color: var(--primary);
}

/* ── Incident rows (solution hemovigilance) ────────────────── */
.incident-row {
  background: var(--bg-body);
  padding: 0.875rem;
  margin-bottom: var(--space-3);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.incident-row > div:first-child {
  float: left;
  max-width: calc(100% - 6.5rem);
}

.incident-row > .dash-tag {
  float: right;
  margin-top: 0.375rem;
}

.incident-row:last-of-type {
  margin-bottom: 0;
}

.incident-id {
  font-size: 0.6875rem;
  color: var(--text-subtle);
}

.incident-desc {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.125rem;
}

.incident-summary {
  font-size: 0.75rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
  color: var(--text-subtle);
}

/* ── Doctor app cards (solution module 4) ──────────────────── */
.doctor-request-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.625rem;
}

.doctor-tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red-400);
}

.doctor-val {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: var(--space-2);
}

.doctor-val span {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.doctor-patient {
  font-size: 0.6875rem;
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, 0.5);
}

.doctor-banks {
  margin-top: var(--space-2);
  margin-bottom: 0.875rem;
}

.doctor-bank-ok,
.doctor-bank-no {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.1875rem 0.5rem;
  margin-right: 0.375rem;
  margin-bottom: 0.25rem;
  border-radius: 0.25rem;
}

.doctor-bank-ok {
  background: rgba(190, 3, 22, 0.2);
  color: var(--ink-0);
}

.doctor-bank-no {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.doctor-status-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  margin-bottom: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
}

.doctor-status-card:last-child {
  margin-bottom: 0;
}

.doctor-status-id {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
}

.doctor-status-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.doctor-status-ok {
  color: #22c55e;
}

.doctor-progress {
  background: rgba(255, 255, 255, 0.1);
  height: 0.1875rem;
  margin-top: 0.375rem;
  overflow: hidden;
  border-radius: 6.1875rem;
}

.doctor-progress span {
  background: var(--primary);
  display: block;
  height: 100%;
}

/* ── Donor invite card (solution module 6) ─────────────────── */
.donor-invite-card {
  text-align: center;
  max-width: 17.5rem;
  margin: 0 auto;
}

.donor-invite-meta {
  font-size: 0.625rem;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.5);
}

.donor-invite-body {
  background: var(--primary);
  text-align: left;
  padding: 1.25rem;
  border-radius: 0.875rem;
}

.donor-invite-label {
  font-size: 0.625rem;
  font-weight: 700;
  opacity: 0.85;
}

.donor-invite-group {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.375rem;
}

.donor-invite-loc {
  font-size: 0.8125rem;
  margin-top: var(--space-1);
}

.donor-invite-time {
  font-size: 0.6875rem;
  margin-top: 0.125rem;
  opacity: 0.85;
}

.donor-invite-actions {
  margin-top: 0.875rem;
}

.donor-invite-actions .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
}

.donor-invite-note {
  font-size: 0.6875rem;
  line-height: 1.5;
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.55);
}

/* ── Admin KPI row (solution module 5) ─────────────────────── */
.admin-kpi-val {
  font-size: 1.125rem;
  font-weight: 700;
}

.admin-kpi-lbl {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ── Pill row ──────────────────────────────────────────────── */

.pill-row .pill {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: var(--space-2);
}

.pill {
  background: var(--bg-body);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
}

.section-dark .pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ── Team grid ─────────────────────────────────────────────── */
.team-card {
  margin-bottom: var(--space-5);
}

.team-avatar {
  background-color: var(--ink-200);
  position: relative;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  aspect-ratio: 1;
  margin-bottom: var(--space-3);
  overflow: hidden;
  border-radius: var(--r-xl);
  color: var(--text-main);
  transition: background-color 0.3s, color 0.3s;
}

.team-card:hover .team-avatar {
  background-color: var(--primary);
  color: var(--ink-0);
}

.team-avatar span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.team-card .h4 {
  font-size: 1rem;
}

.team-card .role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.team-card .bio {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: var(--space-1);
  color: var(--text-muted);
}

/* ── Traction grid ─────────────────────────────────────────── */
.traction-grid {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.traction-cell {
  background: var(--bg-body);
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.traction-cell:last-child {
  border-bottom: none;
}


.traction-cell .v {
  font-size: 3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--primary);
}

.traction-cell .l {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: var(--space-1);
}

.traction-cell .s {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 0.375rem;
  color: var(--text-muted);
}

/* ── Office grid ───────────────────────────────────────────── */
.office {
  padding: 1.5rem;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.office-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--primary);
}

.office .h4 {
  font-size: 1rem;
}

.office p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: var(--space-2);
  color: var(--text-muted);
}

/* ── App screens (donor page) ──────────────────────────────── */
.app-screen {
  background: var(--ink-950);
  width: 13.75rem;
  height: 28.75rem;
  padding: 0.375rem;
  margin: 0 auto;
  border-radius: 1.75rem;
}

.app-screen-inner {
  background: var(--ink-0);
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.375rem;
}

/* ── Stats grid (about page) ───────────────────────────────── */
.stat-card {
  background: var(--bg-body);
  height: 100%;
  padding: 1.75rem 1.5rem;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.stat-val {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-950);
}

.stat-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: var(--space-1);
  color: var(--text-muted);
}

.stat-ctx {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-top: var(--space-2);
  color: var(--text-muted);
}

.stat-bar {
  background: var(--ink-150);
  height: 4px;
  margin-top: var(--space-2);
  overflow: hidden;
  border-radius: 999px;
}

.stat-bar span {
  background: var(--primary);
  display: block;
  height: 100%;
  border-radius: 999px;
}

.stat-src {
  font-size: 0.6875rem;
  margin-top: var(--space-1);
  color: var(--text-subtle);
}

/* ── Container narrow ─────────────────────────────────────── */
.container-narrow {
  max-width: 900px;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-q {
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -.01em;
  cursor: pointer;
}

.faq-q::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23525252' stroke-width='1.6' stroke-linecap='round'><path d='M3 7h8M7 3v8'/></svg>");
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-a p {
  padding: 0 0 24px 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Backed-by logos ───────────────────────────────────────── */
.backed-by-tile {
  background: var(--bg-body);
  display: block;
  text-align: center;
  min-height: 6.875rem;
  padding: 1.5rem;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.backed-by-tile:hover {
  border-color: var(--ink-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.backed-by-tile img {
  max-height: 4rem;
  width: auto;
  height: auto;
}

/* ── Dashboard text helpers ────────────────────────────────── */
.dash-text-sm {
  font-size: 0.6875rem;
  color: var(--text-subtle);
}

.fw-600 {
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
}

.chip-dot::before {
  content: "";
  background: currentColor;
  display: inline-block;
  vertical-align: middle;
  width: 0.375rem;
  height: 0.375rem;
  margin-right: 0.375rem;
  border-radius: 50%;
}

/* ── Focus ─────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ── Variant system ────────────────────────────────────────── */
[data-hide-variant] {
  display: none;
}

[data-hide-variant].is-active {
  display: block;
}

/* ── Page hero variants ───────────────────────────────────── */

.page-hero-narrow .chip {
  margin-bottom: var(--space-4);
}

.page-hero-narrow .content-desc {
  margin-top: 1.25rem;
}


/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  text-align: center;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  overflow: hidden;
}

.final-cta .glow-red {
  top: auto;
  bottom: -12.5rem;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 0 auto;
}

.final-cta .content-desc {
  margin-top: var(--space-4);
}

.final-cta .btn-group-inline {
  margin-top: var(--space-5);
}

/* ── Impact before/after ──────────────────────────────────── */
.impact-v2-pane {
  display: block;
}

.impact-v2-ba {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.impact-v2-ba-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.impact-v2-ba-side {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.impact-v2-ba-side.is-before {
  background: var(--ink-50);
  color: var(--text-muted);
}

.impact-v2-ba-side.is-after {
  background: var(--bg-body);
  color: var(--text-main);
}

.impact-v2-ba-side.is-before .impact-v2-ba-headline {
  color: var(--text-main);
  opacity: .78;
}

.impact-v2-ba-side.is-after .impact-v2-ba-tag {
  color: var(--primary);
}

.impact-v2-ba-side.is-after .impact-v2-ba-meta-val {
  color: var(--primary);
}

.impact-v2-ba-side.is-before .impact-v2-ba-meta-val {
  color: var(--text-muted);
}

.impact-v2-ba-scenario {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.impact-v2-ba-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.impact-v2-ba-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
}

.impact-v2-ba-headline {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.impact-v2-ba-detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.impact-v2-ba-meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}

.impact-v2-ba-meta-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-main);
  line-height: 1;
}

.impact-v2-ba-meta-lbl {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.impact-v2-ba-gutter {
  border-left: 1px dashed var(--border-color);
  border-right: 1px dashed var(--border-color);
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 8px;
  gap: 8px;
  text-align: center;
}

.impact-v2-ba-gutter-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  border: 1px solid rgba(190, 3, 22, 0.18);
}

.impact-v2-ba-gutter-delta {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -.01em;
  line-height: 1.1;
}

.impact-v2-ba-gutter-lbl {
  font-size: 9px;
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 84px;
}

@media (max-width: 767.98px) {
  .impact-v2-ba-row {
    grid-template-columns: 1fr;
  }

  .impact-v2-ba-gutter {
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 16px;
  }

  .impact-v2-ba-gutter-arrow {
    transform: rotate(90deg);
  }

}


/* ── Impact CTA ───────────────────────────────────────────── */
.impact-cta {
  margin-top: 32px;
  padding: 32px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
  gap: 24px;
}

.impact-cta h3 {
  margin-bottom: var(--space-6);
  flex: 1;
  min-width: 280px;
}

.hero-1-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── App showcase ─────────────────────────────────────────── */

.app-screen-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.app-screen-wrap:last-child {
  margin-bottom: 0;
}

.app-screen-wrap .h4 {
  font-size: 1.125rem;
  margin-top: 1.25rem;
}

.app-screen-wrap p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: var(--space-2);
  color: var(--text-muted);
}


/* ── Hero proof line (donneurs) ───────────────────────────── */
.hero-proof {
  font-size: 0.8125rem;
  margin-top: var(--space-6);
  color: rgba(255, 255, 255, 0.55);
}

.hero-proof-stars {
  margin-right: 0.25rem;
  color: #fbbf24;
}

.hero-proof-sep {
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 0.875rem;
  margin: 0 1rem;
}

/* ── Phone mockup internals ──────────────────────────────── */
.app-phone-status {
  display: inline-block;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 2.25rem;
  width: 100%;
  padding: 0.375rem 1.125rem 0;
}

.app-phone-status span:last-child {
  float: right;
  line-height: 2.25rem;
}

.app-phone-brand {
  padding: 0.25rem 0.875rem 0;
}

.app-phone-brand img {
  width: auto;
  height: 1rem;
}

.app-phone-greeting {
  font-size: 0.6875rem;
  padding: 0.375rem 0.875rem 0;
  color: var(--text-subtle);
}

.app-phone-city {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.125rem 0.875rem 0;
}

.app-phone-card {
  margin: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
}

.app-phone-card-red {
  background: linear-gradient(135deg, var(--primary), #991b1b);
  color: var(--ink-0);
}

.app-phone-card-dark {
  background: var(--ink-950);
  color: var(--ink-0);
}

.app-phone-card-eligibility {
  background: var(--red-tint);
  border: 1px solid rgba(190, 3, 22, 0.15);
}

.app-phone-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
}

.app-phone-label-red {
  color: var(--primary);
}

.app-phone-group {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.375rem;
}

.app-phone-location {
  font-size: 0.6875rem;
  margin-top: 0.125rem;
  opacity: 0.9;
}

.app-phone-map {
  background: var(--ink-50);
  height: 5rem;
  margin: 0.625rem 0.75rem 0;
  overflow: hidden;
  border-radius: 0.625rem;
  border: 1px solid var(--border-color);
}

.app-phone-actions {
  margin: 0.75rem;
}

.app-phone-btn-primary,
.app-phone-btn-secondary {
  display: inline-block;
  vertical-align: top;
  line-height: 2rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  width: 48%;
  height: 2rem;
  border-radius: 0.375rem;
}

.app-phone-btn-primary {
  background: var(--primary);
  margin-right: 2%;
  color: var(--ink-0);
}

.app-phone-btn-secondary {
  background: var(--ink-50);
  border: 1px solid var(--border-color);
  color: var(--ink-950);
}

.app-phone-impact-row {
  margin-top: 0.375rem;
}

.app-phone-impact-num {
  vertical-align: baseline;
  font-size: 2.375rem;
  font-weight: 700;
}

.app-phone-impact-lbl {
  vertical-align: baseline;
  font-size: 0.75rem;
  margin-left: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
}

.app-phone-impact-sub {
  font-size: 0.625rem;
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
}

.app-phone-section {
  padding: 0.75rem;
}

.app-phone-badges {
  margin-top: var(--space-2);
}

.app-phone-badge {
  background: var(--ink-50);
  display: inline-block;
  vertical-align: top;
  line-height: 1.2;
  text-align: center;
  font-size: 0.5625rem;
  font-weight: 600;
  width: 30%;
  height: 3.125rem;
  padding-top: 0.5rem;
  margin-right: 3%;
  border-radius: 0.5rem;
  color: var(--ink-950);
}

.app-phone-badge:last-child {
  margin-right: 0;
}

.app-phone-badge-red {
  background: var(--red-tint);
  color: var(--primary);
}

.app-phone-badge-dark {
  background: var(--ink-950);
  color: var(--ink-0);
}

.app-phone-eligibility-val {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.app-phone-progress {
  background: rgba(255, 255, 255, 0.2);
  height: 0.1875rem;
  margin-top: 0.375rem;
  overflow: hidden;
  border-radius: 6.25rem;
}

.app-phone-card-eligibility .app-phone-progress {
  background: var(--ink-0);
}

.app-phone-progress-bar {
  background: var(--primary);
  height: 100%;
  border-radius: 6.25rem;
}

.app-phone-progress-dark {
  background: var(--ink-950);
}

.app-phone-list {
  padding: 0.625rem 0.75rem 0;
}

.app-phone-list-item {
  background: var(--ink-0);
  padding: 0.625rem;
  margin-bottom: var(--space-2);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
}

.app-phone-list-item:last-child {
  margin-bottom: 0;
}

.app-phone-list-top {
  display: inline-block;
  width: 100%;
}

.app-phone-list-top > div {
  float: left;
  width: 75%;
}

.app-phone-list-tag {
  background: var(--red-tint);
  float: right;
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--primary);
}

.app-phone-list-time {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.app-phone-list-name {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 0.1875rem;
}

.app-phone-list-meta {
  font-size: 0.625rem;
  margin-top: 0.0625rem;
  color: var(--text-subtle);
}

.app-phone-bottom-btn {
  background: var(--primary);
  position: absolute;
  bottom: 0.875rem;
  left: 0.75rem;
  right: 0.75rem;
  line-height: 2.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: var(--ink-0);
}

/* ── Backed by grid ───────────────────────────────────────── */
.backed-by-grid {
  font-size: 0;
  margin-top: var(--space-4);
}

.backed-by-grid .backed-by-tile {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 0.5rem);
  margin-right: 1rem;
  font-size: 1rem;
}

.backed-by-grid .backed-by-tile:last-child {
  margin-right: 0;
}

/* ── Hero search card (hopitaux) ──────────────────────────── */
.hero-search-card {
  background: var(--bg-body);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero-search-header {
  background: var(--bg-elevated);
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-search-header::after {
  content: '';
  display: table;
  clear: both;
}

.hero-search-header-info {
  float: left;
}

.hero-search-header .chip {
  float: right;
  margin-top: var(--space-1);
}

.hero-search-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero-search-site {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.hero-search-row {
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-search-row::after {
  content: '';
  display: table;
  clear: both;
}

.hero-search-row:last-child {
  border-bottom: none;
}

.hero-search-info {
  float: left;
}

.hero-search-btn {
  float: right;
  font-size: 0.75rem;
  margin-top: var(--space-1);
  padding: 0.25rem 0.875rem;
}

.hero-search-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-search-meta {
  font-size: 0.75rem;
  margin-top: 0.125rem;
  color: var(--text-muted);
}

.hero-search-footer {
  background: var(--bg-elevated);
  font-size: 0.6875rem;
  padding: 0.75rem 1.125rem;
  color: var(--text-muted);
}

/* ── Pain points (hopitaux) ───────────────────────────────── */
.pain-row {
  background: var(--bg-body);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.pain-row-dark {
  background: var(--ink-950);
  border-color: var(--ink-950);
}

.pain-row .pain-card {
  padding: 2rem;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border-color);
}

.pain-row .row > [class*="col"]:last-child .pain-card {
  border-bottom: none;
}

.pain-row-dark .pain-card {
  border-color: rgba(255, 255, 255, 0.08);
}


.pain-card {
  padding: 2rem;
}

.pain-card-dark .h4 {
  color: var(--ink-0);
}

.pain-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.pain-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: var(--text-subtle);
}

.pain-card-dark .pain-label {
  color: var(--red-400);
}

.pain-card .h4 {
  margin-bottom: 0.625rem;
}

.pain-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Deploy card (hopitaux) ───────────────────────────────── */
.deploy-card {
  background: var(--bg-body);
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.deploy-week {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--primary);
}

.deploy-card .h4 {
  font-size: 1.0625rem;
  margin-top: var(--space-2);
}

.deploy-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: var(--space-2);
  color: var(--text-muted);
}

/* ── Testi pull (single quote) ────────────────────────────── */
.testi-pull {
  text-align: center;
  margin: 0 auto;
}

.testi-pull > svg {
  margin-bottom: var(--space-5);
  opacity: 0.5;
}

.testi-pull blockquote {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-0);
}

.testi-pull .testi-avatar {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.75rem;
}

.testi-pull-author {
  margin-top: var(--space-6);
}

.testi-pull-author-text {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.testi-pull-author .testi-name {
  font-weight: 600;
  color: var(--ink-0);
}

.testi-pull-author .testi-role {
  font-size: 0.8125rem;
  margin-top: 0.125rem;
  color: rgba(255, 255, 255, 0.5);
}


/* ── Demo benefits list ───────────────────────────────────── */
.demo-benefit {
  margin-bottom: 0.875rem;
}

.demo-benefit:last-child {
  margin-bottom: 0;
}

.demo-benefit-icon {
  background: var(--bg-body);
  display: inline-block;
  vertical-align: top;
  line-height: 2.5rem;
  text-align: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--primary);
}

.demo-benefit-icon svg {
  display: inline-block;
  vertical-align: middle;
}

.demo-benefit-text {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 3.75rem);
}

.demo-benefit-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.demo-benefit-desc {
  font-size: 0.8125rem;
  margin-top: 0.125rem;
  color: var(--text-muted);
}

/* ── Emergency card ───────────────────────────────────────── */
.emergency-card {
  background: var(--bg-body);
  padding: 1.25rem;
  margin-top: var(--space-6);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
}

.emergency-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
}

.emergency-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.375rem;
  color: var(--text-main);
}

/* ── Contact info list ────────────────────────────────────── */
.contact-info-item {
  margin-bottom: 1.25rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  background: var(--bg-body);
  display: inline-block;
  vertical-align: top;
  line-height: 2.25rem;
  text-align: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--primary);
}

.contact-info-icon svg {
  display: inline-block;
  vertical-align: middle;
}

.contact-info-text {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 3.375rem);
}

.contact-info-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-info-desc {
  font-size: 0.8125rem;
  margin-top: 0.125rem;
  color: var(--text-muted);
}

/* ── Contact method card ──────────────────────────────────── */
.contact-method {
  background: var(--bg-body);
  display: block;
  text-decoration: none;
  padding: 1.5rem;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  color: var(--text-main);
}

.contact-method:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.contact-method-icon {
  background: var(--red-tint);
  display: inline-block;
  line-height: 2rem;
  text-align: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--space-3);
  border-radius: 0.5rem;
  color: var(--primary);
}

.contact-method-icon svg {
  display: inline-block;
  vertical-align: middle;
}

.contact-method-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  color: var(--text-subtle);
}

.contact-method-desc {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── Module card alternation ──────────────────────────────── */

/* ── Eligibility card (donneurs) ──────────────────────────── */
.eligibility-card {
  background: var(--ink-950);
  padding: 2.5rem 2rem;
  border-radius: var(--r-xl);
  color: var(--ink-0);
}

.eligibility-card h2 {
  color: var(--ink-0);
}

.eligibility-card .content-desc {
  color: rgba(255, 255, 255, 0.66);
}

.eligibility-card .chip {
  color: var(--red-400);
}

.eligibility-pills {
  margin-top: var(--space-5);
}

.eligibility-pills .pill {
  background: rgba(255, 255, 255, 0.04);
  margin-right: 0.5rem;
  margin-bottom: var(--space-2);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.eligibility-stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.625rem;
}

.eligibility-stat:last-child {
  margin-bottom: 0;
}

.eligibility-stat-val {
  font-size: 2.125rem;
  font-weight: 700;
}

.eligibility-stat-lbl {
  font-size: 0.75rem;
  margin-top: var(--space-1);
  color: rgba(255, 255, 255, 0.55);
}


/* ── Donor step ───────────────────────────────────────────── */
.donor-steps {
  counter-reset: donor-step;
}

.donor-step {
  position: relative;
  counter-increment: donor-step;
  padding-left: 3.25rem;
}

.donor-step::before {
  content: counter(donor-step);
  background-color: var(--ink-950);
  position: absolute;
  left: 0;
  top: -0.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--ink-0);
  transition: background-color 0.3s;
}

.donor-step-accent::before {
  background-color: var(--primary);
}

.donor-step .h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.donor-step p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: var(--space-2);
  color: var(--text-muted);
}

/* ── Investor proof box (dark KPIs) ───────────────────────── */
.proof-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  margin-top: var(--space-7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
}

.proof-box-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.45);
}

.proof-stat {
  margin-bottom: var(--space-5);
}

.proof-stat:last-child {
  margin-bottom: 0;
}

.proof-stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red-400);
}

.proof-stat-lbl {
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Press item ───────────────────────────────────────────── */
.press-item {
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
  color: var(--text-muted);
}

.press-item:last-child {
  margin-bottom: 0;
}

.press-item a {
  text-decoration: underline;
  color: var(--primary);
}

.press-item a:hover {
  color: var(--red-600);
}

/* ── Team extra row ───────────────────────────────────────── */
.team-extra {
  background: var(--bg-elevated);
  text-align: center;
  padding: 1.5rem;
  margin-top: var(--space-6);
  border-radius: var(--r-xl);
}

.team-extra p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Investor deck list ───────────────────────────────────── */
.deck-item {
  margin-bottom: var(--space-3);
}

.deck-item:last-child {
  margin-bottom: 0;
}

.deck-item svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.75rem;
}

.deck-item span {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.875rem;
}

/* ── Thesis cards (investisseurs) ─────────────────────────── */
.thesis-num {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--primary);
}

.thesis-num + .h4 {
  margin-top: var(--space-3);
}

.thesis-num ~ p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: var(--space-3);
  color: var(--text-muted);
}

/* ── Press list ──────────────────────────────────────────── */
.press-list {
  margin-top: var(--space-4);
}

/* ── Deck list (ul) ──────────────────────────────────────── */
.deck-list {
  margin-top: var(--space-6);
}

/* ── Responsive clearfix ───────────────────────────────────── */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


/**
 * 2.0 Media Queries
 * ----------------------------------------------------------------------------
 */

@media (min-width: 721px) {
  .institution-picker > label {
    width: calc(33.333% - 6.667px);
  }

  .institution-picker-4 > label {
    width: calc(50% - 5px);
  }
}

@media (min-width: 768px) {
  .btn-group-inline .btn {
    display: inline-block;
    width: auto;
    margin: 0 0.625rem 0.625rem 0;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 4rem;
  }

  h2, .h2 {
    font-size: 2.75rem;
  }

  h3, .h3 {
    font-size: 1.75rem;
  }

  .h1 {
    font-size: 3.5rem;
  }

  .content-desc {
    font-size: 1.25rem;
  }

  .section-head {
    margin-bottom: var(--space-7);
  }

  .hero-marquee .row > div + div .hero-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-hero {
    padding-top: 9rem;
  }

  .audience-card h2 {
    font-size: 1.5rem;
  }

  .showcase-shell {
    margin-top: var(--space-6);
    border-radius: 0.875rem;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.4);
  }

  .showcase-tab {
    font-size: 0.8125rem;
    padding: 0.875rem 1.25rem;
  }

  .showcase-frame {
    min-height: 32.5rem;
  }

  .showcase-meta {
    font-size: 0.8125rem;
    margin-top: var(--space-5);
  }

  .showcase-meta-item {
    margin: 0 1rem;
  }

  .showcase-meta-item span {
    font-size: 0.6875rem;
  }

  .showcase-meta-item strong {
    font-size: 0.875rem;
  }

  .dash {
    min-height: 32.5rem;
  }

  .dash-sidebar {
    background: var(--ink-50);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    width: 13.75rem;
    padding: 1rem 0.75rem;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
  }

  .dash-main {
    margin-left: 13.75rem;
    padding: 1.5rem 1.75rem;
  }

  .dash-toolbar {
    margin-bottom: 1.25rem;
  }

  .dash-toolbar > div:first-child {
    float: left;
    margin-bottom: 0;
  }

  .dash-toolbar .dash-tb-actions {
    float: right;
  }

  .dash-title {
    font-size: 1.375rem;
  }

  .dash-sub {
    font-size: 0.8125rem;
  }

  .dash-kpis > * {
    flex: 0 0 calc(25% - 0.5625rem);
  }

  .dash-kpi {
    padding: 1rem;
  }

  .dash-kpi-lbl {
    font-size: 0.6875rem;
  }

  .dash-kpi-val {
    font-size: 1.75rem;
  }

  .dash-table {
    font-size: 0.8125rem;
    overflow-x: hidden;
  }

  .dash-table table {
    min-width: 0;
  }

  .stock-matrix > * {
    width: calc(25% - 0.46875rem);
  }

  .stock-matrix > *:nth-child(2n) {
    margin-right: 0.625rem;
  }

  .stock-matrix > *:nth-child(4n) {
    margin-right: 0;
  }

  .stock-matrix > *:nth-last-child(-n+4) {
    margin-bottom: 0;
  }

  .stock-cell {
    padding: 0.875rem;
  }

  .stock-cell-val {
    font-size: 1.75rem;
  }

  .dash-card {
    padding: 1.25rem;
  }

  .transfer-map {
    height: 17.5rem;
  }

  .transfer-row {
    font-size: 0.8125rem;
    line-height: 1.875rem;
    padding: 0.75rem;
  }

  .transfer-row .dash-pill {
    display: inline-block;
    float: right;
    margin-left: 0.75rem;
    margin-top: 0;
  }

  .transfer-row .transfer-eta {
    display: inline-block;
    float: right;
    font-size: 0.75rem;
    margin-right: 0.75rem;
    margin-top: 0;
  }

  .transfer-row .dash-tag {
    margin-right: 1rem;
  }

  .dash-campaigns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .dash-campaigns .dash-card {
    flex: 0 0 calc(33.333% - 0.5rem);
  }

  .donors-phones {
    height: 35rem;
  }

  .phone-device {
    width: 15.5rem;
    height: 31.875rem;
    padding: 0.4375rem;
    border-radius: 2.375rem;
  }

  .phone-screen {
    border-radius: 1.875rem;
  }

  .phone-notch {
    width: 6.25rem;
    height: 1.375rem;
    border-radius: 0.875rem;
  }

  .phone-card-impact {
    margin: 0.875rem 0.875rem 0;
    padding: 1rem;
  }

  .phone-big-num {
    font-size: 2.625rem;
  }

  .phone-card-elig {
    margin: 0.875rem 0.875rem 0;
    padding: 0.875rem;
  }

  .phone-badges-section {
    padding: 0.875rem 0.875rem 0;
  }

  .phone-badge {
    height: 3.125rem;
  }

  .phone-badge span:first-child {
    font-size: 0.8125rem;
  }

  .phone-bottom-bar {
    padding: 0.875rem;
  }

  .phone-topbar {
    padding: 0.25rem 1.125rem 0;
  }

  .phone-card-campaign {
    margin: 1rem 0.875rem 0;
    padding: 0.875rem;
  }

  .phone-group {
    font-size: 1.75rem;
  }

  .phone-map {
    height: 6rem;
    margin: 0.75rem 0.875rem 0;
  }

  .phone-cta-row {
    padding: 0.875rem 0.875rem 0;
  }

  .phone-cta {
    font-size: 0.75rem;
    height: 2.375rem;
  }

  .phone-header-greeting {
    padding: 0.5rem 1.125rem 0;
  }

  .vision-sticky {
    position: sticky;
    top: 100px;
  }

  .invest-cta {
    padding: 3rem;
  }

  .invest-cta-actions {
    margin-top: 0;
  }

  .invest-cta-actions .btn {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
    margin-left: 0.625rem;
  }

  .footer-custom > .container > .row {
    --bs-gutter-x: 3rem;
  }

  .footer-bottom {
    text-align: left;
    overflow: hidden;
  }

  .footer-bottom-left {
    float: left;
    margin-bottom: 0;
  }

  .footer-bottom-right {
    float: right;
  }

  .footer-bottom-right a {
    margin-left: 1.5rem;
    margin-right: 0;
  }

  .form-card {
    padding: 2.5rem;
  }

  .kpi-row .kpi-item {
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }

  .kpi-row .row > [class*="col"]:nth-child(2n) .kpi-item {
    border-right: 1px solid var(--border-color);
  }

  .kpi-row .row > [class*="col"]:last-child .kpi-item {
    border-right: none;
  }

  .arch {
    padding: 2.25rem 2.5rem;
  }

  .arch-flow .row > [class*="col"] + [class*="col"] .arch-flow-cell {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .module-card h2 {
    font-size: 2.25rem;
  }

  .traction-grid {
    font-size: 0;
  }

  .traction-cell {
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 3);
    font-size: 1rem;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }

  .traction-cell:last-child {
    border-right: none;
  }

  .impact-cta {
    flex-wrap: nowrap;
  }

  .app-screen-wrap {
    margin-bottom: 0;
  }

  .pain-row .pain-card {
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }

  .pain-row .row > [class*="col"]:last-child .pain-card {
    border-right: none;
  }

  .pain-row-dark .pain-card {
    border-color: rgba(255, 255, 255, 0.08);
  }

  .testi-pull blockquote {
    font-size: 2rem;
  }

  .eligibility-card {
    padding: 4rem;
  }
}

@media (min-width: 1200px) {
  nav .offcanvas {
    position: static;
    visibility: visible !important;
    transform: none;
    width: auto;
    border: 0;
    background: none;
    box-shadow: none;
  }

  nav .offcanvas-header {
    display: none;
  }

  nav .offcanvas-body {
    padding: 0;
    overflow: visible;
  }

  .menu-navigation-menu-container {
    margin: 0 auto;
  }

  nav .navbar-collapse .navbar-nav .menu-item {
    display: inline-block;
  }

  nav .navbar-collapse .navbar-nav .menu-item a {
    display: inline-block;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
    border-radius: var(--r-md);
  }

  nav .navbar-collapse .navbar-nav .menu-item a:hover {
    background: var(--red-tint);
    color: var(--primary);
  }

  nav .navbar-collapse .navbar-cta {
    padding: 0;
  }

  nav .navbar-collapse .navbar-cta .nav-lang {
    display: inline-block;
    margin-bottom: 0;
  }

  nav .navbar-collapse .navbar-cta .btn {
    display: inline-block;
    width: auto;
    margin: 0 0 0 0.5rem;
  }
}


/* ── WP admin-bar — décaler la nav sticky ─────────────────── */
body.admin-bar .navbar.sticky-top {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar.sticky-top {
    top: 46px;
  }
}


/* ── Gravity Forms overrides (WP only) ────────────────────── */

/* Footer newsletter */
.footer-custom .gform_wrapper { margin-top: var(--space-1); }
.footer-custom .gform_wrapper .gform_body .gform_fields { display: flex; align-items: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.footer-custom .gform_wrapper .gfield { flex: 1; margin: 0; padding: 0; }
.footer-custom .gform_wrapper .gfield input[type="email"],
.footer-custom .gform_wrapper .gfield input[type="text"] { background: rgba(255, 255, 255, 0.04); width: 100%; line-height: 2.375rem; padding: 0 0.75rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-md); font-size: 0.875rem; color: var(--ink-0); }
.footer-custom .gform_wrapper .gfield input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-custom .gform_wrapper .gfield input:focus { border-color: var(--red-400); outline: none; }
.footer-custom .gform_wrapper .gform_footer,
.footer-custom .gform_wrapper .gform_page_footer { margin: 0; padding: 0; }
.footer-custom .gform_wrapper .gform_footer input[type="submit"],
.footer-custom .gform_wrapper .gform_button { flex-shrink: 0; padding: 0.5rem 0.875rem; }
.footer-custom .gform_wrapper .gfield_label,
.footer-custom .gform_wrapper .gfield_description,
.footer-custom .gform_wrapper .gform_validation_errors { display: none; }
.footer-custom .gform_wrapper form { display: flex; align-items: center; gap: 0.5rem; }

/* Contact / CTA form card */
#custom-form .gform_wrapper { margin: 0; padding: 0; }
#custom-form .gform_wrapper .gform_body .gform_fields { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.125rem; }
#custom-form .gform_wrapper .gfield { flex: 0 0 100%; }
#custom-form .gform_wrapper .gfield.half { flex: 0 0 calc(50% - 0.5625rem); }
#custom-form .gform_wrapper .gfield_label { display: block; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; margin-bottom: var(--space-2); color: var(--text-muted); }
#custom-form .gform_wrapper .gfield input[type="text"],
#custom-form .gform_wrapper .gfield input[type="email"],
#custom-form .gform_wrapper .gfield select,
#custom-form .gform_wrapper .gfield textarea { background: var(--bg-body); font-family: inherit; font-size: 0.9375rem; line-height: 2.75rem; width: 100%; padding: 0 0.875rem; border: 1px solid var(--border-strong); border-radius: var(--r-md); outline: none; color: var(--text-main); transition: border-color 0.15s, box-shadow 0.15s; }
#custom-form .gform_wrapper .gfield input:focus,
#custom-form .gform_wrapper .gfield select:focus,
#custom-form .gform_wrapper .gfield textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(190, 3, 22, 0.08); }
#custom-form .gform_wrapper .gfield textarea { line-height: 1.5; padding: 0.75rem 0.875rem; min-height: 7.5rem; resize: vertical; }
#custom-form .gform_wrapper .gfield select { appearance: none; cursor: pointer; }
#custom-form .gform_wrapper .gform_footer input[type="submit"],
#custom-form .gform_wrapper .gform_button { display: block; font-weight: 600; width: 100%; margin-top: var(--space-4); line-height: calc(48px - 2px); background: var(--primary); border: 1px solid var(--primary); border-radius: var(--r-md); color: var(--ink-0); cursor: pointer; transition: background 0.15s; }
#custom-form .gform_wrapper .gform_footer input[type="submit"]:hover,
#custom-form .gform_wrapper .gform_button:hover { background: var(--red-600); border-color: var(--red-600); }
#custom-form .gform_wrapper .gfield_validation_message { font-size: 0.75rem; color: var(--primary); margin-top: var(--space-1); }
