/* The family app's sky (web/src/styles/app.css .sky), so signing in here feels like the same place. */
:root {
  --violet: #6a4cff;
  --violet3: #4c2dd8;
  --ink: #1c1a33;
  --ink2: #5c5a73;
  --line: #e4e1f2;
  --coral: #ff3b5c;
  --card: #fff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1ff;
    --ink2: #b4b0cc;
    --line: #3a3657;
    --card: #1f1c33;
    --coral: #ff6b84;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family: "Figtree Variable", Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #3f24c2;
}
.sky {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 64px 16px 32px;
  color: #fff;
  background:
    radial-gradient(80% 55% at 50% 0%, #9c84ff 0%, rgba(156, 132, 255, 0) 70%),
    linear-gradient(180deg, #6447f5 0%, #3f24c2 100%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand i {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(20, 10, 80, 0.25);
}
.card {
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(20, 10, 80, 0.3);
}
h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.lede {
  margin: 6px 0 22px;
  color: var(--ink2);
}
label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 600;
}
input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
button {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--violet);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}
button:hover {
  background: var(--violet3);
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
button.quiet {
  background: transparent;
  color: var(--ink2);
  font-weight: 600;
}
button.quiet:hover {
  color: var(--ink);
}
.error {
  min-height: 1.4em;
  margin: 12px 0 4px;
  color: var(--coral);
  font-size: 14px;
}
.small {
  margin: 16px 0 0;
  color: var(--ink2);
  font-size: 14px;
  text-align: center;
}
.list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.list button {
  margin: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list button::after {
  content: "→";
}
