:root {
  color-scheme: dark;
  --bg: #030714;          /* BrandBackground (dark) */
  --text: #edf4ff;
  --muted: #b4c0d6;
  --brand: #1dbe89;       /* BrandPrimary */
  --brand-strong: #109f72;
  --card: #0b1324;        /* BrandSurface (dark) */
  --line: #23314e;
}

* {
  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, #0d2453 0%, transparent 40%),
              radial-gradient(circle at 15% 80%, #10233d 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: #1dbe89;
  top: -80px;
  right: -40px;
}

.shape-2 {
  width: 220px;
  height: 220px;
  background: #2f7df0;
  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(12, 73, 161, 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: #4dcaa1;
  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);
  }
}
