/*
 * ═══════════════════════════════════════════════════════════════
 *  SUPRA DESIGN SYSTEM — CSS Custom Properties
 *  Generated from Figma Variables (Supra Design Kit)
 *  Collections: Supra · Dimensions · Shape · Font theme · Typescale
 * ═══════════════════════════════════════════════════════════════
 */

:root {

  /* ── COLOUR SCHEMES (semantic tokens) ─────────────────────────────────── */
  --primary: #00022D;
  --on-primary: #FFFFFF;
  --primary-container: #B2B2C2;
  --on-primary-container: #00022D;
  --secondary: #00FF76;
  --on-secondary: #13153A;
  --secondary-container: #E0FFEE;
  --on-secondary-container: #13153A;
  --tertiary: #434AC7;
  --on-tertiary: #FFFFFF;
  --tertiary-container: #ECEDF9;
  --on-tertiary-container: #383EA6;
  --error: #D92D21;
  --on-error: #FDF7F6;
  --error-container: #FCF1F0;
  --on-error-container: #B5261C;
  --background: #F6F7F9;
  --on-background: #00022D;
  --surface: #FFFFFF;
  --on-surface: #00022D;
  --surface-variant: #F0F0F3;
  --on-surface-variant: #4B5565;
  --outline: #D2D5DA;
  --outline-interactive: #D2D5DA;
  --outline-variant: #C0C3EC;
  --surface-tint: #434AC7;
  --shadow: rgba(0,2,45,0.08);
  --scrim: rgba(0,2,45,0.80);
  --inverse-surface: #1F2937;
  --inverse-on-surface: #FCFCFD;
  --inverse-primary: #CCCCD6;
  --primary-fixed: #F0F0F3;
  --on-primary-fixed: #13153A;
  --primary-fixed-dim: #CCCCD6;
  --on-primary-fixed-variant: #4B5565;
  --secondary-fixed: #98FFC8;
  --on-secondary-fixed: #13153A;
  --secondary-fixed-dim: #4DFFA0;
  --on-secondary-fixed-variant: #4B5565;
  --tertiary-fixed: #C0C3EC;
  --on-tertiary-fixed: #2D3185;
  --tertiary-fixed-dim: #A1A4E3;
  --on-tertiary-fixed-variant: #383EA6;
  --surface-dim: #CCCCD6;
  --surface-bright: #FDFDFE;
  --surface-container-lowest: #FFFFFF;
  --surface-container-low: #F6F7F9;
  --surface-container: #F1F2F4;
  --surface-container-high: #E5E7EB;
  --surface-container-highest: #D2D5DA;


  /* ── ADD-ONS: Success · Warning · Information ─────────────────────────────────── */
  --success-success: #079455;
  --success-on-success: #F7FEF9;
  --success-success-container: #DCFAE5;
  --success-on-success-container: #067B47;
  --warning-warning: #F69007;
  --warning-on-warning: #FFFBF5;
  --warning-warning-container: #FEF8EE;
  --warning-on-warning-container: #7B4804;
  --information-information: #0059FF;
  --information-on-information: #F5F9FF;
  --information-information-container: #E5EEFF;
  --information-on-information-container: #004AD4;


  /* ── STATE LAYERS ─────────────────────────────────── */
  --primary-opacity-08: rgba(0,2,45,0.08);
  --primary-opacity-10: rgba(0,2,45,0.10);
  --primary-opacity-16: rgba(0,2,45,0.16);
  --primary-opacity-40: rgba(0,2,45,0.40);
  --primary-opacity-80: rgba(0,2,45,0.80);
  --secondary-opacity-80: rgba(0,255,118,0.80);
  --tertiary-opacity-80: rgba(67,74,199,0.80);
  --surface-opacity-08: rgba(255,255,255,0.08);
  --surface-opacity-10: rgba(255,255,255,0.10);
  --surface-opacity-16: rgba(255,255,255,0.16);
  --surface-opacity-40: rgba(255,255,255,0.40);
  --surface-opacity-80: rgba(255,255,255,0.80);


  /* ── SPACING ─────────────────────────────────── */
  --spacing-none: 0px;
  --spacing-2-extra-small: 4px;
  --spacing-extra-small: 8px;
  --spacing-small: 12px;
  --spacing-medium: 16px;
  --spacing-large: 24px;
  --spacing-large-increased: 32px;
  --spacing-extra-large: 40px;
  --spacing-2-extra-large: 48px;
  --spacing-3-extra-large: 64px;
  --spacing-full: 80px;
  --spacing-4-extra-large: 72px;
  --spacing-3-extra-small: 2px;


  /* ── SHAPE / BORDER RADIUS ─────────────────────────────────── */
  --radius-none: 0px;
  --radius-extra-small: 4px;
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-large-increased: 20px;
  --radius-extra-large: 24px;
  --radius-extra-large-increased: 32px;
  --radius-extra-extra-large: 40px;
  --radius-full: 1000px;


  /* ── FONT FAMILY & WEIGHT ─────────────────────────────────── */
  --font-family-brand: "Inter", system-ui, sans-serif;
  --font-weight-bold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;
  --font-family-plain: "Inter", system-ui, sans-serif;


  /* ── TYPESCALE ─────────────────────────────────── */
  --type-body-large-size: 16px;
  --type-body-large-line-height: 24px;
  --type-body-large-weight: 400;
  --type-body-medium-size: 14px;
  --type-body-medium-line-height: 20px;
  --type-body-medium-weight: 400;
  --type-body-small-size: 12px;
  --type-body-small-line-height: 16px;
  --type-body-small-weight: 400;
  --type-display-large-size: 44px;
  --type-display-large-line-height: 52px;
  --type-display-large-weight: 500;
  --type-display-medium-size: 40px;
  --type-display-medium-line-height: 48px;
  --type-display-medium-weight: 500;
  --type-display-small-size: 36px;
  --type-display-small-line-height: 44px;
  --type-display-small-weight: 500;
  --type-headline-large-size: 32px;
  --type-headline-large-line-height: 40px;
  --type-headline-large-weight: 500;
  --type-headline-medium-size: 28px;
  --type-headline-medium-line-height: 36px;
  --type-headline-medium-weight: 500;
  --type-headline-small-size: 24px;
  --type-headline-small-line-height: 32px;
  --type-headline-small-weight: 500;
  --type-label-large-size: 14px;
  --type-label-large-line-height: 20px;
  --type-label-large-weight: 500;
  --type-label-medium-size: 12px;
  --type-label-medium-line-height: 18px;
  --type-label-medium-weight: 500;
  --type-label-small-size: 11px;
  --type-label-small-line-height: 16px;
  --type-label-small-weight: 500;
  --type-title-large-size: 22px;
  --type-title-large-line-height: 28px;
  --type-title-large-weight: 500;
  --type-title-large-emphasized-weight: 600;
  --type-title-medium-size: 18px;
  --type-title-medium-line-height: 24px;
  --type-title-medium-weight: 500;
  --type-title-small-size: 14px;
  --type-title-small-line-height: 20px;
  --type-title-small-weight: 500;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  :root {
  --on-tertiary-fixed-variant: #6268D0;
  }
}

[data-theme="dark"] {
  --on-tertiary-fixed-variant: #6268D0;
}
