:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: .04em;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

main {
  padding: 72px 0;
}

.hero {
  max-width: 680px;
  padding: 48px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -.04em;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.button:hover {
  background: #1d4ed8;
  text-decoration: none;
}

.section-heading {
  margin-bottom: 24px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.card p:last-child {
  margin-bottom: 0;
}

.list {
  display: grid;
  gap: 16px;
}

.list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.list-item:first-child {
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827;
    --surface: #1f2937;
    --text: #f3f4f6;
    --muted: #aab3c2;
    --line: #374151;
    --accent-soft: #172554;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  main {
    padding: 40px 0;
  }

  .hero {
    padding: 24px 0 40px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
