/* Polices hébergées sur le site (IBM Plex, licence SIL OFL) : aucune requête vers un service tiers */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/plex-sans-400i.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plex-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plex-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plex-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plex-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plex-mono-600.woff2') format('woff2'); }
/* ══════════════════════════════════════════════
   DiuECHOGO — Design System v4 "Écran d'Écho"
   Fonts : IBM Plex Sans + IBM Plex Mono
   Palette : Echo Blue × Blanc Clinique
   ══════════════════════════════════════════════ */

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

/* ── Tokens ──────────────────────────────────── */
:root {
  /* Palette principale */
  --echo:      #0B84C8;   /* bleu écho — couleur d'écran ultrason */
  --echo-d:    #0970AA;
  --echo-l:    #E8F4FC;
  --echo-xl:   #F2F8FD;
  --echo-cyan: #22D3EE;   /* highlight électrique */
  --navy:      #0A2340;   /* bleu profond pour titres */
  --navy-60:   #2E5272;
  --navy-40:   #6688A4;
  --navy-20:   #A8C0D0;

  /* Surfaces — claires, cliniques */
  --surface:   #EEF5FB;   /* fond général très légèrement bleuté */
  --surface-2: #DCE9F5;
  --card:      #FFFFFF;
  --border:    #C0D8EC;
  --border-l:  #D8EAFA;

  /* Feedback */
  --green:  #059669;
  --red:    #DC2626;
  --amber:  #D97706;

  /* Ombres bleues */
  --shadow-sm: 0 1px 4px rgba(11,132,200,.07);
  --shadow:    0 3px 14px rgba(11,132,200,.1);
  --shadow-lg: 0 12px 40px rgba(11,132,200,.15);

  /* Shape — précis */
  --radius:    4px;
  --radius-xl: 8px;

  /* Rétrocompat */
  --blue:      var(--echo);
  --blue-d:    var(--echo-d);
  --blue-l:    var(--echo-l);
  --teal:      var(--echo);
  --teal-d:    var(--echo-d);
  --teal-l:    var(--echo-l);
  --teal-xl:   var(--echo-xl);
  --gray-50:   var(--surface);
  --gray-100:  var(--surface-2);
  --gray-200:  var(--border);
  --gray-400:  var(--navy-20);
  --gray-500:  var(--navy-40);
  --gray-700:  var(--navy-60);
  --gray-900:  var(--navy);
  --white:     #FFFFFF;
  --ink:       var(--navy);
  --ink-60:    var(--navy-60);
  --ink-40:    var(--navy-40);
  --parchment: var(--surface);
  --parchment-d: var(--surface-2);
  --rule:      var(--border);
  --rule-l:    var(--border-l);
  --night:     var(--navy);
}

/* ── Dark mode ───────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface:   #0D1E2E;
    --surface-2: #142535;
    --card:      #142535;
    --border:    #1E3A52;
    --border-l:  #192E44;
    --navy:      #D0E8F8;
    --navy-60:   #90B8D0;
    --navy-40:   #608090;
    --gray-50:  #0D1E2E; --gray-100: #142535;
    --gray-200: #1E3A52; --gray-400: #608090;
    --gray-500: #90B8D0; --gray-700: #90B8D0;
    --gray-900: #D0E8F8; --white:    #142535;
  }
}
:root[data-theme="dark"] {
  --surface:   #0D1E2E;
  --surface-2: #142535;
  --card:      #142535;
  --border:    #1E3A52;
  --border-l:  #192E44;
  --navy:      #D0E8F8;
  --navy-60:   #90B8D0;
  --navy-40:   #608090;
  --gray-50:  #0D1E2E; --gray-100: #142535;
  --gray-200: #1E3A52; --gray-400: #608090;
  --gray-500: #90B8D0; --gray-700: #90B8D0;
  --gray-900: #D0E8F8; --white:    #142535;
}

/* ── Base ────────────────────────────────────── */
body {
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  color: var(--navy);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Boutons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.4rem; border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: .84rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .18s; white-space: nowrap; letter-spacing: .02em;
}
.btn-primary { background: var(--echo); color: #fff; }
.btn-primary:hover { background: var(--echo-d); box-shadow: 0 4px 14px rgba(11,132,200,.35); }
.btn-ghost {
  background: transparent; color: var(--navy-60);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--echo); color: var(--echo); background: var(--echo-xl); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: .88; }
