:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --text: #22252b;
  --muted: #5d6270;
  --brand: #1f3554;
  --brand-ink: #ffffff;
  --accent: #e0322a;
  --border: #e3ddd0;
  --check-dark: #e9e2d2;
  --radius: 10px;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181e;
    --surface: #1d2129;
    --text: #e7e8ea;
    --muted: #a3a8b3;
    --brand: #2a466d;
    --accent: #f0574d;
    --border: #2e3440;
    --check-dark: #232832;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
a { color: var(--brand); text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { a { color: #8fb3e6; } }
h1, h2, h3 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; }
h3 { font-size: 1.1rem; margin-top: 1.8rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Header */
.site-header { background: var(--brand); color: var(--brand-ink); border-bottom: 4px solid var(--accent); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .8rem; padding-bottom: .8rem; max-width: 60rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-family: system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; }
.brand-mark { height: 2.6rem; width: auto; display: block; }
.brand-text span { font-weight: 400; opacity: .85; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem; font-family: system-ui, sans-serif; font-size: .95rem; }
.site-nav a { color: inherit; text-decoration: none; padding: .35rem .7rem; border-radius: 6px; }
.site-nav a:hover { background: rgba(255,255,255,.12); }
.site-nav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.lock { font-size: .8em; }

main { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }

/* Hero */
.hero { text-align: center; padding: 1rem 0 1rem; }
.hero-logo { height: 11rem; width: auto; margin: 0 auto 1rem; display: block; }
.hero h1 { font-size: 2.3rem; }
.hero .lead { max-width: 34rem; margin: 0 auto 1.5rem; }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.btn { display: inline-block; padding: .65rem 1.3rem; border-radius: 999px; font-family: system-ui, sans-serif; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: var(--brand-ink); cursor: pointer; font-size: 1rem; }
.btn.secondary { background: transparent; color: var(--brand); }
@media (prefers-color-scheme: dark) { .btn.secondary { color: #8fb3e6; border-color: #8fb3e6; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.cards li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.cards strong { display: block; font-family: system-ui, sans-serif; margin-bottom: .25rem; }

.board-strip { height: 14px; margin: 2rem 0; background: repeating-linear-gradient(90deg, var(--check-dark) 0 14px, transparent 14px 28px); border-radius: 3px; }

/* Members */
.badge { display: inline-block; font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; }

/* Contact */
.email-cta { text-align: center; padding: 1.5rem 1rem; }
.email-cta .btn { font-size: 1.1rem; }
.email-cta p { margin: .75rem 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; padding: 1.25rem 0; text-align: center; }
.site-footer a { color: inherit; }

/* Tables */
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--border); }
th { font-family: system-ui, sans-serif; background: var(--surface); }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1.25rem 0; }
