:root {
  --ink: #1a1d29;
  --muted: #5b6070;
  --accent: #4438ca;
  --amber: #d87706;
  --line: #e6e7ee;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); }

.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); font-size: 15px; }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }

main { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14em;
  margin-bottom: 20px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }

.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section p { max-width: 42em; color: var(--muted); }
.section p + p { margin-top: 12px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(68, 56, 202, 0.08);
}
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #0d7a5f;
  background: #e4f5ef;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.card-link { font-size: 15px; font-weight: 600; color: var(--accent); }

.muted { color: var(--muted); font-size: 14px; }

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .site-header nav { gap: 16px; }
}
