* { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #f6f7fc; margin: 0; color: #102c41; font: 400 16px/1.45 'PF BeauSans Pro', Arial, sans-serif; }
button, input { font: inherit; }
a { color: #006ac8; }
button, a, input { outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #164d88; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
.hero { flex: 1; display: flex; flex-direction: column; background: #dcecff url('../images/bg.svg') center/cover no-repeat; overflow: hidden; }
.header { width: 100%; max-width: 1328px; margin: auto; padding: 28px 32px 18px; display: flex; align-items: center; gap: 22px; }
.header a { display: block; flex-shrink: 0; }
.header img { display: block; width: 75px; height: auto; }
.service { border-left: 1px solid #9bb4cc; padding-left: 22px; font-size: 13px; line-height: 1.35; }
.main { width: 100%; flex: 1; position: relative; max-width: 1328px; margin: auto; padding: 18px 32px 44px; display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 48px; align-items: end; }
.content { position: relative; z-index: 1; min-width: 0; }
h1 { font-weight: 600; font-size: 38px; line-height: 1.14; margin: 0 0 18px; max-width: 600px; letter-spacing: -.7px; }
.intro { font-size: 16px; max-width: 575px; margin: 0 0 22px; }
.auth { background: #fff; border: 1px solid #dce5ee; border-radius: 12px; padding: 24px 28px; max-width: 460px; box-shadow: 0 8px 28px #133f6710; }
.providers { display: grid; gap: 12px; }
.provider { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 48px; width: 100%; padding: 8px; background: #fff; color: #102c41; border: 1px solid #668faf; border-radius: 7px; font-size: 16px; text-decoration: none; overflow-wrap: anywhere; }
.provider:hover { background: #f0f7ff; }
.provider img { width: 111px; height: auto; }
.divider { display: flex; align-items: center; gap: 14px; color: #617080; font-size: 13px; margin: 17px 0; }
.divider::before, .divider::after { content: ''; height: 1px; background: #dce5ee; flex: 1; }
h2 { font-size: 21px; font-weight: 600; line-height: 1.25; margin: 0 0 7px; }
.hint { font-size: 14px; color: #4c6173; margin: 0 0 17px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 14px; margin-bottom: 5px; }
.field input { height: 45px; border: 1px solid #8297ab; background: #fff; border-radius: 6px; padding: 10px 12px; width: 100%; color: #102c41; font-size: 16px; min-width: 0; }
.field input[aria-invalid='true'] { border-color: #b73e31; }
.password { display: flex; position: relative; }
.password.has-reveal input { padding-right: 88px; }
.reveal { position: absolute; right: 1px; top: 1px; height: 43px; min-width: 82px; border: 0; background: transparent; color: #006ac8; font-size: 12px; border-radius: 4px; }
.submit { min-height: 48px; padding: 10px; border: 0; border-radius: 7px; background: #006ac8; color: #fff; width: 100%; font-weight: 600; }
.submit:hover { background: #0057a5; }
.submit:disabled { background: #526a80; }
.remember { display: flex; align-items: center; gap: 9px; min-height: 44px; margin-bottom: 10px; font-size: 14px; cursor: pointer; }
.remember input { width: 18px; height: 18px; accent-color: #006ac8; }
.reset-password { display: inline-block; margin-bottom: 14px; font-size: 14px; }
.download { display: inline-flex; align-items: center; gap: 9px; color: #063f71; font-size: 14px; margin-top: 18px; min-height: 44px; text-decoration: none; }
.download img { width: 18px; }
.art { align-self: stretch; position: relative; min-height: 400px; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.art img { position: absolute; bottom: -44px; max-height: 600px; max-width: 120%; width: auto; object-fit: contain; object-position: bottom; }
.footer { flex: 0 0 auto; background: #f6f7fc; padding: 28px 32px 32px; }
.footer__inner { max-width: 1264px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer__question, .footer__copyright { margin: 0; font-size: 14px; line-height: 1.43; font-weight: 400; }
.footer__question { max-width: 400px; color: #102c41; }
.footer__copyright { color: #737b8f; }
.notice { font-size: 14px; background: #edf5fc; border-left: 3px solid #006ac8; padding: 10px 12px; margin: 0 0 16px; overflow-wrap: anywhere; }
.notice-error { background: #fff3f2; border-color: #b73e31; color: #903126; }
.notice-warning { background: #fff7e4; border-color: #926a0e; }
.another-way { margin-top: 14px; }
.another-way button { border: 0; background: transparent; color: #006ac8; min-height: 44px; padding: 0; }
@media (max-width: 1000px) {
    .main { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 10px; }
    .art img { max-width: 160%; max-height: 480px; }
    h1 { font-size: 34px; }
    .header, .main { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 900px) {
    .header { padding: 22px 20px; }
    .service { font-size: 12px; }
    .main { display: block; padding: 8px 20px 30px; }
    .content { max-width: 560px; margin: auto; }
    .art { display: none; }
    h1 { font-size: 29px; letter-spacing: -.3px; }
    .intro { font-size: 15px; }
    .auth { max-width: none; padding: 22px; }
    .footer { padding: 24px 20px; }
    .footer__inner { max-width: 560px; flex-direction: column; align-items: flex-start; gap: 18px; }
    .footer__copyright { font-size: 12px; }
}
@media (max-width: 380px) {
    .desktop-break, .footer__question br { display: none; }
}
