/* SYNTHAZY LOGIN (6.4): страница единого входа synthazy.com/login. Шрифт и цвета те же, что у основного сайта (свои файлы, без внешних хостов). */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --bg: #050505; --gold: #C9A45C; --gold-l: #F0D28A; --white: #fff; --muted: #9A9A9A; --line: rgba(255, 255, 255, .14); --line-gold: rgba(201, 164, 92, .45);
  --font: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--bg); color: var(--white); font-family: var(--font);
  padding: env(safe-area-inset-top, 0) 20px env(safe-area-inset-bottom, 0); }
.box { width: min(360px, 100%); text-align: center; }
.brand { margin: 0 0 12px; font-size: clamp(30px, 9.5vw, 40px); font-weight: 600; letter-spacing: .3em; padding-left: .3em; color: var(--white); }
.title { margin: 0 0 48px; font-size: 12px; font-weight: 500; letter-spacing: .5em; padding-left: .5em; color: var(--gold); }
.step { display: grid; gap: 18px; }
.step[hidden], .error[hidden] { display: none; }
.field { width: 100%; height: 56px; padding: 0 18px; text-align: center; font: 500 18px/1 var(--font); letter-spacing: .2em; color: var(--white);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 0; outline: none; transition: border-color .2s; }
.field:focus { border-color: var(--gold); }
.field--2 { letter-spacing: .5em; padding-left: calc(18px + .5em); }
.btn { display: block; width: 100%; height: 54px; line-height: 52px; font: 600 12px/52px var(--font); letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; text-align: center;
  color: #050505; background: var(--gold); border: 1px solid var(--gold); border-radius: 0; cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--gold-l); border-color: var(--gold-l); outline: none; }
.btn--go { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); background: transparent; border-color: var(--line-gold); }
.btn--go .arr { transition: transform .25s; }
.btn--go:hover, .btn--go:focus-visible { color: #050505; background: var(--gold); border-color: var(--gold); }
.btn--go:hover .arr, .btn--go:focus-visible .arr { transform: translateX(5px); }
.home { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 16px); left: 16px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); transition: color .2s; }
.home:hover, .home:focus-visible { color: var(--gold); outline: none; }
.btn--ghost { color: var(--gold); background: transparent; border-color: var(--line-gold); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--gold-l); background: transparent; border-color: var(--gold); }
.btn[disabled] { opacity: .5; cursor: default; }
.error { margin: 22px 0 0; font-size: 12px; letter-spacing: .12em; color: #E58C8C; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* проверка доступа: пять тёмных точек на золотой кнопке вместо подписи */
.btn .dots { display: none; gap: 12px; align-items: center; justify-content: center; }
.btn .dots i { width: 6px; height: 6px; border-radius: 50%; background: #050505; opacity: .25; animation: dot 1s ease-in-out infinite; }
.btn .dots i:nth-child(2) { animation-delay: .12s; } .btn .dots i:nth-child(3) { animation-delay: .24s; }
.btn .dots i:nth-child(4) { animation-delay: .36s; } .btn .dots i:nth-child(5) { animation-delay: .48s; }
.is-checking .btn .lbl, .is-checking .btn .arr { display: none; }
.is-checking .btn .dots { display: flex; }
.is-checking .btn[disabled] { opacity: 1; }
@keyframes dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .btn .dots i { animation: none; opacity: .8; } }
.is-checking .btn--go { background: var(--gold); border-color: var(--gold); color: #050505; }
