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

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f4f5f7;
}

.page {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 650;
}

.intro {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

.intro code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: #e8eaef;
  border-radius: 4px;
}

.form {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.field input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c8ccd4;
  border-radius: 6px;
  font: inherit;
}

.field input:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

.submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.submit:hover:not(:disabled) {
  background: #1d4ed8;
}

.submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.feedback {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.feedback[hidden] {
  display: none !important;
}

.feedback--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.feedback--info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
