/* ===== Adam Prism — Shared CSS =====
   موجود في كل صفحة. لو عدلت هنا، اتعدل في كل الصفحات.
*/

:root {
  --cream: #FAF9F5; --paper: #FFFFFF;
  --ink: #0A0A0A; --ink-soft: #2A2A2D; --ink-muted: #5A5A5A; --ink-faint: #8A8A85;
  --hairline: #E5E2DA; --hairline-soft: #F0EDE5;
  --navy: #0A2540; --terracotta: #B85C2C; --gold: #C9A14A;
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --t-display: clamp(2.5rem, 6vw, 4.5rem);
  --t-h1: clamp(1.75rem, 3.5vw, 2.75rem);
  --t-h2: clamp(1.375rem, 2.5vw, 1.875rem);
  --t-h3: clamp(1.0625rem, 1.4vw, 1.25rem);
  --t-body: 1.0625rem; --t-small: 0.9375rem; --t-tiny: 0.8125rem;
  --t-mono: 0.8125rem;
  --max-w: 1400px; --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { font-family: 'Inter Tight', -apple-system, system-ui, sans-serif; font-size: var(--t-body); line-height: 1.6; color: var(--ink); background: var(--cream); overflow-x: hidden; }
html[lang="ar"] body { font-family: 'Noto Sans Arabic', 'Inter Tight', -apple-system, system-ui, sans-serif; }
.serif { font-family: 'Newsreader', Georgia, serif; }
html[lang="ar"] .serif { font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img, svg { max-width: 100%; display: block; }

/* ========== TOPBAR ========== */
.topbar { position: sticky; top: 0; z-index: 100; padding: var(--s-4) var(--gutter); background: rgba(250, 249, 245, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.topbar-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: var(--s-4); font-weight: 600; font-size: 0.95rem; }
.brand-mark { width: 24px; height: 24px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { line-height: 1.2; }
.brand-name { font-weight: 600; font-size: 0.95rem; }
.brand-tag { color: var(--ink-muted); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.02em; }
.topnav { display: flex; gap: var(--s-6); flex-wrap: wrap; }
.topnav a { font-size: var(--t-small); color: var(--ink-soft); font-weight: 500; transition: color 0.2s; }
.topnav a:hover, .topnav a.active { color: var(--terracotta); }
.topbar-right { display: flex; align-items: center; gap: var(--s-3); }
.lang-toggle { display: flex; gap: 0.125rem; padding: 0.2rem; border-radius: 0.375rem; background: var(--paper); border: 1px solid var(--hairline); font-size: 0.6875rem; font-weight: 600; }
.lang-toggle button { padding: 0.3rem 0.625rem; border-radius: 0.25rem; color: var(--ink-muted); letter-spacing: 0.05em; }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 0.375rem; align-items: center; justify-content: center; color: var(--ink); }
.menu-btn:hover { background: var(--paper); }
.menu-btn svg { width: 20px; height: 20px; }

/* ========== DEMO BADGE ========== */
.demo-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.2rem 0.5rem; background: var(--terracotta); color: var(--cream); font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em; border-radius: 0.2rem; text-transform: uppercase; animation: demo-pulse 2.6s ease-in-out infinite; white-space: nowrap; }
.demo-badge::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cream); animation: demo-dot 2.6s ease-in-out infinite; }
@keyframes demo-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.75; } }
@keyframes demo-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (max-width: 480px) { .demo-badge { font-size: 0.5625rem; padding: 0.15rem 0.4rem; letter-spacing: 0.1em; } }

/* ========== MOBILE MENU ========== */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--cream); padding: var(--s-5) var(--gutter); transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-7); }
.mobile-menu nav { display: flex; flex-direction: column; gap: var(--s-4); }
.mobile-menu nav a { font-family: 'Newsreader', Georgia, serif; font-size: 1.5rem; color: var(--ink); padding: var(--s-2) 0; border-bottom: 1px solid var(--hairline); }
html[lang="ar"] .mobile-menu nav a { font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif; }
.mobile-menu .mobile-cta { display: inline-block; margin-top: var(--s-6); padding: 0.875rem 1.5rem; background: var(--ink); color: var(--cream); border-radius: 0.375rem; text-align: center; font-weight: 500; }
.mobile-menu .mobile-lang { display: flex; gap: var(--s-2); margin-top: var(--s-5); }

