:root {
  --bg: #fefbf5;
  --card-bg: #ffffff;
  --primary: #2a423f;
  --primary-soft: #2b6d6c;
  --accent: #f3b46b;
  --text-muted: #5c6764;
  --border-subtle: #e3e0d9;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.06);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--primary);
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 251, 245, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 90px;
  width: auto;
  display: block;
  border-radius: 999px;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: rgba(43, 109, 108, 0.08);
  color: var(--primary);
}

.main-nav a.active {
  background: rgba(43, 109, 108, 0.12);
  color: var(--primary);
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: var(--primary-soft);
  color: #fdfaf2;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.btn-light {
  background: #fdfaf2;
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
}

.btn-light:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fdfaf2;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(254, 251, 245, 0.14);
}

/* Hero */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #fdfaf2;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(254, 251, 245, 0.12), transparent 55%),
              linear-gradient(135deg, rgba(43, 109, 108, 0.92), rgba(25, 63, 60, 0.96));
}

.hero-content {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-tagline {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: 1.05rem;
  color: rgba(250, 247, 240, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Audience cards */

.audiences {
  padding: 3rem 0 4rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.audience-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.audience-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.card-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-soft);
}

/* Mission */

.mission {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(43, 109, 108, 0.08), rgba(250, 247, 240, 0.9));
}

.mission-inner {
  text-align: center;
  max-width: 700px;
}

.mission h2 {
  margin-top: 0;
}

/* Join */

.join {
  padding: 3.5rem 0 4rem;
}

.join-inner {
  text-align: left;
}

.join-split {
  display: flex;
  gap: 2rem;
}

.join-left,
.join-right {
  flex: 1;
}

.join-right h3 {
  margin-top: 0;
}

.join-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 460px;
}

.join-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.join-form input,
.join-form select {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Content pages */

.page-main {
  padding-bottom: 3.5rem;
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
}

.content-section {
  margin-top: 2.5rem;
}

.content-section h2 {
  margin-top: 0;
}

.content-section h3 {
  margin-top: 1.8rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

/* Pill list */

.pill-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(43, 109, 108, 0.18);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.3rem 0 1.7rem;
  background: rgba(254, 251, 245, 0.96);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

/* Small screens */

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .join-split {
    flex-direction: column;
  }
}
