:root {
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #203a31;
  background: #f5f6f2;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.login-card {
  width: min(100%, 420px);
  padding: clamp(24px, 7vw, 40px);
  border: 1px solid #dce4dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px #253c2b0a;
}

.brand { margin: 0 0 24px; font-size: 27px; font-weight: 750; letter-spacing: -.055em; line-height: 1; }
h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.intro { margin: 0 0 24px; color: #586a60; }
form { display: grid; gap: 8px; }
label { font-size: 14px; font-weight: 650; }

input, button {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  font: inherit;
}

input {
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid #b9c9be;
  background: #fff;
  color: inherit;
}

button {
  margin-top: 4px;
  padding: 10px 16px;
  border: 1px solid #285740;
  background: #285740;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: #1d4430; }
:focus-visible { outline: 3px solid #b78229; outline-offset: 3px; }
.error { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: #fff2ee; color: #852b21; font-size: 14px; }
