:root {
    --bg: #0b0d0e;
    --bg-raised: #111415;
    --surface: #151819;
    --surface-2: #191d1e;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f3f5f4;
    --muted: #9ca5a2;
    --muted-2: #6f7875;
    --accent: #8de4c4;
    --accent-strong: #b1f0d8;
    --accent-ink: #09251b;
    --blue: #95bfe4;
    --amber: #e9bb79;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --container: 1240px;
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-feature-settings: "ss01" 1, "cv02" 1;
    -webkit-font-smoothing: antialiased;
}

button,
a,
select {
    font: inherit;
}

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

button {
    border: 0;
}

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

.hidden {
    display: none !important;
}

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

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

.section {
    padding: 120px 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: 72px;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease;
}

.navbar.is-scrolled {
    background: rgba(11, 13, 14, 0.88);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.nav-inner {
    width: min(1280px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    font-size: 17px;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 30px;
    height: 30px;
    color: var(--accent);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a {
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector {
    height: 38px;
    max-width: 118px;
    padding: 0 30px 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #111415;
    color: var(--muted);
    font-size: 13px;
    outline: 0;
}

.language-selector:focus {
    border-color: rgba(141, 228, 196, 0.55);
}

.nav-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    border-radius: 11px;
    background: var(--text);
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.nav-download svg {
    width: 17px;
}

.hero {
    position: relative;
    min-height: 820px;
    padding: 150px 0 92px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: 68%;
    height: 100%;
    overflow: hidden;
    opacity: 0.88;
    mask-image: linear-gradient(to right, transparent 0%, black 32%, black 100%);
}

.hero-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(11, 13, 14, 0.2), rgba(11, 13, 14, 0.45)),
        radial-gradient(circle at 76% 45%, transparent 0, rgba(11, 13, 14, 0.08) 38%, rgba(11, 13, 14, 0.7) 95%);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(520px, 0.92fr) minmax(500px, 1.08fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    padding-top: 18px;
}

.release-line {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: #b9c1be;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.release-dot,
.stage-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(141, 228, 196, 0.1);
}

.hero h1 {
    margin: 0;
    font-size: clamp(50px, 4.6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 760;
    word-break: keep-all;
}

.hero-emphasis {
    color: var(--accent-strong);
}

.hero-lead {
    max-width: 560px;
    margin: 30px 0 0;
    color: #c6cecb;
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.hero-detail {
    max-width: 530px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
}

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

.button {
    height: 52px;
    padding: 0 20px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button svg {
    width: 19px;
    height: 19px;
}

.button-primary {
    min-width: 218px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 760;
    box-shadow: 0 16px 40px rgba(66, 184, 143, 0.16);
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-primary:disabled {
    cursor: not-allowed;
    background: #27302d;
    color: #818a87;
    box-shadow: none;
    transform: none;
}

.button-quiet {
    border: 1px solid var(--line-strong);
    color: #d5d9d7;
    background: rgba(15, 18, 19, 0.62);
}

.button-quiet:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(24, 27, 28, 0.82);
}

.platform-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: var(--muted-2);
    font-size: 12px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 520px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.hero-facts div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-facts strong {
    color: #dfe4e2;
    font-size: 14px;
}

.hero-facts span {
    color: var(--muted-2);
    font-size: 12px;
}

.product-stage {
    position: relative;
    padding: 72px 0 58px;
}

.stage-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px 16px;
    color: #d3d9d6;
    font-size: 12px;
    font-weight: 650;
}

.app-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px;
    background: #0d1011;
    box-shadow:
        0 42px 100px rgba(0, 0, 0, 0.62),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
    transform-origin: left center;
}

.window-chrome {
    height: 38px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: #141718;
    color: #9ba39f;
    font-size: 11px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b4140;
}

.window-meta {
    justify-self: end;
    color: #69716e;
}

.player-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1110 / 682;
    overflow: hidden;
    background: #070a0b;
}

.player-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% center;
    filter: saturate(0.86) brightness(0.78) contrast(1.08);
    transform: scale(1.03);
}

.player-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(4, 7, 8, 0.34), transparent 28%),
        linear-gradient(to top, rgba(4, 7, 8, 0.96), transparent 42%),
        radial-gradient(circle at center, transparent 22%, rgba(4, 7, 8, 0.28) 100%);
}

.player-topbar,
.player-controls,
.player-caption {
    position: absolute;
    z-index: 2;
}

.player-topbar {
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 12, 0.82);
    backdrop-filter: blur(14px);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 11px;
}

.now-playing-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
}

.now-playing-mark svg {
    width: 18px;
}

.now-playing > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.now-playing strong {
    color: #eef2f0;
    font-size: 11px;
    font-weight: 680;
}

.now-playing small {
    color: #78817e;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
}

.player-tools {
    display: flex;
    gap: 16px;
    color: #9aa39f;
}

.player-tools svg {
    width: 18px;
}

.player-caption {
    left: 50%;
    bottom: 88px;
    margin: 0;
    transform: translateX(-50%);
    color: #f6f8f7;
    font-size: 14px;
    font-weight: 580;
    text-align: center;
    text-shadow: 0 2px 10px #000;
    white-space: nowrap;
}

