/* ---------------------------------------------------------------
   Behavioral Roots — warm earth-tone landing page
   Body: Palatino (serif) · Headings: humanist sans for contrast
   --------------------------------------------------------------- */

:root {
  /* Warm earth tones */
  --cream:      #f6efe2;
  --cream-deep: #efe4d0;
  --sand:       #e4d5bd;
  --terracotta: #b25c38;
  --terracotta-dark: #964a2b;
  --olive:      #6f7548;
  --clay:       #8a6a4f;
  --ink:        #362d24;
  --ink-soft:   #5c4f42;

  --serif: "Palatino Linotype", "Palatino", "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans:  "Optima", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 940px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, .eyebrow {
  font-family: var(--sans);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0.2em 0 0.4em;
  color: var(--ink);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin: 0 0 0.6em;
  color: var(--terracotta-dark);
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.3em;
  color: var(--ink);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0;
}

a { color: var(--terracotta-dark); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(120% 120% at 80% 0%, var(--sand) 0%, var(--cream-deep) 45%, var(--cream) 100%);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--sand);
}

.lede {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  max-width: 30ch;
  color: var(--ink-soft);
  margin: 0 0 1.8em;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--cream);
  background: var(--terracotta);
  padding: 14px 30px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.button:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section p { max-width: 62ch; }

.pitch { background: var(--cream); }
.why { background: var(--cream-deep); }
.why h2 { margin-bottom: 1.2em; }
.how { background: var(--cream); }
.free { background: var(--olive); color: var(--cream); }
.free h2 { color: var(--cream); }
.about { background: var(--cream-deep); }
.contact { background: var(--cream); text-align: center; }
.contact p { margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stats li {
  border-top: 3px solid var(--terracotta);
  padding-top: 16px;
}

.stat-number {
  display: block;
  font-family: var(--sans);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.ref sup {
  font-size: 0.65em;
  color: var(--terracotta);
  text-decoration: none;
}
.ref { text-decoration: none; }

/* ---------- Pitch / blockquote ---------- */

.pitch p { font-size: 1.2rem; }

/* ---------- Steps ---------- */

.how-intro {
  color: var(--ink-soft);
  margin: -0.4em 0 2em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.steps p { font-size: 1rem; color: var(--ink-soft); }

/* ---------- About / people ---------- */

.about-intro { margin-bottom: 2.4em; }

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.person {
  margin: 0;
  flex: 1 1 240px;
  max-width: 320px;
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(54, 45, 36, 0.14);
}

.person figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.person figcaption strong {
  font-family: var(--sans);
  font-size: 1.2rem;
}

.person figcaption span {
  color: var(--ink-soft);
  font-size: 1rem;
}

.person figcaption .person-detail {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Contact ---------- */

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact .or { font-size: 1rem; color: var(--ink-soft); }

/* ---------- Footer / sources ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 40px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.sources-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand);
  margin-bottom: 1em;
}

.sources {
  margin: 0 0 2em;
  padding-left: 1.2em;
  max-width: 70ch;
  color: var(--cream);
}

.sources li { margin-bottom: 0.9em; }
.sources a { color: var(--sand); word-break: break-word; }

.colophon {
  color: var(--sand);
  opacity: 0.75;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  body { font-size: 18px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 56px 0; }
}
