:root {
  --bg: #f6f8f6;
  --fg: #202824;
  --muted: #5c6b62;
  --ink: #131a15;
  --surface: #ffffff;
  --surface-alt: #e9f2ee;
  --accent: #00897b;
  --accent-strong: #00695c;
  --accent-donate: #a3123f;
  --accent-donate-strong: #7c0e30;
  --shadow-soft: 0 1px 2px rgba(19, 26, 21, 0.05), 0 4px 14px rgba(19, 26, 21, 0.07);
  --shadow-medium: 0 14px 34px rgba(19, 26, 21, 0.12);
  --border-subtle: rgba(28, 46, 38, 0.14);
  --border-soft: rgba(28, 46, 38, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --z-scrim: 9000;
  --z-header: 10000;
  --z-drawer: 11000;
  --header-height: 80px;
  --header-expanded-height: 80px;
  --header-offset: var(--header-expanded-height);
  --brand-max-height: 52px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (min-width: 1280px) {
  html {
    font-size: 17px;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", "Palatino", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-offset, var(--header-expanded-height));
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--muted);
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  margin: .3rem 0;
}

.small {
  font-size: .875rem;
}

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

.upper {
  text-transform: uppercase;
  letter-spacing: .16em;
}

.center {
  text-align: center;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.pad {
  padding: clamp(2.25rem, 5.5vw, 3.75rem) 0;
}

main.pad > * + *:not(details) {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-heading {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-heading.center {
  text-align: center;
}

.section-title {
  margin-bottom: .35rem;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.section-sub + .grid-2,
.section-sub + .grid-3,
.section-sub + .grid-4 {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: .85rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.badge-active {
  background: rgba(0, 137, 123, 0.14);
  color: var(--accent-strong);
  border-color: rgba(0, 137, 123, 0.3);
}

.badge-won {
  background: rgba(163, 18, 63, 0.1);
  color: var(--accent-donate);
  border-color: rgba(163, 18, 63, 0.24);
}

.list {
  margin: 0;
  padding-left: 1.25rem;
}

.kicker {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .78rem;
}
