/* ─── CSS VARIABLES ──────────────────────────────────── */
:root {
  /* Blue accent palette */
  --g800: #1E3A8A;
  --g700: #1E40AF;
  --g600: #2563EB;
  --g500: #3B82F6;
  --g400: #60A5FA;
  --g100: #DBEAFE;
  --g50:  #EFF6FF;

  /* Charcoal palette */
  --c900: #0E1520;
  --c800: #182030;
  --c700: #243050;
  --c600: #364060;
  --c500: #506080;
  --c400: #7A8EA8;
  --c300: #A8B8CC;
  --c200: #CBD6E4;
  --c100: #E4EBF2;
  --c50:  #F4F6F9;

  --section-pad: 96px;
  --section-pad-mobile: 64px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c700);
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--c900);
}

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

svg {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── LAYOUT UTILITIES ───────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.section-alt {
  background: var(--c50);
}

.section-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g600);
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-h {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--c900);
  margin-bottom: 18px;
}

.section-p {
  font-size: 1.05rem;
  color: var(--c500);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--g600);
  color: #fff;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn-primary svg { width: 16px; height: 16px; stroke-width: 2.5; }
.btn-primary:hover { background: var(--g700); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--c200);
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--g400); color: #fff; transform: translateY(-1px); }

/* ─── HEADER / NAV ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid transparent;
  overflow: visible;
  transition: border-color .25s, box-shadow .25s;
}

.site-header.scrolled {
  border-color: var(--c100);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100px;
}

.logo-block { display: flex; align-items: center; }

.logo-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 201;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c500);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--g500);
  border-radius: 2px;
  transition: width .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--c900); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--g600);
  color: #fff;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--g700); transform: translateY(-1px); }

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c700);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--c900);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 48px; }
.mobile-nav ul a {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--c200);
  padding: 10px 24px;
  display: block;
  transition: color .2s;
}
.mobile-nav ul a:hover { color: #fff; }
.mob-cta {
  padding: 14px 36px;
  font-size: 1rem;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 110px;
  background: var(--c900);
  overflow: hidden;
  text-align: center;
}

.hero-glow-a,
.hero-glow-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-a {
  width: 600px; height: 600px;
  background: rgba(37,99,235,.18);
  top: -150px; left: -100px;
}
.hero-glow-b {
  width: 500px; height: 500px;
  background: rgba(30,58,138,.22);
  bottom: -150px; right: -60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(96,165,250,.35);
  color: var(--g400);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g400);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff;
  max-width: 760px;
  margin-bottom: 22px;
}

.accent { color: var(--g400); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--c300);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px 48px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.12);
}

.stat-icon {
  width: 36px; height: 36px;
  color: var(--g400);
  margin-bottom: 4px;
}
.stat-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}
.stat-num span { font-size: 1.3rem; color: var(--g400); }

.stat-lbl {
  font-size: .8rem;
  color: var(--c300);
  font-weight: 500;
  white-space: nowrap;
}

/* ─── PAIN POINTS ────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.pain-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pain-icon {
  width: 48px; height: 48px;
  background: var(--g50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g600);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.pain-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }

.pain-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c800);
  line-height: 1.35;
}

.pain-item p {
  font-size: .92rem;
  color: var(--c500);
  line-height: 1.65;
}

/* ─── SERVICES ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1.5px solid var(--c100);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,.1);
  border-color: var(--g100);
  transform: translateY(-4px);
}

.svc-icon {
  width: 52px; height: 52px;
  background: var(--g50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g600);
  margin-bottom: 4px;
}
.svc-icon svg { width: 26px; height: 26px; stroke-width: 1.75; }

.service-card h3 {
  font-size: 1.25rem;
  color: var(--c900);
}

.service-card > p {
  font-size: .93rem;
  color: var(--c500);
  line-height: 1.65;
}

.svc-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.svc-list li {
  font-size: .88rem;
  color: var(--c600);
  display: flex;
  align-items: center;
  gap: 9px;
}
.svc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g500);
}

/* ─── FEATURES SECTION (dark banner) ────────────────── */
.features-section {
  background: var(--c900);
}

.section-h-light {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 18px;
}

.section-p-light {
  font-size: 1.05rem;
  color: var(--c300);
  max-width: 600px;
  margin: 0 auto;
}

.features-section .section-center {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-bottom: 72px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g400);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.feature-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }

.feature-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: .975rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.feature-item p {
  font-size: .9rem;
  color: var(--c300);
  line-height: 1.65;
}

