/* LitePlayer site. System fonts only, no external requests. */

:root {
  --bg: #f5f5f7;
  --bg-lit: #ffffff;
  --text: #1d1d1f;
  --text-2: #55555b;
  --text-3: #6e6e73;
  --hairline: rgba(0, 0, 0, .1);
  --accent: #0071e3;
  --accent-hover: #0064c8;
  --accent-text: #0066cc;
  --group: #ffffff;
  --group-head: #6e6e73;
  --control: #ffffff;
  --control-edge: rgba(0, 0, 0, .14);
  --switch-off: #e5e5ea;
  --shadow-icon: rgba(30, 36, 60, .32);
  --shadow-soft: rgba(30, 36, 60, .14);
  --wall-a: #c9d6f7;
  --wall-b: #e4d3f3;
  --wall-c: #f7dccf;

  /* The mock window (light appearance). */
  --win-edge: rgba(0, 0, 0, .18);
  --sb-bg: rgba(236, 236, 240, .72);
  --sb-text: #1d1d1f;
  --sb-text-2: #6e6e73;
  --sb-field: rgba(0, 0, 0, .055);
  --sb-sel: rgba(0, 0, 0, .085);
  --sb-line: rgba(0, 0, 0, .08);

  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161617;
    --bg-lit: #2a2a2e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #8e8e93;
    --hairline: rgba(255, 255, 255, .12);
    --accent: #0a84ff;
    --accent-hover: #3394ff;
    --accent-text: #4aa3ff;
    --group: #232325;
    --group-head: #98989d;
    --control: #3a3a3c;
    --control-edge: rgba(255, 255, 255, .1);
    --switch-off: #39393d;
    --shadow-icon: rgba(0, 0, 0, .7);
    --shadow-soft: rgba(0, 0, 0, .5);
    --wall-a: #1f2a5c;
    --wall-b: #3a2560;
    --wall-c: #4f2c3e;

    --win-edge: rgba(255, 255, 255, .16);
    --sb-bg: rgba(40, 40, 44, .7);
    --sb-text: #f2f2f4;
    --sb-text-2: #9a9aa0;
    --sb-field: rgba(255, 255, 255, .08);
    --sb-sel: rgba(255, 255, 255, .1);
    --sb-line: rgba(255, 255, 255, .08);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; padding: 8px 14px; background: var(--group); border-radius: 8px; z-index: 10; }
.skip:focus { top: 16px; }

p { margin: 0 0 1em; }
h1, h2 { text-wrap: balance; }
.sub, .copy p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--text); }
em { font-style: normal; color: var(--text); font-weight: 500; }

kbd {
  font: 600 .82em/1 var(--font);
  display: inline-block;
  min-width: 1.6em;
  padding: .22em .42em .26em;
  text-align: center;
  color: var(--text);
  background: var(--control);
  border: 1px solid var(--control-edge);
  border-bottom-width: 2px;
  border-radius: 5px;
  vertical-align: .08em;
}

/* Hero ------------------------------------------------------------------ */

.hero {
  text-align: center;
  padding: 72px 16px 40px;
  background: radial-gradient(ellipse 60% 420px at 50% 170px, var(--bg-lit), transparent 75%);
}

.icon-stage { position: relative; width: 264px; height: 264px; margin: 0 auto 6px; }
/* A soft contact shadow where the icon "sits", plus a wide ambient one. */
.icon-stage::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 16px;
  width: 64%; height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--shadow-icon), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.app-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px var(--shadow-soft)) drop-shadow(0 3px 4px var(--shadow-soft));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.icon-stage:hover .app-icon { transform: translateY(-4px); }

.hero h1 {
  font: 700 64px/1.05 var(--font-rounded);
  letter-spacing: -.03em;
  margin: 0 0 12px;
}
.tagline { font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; margin: 0 auto 10px; max-width: 22em; }
.sub { font-size: 19px; color: var(--text-2); max-width: 31em; margin: 0 auto 30px; }

