@font-face {
  font-family: 'Cooper BT';
  src: url('fonts/CooperBT-Regular.woff2') format('woff2'),
       url('fonts/CooperBT-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cooper BT', Georgia, serif;
  background-color: #afd7ad;
  color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 3rem;
}

/* Brand block (pitch deck slide) */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(92vw, 780px);
  height: auto;
}

/* Signup form */

.signup-form {
  width: 100%;
  max-width: 420px;
}

.signup-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.signup-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: #2d3b2d;
  min-width: 0;
}

.signup-row input::placeholder {
  color: #8aab88;
}

.submit-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: #afd7ad;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.submit-btn:hover {
  background: #9bc899;
}

.submit-btn:active {
  transform: scale(0.95);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: #ffffff;
}

.form-message.error {
  color: #fff5f5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.form-message.success {
  font-weight: 700;
}

.signup-form.submitted .signup-row {
  opacity: 0.5;
  pointer-events: none;
}

/* Utilities */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
