@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #f6f7f9;
    --white: #ffffff;
    --black: #0d0f12;

    --text: #111318;
    --muted: #69717e;
    --soft: #9aa1ac;

    --line: #e6e8ec;

    --accent: #635bff;
    --accent-dark: #5148e8;
    --accent-soft: #eeedff;

    --green: #39b978;

    --radius: 18px;
    --radius-lg: 28px;

    --container: 1180px;

    --shadow:
        0 15px 45px rgba(16, 24, 40, .08);

    --shadow-small:
        0 5px 20px rgba(16, 24, 40, .06);

    --font:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    min-width: 320px;

    background: var(--bg);
    color: var(--text);

    font-family: var(--font);

    font-size: 15px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   CONTAINERS
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

.container.narrow {
    width: min(
        calc(100% - 40px),
        760px
    );
}


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

header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 72px;

    background: rgba(246, 247, 249, .82);

    border-bottom: 1px solid rgba(230, 232, 236, .8);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    height: 100%;

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

.logo {
    position: relative;

    display: inline-flex;
    align-items: center;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -.055em;
}

.logo::before {
    content: "";

    width: 30px;
    height: 30px;

    margin-right: 9px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #8c86ff
        );

    box-shadow:
        0 5px 16px rgba(99, 91, 255, .25);
}

.logo::after {
    content: "";

    position: absolute;

    left: 9px;
    top: 9px;

    width: 12px;
    height: 12px;

    border: 2px solid white;

    border-radius: 4px;

    transform: rotate(45deg);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    position: relative;

    color: #646c78;

    font-size: 13px;
    font-weight: 600;

    transition:
        color .2s ease;
}

nav a:hover {
    color: var(--text);
}

nav a:last-child {
    padding: 9px 14px;

    border: 1px solid var(--line);

    border-radius: 9px;

    background: white;

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

    color: var(--text);
}


/* =========================================================
   HERO
   ========================================================= */

.intro {
    position: relative;

    padding: 82px 0 75px;

    overflow: hidden;
}

.intro::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -240px;
    top: -280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(99, 91, 255, .14),
            rgba(99, 91, 255, 0) 68%
        );

    pointer-events: none;
}

.intro::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -180px;
    bottom: -180px;

    border-radius: 50%;

    border: 1px solid rgba(99, 91, 255, .08);

    pointer-events: none;
}

.intro .container {
    position: relative;
    z-index: 2;
}

.terminal-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    margin-bottom: 22px;

    border: 1px solid var(--line);

    border-radius: 999px;

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

    color: #727986;

    font-size: 11px;
    font-weight: 600;

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

.terminal-label::before {
    content: "";

    width: 6px;
    height: 6px;

    margin-right: 8px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px rgba(57,185,120,.1);
}

.intro h1 {
    max-width: 900px;

    margin-bottom: 20px;

    font-size:
        clamp(58px, 8vw, 104px);

    line-height: .94;

    letter-spacing: -.085em;

    font-weight: 800;
}

.tagline {
    max-width: 690px;

    margin-bottom: 16px;

    font-size:
        clamp(22px, 3vw, 31px);

    line-height: 1.25;

    letter-spacing: -.045em;

    font-weight: 600;
}

.description {
    max-width: 580px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.actions {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}

.button {
    min-height: 46px;

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

    padding: 0 20px;

    border-radius: 10px;

    background: var(--accent);

    color: white;

    border: 1px solid var(--accent);

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(99,91,255,.2);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.button:hover {
    background: var(--accent-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(99,91,255,.27);
}

.button.secondary {
    background: white;

    border-color: var(--line);

    color: var(--text);

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

.button.secondary:hover {
    border-color: #d6d9df;

    background: white;
}


/* =========================================================
   META
   ========================================================= */

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    color: var(--soft);

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

.meta span {
    color: #d0d4da;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.block {
    padding: 78px 0;
}

.border-top {
    border-top: 1px solid var(--line);
}

.section-title {
    display: inline-flex;
    align-items: center;

    margin-bottom: 13px;

    color: var(--accent);

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

    letter-spacing: .02em;
}

.section-title::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--accent);
}

.block h2 {
    max-width: 750px;

    margin-bottom: 19px;

    font-size:
        clamp(34px, 5vw, 56px);

    line-height: 1.03;

    letter-spacing: -.07em;

    font-weight: 800;
}

.block p {
    max-width: 690px;

    margin-bottom: 16px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   FEATURES
   ========================================================= */

#features {
    background: white;
}

.feature-list {
    display: grid;

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

    gap: 14px;

    margin-top: 38px;

    border: none;
}

.feature {
    position: relative;

    min-height: 220px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 25px;

    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background: #fafbfc;

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

.feature::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -75px;
    top: -75px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(99,91,255,.10),
            transparent 65%
        );
}

.feature:hover {
    transform: translateY(-4px);

    background: white;

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

.feature-number {
    position: relative;
    z-index: 2;

    width: 38px;
    height: 38px;

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

    border-radius: 10px;

    background: var(--accent-soft);

    color: var(--accent);

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

.feature h3 {
    margin-bottom: 6px;

    font-size: 18px;

    letter-spacing: -.035em;

    font-weight: 700;
}

.feature p {
    max-width: 470px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   DOWNLOAD
   ========================================================= */

.download {
    background: var(--bg);
}

.download-box {
    position: relative;

    display: grid;

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

    align-items: center;

    gap: 50px;

    padding: 43px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--black);

    box-shadow:
        0 22px 60px rgba(13,15,18,.16);
}

.download-box::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -150px;
    top: -240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(99,91,255,.26),
            transparent 68%
        );
}

.download-box::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: 80px;
    bottom: -110px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;
}