.player-controls {
    left: 18px;
    right: 18px;
    bottom: 16px;
}

.player-progress {
    position: relative;
    height: 3px;
    margin-bottom: 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.24);
}

.player-progress span {
    position: absolute;
    inset: 0 39% 0 0;
    border-radius: inherit;
    background: var(--accent);
}

.player-progress i {
    position: absolute;
    top: 50%;
    left: 61%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e9fffa;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(141, 228, 196, 0.16);
}

.control-row {
    display: flex;
    align-items: center;
    gap: 13px;
}

.control-primary {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf2f0;
    color: #111514;
}

.control-primary svg {
    width: 18px;
}

.player-time {
    color: #c2c9c6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
}

.player-time i {
    color: #5f6865;
    font-style: normal;
}

.control-spacer {
    flex: 1;
}

.control-label {
    color: #aab2af;
    font-size: 9px;
}

.control-icon {
    width: 18px;
    color: #aab2af;
}

.codec-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    background: rgba(12, 15, 16, 0.82);
    color: #d1d7d4;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(14px);
}

.codec-chip svg {
    width: 16px;
    color: var(--accent);
}

.chip-video {
    right: -14px;
    top: 36px;
}

.chip-subtitle {
    left: -22px;
    bottom: 24px;
}

.trust-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d1011;
}

.trust-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #69726f;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.trust-inner i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #39403e;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 0.72fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 52px;
}

.section-kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.section-heading h2,
.principles-copy h2,
.download-heading h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.section-heading > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

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

.feature-card {
    position: relative;
    grid-column: span 4;
    min-height: 310px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-raised);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(141, 228, 196, 0.09);
    border-radius: 50%;
}

.feature-card-large {
    grid-column: span 8;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 46px;
    min-height: 360px;
    background:
        radial-gradient(circle at 86% 15%, rgba(107, 177, 153, 0.09), transparent 34%),
        var(--bg-raised);
}

.feature-card-wide {
    grid-column: span 8;
    min-height: 260px;
    display: grid;
    grid-template-columns: auto 1fr 0.8fr;
    align-items: center;
    gap: 24px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 58px;
    border: 1px solid rgba(141, 228, 196, 0.22);
    border-radius: 13px;
    background: rgba(141, 228, 196, 0.06);
    color: var(--accent);
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.feature-card-large .feature-icon,
.feature-card-wide .feature-icon {
    margin-bottom: 0;
}

.feature-card-large .feature-icon {
    position: absolute;
    top: 30px;
    left: 30px;
}

.feature-copy {
    align-self: end;
    padding-top: 94px;
}

.feature-copy > span,
.feature-index {
    display: block;
    margin-bottom: 11px;
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.format-matrix {
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.format-matrix span {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.022);
    color: #aeb7b4;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
}

.queue-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0d1011;
}

.queue-preview div {
    height: 38px;
    display: grid;
    grid-template-columns: 30px 1fr 24px;
    gap: 10px;
    align-items: center;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
}

.queue-preview i {
    width: 24px;
    height: 20px;
    border-radius: 5px;
    background: #242a28;
}

.queue-preview span {
    height: 5px;
    border-radius: 5px;
    background: #2c3331;
}

.queue-preview b {
    width: 14px;
    height: 4px;
    border-radius: 4px;
    background: #39413e;
}

.principles {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d1011;
}

.principles-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 104px;
    align-items: center;
}

.principles-visual {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 45%, rgba(141, 228, 196, 0.11), transparent 33%),
        #111415;
}

.principles-visual > p {
    margin: 0;
    color: #d9dfdc;
    font-size: 24px;
    font-weight: 620;
    line-height: 1.35;
    letter-spacing: -0.035em;
}

.aperture {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 16px auto 0;
    border: 1px solid rgba(141, 228, 196, 0.12);
    border-radius: 50%;
}

.aperture::before,
.aperture::after,
.aperture span {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 104px;
    height: 1px;
    transform-origin: 0 0;
    background: linear-gradient(to right, rgba(141, 228, 196, 0.65), transparent);
}

.aperture span:nth-child(1) { transform: rotate(0deg); }
.aperture span:nth-child(2) { transform: rotate(60deg); }
.aperture span:nth-child(3) { transform: rotate(120deg); }
.aperture span:nth-child(4) { transform: rotate(180deg); }
.aperture span:nth-child(5) { transform: rotate(240deg); }
.aperture span:nth-child(6) { transform: rotate(300deg); }

.aperture i {
    position: absolute;
    inset: 82px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 42px rgba(141, 228, 196, 0.25);
}

.principles-copy h2 {
    margin-top: 0;
}

.principles-copy > p {
    max-width: 600px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.principle-list {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.principle-list div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c9d0cd;
    font-size: 14px;
}

.principle-list svg {
    width: 19px;
    color: var(--accent);
}

.download-section {
    background:
        radial-gradient(circle at 50% 100%, rgba(86, 133, 117, 0.1), transparent 36%),
        var(--bg);
}

.download-heading {
    max-width: 740px;
    margin-bottom: 50px;
}

.download-heading > p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

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

.download-card {
    position: relative;
    min-height: 350px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-raised);
}

