:root {
    color-scheme: dark;
    --bg: #050507;
    --fg: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.56);
    --line: rgba(255, 255, 255, 0.10);
    --soft: rgba(255, 255, 255, 0.03);
    --soft-strong: rgba(255, 255, 255, 0.05);
    --max-w: 1120px;
    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        "Microsoft YaHei UI",
        sans-serif;
    background: var(--bg);
    color: var(--fg);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--max-w), calc(100% - 64px));
    margin: 0 auto;
}

.site-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.shell {
    display: grid;
    width: 100%;
    padding: 40px 0;
}

.panel {
    display: grid;
    width: min(1020px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(0, 540px) minmax(320px, 400px);
    justify-content: start;
    gap: 44px;
    align-items: start;
}

.copy {
    width: 100%;
    max-width: 560px;
}

.identity {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.30);
}

.download-link {
    letter-spacing: -0.02em;
}

.subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(28px, 3.1vw, 38px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.intro-copy,
.version-chip {
    color: var(--muted);
}

.intro-copy {
    margin: 22px 0 0;
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.7;
    text-wrap: pretty;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    transition:
        background 140ms ease,
        border-color 140ms ease,
        color 140ms ease;
}

.download-link:hover,
.download-link:focus-visible {
    background: var(--soft-strong);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.98);
    outline: none;
}

.version-chip {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-size: 14px;
    letter-spacing: 0.01em;
    line-height: 1;
}

.visual {
    justify-self: start;
    width: min(100%, 400px);
    padding-top: 4px;
}

.visual-stack {
    position: relative;
    width: 100%;
    padding: 0 18px 82px 0;
}

.shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--soft);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.shot img {
    width: 100%;
    height: auto;
}

.shot-primary {
    width: 100%;
}

.shot-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62%;
    z-index: 2;
}

@media (max-width: 980px) {
    .panel {
        grid-template-columns: 1fr;
        width: min(720px, 100%);
        gap: 28px;
    }

    .copy,
    .visual {
        width: 100%;
    }

    .visual {
        justify-self: start;
        max-width: 520px;
        padding-top: 0;
    }

    .visual-stack {
        padding: 0 22px 84px 0;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--max-w), calc(100% - 28px));
    }

    .shell {
        padding: 44px 0 56px;
    }

    .visual-stack {
        display: grid;
        gap: 14px;
        padding: 0;
    }

    .shot-secondary {
        position: relative;
        right: auto;
        bottom: auto;
        width: 88%;
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
