:root {
  --bg: #f6f3ee;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #d9d3c8;
  --error: #8a2a2a;
  --success: #2f5d3a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.stage {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto 56px;
  width: 100%;
  max-width: 340px;
  height: auto;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--fg);
}

.lede {
  margin: 0 auto 44px;
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
}

input[type="email"] {
  width: 100%;
  padding: 14px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--fg);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-align: center;
}

input[type="email"]::placeholder {
  color: var(--muted);
  font-weight: 300;
}

input[type="email"]:focus { outline: none; }

button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--fg);
  border: 1px solid var(--fg);
  color: var(--bg);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

button:hover {
  background: transparent;
  color: var(--fg);
}

button:disabled { opacity: 0.4; cursor: not-allowed; }
button:disabled:hover { background: var(--fg); color: var(--bg); }

.status {
  min-height: 1.4em;
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.status.error { color: var(--error); }
.status.success { color: var(--success); }

.rule {
  width: 40px;
  margin: 64px auto 32px;
  border: 0;
  border-top: 1px solid var(--rule);
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.links a:hover { opacity: 0.55; }

.links .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.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;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 520px) {
  .logo { margin-bottom: 40px; max-width: 260px; }
  .rule { margin: 48px auto 28px; }
  .links { gap: 16px; font-size: 10px; }
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 29px; height: 29px; }
}
