:root {
  --bg: #000;
  --text: #f5f4f7;
  --muted: #9c99a3;
  --dim: #68656e;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --cyan: #50dcff;
  --violet: #9179ff;
  --pink: #ef4dca;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 13px; color: #08080b; background: #fff; transform: translateY(-160%); }
.skip-link:focus-visible { transform: translateY(0); }

.signal-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.signal-field svg { width: 100%; height: 100%; }
.page-shell { width: min(calc(100% - 80px), var(--max)); min-height: 100vh; margin: 0 auto; display: grid; grid-template-rows: 94px 1fr; }

.site-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 720; letter-spacing: -.035em; }
.brand img { width: 30px; height: 30px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav > a, .support-trigger { border: 0; color: #aaa7b0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 710; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav > a:hover, .support-trigger:hover, .support-trigger[aria-expanded="true"] { color: #fff; }
.support-menu { position: relative; display: flex; align-items: center; }
.support-trigger { padding: 12px 0; }
.support-popover { position: absolute; top: calc(100% + 12px); right: 0; z-index: 10; width: 260px; padding: 7px; visibility: hidden; border: 1px solid var(--line); opacity: 0; background: #000; box-shadow: 0 18px 45px rgba(0, 0, 0, .55); transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; pointer-events: none; }
.support-popover::before { position: absolute; top: -7px; right: 15px; width: 12px; height: 12px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); content: ""; background: #000; transform: rotate(45deg); }
.support-popover a { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; background: rgba(255, 255, 255, .035); }
.support-popover a:hover { background: rgba(145, 121, 255, .1); }
.support-popover span { color: #77747e; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.support-popover strong { color: #e4e1e8; font-size: 13px; font-weight: 620; letter-spacing: -.01em; text-transform: none; }
.support-menu:hover .support-popover, .support-menu[data-open="true"] .support-popover { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero { display: flex; align-items: center; padding: 50px 0 64px clamp(30px, 10vw, 150px); }
.hero-copy { width: min(650px, 62vw); }
.eyebrow { margin: 0 0 24px; color: #5fd5e9; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .19em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(64px, 6.1vw, 92px); font-weight: 550; line-height: .95; letter-spacing: -.069em; }
h1 span { color: transparent; background: linear-gradient(90deg, var(--cyan), var(--violet) 48%, var(--pink)); -webkit-background-clip: text; background-clip: text; }
.intro { max-width: 570px; margin: 30px 0 0; color: #aaa7b0; font-size: 16px; line-height: 1.65; }

.download-selector { width: min(640px, 100%); margin-top: 40px; }
.platform-tabs { display: flex; align-items: flex-end; height: 37px; border-bottom: 1px solid var(--line); }
.platform-tabs button { position: relative; height: 37px; padding: 0 18px; border: 0; color: #6e6b74; background: transparent; cursor: pointer; font: 700 10px/37px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; text-transform: uppercase; }
.platform-tabs button:first-child { padding-left: 9px; }
.platform-tabs button:hover { color: #bcb9c2; }
.platform-tabs button[aria-selected="true"] { color: #f6f4f8; }
.platform-tabs button[aria-selected="true"]::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 1px; content: ""; background: linear-gradient(90deg, var(--cyan), var(--pink)); box-shadow: 0 0 9px rgba(145,121,255,.8); }
.download-bar { min-height: 66px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 12px; border: 1px solid var(--line); border-top: 0; background: rgba(11,11,15,.84); transition: border-color .18s ease, background .18s ease; }
.download-bar:hover { border-color: var(--line-strong); background: rgba(19,17,25,.92); }
.download-prompt { width: 36px; height: 36px; display: grid; place-items: center; color: var(--pink); background: rgba(239,77,202,.07); font-size: 17px; }
.download-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.download-copy small { color: #6d6a73; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.download-copy strong { overflow: hidden; color: #d8d5dd; font: 560 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.download-bar > b { padding: 12px 14px; border-left: 1px solid var(--line); color: #bbb8c1; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; text-transform: uppercase; }
.release-meta { width: min(640px, 100%); margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #5e5b64; font: 650 9px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.release-meta p { margin: 0; }
.release-meta a { flex: 0 0 auto; color: #85818c; }
.release-meta a:hover { color: #c6c3ca; }


@media (max-width: 900px) {
  .page-shell { width: calc(100% - 40px); grid-template-rows: 80px 1fr; }
  .site-header nav { gap: 18px; }
  .site-header nav > a:first-child { display: none; }
  .hero { padding: 55px 0 70px; }
  .hero-copy { width: min(650px, 78vw); }
  .signal-field svg { width: 125%; transform: translateX(-2%); }
}

@media (max-width: 600px) {
  body { min-height: 820px; }
  .page-shell { width: calc(100% - 32px); min-height: 820px; grid-template-rows: 72px 1fr; }
  .brand { font-size: 17px; }
  .brand img { width: 27px; height: 27px; }
  .site-header nav { gap: 14px; }
  .site-header nav > a, .support-trigger { font-size: 9px; }
  .site-header nav > a:nth-child(2) { display: none; }
  .hero { align-items: flex-start; padding: 86px 0 62px; }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 19px; font-size: 8px; }
  h1 { font-size: clamp(56px, 17vw, 72px); }
  .intro { max-width: 94%; margin-top: 25px; font-size: 14px; line-height: 1.6; }
  .download-selector { margin-top: 33px; }
  .platform-tabs button { flex: 1; padding: 0 6px; }
  .platform-tabs button:first-child { padding-left: 6px; }
  .download-bar { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-right: 10px; }
  .download-bar > b { display: none; }
  .download-prompt { width: 34px; height: 34px; }
  .download-copy strong { font-size: 10px; }
  .release-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .signal-field svg { width: 190%; height: 115%; transform: translate(-40%, 20%); opacity: .68; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