/* ========== COMMON SECTIONS ========== */
.hero { padding: var(--s-9) var(--gutter) var(--s-6); max-width: 1400px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); margin-bottom: var(--s-5); padding: 0.4rem 0.875rem; border: 1px solid var(--terracotta); border-radius: 9999px; }
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.hero-title { font-family: 'Newsreader', Georgia, serif; font-size: var(--t-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s-5); }
html[lang="ar"] .hero-title { font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif; }
.hero-title em { font-style: italic; color: var(--terracotta); }
.hero-sub { font-size: 1.125rem; line-height: 1.55; color: var(--ink-muted); margin-bottom: var(--s-6); max-width: 640px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }

section { padding: var(--s-9) var(--gutter); max-width: 1400px; margin: 0 auto; }
.section-num { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--terracotta); letter-spacing: 0.15em; margin-bottom: var(--s-3); }
.section-title { font-family: 'Newsreader', Georgia, serif; font-size: var(--t-h1); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s-4); max-width: 800px; }
html[lang="ar"] .section-title { font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif; }
.section-title em { font-style: italic; color: var(--terracotta); }
.section-subtitle { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-muted); max-width: 720px; margin-bottom: var(--s-7); }

/* ========== CTA ========== */
.cta-section { padding: var(--s-9) var(--gutter); max-width: 1400px; margin: 0 auto; text-align: center; }
.cta-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--terracotta); letter-spacing: 0.18em; margin-bottom: var(--s-4); }
.cta-title { font-family: 'Newsreader', Georgia, serif; font-size: var(--t-h1); font-weight: 500; line-height: 1.2; margin-bottom: var(--s-5); color: var(--ink); }
html[lang="ar"] .cta-title { font-family: 'Noto Naskh Arabic', 'Amiri', Georgia, serif; }
.cta-title em { font-style: italic; color: var(--terracotta); }
.cta-btns { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0.875rem 1.5rem; background: var(--ink); color: var(--cream); border-radius: 0.375rem; font-size: var(--t-small); font-weight: 500; transition: all 0.2s; }
.cta-btn:hover { background: var(--terracotta); }
.cta-btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.cta-btn.secondary:hover { background: var(--ink); color: var(--cream); }

/* ========== FOOTER ========== */
.footer { padding: var(--s-6) var(--gutter) var(--s-4); border-top: 1px solid var(--hairline); background: var(--cream); font-size: var(--t-small); color: var(--ink-muted); }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); }
.footer-brand { font-weight: 600; color: var(--ink); }
.footer-meta { display: flex; gap: var(--s-4); flex-wrap: wrap; font-size: var(--t-tiny); }
.footer-meta a { color: var(--ink-muted); }
.footer-meta a:hover { color: var(--terracotta); }
.footer-copy { width: 100%; font-size: var(--t-tiny); color: var(--ink-faint); padding-top: var(--s-4); border-top: 1px solid var(--hairline-soft); margin-top: var(--s-4); }

/* ========== THEME TOGGLE ========== */
.theme-toggle { display: flex; gap: 0.125rem; padding: 0.2rem; border-radius: 0.375rem; background: var(--paper); border: 1px solid var(--hairline); }
.theme-toggle-btn { padding: 0.3rem 0.5rem; border-radius: 0.25rem; color: var(--ink-muted); font-size: 0.875rem; line-height: 1; cursor: pointer; transition: all 0.2s; }
.theme-toggle-btn:hover { color: var(--terracotta); }
.theme-toggle-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* ========== RESPONSIVE ========== */
@media (max-width: 800px) { .topnav { display: none; } .menu-btn { display: flex; } .brand-tag { display: none; } }
@media (max-width: 480px) { .demo-badge { font-size: 0.5625rem; padding: 0.15rem 0.4rem; letter-spacing: 0.1em; } }

