:root {
  color-scheme: light;
  --color-ink: #17251d;
  --color-muted: #5d6d63;
  --color-bg: #f4f0e4;
  --color-surface: #fffdf7;
  --color-surface-soft: #edf4e9;
  --color-primary: #2f7048;
  --color-primary-dark: #245839;
  --color-primary-soft: #dceee0;
  --color-accent: #bd7a29;
  --color-border: #cbd7ce;
  --color-danger: #9a3f36;
  --shadow-card: 0 18px 48px rgba(35, 54, 42, 0.12);
  --radius-small: 0.6rem;
  --radius-medium: 1rem;
  --radius-large: 1.4rem;
  --content-width: 72rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(218, 235, 215, 0.8), transparent 28rem),
    linear-gradient(160deg, #f7f3e8, #eef3e9 58%, #e7eee6);
  line-height: 1.65;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e0a64f;
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-small);
  color: #fff;
  background: var(--color-primary-dark);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}
