/* FamilyXP — warm sunrise family life portal */
.bs-fx {
  --cream: #FFF6EE;
  --cream-deep: #F8E8D8;
  --coral: #F4845F;
  --coral-deep: #E35D3B;
  --plum: #5C2A4D;
  --plum-soft: #8B4A73;
  --sage: #7A9E7E;
  --sage-soft: #A8C4AB;
  --gold: #D4A017;
  --ink: #2B1A24;
  --muted: #7A5A68;
  --line: rgba(92, 42, 77, 0.12);
  --shadow: 0 14px 44px rgba(43, 26, 36, 0.10);
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 480px at 8% -8%, rgba(244, 132, 95, 0.22), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(122, 158, 126, 0.18), transparent 50%),
    radial-gradient(700px 360px at 50% 110%, rgba(212, 160, 23, 0.12), transparent 55%),
    var(--cream);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
.bs-fx * { box-sizing: border-box; }
.bs-fx a { color: var(--plum); text-decoration: none; }
.bs-fx a:hover { color: var(--coral-deep); }
.bs-fx-wrap { width: min(1120px, 92vw); margin: 0 auto; }

.bs-fx h1, .bs-fx h2, .bs-fx h3, .bs-fx-brand strong {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--plum);
}
.bs-fx h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 0.75rem; }
.bs-fx h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 0 0 0.65rem; }
.bs-fx h3 { font-size: 1.12rem; margin: 0 0 0.45rem; color: var(--coral-deep); }
.bs-fx-kicker {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; font-weight: 700; color: var(--gold); margin: 0 0 0.55rem;
}
.bs-fx .lead { color: var(--muted); font-size: 1.08rem; max-width: 46rem; }
.bs-fx .meta { color: var(--muted); font-size: 0.9rem; }

.bs-fx-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bs-fx-nav-inner {
  width: min(1120px, 92vw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem;
  align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
}
.bs-fx-brand { display: flex; gap: 0.7rem; align-items: center; color: inherit; }
.bs-fx-logo {
  width: 2.85rem; height: 2.85rem; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(212, 160, 23, 0.55);
  background: #fff;
}
.bs-fx-brand .tag { display: block; font-size: 0.78rem; color: var(--muted); font-family: system-ui, sans-serif; }
.bs-fx-links { display: flex; flex-wrap: wrap; gap: 0.55rem 0.9rem; }
.bs-fx-links a {
  color: var(--plum); font-weight: 600; font-size: 0.92rem;
  padding: 0.25rem 0.15rem; border-bottom: 2px solid transparent;
}
.bs-fx-links a.on, .bs-fx-links a:hover { border-bottom-color: var(--coral); color: var(--coral-deep); }
.bs-fx-nav-ctas { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.bs-fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.65rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 0; cursor: pointer; text-decoration: none !important;
}
.bs-fx-btn.coral { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); color: #fff !important; }
.bs-fx-btn.plum { background: linear-gradient(135deg, var(--plum-soft), var(--plum)); color: #fff !important; }
.bs-fx-btn.gold { background: linear-gradient(135deg, #E8C04A, var(--gold)); color: #2B1A24 !important; }
.bs-fx-btn.ghost {
  background: rgba(255,255,255,0.7); color: var(--plum) !important;
  border: 1px solid var(--line);
}

.bs-fx-hero {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center; padding: 2.2rem 0 1.5rem;
}
.bs-fx-hero-art {
  width: 100%; border-radius: 1.4rem; box-shadow: var(--shadow);
  border: 3px solid rgba(255,255,255,0.8); object-fit: cover; max-height: 360px;
}
.bs-fx-steps {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1.5rem 0;
}
.bs-fx-step {
  background: #fff; border-radius: 1.1rem; padding: 1.1rem 1rem;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.bs-fx-step .n {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--plum); color: #fff; font-weight: 800; font-size: 0.85rem;
  margin-bottom: 0.55rem;
}
.bs-fx-step.father .n { background: var(--plum); }
.bs-fx-step.mother .n { background: var(--sage); }
.bs-fx-step.shared .n { background: var(--gold); color: #2B1A24; }

.bs-fx-section { padding: 1.75rem 0 2.25rem; }
.bs-fx-panel {
  background: rgba(255,255,255,0.92); border-radius: 1.25rem;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem; margin: 1rem 0;
}
.bs-fx-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.bs-fx-person {
  background: #fff; border-radius: 1.1rem; padding: 1rem;
  border: 1px solid var(--line); text-align: center;
}
.bs-fx-person img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--cream-deep); margin-bottom: 0.5rem;
}
.bs-fx-person .side-father { color: var(--plum); font-size: 0.75rem; font-weight: 700; }
.bs-fx-person .side-mother { color: var(--sage); font-size: 0.75rem; font-weight: 700; }
.bs-fx-person .side-shared { color: var(--gold); font-size: 0.75rem; font-weight: 700; }

.bs-fx-timeline { display: flex; flex-direction: column; gap: 1rem; }
.bs-fx-post {
  background: #fff; border-radius: 1.15rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; padding-left: 1.5rem;
}
.bs-fx-post::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  border-radius: 1.15rem 0 0 1.15rem;
  background: linear-gradient(180deg, var(--coral), var(--plum));
}
.bs-fx-post .when { font-size: 0.78rem; color: var(--muted); }

.bs-fx-form label { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.65rem; }
.bs-fx-form input, .bs-fx-form select, .bs-fx-form textarea {
  width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.75rem;
  border-radius: 10px; border: 1px solid #E0C8D2; font-size: 1rem;
  background: #fff;
}
.bs-fx-form button { margin-top: 1rem; }

.bs-fx-footer {
  margin-top: 2rem; padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
.bs-fx-footer a { color: var(--plum); font-weight: 600; }
.bs-fx-footer-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1rem;
}
.bs-fx-chip {
  display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(244,132,95,0.12); color: var(--coral-deep);
  font-size: 0.75rem; font-weight: 700;
}
.bs-fx-privacy {
  background: rgba(122, 158, 126, 0.12); border: 1px solid rgba(122, 158, 126, 0.35);
  border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--ink);
}
