/**
 * LSRI — pages « shell » institutionnel (accueil + offres, etc.).
 * Scoped : classes sur body (lsri-home ou lsri-shell) — type terminal, sans casser le reste du site.
 */

body:is(.lsri-home, .lsri-shell) {
  --inst-bg: #060914;
  --inst-panel: rgba(12, 18, 36, 0.92);
  --inst-line: rgba(100, 116, 160, 0.35);
  --inst-muted: #94a3b8;
  --inst-heading: #f1f5f9;
  --inst-accent: #00d4aa;
  --inst-amber: #fbbf24;
  font-feature-settings: "tnum" 1, "lnum" 1;
  background: radial-gradient(1200px 600px at 50% -20%, rgba(0, 212, 170, 0.08), transparent 55%),
    linear-gradient(165deg, var(--inst-bg) 0%, #0c1228 45%, #0a0e27 100%);
  color: var(--inst-heading);
}

/* Accueil : même squelette, palette « premium » bleue (lisibilité + CTA unifiés) */
body.lsri-home {
  --inst-accent: #62b8ff;
  background: radial-gradient(1180px 560px at 50% -22%, rgba(56, 130, 246, 0.15), transparent 58%),
    linear-gradient(165deg, #050814 0%, #0c152c 46%, #080c18 100%);
}

body.lsri-home header nav a.nav-current {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12) inset;
}

body.lsri-home #hero-cta-proof,
body.lsri-home #hero-cta-pricing {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 62%, #7dd3fc 100%);
  color: #f8fafc;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.38);
}

body.lsri-home #hero-cta-proof:hover,
body.lsri-home #hero-cta-pricing:hover {
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.48);
}

/* Hero « Voir les tarifs » : secondaire malgré l’id #hero-cta-terminal (gradient global main.css) */
body.lsri-home #hero-cta-terminal.cta-secondary {
  background: transparent !important;
  color: #e0f2fe !important;
  box-shadow: none !important;
  border: 1px solid rgba(125, 211, 252, 0.42);
}

body.lsri-home #hero-cta-terminal.cta-secondary:hover {
  background: rgba(59, 130, 246, 0.14) !important;
  box-shadow: none !important;
}

body.lsri-home .cta-button.cta-secondary {
  border-color: rgba(125, 211, 252, 0.42);
  color: #e0f2fe;
}

body.lsri-home .cta-button.cta-secondary:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(125, 211, 252, 0.65);
}

body.lsri-home .cta-button.cta-inst {
  background: transparent;
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #fde68a;
}

body.lsri-home .cta-button.cta-inst:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.65);
}

body.lsri-home nav.inst-trust {
  margin-top: 36px;
  padding-top: 4px;
}

body.lsri-home .inst-trust a:hover {
  border-color: rgba(96, 165, 250, 0.52);
  background: rgba(59, 130, 246, 0.1);
}

body.lsri-home .hero.hero-wow > .status-badge {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(12, 18, 36, 0.82);
  color: #93c5fd;
}

