:root {
  --brand-300: #cfff41;
  --brand-400: #cfff41;
  --brand-500: #cfff41;
  --brand-600: #cfff41;
  --brand-700: #9eea2f;
  --bg-deep: #050507;
  --text-main: #f0f0ec;
  --text-muted: #747472;
  --text-faint: #52525b;
  --border-light: #292927;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(207,255,65,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(207,255,65,.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(5, 5, 7, 0.72);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #050505;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

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

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  background: #050505;
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 1.35rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #050505;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-600);
}

.hero {
  min-height: 92svh;
  padding: clamp(8rem, 13vw, 11rem) 2rem clamp(4rem, 8vw, 7rem);
  display: flex;
  align-items: center;
}

.section-inner,
.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-badge,
.section-label,
.card-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
.section-title {
  max-width: 1120px;
  color: var(--text-main);
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-sub,
.section-subtitle {
  max-width: 760px;
  margin-top: 1.8rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero-ctas,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

section {
  padding: clamp(4rem, 8vw, 7rem) 2rem;
  border-top: 1px solid var(--border-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  margin-top: 2.5rem;
}

.card,
.panel {
  min-height: 320px;
  padding: 1.6rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.018);
}

.card h2,
.card h3,
.panel h2,
.panel h3 {
  color: var(--text-main);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.card p,
.panel p,
.list li {
  margin-top: 1rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  margin-top: 2.5rem;
}

.split .panel {
  border: 0;
}

.split .panel + .panel {
  border-left: 1px solid var(--border-light);
}

.list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.footer {
  padding: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .header {
    padding: 0.85rem 1.25rem;
  }

  .header-inner {
    position: relative;
  }

  .hamburger {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border-light);
    background: rgba(5, 5, 5, 0.98);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .header .btn {
    display: none;
  }

  .hero,
  section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split .panel + .panel {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }

  .hero-ctas,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
