/**
 * dPass Invest home (index) — light theme, aligned with terms/privacy + atmosphere-bg.
 * Loaded after inline styles in index.php. Depends on [data-theme="light"] on html.
 */

html[data-theme="light"] {
  --navy: #f8fafc;
  --navy-light: #f1f5f9;
  --navy-card: #ffffff;
  --navy-input: #f1f5f9;
  --navy-hover: #e2e8f0;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --primary: #059669;
  --primary-dark: #047857;
  --teal: #0d9488;
  --accent: #00a86b;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: #e2e8f0;
  --chart-grid: rgba(100, 116, 139, 0.12);
  --chart-axis: #64748b;
  --chart-bench-stroke: rgba(100, 116, 139, 0.45);
  --chart-tooltip-bg: rgba(255, 255, 255, 0.98);
  --chart-tooltip-border: #e2e8f0;
  --btn-gradient: linear-gradient(90deg, #10b981 0%, #14b8a6 50%, #7c3aed 100%);
  --btn-gradient-hover: linear-gradient(90deg, #22c55e 0%, #2dd4bf 50%, #8b5cf6 100%);
}

/* Header */
html[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

html[data-theme="light"] .site-header.site-header--scrolled {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .header-brand-name:not(.brand-wordmark) {
  color: #0f172a;
}

html[data-theme="light"] .header-nav a {
  color: #334155;
}
html[data-theme="light"] .header-nav a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .header-cta-ghost {
  color: #0f172a;
  border-color: #e2e8f0;
  background: rgba(255, 255, 255, 0.7);
}
html[data-theme="light"] .header-cta-ghost:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

html[data-theme="light"] .mobile-toggle {
  color: #0f172a;
}

html[data-theme="light"] .theme-toggle--header {
  border-color: #e2e8f0;
  color: #64748b;
  background: rgba(255, 255, 255, 0.5);
}
html[data-theme="light"] .theme-toggle--header:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #ffffff;
}

html[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e2e8f0;
}
html[data-theme="light"] .mobile-menu a {
  color: #334155;
}
html[data-theme="light"] .mobile-menu a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}
html[data-theme="light"] .mobile-menu-actions {
  border-top: 1px solid #e2e8f0;
}
html[data-theme="light"] .mobile-menu-actions .mob-ghost {
  color: #0f172a;
  border-color: #e2e8f0;
  background: #f8fafc;
}
html[data-theme="light"] .mobile-menu-actions .mob-primary {
  color: #fff;
}

/* Hero */
html[data-theme="light"] .section-label {
  color: #64748b;
}
html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 82% 48% at 50% 108%, rgba(5, 150, 105, 0.09), transparent 52%),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(5, 150, 105, 0.1), transparent 70%);
}
html[data-theme="light"] .audiences-section {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.85) 0%, transparent 100%);
}
html[data-theme="light"] .audience-card-inner {
  border-color: rgba(15, 23, 42, 0.1);
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="light"] .audience-card:hover .audience-card-inner {
    border-color: rgba(5, 150, 105, 0.28);
    box-shadow:
      0 20px 48px rgba(15, 23, 42, 0.11),
      0 0 0 1px rgba(15, 23, 42, 0.05);
  }
}
html[data-theme="light"] .audience-card-visual {
  background: #e2e8f0;
}
html[data-theme="light"] .audience-card-visual::after {
  background: linear-gradient(180deg, transparent 42%, rgba(248, 250, 252, 0.72) 85%, rgba(255, 255, 255, 0.94) 100%);
}
html[data-theme="light"] .audience-card-heading {
  color: #0f172a;
}
/* Idle card titles — light UI: frost wash + slate text (readable on bright photography) */
html[data-theme="light"] .audience-card-teaser-title {
  color: #0f172a;
  color-scheme: light;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(255, 255, 255, 0.28);
}
html[data-theme="light"] .audience-card-teaser-title::before {
  opacity: 0.93;
  background: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(248, 250, 252, 0.16) 62%,
    transparent 74%
  );
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-theme="light"] .audience-card-visual::after {
      background: linear-gradient(180deg, transparent 32%, rgba(248, 250, 252, 0.5) 55%, rgba(255, 255, 255, 0.88) 100%);
    }
    html[data-theme="light"] .audience-card-copy {
      border-top-color: rgba(15, 23, 42, 0.06);
      background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.82) 10%,
        rgba(248, 250, 252, 0.96) 100%
      );
      box-shadow:
        0 -18px 44px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    html[data-theme="light"] .audience-card--accent-green:hover .audience-card-inner,
    html[data-theme="light"] .audience-card--accent-green:focus-within .audience-card-inner {
      border-color: rgba(5, 150, 105, 0.34);
      box-shadow:
        0 24px 52px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(5, 150, 105, 0.12);
    }
    html[data-theme="light"] .audience-card--accent-teal:hover .audience-card-inner,
    html[data-theme="light"] .audience-card--accent-teal:focus-within .audience-card-inner {
      border-color: rgba(13, 148, 136, 0.34);
      box-shadow:
        0 24px 52px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(13, 148, 136, 0.12);
    }
    html[data-theme="light"] .audience-card--accent-violet:hover .audience-card-inner,
    html[data-theme="light"] .audience-card--accent-violet:focus-within .audience-card-inner {
      border-color: rgba(124, 58, 237, 0.28);
      box-shadow:
        0 24px 52px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(124, 58, 237, 0.14);
    }
  }
}
html[data-theme="light"] .audience-card-lead {
  color: var(--text-secondary);
}
html[data-theme="light"] .audience-card-points {
  color: #475569;
}
html[data-theme="light"] .audience-card-points li::before {
  background: rgba(71, 85, 105, 0.7);
}
html[data-theme="light"] .audience-card-cta {
  color: var(--primary-dark);
}
html[data-theme="light"] .audience-card-cta:hover {
  color: #065f46;
  text-decoration-color: rgba(5, 95, 70, 0.45);
}
html[data-theme="light"] .audience-card-cta:focus-visible {
  outline: 2px solid rgba(5, 150, 105, 0.55);
  outline-offset: 3px;
}
html[data-theme="light"] .audience-card:focus-visible .audience-card-inner {
  outline: 2px solid rgba(5, 150, 105, 0.45);
  outline-offset: 2px;
}
@media (max-width: 899px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  html[data-theme="light"] .audience-card-visual::after {
    background: linear-gradient(180deg, transparent 42%, rgba(248, 250, 252, 0.72) 85%, rgba(255, 255, 255, 0.94) 100%);
  }
  html[data-theme="light"] .audience-card-copy {
    border-top-color: transparent;
    background: transparent;
    box-shadow: none;
  }
}
html[data-theme="light"] .hero-link-btn {
  color: #64748b;
}
html[data-theme="light"] .hero-link-btn:hover {
  color: #0f172a;
}
html[data-theme="light"] .hero-pattern {
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f172a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
html[data-theme="light"] .hero h1 {
  color: #0f172a;
}
html[data-theme="light"] .hero h1 .gradient-text {
  background: linear-gradient(120deg, #0f172a 0%, #0f172a 22%, #059669 52%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(5, 150, 105, 0.22));
}
html[data-theme="light"] .hero-badge {
  border-color: rgba(5, 150, 105, 0.34);
  background: rgba(5, 150, 105, 0.09);
  color: #047857;
  box-shadow: 0 0 24px -6px rgba(5, 150, 105, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] .hero h1 .gradient-text {
    filter: none;
  }
  html[data-theme="light"] .hero-badge {
    box-shadow: none;
  }
}
html[data-theme="light"] .hero-sub strong {
  color: #0f172a;
}
html[data-theme="light"] .hero-legal {
  color: #64748b;
}
html[data-theme="light"] .hero-legal strong {
  color: #475569;
  font-weight: 600;
}
html[data-theme="light"] .btn-secondary {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
}
html[data-theme="light"] .btn-secondary:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
html[data-theme="light"] .btn-primary {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 10px 36px -12px rgba(5, 150, 105, 0.35);
}

/* Pillars */
html[data-theme="light"] .pillars-section {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.65) 0%, transparent 50%);
  border-top-color: #e2e8f0;
}
html[data-theme="light"] .card-surface {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 28px -12px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .pillar-card:hover {
  box-shadow: 0 12px 40px -20px rgba(15, 23, 42, 0.12);
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .pillar-card h3,
html[data-theme="light"] .section-title {
  color: #0f172a;
}
html[data-theme="light"] .pillar-card-num {
  color: #94a3b8;
}
html[data-theme="light"] .pillar-icon {
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.2) 0%, rgba(5, 150, 105, 0.09) 100%);
  box-shadow:
    0 6px 18px rgba(5, 150, 105, 0.14),
    0 0 0 1px rgba(5, 150, 105, 0.28) inset;
}
html[data-theme="light"] .pillar-icon--teal {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.2) 0%, rgba(13, 148, 136, 0.09) 100%);
  box-shadow:
    0 6px 18px rgba(13, 148, 136, 0.12),
    0 0 0 1px rgba(13, 148, 136, 0.28) inset;
}
html[data-theme="light"] .pillar-icon--violet {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.18) 0%, rgba(124, 58, 237, 0.08) 100%);
  box-shadow:
    0 6px 18px rgba(124, 58, 237, 0.12),
    0 0 0 1px rgba(124, 58, 237, 0.26) inset;
}
/* Base styles keep white glyphs for dark “orb”; light pastels need ink-colored strokes. */
html[data-theme="light"] .pillar-icon::after {
  opacity: 0.22;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.04) 42%, transparent 55%);
}
html[data-theme="light"] .pillar-icon svg {
  color: #047857;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
}
html[data-theme="light"] .pillar-icon--teal svg {
  color: #0f766e;
}
html[data-theme="light"] .pillar-icon--violet svg {
  color: #5b21b6;
}
html[data-theme="light"] .pillar-icon svg :is(path, line, circle, polyline) {
  stroke-width: 2.35;
}
html[data-theme="light"] .section-sub strong {
  color: #0f172a;
}
html[data-theme="light"] .about-feat h4 {
  color: #0f172a;
}