.founder-quote {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.founder-avatar {
  width: 64px; height: 64px;
  background: var(--g700);
  border: 3px solid var(--g500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.founder-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #fff;
  max-width: 680px;
  line-height: 1.55;
  font-style: italic;
}

.founder-quote cite {
  font-size: .88rem;
  color: var(--c400);
  font-style: normal;
  font-weight: 500;
}

/* ─── PROCESS ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: var(--c100);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--g500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--g600);
  flex-shrink: 0;
}

.step h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c800);
}

.step p {
  font-size: .88rem;
  color: var(--c500);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: #fff;
  border: 1.5px solid var(--c100);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stars {
  display: flex;
  gap: 3px;
}
.star-svg {
  width: 16px; height: 16px;
  fill: #F59E0B;
  stroke: none;
}

.test-text {
  font-size: .93rem;
  color: var(--c600);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.test-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  flex-shrink: 0;
}
.av-g { background: var(--g700); }
.av-c { background: var(--c600); }
.av-b { background: #0891B2; }

.test-name { font-size: .9rem; font-weight: 700; color: var(--c800); }
.test-biz  { font-size: .8rem; color: var(--c400); }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-wrap {
  background: var(--c50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: start;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.contact-info { padding-top: 8px; }
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.contact-info .section-p { font-size: .95rem; max-width: 100%; margin: 0 0 36px; }

.cinfo-list { display: flex; flex-direction: column; gap: 22px; }

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cinfo-icon {
  width: 42px; height: 42px;
  background: var(--g50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g600);
  flex-shrink: 0;
}
.cinfo-icon svg { width: 18px; height: 18px; stroke-width: 1.75; }

.cinfo-lbl { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c400); margin-bottom: 2px; }
.cinfo-val { font-size: .95rem; color: var(--c700); font-weight: 500; }

.contact-form-card {
  background: #fff;
  border: 1.5px solid var(--c100);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form-group:last-of-type { margin-bottom: 0; }

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c600);
  letter-spacing: .02em;
}

input, select, textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--c200);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--c800);
  background: var(--c50);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--g500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
  background: #fff;
}
input::placeholder, textarea::placeholder { color: var(--c300); }

textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--g600);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover:not(:disabled) { background: var(--g700); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-note {
  font-size: .78rem;
  color: var(--c400);
  text-align: center;
  margin-top: 10px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 0;
}
.check-icon {
  width: 64px; height: 64px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon svg { width: 28px; height: 28px; stroke: #16A34A; stroke-width: 2.5; fill: none; }
.form-success h3 { font-size: 1.4rem; color: var(--c800); }
.form-success p  { font-size: .92rem; color: var(--c500); }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--c900);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-logo-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-copy {
  font-size: .82rem;
  color: var(--c400);
  margin-left: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: .85rem;
  color: var(--c400);
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }

/* ─── RESPONSIVE: ≤1000px ────────────────────────────── */
@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .steps::before { display: none; }

  .test-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info .section-h { font-size: 1.8rem; }
}

/* ─── RESPONSIVE: ≤768px ─────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: var(--section-pad-mobile); }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { padding: 72px 0 80px; }

  .hero-stats {
    padding: 20px 24px;
    width: 100%;
  }
  .stat-item { padding: 0 20px; }

  .pain-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }

  .test-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 22px; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-copy { margin-left: 0; }
}

/* ─── RESPONSIVE: ≤620px ─────────────────────────────── */
@media (max-width: 620px) {
  .logo-img { height: 130px; }
  .footer-logo-img { height: 130px; }
  .header-inner { height: 80px; }

  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat-item { padding: 0; }

  .pain-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; }
  .step-circle { flex-shrink: 0; }

  .section-center { margin-bottom: 44px; }

  .contact-grid { padding-top: var(--section-pad-mobile); padding-bottom: var(--section-pad-mobile); }
}

/* ── INSIGHTS INDEX PAGE ────────────────────────────────── */
.insights-hero {
  background: var(--c900);
  padding: 72px 0 80px;
  text-align: center;
}
.insights-hero .section-tag { margin-bottom: 20px; }
.insights-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  max-width: 700px;
  margin: 0 auto 18px;
  line-height: 1.2;
}
.insights-hero p {
  font-size: 1.05rem;
  color: var(--c300);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 72px 0;
}
.article-card {
  background: #fff;
  border: 1.5px solid var(--c100);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,.1);
  border-color: var(--g100);
  transform: translateY(-3px);
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g600);
  background: var(--g50);
  border-radius: 100px;
  padding: 4px 12px;
  width: fit-content;
}
.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--c900);
  line-height: 1.35;
}
.card-excerpt {
  font-size: .88rem;
  color: var(--c500);
  line-height: 1.65;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--c400);
  font-weight: 500;
  padding-top: 4px;
  border-top: 1px solid var(--c100);
}
.card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--c300); }
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--g600);
  text-decoration: none;
  transition: gap .2s;
}
.read-link:hover { gap: 10px; }
.read-link svg { width: 14px; height: 14px; stroke-width: 2.5; }

