/* base.css: variables, resets, typography */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #015468;
  --color-primary-dark: #013d4d;
  --color-primary-light: #e2f2f5;
  --color-accent: #0d6efd;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-text: #212529;
  --color-text-muted: #6c757d;
  --color-border: #dee2e6;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.05);
  --transition-fast: 0.2s ease-out;
  --font-body: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Libre Baskerville', 'Times New Roman', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #111827;
}

h1 {
  font-size: clamp(2.2rem, 3vw + 1.2rem, 2.7rem);
}

h2 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

ul {
  padding-left: 1.2rem;
}

button {
  font-family: inherit;
}