/* About feature tiles — light glass panels + editorial photos */
html[data-theme="light"] .about-feat--panel {
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
html[data-theme="light"] .about-feat--panel:focus-visible {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.11),
    0 0 0 1px rgba(15, 23, 42, 0.05);
}
@media (hover: none) {
  html[data-theme="light"] .about-feat--panel {
    -webkit-tap-highlight-color: rgba(5, 150, 105, 0.14);
  }
}
@media (hover: hover) {
  html[data-theme="light"] .about-feat--panel:hover {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow:
      0 22px 48px rgba(15, 23, 42, 0.11),
      0 0 0 1px rgba(15, 23, 42, 0.05);
  }
}
html[data-theme="light"] .about-feat--panel:active {
  border-color: rgba(5, 150, 105, 0.38);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}
@supports selector(:has(*)) {
  html[data-theme="light"] .about-feat--panel:has(:active) {
    border-color: rgba(5, 150, 105, 0.38);
    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.09),
      0 0 0 1px rgba(15, 23, 42, 0.06);
  }
}
html[data-theme="light"] .about-feat--panel p {
  color: #475569;
}

html[data-theme="light"] .about-feat-visual {
  border: none;
  background: #e2e8f0;
}
html[data-theme="light"] .about-feat-visual::after {
  background: linear-gradient(180deg, transparent 42%, rgba(248, 250, 252, 0.72) 85%, rgba(255, 255, 255, 0.94) 100%);
}

