:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #cbd5f5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --primary: #60a5fa;
    --primary-dark: #3b82f6;
    --border: #1e293b;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.15), transparent 55%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 65%);
  padding: 4rem 1.5rem 3rem;
}

.hero__content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
}

.hero__tagline {
  margin: 0.75rem 0 2rem;
  color: var(--muted);
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.section + .section {
  margin-top: 3rem;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.45);
}

@media (prefers-color-scheme: dark) {
  .card {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.2);
  }
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -18px rgba(37, 99, 235, 0.5);
}

.button--secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-dark);
}

.button--ghost {
  background: transparent;
  color: var(--muted);
  border-color: rgba(148, 163, 184, 0.4);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--text);
  border-color: var(--primary);
}

.placeholder {
  border: 1px dashed var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
