:root { --ground: #050506; --raised: #101013; --ink: #f5f5f7; --soft: #9d9da8; --line: rgba(255, 255, 255, .11);
  --tint: #2f86ff; --out: cubic-bezier(.23, 1, .32, 1); }
* { box-sizing: border-box; margin: 0; }
body { background: var(--ground); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; }
.small { font-size: 13px; color: var(--soft); }

header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(18px, 4vw, 48px); background: linear-gradient(rgba(5, 5, 6, .85), transparent); }
.brand, nav { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
nav { gap: 22px; font-size: 14px; }
nav a { text-decoration: none; padding: 8px 0; }
.pill { background: var(--ink); color: var(--ground); border-radius: 99px; padding: 8px 18px; }

.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 100px 22px 60px; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 45% at 50% 62%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%); }
h1 { font-size: clamp(104px, 24vw, 300px); line-height: .92; letter-spacing: -.06em; font-weight: 800; }
.sung { font-size: clamp(22px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.02em; margin: 18px 0 40px; max-width: 20em; }
.sung span { color: #45454f; transition: color .35s var(--out); }
.sung span.on { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; border-radius: 99px; text-decoration: none;
  font-weight: 600; border: 1px solid var(--line); background: var(--raised); transition: transform .16s var(--out), background-color .2s ease; }
.button.solid { background: var(--ink); color: var(--ground); border-color: transparent; }
.button:active, #copy:active { transform: scale(.97); }
.need { margin-top: 18px; }
.scroll { margin-top: 26px; padding: 10px 14px; text-underline-offset: 4px; }
/* A Windows visitor sees their download first, filled in. */
.for-windows .windows { order: -1; background: var(--ink); color: var(--ground); border-color: transparent; }
.for-windows .button.solid { background: var(--raised); color: var(--ink); border-color: var(--line); }

.player { width: min(1240px, 100% - 44px); margin: 0 auto; padding: 80px 0 24px; display: grid; align-items: center;
  grid-template-columns: minmax(0, 2.1fr) minmax(250px, 1fr); gap: 20px 32px; }
.player h2 { grid-column: 1 / -1; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.035em; line-height: 1.1; }
.screen { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: clamp(12px, 1.6vw, 24px); overflow: hidden;
  background: #000; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 120px -30px color-mix(in srgb, var(--tint) 55%, transparent), 0 30px 70px rgba(0, 0, 0, .6); }
video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s var(--out); }
video.on { opacity: 1; }
.choose { list-style: none; padding: 0; display: grid; gap: 8px; }
.choose button { width: 100%; text-align: left; font: inherit; color: var(--soft); background: transparent; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 18px; cursor: pointer;
  transition: transform .16s var(--out), background-color .2s ease, border-color .2s ease; }
.choose button:active { transform: scale(.98); }
.choose strong { display: block; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.choose span { display: block; font-size: 13px; line-height: 1.4; }
.choose button[aria-pressed="true"] { background: color-mix(in srgb, var(--tint) 18%, var(--raised));
  border-color: color-mix(in srgb, var(--tint) 65%, transparent); color: var(--ink); }

.facts { width: min(1160px, 100% - 44px); margin: 12vh auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.facts article { border-top: 1px solid var(--line); padding: 30px 0 52px; }
.facts h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.facts p { color: var(--soft); font-size: 15px; }
.install { text-align: center; padding: 14vh 22px; display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--line);
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--tint) 22%, transparent), transparent 70%); }
.install h2 { font-size: clamp(56px, 10vw, 130px); letter-spacing: -.05em; line-height: 1; margin-bottom: 34px; }
.or { margin: 48px 0 10px; font-weight: 600; font-size: 15px; }
.command { display: flex; align-items: center; gap: 10px; background: var(--raised); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px 8px 8px 20px; width: min(100%, 780px); margin-bottom: 10px; }
code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; white-space: nowrap; flex: 1; min-width: 0; text-align: left; padding: 6px 0; }
#copy { font: 600 14px -apple-system, sans-serif; background: var(--ink); color: var(--ground); border: 0; border-radius: 10px;
  min-height: 38px; min-width: 82px; cursor: pointer; transition: transform .16s var(--out); }
.plain { width: min(760px, 100% - 44px); margin: 0 auto; padding: 80px 0; border-top: 1px solid var(--line); }
.plain h2 { font-size: 24px; margin-bottom: 26px; }
dt { font-weight: 600; margin-bottom: 4px; }
dd { color: var(--soft); margin-bottom: 24px; }
footer { border-top: 1px solid var(--line); padding: 32px 22px 48px; text-align: center; font-size: 14px; color: var(--soft); }

@media (hover: hover) and (pointer: fine) {
  .button:not(.solid):hover { background: #1b1b20; }
  .for-windows .windows:hover { background: var(--ink); }
  .for-windows .button.solid:hover { background: #1b1b20; }
  .choose button[aria-pressed="false"]:hover { background: var(--raised); }
}
/* Narrow screens: the picture on top, the names in two columns, and only the chosen one explained. */
@media (max-width: 860px) {
  .player { grid-template-columns: 1fr; padding-top: 64px; }
  .choose { grid-template-columns: 1fr 1fr; align-items: start; }
  .choose button { min-height: 48px; }
  .choose button[aria-pressed="false"] span { display: none; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
