/* ALPHA Theme Typography Tokens — Dark / Light separated */

html[data-theme="dark"]{
  --alpha-t-title:#f8fafc;
  --alpha-t-body:#e8edf3;
  --alpha-t-secondary:#cbd5e1;
  --alpha-t-footer:#94a3b8;
  --alpha-t-footer-muted:#64748b;
  --alpha-t-footer-link:#2dd4bf;
  --alpha-t-meta:#b8c4d4;
  --alpha-t-placeholder:#94a3b8;
  --alpha-read-body:var(--alpha-t-body);
  --alpha-read-desc:#e5e7eb;
  --alpha-read-secondary:var(--alpha-t-secondary);
  --alpha-read-meta:var(--alpha-t-meta);
  --alpha-read-ph:var(--alpha-t-placeholder);
}

html[data-theme="light"]{
  --alpha-t-title:#0f172a;
  --alpha-t-body:#334155;
  --alpha-t-secondary:#475569;
  --alpha-t-footer:#475569;
  --alpha-t-footer-muted:#64748b;
  --alpha-t-footer-link:#0d9488;
  --alpha-t-meta:#64748b;
  --alpha-t-placeholder:#94a3b8;
  --alpha-read-body:var(--alpha-t-body);
  --alpha-read-desc:var(--alpha-t-body);
  --alpha-read-secondary:var(--alpha-t-secondary);
  --alpha-read-meta:var(--alpha-t-meta);
  --alpha-read-ph:var(--alpha-t-placeholder);
}

/* Footer — company / terms / disclaimer / copyright */
html[data-theme="dark"] .alpha-site-footer,
html[data-theme="dark"] .alpha-site-footer div:not(.alpha-footer-brand):not(.alpha-footer-disclaimer){
  color:var(--alpha-t-footer)!important;
}
html[data-theme="dark"] .alpha-site-footer .alpha-footer-brand{color:var(--alpha-t-title)!important;}
html[data-theme="dark"] .alpha-site-footer .alpha-footer-disclaimer{color:var(--alpha-t-footer-muted)!important;}
html[data-theme="dark"] .alpha-site-footer a{color:var(--alpha-t-footer-link)!important;}

html[data-theme="light"] .alpha-site-footer{
  color:var(--alpha-t-footer)!important;
  border-top-color:#e2e8f0!important;
  background:transparent!important;
}
html[data-theme="light"] .alpha-site-footer .alpha-footer-brand{color:var(--alpha-t-title)!important;}
html[data-theme="light"] .alpha-site-footer div:not(.alpha-footer-brand):not(.alpha-footer-links):not(.alpha-footer-disclaimer){
  color:var(--alpha-t-footer)!important;
}
html[data-theme="light"] .alpha-site-footer .alpha-footer-disclaimer{color:var(--alpha-t-footer-muted)!important;}
html[data-theme="light"] .alpha-site-footer a{color:var(--alpha-t-footer-link)!important;}

/* Top disclaimer bar */
html[data-theme="dark"] .alpha-top-disclaimer{color:var(--alpha-t-body)!important;}
html[data-theme="light"] .alpha-top-disclaimer{color:var(--alpha-t-footer-muted)!important;border-bottom-color:#e2e8f0!important;}
html[data-theme="light"] .alpha-site-footer .alpha-footer-copy{color:var(--alpha-t-footer-muted)!important;}
html[data-theme="light"] .alpha-site-footer .alpha-footer-links a{margin:0 8px;text-decoration:none;}

/* Safe footer block (if used) */
html[data-theme="light"] .safe-footer{color:var(--alpha-t-footer)!important;}
html[data-theme="light"] .safe-title{color:var(--alpha-t-secondary)!important;}
html[data-theme="light"] .safe-text{color:var(--alpha-t-footer-muted)!important;}
