:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211b;
  background: #eef2ed;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body { margin: 0; min-height: 100vh; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(96, 142, 111, .2), transparent 35%),
    linear-gradient(145deg, #f8faf7, #e7ece6);
}

.login-card {
  width: min(100%, 430px);
  padding: 40px;
  border: 1px solid #d6ded5;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(28, 45, 33, .13);
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: #315b3e;
  font-weight: 800;
  letter-spacing: .04em;
}

.eyebrow { margin: 22px 0 5px; color: #477253; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.15rem); line-height: 1.15; }
.description { margin: 12px 0 28px; color: #637069; line-height: 1.55; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: .9rem; font-weight: 700; }
input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #c7d1c8;
  border-radius: 10px;
  background: white;
  color: inherit;
  font: inherit;
}
input:focus { outline: 3px solid rgba(69, 116, 81, .18); border-color: #477451; }
button {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  color: white;
  background: #315b3e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: .65; cursor: wait; }
.link-action {
  width: 100%;
  min-height: auto;
  margin-top: 18px;
  padding: 8px;
  color: #315b3e;
  background: transparent;
}
.secondary-action {
  color: #315b3e;
  border: 1px solid #b8c7bb;
  background: white;
}
.feedback { margin: 0; padding: 11px 12px; border-radius: 9px; color: #8b2525; background: #fff0f0; font-size: .9rem; }

@media (max-width: 520px) {
  .login-card { padding: 28px 22px; }
}
