:root {
    color-scheme: dark;
    --bg: #050609;
    --panel: rgba(14, 18, 24, 0.78);
    --panel-strong: rgba(21, 27, 34, 0.92);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f4f7fb;
    --muted: rgba(244, 247, 251, 0.72);
    --cyan: #70e7ff;
    --amber: #ffcf66;
    --green: #88f0b0;
    --red: #ff7d7d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: var(--cyan);
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 48px);
    background: rgba(5, 6, 9, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.site-header.solid {
    position: sticky;
    background: rgba(5, 6, 9, 0.92);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 18px rgba(255, 207, 102, 0.84), 16px 0 0 -6px var(--cyan), 28px 0 0 -8px var(--green);
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.2vw, 26px);
    font-size: 0.92rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--text);
}

.hero {
    position: relative;
    display: grid;
    min-height: 92vh;
    align-items: center;
    overflow: hidden;
    padding: 110px clamp(22px, 6vw, 86px) 90px;
    border-bottom: 1px solid var(--line);
}

#orbit-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to bottom, rgba(5, 6, 9, 0), var(--bg));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 11ch;
    margin-bottom: 16px;
    font-size: clamp(4rem, 13vw, 9.5rem);
    line-height: 0.88;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.05rem;
}

.hero-copy {
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.support-band {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 18px;
    border: 1px solid var(--line);
    font-weight: 700;
    text-decoration: none;
}

.button.primary {
    background: var(--text);
    color: var(--bg);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.section {
    padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 86px);
}

.product-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.section-copy p,
.split-section p,
.support-band p,
.page-hero p,
.legal-copy p,
.info-panel p,
.feature p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    gap: 14px;
}

.feature,
.info-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: var(--panel);
}

.screenshots-section {
    border-top: 1px solid var(--line);
    background: #07090d;
}

.screenshots-section .section-copy {
    max-width: 880px;
    margin-bottom: 30px;
}

.screenshot-gallery {
    display: grid;
    grid-auto-columns: minmax(320px, 46%);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px clamp(22px, 6vw, 86px) 22px;
    margin-inline: calc(clamp(22px, 6vw, 86px) * -1);
    scroll-padding-inline: clamp(22px, 6vw, 86px);
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(112, 231, 255, 0.36) rgba(255, 255, 255, 0.08);
}

.screenshot-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: var(--panel-strong);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    scroll-snap-align: start;
}

.screenshot-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.screenshot-open:focus-visible {
    outline: 3px solid rgba(112, 231, 255, 0.82);
    outline-offset: -3px;
}

.screenshot-card img {
    display: block;
    width: 100%;
    aspect-ratio: 19.5 / 9;
    object-fit: cover;
    background: #030407;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.screenshot-card:hover img,
.screenshot-open:focus-visible img {
    transform: scale(1.025);
    filter: brightness(1.06);
}

.screenshot-card figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(3, 4, 7, 0.68);
    color: rgba(244, 247, 251, 0.9);
    font-size: 0.9rem;
    backdrop-filter: blur(14px);
}

.lightbox {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 54px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 3, 6, 0.82);
    backdrop-filter: blur(18px);
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: calc(100vw - clamp(36px, 8vw, 108px));
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(6, 8, 12, 0.96);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.58);
}

.lightbox-content img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #030407;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lightbox-content.is-changing img {
    opacity: 0.42;
    transform: scale(0.992);
}

.lightbox-content figcaption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 16px;
    color: rgba(244, 247, 251, 0.84);
    font-size: 0.95rem;
}

.lightbox-content figcaption span:last-child {
    color: rgba(112, 231, 255, 0.74);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lightbox-orbit {
    position: absolute;
    z-index: 0;
    inset: -24%;
    border: 1px solid rgba(112, 231, 255, 0.18);
    border-radius: 50%;
    pointer-events: none;
    animation: orbitDrift 16s linear infinite;
}

.lightbox-orbit::before,
.lightbox-orbit::after {
    content: "";
    position: absolute;
    inset: 13%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.lightbox-orbit::after {
    inset: 26%;
    border-color: rgba(255, 207, 102, 0.12);
}

.lightbox-orbit span {
    position: absolute;
    top: 50%;
    right: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(112, 231, 255, 0.9);
}

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

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(3, 4, 7, 0.72);
    color: var(--text);
    line-height: 1;
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.55rem;
}

.lightbox-nav {
    top: 50%;
    width: 46px;
    height: 46px;
    font-size: 2.2rem;
    transform: translateY(-50%);
}

.lightbox-nav.previous {
    left: 12px;
}

.lightbox-nav.next {
    right: 12px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    border-color: rgba(112, 231, 255, 0.42);
    background: rgba(10, 18, 24, 0.82);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 3px solid rgba(112, 231, 255, 0.82);
    outline-offset: 2px;
}

body.lightbox-open {
    overflow: hidden;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(260px, 0.75fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #090d0f;
}

.support-band {
    justify-content: space-between;
    background: #0b0b0d;
}

.support-band h2 {
    max-width: 760px;
}

.page-main {
    min-height: 72vh;
}

.page-hero {
    padding: 84px clamp(22px, 6vw, 86px) 42px;
    border-bottom: 1px solid var(--line);
    background: #080a0d;
}

.page-hero h1 {
    max-width: none;
    font-size: clamp(3rem, 9vw, 6.8rem);
}

.support-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.legal-copy {
    max-width: 860px;
}

.legal-copy h2 {
    margin-top: 32px;
    font-size: clamp(1.3rem, 2vw, 2rem);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 28px clamp(22px, 6vw, 86px);
    border-top: 1px solid var(--line);
    color: rgba(244, 247, 251, 0.58);
    font-size: 0.9rem;
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 86vh;
        padding-top: 142px;
    }

    .product-section,
    .split-section,
    .support-layout {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery {
        grid-auto-columns: minmax(290px, 82%);
    }
}

@media (max-width: 520px) {
    nav {
        font-size: 0.84rem;
    }

    h1 {
        font-size: 4.4rem;
    }

    .button {
        width: 100%;
    }
}
