/*
 * THEME FILE - colors, fonts and shapes, in one place.
 *
 * Values copied from the live bookdesignco.com tool pages (read from
 * https://bookdesignco.com/epub-checker/ on 2026-11-17): dark page, cream
 * text, Fraunces headings, Source Sans 3 body, orange-to-amber "flame"
 * buttons, pill shapes. If the site theme changes, change it here only.
 */
:root {
  color-scheme: dark;

  /* page */
  --bdc-bg: #0c0b09;
  --bdc-card: #14120e;
  --bdc-card-deep: #100e0b;
  --bdc-card-hover: #1a1712;
  --bdc-text: #f4efe6;
  --bdc-soft: #cabfaf;
  --bdc-muted: #a99f8f;
  --bdc-dim: #8a8175;
  --bdc-line: rgba(244, 239, 230, .12);
  --bdc-line-soft: rgba(244, 239, 230, .08);
  --bdc-line-strong: rgba(244, 239, 230, .22);

  /* brand */
  --bdc-flame: #f05123;
  --bdc-amber: #f59e0b;
  --bdc-gradient: linear-gradient(100deg, #f05123, #f59e0b);
  --bdc-gradient-soft: linear-gradient(135deg, rgba(240, 81, 35, .14), rgba(245, 158, 11, .08));

  /* status: same three colors the EPUB checker uses */
  --bdc-pass: #7cb518;  --bdc-pass-rgb: 124, 181, 24;
  --bdc-warn: #f59e0b;  --bdc-warn-rgb: 245, 158, 11;
  --bdc-fail: #f05123;  --bdc-fail-rgb: 240, 81, 35;
  --bdc-info: #a99f8f;  --bdc-info-rgb: 169, 159, 143;

  /* type */
  --bdc-font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --bdc-font-head: Fraunces, Georgia, serif;

  /* shape */
  --bdc-radius: 16px;
  --bdc-radius-sm: 12px;
  --bdc-pill: 999px;
}