.btn-lg { padding: .85rem 2rem; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-white { background: #fff; color: var(--echo); }
.btn-white:hover { background: var(--echo-l); }
.btn-dark { background: var(--navy); color: #fff; border-radius: var(--radius); }
.btn-dark:hover { background: var(--navy-60); }

/* ── Navbar ──────────────────────────────────── */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border-l);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 8px rgba(11,132,200,.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 2rem; min-height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo-block { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-logo-icon { flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em;
}
.nav-logo-accent { color: var(--echo); }
.nav-logo-sub {
  font-size: .56rem; font-weight: 500; color: var(--navy-20);
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: .05rem; flex: 1; justify-content: center; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .45rem .7rem; border-radius: var(--radius);
  font-size: .8rem; font-weight: 500;
  color: var(--navy-60); transition: all .15s;
  text-decoration: none; white-space: nowrap;
}
.nav-link:hover { background: var(--echo-xl); color: var(--echo); }
.nav-link.active { background: var(--echo-l); color: var(--echo); font-weight: 600; }
.nav-link-support { color: var(--green); }
.nav-link-support:hover { background: rgba(5,150,105,.07); color: var(--green); }
.nav-admin { color: #7C3AED; }
.nav-admin:hover { background: #F5F3FF; color: #6D28D9; }

.nav-actions { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.nav-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius);
  background: transparent; border: none; cursor: pointer;
  color: var(--navy-40); transition: all .15s;
}
.nav-icon-btn:hover { background: var(--echo-xl); color: var(--echo); }
.nav-logout:hover { background: #FEF2F2; color: var(--red); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--echo); color: #fff;
  font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-logo-sub { display: none; }
  .nav-link span { display: none; }
  .nav-link { padding: .45rem .5rem; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 1.25rem; }
  .nav-links { display: none; }
}

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--border-l);
  font-weight: 600; font-size: .875rem;
  display: flex; align-items: center; gap: .5rem;
  color: var(--navy-60);
}

/* ── Forms ───────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .4rem; color: var(--navy-60); }
.form-input {
  width: 100%; padding: .65rem .9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: inherit;
  background: var(--card); color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus {
  outline: none; border-color: var(--echo);
  box-shadow: 0 0 0 3px rgba(11,132,200,.12);
}
.form-error { color: var(--red); font-size: .8rem; margin-top: .3rem; }

/* ── Alertes ─────────────────────────────────── */
.alert { padding: .85rem 1rem; border-radius: var(--radius); font-size: .875rem; margin-bottom: 1rem; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-info    { background: var(--echo-l); color: var(--echo-d); border: 1px solid var(--border); }

/* ── Layout ──────────────────────────────────── */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 480px;  margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 720px;  margin: 0 auto; padding: 0 1.5rem; }
.page         { padding: 2.5rem 0 4rem; }
.page-center  { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Stats cards ─────────────────────────────── */
.stat-card { background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius-xl); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.stat-icon { width: 38px; height: 38px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; font-size: 1.1rem; }
.stat-value { font-family: 'IBM Plex Mono', monospace; font-size: 1.7rem; font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .72rem; color: var(--navy-40); margin-top: .15rem; text-transform: uppercase; letter-spacing: .07em; }

/* ── QCM ─────────────────────────────────────── */
.qcm-card { background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); }
.qcm-progress { height: 4px; background: var(--surface-2); border-radius: 99px; margin-bottom: 1.5rem; }
.qcm-progress-bar { height: 100%; background: var(--echo); border-radius: 99px; transition: width .3s; }
.qcm-question { font-size: 1.05rem; font-weight: 500; margin-bottom: 1.5rem; line-height: 1.7; }
.qcm-choices { display: flex; flex-direction: column; gap: .65rem; }
.qcm-choice {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: all .15s;
  font-size: .925rem; background: var(--card);
}
.qcm-choice:hover { border-color: var(--echo); background: var(--echo-xl); }
.qcm-choice input[type="radio"], .qcm-choice input[type="checkbox"] { display: none; }
.qcm-radio.is-check { border-radius: 4px; }
.qcm-choice.selected .qcm-radio.is-check::after { content: '✓'; width: auto; height: auto; background: none; border-radius: 0; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; }
.qcm-choice.selected { border-color: var(--echo); background: var(--echo-l); }
.qcm-choice.correct  { border-color: var(--green); background: rgba(5,150,105,.07); }
.qcm-choice.wrong    { border-color: var(--red); background: #FEF2F2; }
.qcm-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy-20); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.qcm-choice.selected .qcm-radio { border-color: var(--echo); background: var(--echo); }
.qcm-choice.selected .qcm-radio::after { content: ''; width: 7px; height: 7px; background: #fff; border-radius: 50%; }

/* ── Paywall ─────────────────────────────────── */
.paywall-wrapper { position: relative; }
.paywall-overlay { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: center; padding-top: 4rem; backdrop-filter: blur(6px); background: rgba(238,245,251,.7); }
.paywall-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2.5rem; max-width: 420px; width: 100%; text-align: center; }
.paywall-icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--echo-l); color: var(--echo); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 1.25rem; }
.paywall-price { font-family: 'IBM Plex Mono', monospace; font-size: 2.8rem; font-weight: 500; color: var(--navy); }
.paywall-price span { font-size: 1rem; font-weight: 400; color: var(--navy-40); font-family: inherit; }
.paywall-features { text-align: left; background: var(--surface); border-radius: var(--radius); padding: 1rem; margin: 1.25rem 0; }
.paywall-features li { list-style: none; font-size: .875rem; color: var(--navy-60); padding: .3rem 0; display: flex; align-items: center; gap: .5rem; }
.paywall-features li::before { content: '✓'; color: var(--echo); font-weight: 700; }
.blurred { pointer-events: none; user-select: none; }

/* ════════════════════════════════════════════════
   LANDING PAGE — "Écran d'Écho"
   ════════════════════════════════════════════════ */

/* ── Hero : fond blanc-bleu avec onde d'écho ── */
.hero {
  background: var(--surface);
  position: relative; overflow: hidden;
  padding: 0;
}

/* Grille de fond inspirée écran écho */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,132,200,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,132,200,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Gradient de lumière douce en haut à droite */
.hero::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,132,200,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 460px;
  min-height: 85vh; position: relative; z-index: 1; align-items: center;
  gap: 3rem;
}

