/* ============================================================
   Brookshear Operations — style.css
   Design system: Custom (Linear-inspired, light-mode, deep navy + electric blue)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0F1923;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === DESIGN TOKENS === */
:root {
  /* Colors */
  --canvas:         #ffffff;
  --surface-1:      #F7F8FA;
  --surface-2:      #EEF1F6;
  --primary:        #1B2E4B;
  --primary-hover:  #243D68;
  --primary-light:  #EEF2FF;
  --accent:         #2563EB;
  --accent-hover:   #1D4ED8;
  --accent-light:   #DBEAFE;
  --ink:            #0F1923;
  --ink-muted:      #374151;
  --ink-subtle:     #6B7280;
  --ink-disabled:   #9CA3AF;
  --hairline:       #E5E7EB;
  --hairline-strong:#D1D5DB;
  --success:        #059669;
  --success-light:  #D1FAE5;

  /* Spacing */
  --xs:   8px;
  --sm:   12px;
  --md:   16px;
  --lg:   24px;
  --xl:   32px;
  --xxl:  48px;
  --xxxl: 64px;
  --section: 96px;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 20px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--xl);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--xl);
}

section {
  padding: var(--section) 0;
}

.section--surface {
  background: var(--surface-1);
}

.section--dark {
  background: var(--primary);
  color: #ffffff;
}

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--md);
}

.eyebrow--white {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

h1, .display-xl {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--ink);
}

h2, .display-lg {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -1.2px;
  color: var(--ink);
}

h3, .display-md {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.headline {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.30;
  letter-spacing: -0.3px;
}

.subhead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.1px;
  color: var(--ink-muted);
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
}

.body-sm {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: var(--xxl);
}

.section-header p {
  margin-top: var(--md);
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--xs);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.1px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--surface-1);
  border-color: var(--primary-hover);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--surface-1);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--r-md);
}

.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--xl);
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--xl);
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav__links a:hover {
  color: var(--primary);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--md);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: all 0.2s;
  border-radius: 2px;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  padding: var(--xl);
  flex-direction: column;
  gap: var(--lg);
  z-index: 99;
}
.nav__mobile.open {
  display: flex;
}
.nav__mobile a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: var(--sm) 0;
  border-bottom: 1px solid var(--hairline);
}


/* === HERO SECTION === */
.hero {
  padding: 100px 0 80px;
  background: var(--canvas);
  overflow: hidden;
  position: relative;
}

/* Subtle background element — no stock photo */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 760px;
  position: relative;
}

.hero__headline {
  margin-bottom: var(--lg);
  color: var(--ink);
}

.hero__headline em {
  font-style: normal;
  color: var(--accent);
}

.hero__subhead {
  font-size: 20px;
  line-height: 1.60;
  color: var(--ink-muted);
  max-width: 580px;
  margin-bottom: var(--xxl);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--md);
  flex-wrap: wrap;
  margin-bottom: var(--xxxl);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--lg);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-subtle);
}

.trust-badge__icon {
  width: 18px;
  height: 18px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge__icon::after {
  content: '✓';
  color: white;
  font-size: 10px;
  font-weight: 700;
}


/* === TRUST STRIP === */
.trust-strip {
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--xxl);
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.2px;
}

.trust-strip__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}


/* === PAIN POINTS SECTION === */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xl);
  margin-top: var(--xxl);
}

.pain-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pain-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--hairline-strong);
}

.pain-card__icon {
  font-size: 28px;
  margin-bottom: var(--md);
}

.pain-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sm);
  letter-spacing: -0.2px;
}

.pain-card__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.60;
}


/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xl);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33.33% - 16px);
  right: calc(33.33% - 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--hairline) 0%, var(--accent-light) 50%, var(--hairline) 100%);
}

.step-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--xl);
  box-shadow: var(--shadow-card);
  position: relative;
  text-align: left;
}

.step-card__number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--md);
  position: relative;
  z-index: 1;
}

.step-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sm);
  letter-spacing: -0.3px;
}

.step-card__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.60;
}


