:root {
  --ink: #1f2628;
  --muted: #5f6f74;
  --bg: #eef4f5;
  --surface: #ffffff;
  --surface-soft: #f8fbfb;
  --line: #d3dfe3;
  --primary: #0f6c62;
  --primary-strong: #0a4f48;
  --accent: #b87a2b;
  --maxw: 1020px;
  --radius: 16px;
  --shadow-soft: 0 8px 26px rgba(17, 51, 55, 0.08);
  --shadow-card: 0 14px 34px rgba(14, 48, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.58;
  background:
    radial-gradient(circle at 0% 0%, rgba(190, 222, 218, 0.45), transparent 40%),
    radial-gradient(circle at 92% 8%, rgba(234, 205, 161, 0.3), transparent 36%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 4px, rgba(255, 255, 255, 0.2) 4px 8px),
    var(--bg);
}

::selection {
  background: rgba(15, 108, 98, 0.2);
}

a {
  color: var(--primary-strong);
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

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

.site-header {
  border-bottom: 1px solid rgba(15, 108, 98, 0.15);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 18px rgba(18, 36, 39, 0.06);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.12rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0 0.72rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-strong);
  background: rgba(15, 108, 98, 0.1);
}

.lang-label {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  color: var(--muted);
  font-weight: 700;
  margin-left: 0.35rem;
}

.lang-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(17, 43, 46, 0.06);
  font: inherit;
  height: 2rem;
  line-height: 2rem;
  padding: 0 0.45rem;
  margin: 0;
}

main.container {
  padding-top: 2.15rem;
  padding-bottom: 3rem;
}

.org-name-banner {
  margin-bottom: 1.2rem;
  animation: fade-up 450ms ease-out both;
}

.org-name {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-size: clamp(1.42rem, 4.4vw, 2.24rem);
  color: var(--primary-strong);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero {
  position: relative;
  background: linear-gradient(140deg, #ecf9f6 0%, #ffffff 46%, #f8f2e9 100%);
  border: 1px solid #cbdddb;
  border-radius: calc(var(--radius) + 3px);
  box-shadow: var(--shadow-card);
  padding: 2.25rem 1.45rem;
  margin-bottom: 1rem;
  overflow: hidden;
  animation: fade-up 520ms ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -65% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(15, 108, 98, 0.12), rgba(15, 108, 98, 0));
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.76rem;
}

h1 {
  margin: 0.55rem 0 0.84rem;
  line-height: 1.08;
  letter-spacing: 0.005em;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-size: clamp(1.75rem, 4.4vw, 2.7rem);
}

h2 {
  margin-top: 0;
  margin-bottom: 0.72rem;
  color: var(--primary-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-size: clamp(1.33rem, 3.1vw, 1.82rem);
}

.section-subtitle {
  margin: 0.25rem 0 0.45rem;
  font-weight: 800;
  color: var(--ink);
}

.hero p {
  margin-top: 0;
  max-width: 72ch;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.card {
  position: relative;
  margin-top: 1.12rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid #d5e1e4;
  border-radius: var(--radius);
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.99)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  animation: fade-up 560ms ease-out both;
}

#join.card {
  border-color: #bfd8d2;
  box-shadow: 0 16px 34px rgba(11, 69, 64, 0.14);
}

.instruction {
  color: var(--muted);
  font-size: 0.95rem;
}

.join-flow {
  margin-top: 0.92rem;
}

.embed-wrap {
  border: 1px solid #c7d9dc;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-soft);
}

.embed-wrap iframe {
  display: block;
  width: 100%;
  height: min(1450px, 170vh);
  min-height: 1050px;
  border: 0;
}

.cta {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, #127d73, #0c6058);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.66rem 1rem;
  border-radius: 10px;
  border: 1px solid #0f6c62;
  box-shadow: 0 10px 20px rgba(10, 80, 73, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(10, 80, 73, 0.27);
  filter: saturate(1.05);
}

.cta-secondary {
  background: #ffffff;
  color: var(--primary-strong);
  border-color: #b5cccd;
  box-shadow: 0 8px 18px rgba(35, 75, 80, 0.12);
}

.cta.cta-secondary:hover,
.cta.cta-secondary:focus-visible {
  background: #ffffff;
  color: var(--primary);
  border-color: #93b8ba;
}

.site-footer {
  border-top: 1px solid #cadee2;
  background: linear-gradient(180deg, #eef5f6 0%, #e7f0f1 100%);
}

.site-footer .container {
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}

.site-footer h2 {
  margin-bottom: 0.48rem;
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--primary-strong);
  font-weight: 600;
}

.legal-doc {
  font-size: 0.98rem;
  line-height: 1.62;
}

.legal-doc p {
  margin: 0.75rem 0;
}

.legal-doc ul {
  margin: 0.45rem 0 0.75rem 1.2rem;
  padding: 0;
}

.legal-doc li {
  margin-bottom: 0.25rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header .container {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    gap: 0.35rem;
  }

  .site-nav a {
    padding: 0 0.62rem;
  }

  .hero {
    padding: 1.6rem 1.02rem;
  }

  .card {
    padding: 1.05rem 1rem;
  }

  .embed-wrap iframe {
    height: 1400px;
    min-height: 1250px;
  }
}
