:root {
    --site-bg: #091321;
    --site-bg-deep: #06101d;
    --site-surface: #142238;
    --site-text: #f7f9fc;
    --site-muted: #8294ac;
    --site-border: rgba(255,255,255,.09);
    --site-orange: #f26b38;
}


/* =========================================
   BASE
========================================= */

* {
    box-sizing: border-box;
}

.site-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(9,19,33,.94);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--site-border);
}

.site-header__inner {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* LOGO */

.site-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    color: #fff;
    text-decoration: none;
}

.site-brand__logo {
    display: block;

    width: 48px;
    height: 48px;

    object-fit: contain;
}

.site-brand__text {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.site-brand__title {
    color: #fff;

    font-size: 17px;
    line-height: 1.1;

    font-weight: 500;
}

.site-brand__tools {
    color: var(--site-orange);

    font-size: 10px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: .17em;
}


/* NAVIGATION */

.site-nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.site-nav a {
    position: relative;

    display: block;

    padding: 27px 0 25px;

    color: #dce5ef;

    font-size: 14px;
    line-height: 1;

    font-weight: 500;

    text-decoration: none;

    transition: color .18s ease;
}

.site-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 19px;

    height: 1px;

    background: var(--site-orange);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .18s ease;
}

.site-nav a:hover {
    color: #fff;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-nav__promo {
    color: #aebdd0 !important;
}


/* BURGER */

.site-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid var(--site-border);
    border-radius: 10px;

    background: transparent;

    cursor: pointer;
}

.site-menu-toggle span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 5px 0;

    background: #fff;

    transition:
        transform .18s ease,
        opacity .18s ease;
}

.site-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: 100%;

    margin-top: 80px;

    background: var(--site-bg-deep);

    border-top: 1px solid var(--site-border);
}

.site-footer__main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(180px, .55fr)
        minmax(270px, .75fr);

    gap: 70px;

    padding: 55px 0 47px;
}


/* BRAND */

.site-footer__eyebrow {
    margin-bottom: 12px;

    color: var(--site-muted);

    font-size: 10px;
    line-height: 1;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.promo-wordmark {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #fff;

    font-size: 25px;
    line-height: 1;

    text-decoration: none;
}

.promo-wordmark__promo {
    color: #fff;
}

.promo-wordmark__expert {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 12px;

    border-radius: 8px;

    background: var(--site-orange);

    color: #fff;
}

.site-footer__description {
    max-width: 455px;

    margin: 18px 0 0;

    color: var(--site-muted);

    font-size: 13px;
    line-height: 1.65;
}

.site-footer__country {
    margin-top: 10px;

    color: #61758e;

    font-size: 11px;
}


/* FOOTER NAV */

.site-footer__heading {
    margin-bottom: 17px;

    color: #fff;

    font-size: 14px;
    line-height: 1;

    font-weight: 600;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
}

.site-footer__links a {
    display: inline-flex;

    padding: 8px 0;

    color: #91a2b8;

    font-size: 13px;

    text-decoration: none;

    transition: color .18s ease;
}

.site-footer__links a:hover {
    color: var(--site-orange);
}


/* CONTACT */

.site-contact {
    display: flex;
    flex-direction: column;
}

.site-contact__link {
    display: grid;

    grid-template-columns: 25px 1fr auto;
    align-items: center;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid var(--site-border);

    color: #dce5ef;

    text-decoration: none;

    transition:
        color .18s ease,
        padding-left .18s ease;
}

.site-contact__link:first-of-type {
    border-top: 1px solid var(--site-border);
}

.site-contact__link:hover {
    padding-left: 4px;

    color: var(--site-orange);
}

.site-contact__icon {
    color: var(--site-orange);

    font-size: 15px;

    text-align: center;
}

.site-contact__content {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.site-contact__label {
    color: #657990;

    font-size: 9px;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.site-contact__value {
    color: inherit;

    font-size: 13px;
}

.site-contact__arrow {
    color: #61758e;

    font-size: 13px;
}


/* FOOTER BOTTOM */

.site-footer__bottom {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top: 1px solid var(--site-border);

    color: #5d7189;

    font-size: 10px;
}

.site-footer__bottom a {
    color: #7e91a8;

    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: var(--site-orange);
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 900px) {

    .site-footer__main {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 760px) {

    .site-shell {
        width: min(100% - 28px, 1180px);
    }


    .site-header__inner {
        min-height: 64px;
    }


    .site-brand__logo {
        width: 40px;
        height: 40px;
    }


    .site-brand__title {
        font-size: 15px;
    }


    .site-menu-toggle {
        display: block;
    }


    .site-nav {
        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 6px 20px 18px;

        background: #091321;

        border-bottom: 1px solid var(--site-border);
    }


    .site-nav.is-open {
        display: flex;
    }


    .site-nav a {
        padding: 15px 4px;

        border-bottom: 1px solid var(--site-border);

        font-size: 14px;
    }


    .site-nav a::after {
        display: none;
    }


    .site-footer {
        margin-top: 60px;
    }


    .site-footer__main {
        grid-template-columns: 1fr;

        gap: 38px;

        padding: 42px 0 34px;
    }


    .site-footer__brand {
        grid-column: auto;
    }


    .site-footer__bottom {
        min-height: 0;

        padding: 17px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }
}


@media (max-width: 430px) {

    .site-brand__tools {
        display: none;
    }


    .promo-wordmark {
        font-size: 22px;
    }


    .promo-wordmark__expert {
        min-height: 36px;
    }
}


/* =========================================
   TOOL PAGE LAYOUT
========================================= */

body.site-page {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 0;

    background:
        radial-gradient(
            circle at 50% -12%,
            rgba(52,112,220,.28),
            transparent 42%
        ),
        #091321;
}

.site-main {
    width: 100%;

    padding:
        54px
        18px
        0;
}

.site-main > .app {
    margin: 0 auto;
}


@media (max-width: 760px) {

    .site-main {
        padding:
            38px
            14px
            0;
    }

}


/* =========================================
   HEADER — UNIVERSAL BURGER
========================================= */

.site-menu-toggle {
    display: block;
}

.site-nav {
    position: absolute;

    top: 74px;
    right: max(20px, calc((100vw - 1180px) / 2));
    left: auto;

    width: min(320px, calc(100vw - 28px));

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 8px 18px 16px;

    background: #091321;

    border: 1px solid var(--site-border);
    border-radius: 14px;

    box-shadow:
        0 22px 60px rgba(0,0,0,.28);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    padding: 15px 4px;

    border-bottom: 1px solid var(--site-border);

    font-size: 14px;
}

.site-nav a:last-child {
    border-bottom: 0;
}

.site-nav a::after {
    display: none;
}


/* =========================================
   FOOTER — CENTERED COPYRIGHT
========================================= */

.site-footer__bottom {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;
}

.site-footer__copyright {
    color: #7e91a8;

    font-size: 11px;
}

.site-footer__copyright a {
    color: #dce5ef;

    text-decoration: none;
}

.site-footer__copyright a:hover {
    color: var(--site-orange);
}

.site-footer__marketing {
    max-width: 720px;

    color: #5f738b;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .site-nav {
        top: 64px;
        left: 14px;
        right: 14px;

        width: auto;

        border-radius: 0 0 14px 14px;
    }


    .site-footer__bottom {
        padding: 18px 0;
    }

}


/* =========================================
   FOOTER CONTACTS — FINAL
========================================= */

.site-contact__link {
    grid-template-columns: 26px 1fr auto;
    min-height: 56px;
}

.site-contact__icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--site-orange);
}

.site-contact__icon svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: currentColor;
}

