/* ===== DESIGN TOKENS ===== */
:root {
  --color-sidebar:    #27304B;
  --color-bg:         #FAFAF7;
  --color-text:       #27304B;
  --color-text-soft:  #27304B;
  --color-on-dark:    #FAFAF7;
  --color-white:      #FAFAF7;
  --color-black:      #27304B;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1rem;      /* 16px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.75rem;   /* 28px */
  --fs-2xl:  2.5rem;    /* 40px */

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;

  --sidebar-width: 18rem;
  --content-max:   60rem;
  --radius: 5px;
  --transition: 0.18s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--color-text);
  font-family: 'Latin Modern Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), background var(--transition);
}
