/**
 * Medra Biotech LLP - Design Tokens & Variables
 * Website colors use deep blue as the primary UI color; supplied logo artwork stays unchanged.
 */

:root {
  /* Medra palette: the original wordmark blue is reserved for the logo artwork. */
  --brand-blue-logo: #002073;
  --brand-blue: #00184F;            /* Deep blue; primary UI, headings, and dark sections. */
  --brand-blue-hover: #284F8E;      /* Symbol blue; hover, focus, and secondary accents. */
  --brand-blue-deep: #00184F;
  --brand-teal: #49938F;            /* Symbol teal; decorative accents. */
  --brand-teal-dark: #2B6765;       /* Darkened teal for text and status icons. */
  --brand-blue-soft: #DCE7F5;
  --brand-canvas: #F3F6FC;
  --brand-surface: #FFFFFF;
  --brand-surface-alt: #DCE7F5;
  --brand-border: #D6E0EF;
  --brand-ink: #00184F;
  --brand-muted: #52627A;
  --brand-text-light: #61718B;
  --brand-text-subtle: #9AAED0;

  /* Shared component aliases. */
  --color-primary: var(--brand-blue);
  --color-primary-dark: var(--brand-blue-deep);
  --color-primary-light: var(--brand-blue-hover);
  --color-navy: var(--brand-blue);
  --color-navy-hover: var(--brand-blue-hover);
  --color-accent: var(--brand-blue-hover);
  --color-accent-teal: var(--brand-teal-dark);
  --color-accent-dark: var(--brand-teal-dark);
  --color-accent-light: var(--brand-blue-soft);
  --color-accent-glow: rgba(73, 147, 143, 0.25);

  /* Status colors keep their meaning. */
  --color-emerald: var(--brand-teal-dark);
  --color-emerald-light: #ECF5F4;
  --color-amber: #F59E0B;
  --color-rose: #F43F5E;

  --color-bg: var(--brand-surface);
  --color-bg-subtle: var(--brand-canvas);
  --color-bg-alt: var(--brand-surface-alt);
  --color-bg-card: var(--brand-surface);
  --color-bg-glass: rgba(255, 255, 255, 0.85);
  --color-bg-dark-glass: rgba(0, 24, 79, 0.85);
  --color-text-main: var(--brand-ink);
  --color-text-muted: var(--brand-muted);
  --color-text-light: var(--brand-text-light);
  --color-text-white: #FFFFFF;
  --color-text-subtle: var(--brand-text-subtle);
  --color-border: var(--brand-border);
  --color-border-subtle: var(--brand-surface-alt);
  --color-border-focus: var(--brand-blue-hover);
  --color-border-glass: rgba(255, 255, 255, 0.18);

  /* Typography System */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Font Scales */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.77rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.1vw, 2.375rem);
  --text-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3.125rem);
  --text-5xl: clamp(2.75rem, 2.3rem + 2.25vw, 4.25rem);
  --text-display: clamp(3.25rem, 2.7rem + 3.2vw, 5.5rem);

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 24, 79, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 24, 79, 0.08), 0 2px 4px -2px rgba(0, 24, 79, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 24, 79, 0.08), 0 4px 6px -4px rgba(0, 24, 79, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 24, 79, 0.1), 0 8px 10px -6px rgba(0, 24, 79, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 24, 79, 0.2);
  --shadow-glow: 0 0 35px -5px var(--color-accent-glow);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Layout Spacing */
  --container-max: 1360px;
  --container-pad: clamp(1.25rem, 1rem + 2vw, 3rem);
  --section-pad-y: clamp(4.5rem, 3.5rem + 4vw, 8rem);
  --section-pad-sm: clamp(3rem, 2rem + 2.5vw, 5rem);

  /* Transitions & Animation Easing */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-sticky: 100;
  --z-drawer: 800;
  --z-header: 900;
  --z-modal: 1000;
  --z-toast: 1200;
}
