/**
 * @fileoverview Evrium base styles: reset, typography, design tokens, and global helpers.
 *               All CSS classes are prefixed with `evrium-` for branding consistency.
 * @author Univage Development
 * @copyright 2026 Univage Development
 * @license MIT
 */

/* ============================================
   Reset & Box sizing
   Author: Univage Development
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.evrium-html {
  font-size: 16px;
  scroll-behavior: smooth;
}

.evrium-body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #151515;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #005fcc;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* ============================================
   Focus styles (WCAG 2.1 AA)
   Author: Univage Development
   ============================================ */

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

button {
  font: inherit;
}

/* ============================================
   Skip link
   Author: Univage Development
   ============================================ */

.evrium-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background-color: #000;
  color: #fff;
}

.evrium-skip-link:focus-visible {
  left: 0.5rem;
}

/* ============================================
   Typography helpers
   Author: Univage Development
   ============================================ */

.evrium-heading-1 {
  font-size: 2.25rem;
  font-weight: 700;
}

.evrium-heading-2 {
  font-size: 1.75rem;
  font-weight: 600;
}

.evrium-heading-3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.evrium-text-muted {
  color: rgba(21, 21, 21, 0.7);
}

@media (max-width: 767.98px) {
  .evrium-heading-1 {
    font-size: 1.9rem;
  }
  .evrium-heading-2 {
    font-size: 1.5rem;
  }
}

