:root {
  --ink: #241c16;
  --muted: #5c534c;
  --paper: #f7f1e8;
  --card: #fffdf8;
  --line: #e4d5c4;
  --green: #2f6a4a;
  --green-deep: #1e4a34;
  --moss: #e7f0ea;
  --shadow: 0 24px 50px rgba(36, 28, 22, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

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

a { color: var(--green-deep); }

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 5vw, 4.4rem); }

h2 { margin: 0 0 0.75rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }

h3 { margin: 0 0 0.4rem; font-size: 1.35rem; }

p { margin: 0; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--paper) 90%, white);
  border-bottom: 1px solid transparent;
}

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

.logo { width: 240px; height: auto; }

.header-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.stack-top { margin-top: 1.25rem; }

.button, .text-link {
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #f7f1e8;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
}

.button:hover, .button:focus-visible { background: var(--green-deep); }

.text-link {
  color: var(--green-deep);
  text-underline-offset: 0.22em;
}

.text-link:hover, .text-link:focus-visible { color: var(--ink); }

.button:focus-visible, .text-link:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding: 2.75rem 0 4.5rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero-photo {
  width: 100%;
  height: min(78vh, 720px);
  object-fit: cover;
  object-position: center 92%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.join {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.75rem;
  max-width: 32rem;
}

.join label { font-weight: 700; }

.join input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 1rem;
}

.cohort-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.message {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--green-deep);
}

.section { padding: 4.25rem 0; }

.section-moss { background: var(--moss); }

.intro { max-width: 40rem; color: var(--muted); font-size: 1.2rem; }

.problem-list, .support-list, .phase-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.problem-list, .support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.problem-list li, .support-list li, .phase-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem 1.4rem;
}

.support-list li { background: transparent; }

.phase-list { display: grid; gap: 1rem; }

.phase-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.phase-name {
  margin: 0;
  color: var(--green);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 560;
}

.quiet { margin-top: 0.85rem; color: var(--muted); }

.close {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: end;
  padding-bottom: 5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .site-header .wrap, .hero, .problem-list, .support-list, .close {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header .wrap { display: flex; flex-wrap: wrap; }

  .logo { width: 200px; }

  .hero { padding-top: 1.5rem; }

  .hero-photo { height: 32rem; order: -1; }

  .header-actions { width: 100%; }
}