/* Colonne gauche */
.hero-left { padding: 5rem 0; }

.hero-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--echo);
  background: var(--echo-l); border: 1px solid var(--border);
  padding: .3rem .8rem; border-radius: var(--radius);
  margin-bottom: 2rem;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--echo); display: block;
  box-shadow: 0 0 6px rgba(11,132,200,.6);
}

.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700; line-height: 1.1;
  color: var(--navy); letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--echo) 0%, var(--echo-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem; color: var(--navy-60);
  max-width: 460px; margin-bottom: 2.5rem; line-height: 1.75;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--border-l);
  padding-top: 2rem;
}
.hero-stat { padding-right: 1.5rem; }
.hero-stat:last-child { padding-right: 0; }
.hero-stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem; font-weight: 500; color: var(--navy);
  letter-spacing: -.02em;
}
.hero-stat-label {
  font-size: .62rem; color: var(--navy-40);
  text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem;
}

/* Colonne droite — visualisation type écho */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 0;
}
.echo-visual {
  width: 420px; height: 420px;
  position: relative; flex-shrink: 0;
}

/* Affichage façon écran ultrason */
.echo-screen {
  width: 100%; height: 100%;
  background: #0A1E30;
  border-radius: 12px;
  border: 2px solid #1A3A5C;
  box-shadow:
    0 0 0 1px #0D2840,
    0 20px 60px rgba(11,132,200,.25),
    inset 0 0 60px rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}

/* Lignes de scan horizontales (effet CRT écho) */
.echo-screen::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,.12) 3px,
    rgba(0,0,0,.12) 4px
  );
  pointer-events: none; z-index: 10;
}

