:root {
  color-scheme: light;
  --paper: #f3f3ef;
  --ink: #202522;
  --muted: #707771;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
.entry {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 64px 28px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 38%, #ffffffb3 0, #ffffff00 65%),
    linear-gradient(132deg, #e5e7e24d 0, transparent 40%, #ffffff55 72%, #e7e9e44d 100%);
}
.entry::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: -1;
  border: 1px solid #212a2214;
  pointer-events: none;
}
.entry-content { width: min(100%, 336px); margin-top: -24px; animation: arrive .7s ease-out both; }
.brand { display: block; width: 270px; max-width: 90%; height: auto; margin: 0 auto 55px; }
.login-form { display: grid; gap: 12px; position: relative; }
.password-field {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 10px 0 19px;
  border: 1px solid #bfc5bd;
  border-radius: 2px;
  background: #fff8;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.password-field:focus-within { border-color: #46534a; box-shadow: 0 0 0 3px #46534a12; background: #fff; }
.lock { flex: 0 0 17px; width: 17px; height: 20px; stroke: #68746a; stroke-width: 1.25; }
input[type="password"], input[type="text"] { background: transparent; border: 0; border-radius: 0; outline: none; min-width: 0; width: 100%; padding: 18px 0; color: var(--ink); font-size: 16px; font-weight: 350; letter-spacing: .025em; }
input::placeholder { opacity: 1; color: #737971; letter-spacing: .025em; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #fafbf8 inset; -webkit-text-fill-color: var(--ink); }
.reveal { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 2px; background: none; color: #737c72; }
.reveal:hover { color: var(--ink); background: #20252207; }
.reveal svg { width: 20px; stroke: currentColor; stroke-width: 1.2; }
.eye-slash { display: none; }
.reveal[aria-pressed="true"] .eye-slash { display: block; }
.enter-button { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 18px; padding: 16px 20px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fafbf8; text-align: left; box-shadow: 0 4px 12px #2025220b; transition: background .2s, transform .2s; }
.enter-button span { font-size: 13px; font-weight: 400; letter-spacing: .075em; }
.enter-button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.2; transition: transform .2s; }
.enter-button:hover { background: #343e36; }
.enter-button:hover svg { transform: translateX(3px); }
.enter-button:active { transform: translateY(1px); }
button:focus-visible { outline: 2px solid #536e59; outline-offset: 4px; }
.error { margin: 5px 2px 0; font-size: 13px; line-height: 1.55; color: #944133; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .entry { padding: 52px 32px; }
  .entry::before { inset: 13px; }
  .entry-content { margin-top: -12px; }
  .brand { width: 246px; margin-bottom: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
