:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --line: #e5ebef;
  --text: #20333c;
  --ink: #142c37;
  --muted: #647680;
  --green: #126d69;
  --red: #a33a46;
  --red-soft: #fff0f1;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.login-panel {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 32px;
}
.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--green);
  color: white;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 28px;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 3px solid white;
  border-radius: 5px;
  opacity: 0.96;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.25;
}
.intro,
.privacy {
  color: var(--muted);
}
.intro {
  margin: 10px 0 28px;
}
form {
  display: grid;
  gap: 9px;
}
label {
  margin-top: 8px;
  font-size: 0.94rem;
  font-weight: 650;
}
input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfdade;
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--text);
  font: inherit;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #58a38e;
  outline-offset: 2px;
}
button {
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.passkey-area {
  margin-top: 18px;
}
.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}
.separator::before,
.separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.secondary-button {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #9db1ac;
  background: white;
  color: var(--text);
}
.secondary-button:hover {
  background: #f4f7f6;
}
.error {
  margin: 0 0 14px;
  border-left: 3px solid var(--red);
  background: var(--red-soft);
  color: var(--red);
  padding: 9px 11px;
}
.privacy {
  margin: 22px 0 0;
  font-size: 0.75rem;
}
@media (max-width: 520px) {
  .login-shell {
    padding: 16px;
  }
  .login-panel {
    padding: 24px;
  }
  .brand-mark {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }
}
