/* ==================================================
   FONT
================================================== */

@font-face {
    font-family: "Outfit";
    src: url("../fonts/Outfit-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit";
    src: url("../fonts/Outfit-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* ==================================================
   ROOT
================================================== */

:root {
    --white: #ffffff;
    --background: #ffffff;

    --text: #10263e;
    --muted: #718096;

    --primary: #ef4e5e;
    --primary-hover: #df4050;

    --secondary: #0a5874;
    --secondary-dark: #073f55;

    --border: #dfe6ef;
    --border-soft: #edf1f5;

    --success: #1d8a4b;
    --success-bg: #edf8f1;

    --radius: 10px;

    --container: 1240px;
}


/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--background);
    color: var(--text);

    font-family: "Outfit", sans-serif;
    font-size: 14px;
    line-height: 1.6;

    font-weight: 400;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    font-weight: 400;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-weight: 500;
}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1 {
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 17px;
    line-height: 1.35;
}

p {
    margin-bottom: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ==================================================
   CONTAINER
================================================== */

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin-right: auto;
    margin-left: auto;
}


/* ==================================================
   ACCESSIBILITY
================================================== */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border-soft);
}

.site-header--overlay {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    background: transparent;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 74px;
}


/* ==================================================
   LOGO
================================================== */

.site-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}

.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background: var(--primary);
    color: #fff;

    font-size: 14px;
    font-weight: 500;
}

.site-logo__text {
    color: var(--text);

    font-size: 21px;
    line-height: 1;

    font-weight: 500;
}

.site-header--overlay .site-logo__text {
    color: #fff;
}


/* ==================================================
   NAVIGATION
================================================== */

.site-nav {
    display: flex;
    align-items: center;

    gap: 25px;
}

.site-nav > a {
    position: relative;

    color: #253b51;

    font-size: 14px;
    line-height: 1;

    font-weight: 500;
}

.site-header--overlay .site-nav > a {
    color: #fff;
}

.site-nav > a:not(.site-nav__cta)::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -9px;

    height: 2px;

    background: var(--primary);

    transition: right 0.2s ease;
}

.site-nav > a:not(.site-nav__cta):hover::after {
    right: 0;
}

.site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 17px;

    border-radius: 7px;

    background: var(--primary);
    color: #fff !important;
}

.site-nav__cta:hover {
    background: var(--primary-hover);
}


/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.site-menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 4px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: var(--text);
}

.site-header--overlay .site-menu-toggle {
    color: #fff;
}

.site-menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 10px;

    background: currentColor;
}


/* ==================================================
   MAIN
================================================== */

main {
    display: block;
}


/* ==================================================
   GENERIC BUTTONS
================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 16px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 500;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--primary-hover);
}

.btn--outline {
    border-color: var(--primary);

    background: #fff;
    color: var(--primary);
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    padding: 54px 0 24px;

    background: #08233a;
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.6fr)
        repeat(2, minmax(160px, 1fr));

    gap: 40px;
}

.site-footer__logo {
    display: inline-block;

    margin-bottom: 12px;

    color: #fff;

    font-size: 20px;
    font-weight: 500;
}

.site-footer p {
    max-width: 520px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
}

.site-footer h3 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 14px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__bottom {
    margin-top: 34px;
    padding-top: 18px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.site-footer__bottom p {
    margin: 0;

    font-size: 12px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 980px) {

    .site-menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;

        top: calc(100% + 8px);
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px;

        border: 1px solid var(--border);
        border-radius: 10px;

        background: #fff;

        box-shadow:
            0 14px 38px
            rgba(20, 36, 58, 0.10);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a {
        padding: 12px 10px;

        color: var(--text) !important;
    }

    .site-nav > a::after {
        display: none;
    }

    .site-nav__cta {
        margin-top: 5px;
    }

    .site-header--overlay .site-nav {
        background: #0b2035;

        border-color:
            rgba(255, 255, 255, 0.10);
    }

    .site-header--overlay .site-nav > a {
        color: #fff !important;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__about {
        grid-column: 1 / -1;
    }

}


@media (max-width: 640px) {

    .container {
        width: calc(100% - 28px);
    }

    .site-header__inner {
        min-height: 66px;
    }

    .site-logo__text {
        font-size: 19px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__about {
        grid-column: auto;
    }

}

/* ==================================================
   STATUS PAGE
================================================== */

.status-page {
    padding: 90px 0;
    background: #ffffff;
}

.status-page__content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.status-page__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 72px;
    height: 42px;

    margin-bottom: 18px;
    padding: 0 14px;

    border-radius: 9px;

    background: #fff1f3;
    color: #ef4e5e;

    font-size: 14px;
}

.status-page h1 {
    margin: 0;

    color: #102d43;

    font-size: 28px;
    line-height: 1.3;
}

.status-page p {
    max-width: 560px;
    margin: 14px auto 0;

    color: #6d7d89;

    font-size: 14px;
    line-height: 1.7;
}

.status-page__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}

.status-page__button,
.status-page__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 16px;

    border-radius: 9px;

    font-size: 13px;
    text-decoration: none;
}

.status-page__button {
    background: #ef4e5e;
    color: #ffffff;
}

.status-page__link {
    border: 1px solid #e0e6eb;

    background: #ffffff;
    color: #264659;
}

/* ==================================================
   HEADER LOGO
================================================== */

.site-header__brand {
    display: inline-flex;
    align-items: center;
}

.site-header__logo {
    display: block;

    width: 180px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .site-header__logo {
        width: 150px;
    }
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    padding: 42px 0 20px;

    background: #08131d;
    color: #ffffff;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;
}

.site-footer__brand-area {
    max-width: 420px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
}

.site-footer__logo {
    display: block;

    width: 220px;
    max-width: 100%;
    height: auto;
}

.site-footer__text {
    margin: 14px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.7;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
    text-decoration: none;
}

.site-footer__bottom {
    margin-top: 28px;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
}