:root {
  color-scheme: dark;
  --bg: #10120f;
  --surface: #181b17;
  --surface-2: #20241f;
  --text: #f1f3ec;
  --muted: #9ca397;
  --line: rgba(231, 239, 225, 0.14);
  --lime: #c7f36b;
  --lime-ink: #172108;
  --red: #f17a77;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 20% 15%, rgba(199, 243, 107, 0.07), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(199, 243, 107, 0.65); outline-offset: 3px; }
.login-shell { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: min(100%, 430px);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}
.brand-mark { width: 44px; height: 44px; color: var(--lime); }
.brand-mark svg { width: 100%; height: 100%; }
.eyebrow { margin: 28px 0 8px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-family: "Unbounded", "Manrope", system-ui, sans-serif; font-size: clamp(28px, 7vw, 38px); line-height: 1.1; letter-spacing: -.05em; }
.intro { margin: 13px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.6; }
form { display: grid; gap: 17px; }
.field { display: grid; gap: 8px; }
label { color: var(--muted); font-size: 11px; font-weight: 700; }
.optional { color: #737b70; font-weight: 500; }
input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
}
input:focus { border-color: var(--lime); outline: 0; box-shadow: 0 0 0 3px rgba(199, 243, 107, .08); }
.error { display: none; margin: -2px 0 0; color: var(--red); font-size: 11px; line-height: 1.5; }
.error:not(:empty) { display: block; }
.submit-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}
.submit-button:hover { background: #d5f98d; transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.submit-button svg { width: 18px; height: 18px; }
.security-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #737b70; font-size: 10px; line-height: 1.6; }
@media (max-width: 520px) {
  .login-shell { padding: 12px; align-items: end; }
  .login-card { padding: 28px 22px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
