/* BPCRS LLC — bpcrs.pro
   Hand-built static site. No frameworks, no dependencies.
   Edit freely: colors are CSS variables at the top. */

:root {
  --navy: #0a1c33;
  --navy-2: #10294d;
  --accent: #1f7a8c;
  --accent-dark: #166273;
  --ink: #1c2733;
  --muted: #5b6b7d;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #e3e9f0;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.container.center, .center { text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9fc3d4;
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--accent); }

.lede { font-size: 1.2rem; max-width: 640px; margin: 1.25rem auto 0; color: #c9d8e6; }
.lede-light { font-size: 1.15rem; color: #c9d8e6; max-width: 620px; margin: 1rem auto 1.75rem; }

.prose p { margin-bottom: 1rem; color: var(--muted); font-size: 1.06rem; }
.prose p strong { color: var(--ink); }
.prose { margin-top: 0.5rem; }

.fine { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(31,122,140,.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-2); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 1rem 24px;
  display: flex; align-items: center; gap: 2rem;
}
.nav.scrolled { background: rgba(10,28,51,.96); box-shadow: 0 4px 18px rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.brand { color: #fff; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: 0.02em; margin-right: auto; display: flex; align-items: center; }
.brand-logo { height: 58px; width: auto; margin-right: 12px; border-radius: 8px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo { height: 42px; width: auto; border-radius: 6px; }
.brand-suffix { font-weight: 400; font-size: 0.85rem; color: #9fc3d4; margin-left: 4px; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { color: #d7e3ee; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #16345f 100%);
  color: #fff;
  padding: 9rem 0 5.5rem;
  text-align: center;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem; }
.hero-markers { margin-top: 2.5rem; color: #9fc3d4; font-size: 0.95rem; font-weight: 600; }
.hero-markers .dot { margin: 0 0.6rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); padding: 1.75rem 0; text-align: center; }
.trust-label { color: #8aa5bd; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; margin-bottom: 0.75rem; }
.trust-brands { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.trust-brands span { color: #e8f0f7; font-weight: 700; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,28,51,.10); }
.card h3 { color: var(--navy); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Spotlight ---------- */
.spotlight {
  background: linear-gradient(135deg, var(--navy) 0%, #14315c 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex; gap: 0.75rem; justify-content: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  padding: 0.85rem 1.25rem; border-radius: 999px;
  border: 2px solid var(--line); font-size: 1rem;
  min-width: 280px; font-family: var(--font); color: var(--ink);
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.form-note a { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #8aa5bd; padding: 2.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer p { margin: 0; font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .newsletter-form input[type="email"] { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; padding: 1rem 24px 1.5rem; gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .btn-sm { display: none; }
  .hero { padding: 7.5rem 0 4rem; }
  .section { padding: 3.5rem 0; }
}
