:root {
  --bg: #020307;
  --text: #f5f8ff;
  --muted: #8d97aa;
  --accent: #88d8ff;
  --accent-2: #d8a8ff;
  --line: rgba(218, 230, 255, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--bg);
}

body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 50%, rgba(24, 34, 54, 0.18), transparent 64rem),
    #020307;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

#gravity-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #020307;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 3, 7, 0.58);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow:
    9px -5px 0 -6px var(--accent-2),
    0 0 18px rgba(136, 216, 255, 0.45);
}

.site-nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

main {
  min-height: 100vh;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 540px) {
  .site-header {
    width: min(100% - 24px, var(--max-width));
  }

  .site-nav {
    gap: 10px;
    font-size: 0.84rem;
  }
}
