@font-face {
  font-family: Manrope;
  src: url(/font/manrope-cyrillic-wght-normal.woff2);
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-052F,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url(/font/manrope-latin-wght-normal.woff2);
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-024F,U+2000-206F,U+2190-21FF;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  padding: 28px 16px;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  background: #eeefe8;
  color: #252a25;
  font: 16px/1.5 Manrope, Arial, sans-serif;
}
main {
  grid-row: 2;
  width: min(100%, 432px);
  background: #fffefa;
  border: 1px solid #cccec4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px -25px #39433480;
}
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #dce2cf;
  background-image: linear-gradient(90deg,#50654b10 1px,transparent 1px),linear-gradient(#50654b10 1px,transparent 1px);
  background-size: 24px 24px;
  padding: 24px 32px;
  border-bottom: 1px solid #c5cdb8;
}
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -.05em; }
.wordmark img { width: 19px; }
.cover p { margin: 27px 0 0; font-size: 14px; font-weight: 650; line-height: 1.25; }
.hoist { position: absolute; z-index: -1; width: 46%; height: 95%; right: 4%; top: 5%; object-fit: contain; mix-blend-mode: multiply; }
.sheet { padding: 28px 32px 32px; }
h1 { margin: 0 0 23px; font-size: 32px; line-height: 1.12; letter-spacing: -.06em; font-weight: 730; }
label { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 6px; }
button, input { font: inherit; color: inherit; }
input { width: 100%; height: 48px; border: 1px solid #a8ada1; background: #fff; border-radius: 8px; padding: 0 13px; }
input:focus, button:focus-visible { outline: 2px solid #9a400b; outline-offset: 2px; }
.password-field { position: relative; }
.password-field input { padding-right: 51px; }
button { cursor: pointer; }
#reveal { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 6px; color: #536052; background: transparent; }
#reveal:hover { color: #171d17; background: #f0f2eb; }
#reveal svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
#reveal .slash { display: none; }
#reveal.visible .slash { display: block; }
.submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; padding: 0 16px; margin-top: 24px; border: none; border-radius: 8px; color: #221a15; background: #ff783e; font-weight: 800; }
.submit:hover { background: #ff874f; }
.submit span { font-size: 23px; line-height: 1; }
.error { margin: 12px 0 0; color: #9a3025; font-size: 14px; }
footer { grid-row: 3; align-self: start; margin-top: 15px; color: #62695d; font-size: 12px; }
@media (max-width: 380px) { .cover, .sheet { padding-inline: 22px; } }
