:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: #f9f3ff;
  --surface: #180c28;
  --field: #0d0714;
  --border: #713ac2;
  --accent: #b86cff;
  --accent-hover: #d18aff;
  --text-secondary: #d7c4f7;
  --error: #ff557d;
  --focus: #e5b0ff;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  line-height: 1.5;
}

.card {
  width: min(100%, 26rem);
  padding: clamp(1.5rem, 5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .75rem;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.dev {
  padding: .25rem .5rem;
  border: 1px solid #ffb75e;
  border-radius: 999px;
  background: var(--field);
  color: #ffb75e;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 { margin: 0; font-size: 2rem; line-height: 1.2; }
.intro { margin: .5rem 0 2rem; color: var(--text-secondary); }

label { display: block; margin: 0 0 .5rem; font-size: .875rem; font-weight: 600; }
input {
  width: 100%;
  min-height: 2.75rem;
  margin-bottom: 1.5rem;
  padding: .5rem 1rem;
  border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent));
  border-radius: .5rem;
  background: var(--field);
  color: inherit;
  font: inherit;
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
button {
  width: 100%;
  min-height: 2.75rem;
  padding: .5rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent);
  color: #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--accent-hover); }
button:disabled { opacity: .65; cursor: wait; }
.error { color: var(--error); }
.fallback { margin: 1.5rem 0 0; font-size: .875rem; }
.recovery { margin: 1rem 0 0; }
a { color: var(--focus); text-underline-offset: .2rem; }

[hidden] { display: none !important; }