body.lsri-home .hero.hero-wow > .status-badge .status-dot {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

:is(.lsri-home, .lsri-shell) header {
  background: rgba(6, 9, 20, 0.92);
  border-bottom: 1px solid var(--inst-line);
  backdrop-filter: blur(14px);
}

/* Une seule rangée de menu sur desktop (évite deux lignes d’« onglets » quand le nav est chargé) */
@media (min-width: 751px) {
  :is(.lsri-home, .lsri-shell) header {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  :is(.lsri-home, .lsri-shell) nav {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
}

:is(.lsri-home, .lsri-shell) .logo {
  filter: saturate(1.05);
}

:is(.lsri-home, .lsri-shell) nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

:is(.lsri-home, .lsri-shell) nav a.nav-current {
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.12) inset;
}

/* Bandeau fil conducteur */
:is(.lsri-home, .lsri-shell) .inst-ribbon {
  border-bottom: 1px solid var(--inst-line);
  background: rgba(4, 8, 20, 0.75);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inst-muted);
  text-align: center;
  padding: 10px 18px;
}

:is(.lsri-home, .lsri-shell) .inst-ribbon strong {
  color: var(--inst-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Hero */
:is(.lsri-home, .lsri-shell) .hero {
  padding: 48px 24px 36px;
  max-width: 1120px;
  margin: 0 auto;
}

:is(.lsri-home, .lsri-shell) .hero .status-badge {
  border: 1px solid var(--inst-line);
  background: var(--inst-panel);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:is(.lsri-home, .lsri-shell) .hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 18px auto 0;
  text-align: center;
}

:is(.lsri-home, .lsri-shell) .hero-highlight {
  background: linear-gradient(120deg, #e2e8f0 0%, #cbd5e1 40%, var(--inst-accent) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

:is(.lsri-home, .lsri-shell) .problem-line {
  font-size: 15px;
  color: #a8b6d6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

:is(.lsri-home, .lsri-shell) .lsri-index-block {
  border: 1px solid var(--inst-line);
  background: var(--inst-panel);
  border-radius: 14px;
  padding: 16px 22px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Trust strip */
:is(.lsri-home, .lsri-shell) .inst-trust {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

:is(.lsri-home, .lsri-shell) .inst-trust a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--inst-line);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

:is(.lsri-home, .lsri-shell) .inst-trust a:hover {
  border-color: rgba(0, 212, 170, 0.55);
  color: var(--inst-accent);
  background: rgba(0, 212, 170, 0.06);
}

/* Metrics */
:is(.lsri-home, .lsri-shell) .hero-metrics {
  max-width: 1000px;
}

:is(.lsri-home, .lsri-shell) .hero-metric-card {
  background: var(--inst-panel);
  border: 1px solid var(--inst-line);
  border-radius: 12px;
}

:is(.lsri-home, .lsri-shell) .hero-metric-value {
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3vw, 30px);
  color: #f8fafc;
}

:is(.lsri-home, .lsri-shell) .hero-metric-label {
  color: var(--inst-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Chart / proof */
:is(.lsri-home, .lsri-shell) .chart-section {
  max-width: 1040px;
  margin: 32px auto;
  padding: 28px 22px 32px;
  border: 1px solid var(--inst-line);
  border-radius: 16px;
  background: var(--inst-panel);
}

:is(.lsri-home, .lsri-shell) .chart-eyebrow {
  color: var(--inst-accent) !important;
}

:is(.lsri-home, .lsri-shell) .chart-section-title {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
}

:is(.lsri-home, .lsri-shell) .chart-section-desc {
  color: #a8b6d6;
}

:is(.lsri-home, .lsri-shell) .chart-wrap {
  border: 1px solid rgba(100, 116, 160, 0.25);
  border-radius: 12px;
  background: rgba(4, 8, 20, 0.65);
  padding: 12px;
}

:is(.lsri-home, .lsri-shell) .chart-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: #8896b8;
  border-left: 3px solid rgba(251, 191, 36, 0.65);
  padding: 10px 12px;
  background: rgba(251, 191, 36, 0.06);
  border-radius: 0 8px 8px 0;
}

/* Bloc « stress documenté » (accueil) — ton audit, pas storytelling */
body.lsri-home .lsri-audit-panel {
  border: 1px solid var(--inst-line);
  border-radius: 16px;
  padding: 22px 20px 20px;
  background: rgba(4, 8, 20, 0.55);
  max-width: 920px;
}

body.lsri-home .lsri-anchor-statement {
  max-width: 720px;
  margin: 10px auto 0;
  padding: 0 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #94a3b8;
  line-height: 1.45;
}

body.lsri-home .anchor-metric-title {
  margin: 18px auto 0;
  padding: 0 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--inst-accent);
}

body.lsri-home .anchor-metric-sub {
  max-width: 640px;
  margin: 8px auto 0;
  padding: 0 18px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

body.lsri-home .anchor-metric-tie {
  max-width: 720px;
  margin: 14px auto 0;
  padding: 0 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #8896b8;
}

body.lsri-shell .offre-anchor-metric {
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 170, 0.22);
  background: rgba(0, 212, 170, 0.05);
  font-size: 12px;
  line-height: 1.5;
  color: #a8b6d8;
  max-width: 920px;
}

body.lsri-home .audit-reports {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.lsri-home .audit-report-card {
  border: 1px solid rgba(100, 116, 160, 0.32);
  border-radius: 12px;
  background: rgba(6, 10, 22, 0.72);
  overflow: hidden;
}

body.lsri-home .audit-report-head {
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(100, 116, 160, 0.22);
  background: rgba(4, 8, 20, 0.55);
}

body.lsri-home .audit-report-event {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
}

body.lsri-home .audit-report-period {
  margin: 0;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--inst-accent);
}

body.lsri-home .audit-report-dl {
  margin: 0;
  padding: 0;
}

body.lsri-home .audit-report-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 12px 18px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(100, 116, 160, 0.15);
  align-items: start;
}

body.lsri-home .audit-report-row:last-child {
  border-bottom: 0;
}

body.lsri-home .audit-report-row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8896b8;
}

body.lsri-home .audit-report-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}

body.lsri-home .audit-report-row-note dt,
body.lsri-home .audit-report-row-note dd {
  color: #94a3b8;
  font-size: 12px;
}

body.lsri-home .audit-events-link {
  color: var(--inst-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

body.lsri-home .audit-events-link:hover {
  text-decoration: underline;
}

body.lsri-home .audit-events-sep {
  color: #64748b;
}

@media (max-width: 560px) {
  body.lsri-home .audit-report-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Regimes + problem */
:is(.lsri-home, .lsri-shell) .compact-section .why-title,
:is(.lsri-home, .lsri-shell) .compact-section h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

:is(.lsri-home, .lsri-shell) .regime-card {
  border-color: var(--inst-line);
  background: rgba(8, 12, 28, 0.85);
}

/* Terminal mockup */
:is(.lsri-home, .lsri-shell) .terminal-mockup {
  border-color: rgba(0, 212, 170, 0.28);
  background: linear-gradient(155deg, #070d1c, #0f182e);
}

:is(.lsri-home, .lsri-shell) .terminal-cell {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, monospace;
  font-size: 12px;
}

/* How-to */
:is(.lsri-home, .lsri-shell) .how-to-section {
  border-top: 1px solid var(--inst-line);
  border-bottom: 1px solid var(--inst-line);
  background: rgba(5, 8, 18, 0.5);
}

:is(.lsri-home, .lsri-shell) .how-to-card {
  border: 1px solid var(--inst-line);
  background: var(--inst-panel);
}

/* Institutional actions */
:is(.lsri-home, .lsri-shell) .inst-actions {
  max-width: 1040px;
  margin: 36px auto 12px;
  padding: 0 18px;
}

:is(.lsri-home, .lsri-shell) .inst-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

:is(.lsri-home, .lsri-shell) .inst-action-card {
  border: 1px solid var(--inst-line);
  border-radius: 14px;
  padding: 22px 20px;
  background: var(--inst-panel);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:is(.lsri-home, .lsri-shell) .inst-action-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
}

:is(.lsri-home, .lsri-shell) .inst-action-card p {
  margin: 0;
  font-size: 13px;
  color: var(--inst-muted);
  line-height: 1.55;
  flex: 1;
}

:is(.lsri-home, .lsri-shell) .cta-button.cta-secondary {
  background: transparent;
  border: 1px solid rgba(0, 212, 170, 0.55);
  color: var(--inst-accent);
}

:is(.lsri-home, .lsri-shell) .cta-button.cta-secondary:hover {
  background: rgba(0, 212, 170, 0.12);
}

:is(.lsri-home, .lsri-shell) .cta-button.cta-inst {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.06));
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fef3c7;
}

:is(.lsri-home, .lsri-shell) .cta-button.cta-inst:hover {
  border-color: rgba(251, 191, 36, 0.85);
}

:is(.lsri-home, .lsri-shell) #hero-cta-inst {
  padding: 14px 22px;
  min-width: 200px;
  font-size: 14px;
  font-weight: 700;
}

:is(.lsri-home, .lsri-shell) .inst-action-card .cta-button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 20px;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

:is(.lsri-home, .lsri-shell) .final-cta {
  margin-top: 8px;
  margin-bottom: 32px;
}

:is(.lsri-home, .lsri-shell) footer {
  border-top: 1px solid var(--inst-line);
  background: rgba(4, 7, 16, 0.95);
  padding-top: 28px;
  padding-bottom: 28px;
}

:is(.lsri-home, .lsri-shell) footer p {
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 640px) {
  :is(.lsri-home, .lsri-shell) header {
    padding: 14px 16px;
  }
  :is(.lsri-home, .lsri-shell) .hero {
    padding-top: 28px;
  }
  :is(.lsri-home, .lsri-shell) .inst-trust {
    justify-content: flex-start;
  }
}

/* —— Offres (offre.html) —— */
body.lsri-shell .mode-status-bar {
  border: 1px solid var(--inst-line);
  background: rgba(4, 8, 20, 0.75);
  color: var(--inst-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.lsri-shell .hero-premium {
  background: var(--inst-panel);
  border: 1px solid var(--inst-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

body.lsri-shell .hero-title {
  color: var(--inst-heading);
  letter-spacing: -0.02em;
}

body.lsri-shell .hero-sub,
body.lsri-shell .hero-points {
  color: #a8b6d6;
}

body.lsri-shell .hero-offer {
  background: rgba(4, 8, 20, 0.55);
  border: 1px solid rgba(0, 212, 170, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.08) inset;
}

body.lsri-shell .section-card,
body.lsri-shell .top-highlight-card {
  background: var(--inst-panel);
  border: 1px solid var(--inst-line);
}

body.lsri-shell .section-title {
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

body.lsri-shell .comparison-table thead th {
  background: rgba(4, 8, 20, 0.85);
  color: #cbd5e1;
  border-color: var(--inst-line);
}

body.lsri-shell .comparison-table td {
  border-color: rgba(100, 116, 160, 0.22);
  color: #cbd5e1;
}

body.lsri-shell .benefit-card {
  border: 1px solid var(--inst-line);
  background: rgba(8, 12, 28, 0.85);
}

body.lsri-shell .benefit-card.inst {
  border-color: rgba(251, 191, 36, 0.35);
}

body.lsri-shell .ghost-cta {
  border: 1px solid rgba(0, 212, 170, 0.45);
  color: var(--inst-accent);
  background: rgba(0, 212, 170, 0.06);
}

body.lsri-shell .ghost-cta:hover {
  background: rgba(0, 212, 170, 0.12);
}

body.lsri-shell .data-zone .section-card,
body.lsri-shell .btc-wrap {
  border-color: var(--inst-line);
}

body.lsri-shell .legal-note {
  color: #8896b8;
  font-size: 12px;
}

body.lsri-shell .offre-inst-strip {
  margin-top: 24px;
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(4, 8, 20, 0.5));
}

body.lsri-shell .offre-inst-strip-eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #fcd34d;
}

body.lsri-shell .offre-inst-strip-desc {
  margin: 0 0 14px;
  color: #aeb7d8;
  font-size: 14px;
  line-height: 1.55;
  max-width: 720px;
}

body.lsri-shell .offre-inst-strip .hero-cta {
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.06));
  color: #fef3c7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

body.lsri-shell .offre-inst-strip .hero-cta:hover {
  opacity: 0.96;
  border-color: rgba(251, 191, 36, 0.75);
}

/* —— Connexion (signin / login) —— */
body.auth-flow.lsri-shell {
  background: radial-gradient(900px 480px at 50% -15%, rgba(0, 212, 170, 0.07), transparent 50%),
    linear-gradient(165deg, #060914 0%, #0c1228 50%, #0a0e27 100%);
}

body.auth-flow.lsri-shell .auth-card {
  border: 1px solid var(--inst-line);
  background: rgba(12, 18, 36, 0.94);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

body.auth-flow.lsri-shell .auth-card h1 {
  letter-spacing: -0.02em;
  color: var(--inst-heading);
}

body.auth-flow.lsri-shell .auth-card p.sub,
body.auth-flow.lsri-shell .auth-card label {
  color: var(--inst-muted);
}

body.auth-flow.lsri-shell .auth-card input {
  border-color: var(--inst-line);
  background: rgba(4, 8, 20, 0.75);
  color: var(--inst-heading);
}

/* —— Homepage WOW (hero signature + diff table) —— */
body.lsri-home .hero-wow {
  padding: 56px 24px 40px;
  text-align: center;
}

body.lsri-home .hero-lead {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.55;
  color: #97a7c4;
}

body.lsri-home .hero-bullets {
  list-style: none;
  max-width: 520px;
  margin: 20px auto 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}

body.lsri-home .hero-bullets li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.45;
}

body.lsri-home .hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--inst-accent);
  box-shadow: 0 0 12px rgba(98, 184, 255, 0.42);
}

body.lsri-home .hero-live-panel {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 28px 24px 22px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(8, 14, 32, 0.95), rgba(4, 8, 20, 0.88));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.08) inset;
}

body.lsri-home .hero-live-panel .anchor-metric-title {
  margin: 0 0 18px;
  padding: 0;
}

body.lsri-home .hero-index-block {
  margin-top: 22px;
  max-width: 100%;
}

body.lsri-home .hero-action-line {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

body.lsri-home .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

body.lsri-home .hero-cta-row .cta-button {
  min-width: 168px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
}

/* Regime signature bar */
body.lsri-home .regime-signature {
  position: relative;
  padding: 36px 8px 44px;
  margin: 0 auto;
}

body.lsri-home .regime-sig-rail {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #22c55e 0%,
    #22c55e 22%,
    #eab308 38%,
    #f97316 62%,
    #ef4444 100%
  );
  opacity: 0.45;
}

body.lsri-home .regime-sig-glow {
  position: absolute;
  top: 38px;
  left: 12%;
  width: 18%;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(98, 184, 255, 0.75), transparent 70%);
  filter: blur(6px);
  opacity: 0;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
  pointer-events: none;
}

body.lsri-home .regime-signature[data-active-state="0"] .regime-sig-glow {
  left: 15%;
  opacity: 1;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.9), transparent 70%);
}

