/* ==========================================================================
   BNP PARIBAS FORTIS — 2026 DESIGN SYSTEM & ARCHITECTURE TOKENS
   Master Style System: WCAG AAA Contrast, Sub-ms Containment & Responsive Mesh
   ========================================================================== */

:root {
  /* Official Brand Color Tokens */
  --primary: #00915a;
  --primary-hover: #007a4b;
  --primary-rgb: 0, 145, 90;
  --secondary: #002f1d;
  --secondary-rgb: 0, 47, 29;
  --accent: #00a86b;
  --accent-light: #e6f7f0;
  
  /* Semantic Neutral Palette */
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-alt: #f1f5f3;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-inverse: #ffffff;
  --border: #e2e8f0;
  --border-focus: #00915a;
  
  /* Status & Indicator Colors */
  --status-live: #10b981;
  --status-warning: #f59e0b;
  --status-alert: #ef4444;
  --badge-bg: rgba(0, 145, 90, 0.08);
  --badge-text: #007a4b;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-emerald: 0 10px 25px -5px rgba(0, 145, 90, 0.25);

  /* Geometry & Typography */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Dark Mode Palette Override
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060d0a;
    --surface: #0e1c15;
    --surface-raised: #14281f;
    --surface-alt: #1a3227;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #1e3b2e;
    --border-focus: #00a86b;
    --accent-light: rgba(0, 168, 107, 0.15);
    --badge-bg: rgba(0, 168, 107, 0.15);
    --badge-text: #34d399;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-emerald: 0 10px 25px -5px rgba(0, 145, 90, 0.4);
  }
}

[data-theme="dark"] {
  --bg: #060d0a;
  --surface: #0e1c15;
  --surface-raised: #14281f;
  --surface-alt: #1a3227;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #1e3b2e;
  --border-focus: #00a86b;
  --accent-light: rgba(0, 168, 107, 0.15);
  --badge-bg: rgba(0, 168, 107, 0.15);
  --badge-text: #34d399;
}

/* --------------------------------------------------------------------------
   CSS Reset & Base Foundations
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--primary-hover);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Accessibility Skip Link (Gate 1 & Gate 8)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: var(--text-inverse);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 99999;
  transition: top 0.2s ease-in-out;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Gate 6: Sub-Millisecond CSS Containment
   -------------------------------------------------------------------------- */
.below-fold-containment {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* --------------------------------------------------------------------------
   Global Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 145, 90, 0.15);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Live Belgian Banking Status Ticker
   -------------------------------------------------------------------------- */
.status-ticker-bar {
  background: var(--secondary);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--status-live);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --------------------------------------------------------------------------
   Sticky Header Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
  .main-header {
    background: rgba(14, 28, 21, 0.92);
  }
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.desktop-nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

.desktop-nav-links a:hover,
.desktop-nav-links a:focus-visible {
  color: var(--primary);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: var(--primary);
  color: var(--text-inverse) !important;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-emerald);
  transition: var(--transition);
}

.header-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section & Adaptive Client Space Portal (Modality D & C)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--secondary) 0%, #001f13 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.hero-keypoints {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.keypoint-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.keypoint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(0, 168, 107, 0.25);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Interactive Client Space Component (Zero-PII Sandbox)
   -------------------------------------------------------------------------- */
.client-space-card {
  background: var(--surface);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl), var(--shadow-emerald);
  border: 1px solid var(--border);
  position: relative;
}

.auth-tabs-header {
  display: flex;
  background: var(--surface-alt);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}

.auth-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.auth-tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-tab-panel {
  display: none;
}

.auth-tab-panel.active {
  display: block;
}

/* itsme® Modality D UI */
.itsme-box {
  text-align: center;
  padding: 1rem 0;
}

.itsme-badge-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff5000;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.itsme-qr-demo {
  width: 140px;
  height: 140px;
  margin: 1rem auto;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.itsme-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: scan-vertical 2.5s infinite ease-in-out;
}

@keyframes scan-vertical {
  0% { top: 5%; }
  50% { top: 90%; }
  100% { top: 5%; }
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 145, 90, 0.15);
}

.btn-primary-action {
  width: 100%;
  border: none;
  background: var(--primary);
  color: var(--text-inverse);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-emerald);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-action:hover {
  background: var(--primary-hover);
}

.client-security-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   Quick Jump Cards (Sommaire Rapide)
   -------------------------------------------------------------------------- */
.quick-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.matrix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.matrix-icon-box {
  width: 44px;
  height: 44px;
  background: var(--badge-bg);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.matrix-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.matrix-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Copilot Direct Answer Cards & Heading-to-Fact Anchoring (Gate 4)
   -------------------------------------------------------------------------- */
.copilot-answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.copilot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.copilot-card-h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copilot-direct-answer {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-main);
  border-left: 3px solid var(--accent);
}

.copilot-direct-answer strong {
  color: var(--primary);
}

.copilot-details {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Semantic Glossary (SPLADE Expansion - Gate 5)
   -------------------------------------------------------------------------- */
.glossary-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.glossary-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.glossary-dt {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.glossary-dd {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Interactive Utilities (Belgian Savings & IBAN MOD-97 Validator - Gate 8)
   -------------------------------------------------------------------------- */
.utilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.utility-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.utility-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.utility-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.calculator-slider-wrap {
  margin-bottom: 1.5rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  accent-color: var(--primary);
}

.calc-result-box {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: center;
}

.calc-result-item .label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.calc-result-item .value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.iban-result-indicator {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.iban-result-indicator.valid {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.iban-result-indicator.invalid {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --------------------------------------------------------------------------
   Relational Comparison Table (Fact Bundles - Gate 4)
   -------------------------------------------------------------------------- */
.table-responsive-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.data-table caption {
  padding: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.data-table thead th {
  background: var(--secondary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tbody tr:hover {
  background: var(--surface-alt);
}

.data-table tbody th {
  font-weight: 700;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Live SOC Monitor
   -------------------------------------------------------------------------- */
.soc-monitor-card {
  background: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.soc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.soc-metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.soc-metric-title {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.soc-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Editorial Body Prose (4,500+ Words Structure - Gate 10)
   -------------------------------------------------------------------------- */
.editorial-prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.editorial-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--badge-bg);
  padding-bottom: 0.5rem;
}

.editorial-prose h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.editorial-prose p {
  margin-bottom: 1.35rem;
  color: var(--text-muted);
}

.editorial-prose ul, .editorial-prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  color: var(--text-muted);
}

.editorial-prose li {
  margin-bottom: 0.6rem;
}

.editorial-prose blockquote {
  background: var(--surface-alt);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   FAQ Accordion (Gate 1 & Gate 3)
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--transition);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

details[open] .faq-summary::after {
  content: '−';
}

details[open] .faq-summary {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

.faq-answer {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Regulatory Trust Bar & Disclosures
   -------------------------------------------------------------------------- */
.trust-bar-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.trust-badge-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.trust-badge-card .title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.trust-badge-card .subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer & Legal Architecture
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: var(--accent);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .utilities-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav-links {
    display: none;
  }
  .editorial-prose {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
