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

:root {
    color-scheme: dark;

    --bg: #0b1020;
    --surface: rgba(19, 27, 48, .76);
    --text: #f2f5ff;
    --muted: #9aa7c2;
    --line: rgba(160, 180, 220, .14);

    --accent: #8b7cff;
    --accent-bright: #b0a5ff;
    --mint: #6de0c0;

    --shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

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

    font-family: 'DM Sans', sans-serif;
    position: relative;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;
    opacity: .16;

    background-image:
        linear-gradient(rgba(160,180,220,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160,180,220,.06) 1px, transparent 1px);

    background-size: 54px 54px;

    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

/* Background */

.ambient {
    position: absolute;
    pointer-events: none;
    filter: blur(90px);
    border-radius: 50%;
    opacity: .2;
}

.ambient-one {
    width: 360px;
    height: 360px;

    top: 70px;
    right: 8%;

    background: #6554ef;
}

.ambient-two {
    width: 260px;
    height: 260px;

    top: 410px;
    left: -130px;

    background: #1a9eaa;
    opacity: .12;
}

/* Layout */

.topbar,
main,
footer {
    width: min(1120px, calc(100% - 56px));
    margin-inline: auto;
}

/* Header */

.topbar {
    height: 88px;

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

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

    position: relative;
    z-index: 2;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--text);
    text-decoration: none;

    font: 800 15px Manrope, sans-serif;
    letter-spacing: .08em;
}

.brand-light {
    color: var(--muted);
    font-weight: 500;
    margin-left: 4px;
}

.brand-mark {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    border: 1px solid rgba(176,165,255,.55);
    border-radius: 9px;

    transform: rotate(-8deg);
}

.brand-mark span {
    display: block;
    width: 3px;

    border-radius: 4px;
    background: var(--accent-bright);

    transform: rotate(8deg);
}

.brand-mark span:nth-child(1) {
    height: 8px;
    opacity: .65;
}

.brand-mark span:nth-child(2) {
    height: 14px;
}

.brand-mark span:nth-child(3) {
    height: 10px;
    opacity: .8;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.status,
.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);
    font-size: 12px;
}

.status i,
.availability i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--mint);
    box-shadow: 0 0 12px rgba(109,224,192,.65);
}

.theme-toggle {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line);
    border-radius: 50%;

    color: var(--muted);
    background: transparent;

    cursor: pointer;
    transition: .2s ease;
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

/* Hero */

.hero {
    min-height: 500px;
    padding: 100px 0 78px;

    position: relative;

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

.eyebrow {
    color: var(--accent-bright);

    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 700;

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

.eyebrow-line {
    width: 25px;
    height: 1px;

    background: var(--accent);
}

h1 {
    margin: 24px 0 20px;

    font: 800 clamp(42px, 6vw, 68px)/1.12 Manrope, sans-serif;
    letter-spacing: -.055em;

    max-width: 690px;

    position: relative;
    z-index: 1;
}

h1 span {
    color: var(--accent-bright);
}

.intro {
    max-width: 490px;

    color: var(--muted);

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

    margin: 0;

    position: relative;
    z-index: 1;
}

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

    margin-top: 32px;

    position: relative;
    z-index: 1;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    padding: 13px 18px;

    border-radius: 8px;

    background: #8273f2;
    color: white;

    text-decoration: none;

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

    box-shadow: 0 8px 26px rgba(130,115,242,.22);

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

.primary-link:hover {
    transform: translateY(-2px);
    background: #9588ff;
}

.primary-link span {
    font-size: 17px;
    line-height: 10px;
}

/* Decorative AI graphic */

.hero-art {
    position: absolute;

    width: 390px;
    height: 390px;

    right: 3%;
    top: 62px;

    display: grid;
    place-items: center;

    opacity: .92;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(164,151,255,.22);
    border-radius: 50%;

    transform: rotate(-28deg);
}

.orbit-a {
    width: 310px;
    height: 130px;
}

.orbit-b {
    width: 310px;
    height: 130px;

    transform: rotate(52deg);
}

.orbit-c {
    width: 245px;
    height: 245px;

    border-color: rgba(164,151,255,.13);
}

.core {
    width: 112px;
    height: 112px;

    border-radius: 30px;

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

    background: linear-gradient(
        145deg,
        rgba(139,124,255,.3),
        rgba(23,32,57,.95)
    );

    border: 1px solid rgba(185,175,255,.55);

    box-shadow:
        0 0 65px rgba(123,105,255,.3),
        inset 0 0 30px rgba(168,155,255,.1);

    transform: rotate(-8deg);
}

.core span {
    font: 800 34px Manrope;
    letter-spacing: -.08em;

    color: #e5e1ff;

    transform: rotate(8deg);
}

.core small {
    font-size: 8px;
    letter-spacing: .28em;

    color: var(--accent-bright);

    margin-top: 1px;

    transform: rotate(8deg);
}

.node {
    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--mint);
    box-shadow: 0 0 18px var(--mint);
}

.node-a {
    top: 75px;
    left: 110px;
}

.node-b {
    bottom: 80px;
    right: 95px;

    background: var(--accent-bright);
    box-shadow: 0 0 18px var(--accent);
}

.node-c {
    top: 170px;
    right: 28px;

    width: 5px;
    height: 5px;
}

/* Information cards */

.info-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 14px;

    margin-bottom: 76px;

    position: relative;
    z-index: 1;
}