/* Lueur d'écran */
.echo-screen::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(11,132,200,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Secteur d'écho — ondes de balayage */
.echo-sector {
  position: absolute; bottom: 10%; left: 50%;
  transform: translateX(-50%);
  width: 90%; height: 85%;
}
.echo-arc {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  border: 1px solid;
  transform-origin: bottom center;
}
.echo-arc:nth-child(1) { width: 20%;  height: 20%;  border-color: rgba(11,132,200,.12); }
.echo-arc:nth-child(2) { width: 35%;  height: 35%;  border-color: rgba(11,132,200,.18); }
.echo-arc:nth-child(3) { width: 50%;  height: 50%;  border-color: rgba(11,132,200,.22); }
.echo-arc:nth-child(4) { width: 65%;  height: 65%;  border-color: rgba(11,132,200,.18); }
.echo-arc:nth-child(5) { width: 80%;  height: 80%;  border-color: rgba(11,132,200,.13); }
.echo-arc:nth-child(6) { width: 95%;  height: 95%;  border-color: rgba(11,132,200,.08); }

/* Zones anatomiques simulées */
.echo-blob {
  position: absolute; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  opacity: .15;
}
.echo-blob-1 { width: 38%; height: 28%; background: #38BDF8; bottom: 32%; left: 28%; opacity: .18; }
.echo-blob-2 { width: 24%; height: 20%; background: #93C5FD; bottom: 44%; left: 54%; opacity: .12; border-radius: 50%; }
.echo-blob-3 { width: 55%; height: 8%; background: #0EA5E9; bottom: 20%; left: 22%; opacity: .08; border-radius: 50%; }

/* Ligne de balayage animée */
.echo-scanline {
  position: absolute; bottom: 10%; left: 50%;
  width: 1px; height: 85%; transform-origin: bottom center;
  background: linear-gradient(to top, rgba(34,211,238,.8), transparent);
  animation: scan 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34,211,238,.5);
}
@keyframes scan {
  0%   { transform: rotate(-45deg); opacity: .9; }
  50%  { transform: rotate( 45deg); opacity: .6; }
  100% { transform: rotate(-45deg); opacity: .9; }
}

/* Texte overlay sur l'écran */
.echo-overlay {
  position: absolute; top: .75rem; left: .75rem; right: .75rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  z-index: 11;
}
.echo-info {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .58rem; color: rgba(34,211,238,.7);
  line-height: 1.6; letter-spacing: .04em;
}
.echo-info-r { text-align: right; }

/* Badges métriques */
.echo-metrics {
  position: absolute; bottom: .75rem; left: .75rem; right: .75rem;
  display: flex; gap: .5rem; z-index: 11;
}
.echo-metric {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .56rem; color: rgba(34,211,238,.65);
  background: rgba(11,132,200,.12);
  border: 1px solid rgba(11,132,200,.2);
  padding: .2rem .5rem; border-radius: 2px;
  letter-spacing: .03em;
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 0 1.25rem; }
  .hero-left { padding: 3rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

/* ── Disclaimer ──────────────────────────────── */
.disclaimer-bar {
  background: #FFFBEB; border-top: 2px solid #FCD34D; border-bottom: 2px solid #FCD34D;
  padding: .85rem 0;
}

/* ── Features ────────────────────────────────── */
.features { background: #fff; padding: 6rem 0; }

.features-header {
  text-align: center; margin-bottom: 4rem;
}
.features-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--echo);
  margin-bottom: 1rem;
}
.features-eyebrow::before, .features-eyebrow::after {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--border);
}
.features h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  color: var(--navy); margin-bottom: .75rem; letter-spacing: -.02em;
}
.features-sub { color: var(--navy-60); max-width: 500px; margin: 0 auto; line-height: 1.75; }

/* Cards avec indicateur écho à gauche */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border-l);
  border-top: 3px solid var(--echo);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  transition: box-shadow .2s, transform .2s, border-top-color .2s;
  position: relative;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-top-color: var(--echo-cyan);
}
.feature-icon { font-size: 1.5rem; margin-bottom: .9rem; }
.feature-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .45rem; color: var(--navy); }
.feature-card p  { font-size: .84rem; color: var(--navy-60); line-height: 1.65; }

