:root {
    --xps-navy: #062b3b;
    --xps-blue: #0d7194;
    --xps-blue-bright: #15a7d5;
    --xps-yellow: #f7ad18;
    --xps-green: #08ad70;
    --xps-page: #f4f9fc;
    --xps-line: rgba(7, 64, 86, .11);
    --xps-muted: rgba(6, 43, 59, .64);
}

html {
    scroll-behavior: smooth;
}

body.xp-public-page {
    margin: 0;
    background: var(--xps-page);
    color: var(--xps-navy);
}

.xps-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--xps-line);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.xps-header .navbar {
    min-height: 76px;
}

.xps-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xps-brand,
.xps-footer-brand {
    color: var(--xps-navy);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -.045em;
}

.xps-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.xps-brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--xps-blue);
    color: #fff;
}

.xps-home-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--xps-navy);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 850;
}

.xps-main {
    overflow: hidden;
}

.xps-hero {
    padding: clamp(4.5rem, 8vw, 8rem) 0 3rem;
    background:
        radial-gradient(
            circle at 75% 18%,
            rgba(21, 167, 213, .16),
            transparent 28%
        ),
        linear-gradient(180deg, #ffffff, #f4f9fc);
}

.xps-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 3.2rem;
}

.xps-switcher a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem .9rem;
    border: 1px solid var(--xps-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--xps-muted);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 850;
}

.xps-switcher a.is-active {
    border-color: var(--xps-blue);
    background: var(--xps-blue);
    color: #ffffff;
}

.xps-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: end;
    gap: 4rem;
}

.xps-eyebrow {
    color: var(--xps-blue);
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .15em;
}

.xps-heading h1 {
    max-width: 800px;
    margin: .65rem 0 0;
    font-size: clamp(3.7rem, 7vw, 7.3rem);
    font-weight: 950;
    line-height: .89;
    letter-spacing: -.075em;
}

.xps-heading > p {
    margin: 0;
    color: var(--xps-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.xps-options {
    padding: 2.5rem 0 6rem;
}

.xps-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.xps-option-grid:has(.xps-option-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xps-option-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.7rem;
    border: 1px solid var(--xps-line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(7, 50, 68, .07);
    color: var(--xps-navy);
    text-align: left;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.xps-option-card:hover,
.xps-option-card:focus-visible,
.xps-option-card.is-selected {
    border-color: rgba(13, 113, 148, .35);
    box-shadow: 0 34px 85px rgba(7, 50, 68, .13);
    transform: translateY(-6px);
}

.xps-option-card.is-selected {
    outline: 3px solid rgba(21, 167, 213, .13);
}

.xps-option-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 3rem;
    border-radius: 19px;
    background: #eaf7fc;
    color: var(--xps-blue);
    font-size: 1.45rem;
}

.xps-option-meta {
    color: var(--xps-blue);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.xps-option-card strong {
    display: block;
    margin-top: .45rem;
    font-size: 2.15rem;
    line-height: 1;
    letter-spacing: -.05em;
}

.xps-option-copy {
    display: block;
    margin-top: .85rem;
    color: var(--xps-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.xps-option-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--xps-navy);
    font-size: .8rem;
    font-weight: 900;
}

.xps-option-action i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--xps-navy);
    color: #ffffff;
}

.xps-selection {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.25rem;
    padding: 1.3rem;
    border: 1px solid rgba(8, 173, 112, .18);
    border-radius: 22px;
    background: rgba(8, 173, 112, .06);
}

.xps-selection[hidden] {
    display: none;
}

.xps-selection-check {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--xps-green);
    color: #ffffff;
}

.xps-selection small {
    display: block;
    color: var(--xps-muted);
    font-size: .68rem;
    font-weight: 800;
}

.xps-selection strong {
    display: block;
    margin-top: .15rem;
    font-size: 1.15rem;
}

.xps-selection p {
    margin: .25rem 0 0;
    color: var(--xps-muted);
    font-size: .78rem;
}

.xps-continue {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    background: var(--xps-navy);
    color: #ffffff;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 850;
}

.xps-platform {
    padding: 0 0 6rem;
}

.xps-platform-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 34px;
    background: var(--xps-navy);
    color: #ffffff;
}

.xps-platform-card > div:first-child > span {
    color: var(--xps-yellow);
    font-size: .69rem;
    font-weight: 950;
    letter-spacing: .14em;
}

.xps-platform-card h2 {
    margin: .7rem 0 0;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.06em;
}

.xps-platform-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.xps-platform-points span {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    font-size: .78rem;
    font-weight: 800;
}

.xps-platform-points i {
    color: var(--xps-yellow);
}

.xps-footer {
    padding: 3rem 0 1.5rem;
    background: #041f2b;
    color: #ffffff;
}