body.lsri-home .regime-signature[data-active-state="1"] .regime-sig-glow {
  left: 38%;
  opacity: 1;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.9), transparent 70%);
}

body.lsri-home .regime-signature[data-active-state="2"] .regime-sig-glow {
  left: 61%;
  opacity: 1;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.9), transparent 70%);
}

body.lsri-home .regime-signature[data-active-state="3"] .regime-sig-glow {
  left: 84%;
  opacity: 1;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.9), transparent 70%);
}

body.lsri-home .regime-sig-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

body.lsri-home .regime-sig-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #94a3b8;
  transition: color 0.2s, transform 0.2s;
}

body.lsri-home .regime-sig-node:hover {
  color: #e2e8f0;
  transform: translateY(-2px);
}

body.lsri-home .regime-sig-node.is-active {
  color: #f8fafc;
}

body.lsri-home .regime-sig-node.is-active .regime-sig-dot {
  transform: scale(1.35);
  box-shadow: 0 0 18px currentColor;
}

body.lsri-home .regime-sig-dot,
body.lsri-home .regime-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

body.lsri-home .dot-normal { background: #22c55e; color: #22c55e; }
body.lsri-home .dot-vigilance { background: #eab308; color: #eab308; }
body.lsri-home .dot-stress { background: #f97316; color: #f97316; }
body.lsri-home .dot-critical { background: #ef4444; color: #ef4444; }

body.lsri-home .regime-sig-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body.lsri-home .regime-sig-events {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6px;
  height: 20px;
  pointer-events: none;
}

body.lsri-home .regime-sig-event {
  position: absolute;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(100, 116, 160, 0.35);
  background: rgba(4, 8, 20, 0.85);
  pointer-events: auto;
  transition: color 0.2s, border-color 0.2s;
}

body.lsri-home .regime-sig-event:hover {
  color: var(--inst-accent);
  border-color: rgba(96, 165, 250, 0.55);
}

/* Diff table */
body.lsri-home .section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inst-accent);
  margin-bottom: 8px;
}

body.lsri-home .home-diff-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

body.lsri-home .home-diff-section .why-title {
  text-align: center;
  margin-bottom: 22px;
}

body.lsri-home .home-diff-table-wrap {
  border: 1px solid var(--inst-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 10, 22, 0.72);
}

body.lsri-home .home-diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.lsri-home .home-diff-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(4, 8, 20, 0.65);
  border-bottom: 1px solid var(--inst-line);
}

body.lsri-home .home-diff-table th:last-child {
  color: var(--inst-accent);
}

body.lsri-home .home-diff-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(100, 116, 160, 0.15);
  color: #cbd5e1;
  line-height: 1.45;
}

