:root {
  color: #241536;
  background: #faf8ff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  color: #6b21a8;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #5b466d;
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover {
  color: #6b21a8;
}

.hero {
  margin: 2.5rem 0 5rem;
  padding: clamp(2rem, 8vw, 6rem);
  border-radius: 1.5rem;
  background: radial-gradient(circle at top right, #e9d5ff, transparent 42%),
    linear-gradient(135deg, #ffffff, #f3e8ff);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #7e22ce;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.hero > p:not(.eyebrow) {
  max-width: 620px;
  color: #5b466d;
  font-size: 1.125rem;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #7e22ce;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

section {
  margin-bottom: 5rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.resource-card,
.empty-state {
  border: 1px solid #e9d5ff;
  border-radius: 1rem;
  background: white;
  padding: 1.5rem;
}

.resource-card p,
.empty-state p {
  color: #5b466d;
}

.resource-card span {
  color: #7e22ce;
  font-size: 0.875rem;
  font-weight: 700;
}

footer {
  padding: 2rem 0;
  border-top: 1px solid #e9d5ff;
  color: #5b466d;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .hero {
    margin-top: 1rem;
  }
}