.xps-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.xps-footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.xps-footer-brand {
    color: #ffffff;
}

.xps-footer-grid p {
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
    line-height: 1.6;
}

.xps-footer-grid nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.xps-footer-grid nav a {
    color: rgba(255, 255, 255, .70);
    text-decoration: none;
    font-size: .73rem;
    font-weight: 800;
}

.xps-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.3rem;
    color: rgba(255, 255, 255, .42);
    font-size: .67rem;
}

@media (max-width: 767.98px) {

    .xps-heading,
    .xps-platform-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .xps-option-grid,
    .xps-option-grid:has(.xps-option-card:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    .xps-option-card {
        min-height: 290px;
    }
}

@media (max-width: 575.98px) {

    .xps-header .navbar {
        min-height: 66px;
    }

    .xps-brand {
        font-size: 1.08rem;
    }

    .xps-brand-mark {
        width: 34px;
        height: 34px;
    }

    .xps-home-link {
        font-size: .66rem;
    }

    .xps-hero {
        padding-top: 3.2rem;
    }

    .xps-switcher {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: .35rem;
        margin-bottom: 2.4rem;
    }

    .xps-switcher a {
        justify-content: center;
        padding: .6rem .3rem;
        font-size: .62rem;
    }

    .xps-switcher a i {
        display: none;
    }

    .xps-heading h1 {
        font-size: clamp(3.2rem, 15vw, 4.4rem);
    }

    .xps-heading > p {
        font-size: .88rem;
    }

    .xps-options {
        padding-bottom: 4rem;
    }

    .xps-option-card {
        min-height: 270px;
        padding: 1.3rem;
        border-radius: 22px;
    }

    .xps-option-icon {
        margin-bottom: 2rem;
    }

    .xps-selection {
        grid-template-columns: auto 1fr;
    }

    .xps-continue {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .xps-platform {
        padding-bottom: 4rem;
    }

    .xps-platform-card {
        border-radius: 24px;
    }

    .xps-platform-points {
        grid-template-columns: 1fr 1fr;
    }

    /*
       MOBILE FOOTER:
       exactly two equal centered halves
    */

    .xps-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        text-align: center;
    }

    .xps-footer-grid > div {
        align-items: center;
        text-align: center;
    }

    .xps-footer-grid nav {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: .55rem;
    }

    .xps-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: .3rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   XPEEDIFY — ACCESSIBILITY SKIP LINK FIX
   Hidden normally; visible only during keyboard focus.
   ========================================================= */

.skip-link,
a[href="#main-content"].skip-link {
    position: fixed !important;
    top: -120px !important;
    left: 16px !important;

    width: auto !important;
    height: auto !important;

    padding: .7rem 1rem !important;

    overflow: hidden !important;

    border-radius: 10px;

    background: #06364d;
    color: #fff !important;

    font-weight: 700;
    text-decoration: none;

    z-index: 20000;

    opacity: 0;
    pointer-events: none;

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

.skip-link:focus,
a[href="#main-content"].skip-link:focus {
    top: 14px !important;

    opacity: 1;
    pointer-events: auto;

    outline: 3px solid rgba(30, 169, 219, .35);
    outline-offset: 3px;
}

/* XPEEDIFY_SKIP_LINK_FIX_END */

/* =========================================================
   XPEEDIFY — REAL SKIP LINK FIX
   Correct class: .xp-skip-link
   ========================================================= */

.xp-skip-link:not(:focus) {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}

/* Only keyboard users should ever see it */
.xp-skip-link:focus {
    position: fixed !important;

    top: 12px !important;
    left: 12px !important;

    width: auto !important;
    height: auto !important;

    padding: .7rem 1rem !important;
    margin: 0 !important;

    overflow: visible !important;

    clip: auto !important;
    clip-path: none !important;

    border-radius: 10px;

    background: #073b53 !important;
    color: #ffffff !important;

    font-weight: 800;

    z-index: 99999;
}

/* XPEEDIFY_REAL_SKIP_LINK_FIX_END */

/* =========================================================
   XPEEDIFY — APPROVED SKY-BLUE LOGO
   ========================================================= */

.xps-brand-approved {
    display: inline-flex !important;
    align-items: center;

    width: 232px;
    height: 54px;

    overflow: hidden;
    flex: 0 0 auto;
}

.xps-approved-logo {
    display: block;

    width: 232px;
    height: 54px;

    background-image:
        url("/assets/brand/xpeedify-logo.png");

    background-size: 330px auto;
    background-repeat: no-repeat;
    background-position: center 52%;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 180px;
        height: 46px;
    }

    .xps-approved-logo {
        width: 180px;
        height: 46px;

        background-size: 265px auto;
        background-position: center 52%;
    }
}

/* XPEEDIFY_APPROVED_SKYBLUE_LOGO_END */

/* =========================================================
   XPEEDIFY — DETAIL NAV LOGO PROPORTION V2
   ========================================================= */

.xps-brand-approved {
    width: 198px !important;
    height: 46px !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.xps-approved-logo {
    width: 198px !important;
    height: 46px !important;

    display: block;

    background-image:
        url("/assets/brand/xpeedify-logo.png");

    background-repeat: no-repeat;
    background-size: 286px auto !important;
    background-position: center 52% !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 164px !important;
        height: 40px !important;
    }

    .xps-approved-logo {
        width: 164px !important;
        height: 40px !important;

        background-size: 240px auto !important;
    }
}

/* XPEEDIFY_DETAIL_NAV_LOGO_PROPORTION_V2_END */

/* =========================================================
   XPEEDIFY — DETAIL PAGE FULL WORDMARK FIX
   ========================================================= */

.xps-brand-approved {
    width: 202px !important;
    height: 46px !important;
}

.xps-approved-logo {
    width: 202px !important;
    height: 46px !important;

    background-size: 238px auto !important;
    background-position: center center !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 170px !important;
        height: 40px !important;
    }

    .xps-approved-logo {
        width: 170px !important;
        height: 40px !important;

        background-size: 198px auto !important;
        background-position: center center !important;
    }
}

/* XPEEDIFY_DETAIL_FULL_WORDMARK_FIX_END */

.xps-brand-approved,
.xps-approved-logo {
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   XPEEDIFY — DETAIL NAV FINAL LOGO NO-CROP
   ========================================================= */

.xps-brand-approved {
    width: 216px !important;
    height: 48px !important;

    overflow: visible !important;
}

.xps-approved-logo {
    display: block !important;

    width: 216px !important;
    height: 48px !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 176px !important;
        height: 40px !important;
    }

    .xps-approved-logo {
        width: 176px !important;
        height: 40px !important;

        background-size: contain !important;
    }
}

/* XPEEDIFY_DETAIL_FINAL_LOGO_NO_CROP_END */

/* =========================================================
   XPEEDIFY — SERVICE PAGE LOGO ENLARGE
   ========================================================= */

.xps-brand-approved {
    width: 250px !important;
    height: 60px !important;

    overflow: hidden !important;
}

.xps-approved-logo {
    width: 250px !important;
    height: 60px !important;

    display: block !important;

    background-image:
        url("/assets/brand/xpeedify-logo.png") !important;

    background-size: 250px auto !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;

    background-color: transparent !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 216px !important;
        height: 54px !important;
    }

    .xps-approved-logo {
        width: 216px !important;
        height: 54px !important;

        background-size: 216px auto !important;
    }
}

