@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --bg: #07090c;
    --panel: #0d1117;
    --text: #f1f4f6;
    --muted: #8b95a2;
    --line: #202731;
    --green: #8cffc1;
    --blue: #6aa8ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, Arial, sans-serif;
    overflow-x: hidden;
}

/* Background grid */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;

    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

    background-size: 55px 55px;
}

/* Links */

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

/* Logo */

.logo {
    font: 500 23px "DM Mono", monospace;
    letter-spacing: -2px;
}

.logo span {
    color: var(--green);
}

/* Navigation */

.nav {
    height: 82px;
    padding: 0 7vw;

    position: absolute;
    top: 0;
    width: 100%;

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

    border-bottom: 1px solid #171c23;
    z-index: 5;
}

.nav nav {
    display: flex;
    gap: 32px;

    color: #9ca5b0;
    font-size: 12px;
}

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

.panel,
.secondary {
    border: 1px solid #303741;
    padding: 11px 16px;
    font-size: 11px;
}

.panel:hover,
.secondary:hover {
    border-color: #59636f;
}

/* Hero */

.hero {
    min-height: 790px;

    padding: 160px 8vw 80px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(106,168,255,.13),
            transparent 28%
        );
}

.copy {
    width: 56%;
    z-index: 2;
}

.copy small,
.heading small,
.split-copy small,
.cta small {
    font: 500 10px "DM Mono", monospace;
    letter-spacing: 2.5px;
    color: #77818e;
}

h1 {
    font-size: clamp(58px, 7.7vw, 120px);
    line-height: .9;
    letter-spacing: -6px;

    margin: 25px 0 28px;
}

em {
    font-style: normal;
    color: #727d89;
}

.copy p {
    max-width: 500px;

    color: #9ca5b0;

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

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.primary {
    display: inline-block;

    background: #eef1f3;
    color: #07090c;

    padding: 14px 19px;

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

    transition: .25s;
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0,0,0,.4);
}

/* Animated graphic */

.visual {
    position: absolute;

    right: 5vw;

    width: 44vw;
    height: 500px;

    display: grid;
    place-items: center;
}

.orb {
    width: min(390px, 35vw);
    height: min(390px, 35vw);

    position: relative;

    display: grid;
    place-items: center;
}

.ring {
    position: absolute;

    border: 1px solid rgba(140,255,193,.25);
    border-radius: 50%;

    animation: spin 18s linear infinite;
}

.ring1 {
    inset: 0;
}

.ring2 {
    inset: 12%;

    border-color: rgba(106,168,255,.4);

    animation-duration: 12s;
    animation-direction: reverse;
}

.ring3 {
    inset: 25%;

    border-style: dashed;

    animation-duration: 7s;
}

.core {
    width: 42%;
    height: 42%;

    border-radius: 50%;

    display: grid;
    place-items: center;

    font: 500 38px "DM Mono", monospace;

    color: #07100c;

    background:
        radial-gradient(
            circle at 35% 25%,
            #a5ffd0,
            #3e7080 50%,
            #10151b
        );

    box-shadow:
        0 0 90px rgba(140,255,193,.16);
}

.tag {
    position: absolute;

    font: 10px "DM Mono", monospace;
    letter-spacing: 2px;

    color: #626d7a;
}

.tag1 {
    top: 8%;
    left: 12%;
}

.tag2 {
    right: 4%;
    top: 48%;
}

.tag3 {
    bottom: 8%;
    left: 22%;
}

/* Statistics */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

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

    padding: 25px 8vw;

    color: #737d89;

    font: 11px "DM Mono", monospace;
}

.stats div {
    border-right: 1px solid var(--line);
    padding-left: 30px;
}

.stats div:first-child {
    padding-left: 0;
}

.stats div:last-child {
    border: 0;
}

.stats b {
    font-size: 21px;
    color: var(--green);
    margin-right: 16px;
}

/* Sections */

.section {
    padding: 150px 8vw;
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 60px;
}

