/*
 * GENERATED from Apps/tokens/tokens.json by tools/gen_css.mjs - do not edit by hand.
 * ByteCrafters App Design System 1.5.3.
 * To change a value, change tokens.json in the design system repository, run `node tools/generate.mjs`,
 * release a new version, then copy this file again.
 */

:root {
  /* brand */
  --bc-ink: #0E1116;
  --bc-paper: #F4F5F7;
  --bc-green: #10B981;
  --bc-green-bright: #34D399;

  /* colour, light */
  --bc-background: #F4F5F7;
  --bc-surface: #FFFFFF;
  --bc-surface-raised: #FFFFFF;
  --bc-well: #EEF0F3;
  --bc-bar: #FFFFFF;
  --bc-text: #0E1116;
  --bc-text-muted: #5A6472;
  --bc-text-faint: #6B7482;
  --bc-line: #E2E5EA;
  --bc-line-strong: #D5D9E0;
  --bc-divider: #EEF0F3;
  --bc-action: #1A1E25;
  --bc-on-action: #FFFFFF;
  --bc-signal: #10B981;
  --bc-signal-text: #047857;
  --bc-signal-soft: #DDF7EC;
  --bc-on-signal-soft: #046C4E;
  --bc-on-signal: #0E1116;
  --bc-caution: #F5A524;
  --bc-caution-text: #7A5200;
  --bc-caution-soft: #FFF4DC;
  --bc-on-caution-soft: #5C3F00;
  --bc-danger: #B42318;
  --bc-on-danger: #FFFFFF;
  --bc-danger-soft: #FDE8E6;
  --bc-on-danger-soft: #5C1410;
  --bc-info: #1D4ED8;
  --bc-info-soft: #E3EDFF;
  --bc-on-info-soft: #1D4ED8;
  --bc-inverse-surface: #1A1E25;
  --bc-on-inverse: #FFFFFF;
  --bc-on-inverse-muted: #B4BCC8;
  --bc-inverse-signal: #6EE7B7;
  --bc-scrim: rgba(11, 13, 16, 0.5);
  --bc-data-1: #10B981;
  --bc-data-2: #5546D8;
  --bc-data-2-soft: #EAE8FB;
  --bc-data-3: #F5A524;
  --bc-data-4: #2563EB;
  --bc-data-5: #5A6472;

  /* shape and stroke */
  --bc-radius-xs: 8px;
  --bc-radius-sm: 12px;
  --bc-radius-md: 16px;
  --bc-radius-lg: 20px;
  --bc-radius-xl: 24px;
  --bc-radius-xxl: 28px;
  --bc-radius-full: 999px;
  --bc-stroke-hairline: 1px;
  --bc-stroke-emphasis: 1.5px;
  --bc-stroke-focus: 2px;
  --bc-stroke-graphic: 2px;

  /* spacing, named by value in px */
  --bc-space-2: 2px;
  --bc-space-4: 4px;
  --bc-space-6: 6px;
  --bc-space-8: 8px;
  --bc-space-12: 12px;
  --bc-space-16: 16px;
  --bc-space-20: 20px;
  --bc-space-24: 24px;
  --bc-space-32: 32px;
  --bc-space-40: 40px;
  --bc-space-48: 48px;

  /* motion */
  --bc-duration-fast: 120ms;
  --bc-duration-base: 200ms;
  --bc-duration-slow: 320ms;
  --bc-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --bc-ease-exit: cubic-bezier(0.3, 0, 1, 1);

  /* fonts: a site sets --bc-font-<role>-face to the family name it has loaded */
  --bc-font-display: var(--bc-font-display-face, "Space Grotesk"), system-ui, sans-serif;
  --bc-font-text: var(--bc-font-text-face, "Inter"), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bc-font-mono: var(--bc-font-mono-face, "JetBrains Mono"), ui-monospace, Consolas, monospace;

  /* web type scale */
  --bc-type-display-font: var(--bc-font-display);
  --bc-type-display-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  --bc-type-display-line-height: 1.05;
  --bc-type-display-weight: 600;
  --bc-type-display-tracking: -0.03em;
  --bc-type-h1-font: var(--bc-font-display);
  --bc-type-h1-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  --bc-type-h1-line-height: 1.1;
  --bc-type-h1-weight: 600;
  --bc-type-h1-tracking: -0.02em;
  --bc-type-h2-font: var(--bc-font-display);
  --bc-type-h2-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  --bc-type-h2-line-height: 1.15;
  --bc-type-h2-weight: 600;
  --bc-type-h2-tracking: -0.015em;
  --bc-type-h3-font: var(--bc-font-display);
  --bc-type-h3-size: 1.25rem;
  --bc-type-h3-line-height: 1.3;
  --bc-type-h3-weight: 600;
  --bc-type-h3-tracking: -0.01em;
  --bc-type-body-large-font: var(--bc-font-text);
  --bc-type-body-large-size: 1.1875rem;
  --bc-type-body-large-line-height: 1.6;
  --bc-type-body-large-weight: 400;
  --bc-type-body-font: var(--bc-font-text);
  --bc-type-body-size: 1.0625rem;
  --bc-type-body-line-height: 1.65;
  --bc-type-body-weight: 400;
  --bc-type-small-font: var(--bc-font-text);
  --bc-type-small-size: 0.875rem;
  --bc-type-small-line-height: 1.5;
  --bc-type-small-weight: 400;
  --bc-type-overline-font: var(--bc-font-text);
  --bc-type-overline-size: 0.75rem;
  --bc-type-overline-line-height: 1.33;
  --bc-type-overline-weight: 600;
  --bc-type-overline-tracking: 0.08em;
  --bc-type-overline-transform: uppercase;
  --bc-type-mono-font: var(--bc-font-mono);
  --bc-type-mono-size: 0.875rem;
  --bc-type-mono-line-height: 1.5;
  --bc-type-mono-weight: 400;

  /* web layout. Breakpoints are listed for reference: custom properties cannot be used in media queries. */
  --bc-content-max-width: 1120px;
  --bc-text-max-width: 680px;
  --bc-gutter: 20px;
  --bc-gutter-wide: 32px;
  --bc-section-space: 64px;
  --bc-section-space-wide: 96px;
  --bc-header-height: 64px;
  --bc-breakpoint-sm: 480px;
  --bc-breakpoint-md: 768px;
  --bc-breakpoint-lg: 1024px;
}

