:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2420;
  background: #f6f6f2;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f6f6f2; }
button, input { font: inherit; }

.login-screen {
  display: flex;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(54px, env(safe-area-inset-top)) 24px max(34px, env(safe-area-inset-bottom));
  flex-direction: column;
  justify-content: center;
}

.login-brand {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: #1f2420;
  font-size: 38px;
  font-weight: 950;
}

.eyebrow { margin: 0; color: #276447; font-size: 12px; font-weight: 900; letter-spacing: 0; }
h1 { margin: 5px 0 0; font-size: 38px; line-height: 1.08; letter-spacing: 0; }
.login-copy { margin: 12px 0 34px; color: #697069; font-size: 18px; line-height: 1.45; }
form { display: flex; flex-direction: column; }
label { margin-bottom: 8px; font-size: 16px; font-weight: 850; }

input {
  width: 100%;
  height: 82px;
  padding: 8px 18px;
  border: 3px solid #dedfd8;
  border-radius: 7px;
  outline: 0;
  color: #1f2420;
  background: white;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

input:focus { border-color: #276447; box-shadow: 0 0 0 5px rgba(39,100,71,.12); }
.login-error { min-height: 24px; margin: 10px 0; color: #bd493d; font-size: 14px; font-weight: 800; text-align: center; }

button {
  display: flex;
  width: 100%;
  min-height: 70px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  align-items: center;
  justify-content: space-between;
  color: white;
  background: #276447;
  font-size: 19px;
  font-weight: 900;
}

button span { font-size: 27px; }
button:disabled { opacity: .55; }

@media (max-width: 380px) {
  .login-screen { padding-right: 18px; padding-left: 18px; }
  input { font-size: 31px; }
}