/* Feature list (alternative layout) */
.feature-item { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid var(--border-l); }
.feature-item:nth-child(even) { padding: 1.75rem 0 1.75rem 2rem; border-left: 1px solid var(--border-l); }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }
.feature-item-num { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; color: var(--echo); letter-spacing: .06em; margin-bottom: .6rem; }
.feature-item h3 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.feature-item p { font-size: .84rem; color: var(--navy-60); line-height: 1.65; }
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

/* ── CTA ─────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 6rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
/* Ondes écho en arrière-plan */
.cta-section::before {
  content: '';
  position: absolute; bottom: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(11,132,200,.12),
    0 0 0 60px rgba(11,132,200,.06),
    0 0 0 130px rgba(11,132,200,.04),
    0 0 0 220px rgba(11,132,200,.025);
  pointer-events: none;
}
.cta-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .64rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--echo-cyan);
  margin-bottom: 1.25rem; position: relative;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  color: #E0F0FF; margin-bottom: .75rem; letter-spacing: -.02em; position: relative;
}
.cta-section p { color: rgba(224,240,255,.55); margin-bottom: 2.5rem; position: relative; }

/* ── Footer ──────────────────────────────────── */
.footer { background: #060F1A; color: rgba(224,240,255,.35); padding: 4rem 0 2.5rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: rgba(224,240,255,.8); letter-spacing: -.02em; }
.footer-logo span { color: var(--echo); }
.footer-brand p { font-size: .84rem; margin-top: .4rem; }
.footer-links { display: flex; gap: 1.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; letter-spacing: .04em; transition: color .15s; }
.footer-links a:hover { color: rgba(224,240,255,.8); }
.footer-copy { font-size: .75rem; border-top: 1px solid rgba(255,255,255,.05); padding-top: 1.5rem; margin-top: .5rem; }

/* ── Pricing ─────────────────────────────────── */
.pricing { padding: 5rem 0; background: var(--surface); }
.pricing h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 3rem; }
.pricing-card { background: var(--card); border: 2px solid var(--echo); border-radius: var(--radius-xl); padding: 2.5rem; max-width: 420px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.pricing-amount { font-family: 'IBM Plex Mono', monospace; font-size: 3.5rem; font-weight: 500; color: var(--navy); }
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--navy-40); font-family: inherit; }
.pricing-features { list-style: none; margin: 1.5rem 0; }
.pricing-features li { padding: .5rem 0; display: flex; align-items: center; gap: .6rem; font-size: .9rem; border-bottom: 1px solid var(--border-l); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--echo); font-weight: 700; }

/* ── Tables ──────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th { text-align: left; padding: .7rem 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-40); border-bottom: 2px solid var(--border); }
td { padding: .8rem 1rem; border-bottom: 1px solid var(--border-l); color: var(--navy-60); }
tr:hover td { background: var(--echo-xl); }

/* ── Badges ──────────────────────────────────── */
.badge { display: inline-block; padding: .18rem .55rem; border-radius: 3px; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge-green { background: rgba(5,150,105,.1); color: var(--green); }
.badge-gray  { background: var(--surface-2); color: var(--navy-40); }
.badge-blue  { background: var(--echo-l); color: var(--echo-d); }
.badge-red   { background: #FEF2F2; color: var(--red); }

/* ── Nav progress badge ──────────────────────── */
.nav-progress-badge {
  display: flex; align-items: center; gap: .4rem;
  background: var(--echo-l); border-radius: var(--radius);
  padding: .25rem .75rem; font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem; font-weight: 500; color: var(--echo);
  position: relative; overflow: hidden;
  border: 1px solid var(--border); min-width: 60px;
  text-decoration: none; transition: opacity .15s;
}
.nav-progress-badge:hover { opacity: .8; }
.nav-progress-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(11,132,200,.1); transition: width .4s; }
.nav-progress-text { position: relative; z-index: 1; }

/* ── Admin layout ────────────────────────────── */
.admin-layout { display: flex; min-height: calc(100vh - 58px); }
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--navy); padding: 1.5rem 0;
  border-right: 1px solid rgba(255,255,255,.05);
}
.admin-sidebar-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1.25rem; color: rgba(224,240,255,.4); font-size: .82rem;
  transition: background .15s, color .15s;
}
.admin-sidebar-link:hover { background: rgba(11,132,200,.1); color: rgba(224,240,255,.85); }
.admin-sidebar-link.active { background: rgba(11,132,200,.18); color: var(--echo-cyan); }
.admin-content { flex: 1; padding: 2rem; overflow: auto; }

