/* Family Heart — shared stylesheet
   Design tokens live here; change these per-site to vary the look. */
:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --ink: #2B2A28;
  --muted: #6B6863;
  --primary: #2F6B4F;
  --primary-ink: #FFFFFF;
  --accent: #D99A2B;
  --line: #E9E3D8;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(43,42,40,.06), 0 10px 30px rgba(43,42,40,.05);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .cta {
  background: var(--primary); color: var(--primary-ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav .cta:hover { text-decoration: none; opacity: .92; }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .eyebrow {
  display: inline-block; background: var(--surface); border: 1px solid var(--line);
  color: var(--primary); font-weight: 600; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 28px; }
.btn {
  display: inline-block; background: var(--primary); color: var(--primary-ink);
  font-weight: 600; padding: 14px 30px; border-radius: 10px; font-size: 1.05rem;
}
.btn:hover { text-decoration: none; opacity: .92; }

/* Section */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }

/* Topics grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .kicker { color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { margin: 8px 0 10px; }
.card p { color: var(--muted); margin: 0; }

/* Article list */
.article { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.article:last-child { border-bottom: none; }
.article .num { font-family: var(--font-head); font-size: 1.6rem; color: var(--accent); min-width: 40px; }
.article h3 { margin: 0 0 6px; }
.article a.title { color: var(--ink); }
.article a.title:hover { color: var(--primary); text-decoration: none; }
.article p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Newsletter */
.newsletter {
  background: var(--primary); color: var(--primary-ink);
  border-radius: var(--radius); padding: 48px 32px; text-align: center;
}
.newsletter h2 { color: var(--primary-ink); }
.newsletter p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 24px; }
.newsletter form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input[type=email] {
  flex: 1 1 200px; padding: 13px 16px; border: none; border-radius: 8px; font-size: 1rem; font-family: var(--font-body);
}
.newsletter button {
  background: var(--accent); color: #2B2A28; border: none; border-radius: 8px;
  padding: 13px 24px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font-body);
}
.newsletter button:hover { opacity: .92; }
.newsletter .note { font-size: .8rem; opacity: .7; margin: 16px 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcbc3; padding: 48px 0 32px; margin-top: 56px; }
.site-footer a { color: #fff; }
.site-footer .inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer .brand { color: #fff; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: .82rem; opacity: .6; }

/* Simple page */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { max-width: 700px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose a { text-decoration: underline; }

@media (max-width: 640px) {
  .nav a { display: none; }
  .nav a.cta { display: inline-block; }
}

/* Contact form */
.contact-form { margin-top: 8px; max-width: 520px; }
.contact-form label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: .92rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; background: var(--surface); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.contact-form button {
  margin-top: 18px; background: var(--primary); color: var(--primary-ink);
  border: none; border-radius: 10px; padding: 13px 28px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: var(--font-body);
}
.contact-form button:hover { opacity: .92; }
