:root {
  color-scheme: light;
  --color-background: #f8faf8;
  --color-surface: #ffffff;
  --color-surface-soft: #eef7ef;
  --color-text: #1d2b22;
  --color-muted: #5c6f62;
  --color-primary: #247a3d;
  --color-primary-dark: #185c2c;
  --color-border: #b8c9bc;
  --color-border-strong: #8eaa95;
  --color-error: #a83d32;
  --color-focus: #86b98d;
  --shadow-soft: 0 10px 28px rgba(30, 71, 42, 0.08);
  --radius-sm: 6px;
  --radius-md: 8px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --font-main: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  font-family: var(--font-main);
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary-dark);
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--space-2);
  font-size: 1.65rem;
  line-height: 1.12;
}

h2 {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
  line-height: 1.18;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: 1.05rem;
}

p {
  color: var(--color-muted);
}

@media (min-width: 980px) {
  h1 {
    font-size: 2rem;
  }
}