.site-contact__value {
    font-size: 14px;
    line-height: 1.35;

    color: #f1f5fa;
}

.site-contact__link:hover .site-contact__value {
    color: var(--site-orange);
}


/* =========================================
   FOOTER COPYRIGHT — FINAL
========================================= */

.site-footer__bottom {
    min-height: 92px;

    padding: 20px 0;
}

.site-footer__bottom-inner {
    gap: 9px;
}

.site-footer__copyright {
    color: #a5b4c7;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 500;
}

.site-footer__copyright a {
    color: #ffffff;

    font-weight: 600;

    text-decoration: none;
}

.site-footer__copyright a:hover {
    color: var(--site-orange);
}

.site-footer__marketing {
    color: #73869e;

    font-size: 12px;
    line-height: 1.5;
}


@media (max-width: 760px) {

    .site-footer__copyright {
        font-size: 13px;
    }

    .site-footer__marketing {
        font-size: 11px;
    }

}


/* =========================================
   GLOBAL TYPOGRAPHY
========================================= */

body,
button,
input,
select,
textarea {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* =========================================
   IP INSIGHT — DETAIL ROWS
========================================= */

.site-page .details {
    margin-top: 25px;
}

.site-page .detail {
    gap: 13px;

    margin: 15px 0;

    font-size: 16px;
    line-height: 1.45;
}

.site-page .detail-icon {
    width: 25px;
    flex: 0 0 25px;

    font-size: 16px;
}

.site-page .detail-value {
    font-size: 16px;
    line-height: 1.45;
}


@media (max-width: 500px) {

    .site-page .detail {
        font-size: 15.5px;
    }

    .site-page .detail-value {
        font-size: 15.5px;
    }

}


/* =========================================
   HEADER — SCROLL BEHAVIOUR
========================================= */

.site-header {
    transition:
        transform .24s ease,
        box-shadow .24s ease;

    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(-105%);
}

.site-header.is-visible {
    transform: translateY(0);
}


/* =========================================
   HEADER — FIXED SCROLL BEHAVIOUR
========================================= */

#site-header {
    height: 74px;
}

.site-header {
    position: fixed !important;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 1000;

    transform: translateY(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(-105%);
}

.site-header.is-visible {
    transform: translateY(0);
}


@media (max-width: 760px) {

    #site-header {
        height: 64px;
    }

}


/* =========================================
   HEADER — FIXED AUTO HIDE
========================================= */

#site-header {
    height: 74px;
}

.site-header {
    position: fixed !important;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 1000;

    transform: translateY(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(-110%);
}

.site-header.is-visible {
    transform: translateY(0);
}


@media (max-width: 760px) {

    #site-header {
        height: 64px;
    }

}
