:root {
  --green: #0F5132;
  --gold: #D4A24A;
  --dark: #0A1612;
  --bg: #FAFAF6;
  --muted: #6b7280;
  --border: #e5e7eb;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Manrope, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.55;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 20px 32px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.logo { width: 96px; height: 96px; margin-bottom: 24px; }
.brand {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--green);
}
.brand .tv { color: var(--gold); }
.tagline {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--dark);
  opacity: 0.85;
}
.lead {
  font-size: 15px;
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 380px;
}
.signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
}
.signup input {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--dark);
  min-height: 48px;
  width: 100%;
}
.signup input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15,81,50,0.15);
}
.signup button {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: white;
  cursor: pointer;
  min-height: 48px;
  transition: background 120ms;
}
.signup button:hover { background: #0c4129; }
.signup button:active { background: #082b1c; }
.signup button:disabled { background: var(--muted); cursor: not-allowed; }
.msg {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
}
.msg.ok { color: var(--green); }
.msg.err { color: #b91c1c; }
.tester {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
.tester-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}
.tester-link:hover { text-decoration: underline; }
.foot {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.foot a { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Tablet+ */
@media (min-width: 640px) {
  .hero { padding: 80px 32px 48px; }
  .logo { width: 120px; height: 120px; margin-bottom: 32px; }
  .brand { font-size: 48px; }
  .tagline { font-size: 18px; }
  .lead { font-size: 16px; }
  .signup { flex-direction: row; }
  .signup input { flex: 1; }
  .signup button { white-space: nowrap; }
}
