:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #667168;
  --line: #dce2dc;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --green: #225d43;
  --green-dark: #17432f;
  --red: #a0362d;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }

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

.login-card {
  width: min(100%, 430px);
  padding: clamp(28px, 7vw, 46px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(24, 41, 31, 0.1);
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 8vw, 43px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.intro { margin: 14px 0 28px; color: var(--muted); line-height: 1.55; }
form { display: grid; gap: 9px; }
label { margin-top: 8px; font-size: 14px; font-weight: 700; }
input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fff; }
input[readonly] { color: var(--muted); background: var(--paper); }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 93, 67, .13); }
button { min-height: 49px; margin-top: 13px; border: 0; border-radius: 10px; color: #fff; background: var(--green); font-weight: 750; cursor: pointer; }
button:hover { background: var(--green-dark); }
button:disabled { cursor: wait; opacity: .65; }
.error { min-height: 21px; margin: 3px 0 0; color: var(--red); font-size: 14px; }
.back { display: inline-block; margin-top: 23px; color: var(--muted); font-size: 14px; text-decoration: none; }
.back:hover { color: var(--ink); }