/* ── INDIVIDUAL ARTICLE PAGES ───────────────────────────── */
.article-page-wrap {
  background: var(--c50);
  padding: 56px 0 96px;
}
.article-page-inner {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--c100);
  border-radius: 24px;
  padding: 56px 64px;
}
.back-to-insights {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c400);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s;
}
.back-to-insights:hover { color: var(--g600); }
.back-to-insights svg { width: 14px; height: 14px; stroke-width: 2.5; }
.article-cat { margin-bottom: 16px; }
.article-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--c900);
  line-height: 1.25;
  margin-bottom: 10px;
}
.article-subtitle {
  font-size: 1.05rem;
  color: var(--c500);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.6;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--c100);
  border-bottom: 1px solid var(--c100);
  margin-bottom: 36px;
}
.byline-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--g700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.byline-info { display: flex; flex-direction: column; gap: 2px; }
.byline-name { font-size: .88rem; font-weight: 700; color: var(--c800); }
.byline-meta { font-size: .78rem; color: var(--c400); }
.article-body { max-width: 720px; }
.article-body p { font-size: 1rem; color: var(--c600); line-height: 1.8; margin-bottom: 22px; }
.article-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c800);
  margin: 36px 0 12px;
  line-height: 1.35;
}
.article-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding: 0;
}
.article-body ul li {
  font-size: .97rem;
  color: var(--c600);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g500);
}
.article-body ol { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.article-body ol li { font-size: .97rem; color: var(--c600); line-height: 1.65; }
.article-callout {
  background: var(--g50);
  border: 1.5px solid var(--g100);
  border-left: 4px solid var(--g500);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-callout p { margin: 0; font-size: .95rem; color: var(--c700); font-weight: 500; line-height: 1.65; }
.article-cta {
  background: var(--c900);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta p { font-size: .97rem; color: var(--c200); margin: 0; max-width: 480px; line-height: 1.6; }
.article-cta a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--g600);
  color: #fff;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.article-cta a:hover { background: var(--g700); }

@media (max-width: 1000px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .article-page-inner { padding: 32px 24px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) { .cards-grid { padding: 48px 0; } }

/* ─── RELATED ARTICLES ───────────────────────────────── */
.related-articles {
  margin: 48px 0 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--c100);
}
.related-articles h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--c900);
  margin: 0 0 20px;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.related-link {
  display: block;
  padding: 16px 18px;
  background: var(--c50);
  border: 1px solid var(--c100);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.related-link:hover {
  background: var(--g50);
  border-color: var(--g400);
}
.related-link-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: 4px;
}
.related-link-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c800);
  line-height: 1.35;
}
@media (max-width: 640px) {
  .related-links { grid-template-columns: 1fr; }
}

/* ─── NEWSLETTER POPUP ───────────────────────────────── */
.nl-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14,21,32,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.nl-overlay.nl-visible { opacity: 1; pointer-events: all; }
.nl-popup {
  background: #fff; border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 460px; width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform .35s ease;
  box-shadow: 0 24px 64px rgba(14,21,32,.18);
}
.nl-overlay.nl-visible .nl-popup { transform: translateY(0); }
.nl-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--c400);
  padding: 4px 8px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nl-close:hover { color: var(--c900); background: var(--c50); }
.nl-icon { margin-bottom: 18px; }
.nl-icon svg { width: 48px; height: 48px; }
.nl-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; color: var(--c900);
  margin: 0 0 10px; line-height: 1.2;
}
.nl-body {
  font-size: .93rem; color: var(--c500);
  line-height: 1.6; margin: 0 0 22px;
}
.nl-field-row { display: flex; gap: 8px; }
.nl-input {
  flex: 1; padding: 11px 14px;
  border: 1.5px solid var(--c200); border-radius: 8px;
  font-size: .93rem; font-family: 'Inter', sans-serif;
  color: var(--c900); outline: none;
  transition: border-color .2s;
}
.nl-input:focus { border-color: var(--g500); }
.nl-submit {
  padding: 11px 20px;
  background: var(--g600); color: #fff;
  border: none; border-radius: 8px;
  font-size: .93rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.nl-submit:hover { background: var(--g700); }
.nl-fine {
  font-size: .75rem; color: var(--c400);
  margin: 10px 0 0; line-height: 1.5;
}
.nl-success p {
  font-size: .97rem; color: var(--g700);
  font-weight: 500; text-align: center;
  padding: 12px 0;
}
@media (max-width: 480px) {
  .nl-popup { padding: 32px 22px 26px; }
  .nl-field-row { flex-direction: column; }
  .nl-submit { width: 100%; }
}
