:root {
  --bg: #eef1ed;
  --surface: #fbfcf8;
  --ink: #17201b;
  --muted: #66716b;
  --line: #d8dfd7;
  --teal: #117c6f;
  --teal-strong: #075f55;
  --red: #b94842;
  --shadow: 0 24px 70px rgba(23, 32, 27, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(17, 124, 111, 0.18), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(183, 110, 24, 0.14), transparent 30%),
    linear-gradient(135deg, #f7f5eb, var(--bg));
  color: var(--ink);
  font-family: "Aptos", "SF Pro Text", "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

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

.login-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid rgba(216, 223, 215, 0.86);
  border-radius: 14px;
  background: rgba(251, 252, 248, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 26px;
}

.intro,
.footnote {
  color: var(--muted);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  outline: 0;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(17, 124, 111, 0.14);
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font-weight: 900;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.login-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(185, 72, 66, 0.12);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.footnote {
  margin: 18px 0 0;
  font-size: 12px;
}
