

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
}

h1 { font-size: 3.6rem; line-height: 1.12; }
h2 { font-size: 2.1rem; line-height: 1.22; }
h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 0.6rem; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

ul, ol { margin: 0 0 1.25rem; padding-left: 5%; color: var(--text-secondary); }
li { margin-bottom: 0.5rem; }

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

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

table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

@media (max-width: 1024px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 1.85rem; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.2rem; }
}
