:root {
    --purple: #6819df;
    --purple-dark: #4d13b0;
    --purple-light: #f3eafe;
    --purple-soft: #faf7ff;

    --ink: #14132d;
    --muted: #62647a;

    --border: #dfe0e8;
    --background: #fbfbfe;
    --white: #ffffff;

    --shadow:
        0 18px 50px rgba(45, 30, 86, .08);
}

* {
    box-sizing: border-box;
}

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

html {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);
    background: var(--background);
}

body {
    margin: 0;
}

button,
input {
    font: inherit;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================ */
/* PAGE */
/* ============================================================ */

.nx-selector-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns:
        minmax(400px, 34%)
        minmax(0, 66%);

    background: #fff;
}


/* ============================================================ */
/* LEFT */
/* ============================================================ */

.nx-intro-panel {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(255,255,255,.95),
            rgba(247,237,255,.74) 42%,
            rgba(229,205,255,.76) 100%
        );
}

.nx-intro-panel::after {
    content: "";

    position: absolute;

    top: -7%;
    right: -48px;

    width: 78px;
    height: 114%;

    background:
        linear-gradient(
            180deg,
            rgba(198,154,255,.62),
            rgba(164,98,246,.22)
        );

    border-radius: 50%;

    transform: rotate(5deg);
}

.nx-intro-glow {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 30% 48%,
            rgba(255,255,255,.55),
            transparent 42%
        );

    pointer-events: none;
}

.nx-intro-content {
    position: relative;
    z-index: 2;

    width: min(430px, calc(100% - 68px));

    margin: 0 auto;

    padding: 34px 0 32px;
}

.nx-wordmark {
    color: #6522ce;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: 51px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
}

.nx-tagline {
    margin-top: 9px;

    color: #6420cb;

    font-size: 11px;
    font-weight: 800;
}

.nx-intro-copy {
    margin-top: 45px;
}

.nx-intro-copy h1 {
    margin: 0;

    font-size: clamp(37px, 4vw, 53px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.nx-intro-copy h1 span {
    color: var(--purple);
}

.nx-intro-copy p {
    max-width: 390px;

    margin: 24px 0 0;

    color: #55566a;

    font-size: 15px;
    line-height: 1.7;
}

.nx-intro-line {
    width: 64px;
    height: 3px;

    margin-top: 18px;

    background: var(--purple);
}

.nx-intro-steps {
    margin-top: 34px;

    display: grid;
    gap: 30px;
}

.nx-intro-step {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr);

    gap: 17px;

    align-items: start;
}

.nx-step-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    color: var(--purple);

    background: rgba(255,255,255,.78);

    border: 1px solid rgba(113,41,220,.19);
    border-radius: 50%;

    box-shadow:
        0 8px 20px
        rgba(72,28,139,.08);
}

.nx-step-icon svg {
    width: 28px;
    height: 28px;
}

.nx-intro-step strong {
    display: block;

    margin-top: 3px;

    font-size: 14px;
}

.nx-intro-step p {
    margin: 6px 0 0;

    color: #595b70;

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


/* ============================================================ */
/* DEVICE ILLUSTRATION */
/* ============================================================ */

.nx-device-art {
    position: relative;

    width: 330px;
    height: 260px;

    margin:
        22px
        auto
        0;
}

.nx-art-laptop {
    position: absolute;

    left: 37px;
    bottom: 12px;

    width: 218px;
    height: 161px;

    padding: 7px;

    background: #27224a;

    border-radius: 8px 8px 3px 3px;

    box-shadow:
        0 14px 30px
        rgba(63, 35, 112, .18);
}

.nx-art-laptop::after {
    content: "";

    position: absolute;

    left: -31px;
    right: -31px;
    bottom: -11px;

    height: 12px;

    background:
        linear-gradient(
            180deg,
            #dbdce4,
            #aaaabd
        );

    border-radius: 2px 2px 12px 12px;
}

.nx-art-screen {
    height: 100%;

    padding: 13px;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #5c16c7,
            #7822e5
        );

    border-radius: 3px;
}

.nx-art-logo {
    font-family:
        "Segoe Script",
        cursive;

    font-size: 19px;
    font-weight: 800;
}

.nx-art-row {
    margin-top: 12px;

    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;
}

.nx-art-row span {
    height: 39px;

    display: block;

    background: #fff;

    border-radius: 6px;
}