/* ── Correction : propositions Vrai / Faux expliquées ── */
.rv-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0 0; padding: 0; }
.rv-item { display: grid; grid-template-columns: 1.9rem 1fr auto; gap: .65rem; align-items: start; padding: .7rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.rv-letter { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; font-weight: 600; width: 1.7rem; height: 1.7rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--surface-2); color: var(--navy-60); }
.rv-text { font-size: .92rem; line-height: 1.5; font-weight: 500; }
.rv-note { font-size: .82rem; line-height: 1.55; color: var(--navy-60); margin-top: .2rem; }
.rv-verdict { font-weight: 700; }
.rv-flag { font-size: .7rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; padding: .15rem .5rem; border-radius: 3px; background: var(--surface-2); color: var(--navy-60); }
.rv-item.is-true  .rv-verdict { color: var(--green); }
.rv-item.is-false .rv-verdict { color: var(--red); }
.rv-item.is-hit    { border-color: rgba(5,150,105,.55); background: rgba(5,150,105,.08); }
.rv-item.is-hit    .rv-flag { background: rgba(5,150,105,.18); color: var(--green); }
.rv-item.is-missed { border-color: rgba(217,119,6,.55); background: rgba(217,119,6,.08); }
.rv-item.is-missed .rv-flag { background: rgba(217,119,6,.18); color: var(--amber); }
.rv-item.is-wrong  { border-color: rgba(220,38,38,.5); background: rgba(220,38,38,.07); }
.rv-item.is-wrong  .rv-flag { background: rgba(220,38,38,.16); color: var(--red); }
.rv-source { margin-top: .6rem; font-size: .72rem; color: var(--navy-40); }
.rv-retenir { margin-top: .9rem; padding: .75rem 1rem; border-left: 3px solid var(--echo); background: var(--echo-xl); font-size: .86rem; line-height: 1.6; border-radius: 0 var(--radius) var(--radius) 0; }
.rv-retenir b { color: var(--echo-d); margin-right: .35rem; }
@media (max-width: 520px) { .rv-item { grid-template-columns: 1.9rem 1fr; } .rv-flag { grid-column: 2; justify-self: start; } }

/* ══════════════════════════════════════════════
   Espace candidat — navigation, accueil, suivi
   ══════════════════════════════════════════════ */

/* Menu du compte */
.usermenu { position: relative; }
.usermenu > summary { list-style: none; cursor: pointer; }
.usermenu > summary::-webkit-details-marker { display: none; }
.usermenu[open] > summary { box-shadow: 0 0 0 3px rgba(11,132,200,.25); }
.usermenu-panel {
  position: absolute; right: 0; top: calc(100% + .55rem); z-index: 80;
  min-width: 250px; padding: .4rem; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.usermenu-who { display: flex; flex-direction: column; padding: .6rem .75rem .7rem; margin-bottom: .3rem; border-bottom: 1px solid var(--border-l); }
.usermenu-who strong { font-size: .88rem; }
.usermenu-who span { font-size: .75rem; color: var(--navy-40); overflow: hidden; text-overflow: ellipsis; }
.usermenu-panel a, .usermenu-panel button {
  display: flex; align-items: center; gap: .55rem; padding: .5rem .75rem;
  font: inherit; font-size: .85rem; color: var(--navy-60); text-align: left; text-decoration: none;
  background: none; border: none; border-radius: var(--radius); cursor: pointer;
}
.usermenu-panel a:hover, .usermenu-panel button:hover { background: var(--echo-xl); color: var(--echo); }
.usermenu-panel .usermenu-out { margin-top: .3rem; color: var(--red); border-top: 1px solid var(--border-l); border-radius: 0 0 var(--radius) var(--radius); padding-top: .65rem; }
.usermenu-panel .usermenu-out:hover { background: rgba(220,38,38,.07); color: var(--red); }

/* Barre d'onglets mobile */
.tabbar { display: none; }
@media (max-width: 768px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--card); border-top: 1px solid var(--border);
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(11,132,200,.08);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem 0; font-size: .66rem; font-weight: 600; color: var(--navy-40); text-decoration: none; border-radius: var(--radius); }
  .tabbar a.on { color: var(--echo); background: var(--echo-xl); }
  .next-actions { flex-direction: column; }
  .next-actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Pages de l'espace candidat */
