:root {
  color-scheme: light;
  --paper: #f5f3f1;
  --ink: #111;
  --line: #d2ccc6;
  font-family: "Founders Grotesk", "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px 24px;
  -webkit-font-smoothing: antialiased;
}
.login { width: min(100%, 360px); text-align: center; }
.wordmark { margin: 0; line-height: 1; }
.wordmark img { display: block; width: 100%; height: auto; }
.little-candle {
  display: block;
  width: 160px;
  height: 176px;
  object-fit: cover;
  object-position: center bottom;
  margin: 24px auto 28px;
  mix-blend-mode: darken;
}
form { width: min(100%, 300px); margin: 0 auto; }
.password-field { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.password-field:focus-within { border-color: var(--ink); }
input, button { font: inherit; color: inherit; }
input[type="password"], input[type="text"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  outline: none;
}
input::placeholder { color: #706b66; opacity: 1; }
input:autofill { box-shadow: 0 0 0 100px var(--paper) inset; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.show-password { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #706b66; }
.show-password[hidden] { display: none; }
.eye-slash { display: none; }
.show-password[aria-pressed="true"] .eye-slash { display: block; }
.enter {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 20px;
  min-height: 50px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
}
.enter:hover { background: transparent; color: var(--ink); }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.error { margin: 12px 0 0; color: #9d2828; text-align: left; font-size: 14px; line-height: 1.5; }
.sandbox-label { position: absolute; top: 24px; left: 24px; color: #706b66; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 420px) {
  body { padding: 48px 28px; }
  .wordmark { max-width: 300px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .enter { transition: none; } }
