:root {
  font-family: Inter, Arial, sans-serif;
  color: #20271e;
  background: #20271e;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background-image:
    linear-gradient(#b8d09b12 1px, transparent 1px),
    linear-gradient(90deg, #b8d09b12 1px, transparent 1px);
  background-size: 72px 72px;
}
main {
  width: 100%;
  max-width: 510px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 700;
  color: #f4f7ed;
  letter-spacing: -0.8px;
  margin-bottom: 34px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  background: #d8ee8a;
  color: #20271e;
  font-size: 26px;
}
.brand-period {
  color: #d8ee8a;
  margin-left: -9px;
}
.login-card {
  background: #f4f6ea;
  border: 1px solid #b8c7a2;
  padding: 38px;
  box-shadow: 12px 12px 0 #111b1770;
}
.eyebrow {
  display: inline-block;
  border: 1px solid #c7d2b6;
  padding: 5px 8px;
  color: #5e6c50;
  font: 12px monospace;
  letter-spacing: 0.8px;
}
h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1.6px;
  margin: 25px 0 14px;
}
p {
  font-size: 16px;
  line-height: 1.6;
  color: #65705b;
  margin: 0 0 26px;
}
form {
  display: flex;
  flex-direction: column;
}
label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 9px;
}
input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  border: 1px solid #abb69d;
  border-radius: 2px;
  background: #fff;
  padding: 13px 12px;
  margin-bottom: 22px;
  color: #20271e;
}
input:focus-visible,
button:focus-visible {
  outline: 2px solid #738b3a;
  outline-offset: 3px;
}
button {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #20271e;
  border-radius: 2px;
  background: #20271e;
  color: #f4f7ea;
  min-height: 48px;
  cursor: pointer;
  margin-top: 4px;
}
button:hover {
  background: #374b29;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
#error {
  background: #f2e3d9;
  color: #8b3222;
  border: 1px solid #d4aa98;
  padding: 12px;
  font-size: 14px;
  margin: 0 0 16px;
}
.note {
  font-size: 13px;
  line-height: 1.8;
  margin: 24px 0 0;
}
@media (max-width: 600px) {
  body {
    padding: 28px 20px;
  }
  .brand {
    margin-bottom: 26px;
  }
  .login-card {
    padding: 28px 24px;
    box-shadow: 7px 7px 0 #111b1770;
  }
  h1 {
    font-size: 36px;
  }
}
