@font-face {
    font-family: "Lato";
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Lato";
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

body.welcome-page {
    margin: 0;
    min-height: 100vh;
    padding: 32px 40px 64px;
    color: #0c1f55;
    font-family: "Lato", system-ui, sans-serif;
    background: linear-gradient(180deg, #d2eafd 0%, #e2f1fe 55%, #d9edfe 100%);
}

.welcome-header {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.welcome-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0b4fd0;
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.welcome-brand img { display: block; object-fit: contain; }

.welcome-sign-in {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #0b4fd0;
    font-size: 17px;
    font-weight: 700;
    text-underline-offset: 5px;
}

.welcome-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    min-height: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: #fbfcfd;
    box-shadow: 0 18px 40px rgb(46 116 196 / 14%), 0 2px 8px rgb(46 116 196 / 6%);
}

.welcome-content {
    align-self: center;
    min-width: 0;
    padding: 64px 56px;
}

.welcome-content h1 {
    max-width: 460px;
    margin: 0;
    font-size: clamp(44px, 4.5vw, 64px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.welcome-content p {
    max-width: 400px;
    margin: 24px 0 32px;
    color: #5e6d8e;
    font-size: 21px;
    line-height: 1.6;
}

.welcome-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 32px;
    border-radius: 10px;
    background: #0b4fd0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.welcome-start:hover { background: #093fa6; }
.welcome-sign-in:hover { color: #093fa6; }
.welcome-page a:focus-visible { outline: 3px solid #0b4fd0; outline-offset: 5px; }

.welcome-art { min-width: 0; background: #36a9f5; }
.welcome-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }

[dir="rtl"] .welcome-content h1 { letter-spacing: normal; }

@media (max-width: 760px) {
    body.welcome-page { padding: 20px 16px 32px; }
    .welcome-header { margin-bottom: 24px; gap: 16px; }
    .welcome-brand { gap: 8px; font-size: 20px; }
    .welcome-brand img { width: 44px; height: auto; }
    .welcome-sign-in { font-size: 16px; white-space: nowrap; }
    .welcome-card { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
    .welcome-content { padding: 40px 28px; }
    .welcome-content h1 { font-size: clamp(38px, 9vw, 52px); letter-spacing: -1px; }
    .welcome-content p { margin: 20px 0 28px; font-size: 18px; }
    .welcome-start { font-size: 18px; }
    .welcome-art img { height: auto; }
}
