:root {
  --bg: #ffffff;
  --surface: #f3f7fb;
  --text: #1c2733;
  --muted: #55636f;
  --brand: #1f5fae;
  --brand-dark: #173f73;
  --leaf: #367a1c;
  --border: #d9e2ec;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171d;
    --surface: #1a232c;
    --text: #e6edf3;
    --muted: #a3b1bd;
    --brand: #7fb2ff;
    --brand-dark: #bcd6ff;
    --leaf: #8fd16a;
    --border: #2c3a47;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-wrap: break-word;
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { color: var(--brand-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--brand); color: #fff; padding: 0.5rem 1rem; border-radius: 0.25rem; z-index: 10;
}
.skip:focus { top: 1rem; color: #fff; }

.site-header { border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 0.5rem; }
.brand { min-width: 0; display: flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; font-weight: 700; line-height: 1.25; }
.brand img { width: 3rem; height: auto; flex: none; }
.lang { flex: none; font-size: 0.95rem; white-space: nowrap; border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.75rem; text-decoration: none; }

nav ul { list-style: none; margin: 0; padding: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand); }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

.hero { max-width: var(--max); margin: 1.5rem auto 0; padding: 0 1rem; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 50%; border-radius: 0.5rem; }

.content { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; color: var(--brand-dark); }
h1.tagline { font-size: 1.35rem; font-weight: 600; line-height: 1.45; color: var(--text); }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
address { font-style: normal; }
.fine { color: var(--muted); font-size: 0.95rem; }

.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.cards a { display: block; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; font-weight: 600; text-decoration: none; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.give { background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.25rem 1.25rem 1rem; margin: 2rem 0; }
.give ol { padding-left: 1.25rem; }
.give li + li { margin-top: 1em; }
.button {
  display: inline-block; background: var(--leaf); color: #fff; font-weight: 700;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem; text-decoration: none;
}
.button:hover { color: #fff; filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { .button:not(.button-paypal), .button:not(.button-paypal):hover { color: #11171d; } }
.give-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
/* PayPal brand colors: button yellow #FFC439, wordmark #003087 / #009CDE. Fixed in both themes. */
.button-paypal, .button-paypal:hover { background: #ffc439; color: #111; }
.pp-word { font-style: italic; font-weight: 800; letter-spacing: -0.01em; }
.pp-pay { color: #003087; }
.pp-pal { color: #009cde; }

.board { padding-left: 1.25rem; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; padding: 1.5rem 0; }
.site-footer p { margin: 0.25rem 0; }
