:root {
  color: #18181b;
  background: #fdfcfb;
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: #4338ca; }
.topbar, main, footer { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { color: #18181b; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
nav a { font-size: .9rem; font-weight: 600; text-decoration: none; }
main { padding-block: 4rem 5rem; }
.eyebrow { color: #4338ca; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 52rem; margin-block: .4rem 1rem; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
h2 { margin-top: 2rem; font-size: 1.45rem; line-height: 1.3; }
p, li { max-width: 48rem; color: #52525b; }
.intro { font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.75rem; }
.button { display: inline-block; padding: .75rem 1rem; border: 1px solid #d4d4d8; border-radius: .7rem; color: #27272a; font-weight: 700; text-decoration: none; }
.button.primary { border-color: #4338ca; background: #4338ca; color: white; }
.page-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; margin-block: 1rem 2rem; }
.page-links a { padding: .9rem 1rem; border: 1px solid #e4e4e7; border-radius: .75rem; background: white; font-weight: 650; text-decoration: none; }
footer { border-top: 1px solid #e4e4e7; padding-block: 1.5rem; color: #71717a; font-size: .85rem; }
@media (max-width: 640px) { .topbar { align-items: flex-start; flex-direction: column; } main { padding-block: 2.5rem 3.5rem; } }
