@font-face {
    font-family: 'Visby';
    src: url("../fonts/VisbyMedium.otf") format('opentype');
    font-weight: 400 600;
    font-display: swap;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: #000;
    font-family: 'Visby', sans-serif;
}

.welcome {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    position: relative;
    isolation: isolate;
}

.welcome::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgb(255 255 255 / 75%), rgb(255 255 255 / 75%)),
        url("../images/welcome/background.png") top center / cover no-repeat;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px 24px 20px;
}

.logo { display: block; width: 205px; max-width: 65%; height: auto; }
h1 { margin: 20px 0 0; font-size: 24px; font-weight: 600; line-height: 1.2; }
.subtitle { margin: 16px 0 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.buttons { display: flex; justify-content: center; gap: 20px; margin-top: 28px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 54px;
    border-radius: 13px;
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
}
.button-more { background: #604e05; color: #fff; }
.button-login { background: #ffce00; color: #604e05; min-width: 189px; }
.button:hover { filter: brightness(.94); }
a:focus-visible { outline: 3px solid #112e31; outline-offset: 5px; }

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 20px 12px;
}
.footer-logo { width: 96px; height: auto; }
.contact { display: flex; flex-direction: column; font-style: normal; font-size: 16px; line-height: 1.5; }
.contact a { color: #112e31; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .content { padding: 48px 20px 32px; }
    .logo { width: 190px; }
    h1 { font-size: 20px; max-width: 520px; }
    .subtitle { font-size: 14px; max-width: 460px; }
    .buttons { flex-direction: column-reverse; width: min(100%, 300px); gap: 14px; }
    .button { width: 100%; }
    .footer { gap: 12px; padding: 20px 16px 16px; }
    .footer-logo { width: 90px; }
    .contact { font-size: 14px; }
}
@media (max-width: 359px) {
    .footer { flex-direction: column; }
    .contact { text-align: center; }
}
