/* ==========================================================
   Rabindramukta Academy — Design Tokens
   One source of truth for colour, type, spacing and shape.
   Use var(--token) in all new CSS instead of hard-coded values.
   ========================================================== */
:root {
  /* Brand colours */
  --rma-navy-900: #061224;
  --rma-navy-800: #091A34;
  --rma-navy-700: #102B52;   /* primary */
  --rma-navy-600: #26364A;
  --rma-gold-500: #C5A15D;   /* accent: buttons & highlights only */
  --rma-gold-100: #F7F1E3;

  /* Neutrals */
  --rma-white: #FFFFFF;
  --rma-gray-50: #F8FAFC;
  --rma-gray-100: #F5F6F8;
  --rma-gray-300: #CBD5E1;
  --rma-gray-600: #475569;
  --rma-gray-900: #0F172A;

  /* Status */
  --rma-success: #15803D;    /* WhatsApp, confirmations */
  --rma-danger: #DC2626;

  /* Semantic aliases */
  --color-primary: var(--rma-navy-700);
  --color-primary-dark: var(--rma-navy-800);
  --color-accent: var(--rma-gold-500);
  --color-bg: var(--rma-white);
  --color-bg-alt: var(--rma-gray-100);
  --color-text: var(--rma-gray-900);
  --color-text-muted: var(--rma-gray-600);
  --color-border: var(--rma-gray-300);

  /* Typography */
  --font-heading: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-lg: 1.125rem;     /* 18px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --lh-body: 1.6;
  --lh-heading: 1.2;

  /* Spacing (8px grid) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(9, 26, 52, 0.08);
  --shadow: 0 8px 24px rgba(9, 26, 52, 0.10);
  --transition: 200ms ease;
}

/* Accessible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Footer: comfortable touch targets (WCAG 2.2 target size) */
.footer_list li a { display: inline-block; padding: 5px 0; min-height: 24px; }
.footer_updates_btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 8px 16px;
  border: 1px solid rgba(197, 161, 93, 0.6); border-radius: 999px;
  color: #F7F1E3 !important; font-size: 13px; font-weight: 600; text-decoration: none !important;
}
.footer_updates_btn:hover { background: rgba(197, 161, 93, 0.15); }
