/* ==================================================
   BASE CSS
   Purpose:
   - CSS variables
   - Reset / normalize
   - Typography
   - Global elements
   - Accessibility & performance-safe defaults
   ================================================== */

/* ================= ROOT VARIABLES ================= */

:root {
  --primary: #282c85;
  --secondary: #2b2f66;
  --accent: #b9c12d;

  --light: #f5f6fa;
  --white: #ffffff;
  --dark: #222222;
  --text: #333333;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 4px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.15);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ================= RESET / NORMALIZE ================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default focus outlines (we add custom ones) */
:focus {
  outline: none;
}

/* Improve text rendering */
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* ================= BODY ================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ================= MEDIA ELEMENTS ================= */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Prevent images from stretching */
img {
  height: auto;
}

/* ================= LINKS ================= */

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

/* Accessible focus state */
a:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

/* ================= HEADINGS ================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

/* ================= TEXT ================= */

p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

strong {
  font-weight: 600;
  color: var(--primary);
}

/* ================= LISTS ================= */

ul, ol {
  list-style: none;
}

/* Allow styled lists when needed */
.list {
  padding-left: 1.2rem;
}

.list li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

/* ================= FORMS ================= */

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

/* Remove
