/* ── Base ────────────────────────────────────────────────────────────────── */
body { scroll-behavior: smooth; }

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --brand:       #4a6cf7;
  --brand-dark:  #3a56c7;
  --gold:        #c8a96e;
  --gold-light:  #f7f0e1;
  --sage:        #7a9e7e;
  --sage-light:  #eef5ef;
  --teal:        #5b8a8a;
  --cream:       #fdf8f0;
  --warm-gray:   #f9f7f4;
  --dark:        #1a1a2e;
}

/* ── Utility classes ────────────────────────────────────────────────────── */
.shadow-soft { box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.06); }
.muted, .text-muted-custom { color: #6c757d; }
.tag { font-size: .85rem; }

/* ── Hero (homepage) ────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--cream) 0%, #f5f0ff 40%, var(--sage-light) 100%);
  border-bottom: 3px solid var(--gold-light);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(122,158,126,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { color: var(--dark); }
.hero .lead { color: #4a4a5a; font-size: 1.15rem; }

/* ── Section backgrounds (alternating) ──────────────────────────────────── */
.section-warm   { background: var(--warm-gray); }
.section-cream  { background: var(--cream); }
.section-sage   { background: var(--sage-light); }
.section-gold   { background: var(--gold-light); }

/* ── CTA buttons (solid fill, warmer) ────────────────────────────────── */
.btn-cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: .55rem 1.5rem;
  border-radius: .5rem;
  transition: all .2s;
}
.btn-cta:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74,108,247,.25);
}

.btn-cta-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 600;
  padding: .55rem 1.5rem;
  border-radius: .5rem;
  transition: all .2s;
}
.btn-cta-gold:hover {
  background: #b89a5e;
  border-color: #b89a5e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,169,110,.3);
}

.btn-cta-sage {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  font-weight: 600;
  padding: .55rem 1.5rem;
  border-radius: .5rem;
  transition: all .2s;
}
.btn-cta-sage:hover {
  background: #6a8e6e;
  border-color: #6a8e6e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(122,158,126,.3);
}

/* ── Card enhancements ──────────────────────────────────────────────────── */
.card-feature {
  border: 1px solid #e8e4df;
  border-radius: .75rem;
  transition: transform .2s, box-shadow .2s;
  background: #fff;
}
.card-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.card-feature .card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .75rem;
}

/* ── Accent divider ─────────────────────────────────────────────────────── */
.divider-gold {
  height: 3px;
  width: 60px;
  background: var(--gold);
  border: none;
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ── Article typography ─────────────────────────────────────────────────── */
main article p { margin-bottom: 1.25rem; line-height: 1.8; font-size: 1.05rem; color: #333; }
main article h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.35rem; font-weight: 700; color: var(--dark); }
main article h3 { margin-top: 1.75rem; margin-bottom: .6rem; font-size: 1.15rem; font-weight: 700; color: var(--dark); }
main article h4, main article h5, main article h6 { margin-top: 1.5rem; margin-bottom: .5rem; font-weight: 600; color: var(--dark); }
main article ul, main article ol { margin-bottom: 1.25rem; padding-left: 1.6rem; line-height: 1.8; }
main article li { margin-bottom: .4rem; }
main article blockquote { border-left: 4px solid var(--gold); padding: .5rem 1rem; margin: 1.5rem 0; color: #6c757d; font-style: italic; background: var(--gold-light); border-radius: 0 .25rem .25rem 0; }
main article hr { margin: 2rem 0; border-color: #e8e4df; }
main article strong { font-weight: 600; }
main article em { font-style: italic; }
main article section { margin-bottom: 1.5rem; }