/* colour, dark: follows the device unless the site sets data-theme="light" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bc-background: #0B0D10;
    --bc-surface: #14171C;
    --bc-surface-raised: #1F242C;
    --bc-well: #252A33;
    --bc-bar: #0F1215;
    --bc-text: #F4F5F7;
    --bc-text-muted: #9AA4B2;
    --bc-text-faint: #8A93A0;
    --bc-line: #252A33;
    --bc-line-strong: #323843;
    --bc-divider: #1F242C;
    --bc-action: #D7DBE1;
    --bc-on-action: #0E1116;
    --bc-signal: #34D399;
    --bc-signal-text: #34D399;
    --bc-signal-soft: #12261F;
    --bc-on-signal-soft: #6EE7B7;
    --bc-on-signal: #0E1116;
    --bc-caution: #F5A524;
    --bc-caution-text: #F7B955;
    --bc-caution-soft: #2A2110;
    --bc-on-caution-soft: #F6DFA8;
    --bc-danger: #F97066;
    --bc-on-danger: #0E1116;
    --bc-danger-soft: #3A1210;
    --bc-on-danger-soft: #FFD7D3;
    --bc-info: #7CB7FF;
    --bc-info-soft: #16293F;
    --bc-on-info-soft: #7CB7FF;
    --bc-inverse-surface: #D7DBE1;
    --bc-on-inverse: #0E1116;
    --bc-on-inverse-muted: #3D4653;
    --bc-inverse-signal: #046C4E;
    --bc-scrim: rgba(11, 13, 16, 0.64);
    --bc-data-1: #34D399;
    --bc-data-2: #A79BFF;
    --bc-data-2-soft: #1C1A33;
    --bc-data-3: #F5A524;
    --bc-data-4: #7CB7FF;
    --bc-data-5: #9AA4B2;
  }
}

/* colour, dark: chosen with data-theme="dark" */
:root[data-theme="dark"] {
  --bc-background: #0B0D10;
  --bc-surface: #14171C;
  --bc-surface-raised: #1F242C;
  --bc-well: #252A33;
  --bc-bar: #0F1215;
  --bc-text: #F4F5F7;
  --bc-text-muted: #9AA4B2;
  --bc-text-faint: #8A93A0;
  --bc-line: #252A33;
  --bc-line-strong: #323843;
  --bc-divider: #1F242C;
  --bc-action: #D7DBE1;
  --bc-on-action: #0E1116;
  --bc-signal: #34D399;
  --bc-signal-text: #34D399;
  --bc-signal-soft: #12261F;
  --bc-on-signal-soft: #6EE7B7;
  --bc-on-signal: #0E1116;
  --bc-caution: #F5A524;
  --bc-caution-text: #F7B955;
  --bc-caution-soft: #2A2110;
  --bc-on-caution-soft: #F6DFA8;
  --bc-danger: #F97066;
  --bc-on-danger: #0E1116;
  --bc-danger-soft: #3A1210;
  --bc-on-danger-soft: #FFD7D3;
  --bc-info: #7CB7FF;
  --bc-info-soft: #16293F;
  --bc-on-info-soft: #7CB7FF;
  --bc-inverse-surface: #D7DBE1;
  --bc-on-inverse: #0E1116;
  --bc-on-inverse-muted: #3D4653;
  --bc-inverse-signal: #046C4E;
  --bc-scrim: rgba(11, 13, 16, 0.64);
  --bc-data-1: #34D399;
  --bc-data-2: #A79BFF;
  --bc-data-2-soft: #1C1A33;
  --bc-data-3: #F5A524;
  --bc-data-4: #7CB7FF;
  --bc-data-5: #9AA4B2;
}
