:root {
    --bg: #181828;
    --surface: #23233A;
    --text: #FFFFFF;
    --accent: #D0006F;
    --accent-soft: rgba(208, 0, 111, 0.16);
    --accent-strong: rgba(208, 0, 111, 0.24);
    --accent-pale: rgba(208, 0, 111, 0.12);
    --muted: #FFFFFF;
    --line: rgba(255, 255, 255, 0.12);
    --panel: #3A3A53;
    --panel-alt: #4A4A63;
    --pink-soft: rgba(208, 0, 111, 0.14);
    --pink-dark: #D0006F;
    --footer-bg: #23233A;
    --footer-pink: #23233A;
    --toggle-bg: #23233A;
    --toggle-text: #FFFFFF;
    --toggle-shadow: rgba(0, 0, 0, 0.28);
    --white: #FFFFFF;
    --black: #23233A;
    --overlay: rgba(0, 0, 0, 0.62);
    --shadow-soft: rgba(0, 0, 0, 0.24);
    --shadow-card: rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}

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

.section-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(35, 35, 58, .9);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    width: min(1120px, calc(100% - 48px));
    height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    color: var(--muted);
    font-size: .92rem;
}

.desktop-nav a:hover,
.footer-links a:hover,
.text-link:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 20px;
    background: var(--accent);
    color: var(--text);
    border: 3px solid var(--accent);
    font-weight: 700;
    border-radius: 50px;
    transition: all ease .2s;
}

.button.secondary {
    background: transparent;
    border: 3px solid var(--accent);
}

.button:hover {
    filter: brightness(1.1);
}

.button-small {
    padding: 9px 14px;
    font-size: .84rem;
}

.menu-toggle,
.mobile-nav {
    display: none;
}

.hero {
    min-height: calc(100vh - 200px);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
    padding-top: 120px;
    padding-bottom: 90px;
}

.hero-wave {
    display: block;
    width: 100%;
    height: 200px;
    background: var(--bg);
}

.hero-wave path {
    fill: var(--surface);
}

.hero-copy {
    animation: reveal-up .8s ease both;
}

@keyframes status-blink {
    50% {
        opacity: .45;
        transform: scale(.8);
    }
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -.04em;
    line-height: 1.04;
}

h1 {
    font-size: clamp(3.6rem, 7vw, 4.8rem);
    margin-bottom: 26px;
}

h1 em,
h2 span {
    color: var(--accent);
    font-style: normal;
}

.hero-text {
    max-width: 520px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 42px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stats strong {
    color: var(--text);
    font: 700 1.35rem "Space Grotesk", sans-serif;
}

.hero-stats span {
    color: rgba(255, 255, 255, .64);
    font-size: .76rem;
}

.text-link {
    color: var(--muted);
    font-size: .92rem;
    transition: color .2s;
}

.hero-art {
    min-height: 420px;
    display: grid;
    place-items: center;
    position: relative;
}

.logo-frame {
    width: min(320px, 70vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid rgba(208, 0, 111, .42);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(208, 0, 111, .05), 0 0 90px rgba(208, 0, 111, .24);
    animation: logo-glow 4s ease-in-out infinite;
}

@keyframes logo-glow {
    50% {
        box-shadow: 0 0 0 34px rgba(208, 0, 111, .07), 0 0 110px rgba(208, 0, 111, .3);
    }
}

.logo-frame img {
    width: 90%;
    object-fit: contain;
}

.hero-art p {
    position: absolute;
    bottom: 20px;
    color: rgba(255, 255, 255, .72);
    font: 600 .7rem "Space Grotesk", sans-serif;
    letter-spacing: .13em;
}

.live-dot {
    background: #50e39b;
    box-shadow: 0 0 0 5px rgba(80, 227, 155, .1);
}

.signal {
    position: absolute;
    border: 1px solid rgba(208, 0, 111, .35);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.signal-one {
    width: 390px;
    height: 390px;
}

.signal-two {
    width: 470px;
    height: 470px;
    animation-delay: 1s;
    opacity: .45;
}

.orbit-image {
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 3px solid var(--surface);
    border-radius: 18px;
    box-shadow: 0 10px 24px var(--shadow-card), 0 0 0 1px var(--accent-soft);
    animation: float 5s ease-in-out infinite;
}

.orbit-image-one {
    top: 8%;
    left: 16%;
    animation-delay: -.4s;
}

.orbit-image-two {
    top: 3%;
    right: 13%;
    animation-delay: -1.6s;
}

.orbit-image-three {
    right: 2%;
    bottom: 24%;
    animation-delay: -2.5s;
}

.orbit-image-four {
    bottom: 4%;
    left: 18%;
    animation-delay: -3.4s;
}

.orbit-image-five {
    left: 0;
    top: 47%;
    animation-delay: -4.2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes pulse {
    50% {
        transform: scale(1.05);
        opacity: .25;
    }
}

.features-section {
    padding: 90px 0 130px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: var(--surface);
    box-shadow: 0 0 0 100vmax var(--surface);
    clip-path: inset(0 -100vmax);
}

h2 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    margin-bottom: 0;
}

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

.feature-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    transition: all .25s ease;
}

.feature-number {
    color: var(--accent);
    min-width: 0;
    padding-top: 4px;
    font-size: 2rem;
    text-align: left;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--muted);
    margin: 0;
    font-size: .94rem;
    max-width: 570px;
}

.commands-section {
    padding: 110px 0 130px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.commands-section .section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 70px;
}

.commands-heading {
    display: block;
    margin-bottom: 0;
}

.commands-heading>p {
    max-width: 330px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .72);
}

