@font-face { font-family: 'Workspace Inter'; src: url('/assets/inter-variable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; font-family: 'Workspace Inter', sans-serif; color: #0b0b0b; background: #fafafa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; position: relative; overflow-x: clip; }
.login-mark { position: absolute; top: 20px; right: 28px; width: 58px; height: 52px; }
.login-horizon { position: fixed; z-index: -1; pointer-events: none; width: 100%; height: auto; bottom: -20vh; left: 0; }
.login-main { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 8vw; align-items: center; min-height: 100svh; padding: 0 4.5vw 3vh; }
.login-title { padding-bottom: 1px; }
.login-title > p:first-child { font-size: clamp(36px, 3.7vw, 56px); font-weight: 750; line-height: 1.2; margin: 0 0 2px; letter-spacing: -1.5px; }
h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.2; font-weight: 500; margin: 0; letter-spacing: -.8px; }
.login-subtitle { margin: 3px 0 0; color: #595959; font-size: 15px; line-height: 1.5; }
form { width: min(100%, 360px); margin-top: 16px; }
label { display: block; font-size: 15px; color: #595959; line-height: 1.5; }
.login-fields { display: flex; gap: 5px; }
input, button { font: inherit; border-radius: 5px; min-height: 38px; }
input { min-width: 0; width: 100%; border: 1px solid #d1d1d1; background: #fafafa; color: #0b0b0b; padding: 7px 10px; }
button { padding: 8px 14px; border: 0; background: #595959; color: #fff; font-size: 12px; cursor: pointer; }
button:hover { background: #333; }
input:focus-visible, button:focus-visible { outline: 2px solid #0b0b0b; outline-offset: 3px; }
.login-error { position: absolute; margin: 12px 0 0; max-width: 360px; color: #333; font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) {
  .login-mark { width: 46px; height: 42px; top: 22px; right: 24px; }
  .login-main { min-height: 100svh; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px; padding: 100px 24px 36vh; }
  .login-title > p:first-child { font-size: 38px; }
  h1 { font-size: 29px; }
  .login-subtitle { font-size: 13px; }
  form { margin: 0; width: 100%; }
  input, button { min-height: 44px; }
  .login-horizon { width: max(100%, 900px); max-width: none; bottom: -15px; left: 50%; transform: translateX(-50%); }
}
@media (max-height: 500px) and (min-width: 701px) {
  .login-main { padding-top: 90px; padding-bottom: 100px; }
  .login-horizon { bottom: -35vh; }
}
