/* Happy Family — styles (sage/cinnamon theme, unique class names) */
:root {
  --bg: #FBF9F4;
  --surface: #FFFFFF;
  --ink: #2A2A26;
  --muted: #6F6F66;
  --primary: #5B7B5A;
  --primary-ink: #FFFFFF;
  --accent: #C08552;
  --line: #EBE6DB;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42,42,38,.05), 0 10px 26px rgba(42,42,38,.06);
  --font-head: "Lora", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.74;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .55em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.hf-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.hf-narrow { max-width: 720px; }

/* Header */
.hf-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.hf-header .hf-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.hf-logo { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.hf-logo:hover { text-decoration: none; }
.hf-logo .hf-mark { color: var(--primary); }
.hf-menu { display: flex; align-items: center; gap: 24px; }
.hf-menu a { color: var(--muted); font-weight: 600; font-size: .94rem; }
.hf-menu a:hover { color: var(--ink); text-decoration: none; }
.hf-menu .hf-cta { background: var(--primary); color: var(--primary-ink); padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.hf-menu .hf-cta:hover { text-decoration: none; opacity: .92; }

/* Hero */
.hf-hero { padding: 76px 0 54px; text-align: center; }
.hf-eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hf-hero p.hf-lead { color: var(--muted); font-size: 1.18rem; max-width: 640px; margin: 0 auto 30px; }
.hf-btn { display: inline-block; background: var(--primary); color: var(--primary-ink); font-weight: 700; padding: 15px 34px; border-radius: 999px; font-size: 1.03rem; }
.hf-btn:hover { text-decoration: none; opacity: .92; }

/* Section */
.hf-section { padding: 56px 0; }
.hf-section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hf-head { max-width: 640px; margin-bottom: 34px; }
.hf-head.hf-center { margin-left: auto; margin-right: auto; text-align: center; }
.hf-muted { color: var(--muted); }

/* Article */
.hf-article p:first-of-type { font-size: 1.1rem; color: #3A3A34; }
.hf-article h3 { color: var(--primary); margin-top: 1.6em; }
.hf-article blockquote {
  margin: 1.5em 0; padding: 20px 24px; background: #F4F1E9; border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 1.15rem; color: #4A4A42;
}

/* Checklist */
.hf-check { list-style: none; padding: 0; margin: 0; max-width: 720px; }
.hf-check li { position: relative; padding: 10px 0 10px 42px; border-bottom: 1px solid var(--line); }
.hf-check li:last-child { border-bottom: none; }
.hf-check li::before {
  content: "\2713"; position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700;
}

/* Subscribe */
.hf-subscribe { background: var(--primary); color: #EFF4EE; border-radius: var(--radius); padding: 48px 32px; text-align: center; }
.hf-subscribe h2 { color: #fff; }
.hf-subscribe p { color: rgba(255,255,255,.86); max-width: 520px; margin: 0 auto 24px; }
.hf-subscribe form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.hf-subscribe input[type=email] { flex: 1 1 200px; padding: 14px 16px; border: none; border-radius: 999px; font-size: 1rem; font-family: var(--font-body); background: #fff; color: var(--ink); }
.hf-subscribe button { background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.hf-subscribe button:hover { opacity: .9; }
.hf-subscribe .hf-hint { font-size: .8rem; opacity: .72; margin: 16px 0 0; }

/* Footer */
.hf-footer { background: #211F1A; color: #B7B2A8; padding: 48px 0 32px; margin-top: 56px; }
.hf-footer a { color: #EFEBE3; }
.hf-footer .hf-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.hf-footer .hf-logo { color: #fff; }
.hf-footer .hf-cols { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.hf-footer .hf-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; opacity: .6; }
.hf-footer .hf-disclaimer { font-size: .8rem; opacity: .5; max-width: 520px; margin-top: 14px; }

/* Simple page */
.hf-pagehead { padding: 56px 0 20px; }
.hf-prose { max-width: 720px; }
.hf-prose h2 { margin-top: 1.6em; }
.hf-prose a { text-decoration: underline; }

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

@media (max-width: 700px) {
  .hf-menu a { display: none; }
  .hf-menu a.hf-cta { display: inline-block; }
}
