/*
 * BioLite brand tokens, dark by default: the BioLite dark mode the brand guidelines give new tools,
 * in place of Backup Inspector's navy and indigo. Generated, so regenerate rather than edit:
 *   python3 <biolite-goalzero-brand skill>/scripts/brand_tokens.py --brand biolite --format css \
 *     --default dark --fonts google -o infrastructure/backup-api/web-shared/brand.css
 */
/* Source: BioLite Brand Book 2021 (032021_BioLite_BrandBook.pdf), Brand Toolkit pp. 78-94, Brand Application pp. 98-108 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* BioLite palette (brand book values) */
  --bl-teal: #008fa1;
  --bl-charcoal: #363436;
  --bl-light-grey: #f3f3f3;
  --bl-grey: #ebebec;
  --bl-medium-grey: #cfd2d3;
  --bl-yellow: #ff8f00;
  --bl-orange: #c15027;
  --bl-plum: #98417a;
  --bl-indigo: #5b64ae;
  --bl-gold: #f9a83f;
  /* Typography and shape */
  --brand-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand-font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --brand-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --brand-heading-case: none;
  --brand-heading-weight: 700;
  --brand-heading-tracking: 0;
  --brand-subheading-weight: 300;
  --brand-eyebrow-case: uppercase;
  --brand-eyebrow-weight: 400;
  --brand-eyebrow-tracking: 0.25em;
  --brand-display-weight: 700;
  --brand-body-weight: 300;
  --brand-body-weight-ui: 400;
  --brand-radius: 6px;
  --brand-radius-sm: 3px;
  --brand-accent-bar: var(--brand-primary);
  /* Semantic tokens (dark) - style components with these */
  --brand-primary: #008fa1;
  --brand-on-primary: #ffffff;
  --brand-primary-text: #4eaebe;
  --brand-primary-container: #00363f;
  --brand-on-primary-container: #cdeff5;
  --brand-cta: #008fa1;
  --brand-on-cta: #ffffff;
  --brand-ink: #f3f3f3;
  --brand-ink-muted: #a9a7aa;
  --brand-surface: #201f20;
  --brand-surface-alt: #2b292b;
  --brand-surface-sunken: #181618;
  --brand-border: #494749;
  --brand-border-subtle: #393739;
  --brand-chrome: #181618;
  --brand-on-chrome: #f3f3f3;
  --brand-chrome-accent: #4eaebe;
  --brand-link: #4eaebe;
  --brand-link-underline: #4eaebe;
  --brand-focus: #4eaebe;
  --brand-error: #d9663e;
  --brand-on-error: #181618;
  --brand-error-container: #421d10;
  --brand-error-text: #e27b55;
  --brand-warning: #ff8f00;
  --brand-on-warning: #181618;
  --brand-warning-container: #442100;
  --brand-warning-text: #ffa333;
  --brand-success: #6cc17a;
  --brand-on-success: #181618;
  --brand-success-container: #182f1c;
  --brand-success-text: #6cc17a;
  --brand-info: #4eaebe;
  --brand-on-info: #181618;
  --brand-info-container: #00363f;
  --brand-info-text: #4eaebe;
  --brand-chart-1: #4eaebe;
  --brand-chart-2: #ff8f00;
  --brand-chart-3: #c768a6;
  --brand-chart-4: #8d95dc;
  --brand-chart-5: #e27b55;
  --brand-chart-6: #cfd2d3;
  --brand-chart-7: #a3d8e2;
  --brand-chart-8: #6b696c;
  color-scheme: dark;
}

[data-theme="light"], .theme-light {
  --brand-primary: #008fa1;
  --brand-on-primary: #ffffff;
  --brand-primary-text: #00798b;
  --brand-primary-container: #d4eef2;
  --brand-on-primary-container: #004758;
  --brand-cta: #008fa1;
  --brand-on-cta: #ffffff;
  --brand-ink: #363436;
  --brand-ink-muted: #6b696c;
  --brand-surface: #ffffff;
  --brand-surface-alt: #f3f3f3;
  --brand-surface-sunken: #ebebec;
  --brand-border: #cfd2d3;
  --brand-border-subtle: #ebebec;
  --brand-chrome: #363436;
  --brand-on-chrome: #ffffff;
  --brand-chrome-accent: #4eaebe;
  --brand-link: #00798b;
  --brand-link-underline: #00798b;
  --brand-focus: #008fa1;
  --brand-error: #c15027;
  --brand-on-error: #ffffff;
  --brand-error-container: #fae6e0;
  --brand-error-text: #c15027;
  --brand-warning: #ff8f00;
  --brand-on-warning: #363436;
  --brand-warning-container: #ffecd5;
  --brand-warning-text: #a65300;
  --brand-success: #3a7d44;
  --brand-on-success: #ffffff;
  --brand-success-container: #e8f2e8;
  --brand-success-text: #3a7d44;
  --brand-info: #00798b;
  --brand-on-info: #ffffff;
  --brand-info-container: #d4eef2;
  --brand-info-text: #00798b;
  --brand-chart-1: #008fa1;
  --brand-chart-2: #ff8f00;
  --brand-chart-3: #98417a;
  --brand-chart-4: #5b64ae;
  --brand-chart-5: #c15027;
  --brand-chart-6: #363436;
  --brand-chart-7: #85cbd8;
  --brand-chart-8: #cfd2d3;
  color-scheme: light;
}