body.lsri-home .home-diff-table td:last-child {
  color: #e2e8f0;
  font-weight: 600;
}

body.lsri-home .home-diff-table tr:last-child td {
  border-bottom: 0;
}

/* Terminal + proof spacing */
body.lsri-home .home-terminal-section {
  margin-bottom: 56px;
}

body.lsri-home .home-terminal-section .proof-title {
  text-align: center;
  margin-bottom: 18px;
}

body.lsri-home .terminal-foot,
body.lsri-home .regimes-foot,
body.lsri-home .chart-links {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
}

body.lsri-home .terminal-foot a,
body.lsri-home .regimes-foot a,
body.lsri-home .chart-links a {
  color: var(--inst-accent);
  text-decoration: none;
  font-weight: 700;
}

body.lsri-home .chart-section {
  margin-top: 0;
  margin-bottom: 56px;
}

/* Proof teaser cards */
body.lsri-home .proof-teaser-section {
  margin-bottom: 56px;
}

body.lsri-home .proof-teaser-section .why-title {
  text-align: center;
}

body.lsri-home .proof-teaser-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
}

body.lsri-home .proof-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

body.lsri-home .proof-teaser-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--inst-line);
  background: rgba(6, 10, 22, 0.75);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.lsri-home .proof-teaser-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body.lsri-home .proof-teaser-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--inst-accent);
}

