:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #0a2d1e;
  color: #f0ede8;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.login {
  width: min(100% - 36px, 360px);
  padding: 28px;
  border-radius: 18px;
  background: #f7f5f1;
  color: #373e49;
  box-shadow: 0 18px 44px rgba(10, 45, 30, 0.35);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9a6b00;
}

h1 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0a2d1e;
}

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dbe7df;
  border-radius: 8px;
  background: #ffffff;
  color: #373e49;
  font: inherit;
  font-size: 16px;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid #ffd66e;
  outline-offset: 2px;
}

button {
  width: 100%;
  min-height: 44px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  background: #053e2f;
  color: #f0ede8;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #0a2d1e;
}

.error {
  margin: 0 0 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fbe9e5;
  color: #7a2b1e;
  font-size: 13px;
}

.note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #5b626d;
}
