:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: #000;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skipLink {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skipLink:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  background: rgba(0,0,0,0.85);
}
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center;
  filter: contrast(1.04) saturate(1.02);
  background: #000;
}
.videoShade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.06) 48%, rgba(0,0,0,0.16) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.06) 28%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap;
}
.navLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(8,10,16,0.28);
  color: #f7f9ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}
.navLink:hover {
  background: rgba(8,10,16,0.42);
  border-color: rgba(255,255,255,0.44);
  transform: translateY(-1px);
  opacity: 1;
}
.navLink:focus-visible {
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}
.navLinkPrimary {
  border-color: rgba(255,255,255,0.42);
  background: rgba(8,10,16,0.4);
}

.navLinkElectric {
  border-color: rgba(58, 189, 255, 0.95);
  background: rgba(0, 112, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(58, 189, 255, 0.55), 0 0 22px rgba(0, 153, 255, 0.34);
  animation: electricPulse 1.65s ease-in-out infinite;
}
.navLinkElectric:hover {
  border-color: rgba(138, 222, 255, 1);
  background: rgba(0, 132, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(138, 222, 255, 0.76), 0 0 30px rgba(0, 174, 255, 0.5);
}
.siteMenuLinkElectric {
  border-color: rgba(58, 189, 255, 0.88);
  background: rgba(0, 112, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(58, 189, 255, 0.48), 0 0 22px rgba(0, 153, 255, 0.28);
  animation: electricPulse 1.65s ease-in-out infinite;
}
.siteMenuLinkElectric:hover {
  border-color: rgba(138, 222, 255, 1);
  background: rgba(0, 132, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(138, 222, 255, 0.7), 0 0 30px rgba(0, 174, 255, 0.46);
}

.navLinkBrowser {
  position: relative;
  overflow: hidden;
  border-color: rgba(96, 255, 218, 0.92);
  background: linear-gradient(135deg, rgba(0, 190, 255, 0.16), rgba(174, 87, 255, 0.14));
  box-shadow: 0 0 0 1px rgba(96, 255, 218, 0.44), 0 0 24px rgba(60, 160, 255, 0.28);
  animation: browserHalo 2.2s ease-in-out infinite;
}
.navLinkBrowser::after {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(from 90deg, transparent 0deg, rgba(96, 255, 218, 0.42) 70deg, transparent 135deg, rgba(174, 87, 255, 0.36) 220deg, transparent 300deg);
  opacity: 0.35;
  pointer-events: none;
  animation: browserOrbit 4.8s linear infinite;
}
.navLinkBrowser:hover {
  border-color: rgba(170, 255, 238, 1);
  background: linear-gradient(135deg, rgba(0, 190, 255, 0.24), rgba(174, 87, 255, 0.2));
  box-shadow: 0 0 0 1px rgba(170, 255, 238, 0.72), 0 0 34px rgba(60, 160, 255, 0.42);
}
.navLinkBrowser > * ,
.navLinkBrowser {
  isolation: isolate;
}
.siteMenuLinkBrowser {
  border-color: rgba(96, 255, 218, 0.72);
  background: linear-gradient(135deg, rgba(0, 190, 255, 0.12), rgba(174, 87, 255, 0.1));
  box-shadow: 0 0 0 1px rgba(96, 255, 218, 0.32), 0 0 20px rgba(60, 160, 255, 0.2);
}
.siteMenuLinkBrowser:hover {
  border-color: rgba(170, 255, 238, 0.92);
  background: linear-gradient(135deg, rgba(0, 190, 255, 0.18), rgba(174, 87, 255, 0.16));
  box-shadow: 0 0 0 1px rgba(170, 255, 238, 0.52), 0 0 28px rgba(60, 160, 255, 0.34);
}
@keyframes browserHalo {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(96, 255, 218, 0.36), 0 0 16px rgba(60, 160, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(170, 255, 238, 0.76), 0 0 32px rgba(174, 87, 255, 0.42);
  }
}
@keyframes browserOrbit {
  to { transform: rotate(360deg); }
}
@keyframes electricPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(58, 189, 255, 0.45), 0 0 16px rgba(0, 153, 255, 0.22);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(138, 222, 255, 0.95), 0 0 34px rgba(0, 174, 255, 0.64);
  }
}
.navMenuButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(8,10,16,0.3);
  color: #f7f9ff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}
.navMenuButton:hover {
  background: rgba(8,10,16,0.42);
  border-color: rgba(255,255,255,0.44);
  transform: translateY(-1px);
}
.navMenuButton:focus-visible,
.siteMenuClose:focus-visible,
.siteMenuLink:focus-visible {
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}
.menuBackdrop {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.siteMenu {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  width: min(360px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(5,7,12,0.82);
  box-shadow: 0 28px 80px rgba(0,0,0,0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.siteMenuHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.siteMenuEyebrow {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.siteMenuClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.siteMenuSection + .siteMenuSection {
  margin-top: 18px;
}
.siteMenuLabel {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.siteMenuLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: #f7f9ff;
  text-decoration: none;
}
.siteMenuLink + .siteMenuLink {
  margin-top: 10px;
}
.siteMenuLink:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}
.siteMenuLink span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.siteMenuLink small {
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}
body.menuOpen {
  overflow: hidden;
}
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}
.footer a:hover,
.footer a:focus-visible {
  color: rgba(255,255,255,0.96);
}
.page {
  min-height: 100vh;
  background: #05070c;
  color: #eef2ff;
}
.page main {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}
.page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.page h2 {
  margin-top: 36px;
  font-size: 1.2rem;
}
.page p, .page li {
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
}
.page a {
  color: #fff;
}
.page .miniTopbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5,7,12,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
}
.page .miniTopbar a {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
}
.page .miniTopbar span {
  color: rgba(255,255,255,0.45);
  margin: 0 8px;
}
@media (max-width: 640px) {
  .topbar {
    padding: 14px;
  }
  .navLink {
    min-width: 82px;
    max-width: 100%;
    padding: 9px 12px;
    font-size: 12px;
  }
  .navMenuButton {
    padding: 9px 12px;
    font-size: 12px;
  }
  .siteMenu {
    top: 14px;
    right: 14px;
    width: min(340px, calc(100vw - 20px));
    padding: 14px;
  }
  .siteMenuLink {
    gap: 12px;
    align-items: flex-start;
  }
  .siteMenuLink {
    flex-direction: column;
  }
  .siteMenuLink small {
    text-align: left;
  }
  .footer {

    bottom: 12px;
    gap: 8px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .heroVideo {
    display: none;
  }
  .hero {
    background: radial-gradient(circle at center, #111827 0%, #05070c 100%);
  }
  .navLinkElectric,
  .siteMenuLinkElectric,
  .navLinkBrowser,
  .navLinkBrowser::after {
    animation: none;
  }
}

.easterPixel {
  position: absolute;
  left: 1.2vw;
  bottom: 1.6vh;
  z-index: 3;
  width: 3px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
  opacity: 0.14;
  cursor: default;
}
.easterPixel:hover,
.easterPixel:focus-visible {
  opacity: 0.95;
  outline: none;
}
.easterEgg {
  position: absolute;
  left: 20px;
  bottom: 52px;
  z-index: 4;
  width: min(760px, calc(100vw - 40px));
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.easterEgg img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.42);
}
.easterPixel:hover + .easterEgg,
.easterPixel:focus-visible + .easterEgg,
.easterEgg:hover {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (max-width: 640px) {
  .easterPixel {
    left: 10px;
    bottom: 14px;
  }
  .easterEgg {
    left: 10px;
    bottom: 42px;
    width: min(92vw, 520px);
  }
}