body.lsri-home .proof-teaser-card strong {
  font-size: 14px;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

body.lsri-home .proof-teaser-card span:last-child {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

/* Regime cards WOW */
body.lsri-home .home-regimes-section {
  margin-bottom: 56px;
}

body.lsri-home .home-regimes-section .why-title {
  text-align: center;
  margin-bottom: 20px;
}

body.lsri-home .regimes-grid-wow {
  gap: 14px;
}

body.lsri-home .regime-card-wow .regime-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lsri-home .regime-card-wow {
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 160, 0.22);
  border-top-width: 3px;
  background: rgba(8, 12, 24, 0.88);
}

body.lsri-home .regime-card-wow.rc-normal {
  border-top-color: rgba(34, 197, 94, 0.85);
}

body.lsri-home .regime-card-wow.rc-vigilance {
  border-top-color: rgba(234, 179, 8, 0.85);
}

body.lsri-home .regime-card-wow.rc-stress {
  border-top-color: rgba(249, 115, 22, 0.85);
}

body.lsri-home .regime-card-wow.rc-critical {
  border-top-color: rgba(239, 68, 68, 0.85);
}

body.lsri-home .inst-actions-heading {
  text-align: center;
  margin-bottom: 18px !important;
  font-size: 13px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8 !important;
}

@media (max-width: 640px) {
  body.lsri-home .regime-sig-label {
    font-size: 9px;
  }
  body.lsri-home .regime-sig-event {
    display: none;
  }
  body.lsri-home .hero-cta-row .cta-button {
    width: 100%;
    max-width: 320px;
  }
  body.lsri-home .home-diff-table th,
  body.lsri-home .home-diff-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* —— Homepage premium merge (typography + Claude-style widgets) —— */
body.lsri-home {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.lsri-home .hero-wow {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 920px);
  padding: 42px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  margin: 0 auto;
}

body.lsri-home .hero-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.lsri-home .hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 18%, #000 15%, transparent 72%);
}

body.lsri-home .hero-orbit-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 95vw);
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.14) 0%, transparent 62%);
  animation: lsri-orbit-pulse 10s ease-in-out infinite;
}

