:root {
  --background: #0b1f1d;
  --foreground: #f8fafc;
  --accent: #2bd97f;
  --accent-dark: #1fa865;
  --muted: rgba(248, 250, 252, 0.7);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(43, 217, 127, 0.15), rgba(11, 31, 29, 1) 55%);
  color: var(--foreground);
  font-family: var(--font-family);
  display: flex;
}

body {
  width: 100%;
}

.page {
  margin: auto;
  width: min(640px, 90vw);
  padding: 3rem 2rem;
  background: rgba(11, 31, 29, 0.6);
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.page__header {
  display: flex;
  justify-content: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.page__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.headline {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0;
}

.description {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  justify-items: stretch;
}

.signup__input {
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-family: inherit;
  color: #0b1f1d;
  background-color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 217, 127, 0.25);
}

.signup__button {
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--background);
  background: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.signup__button:hover,
.signup__button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.page__footer {
  text-align: center;
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

@media (max-width: 640px) {
  .signup {
    grid-template-columns: 1fr;
  }

  .signup__button {
    width: 100%;
  }
}
