:root {
  --bg: #06120f;
  --text: #ecf8f3;
  --muted: #b7cdc2;
  --brand: #0ea56b;
  --brand-strong: #0b7f52;
  --card: #0d1d18;
  --line: #204136;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #124f3e 0%, transparent 40%),
              radial-gradient(circle at 15% 80%, #0f2d24 0%, transparent 35%),
              var(--bg);
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.35;
}

.shape-1 {
  width: 240px;
  height: 240px;
  background: #1fcf8a;
  top: -80px;
  right: -40px;
}

.shape-2 {
  width: 220px;
  height: 220px;
  background: #2ea17d;
  bottom: -60px;
  left: -30px;
}

.hero,
main,
footer {
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding: 3.5rem 0 1rem;
  animation: fadeUp 0.6s ease-out;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

h1 {
  margin: 0.8rem 0 0.5rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 127, 82, 0.25);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.card-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.links {
  margin-top: 1rem;
}

.links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.links a {
  color: #4fd9a4;
  font-weight: 700;
}

footer {
  color: var(--muted);
  font-size: 0.93rem;
  padding: 2rem 0 2.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
