@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-ExLt.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-Lt.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-Rg.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-Md.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-SmBd.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-Bd.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Just Sans";
    src: url("fonts/JUSTSans-ExBd.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --faj-blue: #293F91;
    --faj-blue-soft: #6376B7;
    --faj-blue-line: rgba(99, 118, 183, 0.28);
    --faj-blue-line-strong: rgba(255, 255, 255, 0.4);
    --faj-white: #ffffff;
    --faj-muted: #B8C2E0;
    --radius: 10px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Just Sans", system-ui, sans-serif;
    font-weight: 400;
    color: var(--faj-white);
    background: var(--faj-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.005em;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 56px 24px;
}

.page {
    width: 100%;
    max-width: 480px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 8px;
}

.brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding-top: 12px;
}

.brand-footer {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.brand-footer__logo {
    display: block;
    width: 70%;
    height: auto;
    opacity: 0.9;
}

.brand__support {
    margin: 0;
    width: 100%;
    font-size: 44px;
    font-weight: 700;
    color: var(--faj-white);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: transparent;
    border: 1px solid var(--faj-blue-line-strong);
    border-radius: var(--radius);
    color: var(--faj-white);
    text-decoration: none;
    min-height: 68px;
    transition:
        background 0.35s var(--ease),
        color 0.35s var(--ease),
        border-color 0.35s var(--ease);
}

.link-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--faj-blue-line-strong);
    border-radius: 8px;
    color: currentColor;
    transition:
        border-color 0.35s var(--ease),
        color 0.35s var(--ease),
        background 0.35s var(--ease);
}

.link-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.link-card__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--faj-muted);
    transition: color 0.35s var(--ease);
}

.link-card__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: currentColor;
}

.link-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition: transform 0.35s var(--ease);
}

.link-card:hover,
.link-card:focus-visible {
    background: var(--faj-white);
    border-color: var(--faj-white);
    color: var(--faj-blue);
    outline: none;
}

.link-card:hover .link-card__label,
.link-card:focus-visible .link-card__label {
    color: var(--faj-blue-soft);
}

.link-card:hover .link-card__icon,
.link-card:focus-visible .link-card__icon {
    border-color: rgba(41, 63, 145, 0.3);
}

.link-card:hover .link-card__arrow,
.link-card:focus-visible .link-card__arrow {
    transform: translateX(4px);
}

@media (max-width: 540px) {
    body {
        padding: 32px 20px;
    }

    .page {
        gap: 38px;
    }

    .brand {
        gap: 22px;
    }


    .brand__support {
        font-size: 34px;
    }

    .link-card {
        padding: 16px 18px;
        gap: 14px;
        min-height: 64px;
    }

    .link-card__title {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .link-card__icon {
        width: 32px;
        height: 32px;
    }
}