/* Compare table */
html[data-theme="light"] .compare-table th {
  background: rgba(5, 150, 105, 0.08);
  color: #0f172a;
}
html[data-theme="light"] .compare-table td {
  color: #64748b;
}
html[data-theme="light"] .compare-table td:first-child {
  color: #0f172a;
}
@media (max-width: 560px) {
  html[data-theme="light"] .compare-table tbody tr {
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }
}

/* Portfolio chart */
html[data-theme="light"] .portfolio-chart {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}
html[data-theme="light"] .portfolio-chart-range button {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
html[data-theme="light"] .portfolio-chart-range button:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}
html[data-theme="light"] .portfolio-chart-range button.is-active {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.45);
  background: rgba(5, 150, 105, 0.08);
}
html[data-theme="light"] .portfolio-chart-empty {
  background: #f1f5f9;
  color: #64748b;
}

html[data-theme="light"] .partner-marquee-label {
  color: #64748b;
}
html[data-theme="light"] .partner-marquee-item img {
  opacity: 0.45;
  filter: grayscale(1) brightness(0.85);
}
@media (hover: hover) {
  html[data-theme="light"] .partner-marquee-item:hover img {
    opacity: 1;
    filter: none;
  }
}
html[data-theme="light"] .partner-marquee-item:focus-visible img,
html[data-theme="light"] .partner-marquee-item:active img {
  opacity: 1;
  filter: none;
}
@supports selector(:has(*)) {
  html[data-theme="light"] .partner-marquee-item:has(:active) img {
    opacity: 1;
    filter: none;
  }
}
html[data-theme="light"] .partner-marquee-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 22px -10px rgba(15, 23, 42, 0.1);
}
@media (hover: hover) {
  html[data-theme="light"] .partner-marquee-item:hover {
    border-color: rgba(5, 150, 105, 0.4);
    box-shadow:
      0 0 0 1px rgba(5, 150, 105, 0.12),
      0 12px 36px -14px rgba(15, 23, 42, 0.12),
      0 0 36px -12px rgba(5, 150, 105, 0.18);
  }
}
html[data-theme="light"] .partner-marquee-item:active {
  border-color: rgba(5, 150, 105, 0.32);
  box-shadow:
    0 0 22px -10px rgba(5, 150, 105, 0.14),
    0 6px 20px -12px rgba(15, 23, 42, 0.1);
}
@supports selector(:has(*)) {
  html[data-theme="light"] .partner-marquee-item:has(:active) {
    border-color: rgba(5, 150, 105, 0.32);
    box-shadow:
      0 0 22px -10px rgba(5, 150, 105, 0.14),
      0 6px 20px -12px rgba(15, 23, 42, 0.1);
  }
}
html[data-theme="light"] .partner-marquee-legal {
  color: #94a3b8;
}

