:root {
  --bg: #0f172a;
  --card: #ffffff;
  --accent: #6366f1;
  --text: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: var(--text);
  line-height: 1.6;
}

.hero {
  background: radial-gradient(circle at top, #1d2b59, #0f172a);
  color: white;
  padding: 4rem 1rem 5rem;
  text-align: center;
}

.container {
  width: min(1000px, 90%);
  margin: 0 auto;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.hero p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  background: white;
  color: #0f172a;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.1s ease;
}

.button:hover {
  transform: translateY(-2px);
}

main {
  background: #f8fafc;
  margin-top: -2.5rem;
  padding: 3rem 0 4rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 1.3rem 1.3rem 1.1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin-top: 0;
}

.link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.9rem;
  color: #475569;
}