/* ========== DARK THEME ========== */
html[data-theme="dark"] body { background: #0A1228; color: #F0E6D2; }
html[data-theme="dark"] .topbar { background: rgba(10,18,40,0.92); border-bottom-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .topbar .brand { color: #F0E6D2; }
html[data-theme="dark"] .topbar .brand-mark svg path { fill: #F0E6D2 !important; }
html[data-theme="dark"] .topnav a { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .lang-toggle { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .lang-toggle button { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .lang-toggle button[aria-pressed="true"] { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .menu-btn { color: #F0E6D2; }
html[data-theme="dark"] .mobile-menu { background: #0A1228; }
html[data-theme="dark"] .mobile-menu nav a { color: #F0E6D2; border-bottom-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .hero-title { color: #F0E6D2; }
html[data-theme="dark"] .hero-sub { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .hero-sub strong { color: #F0E6D2; }
html[data-theme="dark"] section { border-top: 1px solid rgba(255,255,255,0.06); }
html[data-theme="dark"] .section-title { color: #F0E6D2; }
html[data-theme="dark"] .section-subtitle { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .theme-toggle { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .theme-toggle-btn { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .theme-toggle-btn[aria-pressed="true"] { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .cta-title { color: #F0E6D2; }
html[data-theme="dark"] .cta-btn.secondary { color: #F0E6D2; border-color: rgba(240,230,210,0.25); }
html[data-theme="dark"] .cta-btn.secondary:hover { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .footer { background: #060B1A; border-top-color: rgba(255,255,255,0.08); color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .footer-brand { color: #F0E6D2; }
html[data-theme="dark"] .footer-meta a { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .footer-copy { color: rgba(240,230,210,0.3); border-top-color: rgba(255,255,255,0.06); }

/* dark: العناصر اللي بتستخدم --ink مباشرة */
html[data-theme="dark"] .mobile-menu nav a { color: #F0E6D2; }
html[data-theme="dark"] .cta-btn.secondary { color: #F0E6D2; }

/* dark: الكروت والـ cards */
html[data-theme="dark"] .founder-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .founder-card-name { color: #F0E6D2; }
html[data-theme="dark"] .founder-card-bio { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .founder-card-bio a { color: var(--terracotta); }
html[data-theme="dark"] .team-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .team-card-name { color: #F0E6D2; }
html[data-theme="dark"] .team-card-mandate { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .team-card-does li { color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .honesty-note { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .honesty-note strong { color: #F0E6D2; }

/* dark: case studies */
html[data-theme="dark"] .system-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .system-name { color: #F0E6D2; }
html[data-theme="dark"] .system-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .interim { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .interim-title { color: #F0E6D2; }
html[data-theme="dark"] .interim-text { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .interim-text strong { color: #F0E6D2; }
html[data-theme="dark"] .metrics-row { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }
html[data-theme="dark"] .metric-num { color: var(--terracotta); }
html[data-theme="dark"] .metric-label { color: rgba(240,230,210,0.7); }

/* dark: FAQ */
html[data-theme="dark"] .faq-cat-title { color: #F0E6D2; border-bottom-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .faq-q { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .faq-q:hover { border-color: rgba(255,255,255,0.25); }
html[data-theme="dark"] .faq-q-text { color: #F0E6D2; }
html[data-theme="dark"] .faq-a-text { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .faq-a-text strong { color: #F0E6D2; }

/* dark: platform */
html[data-theme="dark"] .pyramid-layer { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .pyramid-name { color: #F0E6D2; }
html[data-theme="dark"] .pyramid-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .pyramid-desc strong { color: #F0E6D2; }
html[data-theme="dark"] .mirror { background: #0A1228; }
html[data-theme="dark"] .mirror-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .mirror-card-title { color: #F0E6D2; }
html[data-theme="dark"] .mirror-card-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .mirror-card-desc strong { color: #F0E6D2; }
html[data-theme="dark"] .ps-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .ps-problem-text { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .ps-solution-text { color: #F0E6D2; }
html[data-theme="dark"] .ps-solution-text strong { color: var(--gold); }
html[data-theme="dark"] .reward { background: #0A1228; }
html[data-theme="dark"] .reward-box { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .reward-box p { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .reward-box strong { color: #F0E6D2; }

/* dark: reading room */
html[data-theme="dark"] .filter-tag { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .filter-tag:hover, html[data-theme="dark"] .filter-tag.active { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .article-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .article-title { color: #F0E6D2; }
html[data-theme="dark"] .article-excerpt { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .new-article-btn { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .editor { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .editor-title { color: #F0E6D2; }
html[data-theme="dark"] .editor-input, html[data-theme="dark"] .editor-select, html[data-theme="dark"] .editor-textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: #F0E6D2; }

/* dark: chat / contact */
html[data-theme="dark"] .contact { background: #0A1228; }
html[data-theme="dark"] .contact-title { color: #F0E6D2; }
html[data-theme="dark"] .contact-sub { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .form-field input, html[data-theme="dark"] .form-field select, html[data-theme="dark"] .form-field textarea { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: #F0E6D2; }
html[data-theme="dark"] .form-field input::placeholder, html[data-theme="dark"] .form-field textarea::placeholder { color: rgba(240,230,210,0.35); }
html[data-theme="dark"] .form-submit { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .contact-channel { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .contact-channel-name { color: #F0E6D2; }
html[data-theme="dark"] .contact-channel-value { color: rgba(240,230,210,0.6); }

/* dark: login */
html[data-theme="dark"] .login-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .login-title { color: #F0E6D2; }
html[data-theme="dark"] .login-sub { color: rgba(240,230,210,0.6); }
html[data-theme="dark"] .form-label { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .form-input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: #F0E6D2; }
html[data-theme="dark"] .form-input:focus { background: rgba(255,255,255,0.06); }
html[data-theme="dark"] .form-note { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .form-btn { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .login-back { color: rgba(240,230,210,0.5); }

/* dark: support */
html[data-theme="dark"] .support-eyebrow { color: #F0E6D2; }
html[data-theme="dark"] .support-title { color: #F0E6D2; }
html[data-theme="dark"] .support-sub { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .support-channel { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .contribute-btn { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .allocation-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .allocation-name { color: #F0E6D2; }
html[data-theme="dark"] .allocation-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .why-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .why-card h3 { color: #F0E6D2; }
html[data-theme="dark"] .why-card p { color: rgba(240,230,210,0.7); }

/* dark: index page specific */
html[data-theme="dark"] .founder-strip { background: #0A1228; border-block-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .founder-strip-name { color: #F0E6D2; }
html[data-theme="dark"] .founder-strip-story { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .founder-strip-story strong { color: #F0E6D2; }
html[data-theme="dark"] .founder-philosophy { background: rgba(184,92,44,0.08); color: #F0E6D2; }
html[data-theme="dark"] .evo-chip { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .founder-testimonial-note { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .big-number { background: linear-gradient(180deg, #0A1228 0%, #0F1A38 100%); }
html[data-theme="dark"] .big-number-value { color: #F0E6D2; }
html[data-theme="dark"] .big-number-label { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .big-number-source { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .carnegie { background: #0A1228; }
html[data-theme="dark"] .carnegie-cta { background: var(--terracotta); }
html[data-theme="dark"] .carnegie-cta-title { color: #F0E6D2; }
html[data-theme="dark"] .carnegie-cta-sub { color: rgba(240,230,210,0.9); }
html[data-theme="dark"] .q-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .q-text { color: #F0E6D2; }
html[data-theme="dark"] .q-reveal { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(240,230,210,0.85); }
html[data-theme="dark"] .existential { background: #0A1228; }
html[data-theme="dark"] .ex-q { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .ex-q-text { color: #F0E6D2; }
html[data-theme="dark"] .ex-q-en { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .ex-cta-text { color: #F0E6D2; }
html[data-theme="dark"] .proof-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .proof-card-title { color: #F0E6D2; }
html[data-theme="dark"] .proof-card-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .is-isnot { background: #0A1228; }
html[data-theme="dark"] .is-card, html[data-theme="dark"] .isnot-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .is-list li, html[data-theme="dark"] .isnot-list li { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .is-list li strong, html[data-theme="dark"] .isnot-list li strong { color: #F0E6D2; }
html[data-theme="dark"] .is-this-you { background: #0A1228; }
html[data-theme="dark"] .ity-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .ity-card-pain { color: #F0E6D2; }
html[data-theme="dark"] .ity-card-inner { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .ity-escalator { background: rgba(184,92,44,0.12); border: 1px solid rgba(184,92,44,0.3); }
html[data-theme="dark"] .ity-escalator-text { color: #F0E6D2; }
html[data-theme="dark"] .capabilities { background: #0A1228; }
html[data-theme="dark"] .layer-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .layer-name { color: #F0E6D2; }
html[data-theme="dark"] .layer-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .layer-example { background: rgba(184,92,44,0.08); color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .infra-cell { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .infra-num { color: #F0E6D2; }
html[data-theme="dark"] .infra-label { color: rgba(240,230,210,0.6); }
html[data-theme="dark"] .sov-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .comparisons { background: #0A1228; }
html[data-theme="dark"] .cmp-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .cmp-points li { color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .cmp-note { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .track-record { background: #0A1228; }
html[data-theme="dark"] .incident { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .incident-body h3 { color: #F0E6D2; }
html[data-theme="dark"] .incident-body p { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .engagement { background: #0A1228; }
html[data-theme="dark"] .tier { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .tier-name { color: #F0E6D2; }
html[data-theme="dark"] .tier-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .tier-features li { color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .tier.featured { background: var(--navy); color: #F0E6D2; }
html[data-theme="dark"] .tier.featured .tier-name { color: #F0E6D2; }
html[data-theme="dark"] .tier.featured .tier-desc { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .tier.featured .tier-features li { color: rgba(240,230,210,0.85); }
html[data-theme="dark"] .tier.featured .tier-cta { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .tier.featured .value-levers-title { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .value-lever-text { color: rgba(240,230,210,0.8); }
html[data-theme="dark"] .value-lever-text strong { color: #F0E6D2; }
html[data-theme="dark"] .persona-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .persona-card-title { color: #F0E6D2; }
html[data-theme="dark"] .persona-card-why { color: rgba(240,230,210,0.6); }
html[data-theme="dark"] .industries { background: #0A1228; }
html[data-theme="dark"] .compliance { background: #0A1228; }
html[data-theme="dark"] .compliance-tag { background: rgba(255,255,255,0.06); color: rgba(240,230,210,0.85); border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .industry-stat-num { color: var(--terracotta); }
html[data-theme="dark"] .industry-stat-name { color: rgba(240,230,210,0.7); }

/* dark: index page inline overrides */
html[data-theme="dark"] .hero-trust { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .hero-trust strong { color: #F0E6D2; }
html[data-theme="dark"] .hero-trust .dot { color: rgba(240,230,210,0.3); }
html[data-theme="dark"] .q-item:hover { border-color: rgba(240,230,210,0.25); }
html[data-theme="dark"] .q-text { color: #F0E6D2; }
html[data-theme="dark"] .q-btn { border-color: rgba(240,230,210,0.25); color: #F0E6D2; }
html[data-theme="dark"] .q-btn:hover { background: rgba(240,230,210,0.06); }
html[data-theme="dark"] .q-btn.q-yes { background: var(--terracotta); color: #F0E6D2; border-color: var(--terracotta); }
html[data-theme="dark"] .q-reveal { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(240,230,210,0.85); }
html[data-theme="dark"] .q-reveal strong { color: #F0E6D2; }
html[data-theme="dark"] .proof-card-title { color: #F0E6D2; }
html[data-theme="dark"] .proof-card-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .cmp-title { color: #F0E6D2; }
html[data-theme="dark"] .cmp-context { color: rgba(240,230,210,0.4); border-bottom-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .cmp-points li { color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .cmp-points li strong { color: #F0E6D2; }
html[data-theme="dark"] .cmp-note { color: rgba(240,230,210,0.5); }
html[data-theme="dark"] .cmp-note a { color: var(--terracotta); }
html[data-theme="dark"] .incident:hover { border-color: rgba(240,230,210,0.25); }
html[data-theme="dark"] .incident-body h3 { color: #F0E6D2; }
html[data-theme="dark"] .incident-body p { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .cap-subsection-title { color: #F0E6D2; }
html[data-theme="dark"] .cap-subsection-sub { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .prod-name { color: #F0E6D2; }
html[data-theme="dark"] .prod-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .cap-divider { background: rgba(255,255,255,0.08); }
html[data-theme="dark"] .prod-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .roi-label { color: rgba(240,230,210,0.6); }
html[data-theme="dark"] .roi-value { color: #F0E6D2; }
html[data-theme="dark"] .roi-value.bad { color: var(--terracotta); }
html[data-theme="dark"] .roi-value.good { color: var(--gold); }
html[data-theme="dark"] .roi-sub { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .roi-strip { border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .roi-cell { border-inline-end-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .tier-amount { color: #F0E6D2; }
html[data-theme="dark"] .tier-eyebrow { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .tier-cta { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .tier.featured .tier-cta { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .value-levers-title { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .value-levers { border-top-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .value-lever-label { color: var(--terracotta); }
html[data-theme="dark"] .tier.featured .value-levers { border-top-color: rgba(255,255,255,0.15); }
html[data-theme="dark"] .cap-subsection-num { color: var(--terracotta); }
html[data-theme="dark"] .prod-industry { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .prod-status { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .layer-example strong { color: var(--terracotta); }
html[data-theme="dark"] .sov-name { color: #F0E6D2; }
html[data-theme="dark"] .sov-desc { color: rgba(240,230,210,0.7); }
html[data-theme="dark"] .sov-check { background: var(--terracotta); }
html[data-theme="dark"] .ex-target { color: var(--terracotta); }
html[data-theme="dark"] .btn-primary { background: var(--terracotta); color: #F0E6D2; border-color: var(--terracotta); }
html[data-theme="dark"] .btn-primary:hover { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .btn-secondary { background: transparent; color: #F0E6D2; border-color: rgba(240,230,210,0.25); }
html[data-theme="dark"] .btn-secondary:hover { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .btn-adam { background: var(--terracotta); color: #F0E6D2; border-color: var(--terracotta); }
html[data-theme="dark"] .btn-adam:hover { background: #F0E6D2; color: #0A1228; }
html[data-theme="dark"] .topbar-cta { background: var(--terracotta); color: #F0E6D2; }
html[data-theme="dark"] .big-number-source { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .ity-intro { color: #F0E6D2; }
html[data-theme="dark"] .ity-card-inner strong { color: var(--terracotta); }
html[data-theme="dark"] .proof-card-label { color: var(--terracotta); }
html[data-theme="dark"] .proof-card.featured { background: var(--navy); border-color: var(--navy); }
html[data-theme="dark"] .proof-card.featured .proof-card-title { color: #F0E6D2; }
html[data-theme="dark"] .proof-card.featured .proof-card-desc { color: rgba(240,230,210,0.75); }
html[data-theme="dark"] .proof-card.featured .proof-card-label { color: var(--terracotta); }
html[data-theme="dark"] .terminal { background: #060B1A; border-color: rgba(255,255,255,0.1); }
html[data-theme="dark"] .terminal-title { color: rgba(240,230,210,0.4); }
html[data-theme="dark"] .compliance-tags span { background: rgba(255,255,255,0.06); color: rgba(240,230,210,0.85); border-color: rgba(255,255,255,0.12); }
html[data-theme="dark"] .industries-title { color: rgba(240,230,210,0.4); }