/* Join / membership page — glass panels over site backgrounds */
.join-page .join-page-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-green, #2d5016);
  letter-spacing: -0.02em;
}

.join-page .join-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0;
}

@media (min-width: 900px) {
  .join-page .join-pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.join-page .tier-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(45, 80, 22, 0.12);
  display: flex;
  flex-direction: column;
}

.join-page .tier-card--featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 245, 0.92) 100%);
  box-shadow:
    0 8px 32px rgba(11, 73, 25, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 0 0 2px var(--forest-green, #0b4919);
  position: relative;
}

.join-page .tier-card h2,
.join-page .tier-card h3 {
  margin: 0 0 0.5rem;
  color: var(--forest-green, #2d5016);
  font-size: 2rem;
  line-height: 1.2;
}

.join-page .tier-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.join-page .tier-benefits {
  flex: 1;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (min-width: 1024px) and (min-height: 700px) {
  .join-page .join-page-title {
    margin-bottom: 1.1rem;
    font-size: 2rem;
  }

  .join-page .join-pricing {
    gap: 1rem;
  }

  .join-page .tier-card {
    padding: 1rem 1rem 1.1rem;
  }

  .join-page .tier-card h2,
  .join-page .tier-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
  }

  .join-page .tier-price {
    margin-bottom: 0.55rem;
    font-size: 1.85rem;
  }

  .join-page .tier-benefits {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.35;
  }
}

.join-page .tier-select {
  margin-top: auto;
}

.join-page .join-options-panel {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem auto;
  max-width: 720px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.join-page .join-options-panel fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

/* Checkout: tier choice when ?tier= is missing (same glass panel style) */
.join-page .join-tier-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 40, 15, 0.35);
  backdrop-filter: blur(4px);
}

.join-page .join-tier-modal {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.join-page .join-tier-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (min-width: 540px) {
  .join-page .join-tier-modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .join-page .join-tier-modal-actions .btn {
    flex: 1 1 30%;
    min-width: 140px;
  }
}

.join-page .join-options-panel legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.join-page .join-options-panel label {
  display: block;
  margin: 0.35rem 0;
  cursor: pointer;
}

.join-page #paypal-button-container {
  min-height: 45px;
  margin-top: 1rem;
}

.join-page .join-mailchimp-note {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.75rem;
}

.join-page .join-faq {
  max-width: 720px;
  margin: 2rem auto 4rem;
}

.join-page .join-faq h2 {
  color: var(--forest-green, #2d5016);
}

.join-page .join-checkout-heading {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-green, #2d5016);
}

.join-page .join-checkout-intro p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.join-page .tier-select .btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.join-page .tier-select .btn-tier-free {
  background: #66b3ff;
  border-color: #66b3ff;
  color: #0f2f4f;
}

.join-page .tier-select .btn-tier-free:hover,
.join-page .tier-select .btn-tier-free:focus {
  background: #4da6ff;
  border-color: #4da6ff;
  color: #0f2f4f;
}

.join-page .tier-select .btn-tier-standard {
  background: #0b4919;
  border-color: #0b4919;
  color: #ffffff;
}

.join-page .tier-select .btn-tier-standard:hover,
.join-page .tier-select .btn-tier-standard:focus {
  background: #14652a;
  border-color: #14652a;
  color: #ffffff;
}

.join-page .tier-select .btn-tier-premium {
  background: #d4af37;
  border-color: #d4af37;
  color: #2c2100;
}

.join-page .tier-select .btn-tier-premium:hover,
.join-page .tier-select .btn-tier-premium:focus {
  background: #c99b2b;
  border-color: #c99b2b;
  color: #2c2100;
}

.join-page .join-faq details {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

/* Checkout form polish */
.join-page .join-checkout .join-options-panel {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.93) 0%, rgba(247, 252, 246, 0.9) 100%);
  border: 1px solid rgba(11, 73, 25, 0.16);
  border-radius: 16px;
  box-shadow:
    0 14px 30px rgba(14, 33, 14, 0.09),
    0 3px 10px rgba(14, 33, 14, 0.06);
  backdrop-filter: blur(2px);
}

.join-page .join-checkout .join-checkout-heading {
  margin-bottom: 0.6rem;
  font-size: 2rem;
  line-height: 1.2;
}

.join-page .join-checkout .join-mailchimp-note {
  margin-top: 0;
  color: #2d3f2d;
}

.join-page .join-checkout-form {
  margin-top: 1.35rem;
}

.join-page .join-checkout .join-form-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
}

.join-page .join-checkout .join-form-row label {
  margin: 0;
  font-weight: 600;
  color: var(--forest-green, #2d5016);
  letter-spacing: 0.01em;
}

.join-page .join-checkout .join-form-row input,
.join-page .join-checkout .join-form-row select {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(11, 73, 25, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2a1f;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.join-page .join-checkout .join-form-row input:focus,
.join-page .join-checkout .join-form-row select:focus {
  border-color: var(--forest-green, #0b4919);
  box-shadow: 0 0 0 3px rgba(11, 73, 25, 0.16);
  outline: none;
}

.join-page .join-checkout .btn.btn-primary {
  min-width: 180px;
  min-height: 44px;
}

.join-page .join-checkout .join-checkout-submit-row {
  margin-top: 1rem;
  text-align: right;
}

.join-page .join-checkout .join-checkout-tier-link {
  text-align: center;
}

@media (max-width: 700px) {
  .join-page .join-checkout .join-checkout-heading {
    font-size: 1.6rem;
  }

  .join-page .join-checkout .join-form-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .join-page .join-checkout .join-form-row label {
    font-size: 0.98rem;
  }
}
