:root {
  --purple: #5427A5;
  --purple-dark: #3f1d80;
  --text: #171717;
  --muted: #666666;
  --border: #e8e8e8;
  --background: #f8f8fa;
  --white: #ffffff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
}

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

.eyebrow {
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: 0 0 24px;
}

h2 {
  font-size: 2rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 10px;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.button {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 10px;
}

.button:hover {
  background: var(--purple-dark);
  text-decoration: none;
}

.content-page {
  max-width: 780px;
}

.content-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.meta {
  color: var(--muted);
  margin-bottom: 36px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  main {
    padding-top: 36px;
  }

  .hero {
    padding-top: 24px;
  }
}
