:root {
  --color-pasture-green: #2f6b2f;
  --color-meadow-light: #a8cfa3;
  --color-copper-hay: #b56e3b;
  --color-barnwood: #5b4636;
  --color-cream-wool: #f4f1ea;

  --font-heading: "Merriweather", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background-color: var(--color-cream-wool);
  color: var(--color-barnwood);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-barnwood);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-pasture-green);
  text-decoration-color: rgba(47, 107, 47, 0.45);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(181, 110, 59, 0.35);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98);
}

.btn {
  box-shadow: 0 6px 12px rgba(47, 107, 47, 0.2);
}

.btn-primary {
  background-color: var(--color-pasture-green);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #265826;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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