/* Webfonts are self-hosted — see styles/fonts.css. */

/* Moduloa color tokens — from Brand & Design System v0.1 §10 */
:root {
  /* Primary palette */
  --mo-black: #111312;            /* deep background */
  --mo-ink: #1B1F1D;              /* main dark surface */
  --mo-surface: #242A27;          /* card surface */
  --mo-surface-raised: #303733;   /* raised panels */
  --mo-border: rgba(255, 255, 255, 0.12);
  --mo-white: #FFFFFF;            /* primary text */
  --mo-text: #E7EBE8;             /* main body text */
  --mo-muted: #9BA39F;            /* muted text */
  --mo-accent: #4FC99A;           /* main Moduloa accent */
  --mo-accent-soft: rgba(79, 201, 154, 0.14);
  --mo-accent-strong: #72D8B0;    /* active accent */

  /* Functional colors */
  --mo-success: #4FC99A;
  --mo-warning: #E6A100;
  --mo-error: #E5484D;
  --mo-info: #5B9BD5;

  /* Semantic aliases */
  --bg-page: var(--mo-black);
  --bg-surface: var(--mo-ink);
  --surface-card: var(--mo-surface);
  --surface-raised: var(--mo-surface-raised);
  --border-subtle: var(--mo-border);
  --text-heading: var(--mo-white);
  --text-body: var(--mo-text);
  --text-muted: var(--mo-muted);
  --accent: var(--mo-accent);
  --accent-soft: var(--mo-accent-soft);
  --accent-strong: var(--mo-accent-strong);
}

/* Moduloa typography tokens — v0.1 §11 */
:root {
  --font-display: 'Space Grotesk', system-ui, sans-serif; /* display / headings */
  --font-body: 'Inter', system-ui, sans-serif;            /* body text */
  --font-mono: 'JetBrains Mono', ui-monospace, monospace; /* technical labels */

  /* Type scale */
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 26px;
  --text-2xl: 34px;
  --text-3xl: 46px;
  --text-4xl: 62px;

  /* Technical label style (uppercase, wide tracking, mono) */
  --label-tracking: 0.14em;
  --label-size: 11px;

  --leading-tight: 1.1;
  --leading-heading: 1.2;
  --leading-body: 1.6;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
}

/* Moduloa spacing, radius, shadows — v0.1 §12–13 */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 6px;    /* small tags */
  --radius-md: 10px;   /* buttons, inputs */
  --radius-lg: 16px;   /* cards */
  --radius-xl: 24px;   /* large sections */
  --radius-pill: 999px;

  /* Shadows: subtle, dark-on-dark. Depth mostly via surface steps + borders. */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-raised: 0 8px 24px rgba(0, 0, 0, 0.45);

  /* Motion: subtle, purposeful */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
}
