:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --line: #e5e7eb;
  --primary: #1f4b7f;
  --primary-dark: #16385f;
  --surface: #f7f9fc;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height: 1.7;
}

.navbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  padding: .82rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 650;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline-primary {
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  background: #fff;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.25rem 0 2rem;
}

.card, .capture-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.capture-box {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  margin: 1.5rem 0;
}

h1, h2, h3 {
  color: #111827;
  font-weight: 750;
  letter-spacing: -0.015em;
}

h2 {
  margin-top: 2.2rem;
  margin-bottom: .75rem;
}

a { color: var(--primary); }

main.content { max-width: 920px; }

.quarto-title-block .quarto-title-banner {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

footer.footer { border-top: 1px solid var(--line); }

@media (max-width: 768px) {
  .hero { padding-top: 3.8rem; }
}