.nx-art-row span::before {
    content: "";

    width: 20px;
    height: 3px;

    display: block;

    margin: 8px;

    background: var(--purple);
}

.nx-art-large {
    height: 45px;

    margin-top: 8px;
    padding: 8px;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 6px;

    background: #fff;

    border-radius: 6px;
}

.nx-art-large i {
    display: block;

    background:
        linear-gradient(
            180deg,
            #7c27df,
            #5820bb
        );

    border-radius: 2px;
}

.nx-floating-icon {
    position: absolute;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    color: var(--purple);

    background: rgba(255,255,255,.94);

    border-radius: 10px;

    box-shadow:
        0 12px 30px
        rgba(75,31,139,.12);
}

.nx-floating-icon svg {
    width: 27px;
    height: 27px;
}

.nx-floating-cloud {
    right: 11px;
    top: 4px;
}

.nx-floating-shield {
    right: -5px;
    bottom: 35px;
}

.nx-floating-chart {
    right: 92px;
    bottom: -19px;
}


/* ============================================================ */
/* RIGHT */
/* ============================================================ */

.nx-service-area {
    min-width: 0;

    padding:
        38px
        56px
        18px;

    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(124,37,224,.025),
            transparent 24%
        ),
        #fff;
}

.nx-service-card {
    width: min(850px, 100%);

    margin: 0 auto;

    padding: 28px 30px 24px;

    background: #fff;

    border: 1px solid #ecebf1;
    border-radius: 17px;

    box-shadow: var(--shadow);
}

.nx-service-heading {
    display: grid;

    grid-template-columns:
        70px
        minmax(0,1fr);

    gap: 21px;

    align-items: center;
}

.nx-grid-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    color: var(--purple);

    background:
        linear-gradient(
            145deg,
            #fbf9ff,
            #f0e7ff
        );

    border: 1px solid #e0cdfc;
    border-radius: 50%;
}

.nx-grid-icon svg {
    width: 32px;
    height: 32px;
}

.nx-service-heading h2 {
    margin: 0;

    font-size: clamp(28px, 3vw, 39px);
    line-height: 1;
    letter-spacing: -1.4px;
}

.nx-service-heading p {
    margin: 11px 0 0;

    color: #67697c;

    font-size: 13.5px;
}

.nx-search-wrap {
    position: relative;

    width: min(360px, 100%);

    margin-top: 28px;
}

.nx-search-wrap > svg {
    position: absolute;

    top: 50%;
    left: 17px;

    width: 19px;
    height: 19px;

    color: #797c8b;

    transform: translateY(-50%);
}

.nx-search-wrap input {
    width: 100%;
    height: 49px;

    padding:
        0
        16px
        0
        49px;

    color: var(--ink);
    background: #fff;

    border: 1px solid #d9dae3;
    border-radius: 10px;

    outline: none;

    font-size: 13px;
}

.nx-search-wrap input:focus {
    border-color: #a174eb;

    box-shadow:
        0 0 0 3px
        rgba(105,25,223,.07);
}


/* ============================================================ */
/* SERVICE GRID */
/* ============================================================ */

.nx-service-grid {
    margin-top: 20px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 10px 27px;
}

