/* Self-hosted Inter (SIL Open Font License); no third-party font requests. */
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-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;
}

.landing-page {
    --ink: #101a2b;
    --muted: #59677d;
    --blue: #236fb8;
    --link: #0766c4;
    --line: #dfe8f2;
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.landing-page *, .landing-page *::before, .landing-page *::after { box-sizing: border-box; }
.landing-page [hidden] { display: none !important; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { margin: 0; }
.landing-page button, .landing-page input { font: inherit; }
.landing-page button, .landing-page a, .landing-page input { -webkit-tap-highlight-color: transparent; }
.landing-page a { color: var(--link); text-decoration: none; }
.landing-page button { cursor: pointer; }
.landing-page a:focus-visible, .landing-page button:focus-visible, .landing-page input:focus-visible {
    outline: 3px solid #6ba9e1;
    outline-offset: 4px;
}
.landing-page a:hover { color: #124d87; }
.landing-page ::selection { color: #102c49; background: #cde8ff; }
.landing-container { width: calc(100% - 96px); max-width: 1120px; margin-inline: auto; }
.landing-wide { width: calc(100% - 48px); max-width: 1176px; margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -80px; padding: 12px 18px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.landing-header { position: relative; z-index: 2; background: #fff; }
.header-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.landing-page .brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 28px; font-weight: 700; letter-spacing: -.7px; white-space: nowrap; }
.brand-symbol { color: #176db6; font-family: Georgia, 'Times New Roman', serif; font-size: 39px; font-weight: 400; line-height: 1; }
.landing-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; margin-left: 64px; }
.landing-nav a { color: #495971; font-size: 15px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 10px 26px; border: 1px solid transparent; border-radius: 7px; font-weight: 600; line-height: 1.4; transition: background-color .18s, box-shadow .18s; }
.landing-page .button-primary { color: #fff; background: linear-gradient(105deg, #2375bd, #226bb0); border-color: #2272b9; box-shadow: inset 0 1px 0 #ffffff12; }
.landing-page .button-primary:hover { color: #fff; background: #1b5e9e; box-shadow: 0 5px 16px #1e6bb324; }
.landing-page .button-outline { color: var(--link); border-color: #267ac7; background: #fff; font-weight: 400; }
.landing-page .button-outline:hover { background: #edf6ff; }
.header-login { min-height: 36px; min-width: 94px; padding: 6px 22px; font-size: 14px; border-radius: 6px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--blue); background: #fff; }

.landing-icon { display: inline-block; flex: 0 0 auto; width: 28px; height: 28px; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.icon-lock { --icon: url('../img/landing/lock.svg'); }
.icon-laptop { --icon: url('../img/landing/laptop.svg'); }
.icon-shield { --icon: url('../img/landing/shield-check.svg'); }
.icon-video { --icon: url('../img/landing/video.svg'); }
.icon-message { --icon: url('../img/landing/message-square.svg'); }
.icon-users { --icon: url('../img/landing/users-round.svg'); }
.icon-notebook { --icon: url('../img/landing/notebook-text.svg'); }
.icon-arrow { --icon: url('../img/landing/arrow-right.svg'); width: 22px; height: 22px; }
.icon-eye { --icon: url('../img/landing/eye.svg'); width: 20px; height: 20px; }
.icon-menu { --icon: url('../img/landing/menu.svg'); width: 24px; height: 24px; }
.nav-toggle[aria-expanded="true"] .icon-menu { --icon: url('../img/landing/x.svg'); }
.password-toggle[aria-pressed="true"] .icon-eye { --icon: url('../img/landing/eye-off.svg'); }

.hero { position: relative; overflow: hidden; background: #f3faff; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 48px; align-items: start; padding-top: 39px; padding-bottom: 25px; }
.hero-copy { padding: 19px 0 0 20px; }
.hero-eyebrow { color: #64748b; font-size: 14px; line-height: 21px; letter-spacing: 1px; text-transform: uppercase; }
.hero-copy h1 { margin-top: 16px; font-size: clamp(54px, 6vw, 68px); font-weight: 700; line-height: .99; letter-spacing: -1.7px; }
.hero-copy h1 span { color: var(--blue); }
.hero-description { margin-top: 17px !important; color: #455166; font-size: 20px; line-height: 1.45; letter-spacing: -.4px; }
.hero-button { min-height: 52px; min-width: 251px; margin-top: 27px; font-size: 18px; }
.hero-benefits { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0; margin: 74px 0 0; list-style: none; }
.hero-benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #2e3d51; white-space: nowrap; }
.hero-benefits .landing-icon { width: 29px; height: 29px; color: #0875cf; }
.hero-decoration { position: absolute; inset: 0; pointer-events: none; }
.hero-decoration span { position: absolute; border-radius: 50%; background: linear-gradient(140deg, #d1ecfb12, #93cef53d); }
.hero-decoration span:nth-child(1) { width: 780px; height: 780px; left: -437px; top: 266px; }
.hero-decoration span:nth-child(2) { width: 600px; height: 600px; left: -337px; top: 373px; background: linear-gradient(135deg, #cce9fa42, #79bff077); }
.hero-decoration span:nth-child(3) { width: 530px; height: 530px; left: 68px; top: 355px; }
.hero-decoration span:nth-child(4) { width: 500px; height: 500px; left: 67px; top: 485px; background: #a9d9f62b; }

.auth-card { min-width: 0; padding: 23px 30px 23px; border: 1px solid #e0e7ef; border-radius: 12px; background: #ffffffef; box-shadow: 0 10px 30px #244c7610; scroll-margin-top: 20px; }
.auth-card h2 { font-size: 28px; line-height: 36px; letter-spacing: -.6px; }
.auth-subtitle { color: var(--muted); font-size: 16px; line-height: 24px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 6px; background: #f5faff; }
.auth-switch a { padding: 8px 10px; text-align: center; color: #145ca6; font-size: 14px; line-height: 21px; border-radius: 5px; }
.auth-switch a:hover { background: #e7f3fd; }
.auth-switch .is-active { color: #fff; background: linear-gradient(105deg, #2375bd, #226bb0); font-weight: 600; margin: -1px; padding: 9px 11px; }
.auth-switch .is-active:hover { color: #fff; background: #226bb0; }
.auth-panels { display: flow-root; }
.auth-panels.is-animating { overflow: hidden; }
.form-field { margin-bottom: 14px; }
.form-label { display: block; color: #273246; font-size: 14px; line-height: 20px; margin-bottom: 4px; }
.landing-input { display: block; width: 100%; height: 40px; padding: 8px 13px; border: 1px solid #d3dce8; border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px !important; line-height: 22px; box-shadow: inset 0 1px 2px #132c4a03; transition: border-color .18s, box-shadow .18s; }
.landing-input::placeholder { color: #7c8a9f; opacity: 1; }
.landing-input:focus { outline: none !important; border-color: #4489cb; box-shadow: 0 0 0 3px #2473bb1a; }
.password-field { position: relative; }
.password-field .landing-input { padding-right: 43px; }
.password-toggle { position: absolute; top: 0; right: 4px; display: flex; align-items: center; justify-content: center; width: 36px; height: 40px; padding: 0; border: 0; background: transparent; color: #7b899c; border-radius: 4px; }
.password-toggle:hover { color: var(--blue); }
.form-error:empty { display: none; }
.form-error { margin-top: 5px; color: #af3232; font-size: 13px; line-height: 18px; }
.form-field.has-error .landing-input { border-color: #c65252; }
.auth-notice { margin: -4px 0 18px !important; padding: 10px 12px; border-radius: 6px; background: #edf5ff; color: #24547e; font-size: 13px; line-height: 20px; }
.auth-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: -1px; font-size: 12px; line-height: 20px; }
.remember-label { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); cursor: pointer; }
.remember-checkbox { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.auth-submit { width: 100%; min-height: 44px; padding: 9px 20px; margin-top: 17px; font-size: 16px; }
.landing-page .auth-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.auth-footer { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid #dae3ed; text-align: center; font-size: 13px; color: var(--muted); line-height: 20px; }
.auth-role-options { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-block: 4px; }
.auth-role-options label, .auth-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--muted); cursor: pointer; }
.auth-role-options input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.auth-consent .remember-checkbox { flex: 0 0 20px; }
.auth-consent-hint { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 17px; }
.auth-legal { margin-top: 14px !important; font-size: 11px; line-height: 18px; color: var(--muted); }
.landing-register-form .auth-submit { margin-top: 2px; font-size: 14px; }

.trust-banner { display: flex; align-items: center; gap: 24px; margin-top: 20px; padding: 14px 22px; border-radius: 10px; background: #ecf7ff; }
.icon-bubble { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 60px; height: 60px; color: #0872c9; background: #eaf5ff; border-radius: 50%; }
.icon-bubble .landing-icon { width: 31px; height: 31px; }
.trust-icon { width: 56px; height: 56px; background: #f8fcff; }
.trust-icon .landing-icon { width: 34px; height: 34px; }
.trust-banner h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.trust-banner p { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 22px; }
.formats-section { margin-top: 37px; }
.section-heading { text-align: center; }
.section-heading h2 { font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: -.9px; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 24px; }
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.format-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 233px; padding: 15px 14px 19px 20px; border: 1px solid #dfebf5; border-radius: 9px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.format-card:hover, .format-card:focus-within { border-color: #adcde9; box-shadow: 0 5px 20px #245b8c0b; }
.format-card h3 { margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: -.45px; }
.format-card p { margin-top: 7px; margin-bottom: 13px; color: var(--muted); font-size: 14px; line-height: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; margin-top: auto; font-size: 14px; line-height: 22px; font-weight: 600; }
.text-link .landing-icon { width: 20px; height: 20px; }
.steps-section { margin-top: 41px; scroll-margin-top: 30px; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 37px 0 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; align-items: flex-start; gap: 22px; min-width: 0; }
.step-number { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: #e4f3ff; color: #196db7; font-size: 20px; font-weight: 600; }
.step h3 { margin-top: 5px; font-size: 16px; line-height: 23px; font-weight: 600; letter-spacing: -.35px; white-space: nowrap; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.step-arrow { position: absolute; right: -30px; top: 24px; color: #93a4bb; width: 23px; height: 23px; }

.closing-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; margin-top: 34px; padding: 26px 38px 30px; min-height: 153px; border-radius: 14px; background: #eef7fe; }
.closing-copy, .closing-button { position: relative; z-index: 1; }
.closing-copy h2 { font-size: 32px; line-height: 40px; letter-spacing: -1px; }
.closing-copy p { margin-top: 3px; color: var(--muted); font-size: 18px; line-height: 27px; }
.closing-button { flex-shrink: 0; min-width: 234px; min-height: 51px; margin-right: 80px; padding: 10px 25px; font-size: 16px; }
.closing-decoration { position: absolute; inset: 0; pointer-events: none; }
.closing-decoration span { position: absolute; right: -30px; top: -10px; width: 120px; height: 170px; border: 1px solid #edf8ff; border-radius: 100% 0 100% 0; transform: rotate(-10deg); background: #b9e0fa50; }
.closing-decoration span:nth-child(2) { right: -10px; top: 78px; transform: rotate(12deg); background: #a1cff256; }
.closing-decoration span:nth-child(3) { right: 30px; top: 100px; transform: rotate(55deg); background: #c5e5fb55; }
.landing-footer { display: flex; align-items: center; gap: 40px; min-height: 62px; margin-top: 24px; padding: 13px 24px 17px; border-top: 1px solid #dfe8f2; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.landing-page .brand-small { font-size: 20px; gap: 9px; letter-spacing: -.5px; }
.brand-small .brand-symbol { font-size: 29px; }
.copyright { border-left: 1px solid #718098; padding-left: 13px; color: var(--muted); font-size: 13px; line-height: 18px; white-space: nowrap; }
.footer-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-socials { display: flex; align-items: center; gap: 18px; }
.footer-socials a { color: #7789a0; font-size: 20px; line-height: 28px; }

@media (min-width: 1100px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr) 410px; gap: 65px; padding-top: 48px; padding-bottom: 40px; }
    .hero-description { font-size: 22px; }
    .hero-benefits { justify-content: flex-start; gap: 36px; margin-top: 65px; }
    .auth-card { padding: 28px 32px; }
    .format-card { min-height: 244px; padding: 20px 24px; }
    .format-card h3 { font-size: 17px; }
    .format-card p { font-size: 15px; line-height: 22px; }
    .formats-section, .steps-section { margin-top: 48px; }
    .closing-banner { margin-top: 45px; }
}

@media (max-width: 960px) and (min-width: 741px) {
    .landing-container { width: calc(100% - 64px); }
    .header-inner { gap: 20px; }
    .landing-nav { gap: 18px; margin-left: auto; }
    .landing-nav a { font-size: 14px; }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .hero-copy { padding-left: 0; }
    .hero-copy h1 { font-size: 52px; }
    .hero-description { font-size: 18px; }
    .hero-description .desktop-break { display: none; }
    .hero-benefits { flex-wrap: wrap; justify-content: flex-start; gap: 15px 24px; margin-top: 45px; }
    .auth-card { padding-inline: 24px; }
    .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .format-card { min-height: 224px; padding: 20px; }
    .steps-list { gap: 24px; }
    .step { gap: 12px; }
    .step h3 { white-space: normal; }
    .step-arrow { right: -20px; width: 18px; }
    .closing-copy h2 { font-size: 27px; }
    .closing-copy p { font-size: 16px; }
    .closing-button { min-width: 210px; margin-right: 0; }
    .landing-footer { gap: 24px; padding-inline: 8px; }
    .footer-nav { gap: 18px; }
}

@media (max-width: 740px) {
    .landing-container, .landing-wide { width: calc(100% - 40px); }
    .header-inner { min-height: 70px; flex-wrap: wrap; gap: 0 16px; }
    .landing-page .brand { font-size: 25px; gap: 10px; }
    .brand-symbol { font-size: 35px; }
    .header-actions { margin-left: auto; gap: 12px; }
    .header-login { min-width: 76px; min-height: 36px; padding: 6px 15px; }
    .nav-toggle { display: inline-flex; }
    .landing-nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0; padding: 4px 0 14px; border-top: 1px solid #edf2f7; }
    .landing-nav a { padding: 10px 14px; font-size: 14px; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 31px; padding-bottom: 30px; }
    .hero-copy { padding: 0; text-align: center; }
    .hero-eyebrow { font-size: 11px; letter-spacing: .85px; }
    .hero-copy h1 { margin-top: 14px; font-size: clamp(44px, 9.5vw, 60px); letter-spacing: -1.5px; line-height: 1.05; }
    .hero-description { max-width: 450px; margin: 18px auto 0 !important; font-size: 17px; line-height: 25px; letter-spacing: -.2px; }
    .hero-description .desktop-break { display: none; }
    .hero-button { min-width: 244px; min-height: 49px; margin-top: 22px; font-size: 16px; }
    .hero-benefits { justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 27px; }
    .hero-benefits li { gap: 6px; font-size: 12px; }
    .hero-benefits .landing-icon { width: 24px; height: 24px; }
    .hero-decoration span:nth-child(1) { left: -470px; top: 220px; }
    .hero-decoration span:nth-child(2) { left: -400px; top: 320px; }
    .hero-decoration span:nth-child(3) { left: 40px; top: 330px; }
    .auth-card { width: 100%; max-width: 420px; margin-inline: auto; padding: 24px; }
    .auth-card h2 { font-size: 26px; line-height: 34px; }
    .auth-subtitle { font-size: 15px; }
    .auth-switch { margin-top: 18px; }
    .landing-input { height: 44px; font-size: 16px !important; }
    .password-toggle { height: 44px; width: 40px; }
    .auth-options { font-size: 12px; }
    .auth-submit { min-height: 46px; }
    .trust-banner { gap: 14px; padding: 17px 16px; }
    .trust-icon { width: 45px; height: 45px; }
    .trust-icon .landing-icon { width: 29px; height: 29px; }
    .trust-banner h2 { font-size: 14px; line-height: 20px; }
    .trust-banner p { font-size: 12px; line-height: 19px; margin-top: 4px; }
    .formats-section, .steps-section { margin-top: 36px; }
    .section-heading h2 { font-size: 28px; line-height: 35px; letter-spacing: -.65px; }
    .section-heading p { font-size: 14px; line-height: 22px; margin-top: 10px; }
    .desktop-break { display: none; }
    .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 23px; }
    .format-card { min-height: 240px; padding: 17px 16px; }
    .format-card h3 { font-size: 15px; line-height: 21px; }
    .format-card p { font-size: 13px; line-height: 20px; }
    .text-link { gap: 7px; font-size: 13px; }
    .text-link .landing-icon { width: 17px; height: 17px; }
    .icon-bubble { width: 52px; height: 52px; }
    .icon-bubble .landing-icon { width: 28px; height: 28px; }
    .steps-list { grid-template-columns: 1fr; gap: 26px; max-width: 420px; margin: 26px auto 0; }
    .step { gap: 18px; }
    .step h3 { margin-top: 1px; white-space: normal; }
    .step p { margin-top: 5px; }
    .step-arrow { display: none; }
    .step:not(:last-child)::after { content: ''; position: absolute; width: 1px; top: 53px; bottom: -18px; left: 22px; background: #d9eaf8; }
    .closing-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 25px; margin-top: 36px; }
    .closing-copy h2 { font-size: 27px; line-height: 34px; letter-spacing: -.6px; }
    .closing-copy p { margin-top: 9px; font-size: 15px; line-height: 23px; }
    .closing-button { min-width: 225px; min-height: 48px; margin-right: 0; font-size: 15px; }
    .landing-footer { flex-wrap: wrap; justify-content: space-between; gap: 20px 12px; padding: 20px 0 24px; }
    .footer-brand { width: 100%; justify-content: center; }
    .landing-page .brand-small { font-size: 20px; }
    .brand-small .brand-symbol { font-size: 27px; }
    .footer-nav { gap: 18px; margin-left: 0; }
    .footer-socials { gap: 16px; }
}

@media (max-width: 390px) {
    .landing-container, .landing-wide { width: calc(100% - 32px); }
    .header-actions { gap: 8px; }
    .hero-copy h1 { font-size: 43px; }
    .hero-benefits { gap: 12px; }
    .hero-benefits li { font-size: 11px; gap: 4px; }
    .hero-benefits .landing-icon { width: 22px; height: 22px; }
    .auth-card { padding: 22px 19px; }
    .format-grid { grid-template-columns: 1fr; }
    .format-card { min-height: 210px; padding: 21px; }
    .format-card h3 { font-size: 16px; }
    .format-card p { font-size: 14px; }
    .text-link { font-size: 14px; }
    .footer-nav { gap: 13px; }
    .footer-socials { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *, .landing-page *::before, .landing-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