/* XPEEDIFY_SERVICE_LOGO_ENLARGE_END */

/* =========================================================
   XPEEDIFY — DETAIL LOGO SIZE FINE TUNE
   ========================================================= */

.xps-brand-approved {
    width: 232px !important;
    height: 56px !important;
}

.xps-approved-logo {
    width: 232px !important;
    height: 56px !important;
    background-size: 232px auto !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 200px !important;
        height: 50px !important;
    }

    .xps-approved-logo {
        width: 200px !important;
        height: 50px !important;
        background-size: 200px auto !important;
    }
}

/* XPEEDIFY_DETAIL_LOGO_SIZE_FINE_TUNE_END */

/* =========================================================
   XPEEDIFY — DETAIL LOGO FINAL FINE TUNE
   ========================================================= */

.xps-brand-approved {
    width: 224px !important;
    height: 54px !important;
}

.xps-approved-logo {
    width: 224px !important;
    height: 54px !important;
    background-size: 224px auto !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 192px !important;
        height: 48px !important;
    }

    .xps-approved-logo {
        width: 192px !important;
        height: 48px !important;
        background-size: 192px auto !important;
    }
}

/* XPEEDIFY_DETAIL_LOGO_FINAL_FINE_TUNE_END */

/* =========================================================
   XPEEDIFY — DETAIL NAV LOGO FINE TUNE V3
   ========================================================= */

.xps-brand-approved {
    width: 214px !important;
    height: 52px !important;
}

.xps-approved-logo {
    width: 214px !important;
    height: 52px !important;

    background-size: 214px auto !important;
    background-position: center center !important;
}

@media (max-width: 575.98px) {

    .xps-brand-approved {
        width: 184px !important;
        height: 46px !important;
    }

    .xps-approved-logo {
        width: 184px !important;
        height: 46px !important;

        background-size: 184px auto !important;
    }
}

/* XPEEDIFY_DETAIL_NAV_FINE_TUNE_V3_END */