.nx-service-button {
    width: 100%;
    min-height: 52px;

    padding:
        0
        14px
        0
        16px;

    display: grid;

    grid-template-columns:
        28px
        minmax(0,1fr)
        18px;

    align-items: center;

    gap: 12px;

    color: var(--ink);
    background: #fff;

    border: 1px solid #dddfe7;
    border-radius: 9px;

    text-align: left;

    cursor: pointer;

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.nx-service-button:hover {
    color: var(--purple-dark);

    background: #fcfaff;

    border-color: #bd9bed;

    box-shadow:
        0 8px 22px
        rgba(74,32,133,.07);

    transform: translateY(-1px);
}

.nx-service-icon {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    color: var(--purple);
}

.nx-service-icon svg {
    width: 23px;
    height: 23px;
}

.nx-service-name {
    overflow: hidden;

    font-size: 12.5px;
    font-weight: 780;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.nx-service-arrow {
    color: #4d5060;
}

.nx-service-arrow svg {
    width: 16px;
    height: 16px;
}

.nx-service-empty {
    padding: 45px 20px;

    color: #77798c;

    text-align: center;

    font-size: 13px;
}


/* ============================================================ */
/* TRUST */
/* ============================================================ */

.nx-trust-strip {
    margin-top: 19px;
    padding: 17px 20px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 0;

    background:
        linear-gradient(
            90deg,
            #faf6ff,
            #f4edff
        );

    border-radius: 11px;
}

.nx-trust-strip article {
    min-width: 0;

    padding: 0 20px;

    display: grid;

    grid-template-columns:
        30px
        minmax(0,1fr);

    gap: 12px;
}

.nx-trust-strip article:first-child {
    padding-left: 0;
}

.nx-trust-strip article:last-child {
    padding-right: 0;
}

.nx-trust-strip article + article {
    border-left: 1px solid #ded5ed;
}

.nx-trust-strip article > span {
    color: var(--purple);
}

.nx-trust-strip article > span svg {
    width: 26px;
    height: 26px;
}

.nx-trust-strip strong {
    display: block;

    color: var(--purple-dark);

    font-size: 12px;
}

.nx-trust-strip small {
    display: block;

    margin-top: 5px;

    color: #5d5f71;

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

.nx-service-footer {
    margin-top: 17px;

    color: #666879;

    text-align: center;

    font-size: 12px;
}

.nx-service-footer strong {
    color: var(--purple);
}


/* ============================================================ */
/* TOAST */
/* ============================================================ */

.nx-selector-toast {
    position: fixed;

    z-index: 999999;

    top: 12px;
    right: 12px;

    width: min(365px, calc(100vw - 24px));

    overflow: hidden;

    padding: 14px 15px 17px;

    display: grid;

    grid-template-columns:
        35px
        minmax(0,1fr);

    gap: 12px;

    color: #17152a;
    background: #fff;

    border: 1px solid #dfdfe8;
    border-radius: 11px;

    box-shadow:
        0 18px 48px
        rgba(30,20,53,.17);
}

.nx-selector-toast[hidden] {
    display: none;
}

.nx-selector-toast-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: var(--purple);

    background: var(--purple-light);

    border-radius: 50%;
}

.nx-selector-toast-icon svg {
    width: 20px;
    height: 20px;
}

.nx-selector-toast strong {
    display: block;

    font-size: 13px;
}

.nx-selector-toast span {
    display: block;

    margin-top: 3px;

    color: #696b7c;

    font-size: 12px;
}

.nx-selector-toast-progress {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: var(--purple);

    transform-origin: left;
}


/* ============================================================ */
/* RESPONSIVE */
/* ============================================================ */

@media (max-width: 1100px) {

    .nx-selector-page {
        grid-template-columns:
            340px
            minmax(0,1fr);
    }

    .nx-intro-content {
        width: calc(100% - 46px);
    }

    .nx-service-area {
        padding:
            28px
            24px
            18px;
    }

}


@media (max-width: 850px) {

    .nx-selector-page {
        display: block;
    }

    .nx-intro-panel {
        min-height: auto;

        padding-bottom: 25px;
    }

    .nx-intro-panel::after,
    .nx-device-art {
        display: none;
    }

    .nx-intro-content {
        width: calc(100% - 38px);

        padding-top: 26px;
    }

    .nx-intro-copy {
        margin-top: 27px;
    }

    .nx-intro-copy h1 {
        font-size: 38px;
    }

    .nx-intro-steps {
        grid-template-columns:
            repeat(3,1fr);

        gap: 13px;
    }

    .nx-intro-step {
        grid-template-columns: 1fr;
    }

    .nx-service-area {
        padding:
            20px
            13px;
    }

}


@media (max-width: 620px) {

    .nx-intro-steps {
        grid-template-columns: 1fr;
    }

    .nx-service-card {
        padding:
            22px
            15px;
    }

    .nx-service-heading {
        grid-template-columns:
            54px
            minmax(0,1fr);

        gap: 13px;
    }

    .nx-grid-icon {
        width: 52px;
        height: 52px;
    }

    .nx-grid-icon svg {
        width: 25px;
        height: 25px;
    }

    .nx-service-heading h2 {
        font-size: 26px;
    }

    .nx-search-wrap {
        width: 100%;
    }

    .nx-service-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .nx-trust-strip {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .nx-trust-strip article {
        padding: 0;
    }

    .nx-trust-strip article + article {
        padding-top: 15px;

        border-top: 1px solid #ded5ed;
        border-left: 0;
    }

}
