/* Run4YourLives shared site styles — nav, footer, and base typography pulled
   verbatim from index.html's own <style> block so new pages match exactly.
   Upload this alongside new pages (same folder as index.html) and link it
   with <link rel="stylesheet" href="shared.css"> — index.html itself does
   NOT need to change; it can keep its own inline styles as-is. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1B2D5B;
  --navy-deep: #0D1B3E;
  --navy-mid: #243570;
  --orange: #E8842A;
  --orange-light: #F0A05A;
  --orange-pale: #FDF0E4;
  --white: #FFFFFF;
  --off-white: #F8F7F5;
  --gray-light: #EEECEA;
  --gray-mid: #6E6E6E;
  --gray-text: #444444;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-text); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,62,0.97); backdrop-filter: blur(8px);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: white; letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange-light); }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 0.5rem 1.25rem; border-radius: 100px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--orange-light) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }
#mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy-deep); z-index: 99; padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
#mobile-menu a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
#mobile-menu a:last-child { color: var(--orange); border-bottom: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* SHARED TEXT STYLES */
.section-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); flex-shrink: 0; }
.section-headline { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.25rem, 4vw, 3.25rem); color: var(--navy); text-transform: uppercase; line-height: 0.95; letter-spacing: -0.5px; margin-bottom: 1.5rem; }
.section-body { font-size: 1rem; color: var(--gray-mid); line-height: 1.75; }

/* FOOTER */
footer { background: var(--navy-deep); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; margin-bottom: 0.75rem; }
.footer-brand .name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: white; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1rem; max-width: 280px; }
.footer-brand a { color: var(--orange-light); text-decoration: none; font-size: 0.85rem; }
.footer-badge { display: inline-block; margin-top: 0.75rem; font-size: 0.72rem; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); padding: 0.25rem 0.6rem; border-radius: 100px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-hosting { margin-top: 0.25rem; }
.footer-hosting a { color: rgba(255,255,255,0.4); }
.footer-bottom > div:last-child { display: flex; gap: 1.25rem; }
.footer-bottom > div:last-child a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; }
.footer-bottom > div:last-child a:hover { color: var(--orange-light); }

/* GENERIC ARTICLE LAYOUT — for new long-form pages (research.html and similar) */
.article-hero { background: var(--navy-deep); padding: 10rem 2rem 4rem; }
.article-hero-inner { max-width: 760px; margin: 0 auto; }
.article-hero .section-eyebrow { color: var(--orange-light); }
.article-hero .section-eyebrow::before { background: var(--orange-light); }
.article-hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.25rem, 5vw, 3.5rem); color: white; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.5px; margin-bottom: 1.25rem; }
.article-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); line-height: 1.75; max-width: 620px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 2rem; }
.article-body h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--navy); text-transform: uppercase; letter-spacing: -0.3px; margin: 2.5rem 0 1rem; }
.article-body p { font-size: 1rem; color: var(--gray-text); line-height: 1.8; margin-bottom: 1.25rem; }
.article-body p.lede { font-size: 1.15rem; color: var(--navy); font-weight: 500; line-height: 1.7; }
.article-callout { background: var(--off-white); border-left: 4px solid var(--orange); border-radius: 8px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.article-callout p { margin-bottom: 0; font-size: 0.95rem; color: var(--navy); }
.citations { background: var(--off-white); padding: 2.5rem 2rem 1rem; border-top: 1px solid var(--gray-light); margin-top: 2rem; }
.citations-inner { max-width: 720px; margin: 0 auto; }
.citations h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.citations ol { list-style-position: inside; display: flex; flex-direction: column; gap: 0.6rem; }
.citations li { font-size: 0.8rem; color: var(--gray-mid); line-height: 1.65; }
.citations a { color: var(--orange); text-decoration: none; }
.citations a:hover { text-decoration: underline; }
.article-cta { background: var(--navy); border-radius: 24px; padding: 3rem; text-align: center; max-width: 720px; margin: 3rem auto 0; }
.article-cta h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: white; text-transform: uppercase; margin-bottom: 0.75rem; }
.article-cta p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 1.5rem; }
.article-cta a { display: inline-block; background: var(--orange); color: white; text-decoration: none; padding: 0.875rem 1.75rem; border-radius: 100px; font-weight: 600; font-size: 0.9rem; }
.article-cta a:hover { background: var(--orange-light); }