.commands-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    min-width: 0;
}

.command-category {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 28px var(--shadow-card);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    animation: reveal-up .65s ease both;
}

.command-category:nth-child(2) {
    animation-delay: .1s;
}

.command-category:nth-child(3) {
    animation-delay: .2s;
}

.command-category:hover {
    border-color: rgba(208, 0, 111, .45);
    box-shadow: 0 14px 32px var(--shadow-card), 0 0 0 1px var(--accent-soft);
    transform: translateY(-3px);
}

.category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    color: var(--text);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: 600 1rem "DM Sans", sans-serif;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    width: 20px;
    color: var(--accent);
    text-align: center;
}

.category-arrow {
    color: var(--muted);
    transition: transform .2s;
}

.command-category.is-open .category-arrow {
    transform: rotate(180deg);
}

.command-items {
    display: none;
    padding: 0 22px 18px;
}

.command-category.is-open .command-items {
    display: block;
}

.command-item {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    animation: command-in .3s ease both;
}

.command-item:nth-child(2) {
    animation-delay: .04s;
}

.command-item:nth-child(3) {
    animation-delay: .08s;
}

.command-item:nth-child(4) {
    animation-delay: .12s;
}

.command-item:nth-child(5) {
    animation-delay: .16s;
}

@keyframes command-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.command-item strong {
    color: var(--accent);
    font: 600 .92rem "Space Grotesk", sans-serif;
}

.command-item p {
    color: var(--muted);
    font-size: .85rem;
    margin: 4px 0 0;
}

.site-footer {
    padding: 75px 0 25px;
    background: var(--footer-bg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 100px;
    padding-bottom: 70px;
}

.footer-brand img {
    width: 75%;
    object-fit: contain;
    object-position: left;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--muted);
    max-width: 270px;
    font-size: .9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links h3 {
    font-size: .85rem;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    margin: 9px 0;
    transition: all ease .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #717187;
    font-size: .78rem;
}

.footer-bottom a {
    font-weight: 600;
    transition: all ease .2s;
}

.footer-bottom a:hover {
    color: var(--accent);
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity .35s;
}

#loader span {
    width: 75px;
    height: 75px;
    border: 7px solid var(--accent);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

@media (max-width:760px) {

    .section-shell,
    .nav-wrap {
        width: min(100% - 36px, 560px);
    }

    .desktop-nav,
    .desktop-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: 0;
        padding: 8px 0 8px 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--text);
    }

    .mobile-nav {
        padding: 8px 18px 18px;
        background: rgba(24, 24, 40, .98);
    }

    .mobile-nav.is-open {
        display: grid;
    }

    .mobile-nav a {
        padding: 10px 0;
        color: var(--muted);
        border-bottom: 1px solid var(--line);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 140px;
        padding-bottom: 90px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        text-align: center;
        justify-content: center;
    }

    h1 {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .hero-art {
        display: none;
    }

    .signal-one {
        width: 285px;
        height: 285px;
    }

    .signal-two {
        width: 340px;
        height: 340px;
    }

    .features-section,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 75px;
        padding-bottom: 85px;
    }

    .site-footer {
        padding: 74px 0 28px;
        text-align: center;
    }

    .footer-top {
        gap: 64px;
        padding-top: 0;
        padding-bottom: 58px;
    }

    .footer-brand a {
        display: block;
        color: var(--text);
        font-size: 1rem;
        line-height: 1.35;
    }

    .footer-brand img {
        display: block;
        width: min(285px, 100%);
        height: auto;
        margin-top: 10px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: center;
    }

    .footer-links h3 {
        margin-bottom: 18px;
        color: var(--text);
        font-size: .88rem;
        white-space: nowrap;
    }

    .footer-links a {
        margin: 0 0 12px;
        color: var(--text);
        font-size: .86rem;
        line-height: 1.55;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding-top: 24px;
        font-size: .76rem;
        line-height: 1.5;
        text-align: center;
    }

    .footer-bottom>span {
        max-width: 100%;
    }

    .commands-section .section-shell {
        display: block;
    }

    .commands-heading {
        display: block;
        margin-bottom: 54px;
    }

    .commands-heading>p {
        margin-top: 24px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}