/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--wl-font-sans);
  color: var(--wl-text);
  background: var(--wl-bg);
  line-height: 1.6;
}

/* ── Wordmark component ── */
.wl-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  --wl-wm-ink:  var(--wl-ink);
  --wl-wm-sun:  var(--wl-blush-deep);
  --wl-wm-rule: var(--wl-field);
  --wl-wm-sub:  var(--wl-field);
  --wl-wm-two:  var(--wl-blush-deep);
}
.wl-wordmark__row {
  position: relative;
  display: inline-block;
}
.wl-wordmark__word {
  font-family: var(--wl-font-serif);
  font-weight: 500;
  font-size: var(--wl-wm-size);
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--wl-wm-ink);
  white-space: nowrap;
}
.wl-wordmark__i {
  position: relative;
  display: inline-block;
}
.wl-wordmark__sun {
  position: absolute;
  left: 50%;
  top: -0.28em;
  transform: translateX(-50%);
  width: 0.33em;
  height: 0.33em;
  line-height: 0;
}
.wl-wordmark__sun img,
.wl-wordmark__sun svg { display: block; width: 100%; height: 100%; }
.wl-wordmark__two {
  font-size: 0.34em;
  font-weight: 600;
  color: var(--wl-wm-two);
  vertical-align: baseline;
  position: relative;
  top: -1.05em;
  margin-left: 0.06em;
  letter-spacing: 0.02em;
}
.wl-wordmark__rule {
  height: 2px;
  background: var(--wl-wm-rule);
  margin-top: 0.24em;
  opacity: 0.9;
  align-self: stretch;
}
.wl-wordmark__tag {
  font-family: var(--wl-font-sans);
  font-weight: 500;
  font-size: calc(var(--wl-wm-size) * 0.19);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--wl-wm-sub);
  margin-top: 0.7em;
  white-space: nowrap;
}

/* Size variants */
.wl-wordmark--nav  { --wl-wm-size: 28px; }
.wl-wordmark--hero { --wl-wm-size: 52px; margin-bottom: 2.5rem; }
.wl-wordmark--join {
  --wl-wm-size: 36px;
  --wl-wm-ink:  var(--wl-paper);
  --wl-wm-rule: var(--wl-blush);
  --wl-wm-sub:  var(--wl-blush);
  --wl-wm-two:  var(--wl-blush);
  margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: var(--wl-radius-md);
  font-family: var(--wl-font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: var(--wl-shadow-sm);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary  { background: var(--wl-primary); color: var(--wl-primary-ink); }
.btn-secondary {
  background: transparent;
  color: var(--wl-primary);
  border: 2px solid var(--wl-primary);
  box-shadow: none;
}
.btn-sm  { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-lg  { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--wl-bg);
  border-bottom: 1px solid var(--wl-border);
}

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

/* ── Hero ── */
.hero {
  background: var(--wl-surface);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--wl-border);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: var(--wl-font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  color: var(--wl-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--wl-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ── */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--wl-surface);
  border-top: 1px solid var(--wl-border);
  border-bottom: 1px solid var(--wl-border);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 640px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--wl-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--wl-primary);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--wl-text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step { text-align: center; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--wl-primary);
  color: var(--wl-primary-ink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--wl-font-serif);
  font-size: 1.2rem;
  color: var(--wl-primary);
  margin-bottom: 0.5rem;
}

.step p { color: var(--wl-text-muted); font-size: 0.95rem; }

/* ── Stats ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--wl-font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--wl-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--wl-text-muted);
  text-align: center;
  max-width: 160px;
}

.why-note {
  font-size: 1rem;
  color: var(--wl-accent);
  font-style: italic;
}

/* ── Offerings ── */
.offerings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.offering {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius-md);
  padding: 2rem;
  box-shadow: var(--wl-shadow-sm);
}

.offering-icon { font-size: 2rem; margin-bottom: 1rem; }

.offering h3 {
  font-family: var(--wl-font-serif);
  font-size: 1.15rem;
  color: var(--wl-primary);
  margin-bottom: 0.5rem;
}

.offering p { color: var(--wl-text-muted); font-size: 0.95rem; }

/* ── Join Section ── */
.join-section {
  text-align: center;
  background: var(--wl-bg);
  border-top: none;
}

.join-section h2 {
  font-family: var(--wl-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--wl-text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.join-section p {
  font-size: 1.05rem;
  color: var(--wl-text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.join-section .btn-primary {
  background: var(--wl-primary);
  color: var(--wl-primary-ink);
}

.join-note {
  margin-top: 1.5rem !important;
  font-size: 0.9rem !important;
  color: var(--wl-text-muted) !important;
  margin-bottom: 0 !important;
}

.join-note a { color: var(--wl-text); }

/* wl-on-dark overrides for join section */
.join-section.wl-on-dark {
  background: var(--wl-bg);
}
.join-section.wl-on-dark h2 { color: var(--wl-text); }
.join-section.wl-on-dark p  { color: var(--wl-text-muted); }
.join-section.wl-on-dark .btn-primary {
  background: var(--wl-primary);
  color: var(--wl-primary-ink);
}
.join-section.wl-on-dark .join-note { color: var(--wl-text-muted) !important; }
.join-section.wl-on-dark .join-note a { color: var(--wl-text); }

/* ── Footer ── */
.footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--wl-text-muted);
  border-top: 1px solid var(--wl-border);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav { padding: 0.85rem 1.25rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .wl-wordmark--hero { --wl-wm-size: 38px; }
  .section { padding: 3.5rem 1.25rem; }
  .join-section { padding: 3.5rem 1.25rem; }
}
