/* Updated design tokens for a dark, professional To The Moon interface */

:root {
  /* BACKGROUNDS — dark navy and grayscale palette */
  --color-bg: #020617;                /* main background, almost black with blue tint */
  --color-bg-alt: #02081f;            /* slightly lighter navy */
  --color-surface: #050b18;           /* panels and generic sections */
  --color-surface-elevated: #0b1530;  /* elevated surfaces like cards and modals */
  --color-overlay: rgba(15, 23, 42, 0.82);

  /* TEXT COLORS */
  --color-ink: #e5e7eb;               /* primary text (soft white) */
  --color-ink-2: #cbd5f5;             /* secondary text */
  --color-ink-muted: #9ca3af;         /* muted text on light/dark surfaces */
  --color-ink-on-dark: #f9fafb;       /* text on very dark backgrounds */
  --color-ink-muted-on-dark: #9ca3af; /* muted text on dark surfaces */

  /* BORDERS */
  --color-border-subtle: rgba(148, 163, 184, 0.25);
  --color-border-soft-on-dark: rgba(148, 163, 184, 0.45);
  --color-border-strong-on-dark: rgba(148, 163, 184, 0.75);

  /* BRAND/ACCENT COLORS */
  --color-accent: #3b82f6;            /* core accent blue */
  --color-accent-soft: rgba(59, 130, 246, 0.18);
  --color-accent-strong: #2563eb;     /* darker accent for hover/active */
  --color-accent-deep: #1e293b;       /* deep accent for backgrounds */
  --color-accent-tint: rgba(59, 130, 246, 0.35);

  /* TYPOGRAPHY */
  /* Space Grotesk: ensure this font is loaded via HTML */
  --font-base: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Scale for type sizes (mobile-first) */
  --font-scale-0: 12px;
  --font-scale-1: 14px;
  --font-scale-2: 16px;
  --font-scale-3: 20px;
  --font-scale-4: 24px;
  --font-scale-5: 32px;
  --font-scale-6: 40px;

  /* SPACING (8pt scale) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* BORDER RADII */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* SHADOWS */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.12);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-3: 0 20px 40px rgba(0, 0, 0, 0.35);

  /* MOTION */
  --motion-duration-xs: 120ms;
  --motion-duration-sm: 160ms;
  --motion-duration-md: 220ms;
  --motion-duration-lg: 320ms;
  --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-emphasis: cubic-bezier(0.33, 1, 0.68, 1);

  /* Z-INDEX LAYERS */
  --z-base: 0;
  --z-header: 900;
  --z-modal: 1000;
  --z-toast: 1100;
  --z-skiplink: 1200;
}