.download-box > * {
    position: relative;
    z-index: 2;
}

.download .section-title {
    color: #9d98ff;
}

.download .section-title::before {
    background: #9d98ff;
}

.download h2 {
    color: white;
}

.download p {
    color: #9ca3af;
}

.download-side {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.download-button {
    min-height: 50px;

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

    border-radius: 10px;

    background: white;

    color: #111318;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}

.download-button:hover {
    background: #f1f2f5;

    transform: translateY(-2px);
}

.download-side span {
    text-align: center;

    color: #6f7682;

    font-size: 10px;
}


/* =========================================================
   INSTALLATION
   ========================================================= */

pre {
    margin: 22px 0;

    padding: 18px 20px;

    overflow-x: auto;

    border: 1px solid #2b3039;

    border-radius: 11px;

    background: #181b21;

    color: #e8ebef;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 12px;

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

.muted {
    color: var(--soft) !important;
}


/* =========================================================
   TECHNOLOGY
   ========================================================= */

.tech {
    display: grid;

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

    gap: 10px;

    margin-top: 35px;
}

.tech span {
    min-height: 64px;

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

    border: 1px solid var(--line);

    border-radius: 12px;

    background: white;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;

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

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tech span:hover {
    transform: translateY(-3px);

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


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

footer {
    padding: 28px 0;

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

    background: white;

    color: var(--soft);

    font-size: 11px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-inner > div:first-child {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-inner strong {
    color: var(--text);

    font-size: 13px;
}


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

@media (max-width: 700px) {

    header {
        height: 64px;
    }

    .header-inner {
        width: calc(100% - 28px);
    }

    nav {
        position: fixed;

        top: 64px;
        left: 12px;
        right: 12px;

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

        padding: 8px;

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

        border: 1px solid var(--line);

        border-radius: 16px;

        box-shadow:
            0 20px 50px rgba(15,23,42,.13);

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

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-10px)
            scale(.98);

        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease;
    }

    nav.mobile-open {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(0)
            scale(1);
    }

    nav a {
        padding: 13px 14px;

        border-radius: 10px;

        font-size: 13px;
    }

    nav a:hover {
        background: #f5f6f8;
    }

    nav a:last-child {
        border: 0;

        background: var(--accent);

        color: white;

        text-align: center;
    }

    nav a:last-child:hover {
        background: var(--accent-dark);
    }

    .menu-button {
        width: 40px;
        height: 40px;

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

        border: 1px solid var(--line);

        border-radius: 10px;

        background: white;

        cursor: pointer;
    }

    .menu-button span,
    .menu-button span::before,
    .menu-button span::after {
        width: 17px;
        height: 2px;

        display: block;

        background: var(--text);

        border-radius: 3px;

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

    .menu-button span {
        position: relative;
    }

    .menu-button span::before,
    .menu-button span::after {
        content: "";

        position: absolute;

        left: 0;
    }

    .menu-button span::before {
        top: -6px;
    }

    .menu-button span::after {
        top: 6px;
    }

    .menu-button.active span {
        background: transparent;
    }

    .menu-button.active span::before {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-button.active span::after {
        transform: translateY(-6px) rotate(-45deg);
    }
}


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

@media (max-width: 900px) {

    .intro {
        padding: 70px 0 65px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .tech {
        grid-template-columns:
            repeat(3,1fr);
    }

    .download-box {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .download-side {
        width: 210px;
    }
}


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

@media (max-width: 700px) {

    .container,
    .container.narrow {
        width: calc(100% - 28px);
    }

    .intro {
        padding: 58px 0 60px;
    }

    .intro h1 {
        font-size:
            clamp(54px, 18vw, 78px);

        line-height: .95;
    }

    .tagline {
        font-size: 21px;
    }

    .description {
        font-size: 14px;
    }

    .actions {
        flex-direction: column;

        align-items: stretch;

        margin-top: 23px;
    }

    .button {
        width: 100%;
    }

    .block {
        padding: 58px 0;
    }

    .block h2 {
        font-size: 36px;
    }

    .feature {
        min-height: 195px;

        padding: 22px;
    }

    .download-box {
        padding: 28px 21px;

        border-radius: 21px;
    }

    .download-side {
        width: 100%;
    }

    .tech {
        grid-template-columns:
            repeat(2,1fr);

        gap: 8px;
    }

    .tech span {
        min-height: 58px;
    }

    .footer-inner {
        align-items: flex-start;

        flex-direction: column;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .container,
    .container.narrow {
        width: calc(100% - 22px);
    }

    .intro h1 {
        font-size: 53px;
    }

    .tagline {
        font-size: 20px;
    }

    .block h2 {
        font-size: 32px;
    }

    .feature {
        min-height: 180px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(99,91,255,.35);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}