:root {
    --page: #E3E7E8;
    --surface: #F8FAFA;
    --decor: #C8D0D2;
    --text: #172226;
    --muted: #526267;
    --accent: #147D8D;
    --line: #B9C5C8;
    --shadow: 0 18px 54px #08141926;
    --radius: 22px;
    --header-height: 64px;
    --nav-inset: clamp(20px, 4.3924vw, 60px);
    color-scheme: light;
}
:root[data-theme="dark"] {
    --page: #121415;
    --surface: #1D2021;
    --decor: #25292A;
    --text: #E7EBEC;
    --muted: #ADB6B9;
    --accent: #79C3CF;
    --line: #41494C;
    --shadow: 0 18px 54px #00000055;
    color-scheme: dark;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
button, a {
    -webkit-tap-highlight-color: transparent;
}
button {
    font: inherit;
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
button:focus-visible, a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}
[hidden] {
    display: none !important;
}
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--nav-inset) 0 0;
    color: #FFFFFF;
    background: linear-gradient(#000, #0000);
}
.header-stripes {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    pointer-events: none;
}
.header-stripes i {
    height: 100%;
    flex-shrink: 0;
    background: linear-gradient(#FFFFFF, #FFFFFF00);
}
.header-stripes i:nth-child(2) {
    margin-left: 2px;
}
.header-stripes i:nth-child(3) {
    margin-left: 4px;
}
.header-stripes i:nth-child(4) {
    margin-left: 6px;
}
.header-stripes i:nth-child(5) {
    margin-left: 8px;
}
.header-stripes i:nth-child(6) {
    margin-left: 10px;
}
.header-stripes i:nth-child(7) {
    margin-left: 12px;
}
.brand {
    width: 120px;
    height: 100%;
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}
.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.navigation {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 15px;
}
.navigation a {
    padding: 15px 0;
    border-bottom: 1px solid transparent;
}
.navigation a:hover, .navigation a[aria-current="page"] {
    border-color: #70D5E4;
}
.account-wrap {
    position: relative;
}
.avatar-button {
    border: 1px solid #FFFFFF70;
    background: #EDF4F4;
    color: #263238;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-left: 10px;
}
.avatar-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}
.account-menu {
    position: absolute;
    right: 0;
    top: 49px;
    width: 240px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.account-summary {
    padding: 10px 10px 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}
.account-summary strong, .account-summary small {
    display: block;
}
.account-summary small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}
.account-menu button, .account-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 10px;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
}
.account-menu button:hover, .account-menu a:hover {
    background: var(--decor);
}
.account-menu button[aria-pressed="true"]::after {
    content: "✓";
    color: var(--accent);
}
.menu-divider {
    border: 0;
    border-top: 1px solid var(--line);
}
.hero {
    --rail-left: 83.968%;
    --rail-top: 47.6042%;
    --divider-top: 88.2292%;
    min-height: max(640px, 56.09375vw);
    height: 100svh;
    position: relative;
    overflow: hidden;
    background: #000;
    color: #FFFFFF;
}
#hero-video {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateY(-50%);
}
.film-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, #00000028, #0000 20%, #0000 85%, #00000022);
}
.cyan-plane {
    position: absolute;
    top: 32.3958%;
    left: -2.489%;
    width: 44.8023%;
    height: 68.2292%;
    pointer-events: none;
}
.plane-arrows {
    position: absolute;
    left: 28%;
    top: 49.0625%;
    font-size: 21px;
    letter-spacing: -5px;
}
.right-upper-plane {
    position: absolute;
    left: var(--rail-left);
    top: 0;
    right: 0;
    height: 44.1667%;
    background: #00000033;
}
.right-plane {
    position: absolute;
    left: var(--rail-left);
    top: var(--rail-top);
    right: 0;
    bottom: 0;
    background: #00C7EB33;
    display: grid;
    grid-template-rows: 77.535% 1fr;
}
.download-dock {
    padding: clamp(12px, 2vw, 28px) 12px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    overflow-y: auto;
}
.dock-heading {
    font: 9px Consolas, monospace;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.dock-heading small {
    display: block;
    font: 14px "Microsoft YaHei", sans-serif;
    margin-top: 8px;
    letter-spacing: 2px;
}
.status-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #8BEAF0;
    margin-right: 6px;
}
.download-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 64px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #FFFFFF75;
    background: #EAF6F4EB;
    color: #172226;
    cursor: not-allowed;
    text-align: left;
}
.download-dock > * { flex-shrink: 0; }
.download-status { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#android-download-options a { display: block; padding: 10px 6px; color: inherit; text-decoration: underline; }
#android-download-options[hidden] { display: none; }
.download-button:disabled { cursor: not-allowed; opacity: .65; }
.download-button:not(:disabled) { cursor: pointer; }
.download-button:focus-visible, #android-download-options a:focus-visible, #download-retry:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.download-button strong, .download-button small {
    display: block;
}
.download-button strong {
    font-size: 16px;
    font-weight: 500;
}
.download-button small {
    font-size: 10px;
    color: #46565B;
    margin-top: 5px;
}
.download-button > span:last-child {
    margin-left: auto;
}
.platform-icon {
    width: 29px;
    height: 29px;
    flex-shrink: 0;
}
.dock-foot {
    font: 9px Consolas, monospace;
    letter-spacing: 1px;
}
.page-divider {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--divider-top);
    height: 1px;
    background: #FFFFFF80;
    pointer-events: none;
}
.hero-footer {
    position: absolute;
    top: var(--divider-top);
    left: 3.0747%;
    right: calc(100% - var(--rail-left));
    padding-top: 6px;
}
.wordmark {
    display: flex;
    align-items: center;
    gap: 24px;
}
.wordmark h1 {
    font-family: Arial, sans-serif;
    font-size: clamp(46px, 5.49vw, 75px);
    line-height: 1;
    margin: 0;
    letter-spacing: -4px;
    font-weight: 700;
}
.wordmark div {
    font-size: 14px;
    line-height: 1.1;
}
.wordmark strong, .wordmark span {
    display: block;
}
.wordmark strong {
    font-size: 17px;
}
.wordmark i {
    display: block;
    width: 126px;
    border-bottom: 1px solid white;
    margin-top: 13px;
}
.sound-toggle {
    position: absolute;
    z-index: 9;
    top: 72px;
    right: calc(var(--nav-inset) - 6px);
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    filter: drop-shadow(0 1px 3px #000);
}
.sound-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sound-toggle .sound-waves {
    display: none;
}
.sound-toggle[aria-pressed="true"] .sound-waves {
    display: initial;
}
.sound-toggle[aria-pressed="true"] .sound-mute {
    display: none;
}
.sound-toggle:disabled {
    opacity: 0.4;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.community {
    padding: 9px 13px;
    min-width: 0;
}
.community-title {
    font-size: 10px;
    margin-bottom: 5px;
}
.qr-pair {
    display: flex;
    gap: 9px;
}
.qr-pair img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: white;
}
.toast {
    position: fixed;
    z-index: 20;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 14px 22px;
    width: max-content;
    max-width: 90vw;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.decor-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 24px;
    margin: -50px 5.5% 24px -5%;
}
.decor-grid i {
    height: 232px;
    border-radius: var(--radius);
    background: var(--decor);
}
.preview-content {
    margin: 0 5.5%;
    padding: clamp(28px, 6vw, 80px);
    min-height: 55vh;
    border-radius: var(--radius);
    background: var(--surface);
}
.eyebrow {
    color: var(--accent);
    font: 11px Consolas, monospace;
    letter-spacing: 3px;
}
.preview-content p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 560px;
}
.back-link {
    display: inline-block;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding: 12px 0;
}
@media (max-width: 1000px) {
    .navigation {
        gap: 20px;
    }
    .hero {
        --rail-left: 78%;
    }
    .dock-foot {
        font-size: 7px;
    }
}
@media (max-width: 600px) {
    .site-header {
        height: 64px;
    }
    .site-header::after {
        content: "";
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        height: 36px;
        background: #000000A6;
        z-index: -1;
    }
    .navigation {
        gap: 0;
    }
    .navigation > a {
        position: absolute;
        top: 64px;
        font-size: 12px;
        padding: 9px 0;
    }
    .navigation > a:nth-child(1) {
        left: 20px;
    }
    .navigation > a:nth-child(2) {
        left: 31%;
    }
    .navigation > a:nth-child(3) {
        left: 53%;
    }
    .navigation > a:nth-child(4) {
        right: 20px;
    }
    .hero {
        --rail-left: 53%;
        --rail-top: 42%;
        --divider-top: 82%;
        min-height: 740px;
    }
    .right-plane {
        grid-template-rows: 68.9655% 1fr;
    }
    .right-upper-plane {
        height: 38%;
    }
    .cyan-plane {
        width: 82%;
        left: -4.5556%;
    }
    .plane-arrows {
        left: 29%;
    }
    .sound-toggle {
        top: 105px;
    }
    .download-dock {
        padding: 12px 8px;
    }
    .dock-heading {
        font-size: 7px;
        letter-spacing: 0;
    }
    .download-button {
        min-height: 58px;
        padding: 8px;
        gap: 7px;
    }
    .download-button strong {
        font-size: 14px;
    }
    .download-button small {
        font-size: 9px;
    }
    .download-button > span:last-child {
        display: none;
    }
    .platform-icon {
        width: 22px;
        height: 22px;
    }
    .wordmark {
        display: block;
    }
    .wordmark h1 {
        font-size: clamp(34px, 10.5vw, 48px);
        letter-spacing: -2px;
    }
    .wordmark div {
        margin-top: 7px;
        font-size: 10px;
    }
    .wordmark strong {
        font-size: 12px;
    }
    .wordmark i {
        width: 100px;
        margin-top: 7px;
    }
    .decor-grid i {
        height: 196px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
    }
}