.info-card {
    min-height: 190px;
    padding: 25px;

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

    background: var(--surface);
    box-shadow: var(--shadow);

    backdrop-filter: blur(12px);
}

.main-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.card-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: var(--mint);
    background: rgba(109,224,192,.09);

    border: 1px solid rgba(109,224,192,.18);
}

.card-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-kicker {
    color: var(--accent-bright);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;

    margin: 2px 0 10px;
}

.info-card h2,
.info-card h3 {
    font-family: Manrope, sans-serif;
    margin: 0;

    letter-spacing: -.025em;
}

.info-card h2 {
    font-size: 18px;
    line-height: 1.4;
}

.info-card h3 {
    font-size: 16px;
    margin: 18px 0 9px;
}

.info-card p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;

    margin: 10px 0 0;
}

.mini-icon {
    color: var(--accent-bright);

    font: 700 11px Manrope;
    letter-spacing: .08em;
}

/* Footer */

footer {
    min-height: 76px;

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

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

    color: #77839e;
    font-size: 11px;

    position: relative;
    z-index: 1;
}

.footer-note {
    letter-spacing: .06em;
}

/* Light theme */

body.light {
    color-scheme: light;

    --bg: #f5f7fc;
    --surface: rgba(255,255,255,.82);
    --text: #18213a;
    --muted: #65718b;
    --line: rgba(43,61,100,.13);

    --accent: #6858d9;
    --accent-bright: #6556d6;
    --mint: #159b7b;

    --shadow: 0 18px 55px rgba(38,53,89,.08);
}

body.light .ambient {
    opacity: .1;
}

body.light .brand-mark {
    border-color: rgba(104,88,217,.4);
}

body.light .brand-mark span {
    background: var(--accent);
}

body.light .core {
    background: linear-gradient(
        145deg,
        rgba(139,124,255,.22),
        rgba(255,255,255,.95)
    );
}

body.light .core span {
    color: #5145b5;
}

body.light .info-card {
    backdrop-filter: blur(12px);
}

/* Tablet */

@media (max-width: 820px) {
    .hero-art {
        right: -105px;
        opacity: .38;
    }

    .hero {
        min-height: 470px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-card {
        grid-column: 1 / -1;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .topbar,
    main,
    footer {
        width: min(100% - 36px, 1120px);
    }

    .topbar {
        height: 72px;
    }

    .status {
        font-size: 0;
        gap: 0;
    }

    .status i {
        width: 8px;
        height: 8px;
    }

    .topbar-right {
        gap: 14px;
    }

    .hero {
        min-height: 470px;
        padding: 78px 0 65px;
    }

    h1 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .intro {
        font-size: 14px;
        max-width: 390px;
    }

    .hero-art {
        width: 300px;
        height: 300px;

        right: -140px;
        top: 95px;
    }

    .orbit-a,
    .orbit-b {
        width: 245px;
        height: 105px;
    }

    .orbit-c {
        width: 195px;
        height: 195px;
    }

    .core {
        width: 88px;
        height: 88px;
        border-radius: 24px;
    }

    .core span {
        font-size: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }

    .main-card {
        grid-column: auto;
    }

    .info-card {
        min-height: auto;
        padding: 22px;
    }

    .footer-note {
        display: none;
    }
}

/* Accessibility */

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