/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xl);
}

.service-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-card--featured {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-card--featured:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.service-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--md);
}

.service-card--featured .service-card__tag {
  color: rgba(255,255,255,0.7);
}

.service-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sm);
  letter-spacing: -0.3px;
}

.service-card--featured .service-card__title {
  color: white;
}

.service-card__price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: var(--xs);
}

.service-card--featured .service-card__price {
  color: white;
}

.service-card__price-note {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-bottom: var(--lg);
}

.service-card--featured .service-card__price-note {
  color: rgba(255,255,255,0.6);
}

.service-card__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: var(--lg);
  flex: 1;
}

.service-card--featured .service-card__body {
  color: rgba(255,255,255,0.8);
}

.service-card__includes {
  margin-bottom: var(--lg);
}

.service-card__includes li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: var(--xs);
  line-height: 1.4;
}

.service-card--featured .service-card__includes li {
  color: rgba(255,255,255,0.8);
}

.service-card__includes li::before {
  content: '✓';
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card--featured .service-card__includes li::before {
  color: rgba(255,255,255,0.7);
}

.services-footer {
  text-align: center;
  margin-top: var(--xl);
}

.services-footer a {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--xs);
}
.services-footer a:hover {
  text-decoration: underline;
}


/* === WHO WE HELP === */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--md);
  margin-top: var(--xxl);
}

.industry-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--lg) var(--xl);
  display: flex;
  align-items: center;
  gap: var(--md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.industry-card__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.industry-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.1px;
}

.industry-card__desc {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-top: 2px;
}


/* === ABOUT / DIFFERENTIATOR === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xxxl);
  align-items: center;
}

.about-split__content .eyebrow {
  margin-bottom: var(--lg);
}

.about-split__content h2 {
  margin-bottom: var(--lg);
}

.about-split__content p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.70;
  margin-bottom: var(--md);
}

.about-split__visual {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--xxxl) var(--xxl);
  text-align: center;
}

.cert-badge {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--xl);
  margin-bottom: var(--lg);
  box-shadow: var(--shadow-sm);
}

.cert-badge__icon {
  font-size: 48px;
  margin-bottom: var(--md);
}

.cert-badge__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.cert-badge__sub {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-top: 4px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--md);
}

.stat-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--lg);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-card__number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

.stat-card__label {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-top: 4px;
}

/* Differentiator list */
.differentiator-list {
  margin-top: var(--xl);
}

.differentiator-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--md);
  padding: var(--md) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.50;
}

.differentiator-list li:last-child {
  border-bottom: none;
}

.differentiator-list__icon {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}


/* === CTA BANNER === */
.cta-banner {
  background: var(--primary);
  padding: var(--section) 0;
}

.cta-banner__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--xl);
}

.cta-banner h2 {
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--lg);
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.60;
  margin-bottom: var(--xxl);
}

.cta-banner__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--md);
  flex-wrap: wrap;
}

.cta-banner__note {
  margin-top: var(--md);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}


/* === FOOTER === */
.footer {
  background: #0F1923;
  color: rgba(255,255,255,0.6);
  padding: var(--xxxl) 0 var(--xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--xxl);
  padding-bottom: var(--xxl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--xl);
}

.footer__brand-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: var(--md);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.60;
  max-width: 280px;
  margin-bottom: var(--lg);
}

.footer__contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  display: block;
  margin-bottom: var(--xs);
}

.footer__contact a:hover {
  color: white;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--md);
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: var(--sm);
  transition: color 0.15s;
}

.footer__col a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .pain-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .about-split { grid-template-columns: 1fr; gap: var(--xxl); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section: 64px; }

  .container, .container--narrow { padding: 0 var(--lg); }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  h1, .display-xl { font-size: clamp(32px, 9vw, 48px); letter-spacing: -1.2px; }
  h2, .display-lg { font-size: clamp(24px, 7vw, 36px); letter-spacing: -0.8px; }

  .hero { padding: 64px 0 56px; }
  .hero__subhead { font-size: 17px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: var(--sm); }

  .trust-strip__inner { gap: var(--lg); }

  .pain-grid,
  .steps-grid,
  .services-grid,
  .industries-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .cta-banner__buttons { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--xl); }
  .footer__bottom { flex-direction: column; gap: var(--sm); text-align: center; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ SECTION
============================================================ */
.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary, #f8f9fa);
}