@keyframes lsri-orbit-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
  }
}

body.lsri-home .hero-wow > .status-badge,
body.lsri-home .hero-title-stack,
body.lsri-home .hero-lead,
body.lsri-home .hero-one-liner,
body.lsri-home .hero-live-panel,
body.lsri-home .hero-cta-row {
  position: relative;
  z-index: 1;
}

body.lsri-home .hero-wow h1.hero-title-stack {
  font-size: unset;
  font-weight: unset;
  line-height: unset;
  letter-spacing: unset;
  max-width: none;
  margin-top: 22px;
}

body.lsri-home .hero-title-stack {
  margin: 22px auto 0;
  max-width: 820px;
  text-align: center;
}

body.lsri-home .hero-title-line1 {
  display: block;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #f1f5f9;
}

body.lsri-home .hero-title-accent {
  display: block;
  margin-top: 8px;
}

body.lsri-home .hero-title-accent .hero-highlight {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 650;
}

body.lsri-home .hero-one-liner {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 13px;
  font-weight: 450;
  color: #8896b8;
  line-height: 1.55;
}

body.lsri-home .hero-value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  max-width: 760px;
}

body.lsri-home .hero-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 160, 0.35);
  background: rgba(4, 8, 20, 0.65);
}

body.lsri-home .hero-score-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  background: linear-gradient(145deg, rgba(10, 18, 36, 0.98), rgba(4, 8, 18, 0.92));
  box-shadow: 0 0 72px rgba(37, 99, 235, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.lsri-home .hero-score-primary {
  flex: 1 1 260px;
  text-align: left;
}

body.lsri-home .hero-score-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

body.lsri-home .hero-score-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

body.lsri-home .hero-score-num-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

body.lsri-home .hero-score-big-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--inst-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

body.lsri-home .hero-score-denom {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.15rem;
  color: #64748b;
  font-weight: 600;
}

body.lsri-home .regime-pill-hero {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
}

body.lsri-home .regime-pill-hero.state-0 {
  background: rgba(34, 197, 94, 0.18) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #86efac !important;
}

body.lsri-home .regime-pill-hero.state-1 {
  background: rgba(234, 179, 8, 0.18) !important;
  border: 1px solid rgba(234, 179, 8, 0.45) !important;
  color: #fde047 !important;
}

body.lsri-home .regime-pill-hero.state-2 {
  background: rgba(249, 115, 22, 0.2) !important;
  border: 1px solid rgba(249, 115, 22, 0.45) !important;
  color: #fdba74 !important;
}

body.lsri-home .regime-pill-hero.state-3 {
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}

body.lsri-home .regime-pill-hero.is-pending {
  border: 1px solid rgba(100, 116, 160, 0.35) !important;
}

body.lsri-home .hero-score-divider {
  width: 1px;
  background: rgba(100, 116, 160, 0.35);
  margin: 8px 22px;
  min-height: 72px;
  align-self: stretch;
}

body.lsri-home .hero-score-meta {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

body.lsri-home .hero-score-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #94a3b8;
}

body.lsri-home .hero-score-meta-row strong {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--inst-accent);
}

