:root {
  --bg: #070911;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f4f7fb;
  --muted: #98a2b3;
  --line: rgba(255, 255, 255, 0.14);
  --glow: rgba(87, 134, 255, 0.32);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(87, 134, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(112, 52, 255, 0.15), transparent 30%),
    linear-gradient(135deg, #05070d 0%, #0b1020 48%, #060811 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -20% -45% -20%;
  height: 55vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--glow), transparent 62%);
  filter: blur(36px);
}

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

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 17, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255,255,255,0.035));
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(70px, 14vw, 180px) 0;
  text-align: center;
}

.hero-content {
  width: min(100%, 900px);
  padding: clamp(28px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 5vw, 46px);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  box-shadow: 0 30px 120px rgba(0,0,0,0.36);
  backdrop-filter: blur(22px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 24px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  line-height: 1.7;
}

.site-footer {
  padding: 24px 0 4px;
  text-align: center;
}

.copyright {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--text);
  background: var(--panel-strong);
  transform: translateY(-1px);
  outline: none;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text);
  font-size: 0.62rem;
  letter-spacing: -0.04em;
}

@media (max-width: 720px) {
  .page-shell { padding: 14px; }

  .site-header {
    top: 10px;
    align-items: flex-start;
  }

  .nav-toggle { display: block; }

  .top-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 9, 17, 0.94);
    backdrop-filter: blur(18px);
  }

  .nav-open .top-nav { display: flex; }

  .nav-link {
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.035);
  }

  .social-name { display: none; }

  .social-link { padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
