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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

a {
  color: rgba(79, 209, 197, 0.7);
  transition: color 0.25s;
}

a:hover {
  color: rgba(79, 209, 197, 1);
}

/* Index page */

.container {
  text-align: center;
  padding: 2rem;
}

body:has(.container) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container h1 {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: #f0f0f0;
  margin-bottom: 3rem;
  text-transform: lowercase;
}

.services {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.services a {
  display: block;
  padding: 1rem 2rem;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #c0c0c0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.services a:hover {
  color: #e8e8e8;
  border-color: rgba(79, 209, 197, 0.25);
  box-shadow: 0 0 20px rgba(79, 209, 197, 0.07), 0 0 4px rgba(79, 209, 197, 0.1);
}

.attribution {
  margin-top: 3rem;
}

.attribution a {
  color: #666;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  transition: color 0.25s;
}

.attribution a:hover {
  color: #999;
}

/* Content pages */

.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  line-height: 1.7;
}

.content .back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  text-decoration: none;
  opacity: 0.5;
}

.content .back:hover {
  opacity: 1;
}

.content h1 {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #f0f0f0;
  margin-bottom: 0.5rem;
}

.content h2 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #c0c0c0;
  margin: 2rem 0 0.5rem;
}

.content p,
.content li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.content ul {
  padding-left: 1.5rem;
}

/* Responsive */

@media (max-width: 480px) {
  .container h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .services {
    flex-direction: column;
    align-items: center;
  }

  .services a {
    width: 140px;
  }
}
