:root {
    color-scheme: dark;
    --page: #101113;
    --ink: #f4f3f0;
    --secondary: #b2b2b8;
    --rule: #ffffff24;
    --accent: #a847e0;
    --button-top: #9e39d5;
    --button-bottom: #7824a5;
    --glass: #29272fa8;
    --panel: #25272c;
    --shadow: #00000066;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    color: var(--ink);
    background: var(--page);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--accent); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button:focus-visible, .download:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 7px var(--accent); }
::selection { background: var(--accent); color: #fff; }
h1, h2, p, figure { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.page { min-height: 100svh; display: flex; flex-direction: column; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 20px; z-index: 20; background: var(--page); }
.skip-link:focus { top: 12px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.wordmark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 22px; font-weight: 650; letter-spacing: -0.7px; }
.wordmark img { display: block; width: 40px; height: 40px; }
.masthead nav { display: flex; gap: 8px; }
.masthead nav a { padding: 9px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; text-decoration: none; color: var(--secondary); }
.masthead nav a:hover { color: var(--ink); border-color: var(--secondary); }
main { flex: 1; display: flex; flex-direction: column; }
.hero { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; padding-block: 12px 6px; }
h1 { font-size: clamp(46px, 5vw, 64px); font-weight: 740; line-height: 0.99; letter-spacing: -0.055em; }
h1 span { color: var(--secondary); }
.hero-copy > p { color: var(--secondary); font-size: 15px; line-height: 1.5; margin-top: 16px; }
.hero-copy a { text-decoration-color: var(--rule); }
.install { position: relative; text-align: center; padding-top: 12px; }
.free-note { font-size: 13px; font-weight: 550; margin-bottom: 14px; }
.download { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 13px 22px; color: #fff; background: linear-gradient(135deg, var(--button-top), var(--button-bottom)); border: 1px solid #ffffff40; border-radius: 15px; font-size: 17px; font-weight: 650; text-decoration: none; box-shadow: 0 6px 16px #0000001f; }
.download:hover, .app-tile:hover:not(:disabled) { filter: brightness(1.09); }
.download svg { width: 19px; height: 19px; }
.requirements { margin-top: 12px; color: var(--secondary); font-size: 12px; line-height: 1.5; }
.homebrew { margin-top: 7px; font-size: 12px; }
.homebrew summary { cursor: pointer; width: fit-content; margin: auto; padding: 9px; color: var(--secondary); }
.homebrew summary:hover { color: var(--ink); }
.brew-content { position: absolute; right: 0; top: 100%; z-index: 5; width: 365px; max-width: calc(100vw - 40px); background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 18px; text-align: left; box-shadow: 0 12px 36px var(--shadow); }
.brew-content > p:first-child { color: var(--secondary); margin-bottom: 10px; }
.brew-content code { display: block; font: 12px/1.7 ui-monospace, "SFMono-Regular", Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.brew-content .small-button { margin-top: 14px; }
#copy-status:not(:empty) { margin-top: 12px; line-height: 1.5; }

.demo { margin-block: 0 12px; }
.stage { position: relative; isolation: isolate; display: grid; place-items: center; padding: 24px 0 26px; min-height: 358px; }
.eclipse { position: absolute; z-index: -1; inset: -80px -20px 0; mask-image: linear-gradient(#000 65%, transparent 100%); overflow: hidden; pointer-events: none; }
.eclipse::before { content: ""; position: absolute; width: 78%; height: 88%; left: 11%; top: 7%; border-radius: 50%; background: radial-gradient(ellipse, #a847e03b 15%, #6b0f9e38 38%, #6b0f9e0a 66%, transparent 75%); filter: blur(28px); }
.eclipse::after { content: ""; position: absolute; width: 86%; height: 115%; left: 7%; top: 40%; border-radius: 50%; background: linear-gradient(180deg, #141019, var(--page) 64%); border-top: 1px solid #d48cff44; box-shadow: 0 -18px 64px -24px #a847e099, 0 -1px 12px #a847e02e; }
.replica { position: relative; width: 70%; container-type: inline-size; aspect-ratio: 580 / 224; }
.app-window { position: absolute; width: 580px; height: 224px; transform: scale(calc(100cqw / 580px)); transform-origin: top left; border-radius: 18px; border: 0.5px solid #ffffff55; background: linear-gradient(150deg, #ffffff13, #ffffff03 55%), var(--glass); backdrop-filter: blur(32px) saturate(1.15); -webkit-backdrop-filter: blur(32px) saturate(1.15); box-shadow: 0 22px 40px -12px var(--shadow), 0 0 0 0.5px #000000b3; }
.titlebar { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 8px 0 19px; }
.traffic-lights { display: flex; gap: 9px; }
.traffic-lights i { display: block; width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; border: 0.5px solid #ffffff30; }
.traffic-lights i:nth-child(2) { background: #ffffff26; }
.traffic-lights i:nth-child(3) { background: #ffffff26; }
.settings-glyph { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); background: #ffffff0b; border: 0.5px solid #ffffff40; border-radius: 50%; box-shadow: 0 4px 10px #0000001a; }
.settings-glyph svg { width: 22px; height: 22px; }
.launcher-content { padding: 4px 24px 18px; }
.pc-header { display: flex; align-items: center; gap: 14px; height: 42px; margin-bottom: 16px; }
.pc-icon { width: 42px; height: 34px; color: var(--accent); stroke-width: 1.9; }
.pc-details { flex-shrink: 0; }
.pc-details h2 { display: flex; align-items: center; gap: 6px; font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -0.4px; }
.pc-chevron { width: 12px; height: 8px; color: var(--secondary); stroke-width: 2; }
.pc-details p { font-size: 13px; line-height: 16px; margin-top: 2px; color: var(--secondary); }
.readiness { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 0.5px solid var(--rule); border-radius: 999px; padding: 4px 10px; font-size: 10px; line-height: 13px; font-weight: 500; background: #ffffff0b; white-space: nowrap; }
.readiness i { width: 7px; height: 7px; border-radius: 50%; background: #28cd41; flex-shrink: 0; }
.readiness svg { width: 11px; height: 11px; color: var(--secondary); }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-tile { display: flex; align-items: center; gap: 12px; min-width: 0; height: 60px; padding: 0 16px; color: #fff; border: 1px solid #ffffff40; border-bottom-color: #ffffff0a; border-radius: 14px; background: linear-gradient(135deg, #b15ae3, #8a3ab8); box-shadow: 0 4px 12px #0000002e; text-align: left; font-size: 13px; font-weight: 700; }
.tile-icon { width: 28px; height: 28px; padding: 1px; stroke-width: 2; }
.tile-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-trailing { display: flex; align-items: center; flex-shrink: 0; margin-left: auto; }
.play-icon, .play-icon svg { display: block; width: 12px; height: 12px; }
.play-icon { opacity: 0.75; }
.back-to-stream { font-size: 11px; font-weight: 600; white-space: nowrap; }
.launcher-foot { margin-top: 16px; text-align: center; color: var(--secondary); opacity: 0.65; font-size: 10px; line-height: 13px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #fff 0deg 10deg, transparent 10deg 30deg); mask-image: radial-gradient(circle, transparent 4px, #000 4.5px); opacity: 0.85; }
.replica[data-state="connecting"] .readiness i { background: #ff9500; }
.replica:not([data-state="ready"]) .readiness svg { display: none; }
.app-tile:disabled { opacity: 0.55; background: linear-gradient(135deg, #ffffff30, #ffffff17); border-color: #ffffff55; box-shadow: none; }
.text-button { color: inherit; border: 0; background: transparent; padding: 4px 0; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.demo-caption { min-height: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--secondary); font-size: 11px; line-height: 1.6; }
.demo-caption a { text-decoration-color: var(--rule); }
.no-script { margin-top: 12px; font-size: 13px; color: var(--secondary); }
.small-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 12px; min-height: 34px; background: var(--page); color: var(--ink); font-size: 12px; font-weight: 550; }
.small-button:hover { border-color: var(--secondary); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; border-top: 1px solid var(--rule); padding-block: 18px; }
.features article { display: flex; align-items: start; gap: 12px; }
.features svg { width: 19px; height: 19px; color: var(--secondary); margin-top: 1px; }
.features h2 { font-size: 14px; letter-spacing: -0.2px; font-weight: 650; }
.features p { color: var(--secondary); font-size: 12px; line-height: 1.65; margin-top: 6px; max-width: 36ch; }
.mac-details { display: flex; justify-content: space-between; gap: 22px; padding-block: 2px 14px; font-size: 11px; color: var(--secondary); line-height: 1.6; }
.mac-details p span { color: var(--ink); }
.mac-details a { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; text-decoration: none; }
.mac-details svg { width: 15px; height: 15px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--rule); padding-block: 13px 15px; font-size: 10px; line-height: 1.5; color: var(--secondary); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover, .mac-details a:hover { text-decoration: underline; }

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --page: #f4f3f0;
        --ink: #202125;
        --secondary: #62636b;
        --rule: #27293626;
        --accent: #6b0f9e;
        --button-top: #7818ac;
        --button-bottom: #5c0d88;
        --glass: #eeeeeebd;
        --panel: #faf9f7;
        --shadow: #20212b33;
    }
    .app-window { border-color: #ffffffbb; }
    .app-tile:not(:disabled) { background: linear-gradient(135deg, #7a27a8, #580c82); }
    .app-tile:disabled { color: #29272f; background: linear-gradient(135deg, #ffffff88, #79747d30); border-color: #77777770; }
    .eclipse::before { background: radial-gradient(ellipse, #a847e02e 10%, #a847e01a 45%, transparent 72%); }
    .eclipse::after { background: linear-gradient(180deg, #f2eaf5, var(--page) 64%); border-color: #a847e033; box-shadow: 0 -18px 64px -24px #a847e059; }
    .readiness { background: #ffffff55; }
    .traffic-lights i:not(:first-child) { background: #00000020; }
}

@media (prefers-reduced-motion: no-preference) {
    .download:active, .app-tile:active:not(:disabled) { transform: scale(0.985); }
    .download, .app-tile { transition: transform 150ms ease, filter 150ms ease; }
}

@media (min-width: 901px) {
    .masthead { min-height: 54px; }
    .hero { padding-block: 10px 0; }
    h1 { font-size: 46px; }
    .hero-copy > p { margin-top: 10px; font-size: 14px; }
    .install { padding-top: 0; }
    .free-note { margin-bottom: 8px; }
    .download { min-height: 50px; padding-block: 11px; }
    .requirements { margin-top: 8px; }
    .homebrew { margin-top: 2px; }
    .homebrew summary { padding-block: 6px; }
    .stage { padding-block: 18px; }
    .features { padding-block: 10px; }
}

@media (min-width: 901px) and (min-height: 850px) {
    .hero { padding-top: 20px; }
    h1 { font-size: 54px; }
    .demo { margin-top: 10px; }
    .stage { min-height: 390px; }
    .features { padding-block: 20px; }
}

@media (max-width: 900px) {
    .wrap { width: calc(100% - 48px); }
    .hero { grid-template-columns: 1fr 265px; gap: 24px; }
    h1 { font-size: 48px; }
    .hero-copy > p { font-size: 14px; }
    .desktop-break { display: none; }
    .replica { width: 90%; }
    .stage { min-height: 0; padding-block: 32px; }
    .features { gap: 20px; }
    .mac-details { flex-direction: column; gap: 9px; }
}

@media (max-width: 650px) {
    .wrap { width: calc(100% - 40px); }
    .masthead { min-height: 72px; gap: 10px; }
    .wordmark { font-size: 20px; gap: 5px; }
    .wordmark img { width: 33px; height: 33px; }
    .masthead nav { gap: 0; }
    .masthead nav a { border: 0; padding: 10px 7px; font-size: 11px; }
    .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 20px 6px; }
    h1 { font-size: clamp(43px, 10.5vw, 64px); }
    .hero-copy > p { font-size: 15px; max-width: 42ch; }
    .install { text-align: left; max-width: 335px; padding-top: 0; }
    .free-note { margin-bottom: 10px; }
    .download { width: 100%; }
    .requirements { text-align: center; }
    .homebrew summary { margin-inline: auto; }
    .brew-content { left: 0; right: auto; max-width: calc(100vw - 40px); }
    .replica { width: 100%; }
    .stage { padding-block: 36px 30px; }
    .eclipse { inset: -10px -20px 0; }
    .eclipse::after { top: 45%; }
    .demo-caption { flex-wrap: wrap; gap: 5px 12px; align-items: center; font-size: 10px; }
    .demo { margin-bottom: 24px; }
    .features { grid-template-columns: 1fr; gap: 23px; padding-block: 24px; }
    .features article { gap: 14px; }
    .features h2 { font-size: 15px; }
    .features p { font-size: 13px; max-width: 40ch; }
    .mac-details { padding-block: 0 24px; font-size: 12px; }
    .footer { padding-block: 20px 26px; font-size: 11px; gap: 14px; }
    .footer nav { gap: 16px; }
}

.policy { width: min(100%, 720px); margin-inline: auto; padding-block: 40px 56px; gap: 20px; line-height: 1.65; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(36px, 7vw, 54px); line-height: 1.1; }
.policy .policy-lead { font-size: 19px; color: var(--ink); }
.policy p, .policy li { color: var(--secondary); }
.policy h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; margin-bottom: 12px; }
.policy section { margin-top: 12px; }
.policy section p + p { margin-top: 14px; }
.policy ol, .policy ul { margin: 0 0 16px; padding-left: 24px; }
.policy li + li { margin-top: 10px; }
.policy a { color: var(--ink); }