.button {
  display: inline-block;
  font: 500 17px/1 var(--font);
  letter-spacing: -.01em;
  padding: 13px 26px 14px;
  border-radius: 999px;
}
.button.prominent {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 1px 2px rgba(0, 0, 0, .18);
}
.button.prominent:hover { background: var(--accent-hover); text-decoration: none; }
.req { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }
.req + .req { margin-top: 2px; }

/* Window mock ------------------------------------------------------------- */

.showcase {
  position: relative;
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 56px 48px 0;
}
.wallpaper {
  position: absolute;
  inset: 0 0 64px;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 15% 20%, var(--wall-a), transparent 70%),
    radial-gradient(50% 70% at 85% 30%, var(--wall-b), transparent 70%),
    radial-gradient(70% 70% at 60% 100%, var(--wall-c), transparent 70%),
    var(--bg);
}

.window {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 9.4;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 0 0 .5px var(--win-edge),
    0 30px 70px -10px rgba(20, 20, 40, .45),
    0 10px 24px -6px rgba(20, 20, 40, .25);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
  user-select: none;
}

.sidebar {
  flex: 0 0 27%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--sb-bg);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  color: var(--sb-text);
  border-right: .5px solid var(--sb-line);
  padding: 0 9px;
}
/* The window itself is clear, so the sidebar's vibrancy picks up the wallpaper behind it. */
.player { background: #000; }

.titlebar { display: flex; align-items: center; gap: 14px; height: 38px; padding-left: 4px; flex: none; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tb-icon { width: 17px; height: 13px; color: var(--sb-text-2); }

.popup {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--sb-field);
  border-radius: 6px;
  padding: 5px 8px;
  margin-bottom: 7px;
  font-weight: 500;
}
.popup svg { width: 7px; height: 11px; color: var(--sb-text-2); }
.popup.small { display: inline-flex; gap: 6px; padding: 2px 6px; margin: 0; font-weight: 400; }

.searchfield {
  display: flex; align-items: center; gap: 6px;
  background: var(--sb-field);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--sb-text-2);
  white-space: nowrap; overflow: hidden;
  margin-bottom: 7px;
}
.searchfield svg { width: 12px; height: 12px; flex: none; }
.searchfield span { overflow: hidden; text-overflow: ellipsis; }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11px; color: var(--sb-text-2); white-space: nowrap; }
.seg { display: inline-flex; background: var(--sb-field); border-radius: 6px; padding: 2px; }
.seg b { font-weight: 500; padding: 1px 7px; color: var(--sb-text); border-radius: 4px; }
.seg b:first-child { background: var(--control); box-shadow: 0 .5px 1.5px rgba(0, 0, 0, .2); }
.sort { display: inline-flex; align-items: center; gap: 4px; }

