:root {
  --bg: #000;
  --text: #f7f7f8;
  --muted: #aaa7b0;
  --line: rgba(255, 255, 255, .2);
  --cyan: #50dcff;
  --violet: #9179ff;
  --pink: #ef4dca;
  --max: 1240px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  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 { touch-action: manipulation; -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); }

.magnetic-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.filtered-output {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 80px), var(--max));
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  grid-template-rows: 94px minmax(0, 1fr);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.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: 10px; }
.site-header nav > a, .support-trigger {
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  color: #f2f0f5;
  background: rgba(5, 5, 7, .94);
  cursor: pointer;
  font-size: 10px;
  font-weight: 710;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.site-header nav > a:hover, .support-trigger:hover, .support-trigger[aria-expanded="true"] {
  border-color: #fff;
  color: #050506;
  background: #fff;
}
.support-menu { position: relative; display: flex; align-items: center; }
.support-menu::after { position: absolute; top: 100%; right: 0; width: 260px; height: 14px; content: ""; }
.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: #09090b;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}
.support-popover a { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; }
.support-popover a:hover { background: rgba(255, 255, 255, .06); }
.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; }
.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; min-height: 0; align-items: center; padding: 0 0 0 clamp(30px, 8vw, 120px); }
.hero-stage { position: relative; z-index: 0; width: min(960px, 82vw); }
.signal-field {
  position: absolute;
  top: 50%;
  left: 64.5%;
  z-index: -1;
  width: clamp(1000px, 100vw, 2200px);
  overflow: visible;
  transform: translate(-50.7%, -110%);
  pointer-events: none;
}
.signal-field svg { width: 100%; height: auto; overflow: visible; }
.gradient-ring {
  transform-box: view-box;
  transform-origin: 1550px 1100px;
  animation: ring-orbit 4s infinite;
  will-change: transform;
}
@keyframes ring-orbit {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.25, .25, .8, .6); }
  75% { transform: rotate(360deg); animation-timing-function: cubic-bezier(.3, .2, .7, .9); }
  100% { transform: rotate(720deg); }
}
.hero-copy { position: relative; z-index: 1; width: 100%; }
h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(64px, 6.5vw, 100px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
  word-spacing: .1em;
  white-space: nowrap;
}
.intro { max-width: 520px; margin: 30px 0 0; color: #d0cdd5; font-size: 18px; line-height: 1.55; }
.launch-link {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  margin-top: 42px;
  padding: 15px 18px 15px 20px;
  border: 1px solid #fff;
  color: #050506;
  background: #fff;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -.01em;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.launch-link b { font-size: 16px; font-weight: 500; }
.launch-link:hover { color: #fff; background: #000; transform: translateY(-2px); }

@media (max-width: 900px) {
  .page-shell { width: calc(100% - 40px); grid-template-rows: 80px minmax(0, 1fr); }
  .hero { padding: 0; }
  .hero-stage { width: min(760px, calc(100vw - 40px)); }
}

@media (max-width: 600px) {
  .page-shell { width: calc(100% - 32px); grid-template-rows: 72px minmax(0, 1fr); }
  .brand { font-size: 17px; }
  .brand img { width: 27px; height: 27px; }
  .brand span { display: none; }
  .site-header nav { gap: 6px; }
  .site-header nav > a, .support-trigger { padding: 9px 8px; font-size: 8px; }
  .hero { align-items: center; padding: 0; }
  .hero-stage { width: 100%; }
  h1 { max-width: 200px; font-size: clamp(42px, 11.5vw, 48px); line-height: .95; letter-spacing: -.025em; word-spacing: .08em; white-space: normal; }
  .intro { max-width: 205px; margin-top: 22px; font-size: 15px; }
  .launch-link { margin-top: 32px; }
  .signal-field { left: 60%; opacity: .84; }
}

@media (max-height: 520px) {
  .intro { margin-top: 16px; }
  .launch-link { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .gradient-ring { animation: none; }
  .launch-link:hover { transform: none; }
}
