@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}

:root {
  --color-bg:          #FAF9F7;
  --color-text:        #2C2C2C;
  --color-heading:     #1134a6;
  --color-accent:      #ffcc00;
  --color-accent-text: #1a1a1a;
  --color-border:      #EEECE8;
  --color-link:        #1134a6;
  --color-info-bg:     #EEF2FF;
  --color-alt-bg:      #F4F3F0;

  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --font-size-base: 18px;
  --line-height:    1.65;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 5rem;

  --container: 1080px;
  --radius:    8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-height);
}

h1, h2, h3, h4 {
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--color-link);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-heading);
  outline-offset: 3px;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong {
  font-weight: 600;
}
