:root {
    color-scheme: dark;
    --background: #101310;
    --panel: #181d1a;
    --panel-raised: #202622;
    --text: #f1f4f0;
    --muted: #a8b0aa;
    --dark-text: #101310;
    --green: #77d66a;
    --coral: #ff6b5f;
    --yellow: #f2c94c;
    --blue: #5bb9e8;
    --pink: #f28bb3;
    --divider: #343c36;
    font-family: Inter, "Segoe UI", "Microsoft YaHei UI", sans-serif;
    letter-spacing: 0;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4.5vw;
    background: rgba(16, 19, 16, 0.96);
    border-bottom: 1px solid var(--divider);
    backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 750; }
.brand img { display: block; }
.icon-link { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--divider); }
.icon-link:hover, .icon-link:focus-visible { border-color: var(--green); color: var(--green); }
.icon-link svg { width: 20px; height: 20px; }

.hero {
    min-height: calc(100vh - 104px);
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
    padding: 58px 4.5vw 86px;
    overflow: hidden;
}

.hero-copy { max-width: 620px; }
.release-kicker { margin: 0 0 24px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 650; }
.live-dot { width: 9px; height: 9px; background: var(--yellow); }
h1 { margin: 0; font-size: 72px; line-height: 0.98; font-weight: 820; }
.summary { max-width: 530px; margin: 26px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.8; }

.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; font-size: 14px; font-weight: 760; border: 1px solid transparent; }
.download-button svg { width: 19px; height: 19px; }
.download-button.primary { background: var(--green); color: var(--dark-text); }
.download-button.primary:hover, .download-button.primary:focus-visible { background: #8ae17f; }
.download-button.secondary { background: var(--panel); border-color: var(--divider); }
.download-button.secondary:hover, .download-button.secondary:focus-visible { border-color: var(--text); }

.release-facts { display: grid; grid-template-columns: repeat(3, minmax(80px, 1fr)); gap: 1px; margin: 34px 0 0; background: var(--divider); border: 1px solid var(--divider); }
.release-facts div { min-height: 72px; padding: 13px 15px; background: var(--panel); }
.release-facts dt { color: var(--muted); font-size: 10px; }
.release-facts dd { margin: 8px 0 0; font-size: 14px; font-weight: 720; }

.product-scene {
    width: min(100%, 760px);
    aspect-ratio: 1.12;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    grid-template-rows: 1.25fr 1fr 1fr;
    gap: 8px;
    transform: rotate(-2deg);
    transform-origin: center;
}

.tile { min-width: 0; min-height: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--dark-text); overflow: hidden; }
.tile span { font-size: 12px; font-weight: 650; }
.tile strong { margin-top: 3px; font-size: 25px; line-height: 1.05; }
.tile small { margin-top: 7px; font-size: 9px; font-weight: 750; opacity: 0.62; }
.tile.green { background: var(--green); }
.tile.coral { background: var(--coral); }
.tile.blue { background: var(--blue); }
.tile.yellow { background: var(--yellow); }
.tile.pink { background: var(--pink); }
.tile.dark { background: var(--panel-raised); color: var(--text); }
.scene-brand { grid-column: 1 / 3; flex-direction: row; justify-content: flex-start; align-items: center; gap: 18px; }
.scene-brand div { display: flex; flex-direction: column; }
.scene-brand strong { font-size: 31px; }
.scene-brand span { margin-top: 5px; }
.spectrum-tile { grid-column: 1 / 3; justify-content: space-between; }
.spectrum { height: 70%; display: flex; align-items: flex-end; gap: 5px; }
.spectrum i { flex: 1; height: 34%; background: var(--green); transform-origin: bottom; animation: spectrum 1.05s ease-in-out infinite alternate; }
.spectrum i:nth-child(2n) { background: var(--blue); animation-duration: 0.78s; }
.spectrum i:nth-child(3n) { background: var(--yellow); animation-duration: 1.24s; }
.spectrum i:nth-child(4n) { background: var(--coral); animation-delay: -0.35s; }
.spectrum i:nth-child(5n) { background: var(--pink); animation-delay: -0.62s; }

@keyframes spectrum { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.downloads, .release-band { padding: 92px 4.5vw; }
.downloads { background: #ecefeb; color: #111512; }
.section-heading p { margin: 0 0 8px; font-size: 10px; font-weight: 800; color: #657068; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.asset-list { margin-top: 34px; border-top: 1px solid #bfc6c0; }
.asset-row { min-height: 112px; display: grid; grid-template-columns: 58px minmax(180px, 1fr) auto 52px; align-items: center; gap: 18px; border-bottom: 1px solid #bfc6c0; }
.platform-icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--dark-text); }
.platform-icon svg { width: 25px; height: 25px; }
.windows-row .platform-icon { background: var(--blue); }
.android-row .platform-icon { background: var(--green); }
.asset-copy h3 { margin: 0; font-size: 18px; }
.asset-copy p { margin: 7px 0 0; color: #5e6761; font-size: 12px; }
.asset-size { color: #5e6761; font-size: 11px; font-weight: 700; }
.asset-download { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #aeb7b0; }
.asset-download:hover, .asset-download:focus-visible { background: #111512; color: #fff; border-color: #111512; }
.asset-download svg { width: 20px; height: 20px; }

.release-band { min-height: 330px; display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(300px, 1.3fr); gap: 36px 8vw; align-items: start; background: var(--panel); }
.release-band .section-heading p { color: var(--green); }
.release-notes { margin: 32px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 720px; }
.text-link { grid-column: 2; width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--green); font-size: 13px; }
.text-link svg { width: 16px; height: 16px; }

footer { min-height: 76px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; border-top: 1px solid var(--divider); }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-copy { max-width: 700px; }
    .product-scene { justify-self: center; max-width: 700px; }
    .release-band { grid-template-columns: 1fr; }
    .text-link { grid-column: 1; }
}

@media (max-width: 620px) {
    .topbar { padding: 0 18px; }
    .brand span { font-size: 12px; }
    .hero { padding: 30px 18px 38px; gap: 22px; }
    h1 { font-size: 48px; }
    .summary { font-size: 15px; }
    .download-actions { display: grid; grid-template-columns: 1fr; }
    .download-button { width: 100%; }
    .release-facts { grid-template-columns: 1fr 1fr 1fr; }
    .release-facts div { padding: 11px 10px; }
    .product-scene { height: 174px; aspect-ratio: auto; grid-template-columns: 1fr; grid-template-rows: 82px 84px; transform: none; }
    .product-scene > .tile:not(.scene-brand):not(.spectrum-tile) { display: none; }
    .scene-brand { grid-column: 1; }
    .scene-brand img { width: 48px; height: 48px; }
    .scene-brand strong { font-size: 24px; }
    .spectrum-tile { grid-column: 1; }
    .tile { padding: 14px; }
    .tile strong { font-size: 20px; }
    .downloads, .release-band { padding: 66px 18px; }
    .asset-row { grid-template-columns: 48px minmax(0, 1fr) 46px; gap: 12px; }
    .asset-size { display: none; }
    .platform-icon { width: 44px; height: 44px; }
    .asset-copy h3 { font-size: 15px; }
    .asset-copy p { font-size: 10px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .spectrum i { animation: none; transform: scaleY(0.65); }
}
