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

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

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --text: #111111;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #e5e5e5;
  --border-strong: #cccccc;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-soft);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 24px;
}

.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
}

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

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Wordmark */
.wordmark {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Tagline */
.tagline {
  margin: 0 0 40px;
  max-width: 420px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Form */
.notify-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.notify-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--text);
}

.notify-form input.invalid {
  border-color: var(--text);
  background: #f5f5f5;
}

.notify-form button {
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.notify-form button:active {
  transform: translateY(0);
}

.notify-form button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-message.error {
  color: var(--text);
  font-weight: 600;
}

/* Socials */
.socials {
  display: flex;
  gap: 20px;
  margin: 36px 0 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.social-icon:hover {
  color: var(--text);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  margin: 40px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Entrance animation */
.fade-item {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(var(--delay, 0) * 90ms);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-item {
    animation: none;
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .page {
    padding: 32px 20px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }

  .socials {
    gap: 24px;
  }
}
