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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-200);
  line-height: 1.6;
  background:
    radial-gradient(1100px 520px at 100% -20%, rgba(63, 143, 99, 0.22), transparent 62%),
    radial-gradient(900px 460px at 0% 0%, rgba(167, 131, 64, 0.12), transparent 58%),
    linear-gradient(180deg, #fbf7ee 0%, #f3eee2 100%),
    var(--color-bg);
  color: var(--color-text);
}

main {
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  font-size: var(--fs-500);
}

h2 {
  font-size: var(--fs-400);
}

h3 {
  font-size: var(--fs-300);
}

p,
li {
  color: var(--color-text);
}

a {
  color: var(--color-brand-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #1f5539;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.72rem 0.85rem;
}

label {
  display: inline-block;
  font-size: var(--fs-100);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

::selection {
  background: rgba(63, 143, 99, 0.28);
  color: var(--color-text);
}

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

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

page-meta {
  display: none;
}

noscript .noscript-banner,
noscript .noscript-footer {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  margin: var(--space-4);
  padding: var(--space-4);
}

.noscript-nav,
.noscript-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
