/* Shared palette, typography and layout tokens. Legacy aliases support migrated content. */

:root {
  /* Palette */
  --nx-brand: #3200ff;
  --nx-brand-2: #3ec7f5;
  --nx-heading: #0f172a;
  --nx-text: #374151;
  --nx-surface: #ffffff;
  --nx-bg: #ffffff;
  --nx-alt-bg: #0d0614;
  --nx-muted: #4a5568;
  --nx-border: #dce0e5;

  /* Layout */
  --nx-container: 1240px;
  --nx-container-pad: 20px;
  --nx-content: 840px;
  --nx-sidebar: 360px;

  /* Shared transition duration. */
  --nx-animation-duration: 0.25s;

  /* Type */
  --nx-font-body: 'Outfit', sans-serif;
  --nx-font-heading: 'Sora', sans-serif;
  --nx-font-accent: var(--nx-font-body);
  --nx-body-size: 16px;
  --nx-body-line-height: 1.6;
  --nx-type-nav: 1.125rem;
  --nx-type-summary: 1.125rem;
  --nx-type-meta: .9375rem;
  --nx-type-label: .875rem;
  --nx-type-footer: 1rem;
  --nx-type-form: 1.125rem;

  /* Aliases for CSS carried over from the Astra child theme. Transitional. */
  --ast-global-color-0: var(--nx-brand);
  --ast-global-color-1: var(--nx-brand-2);
  --ast-global-color-2: var(--nx-heading);
  --ast-global-color-3: var(--nx-text);
  --ast-global-color-4: var(--nx-surface);
  --ast-global-color-5: var(--nx-bg);
  --ast-global-color-6: var(--nx-alt-bg);
  --ast-global-color-7: var(--nx-muted);
  --ast-global-color-8: var(--nx-border);
  --ast-border-color: var(--nx-border);
}
