:root {
  --teal: #0f8b8d;
  --teal-strong: #0a6e70;
  --teal-soft: #e3f4f3;
  --brand-red: #b8392f;
  --bg: #f6fafa;
  --surface: #ffffff;
  --text: #16302f;
  --muted: #4f6766;
  --border: #d5e6e5;
  --shadow: 0 1px 2px rgb(16 48 47 / 0.06), 0 8px 24px rgb(16 48 47 / 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #3cc4c0;
    --teal-strong: #6fd8d4;
    --teal-soft: #123a3a;
    --brand-red: #f0807a;
    --bg: #0d1a1a;
    --surface: #142626;
    --text: #e4f1f0;
    --muted: #9db8b6;
    --border: #22403f;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  padding: 24px 16px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-red);
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

.intro {
  text-align: center;
  max-width: 620px;
  margin: 32px auto 48px;
}

.intro h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--teal); }
.card:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.card-art {
  flex: 1;
  min-height: 140px;
  border-radius: 19px 19px 0 0;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
}

.card-art svg { width: 55%; max-height: 70%; }

.card-body { padding: 24px 24px 8px; }

.card-body h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-cta {
  margin: 16px 24px 24px;
  font-weight: 600;
  color: var(--teal-strong);
}

.site-footer {
  text-align: center;
  padding: 24px 16px 32px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.site-footer p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
