/* Indraprint design tokens — derived from logo.jpeg (red #E53F44 / green #2BB274),
   deepened where needed to clear WCAG AA 4.5:1 against white for text-bearing UI.
   Refined palette: brand red + accent green, deep navy ink for premium contrast. */
:root {
  /* Brand */
  --color-primary: #D8363C;
  --color-primary-bright: #E6484D;
  --color-primary-dark: #A9282E;
  --color-primary-tint: #FCEBEC;

  --color-accent: #17935A;
  --color-accent-bright: #2FBD7C;
  --color-accent-dark: #0E6B40;
  --color-accent-tint: #E5F6EE;

  /* Neutrals / ink */
  --color-ink: #0F1626;
  --color-ink-muted: #49546A;
  --color-ink-faint: #8490A4;
  --color-border: #E5E9F0;
  --color-border-strong: #C9D0DC;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F6F8FB;
  --color-surface-sunken: #EDF1F6;

  /* Dark surfaces (hero, footer, dark sections) */
  --color-surface-dark: #0D1424;
  --color-surface-dark-2: #161F33;
  --color-surface-dark-3: #212C47;

  /* Semantic */
  --color-success: var(--color-accent);
  --color-success-tint: var(--color-accent-tint);
  --color-danger: #D8363C;
  --color-danger-tint: #FCEBEC;
  --color-warning: #B26E00;
  --color-warning-tint: #FEF3E0;
  --color-info: #2563AA;
  --color-info-tint: #EAF2FB;

  /* Typography */
  --font-heading: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.5rem;
  --leading-tight: 1.15;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.03em;

  /* Spacing (4px base) */
  --space-05: 0.125rem;
  --space-1: 0.25rem;
  --space-15: 0.375rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 22, 38, 0.05), 0 1px 3px rgba(15, 22, 38, 0.07);
  --shadow-md: 0 8px 22px rgba(15, 22, 38, 0.09);
  --shadow-lg: 0 20px 44px rgba(15, 22, 38, 0.16);
  --shadow-primary: 0 10px 26px rgba(216, 54, 60, 0.32);
  --shadow-xl: 0 28px 60px rgba(15, 22, 38, 0.24);
  --shadow-glow: 0 0 0 3px var(--color-primary-tint);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 380ms ease;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1280px;
  --header-height: 66px;
  --bottom-bar-height: 64px;
  --z-dropdown: 20;
  --z-sticky: 40;
  --z-overlay: 80;
  --z-modal: 100;
  --z-toast: 120;

  /* Modern design system additions */
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(229, 233, 240, 0.8);
  --glass-shadow: 0 10px 30px rgba(15, 22, 38, 0.08);

  /* Gradient tokens */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  --gradient-hero: linear-gradient(135deg, var(--color-surface-dark) 0%, var(--color-surface-dark-2) 55%, #101A30 100%);
  --gradient-card: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);

  /* Focus ring */
  --focus-ring: 0 0 0 3px var(--color-primary-tint);
}