/*
 * BusyCalm design tokens
 *
 * This is the canonical token source for the site and mirrors the native
 * tokens in the Dan Johnston — Portfolio Paper file. Prefer semantic tokens
 * in component CSS; use the numbered scales only when no semantic role fits.
 */
:root {
  /* Colour */
  --black: #000000;
  --white: #ffffff;
  --fg-strong: #252525;
  --fg-highlight: #525252;
  --fg-active: #707070;
  --fg-default: #6d6d6d;
  --fg-inactive: #767676;
  --bg-strong: #b4b4b4;
  --bg-border: #c8c8c8;
  --bg-default: #dcdcdc;
  --bg-subtle: #f6f6f6;
  --border-subtle: #ededed;
  --links: #0e70cc;
  --focus-ring: #3c69b9;
  --selection: #e3eafa;

  /* Brand colour */
  --logo-cultureamp: #9a36b2;
  --logo-ignitionspark: #f4502a;
  --logo-ignitiontype: #104240;
  --logo-domain: #0ea800;
  --logo-bigcommerce: #34313f;

  /* Typography */
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --inter: Inter;
  --headings: Fustat;
  --text-small: 16px;
  --text-medium: 18px;
  --text-large: 20px;
  --text-xlarge: 24px;
  --text-heading: 32px;
  --text-display: 64px;
  --text-default: var(--text-small);
  --text-nav: var(--text-medium);
  --weight-default: 400;
  --weight-medium: 500;
  --weight-heavy: 600;
  --weight-readable: var(--weight-default);
  --leading-compact: 24px;
  --leading-label: 26px;
  --leading-body: 28px;
  --leading-heading: 32px;
  --leading-display: 72px;

  /* Spacing: 4px base scale */
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --spacing-10: 40px;
  --spacing-12: 48px;
  --spacing-14: 56px;
  --spacing-16: 64px;
  --spacing-18: 72px;
  --spacing-20: 80px;

  /* Radius */
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --radius-drawer: 20px;

  /* Semantic layout */
  --page-section-gap: 148px;
  --drawer-padding-inline: var(--spacing-10);
  --drawer-padding-block: var(--spacing-6);
  --control-height: 44px;

  /* Legacy aliases retained while older selectors are migrated. */
  --muted: var(--fg-active);
  --line: var(--border-subtle);
  --soft: var(--bg-subtle);
}
