@font-face {
  font-family: Inter;
  src: url('/inter-cyr.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/inter-lat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F;
}
:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  color: #f2f5fa;
  background: #0a0e14;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 90rem; padding: 0 clamp(1.25rem, 5vw, 5rem) 2rem; }
.masthead { display: flex; align-items: center; min-height: 7rem; border-bottom: 1px solid #29313c; }
.masthead img { width: 12.8rem; height: auto; }
main { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(21rem, 0.84fr); margin: clamp(2.5rem, 8vh, 6rem) 0; align-items: stretch; }
.visual { position: relative; min-height: clamp(27rem, 48vw, 36rem); overflow: hidden; border-radius: 1rem; background: #111922; }
.visual img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 64% center; }
.panel { align-self: center; padding: 2rem 0 2rem clamp(2.25rem, 5.2vw, 5.5rem); max-width: 34rem; min-width: 0; }
h1 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 630; overflow-wrap: break-word; }
.panel > p { font-size: 1.05rem; line-height: 1.55; margin: 1.1rem 0 2.45rem; color: #a7b5c5; }
label { display: block; font-size: .92rem; font-weight: 550; margin-bottom: .65rem; }
input[type=password], button { width: 100%; border-radius: .55rem; min-height: 3.15rem; font: inherit; }
input[type=password] { color: #f2f5fa; background: #141d28; border: 1px solid #435063; padding: .7rem .95rem; }
button { cursor: pointer; margin-top: 1.1rem; border: 0; background: #438dff; color: #071526; font-weight: 680; }
button:hover { background: #66a4ff; }
input:focus-visible, button:focus-visible { outline: 2px solid #9cc8ff; outline-offset: 3px; }
button:disabled { opacity: .5; cursor: default; }
.secondary { background: transparent; color: #dce7f5; border: 1px solid #47566a; margin: 0; width: auto; padding: 0 2.3rem; }
.secondary:hover { background: #1c2837; }
#error { color: #ffb1b1; font-size: .94rem; line-height: 1.4; margin: .65rem 0 0; }
@media (max-width: 47rem) {
  body { max-width: 37rem; }
  .masthead { min-height: 5rem; }
  .masthead img { width: 10.7rem; }
  main { grid-template-columns: 1fr; gap: 1.8rem; margin: 1.45rem 0; }
  .visual { min-height: 0; height: clamp(10rem, 46vw, 15rem); border-radius: .7rem; }
  .visual img { object-position: 62% 48%; }
  .panel { padding: 0; }
  .panel > p { margin: .85rem 0 1.5rem; }
}
