/* EIP design tokens, imported 2026-11-16. See docs/DESIGN_PROVENANCE.json. */
:root {
  /* Poland Crimson as Primary Action / Brand Accent */
  --ds-primary: #D9475C;
  --ds-primary-weak: #FDECEE;
  --ds-primary-strong: #BD2B41;
  --ds-primary-glow: rgba(217, 71, 92, 0.35);

  /* Action CTAs (Gradients & Shadows) */
  --ds-cta-gradient: linear-gradient(135deg, #E65A6E 0%, #D9475C 54%, #B62B3F 100%);
  --ds-cta-gradient-hover: linear-gradient(135deg, #F06E80 0%, #D9475C 52%, #A22132 100%);
  --ds-cta-shadow: 0 0 24px var(--ds-primary-glow);

  /* Canvas & Surface Layers (Light Mode Baseline) */
  --ds-bg-canvas: #f8fafc;
  --ds-surface: #ffffff;
  --ds-surface-raised: #f1f5f9;
  --ds-surface-muted: #e2e8f0;
  --ds-surface-strong: #0f172a;
  --ds-surface-sidebar: #0f172a;
  --ds-sidebar-border: rgba(15, 23, 42, 0.8);
  --ds-surface-glass: rgba(255, 255, 255, 0.85);
  --ds-input-bg: rgba(0, 0, 0, 0.03);

  /* Borders & Dividers */
  --ds-border-soft: rgba(0, 0, 0, 0.08);
  --ds-border-strong: rgba(0, 0, 0, 0.15);
  --ds-border-focus: rgba(217, 71, 92, 0.5);

  /* Text & Foreground Roles */
  --ds-text-heading: #0f172a;
  --ds-text-body: #334155;
  --ds-text-muted: #64748b;
  --ds-text-subtle: #94a3b8;

  /* Semantic Status Indicators */
  --ds-status-success: #16a34a;
  --ds-status-warning: #d97706;
  --ds-status-danger: #dc2626;
  --ds-status-info: #0284c7;
/* Typography */
  --ds-font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ds-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ds-font-weight-heading: 600;

  /* Radius */
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-xl: 24px;
  --ds-radius-full: 9999px;

  /* Animation & Depth */
  --ds-ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ds-shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --ds-backdrop-blur: blur(20px);
}

.dark {

  /* Poland Crimson as Primary Action / Brand Accent */
  --ds-primary: #D9475C;
  --ds-primary-weak: #FDECEE;
  --ds-primary-strong: #BD2B41;
  --ds-primary-glow: rgba(217, 71, 92, 0.35);

  /* Action CTAs (Gradients & Shadows) */
  --ds-cta-gradient: linear-gradient(135deg, #E65A6E 0%, #D9475C 54%, #B62B3F 100%);
  --ds-cta-gradient-hover: linear-gradient(135deg, #F06E80 0%, #D9475C 52%, #A22132 100%);
  --ds-cta-shadow: 0 0 24px var(--ds-primary-glow);

  /* Canvas & Surface Layers (Dark Mode Baseline) */
  --ds-bg-canvas: #030712;         /* Deepest app background */
  --ds-surface: #0f172a;           /* Standard panel/card background */
  --ds-surface-raised: #1e293b;    /* Hovered or elevated panel */
  --ds-surface-muted: #334155;     /* Subtle container background */
  --ds-surface-strong: #1e293b;    /* High-emphasis dark container */
  --ds-surface-sidebar: #180b11;   /* Rich deep wine charcoal */
  --ds-sidebar-border: rgba(217, 71, 92, 0.2);

  /* Borders & Dividers */
  --ds-border-soft: rgba(255, 255, 255, 0.06);
  --ds-border-strong: rgba(255, 255, 255, 0.12);
  --ds-border-focus: rgba(217, 71, 92, 0.5);

  /* Text & Foreground Roles */
  --ds-text-heading: #f8fafc;       /* High-contrast headings and values */
  --ds-text-body: #cbd5e1;          /* Primary reading copy */
  --ds-text-muted: #94a3b8;         /* Supporting labels, inactive items */
  --ds-text-subtle: #64748b;        /* Timestamps, metadata, disabled */

  /* Semantic Status Indicators */
  --ds-status-success: #22c55e;
  --ds-status-warning: #fbbf24;
  --ds-status-danger: #ef4444;
  --ds-status-info: #38bdf8;


  --ds-surface-glass: rgba(15, 23, 42, 0.65);
  --ds-input-bg: rgba(0, 0, 0, 0.2);
}

/*
 * Public waitlist pages use a deliberately mixed light/dark marketing palette.
 * Keep that palette stable even when the application theme follows a visitor's
 * dark operating-system preference.
 */
[data-public-theme="light"] {
  color-scheme: light;

  --ds-bg-canvas: #f8fafc;
  --ds-surface: #ffffff;
  --ds-surface-raised: #f1f5f9;
  --ds-surface-muted: #e2e8f0;
  --ds-surface-glass: rgba(255, 255, 255, 0.85);
  --ds-input-bg: rgba(0, 0, 0, 0.03);

  --ds-border-soft: rgba(0, 0, 0, 0.08);
  --ds-border-strong: rgba(0, 0, 0, 0.15);

  --ds-text-heading: #0f172a;
  --ds-text-body: #334155;
  --ds-text-muted: #64748b;
  --ds-text-subtle: #94a3b8;

  --ds-status-success: #16a34a;
  --ds-status-warning: #d97706;
  --ds-status-danger: #dc2626;
  --ds-status-info: #0284c7;

  /* Tailwind theme variables are resolved at the document root, so pin the
   * public page's named utilities as well as their underlying design tokens. */
  --color-baltic-navy: #0f172a;
  --color-vistula-blue: #d9475c;
  --color-warm-porcelain: #f8fafc;
  --color-clear-white: #ffffff;
  --color-deep-ink: #334155;
  --color-steel-slate: #64748b;
  --color-soft-stone: rgba(0, 0, 0, 0.08);
  --color-vistula-mist: rgba(217, 71, 92, 0.15);
  --color-poland-crimson: #d9475c;
  --color-semantic-verified: #16a34a;
  --color-semantic-verified-text: #16a34a;
  --color-semantic-attention: #d97706;
  --color-semantic-attention-text: #d97706;
  --color-semantic-risk: #dc2626;
  --color-semantic-risk-text: #dc2626;
}
