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

:root {
  --coral: #2d6a47;
  --coral-dark: #1f4f34;
  --text: #222222;
  --muted: #717171;
  --border: #dddddd;
  --bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.header {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* ── MAIN ── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
}

.subtext {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 40px;
}

/* ── FORM ── */
.form {
  width: 100%;
  max-width: 480px;
}

.input-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.email-input::placeholder {
  color: #b0b0b0;
}

.email-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(45, 106, 71, 0.12);
}

.submit-btn {
  padding: 14px 22px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.submit-btn:hover {
  background: var(--coral-dark);
}

.submit-btn:active {
  transform: scale(0.98);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.success-msg {
  display: none;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.success-msg.visible {
  display: block;
}

/* ── FOOTER ── */
.footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .header { padding: 20px 24px; }

  .input-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }
}
