:root {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-text: #f0f0f0;
  --color-text-light: #94a3b8;
  --color-bg: #0c0c0c;
  --color-bg-alt: #0c0c0c;
  --color-border: #2a2a2a;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --font-sans: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: radial-gradient(ellipse at 50% 40%, #1a1a1a 0%, transparent 60%);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(to right, #0d0d0d, #cecece);
}

.pill span {
  display: block;
  position: relative;
  background: #0c0c0c;
  border-radius: 999px;
  padding: 0.375rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: transparent;
}

.pill span::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #3a3a3a, #cecece);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.tagline {
  font-size: 1.125rem;
  color: var(--color-text-light);
  text-align: center;
}

.form-card {
  width: 100%;
  padding: 1.5rem;
}

.form-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #f0f0f0;
  border-width: 2px;
}

.form-group input::placeholder {
  color: #555;
}

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: #555;
  text-align: center;
  margin-top: 0.75rem;
}

.btn-submit {
  width: 100%;
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #1e1e1e;
  background: #e0e0e0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: #d4d4d4;
  transform: translateY(-1px);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#form-status {
  text-align: center;
  font-size: 0.9375rem;
  min-height: 1.5rem;
}

#form-status.status-success {
  color: var(--color-success);
  animation: fadeIn 0.3s ease;
}

#form-status.status-error {
  color: var(--color-error);
  animation: fadeIn 0.3s ease;
}

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

footer {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: #555;
  text-align: center;
}

@media (min-width: 768px) {
  .container {
    max-width: 460px;
    gap: 2.5rem;
  }

  .logo {
    max-width: 340px;
  }

  .form-card {
    padding: 2rem;
  }
}