.app { max-width: 1040px; margin: 0 auto; padding: 1.75rem 1.5rem 4rem; }
.app-head h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.app-head p { color: var(--navy-60); font-size: .9rem; margin-top: .25rem; max-width: 640px; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--echo); }
.num { font-family: 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }

/* Bloc « à faire maintenant » */
.next {
  position: relative; overflow: hidden; margin-top: 1.25rem; padding: 1.75rem 2rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
}
.next::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,132,200,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,132,200,.06) 1px, transparent 1px);
  background-size: 30px 30px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.next > * { position: relative; }
.next h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: .4rem 0 .4rem; }
.next p { color: var(--navy-60); font-size: .9rem; max-width: 520px; }
.next-progress { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; max-width: 420px; font-size: .78rem; color: var(--navy-60); }
.next-progress .bar { flex: 1; }
.next-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { transform: rotate(-90deg); }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-c b { font-family: 'IBM Plex Mono', monospace; font-size: 1.65rem; font-weight: 500; line-height: 1; }
.ring-c span { margin-top: .3rem; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-40); }

/* Accès rapides */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.quick-card {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius-xl); transition: box-shadow .15s, transform .15s, border-color .15s;
}
.quick-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border); }
.quick-ico { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--echo-l); color: var(--echo); }
.quick-ico svg { width: 22px; height: 22px; }
.quick-card strong { display: block; font-size: .98rem; }
.quick-card span.d { display: block; font-size: .8rem; color: var(--navy-60); margin-top: .15rem; line-height: 1.5; }
.quick-card .meta { display: block; margin-top: .45rem; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; color: var(--echo); }

/* Panneaux */
.cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; margin-top: 1rem; }
.panel { background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius-xl); padding: 1.2rem 1.3rem; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.panel-head h2 { font-size: .95rem; font-weight: 700; }
.panel-head a { font-size: .78rem; font-weight: 600; color: var(--echo); }
.bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: var(--echo); }
.trow { display: grid; grid-template-columns: 104px 1fr 48px; gap: .75rem; align-items: center; padding: .55rem 0; color: inherit; text-decoration: none; }
.trow:hover .trow-name { color: var(--echo); }
.trow-name { font-size: .88rem; font-weight: 600; }
.trow-pct { text-align: right; font-size: .85rem; font-weight: 500; }
.trow-sub { grid-column: 2 / 4; margin-top: -.35rem; font-size: .72rem; color: var(--navy-40); }
.err-big { display: flex; align-items: baseline; gap: .5rem; }
.err-big b { font-family: 'IBM Plex Mono', monospace; font-size: 2.3rem; font-weight: 500; line-height: 1; }
.err-big span { font-size: .82rem; color: var(--navy-60); }
.err-list { list-style: none; margin: .8rem 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.err-list li { font-size: .82rem; color: var(--navy-60); line-height: 1.45; padding-left: .9rem; position: relative; }
.err-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: .7; }
.empty-note { font-size: .86rem; color: var(--navy-40); line-height: 1.6; }
.srow { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--border-l); font-size: .88rem; }
.srow:last-child { border-bottom: none; }
.srow small { display: block; color: var(--navy-40); font-size: .74rem; }
.srow a { font-size: .78rem; font-weight: 600; color: var(--echo); white-space: nowrap; }

