/* ImpulseShield — shared site chrome.
   One source of truth for the design tokens, the full site navigation, the
   whole-site search launcher, the language switcher and the footer. Every
   standalone page (/resources, /family, /pro, article pages) links this first,
   then a page-specific stylesheet. Keeps the nav identical everywhere — the
   fix for pages that used to ship a stripped-down header. */

:root{
  --ink:#0f2433;--ink-soft:#3c5365;--ink-faint:#6c8195;
  --bg:#f5f8fa;--bg-tint:#eef5f5;--bg-deep:#e9f1f1;--card:#ffffff;
  --brand:#0e7c7b;--brand-deep:#0a5b5a;--brand-bright:#12a19f;
  --accent:#15a86b;--gold:#e8a13a;--danger:#c0392b;
  --line:#e3eaee;--line-soft:#eef3f5;
  --shadow:0 18px 48px rgba(15,36,51,.10);
  --shadow-soft:0 8px 24px rgba(15,36,51,.06);
  --shadow-lg:0 30px 70px rgba(15,36,51,.16);
  --radius:16px;--radius-lg:24px;
  --nav-h:70px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;text-rendering:optimizeLegibility;
}
a{color:inherit}
img{max-width:100%}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}

.wrap{width:100%;max-width:1080px;margin:0 auto;padding:0 clamp(20px,5vw,40px)}
.brandmark{width:34px;height:34px;filter:drop-shadow(0 4px 10px rgba(23,106,38,.32))}
/* Footer brand lockup (shield mark + gradient wordmark). The HEADER uses the
   full green wordmark image; the footer keeps this compact mark+word lockup.
   Base .logo layout comes from header.css (loaded on every standalone page). */
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.logo-word{background:linear-gradient(120deg,var(--ink),#20465c);-webkit-background-clip:text;background-clip:text;color:transparent}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--brand);color:#fff;
  padding:10px 16px;border-radius:0 0 10px 0;z-index:200;font-weight:600}
.skip-link:focus{left:0}

/* ========================= shared primitives ========================= */
.badge{display:inline-flex;align-items:center;gap:8px;background:rgba(14,124,123,.1);
  color:var(--brand-deep);font-weight:600;font-size:13px;padding:6px 14px;border-radius:999px}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;
  box-shadow:0 0 0 4px rgba(21,168,107,.16)}
.eyebrow{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--brand);margin-bottom:12px}
.lead{font-size:clamp(16px,2.2vw,20px);color:var(--ink-soft);line-height:1.55}
.hl{color:var(--brand);position:relative;white-space:nowrap}
.hl::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.16em;
  background:rgba(21,168,107,.22);border-radius:4px;z-index:-1}
.cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(145deg,var(--brand),var(--brand-deep));color:#fff;text-decoration:none;
  font-weight:600;font-size:16px;padding:14px 26px;border-radius:13px;border:none;cursor:pointer;
  box-shadow:0 10px 24px rgba(14,124,123,.30);transition:transform .15s ease,box-shadow .15s ease}
.cta:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(14,124,123,.4)}
.cta:disabled{opacity:.7;cursor:default;transform:none}

/* header / nav — moved to header.css (shared, byte-identical everywhere) */

/* ============================== footer =============================== */
.site-footer{border-top:1px solid var(--line);margin-top:clamp(48px,7vw,88px);
  padding:clamp(34px,5vw,52px) 0;background:linear-gradient(180deg,transparent,rgba(233,241,241,.5))}
.site-footer .foot-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.site-footer .foot-brand .logo{font-size:18px}
.site-footer .foot-links{display:flex;flex-wrap:wrap;gap:10px 4px;align-items:center;
  font-size:14.5px;color:var(--ink-soft)}
.site-footer .foot-links a{color:var(--ink-soft);text-decoration:none;padding:2px 4px;border-radius:6px}
.site-footer .foot-links a:hover{color:var(--brand)}
.site-footer .foot-links .dot{opacity:.4}
.site-footer .foot-invite{margin-top:16px;display:flex;align-items:center;gap:8px;
  font-size:13.5px;color:var(--ink-soft)}
.site-footer .foot-invite svg{width:16px;height:16px;flex:none;color:var(--brand)}
.site-footer .foot-invite a{color:var(--brand);font-weight:600;text-decoration:none}
.site-footer .foot-invite a:hover{text-decoration:underline}
.site-footer .foot-legal{margin-top:14px;font-size:13px;color:var(--ink-faint)}
.site-footer .social{display:inline-flex;color:var(--ink-soft);transition:color .15s ease}
.site-footer .social:hover{color:var(--brand)}
.site-footer .social svg{width:20px;height:20px;display:block}

/* ============================ responsive ============================= */

/* --- mobile: single-row bar (logo + hamburger); everything else drops down --- */

@media(max-width:480px){
  .site-footer .foot-brand{flex-direction:row}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}
}