.faq h2 {
  margin-bottom: var(--2xl);
  max-width: 600px;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lg);
  max-width: 960px;
}

.faq__item {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  padding: var(--lg);
  cursor: pointer;
}

.faq__item summary {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary, #111);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--md);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--brand, #1a56db);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin-top: var(--md);
  font-size: 14px;
  color: var(--text-secondary, #555);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG LIST PAGE
============================================================ */
.blog-hero {
  padding: 80px 0 48px;
  background: var(--bg-secondary, #f8f9fa);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xl);
  padding: var(--section-padding) 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.blog-card__body { padding: var(--lg); }

.blog-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand, #1a56db);
  margin-bottom: var(--sm);
}

.blog-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #111);
  margin-bottom: var(--sm);
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary, #555);
  line-height: 1.65;
  margin-bottom: var(--md);
}

.blog-card__meta {
  font-size: 12px;
  color: var(--text-tertiary, #888);
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

/* Blog post body */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.blog-post h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: var(--lg); }
.blog-post h2 { font-size: 24px; margin-top: var(--2xl); margin-bottom: var(--md); }
.blog-post h3 { font-size: 19px; margin-top: var(--xl); margin-bottom: var(--sm); }
.blog-post p  { font-size: 17px; line-height: 1.75; margin-bottom: var(--lg); color: var(--text-secondary, #444); }
.blog-post ul, .blog-post ol { padding-left: 1.5em; margin-bottom: var(--lg); }
.blog-post li { font-size: 16px; line-height: 1.7; color: var(--text-secondary, #444); margin-bottom: 6px; }
.blog-post .post-meta { font-size: 13px; color: var(--text-tertiary, #888); margin-bottom: var(--2xl); }
.blog-post .cta-box {
  background: var(--bg-secondary, #f0f4ff);
  border-left: 4px solid var(--brand, #1a56db);
  border-radius: 0 8px 8px 0;
  padding: var(--lg) var(--xl);
  margin: var(--2xl) 0;
}
.blog-post .cta-box p { color: var(--text-primary, #111); font-weight: 500; }
.blog-post .cta-box a { color: var(--brand, #1a56db); font-weight: 700; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EMAIL CAPTURE — Lead Magnet Form
   ============================================================ */

/* ── Inline capture strip (blog index + homepage) ── */
.capture-strip {
  background: linear-gradient(135deg, #1B2E4B 0%, #1a56db 100%);
  padding: 56px 24px;
  text-align: center;
}

.capture-strip__inner {
  max-width: 580px;
  margin: 0 auto;
}

.capture-strip__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.capture-strip h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.capture-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 28px;
}

.capture-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 10px;
}

.capture-form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: #111827;
}

.capture-form input[type="email"]::placeholder { color: #9ca3af; }

.capture-form button {
  background: #fff;
  color: #1a56db;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.capture-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.capture-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.capture-fine {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.capture-success {
  display: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

.capture-success.visible { display: block; }

/* ── Inline capture box inside blog posts ── */
.post-capture {
  background: linear-gradient(135deg, #1B2E4B 0%, #162447 100%);
  border-radius: 14px;
  padding: 36px 40px;
  margin: 44px 0;
  text-align: center;
}

.post-capture__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 3px 11px;
  margin-bottom: 12px;
}

.post-capture h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-capture p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.65;
}

.post-capture .capture-form {
  max-width: 400px;
}

.post-capture .capture-fine {
  font-size: 11px;
}

@media (max-width: 560px) {
  .capture-form {
    flex-direction: column;
  }
  .capture-form button {
    padding: 13px;
  }
  .post-capture {
    padding: 28px 20px;
  }
}