body.lsri-home .home-stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  max-width: 1120px;
  padding: 22px 18px;
  border-top: 1px solid var(--inst-line);
  border-bottom: 1px solid var(--inst-line);
  background: rgba(4, 8, 18, 0.88);
}

body.lsri-home .home-stat {
  flex: 1 1 140px;
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(100, 116, 160, 0.2);
}

body.lsri-home .home-stat:last-child {
  border-right: 0;
}

body.lsri-home .home-stat-num {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--inst-accent);
}

body.lsri-home .home-stat-lbl {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

body.lsri-home .chart-proof-shell {
  margin-top: 8px;
}

body.lsri-home .chart-proof-window {
  border: 1px solid rgba(100, 116, 160, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(6, 10, 22, 0.92);
}

body.lsri-home .chart-window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(4, 8, 20, 0.92);
  border-bottom: 1px solid rgba(100, 116, 160, 0.22);
}

body.lsri-home .chart-window-dots {
  display: flex;
  gap: 6px;
}

body.lsri-home .chart-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

body.lsri-home .chart-window-dots span:nth-child(1) {
  background: #ff5f57;
}
body.lsri-home .chart-window-dots span:nth-child(2) {
  background: #febc2e;
}
body.lsri-home .chart-window-dots span:nth-child(3) {
  background: #28c840;
}

body.lsri-home .chart-window-title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #8896b8;
  letter-spacing: 0.04em;
}