/* FAQ */
html[data-theme="light"] .faq-item.card-surface {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
html[data-theme="light"] .faq-item:hover {
  border-color: #cbd5e1;
}
html[data-theme="light"] .faq-btn {
  color: #0f172a;
}
html[data-theme="light"] .faq-answer p {
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

/* About — large photo cards: light = editorial wash, dark text, soft mint/teal tints (matches site palette) */
html[data-theme="light"] .about-card,
html[data-theme="light"] .about-visual {
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 6px 28px -8px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .about-card::before {
  background-image: linear-gradient(118deg, rgba(5, 150, 105, 0.1) 0%, transparent 48%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&h=1200&q=85');
  background-size: cover, cover;
  background-position: center, center;
}
html[data-theme="light"] .about-visual::before {
  background-image: linear-gradient(140deg, rgba(13, 148, 136, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1600&h=1200&q=85');
  background-size: cover, cover;
  background-position: center, center;
}
html[data-theme="light"] .about-card::after,
html[data-theme="light"] .about-visual::after {
  background: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.032) 1px, transparent 0),
    linear-gradient(
      to top,
      #ffffff 0%,
      rgba(255, 255, 255, 0.98) 18%,
      rgba(248, 250, 252, 0.82) 48%,
      rgba(255, 255, 255, 0.48) 100%
    );
  background-size: 20px 20px, 100% 100%;
}
@media (hover: hover) {
  html[data-theme="light"] .about-card:hover,
  html[data-theme="light"] .about-visual:hover {
    border-color: rgba(5, 150, 105, 0.38);
    box-shadow:
      0 0 0 1px rgba(5, 150, 105, 0.12),
      0 24px 48px -18px rgba(15, 23, 42, 0.12),
      0 0 44px -14px rgba(5, 150, 105, 0.16);
  }
}
html[data-theme="light"] .about-card:focus-within,
html[data-theme="light"] .about-visual:focus-within {
  border-color: rgba(5, 150, 105, 0.42);
  box-shadow:
    0 0 0 1px rgba(5, 150, 105, 0.14),
    0 24px 48px -18px rgba(15, 23, 42, 0.12),
    0 0 48px -12px rgba(5, 150, 105, 0.18);
}
html[data-theme="light"] .about-card:active,
html[data-theme="light"] .about-visual:active {
  border-color: rgba(5, 150, 105, 0.32);
  box-shadow:
    0 0 0 1px rgba(5, 150, 105, 0.08),
    0 12px 32px -12px rgba(15, 23, 42, 0.1),
    0 0 36px -16px rgba(5, 150, 105, 0.12);
}
@supports selector(:has(*)) {
  html[data-theme="light"] .about-card:has(:active),
  html[data-theme="light"] .about-visual:has(:active) {
    border-color: rgba(5, 150, 105, 0.32);
    box-shadow:
      0 0 0 1px rgba(5, 150, 105, 0.08),
      0 12px 32px -12px rgba(15, 23, 42, 0.1),
      0 0 36px -16px rgba(5, 150, 105, 0.12);
  }
}
html[data-theme="light"] .about-card h3,
html[data-theme="light"] .about-visual h3 {
  color: #0f172a;
}
html[data-theme="light"] .about-card p,
html[data-theme="light"] .about-visual p {
  color: #64748b;
}
html[data-theme="light"] .about-card-ico,
html[data-theme="light"] .about-visual .about-visual-ico {
  opacity: 1;
}
html[data-theme="light"] .about-card-ico path,
html[data-theme="light"] .about-visual .about-visual-ico path {
  stroke: var(--primary-dark);
  stroke-width: 2.35;
}
html[data-theme="light"] .about-card .btn-secondary.about-access-btn,
html[data-theme="light"] .about-visual a.btn-secondary.about-access-btn {
  border-color: rgba(5, 150, 105, 0.42);
  background: linear-gradient(180deg, rgba(5, 150, 105, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
  color: #047857;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
html[data-theme="light"] .about-card .btn-secondary.about-access-btn:hover,
html[data-theme="light"] .about-visual a.btn-secondary.about-access-btn:hover {
  border-color: rgba(5, 150, 105, 0.55);
  background: linear-gradient(180deg, rgba(5, 150, 105, 0.18) 0%, rgba(5, 150, 105, 0.12) 100%);
  color: #065f46;
}

/* CTA */
html[data-theme="light"] .cta-section {
  border-top: 1px solid #e2e8f0;
}
html[data-theme="light"] .cta-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 48px -20px rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .cta-inner h2 {
  color: #0f172a;
}
html[data-theme="light"] .cta-inner > p strong {
  color: #0f172a;
}

/* Footer + risk */
html[data-theme="light"] .site-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
html[data-theme="light"] .risk-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
html[data-theme="light"] .risk-block h2,
html[data-theme="light"] .risk-block p,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .footer-legal-links a {
  color: #64748b;
}
html[data-theme="light"] .risk-block a {
  color: #475569;
}
html[data-theme="light"] .risk-block a:hover,
html[data-theme="light"] .footer-legal-links a:hover {
  color: #059669;
}
html[data-theme="light"] .risk-block strong {
  color: #475569;
}

/* FAQ compare section borders */
html[data-theme="light"] .section {
  border-top: 1px solid #e2e8f0;
}

/* Theme toggle (same control as terms, scoped class) */
.theme-toggle--header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle--header:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .theme-toggle--header {
  color: #a0a8b8;
}
html[data-theme="dark"] .theme-toggle--header:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
