* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --surface-soft: #eef5ef;
  --text: #17332c;
  --muted: #65736e;
  --primary: #236d5b;
  --primary-dark: #174f42;
  --border: #dfe7e2;
  --shadow: 0 20px 60px rgba(23, 51, 44, 0.09);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 242, 0.88);
  border-bottom: 1px solid rgba(223, 231, 226, 0.8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.menu {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.menu a:hover {
  color: var(--primary);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  padding: 88px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text,
.section-heading p,
.about-copy,
.join-card p {
  color: var(--muted);
  font-size: 18px;
}

.hero-text {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
}

.button-light {
  color: var(--primary-dark);
  background: #fff;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero-notes span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--primary);
  font-weight: 900;
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero-card-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  color: var(--muted);
  font-size: 13px;
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #43a36f;
}

.mini-card {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.mini-card:first-of-type {
  border-top: 0;
}

.mini-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-soft);
  font-size: 22px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card p {
  color: var(--muted);
}

.card a {
  margin-top: auto;
  color: var(--primary);
  font-weight: 750;
}

.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 23px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.join-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 52px;
  padding: 48px;
  border-radius: 30px;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.join-card h2 {
  margin-bottom: 16px;
}

.join-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.join-form {
  align-self: center;
}

.join-form input {
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: #fff;
}

.join-form .button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px !important;
}

.site-footer {
  padding: 34px 0 48px;
}

.footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row strong {
  color: var(--text);
  font-size: 18px;
}

.footer-row p {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .join-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-card {
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .menu-button {
    display: block;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 12px;
  }

  .hero {
    padding: 58px 0 56px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .section {
    padding: 68px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 250px;
  }

  .join-card {
    padding: 30px 22px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
