/* ===================================================
   Prosperity For Everyone LLC — styles.css
   =================================================== */

/* --- VARIABLES --- */
:root {
  --navy:    #0d1f3c;
  --blue:    #1a4a8a;
  --sky:     #e8f0fb;
  --white:   #ffffff;
  --gray-50: #f8fafd;
  --gray-100:#f0f4fa;
  --gray-200:#dde4f0;
  --gray-400:#8fa0be;
  --gray-600:#4a5e7a;
  --gray-800:#1e2d42;
  --text:    #1a1a1a;
  --text-muted: #555555;
  --accent:  #2060c0;
  --accent-light: #d0e2ff;
  --max-w: 1100px;
  --radius: 4px;
  --shadow-sm: 0 1px 4px rgba(13,31,60,.07);
  --shadow-md: 0 4px 16px rgba(13,31,60,.11);
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
[id] { scroll-margin-top: 72px; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad { padding: 72px 0; }
.section-alt { background: var(--gray-50); }

/* --- TYPOGRAPHY --- */
.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2, h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.section-intro { font-size: 1rem; color: var(--text-muted); max-width: 600px; margin-top: 8px; }
.section-head-center { text-align: center; margin-bottom: 40px; }
.section-head-center h2 { margin-bottom: 0; }
.section-head { margin-bottom: 40px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: #162d5a; border-color: #162d5a; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border: 2px solid var(--white); }
.btn-white:hover { background: var(--sky); border-color: var(--sky); }

/* --- HEADER --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand { display: flex; align-items: baseline; gap: 5px; text-decoration: none; }
.brand-name { font-size: 1rem; font-weight: 800; color: var(--navy); }
.brand-suffix { font-size: 0.85rem; font-weight: 400; color: var(--gray-400); }
.main-nav { display: flex; gap: 28px; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--gray-600); transition: color .2s; }
.nav-link:hover { color: var(--navy); text-decoration: none; }
.nav-link.active { color: var(--navy); font-weight: 700; }

/* --- HERO --- */
.hero-band {
  background: linear-gradient(155deg, var(--navy) 0%, #0e3060 100%);
  color: var(--white);
  padding: 80px 0 90px;
}
.overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7aaadf;
  margin-bottom: 20px;
}
.hero-band h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  max-width: 780px;
}
.hero-band h1 strong { font-weight: 800; }
.hero-sub {
  font-size: 1.05rem;
  color: #b8d0f0;
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- PAGE HERO --- */
.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 60px 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }
.page-hero-sub { font-size: 1rem; color: var(--text-muted); max-width: 640px; line-height: 1.8; }

/* --- CARD GRID --- */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 14px;
}
.card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

/* --- SPLIT LAYOUT --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-left p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; }
.split-left h2 { margin-bottom: 16px; }
.split-right { position: sticky; top: 88px; }

/* --- STAT BLOCK --- */
.stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.stat-num { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }

/* --- PROFILE CARD --- */
.profile-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--gray-100);
}
.profile-row:last-child { border-bottom: none; }
.profile-key { padding: 14px 18px; font-size: 0.78rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; background: var(--gray-50); border-right: 1px solid var(--gray-100); }
.profile-val { padding: 14px 18px; font-size: 0.88rem; color: var(--text); }

/* --- PRINCIPLES --- */
.principles-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.principle-item { text-align: center; padding: 28px 16px; }
.principle-icon { font-size: 2rem; margin-bottom: 14px; }
.principle-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.principle-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* --- CTA BAND --- */
.cta-band { background: var(--blue); color: var(--white); padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: 1.8rem; font-weight: 300; margin-bottom: 12px; color: #eae8e2; }
.cta-band p { font-size: 0.98rem; color: #b8d0f0; margin-bottom: 28px; }

/* --- MISSION STATEMENT --- */
.mission-statement { max-width: 760px; }
.mission-statement p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.mission-statement p:last-child { margin-bottom: 0; }

/* --- CONTACT CHANNELS --- */
.contact-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.channel {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}
.channel-icon { font-size: 1.8rem; flex-shrink: 0; }
.channel-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.channel-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.email-link { font-size: 0.9rem; font-weight: 600; }

/* --- INFO TABLE --- */
.info-table { max-width: 760px; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--gray-100);
}
.info-row:last-child { border-bottom: none; }
.info-key { padding: 14px 20px; font-size: 0.8rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; background: var(--gray-50); border-right: 1px solid var(--gray-100); }
.info-val { padding: 14px 20px; font-size: 0.9rem; color: var(--text); }

/* --- FOOTER --- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.45); padding: 40px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,.55); }
.footer-brand strong { color: rgba(255,255,255,.8); font-size: 0.92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,.45); }
.footer-nav a:hover { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.8rem; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); text-decoration: none; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .principles-row { grid-template-columns: 1fr 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .split-right { position: static; }
  .contact-channels { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 48px 0; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .principles-row { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .footer-inner { flex-direction: column; }
}
