/* Standalone: the app's globals.css lives behind the gate, so these few
   variables are repeated here rather than shared. */
:root {
  --bg: #15161a;
  --fg: #ececf0;
  --muted: #a9aebb;
  --accent: #c8a24a;
  --field: #1b1d23;
  --edge: #2f323b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.5;
}

.card {
  width: 100%;
  max-width: 22rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--accent);
}

.blurb {
  margin: 0 0 2rem;
  color: var(--muted);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.8rem;
  color: var(--muted);
}

label + input {
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  color: var(--fg);
  background: var(--field);
  border: 1px solid var(--edge);
  border-radius: 0.6rem;
}

input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button {
  margin-top: 0.5rem;
  padding: 0.8rem;
  font: inherit;
  font-weight: 600;
  color: #15161a;
  background: var(--accent);
  border: 0;
  border-radius: 0.6rem;
  cursor: pointer;
}

button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.message {
  margin: 1rem 0 0;
  min-height: 1.5rem;
  font-size: 0.9rem;
  color: #f0a6a6;
}
