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

:root {
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #080810;
  color: #c4c4d4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */

nav {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ffffff08;
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

/* Main */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Glow */

.glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero */

.hero {
  text-align: center;
  max-width: 580px;
  width: 100%;
  margin-bottom: 3rem;
  position: relative;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  color: #666;
  line-height: 1.65;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ffffff0a;
  border: 1px solid #ffffff0a;
  border-radius: 16px;
  overflow: hidden;
  max-width: 860px;
  width: 100%;
}

.card {
  background: #080810;
  padding: 1.5rem;
  transition: background 0.2s;
}

.card:hover {
  background: #0e0e1a;
}

.card svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.card h2 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

/* Footer */

footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #333;
  border-top: 1px solid #ffffff06;
}

footer a {
  color: #444;
  text-decoration: none;
}

footer a:hover {
  color: #888;
}

@media (max-width: 480px) {
  nav {
    padding: 0.875rem 1rem;
  }

  main {
    padding: 1.5rem 1rem 3rem;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .hero p br {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .card {
    padding: 1.25rem;
  }

  footer {
    padding: 1.25rem 1rem;
  }
}

@media (min-width: 481px) and (max-width: 860px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
