*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
}

/* ── Sticky Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 36px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: #2e7d32;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-join:hover {
  background: #1b5e20;
}

/* ── Hero ── */

.hero {
  background: linear-gradient(160deg, #1b5e20 0%, #2e7d32 55%, #388e3c 100%);
  padding: 48px 16px 44px;
  text-align: center;
  color: #ffffff;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(1.65rem, 5.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary {
  display: inline-block;
  width: 220px;
  padding: 13px 24px;
  border-radius: 50px;
  background: #ffffff;
  color: #1b5e20;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-hero-primary:hover {
  background: #f1f8f1;
}

.btn-hero-secondary {
  display: inline-block;
  width: 220px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── Page Content ── */

.page-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 56px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* ── Form Sections ── */

.form-section {
  scroll-margin-top: 68px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #1a1a1a;
}

.section-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ── Bridge Section ── */

.bridge-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bridge-cards {
  display: grid;
  gap: 10px;
}

.bridge-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.bridge-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.bridge-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.bridge-card p + h3 {
  margin-top: 10px;
  margin-bottom: 0;
}

/* ── Form Card ── */

.form-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ── Form Fields ── */

.form-group {
  margin-bottom: 20px;
}

.action-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 7px;
}

.action-form input[type="text"],
.action-form input[type="email"],
.action-form select,
.action-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.action-form input[type="text"]:focus,
.action-form input[type="email"]:focus,
.action-form select:focus,
.action-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.action-form input::placeholder,
.action-form textarea::placeholder {
  color: #b0b0b0;
}

.action-form select {
  cursor: pointer;
  appearance: none;
  background-color: #f8f8f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

.action-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* ── Honeypot ── */

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* ── Submit Button ── */

.btn-form-submit {
  width: 100%;
  padding: 14px 24px;
  background: #2e7d32;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-form-submit:hover {
  background: #1b5e20;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.22);
}

.btn-form-submit:active {
  transform: none;
  box-shadow: none;
}

.btn-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Form Reassurance ── */

.form-reassurance {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #999;
  text-align: center;
}

/* ── Member Form Error ── */

.form-error {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #c0001a;
  font-weight: 500;
}

/* ── Contact Form Status ── */

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.25);
  color: #1b5e20;
}

.form-status.error {
  display: block;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #c0001a;
}

/* ── Contact Alt ── */

.contact-alt {
  margin-top: 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #777;
}

.contact-alt a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* ── Final CTA Section ── */

.final-cta-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 24px;
  background: #eef4ee;
  border: 1px solid #c8e6c9;
  border-radius: 16px;
  text-align: center;
}

.btn-cta {
  display: inline-block;
  width: auto;
  align-self: center;
  padding: 14px 32px;
  text-decoration: none;
}

/* ── Footer ── */

.footer {
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  color: #888;
  text-align: center;
  padding: 32px 16px;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  display: block;
  margin: 0 auto 14px;
}

.footer-copy {
  font-size: 12px;
  line-height: 1.6;
}

/* ── Responsive ── */

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 24px 60px;
  }

  .form-card {
    padding: 32px 28px;
  }
}
