:root {
  --ink: #17201b;
  --muted: #5c6760;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d9ded8;
  --forest: #1f5d43;
  --moss: #6c8a4f;
  --clay: #aa5748;
  --gold: #b88a38;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 222, 216, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

.brand,
nav {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

nav {
  color: var(--muted);
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.92rem;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.74) 42%, rgba(251, 250, 246, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 32, 27, 0.18), rgba(23, 32, 27, 0.18));
}

.hero-content {
  max-width: 760px;
  padding: 168px clamp(20px, 5vw, 72px) 84px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.92;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.hero-copy {
  color: #2f3b34;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  max-width: 620px;
}

.button-row,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--forest);
  border: 1px solid var(--forest);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.dark {
  background: #243128;
  border-color: #243128;
  color: #fff;
}

.section,
.steps,
.join-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 56px);
}

.intro-section,
.join-section {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
}

.steps article,
.topic-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.steps span {
  color: var(--clay);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-heading {
  max-width: 760px;
}

.topic-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.topic-grid article {
  border-top: 4px solid var(--moss);
}

.join-section {
  background: #edf0e8;
  max-width: none;
}

.join-section > * {
  max-width: 680px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 56px);
}

footer a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: absolute;
  }

  .hero {
    min-height: 840px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.88) 52%, rgba(251, 250, 246, 0.24) 100%);
  }

  .hero-content {
    padding-top: 150px;
  }

  .intro-section,
  .join-section,
  .steps,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
