/* =========================================================
   Design tokens — exported from Banani "Edu Courses Hub" theme
   Change brand values here; every component reads from these.
   ========================================================= */
:root {
  /* Colour */
  --color-background: #ffffff;
  --color-foreground: #0b1a36;
  --color-border: #d8dde8;
  --color-input: #f4f5f8;
  --color-primary: #f5c518;
  --color-primary-foreground: #0b1a36;
  --color-secondary: #fdf3c0;
  --color-secondary-foreground: #0b1a36;
  --color-muted: #f4f5f8;
  --color-muted-foreground: #5a6478;
  --color-accent: #f5c518;
  --color-accent-foreground: #0b1a36;
  --color-ink: #0b1a36;
  --color-card: #ffffff;
  --color-clay: #f4f5f8;
  --color-sage: #eef0f6;
  --color-dark: #0b1a36;
  --color-dark-card: #132040;
  --color-dark-surface: #1c2e52;

  /* Derived tints (Tailwind opacity modifiers in the source design) */
  --white-80: rgba(255, 255, 255, 0.8);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-10: rgba(255, 255, 255, 0.1);
  --ink-70: rgba(11, 26, 54, 0.7);
  --ink-60: rgba(11, 26, 54, 0.6);
  --ink-50: rgba(11, 26, 54, 0.5);
  --ink-15: rgba(11, 26, 54, 0.15);
  --ink-10: rgba(11, 26, 54, 0.1);
  --ink-05: rgba(11, 26, 54, 0.05);
  --accent-30: rgba(245, 197, 24, 0.3);
  --accent-20: rgba(245, 197, 24, 0.2);
  --accent-10: rgba(245, 197, 24, 0.1);
  --accent-05: rgba(245, 197, 24, 0.05);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --radius: var(--radius-sm);

  /* Type */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-headings: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 17px;
  --text-lg: 19px;
  --text-xl: 21px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 64px;
  --text-6xl: 80px;

  /* Layout */
  --container: 1440px;
  --gutter: 32px;
  --section-y: 80px;
  --hero-y: 96px;
}

@media (max-width: 900px) {
  :root {
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 44px;
    --text-6xl: 52px;
    --gutter: 24px;
    --section-y: 64px;
    --hero-y: 72px;
  }
}

@media (max-width: 560px) {
  :root {
    --text-2xl: 24px;
    --text-4xl: 32px;
    --text-5xl: 38px;
    --text-6xl: 44px;
    --gutter: 16px;
    --section-y: 56px;
    --hero-y: 56px;
  }
}
