/* Shared font stack with Yana site and HRF */
:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: #1e1f22;
  --muted: #5b5e63;
}

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
  line-height: 1.65;
  color: var(--text);
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.75em;
  color: var(--text);
}

p {
  margin: 0 0 1.25em;
  font-size: clamp(0.9375rem, 2vw, 1rem);
}

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

a {
  color: #2c5282;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 82, 130, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  color: #1a365d;
  border-bottom-color: #1a365d;
}

/* --- Responsive: tighter on small screens --- */
@media (max-width: 480px) {
  body {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  h1 {
    margin-bottom: 1.5em;
  }

  p {
    margin-bottom: 1.1em;
  }
}

/* --- Print --- */
@media print {
  body {
    background: #fff;
    color: #000;
    max-width: none;
  }

  a {
    color: #000;
    border-bottom-color: #666;
  }
}