.heading h2,
.split-copy h2,
.cta h2 {
    font-size: clamp(42px, 5vw, 72px);

    line-height: 1;
    letter-spacing: -4px;

    margin: 18px 0 0;
}

.heading p {
    max-width: 390px;

    color: #89929e;

    font-size: 14px;
    line-height: 1.8;
}

/* Service cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.cards article {
    background: var(--panel);

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

    padding: 32px;

    min-height: 300px;

    position: relative;

    transition: .35s;
}

.cards article:hover {
    transform: translateY(-7px);

    border-color: #3a434e;
}

.cards article > span {
    position: absolute;

    right: 25px;

    color: #515b67;

    font: 10px "DM Mono", monospace;
}

.cards strong {
    display: block;

    color: var(--green);

    font-size: 30px;

    margin: 42px 0 25px;
}

.cards h3 {
    font-size: 22px;

    margin: 0 0 12px;
}

.cards p {
    color: #808a97;

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

/* Split section */

.split {
    padding: 120px 8vw;

    background: #0a0d11;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 9vw;

    align-items: center;
}

/* Terminal */

.terminal {
    border: 1px solid #272f38;

    background: #07090c;
}

.terminal-top {
    height: 38px;

    border-bottom: 1px solid #20262e;

    padding: 0 13px;

    display: flex;
    gap: 6px;
    align-items: center;
}

.terminal-top i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #39414b;
}

.terminal-top label {
    margin-left: auto;

    font: 9px "DM Mono", monospace;

    color: #59636f;
}

.terminal-code {
    padding: 32px;

    font: 12px/2 "DM Mono", monospace;

    min-height: 240px;

    color: #a0a9b5;
}

.terminal-code p {
    margin: 0;
}

.terminal-code cyan {
    color: var(--blue);
}

.ok {
    color: var(--green);
}

.dim {
    color: #697480;
}

.blink {
    animation: blink 1s infinite;
}

.split-copy > p {
    max-width: 460px;

    color: #858f9c;

    font-size: 14px;
    line-height: 1.9;
}

.split-copy ul {
    padding: 0;

    margin-top: 35px;

    list-style: none;
}

.split-copy li {
    border-top: 1px solid var(--line);

    padding: 15px 0;

    font-size: 12px;
}

.split-copy li b {
    color: var(--green);

    font: 10px "DM Mono", monospace;

    margin-right: 20px;
}

/* Contact */

.cta {
    min-height: 600px;

    padding: 140px 8vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(106,168,255,.12),
            transparent 30%
        );
}

.cta .primary {
    width: max-content;
    margin-top: 35px;
}

/* Footer */

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

    padding: 28px 8vw;

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

    color: #66717e;

    font: 10px "DM Mono", monospace;
}

footer p {
    margin: 0;
}

/* Animations */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Mobile */

@media (max-width: 800px) {

    .nav {
        padding: 0 7vw;
    }

    .nav nav {
        display: none;
    }

    .hero {
        min-height: 760px;

        padding: 140px 7vw 70px;
    }

    .copy {
        width: 100%;
    }

    h1 {
        font-size: 17vw;
        letter-spacing: -4px;
    }

    .visual {
        right: -25%;
        width: 100%;
        opacity: .3;
    }

    .orb {
        width: 330px;
        height: 330px;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 0 7vw;
    }

    .stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line);

        padding: 18px 0;
    }

    .section,
    .split,
    .cta {
        padding: 90px 7vw;
    }

    .heading {
        display: block;
    }

    .heading p {
        margin-top: 30px;
    }

    .cards,
    .split {
        grid-template-columns: 1fr;
    }

    .heading h2,
    .split-copy h2,
    .cta h2 {
        letter-spacing: -2px;
    }

    footer {
        padding: 25px 7vw;

        flex-wrap: wrap;
        gap: 18px;
    }

    footer p {
        width: 100%;
        order: 3;
    }
}