.list { flex: 1; overflow: hidden; }
.group { font-size: 10.5px; font-weight: 600; color: var(--sb-text-2); margin: 10px 0 3px 6px; text-transform: uppercase; letter-spacing: .02em; }
.row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; }
.row.selected { background: var(--sb-sel); }
.logo {
  flex: none; width: 26px; height: 18px;
  border-radius: 4px;
  display: grid; place-items: center;
  font: 700 10px/1 var(--font-rounded);
  color: #fff;
}
.l1 { background: linear-gradient(#5aa66e, #3f8a55); }
.l2 { background: linear-gradient(#e08a4c, #c86f33); }
.l3 { background: linear-gradient(#5d6bd8, #4453c0); }
.l4 { background: linear-gradient(#53a9d6, #3a8fbd); }
.l5 { background: linear-gradient(#3e7e9e, #2c6684); }
.l6 { background: linear-gradient(#c9a142, #b0862a); }
.l7 { background: linear-gradient(#8e6a54, #74533f); }
.l8 { background: linear-gradient(#b0569e, #934285); }
.meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.meta b, .meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta b { font-weight: 500; display: flex; align-items: center; gap: 3px; }
.meta small { font-size: 10.5px; color: var(--sb-text-2); }
.star { width: 10px; height: 10px; color: #f5b417; flex: none; }
.badge { font-size: 9.5px; font-weight: 600; padding: 1px 5px; border-radius: 4px; color: #1f8a3c; background: rgba(52, 199, 89, .18); }
@media (prefers-color-scheme: dark) { .badge { color: #5fd47e; } }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #34c759; flex: none; }
.sb-foot { display: flex; align-items: center; gap: 8px; height: 30px; border-top: .5px solid var(--sb-line); font-size: 10.5px; color: var(--sb-text-2); flex: none; }
.pm { display: grid; place-items: center; width: 18px; height: 16px; border-radius: 4px; background: var(--sb-field); }
.pm svg { width: 9px; height: 9px; color: var(--sb-text); }

.player-lights { display: none !important; }
.player { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.player .video { position: absolute; inset: 8% 0; width: 100%; height: 84%; }

.np {
  position: absolute; top: 3%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 10px;
  background: rgba(30, 30, 34, .62);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14);
  color: #fff;
  white-space: nowrap;
}
.np-icon { width: 17px; height: 15px; color: rgba(255, 255, 255, .6); }
.np b { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; }
.np em { font-size: 9px; font-weight: 700; color: #ff453a; display: inline-flex; align-items: center; gap: 3px; margin-left: 3px; }
.np em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff453a; }
.np small { display: block; font-size: 10px; color: rgba(255, 255, 255, .62); }

.controls {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  width: min(78%, 520px);
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(30, 30, 34, .62);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .88);
}
.c-icon { width: 15px; height: 15px; flex: none; }
.c-icon.big { width: 17px; height: 17px; }
.vol { position: relative; width: 52px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); flex: none; }
.vol::before { content: ""; position: absolute; inset: 0 40% 0 0; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.vol i { position: absolute; left: 60%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.q { font-size: 10px; color: rgba(255, 255, 255, .55); }
.c-mid { flex: 1; display: flex; justify-content: center; align-items: center; gap: 18px; }
.live { font-size: 10px; font-weight: 700; color: #ff453a; display: inline-flex; align-items: center; gap: 4px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff453a; }

figcaption { text-align: center; font-size: 14px; color: var(--text-3); margin-top: 22px; padding: 0 16px; }
figcaption kbd { font-size: 12px; }

/* Feature sections ------------------------------------------------------ */

.feature {
  max-width: 1000px;
  margin: 0 auto;
  padding: 104px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature.flip .copy { order: 2; }
.feature h2, .beta h2 {
  font: 700 34px/1.12 var(--font-rounded);
  letter-spacing: -.025em;
  margin: 0 0 16px;
}
.copy p { color: var(--text-2); }
.copy .note { font-size: 15px; color: var(--text-3); }
.art { display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* Keycaps, drawn like a Mac keyboard. */
.keys { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.keygroup { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.keygroup > span:first-child { display: flex; align-items: center; gap: 6px; }
.arrows { flex-direction: column; gap: 4px !important; }
kbd.cap {
  font: 500 19px/1 var(--font);
  min-width: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 9px;
  border: 0;
  color: var(--text);
  background: linear-gradient(var(--control), color-mix(in srgb, var(--control) 92%, #000));
  box-shadow:
    0 0 0 .5px var(--control-edge),
    0 2px 0 color-mix(in srgb, var(--control-edge) 100%, transparent),
    0 4px 10px -2px var(--shadow-soft);
}
.arrows kbd.cap { height: 25px; width: 52px; font-size: 13px; border-radius: 7px; }
.through { color: var(--text-3); }
.keylabel { font-size: 13px; color: var(--text-3); }

.tokenfield {
  display: flex; align-items: center; gap: 6px;
  width: min(100%, 340px);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--group);
  box-shadow: 0 0 0 .5px var(--control-edge), 0 4px 14px -4px var(--shadow-soft);
  color: var(--text-3);
}
.tokenfield svg { width: 14px; height: 14px; flex: none; margin-right: 2px; }
.token {
  font-size: 14px; line-height: 1; color: var(--accent-text);
  padding: 4px 8px 5px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.caret { width: 1.5px; height: 18px; background: var(--accent); margin-left: 1px; }

/* Mini player above a full-screen document. */
.desk {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--group);
  box-shadow: 0 0 0 .5px var(--control-edge), 0 20px 50px -16px var(--shadow-soft);
  overflow: hidden;
}
.doc { padding: 34px 32px; display: flex; flex-direction: column; gap: 12px; }
.doc i { display: block; height: 8px; border-radius: 4px; background: var(--hairline); }
.doc i:first-child { width: 46%; height: 12px; margin-bottom: 8px; background: color-mix(in srgb, var(--text) 18%, transparent); }
.doc i.short { width: 72%; }
.doc i.shorter { width: 40%; }
.mini {
  position: absolute; right: 18px; bottom: 18px;
  width: 52%; aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 18px 34px -8px rgba(10, 10, 30, .5), 0 4px 10px rgba(10, 10, 30, .2);
}
.mini .video { width: 100%; height: 100%; display: block; }

/* SwiftUI-style grouped form. */
.form { width: min(100%, 400px); font-size: 15px; letter-spacing: -.01em; }
.form-head { font-size: 13px; font-weight: 600; color: var(--group-head); margin: 18px 0 7px 12px; }
.form-head:first-child { margin-top: 0; }
.form-group {
  background: var(--group);
  border-radius: 12px;
  box-shadow: 0 0 0 .5px var(--control-edge), 0 6px 18px -8px var(--shadow-soft);
  overflow: hidden;
}
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 14px; position: relative; }
.form-row + .form-row::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: .5px solid var(--hairline); }
.dim { color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }
.chev { width: 7px; height: 12px; color: var(--text-3); opacity: .7; }
.switch { flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--switch-off); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25), 0 0 0 .5px rgba(0, 0, 0, .04); }
.switch.on { background: #34c759; }
.switch.on::after { left: 20px; }
.segmented { display: inline-flex; flex: none; padding: 2px; border-radius: 8px; background: var(--switch-off); font-size: 13px; }
.segmented b { font-weight: 500; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.segmented b.on { background: var(--control); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04); }
.dev { display: inline-flex; align-items: center; gap: 12px; }
.d-icon { width: 22px; height: 17px; color: var(--accent-text); }
.form-foot { font-size: 13px; color: var(--text-3); margin: 8px 12px 0; display: flex; align-items: center; gap: 6px; }
.lock { width: 10px; height: 13px; color: var(--text-3); }

/* macOS sheet. */
.sheet {
  width: min(100%, 380px);
  padding: 22px 20px 18px;
  border-radius: 14px;
  background: var(--group);
  box-shadow: 0 0 0 .5px var(--control-edge), 0 24px 50px -18px var(--shadow-soft), 0 4px 12px -4px var(--shadow-soft);
  font-size: 13px;
  letter-spacing: 0;
}
.sheet-title { font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.sheet-text { color: var(--text-2); margin: 0 0 12px; }
.textfield {
  display: flex; align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: 0 0 0 .5px var(--control-edge), 0 0 0 3.5px color-mix(in srgb, var(--accent) 45%, transparent);
  white-space: nowrap; overflow: hidden;
}
.typed { overflow: hidden; text-overflow: clip; }
.textfield .caret { height: 15px; flex: none; }
.sheet-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.btn {
  min-width: 72px; text-align: center;
  padding: 4px 14px 5px;
  border-radius: 6px;
  background: var(--control);
  box-shadow: 0 0 0 .5px var(--control-edge), 0 1px 1.5px rgba(0, 0, 0, .12);
  font-weight: 500;
}
.btn.default { color: #fff; background: linear-gradient(color-mix(in srgb, var(--accent) 88%, #fff), var(--accent)); box-shadow: 0 .5px 1.5px rgba(0, 0, 0, .25); }

/* Plain closing sections ------------------------------------------------- */

.beta {
  max-width: 560px;
  margin: 104px auto 0;
  padding: 44px 32px 36px;
  text-align: center;
  background: var(--group);
  border-radius: 22px;
  box-shadow: 0 0 0 .5px var(--control-edge), 0 18px 40px -22px var(--shadow-soft);
  scroll-margin-top: 32px;
}
.beta img { width: 88px; height: 88px; margin-bottom: 10px; filter: drop-shadow(0 6px 8px var(--shadow-soft)); }
.beta h2 { font-size: 28px; margin-bottom: 10px; }
.beta > p { color: var(--text-2); }
.platforms { margin: 22px 0 0; text-align: left; border-top: .5px solid var(--hairline); }
.platforms div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: .5px solid var(--hairline); font-size: 15px; }
.platforms dt { font-weight: 500; }
.platforms dd { margin: 0; color: var(--text-3); text-align: right; }

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 32px 56px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.site-footer p { margin-bottom: 14px; }
.site-footer nav { display: flex; justify-content: center; gap: 20px; }

/* Privacy and other text pages ------------------------------------------- */

.page-head { max-width: 680px; margin: 0 auto; padding: 64px 24px 0; display: flex; align-items: center; gap: 16px; }
.page-head img { width: 64px; height: 64px; filter: drop-shadow(0 4px 6px var(--shadow-soft)); }
.page-head .home { font: 600 17px/1.2 var(--font-rounded); color: var(--text); letter-spacing: -.01em; }
.prose { max-width: 680px; margin: 0 auto; padding: 32px 24px 0; }
.prose h1 { font: 700 44px/1.1 var(--font-rounded); letter-spacing: -.03em; margin: 0 0 18px; }
.prose h2 { font: 700 22px/1.25 var(--font-rounded); letter-spacing: -.015em; margin: 44px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose .lede { font-size: 21px; line-height: 1.45; color: var(--text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--text-3); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
  .showcase { margin-left: 24px; margin-right: 24px; padding: 44px 36px 0; }
}

@media (max-width: 900px) {
  .window { font-size: 10px; }
  .sidebar { flex-basis: 32%; padding: 0 7px; }
  .filters { display: none; }
  .row:nth-child(n+8) { display: none; }
  .controls { gap: 8px; padding: 7px 12px; }
  .q, .vol { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding-top: 88px; max-width: 600px; }
  .feature.flip .copy { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .icon-stage { width: 200px; height: 200px; }
  .icon-stage::after { bottom: 12px; height: 20px; }
  .hero h1 { font-size: 46px; }
  .tagline { font-size: 22px; }
  .sub { font-size: 17px; }
  .showcase { margin: 16px 0 0; padding: 28px 16px 0; }
  .wallpaper { border-radius: 0; inset: 0 0 52px; }
  .window { aspect-ratio: 4 / 3; border-radius: 10px; }
  .sidebar { display: none; }
  .player-lights { display: flex !important; position: absolute; top: 9px; left: 10px; z-index: 2; gap: 6px; }
  .player-lights i { width: 9px; height: 9px; }
  .np { top: 12%; }
  .np { padding: 5px 10px; gap: 7px; }
  .np-icon { display: none; }
  .controls { width: 88%; gap: 9px; }
  .c-mid { gap: 12px; }
  .feature { padding: 72px 20px 0; gap: 32px; }
  .feature h2 { font-size: 28px; }
  .keys { gap: 18px; }
  kbd.cap { width: 46px; height: 46px; font-size: 17px; }
  .arrows kbd.cap { width: 46px; height: 22px; }
  .beta { margin: 80px 16px 0; padding: 36px 20px 28px; }
  .platforms div { flex-direction: column; gap: 0; }
  .platforms dd { text-align: left; }
  .site-footer { padding: 64px 20px 48px; }
  .page-head { padding-top: 40px; }
  .prose h1 { font-size: 36px; }
  .prose .lede { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-icon { transition: none; }
  .icon-stage:hover .app-icon { transform: none; }
  html { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
