:root {
  color: #202820;
  background: #e9eae2;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  accent-color: #253a31;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 45% 13%, #f8f8f4, #e0e3d7 76%);
}
main {
  width: min(100%, 460px);
  border: 1px solid #d8dacf;
  border-radius: 20px;
  padding: clamp(24px, 6vw, 44px);
  background: #fafbf8;
  box-shadow: 0 16px 44px #26342a16;
}
.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #eaf0e7;
  background: #253a31;
}
.mark span {
  display: block;
  position: relative;
  width: 17px;
  height: 14px;
  margin-top: 5px;
  border: 2px solid;
  border-top: 0;
  border-radius: 0 0 2px 2px;
}
.mark span::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -7px;
  width: 12px;
  height: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
  transform: rotate(45deg);
}
h1 { font-size: clamp(25px, 5vw, 31px); line-height: 1.18; letter-spacing: -.035em; margin: 22px 0 10px; }
p { margin: 0; color: #4e5e53; }
.remember { display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 20px 0 12px; }
.remember input { inline-size: 18px; block-size: 18px; margin: 0; flex-shrink: 0; }
button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #253a31;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 10px 14px;
}
button:hover { background: #344e41; }
button:focus-visible, input:focus-visible { outline: 2px solid #507d69; outline-offset: 4px; }
button:disabled { cursor: default; opacity: .68; }
#status { margin-top: 16px; font-size: 14px; }
#status[data-error] { color: #8b3026; }
