:root {
  --ink: #4a4a4a;          /* matches the illustration's outlines */
  --ink-soft: #7a7a7a;
  --bg: #ffffff;           /* the illustration sits on white */
  --pink: #e8747c;
  --pink-soft: #fdecee;
  --purple: #c77de0;
  --yellow: #f3d54e;
  --yellow-soft: #fdf7dc;
  --blue: #9cc0ee;
  --blue-soft: #eaf2fd;
  --wood: #d39b6a;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: inherit; }

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--pink);
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.underline {
  background: linear-gradient(transparent 62%, var(--yellow-soft) 62%, var(--yellow-soft) 92%, transparent 92%);
  box-shadow: inset 0 -0.22em 0 -0.08em rgba(243, 213, 78, 0.55);
}

.lede {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 32ch;
}

.hero-art { margin: 0; }
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* Pillars */
.pillars {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  border-radius: var(--radius);
  padding: 28px;
  border: 3px solid transparent;
}
.pillar h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}
.pillar h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  border: 3px solid currentColor;
  vertical-align: 1px;
}
.pillar p { margin: 0; color: var(--ink-soft); }

.pillar--pink   { background: var(--pink-soft); }
.pillar--pink h2::before   { color: var(--pink); }
.pillar--yellow { background: var(--yellow-soft); }
.pillar--yellow h2::before { color: var(--yellow); border-radius: 2px; }
.pillar--blue   { background: var(--blue-soft); }
.pillar--blue h2::before {
  /* outlined triangle, like the doodles in the illustration */
  color: var(--blue);
  width: 20px;
  height: 17px;
  margin-right: 8px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%, 50% 0, 50% 36%, 25% 80%, 75% 80%, 50% 36%);
  vertical-align: -1px;
}

/* Footer */
.site-footer {
  text-align: left;
  padding: 24px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
/* line the copyright up with the content column above */
.site-footer p { margin: 0 auto; max-width: var(--max); padding: 0 24px; }

/* Mobile */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 8px 16px 48px;
    text-align: center;
  }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto; }
  .lede { margin-left: auto; margin-right: auto; }
  .pillars { grid-template-columns: 1fr; padding: 0 16px 56px; gap: 16px; }
  .site-header { padding: 16px; }
  .site-footer p { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
