/* ==========================================================================
   CRBG Benefits Hub — shared stylesheet
   Direction: clean & tech-forward. Teal + coral, hub-and-spoke signature.
   ========================================================================== */

:root {
  --ink: #0b1f23;
  --ink-soft: #3c5257;
  --paper: #f6f8f7;
  --white: #ffffff;
  --brand: #0f6b67;
  --brand-dark: #0a4e4b;
  --accent: #e8543a;
  --accent-dark: #c2412a;
  --line: #dde4e2;
  --mist: #eaf1ef;
  --radius: 12px;
  --radius-sm: 6px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.75em;
}
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-onbrand { background: var(--white); color: var(--brand-dark); }
.btn-onbrand:hover { background: var(--mist); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Hub mark (signature element) */
.hub-mark { color: var(--brand); width: 32px; height: 32px; }
.hub-mark line { stroke: currentColor; stroke-width: 2; }
.hub-mark circle { stroke: currentColor; stroke-width: 2; fill: var(--paper); }
.hub-mark .hub-center { fill: currentColor; stroke: none; }
.hub-mark.lg { width: 220px; height: 220px; }
.hub-mark.on-brand circle:not(.hub-center) { fill: var(--brand); }
.hub-mark.on-brand { color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246,248,247,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a:not(.btn) { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); }
.nav-menu a.is-active { color: var(--brand); font-weight: 700; }
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 12px 24px 20px; display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 10px 0; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy .lead { max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { display: flex; align-items: center; justify-content: center; background: var(--mist); border-radius: 20px; padding: 40px; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding: 28px; }
  .hub-mark.lg { width: 160px; height: 160px; }
}

/* Page header (non-home pages) */
.page-header { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-header .lead { max-width: 60ch; }

/* Pillars / category cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; height: 100%;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--mist); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0.75em; color: var(--ink-soft); }
.card-link { font-weight: 700; font-size: 0.9rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; margin-bottom: 16px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; }
.stat-label { color: var(--ink-soft); font-size: 0.9rem; }

/* Testimonial */
.testimonial { background: var(--mist); border-radius: 20px; padding: 44px; }
.testimonial blockquote { font-size: 1.3rem; font-weight: 500; margin: 0 0 20px; letter-spacing: -0.01em; }
.testimonial cite { font-style: normal; color: var(--ink-soft); font-size: 0.9rem; }

/* CTA band */
.cta-band { background: var(--brand); color: var(--white); border-radius: 24px; padding: 56px 48px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); margin-bottom: 0; }

/* Leadership / avatars */
.person { text-align: left; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.person-role { color: var(--brand); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--ink-soft); max-width: 30ch; margin-top: 12px; }
.footer-nav h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 14px; }
.footer-nav a { display: block; padding: 6px 0; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--brand); }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 36px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); flex-wrap: wrap; }
.footer-disclaimer { max-width: 60ch; }

/* Utility */
.mt-0 { margin-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
