@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&display=swap');
/* Canadian FAIT Research Network — the "FAIT Buddy" look, site-wide (Ken 2026-10-29).
   Loaded AFTER each page's own styles so it wins. Two jobs:
   1. Light, friendly palette everywhere (rounded cards, teal + blue tints, pill buttons).
   2. One shared top bar (.fb-*) for the pages that use partials/header.html,
      matching the simple header + menu the hand-built pages already have.
   The old dark theme is locked off here: both data-theme values get the light palette. */

:root,:root[data-theme="light"],:root[data-theme="dark"]{
  --ink:#17233b;
  --ink2:#334155;
  --ink3:#5b6472;
  --bg:#ffffff;
  --bg-soft:#f0fdfa;
  --bg-soft2:#eef4ff;
  --sand:#f0fdfa;
  --line:#e5e7eb;
  --card:#ffffff;
  --card-line:#e5e7eb;
  --shadow:0 4px 18px rgba(15,23,42,.06);
  --shadow-lg:0 10px 32px rgba(15,23,42,.10);
  --header-bg:#ffffff;
  --teal-text:#0f766e;
  --violet-text:#6d28d9;
  --blue-btn:#1d4ed8;
  --teal-btn:#0f766e;
  --emergency-bg:#fef2f2;
  --radius:22px;
  --radius-sm:14px;
  --fb-blue:#1d4ed8;
  --fb-teal:#0f766e;
  --fb-mint:#ccfbf1;
  --fb-sky:#e0f2fe;
}
body{background:#fff;color:#17233b}

/* ── friendly components (shared by every page) ── */
h1{letter-spacing:-.01em}
.eyebrow{color:var(--fb-teal) !important;letter-spacing:.05em}
.section-soft{background:#f0fdfa !important;border-radius:24px}
.section-soft2{background:#eef4ff !important;border-radius:24px}
.card,.pillar-card,.hook-card,.stat-tile,.form-card,.zoomui,.start-card{border-radius:22px}
details{border-radius:16px}
.btn,.cta{border-radius:999px;transition:transform .12s,box-shadow .12s}
.btn:hover,.cta:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(29,78,216,.18)}
.check-list li:before{color:var(--fb-teal)}
.stat-num{color:var(--fb-teal)}
.zoomui-av{background:#dbeafe !important;color:var(--fb-blue) !important}
.zoomui-av.nurse{background:var(--fb-mint) !important;color:var(--fb-teal) !important}
.zoomui-av.parent{background:#ede9fe !important;color:#6d28d9 !important}
.zoomui-av.you{background:#f1f5f9 !important;color:#334155 !important}
.zoomui-tile{background:#f8fafc;border-color:transparent !important;border-radius:16px}
.callout,.disclaimer-strip{border-radius:16px}

/* playful bits reused across pages */
.fb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px;padding:0;list-style:none}
.fb-chips li{background:#fff;border:2px solid #c7d6f5;border-radius:999px;padding:6px 14px;font-size:15px;font-weight:600;color:#17233b}
.fb-bubble{background:#fff;border-radius:18px;padding:10px 14px;font-size:15px;box-shadow:0 4px 14px rgba(15,23,42,.08);max-width:88%;margin:0 0 10px;line-height:1.45}
.fb-bubble.me{margin-left:auto;background:var(--fb-blue);color:#fff}
.fb-bubble small{display:block;font-size:11px;font-weight:800;opacity:.75;margin-bottom:2px}

/* homepage "Join a free Zoom chat" card, buddy-hero style */
.cal{background:linear-gradient(160deg,var(--fb-sky),var(--fb-mint)) !important;border-radius:28px !important;padding:24px !important}
.cal input{border-color:#bfe3dc}

/* ── shared top bar for partial pages (same look as the hand-built pages) ── */
.fb-emergency{background:#fef2f2;color:#7f1d1d;text-align:center;padding:9px 16px;font-size:14px;font-weight:600;margin:0}
.fb-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;max-width:980px;margin:0 auto;gap:16px;flex-wrap:wrap}
.fb-brand{font-weight:800;font-size:19px;text-decoration:none;color:#17233b}
.fb-cta{display:inline-block;background:var(--fb-blue);color:#fff !important;text-decoration:none;border-radius:999px;padding:10px 18px;font-weight:700;font-size:15px}
.fb-hotbar-wrap{position:sticky;top:0;background:#fff;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;z-index:50}
.fb-hotbar{max-width:980px;margin:0 auto;padding:0 22px;display:flex;gap:4px;flex-wrap:wrap}
.fb-hotbar a{display:inline-block;text-decoration:none;color:#17233b;font-weight:600;font-size:16px;padding:13px 14px;border-bottom:3px solid transparent}
.fb-hotbar a:hover{color:var(--fb-blue)}
.fb-hotbar a.on{color:var(--fb-blue);border-bottom-color:var(--fb-blue)}
@media(max-width:760px){
  .hotbar,.fb-hotbar{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;justify-content:flex-start}
  .hotbar::-webkit-scrollbar,.fb-hotbar::-webkit-scrollbar{display:none}
  .hotbar a,.fb-hotbar a{flex:none;white-space:nowrap;padding:13px 16px;font-size:16px}
}

/* partial-page footer: light like the hand-built pages */
.site-footer{background:#f8fafc !important;color:#334155 !important;border-top:1px solid #e5e7eb}
.site-footer a,.site-footer h3,.site-footer .brand{color:#17233b !important}
.site-footer p,.site-footer li{color:#475569 !important}

/* partial pages: same font + same 980px column as the hand-built pages */
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
:root{--font:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--maxw:980px}
.container{max-width:980px;padding-left:22px;padding-right:22px}
.fb-hotbar{justify-content:flex-start}
.fb-hotbar a,.fb-brand{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

/* ── logo lockup: maple-node mark + two-line Nunito wordmark (every page) ── */
.fb-brand{display:inline-flex !important;align-items:center;gap:12px;text-decoration:none !important;color:#17233b !important}
.fb-logo{width:46px;height:46px;border-radius:12px;box-shadow:0 2px 10px rgba(15,23,42,.10);flex:none;display:block}
.fb-word{display:flex;flex-direction:column;line-height:1;font-family:'Nunito',system-ui,sans-serif}
.fb-word b{font-size:23px;font-weight:900;letter-spacing:-.01em;color:#17233b}
.fb-word b span{color:var(--fb-blue)}
.fb-word small{font-size:11.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--fb-teal);margin-top:5px}
@media(max-width:480px){.fb-logo{width:38px;height:38px}.fb-word b{font-size:19px}.fb-word small{font-size:10px;letter-spacing:.16em}}

/* "two types of treatment" plain-words explainer (home + buddy hero) */
.fb-types{background:#fff;border:2px solid #c7d6f5;border-radius:20px;padding:16px 18px;margin:18px 0 6px;max-width:520px}
.fb-types-h{font-weight:800;margin:0 0 10px;font-size:17px}
.fb-types-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fb-type{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border-radius:14px;padding:12px}
.fb-type-ico{font-size:26px;line-height:1}
.fb-type b{font-size:17px}
.fb-type-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--fb-teal);background:var(--fb-mint);border-radius:999px;padding:1px 8px;margin-left:4px;vertical-align:2px}
.fb-type p{margin:4px 0 0;font-size:15px;line-height:1.45;color:#334155}
.fb-types-foot{margin:10px 0 0;font-size:14px;color:#475569}
@media(max-width:560px){.fb-types-row{grid-template-columns:1fr}}
.cal select{padding:13px 6px;font-size:15px}