body.lsri-home .chart-section .chart-wrap {
  border-radius: 0;
  border: 0;
}

body.lsri-home .chart-regime-timeline {
  display: flex;
  height: 10px;
}

body.lsri-home .chart-regime-timeline span:nth-child(1) {
  background: #22c55e;
}
body.lsri-home .chart-regime-timeline span:nth-child(2) {
  background: #eab308;
}
body.lsri-home .chart-regime-timeline span:nth-child(3) {
  background: #f97316;
}
body.lsri-home .chart-regime-timeline span:nth-child(4) {
  background: #ef4444;
}
body.lsri-home .chart-regime-timeline span:nth-child(5) {
  background: #f97316;
}
body.lsri-home .chart-regime-timeline span:nth-child(6) {
  background: #eab308;
}
body.lsri-home .chart-regime-timeline span:nth-child(7) {
  background: #22c55e;
}

body.lsri-home .mega-cta {
  margin: 56px auto 24px;
  padding: 0 18px;
  max-width: 920px;
}

body.lsri-home .mega-cta-inner {
  text-align: center;
  padding: 44px 28px 48px;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(8, 14, 32, 0.98), rgba(4, 8, 18, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 56px rgba(37, 99, 235, 0.06);
}

body.lsri-home .mega-cta-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--inst-accent);
}

body.lsri-home .mega-cta-title {
  margin: 0 auto;
  max-width: 680px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.28;
  color: #f1f5f9;
}

body.lsri-home .mega-cta-line1 {
  display: block;
}

body.lsri-home .mega-cta-accent {
  display: block;
  margin-top: 6px;
  font-weight: 700;
}

body.lsri-home .mega-cta-sub {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.65;
}

body.lsri-home .mega-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

body.lsri-home .mega-cta-buttons .cta-button {
  min-width: 200px;
  padding: 15px 26px;
  font-size: 14px;
}

body.lsri-home .mega-cta-note {
  margin: 20px 0 0;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.04em;
}

body.lsri-home .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.lsri-home .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  body.lsri-home .hero-score-divider {
    display: none;
  }
  body.lsri-home .hero-score-card {
    flex-direction: column;
    padding: 18px;
  }
  body.lsri-home .hero-score-meta {
    padding-top: 12px;
    border-top: 1px solid rgba(100, 116, 160, 0.22);
  }
  body.lsri-home .home-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(100, 116, 160, 0.15);
    flex: 1 1 45%;
  }
  body.lsri-home .home-stat:nth-child(even) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lsri-home .hero-orbit-glow {
    animation: none;
    opacity: 0.62;
  }
  body.lsri-home .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