/* Suivi */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; }
.stat { background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius-xl); padding: 1rem 1.15rem; }
.stat b { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.stat span { display: block; margin-top: .3rem; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--navy-40); }
.err-item { margin-top: .5rem; background: var(--card); border: 1px solid var(--border-l); border-radius: var(--radius); }
.err-item > summary { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start; padding: .7rem .9rem; cursor: pointer; list-style: none; }
.err-item > summary::-webkit-details-marker { display: none; }
.err-item > summary::after { content: '▾'; color: var(--navy-40); }
.err-item[open] > summary::after { content: '▴'; }
.err-item .err-text { font-size: .86rem; line-height: 1.5; }
.err-item .err-body { padding: 0 .9rem .9rem; }
.tag { display: inline-block; padding: .12rem .5rem; border-radius: 3px; font-size: .68rem; font-weight: 700; background: rgba(220,38,38,.12); color: var(--red); white-space: nowrap; }

/* Cartes de choix (S'entraîner) */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.pick .quick-card { flex-direction: column; gap: .6rem; }
.pick-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.pick-pct { font-family: 'IBM Plex Mono', monospace; font-size: 1.15rem; font-weight: 500; }
.builder { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem 1rem; align-items: end; padding: 1.1rem 0 .2rem; }
.builder label { display: block; margin-bottom: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-40); }
.builder select { width: 100%; padding: .5rem .6rem; font: inherit; font-size: .88rem; color: var(--navy); background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); }
.builder select:focus { outline: none; border-color: var(--echo); box-shadow: 0 0 0 3px rgba(11,132,200,.12); }
details.more > summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--echo); list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: '+ '; }
details.more[open] > summary::before { content: '– '; }

@media (max-width: 820px) {
  .next { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; }
  .ring { display: none; }
  .quick, .pick, .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .app { padding: 1.1rem 1rem 3rem; }
  .trow { grid-template-columns: 92px 1fr 44px; }
}

/* ── Utilities ───────────────────────────────── */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }  .mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: .875rem; } .text-xs { font-size: .75rem; }
.font-bold { font-weight: 700; }
.text-gray  { color: var(--navy-60); }
.text-blue  { color: var(--echo); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }

.hidden-mobile { display: flex; }
@media (max-width: 768px) {
  .hidden-mobile { display: none; }
  .admin-sidebar { display: none; }
  .paywall-overlay { padding: 1rem; }
  .features-list { grid-template-columns: 1fr; }
  .feature-item:nth-child(even) { padding: 1.75rem 0; border-left: none; }
}

/* ══════════════════════════════════════════════
   Mentions « non officiel », applications, formulaire d'inscription
   ══════════════════════════════════════════════ */
.unoff-box {
  background: #FFFBEB; border: 1px solid #FCD34D; border-left: 4px solid #D97706;
  border-radius: var(--radius-xl); padding: 1rem 1.25rem; margin: 0 0 1.5rem;
  color: #78350F; font-size: .88rem; line-height: 1.65;
}
.unoff-box strong { display: block; color: #92400E; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .25rem; }
.unoff-box p { margin: 0; }
.unoff-inline { font-size: .74rem; line-height: 1.55; color: var(--navy-40); margin: .75rem 0 0; }
.rv-source b { color: var(--navy-60); font-weight: 600; }

.apps-section { background: var(--surface); padding: 5rem 0; border-top: 1px solid var(--border-l); }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 760px; margin: 2rem auto 0; }
.app-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.app-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0; }
.app-card p { font-size: .85rem; line-height: 1.6; color: var(--navy-60); margin: 0; flex: 1; }
.app-card .app-state { font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--echo); }
.app-card .app-state.soon { color: var(--amber); }
.apps-note { text-align: center; font-size: .82rem; color: var(--navy-60); margin: 1.5rem auto 0; max-width: 560px; line-height: 1.6; }
@media (max-width: 640px) { .apps-grid { grid-template-columns: 1fr; } .apps-section { padding: 3.5rem 0; } }

.form-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .84rem; line-height: 1.55; color: var(--navy-60); margin-bottom: .75rem; cursor: pointer; }
.form-check input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; flex-shrink: 0; accent-color: var(--echo); }
.form-check a { color: var(--echo); font-weight: 600; }
.form-hint { font-size: .74rem; color: var(--navy-40); margin-top: .3rem; line-height: 1.5; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }
.hero-stat-value { white-space: nowrap; }
@media (max-width: 1100px) { .hero-stat-value { font-size: 1.3rem; } }