.download-card-featured {
    border-color: rgba(141, 228, 196, 0.32);
    background:
        linear-gradient(160deg, rgba(141, 228, 196, 0.07), transparent 42%),
        var(--bg-raised);
}

.download-card-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
}

.platform-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: #dce1df;
}

.platform-icon svg {
    width: 24px;
    height: 24px;
}

.download-card h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.download-card-top p {
    margin: 5px 0 0;
    color: var(--muted-2);
    font-size: 11px;
}

.release-badge {
    align-self: start;
    padding: 5px 8px;
    border: 1px solid rgba(141, 228, 196, 0.24);
    border-radius: 999px;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
    letter-spacing: 0.04em;
}

.download-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 56px;
}

.download-card-body strong {
    font-size: 14px;
}

.download-card-body span {
    color: var(--muted-2);
    font-size: 12px;
}

.download-button {
    height: 46px;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #e8ecea;
    color: #111514;
    font-size: 13px;
    font-weight: 760;
    transition: background 150ms ease, transform 150ms ease;
}

.download-button:hover {
    transform: translateY(-1px);
    background: #fff;
}

.download-button.disabled,
.download-button[aria-disabled="true"] {
    pointer-events: none;
    background: #202524;
    border-color: var(--line);
    color: #68716e;
}

.version-line {
    margin: 12px 0 0;
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    text-align: center;
}

.install-note {
    max-width: 760px;
    margin: 30px auto 0;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(17, 20, 21, 0.75);
}

.install-note > svg {
    width: 22px;
    color: var(--amber);
}

.install-note strong {
    font-size: 13px;
}

.install-note p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

footer {
    padding: 70px 0 30px;
    border-top: 1px solid var(--line);
    background: #090b0c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    padding-bottom: 56px;
}

.footer-brand p {
    max-width: 290px;
    margin: 20px 0 0;
    color: var(--muted-2);
    font-size: 13px;
    line-height: 1.7;
}

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

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links strong {
    margin-bottom: 8px;
    color: #cbd1ce;
    font-size: 12px;
}

.footer-links a {
    color: var(--muted-2);
    font-size: 12px;
    transition: color 150ms ease;
}

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

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #555d5a;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: 0.05em;
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-backdrop {
        width: 100%;
        opacity: 0.46;
        mask-image: linear-gradient(to bottom, black, transparent 88%);
    }

    .product-stage {
        max-width: 820px;
    }

    .feature-card,
    .feature-card-large,
    .feature-card-wide {
        grid-column: span 6;
    }

    .feature-card-wide {
        grid-template-columns: auto 1fr;
    }

    .queue-preview {
        display: none;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .nav-inner {
        width: calc(100% - 28px);
        grid-template-columns: 1fr auto;
    }

    .nav-links,
    .nav-download {
        display: none;
    }

    .nav-actions {
        grid-column: 2;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 72px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        font-size: clamp(46px, 13vw, 70px);
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-stage {
        padding-top: 54px;
    }

    .app-window {
        transform: none;
        border-radius: 14px;
    }

    .codec-chip {
        display: none;
    }

    .trust-inner {
        justify-content: flex-start;
        gap: 18px;
        overflow: hidden;
    }

    .trust-inner span:nth-of-type(n+6),
    .trust-inner i:nth-of-type(n+6) {
        display: none;
    }

    .section {
        padding: 84px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .feature-card,
    .feature-card-large,
    .feature-card-wide {
        grid-column: 1 / -1;
    }

    .feature-card-large {
        grid-template-columns: 1fr;
    }

    .format-matrix {
        margin-top: 10px;
    }

    .feature-card-wide {
        display: block;
    }

    .feature-card-wide .feature-icon {
        margin-bottom: 52px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .principles-visual {
        min-height: 380px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        min-height: 330px;
    }

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

@media (max-width: 540px) {
    .language-selector {
        width: 104px;
    }

    .hero h1 {
        letter-spacing: -0.055em;
    }

    .window-meta {
        display: none;
    }

    .window-chrome {
        grid-template-columns: 1fr auto 1fr;
    }

    .player-topbar {
        height: 48px;
        padding: 0 12px;
    }

    .now-playing-mark {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .player-tools,
    .now-playing small,
    .control-label {
        display: none;
    }

    .player-caption {
        bottom: 62px;
        font-size: 10px;
    }

    .player-controls {
        left: 12px;
        right: 12px;
        bottom: 10px;
    }

    .player-progress {
        margin-bottom: 8px;
    }

    .control-primary {
        width: 26px;
        height: 26px;
    }

    .feature-card {
        min-height: 280px;
        padding: 24px;
    }

    .feature-card-large .feature-icon {
        top: 24px;
        left: 24px;
    }

    .format-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .aperture {
        width: 190px;
        height: 190px;
    }

    .aperture::before,
    .aperture::after,
    .aperture span {
        width: 80px;
    }

    .aperture i {
        inset: 66px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
