:root {
  --bg: #07070a;
  --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;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.052;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' 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)'/%3E%3C/svg%3E");
}

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::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 62% 62%, rgba(72, 50, 146, .08), transparent 38%); }
.signal-field svg { width: 100%; height: 100%; transform: translateX(10%); }
.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 { color: #aaa7b0; font-size: 11px; font-weight: 710; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a:hover { color: #fff; }

.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(3%); }
}

@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 { 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(0, 22%); opacity: .68; }
}

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