:root {
  --bg: #f7f4ef;
  --card: #ece9db;
  --card-shadow: rgba(155, 144, 112, 0.16);
  --green: #163c28;
  --gold: #d89a2a;
  --input: #efede1;
  --text-soft: #284b38;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 15%, rgba(122, 155, 121, 0.18), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(33, 60, 36, 0.12), transparent 20%),
    radial-gradient(circle at 78% 80%, rgba(216, 154, 42, 0.12), transparent 18%),
    linear-gradient(180deg, #dde3c7 0%, #cdd7b0 100%);
  color: var(--green);
  font-family: 'Montserrat', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(218, 199, 156, 0.08) 0,
      rgba(218, 199, 156, 0.08) 18px,
      transparent 18px,
      transparent 42px
    );
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -16px);
  min-width: min(92vw, 320px);
  max-width: 92vw;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(22, 60, 40, 0.94);
  color: #fffdf7;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 14px 32px rgba(22, 60, 40, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 5;
}

.toast-notification.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-notification[data-state="success"] {
  background: rgba(22, 60, 40, 0.94);
}

.toast-notification[data-state="error"] {
  background: rgba(129, 49, 35, 0.96);
}

.hero-card {
  width: min(100%, 860px);
  min-height: calc(100vh - 64px);
  background: transparent;
  border-radius: 20% 18% 19% 18% / 12% 12% 16% 15%;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  text-align: center;
  padding: 48px 64px 40px;
  position: relative;
  z-index: 2;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  margin-bottom: auto;
}

.brand-logo {
  width: min(100%, 480px);
  height: auto;
  margin-top: 0;
}

.bolt-mark {
  margin-top: 12px;
  width: 30px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(216, 154, 42, 0.22));
}

.brand-logo {
  width: min(100%, 480px);
  height: auto;
  margin-top: 0;
}

.bolt-mark {
  margin-top: 12px;
  width: 30px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(216, 154, 42, 0.22));
}

.signup-copy h2,
.closing-copy p,
.form-message {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.signup-copy h2,
.closing-copy p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.signup-copy h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
}

.notify-form {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: var(--input);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(22, 60, 40, 0.04);
}

.notify-form input,
.notify-form button {
  border: 0;
  font: inherit;
}

.notify-form input {
  min-width: 0;
  padding: 24px 34px;
  background: transparent;
  color: var(--green);
  outline: none;
  font-size: 1rem;
}

.notify-form input::placeholder {
  color: rgba(22, 60, 40, 0.9);
}

.notify-form button {
  padding: 22px 34px;
  background: linear-gradient(135deg, #1f4a31 0%, #163c28 100%);
  color: #fffdf7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button-bolt {
  width: 16px;
  height: 30px;
  display: block;
  flex: 0 0 auto;
}

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

.notify-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.form-message {
  min-height: 1.5em;
  margin: -6px 0 0;
}

.form-message[data-state="success"] {
  color: #1d6a3b;
}

.form-message[data-state="error"] {
  color: #9f3b2e;
}

.form-message[data-state="pending"] {
  color: #7a672d;
}

.leaf-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
}

.closing-copy {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-top: auto;
}

.closing-copy p {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.social-links {
  display: none;
  align-items: center;
  gap: 34px;
}

.social-links a {
  color: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.social-links svg {
  width: 34px;
  height: 34px;
}

.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: 720px) {
  .hero-card {
    padding: 64px 24px 56px;
    border-radius: 18% 18% 17% 16% / 9% 9% 12% 12%;
    gap: 28px;
    justify-content: center;
  }

  .notify-form {
    grid-template-columns: 1fr;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
    gap: 12px;
  }

  .notify-form input {
    background: var(--input);
    border-radius: 999px;
  }

  .notify-form button {
    border-radius: 999px;
  }

  .social-links {
    gap: 24px;
  }

  .background-shape {
    width: 138vw;
    height: 198vw;
  }

}


