:root {
  --ink: #17161f;
  --muted: #6f6a7c;
  --surface: #ffffff;
  --lime: #cbff4d;
  --pink: #ff4fa3;
  --cyan: #39d5ff;
  --line: rgba(23, 22, 31, 0.12);
  --shadow: 0 24px 70px rgba(23, 22, 31, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(203, 255, 77, 0.34), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(255, 79, 163, 0.18), transparent 22rem),
    linear-gradient(135deg, #fffaf1 0%, #f2fbff 48%, #fff5fb 100%);
  color: var(--ink);
  font-family: "Segoe UI", "Inter", "Noto Sans", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: min(480px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.copy p,
label,
.message {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 0.94;
}

.copy {
  margin-bottom: 24px;
}

.form-stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 22, 31, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(57, 213, 255, 0.16);
}

button {
  min-height: 48px;
  border: 1px solid rgba(23, 22, 31, 0.14);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
  padding: 0 16px;
}

button.secondary {
  background: #fff;
  color: var(--ink);
}

.message {
  min-height: 22px;
  margin: 14px 0 0;
  font-weight: 800;
}

.message.error {
  color: #a51f39;
}

.hidden {
  display: none;
}
