*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --sidebar-w: 200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 70%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.15) 50%, transparent 50%);
}

.light-beam {
  position: absolute;
  top: -20%;
  right: 0;
  width: 50%;
  height: 140%;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 65%
  );
  transform: rotate(-8deg);
}

/* Sidebar */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 40px 0 32px;
  border-right: 1px solid var(--border);
}

.sidebar-logo {
  padding: 0 32px;
  margin-bottom: 48px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.sidebar-nav {
  list-style: none;
  flex: 1;
  padding: 0 16px;
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
}

.sidebar-discord {
  margin: 0 16px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-align: center;
  transition: color 0.15s, border-color 0.15s;
}

.sidebar-discord:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile */

.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 200;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text);
}

/* Content */

.content {
  position: relative;
  z-index: 1;
  margin-left: var(--sidebar-w);
  max-width: 640px;
  padding: 0 48px 80px;
}

.section {
  padding: 80px 0 0;
}

.section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* Hero */

.hero {
  padding-top: 120px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
}

/* Prose */

.prose p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 480px;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Services */

.service-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.service-name {
  font-weight: 500;
  flex-shrink: 0;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* References */

.logo-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.02);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  text-align: center;
}

.logo-grid span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* Team */

.team-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.team-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.team-list .name {
  font-weight: 500;
}

.team-list .role {
  font-size: 13px;
  color: var(--muted);
}

/* Contact */

.contact-lead {
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-links a:hover {
  color: var(--muted);
}

/* Footer */

footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 768px) {
  :root {
    --sidebar-w: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 220px;
    background: var(--bg);
    transition: transform 0.2s;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .content {
    margin-left: 0;
    padding: 72px 24px 60px;
  }

  .hero {
    padding-top: 24px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-list li {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .service-desc {
    text-align: left;
  }
}
