/* ── FONTS (self-hosted Inter variable) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/InterVariable-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/InterVariable-latin.woff2') format('woff2');
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── TOKENS ── */
:root {
  --blue:       #1A3FBF;
  --blue-dark:  #122E99;
  --blue-mid:   #2E52D8;
  --blue-light: #EEF2FF;
  --blue-faint: #F5F7FF;
  --green:      #2ECC40;
  --green-dark: #0A6B1A;
  --green-light:#EAFBEA;
  --gray:       #505060;
  --gray-light: #F6F7FA;
  --gray-mid:   #E3E5EF;
  --white:      #FFFFFF;
  --ink:        #12121E;
  --radius:     14px;
  --radius-lg:  20px;
  --shadow-card: 0 2px 16px rgba(26,63,191,0.08);
  --shadow-hover:0 8px 32px rgba(26,63,191,0.14);
}

/* ── BASE ── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: 0 1px 10px rgba(26,63,191,0.06);
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a { color: var(--gray); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: 50px;
  font-weight: 600 !important; font-size: 0.88rem !important;
  transition: background 0.2s, transform 0.15s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.25s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #EEF2FF 0%, #FFFFFF 50%, #EAFBEA 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--gray-mid) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-mid) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.45;
}
.hero-glow {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100%); height: 380px;
  background: radial-gradient(ellipse, rgba(26,63,191,0.1) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); border: 1.5px solid rgba(46,204,64,0.4);
  color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.55s ease both;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}
.hero h1 {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.04; letter-spacing: -0.04em;
  color: var(--ink); margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.08s ease both;
}
.hl-blue { color: var(--blue); }
.hl-green { color: var(--green-dark); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray); line-height: 1.75; font-weight: 400;
  max-width: 540px; margin: 0 auto 1.25rem;
  animation: fadeUp 0.6s 0.15s ease both;
}
.hero-links {
  font-size: 0.92rem; color: var(--gray); line-height: 1.7;
  max-width: 580px; margin: 0 auto 2rem;
  animation: fadeUp 0.6s 0.18s ease both;
}
.hero-links a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.hero-links a:hover { color: var(--green-dark); }
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.6s 0.22s ease both;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  font-weight: 600; font-size: 1rem;
  padding: 0.9rem 2rem; border-radius: 50px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(26,63,191,0.28);
  transition: transform 0.15s, background 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-dark); }
.btn-outline {
  background: transparent; color: var(--blue);
  font-weight: 600; font-size: 1rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  border: 2px solid var(--blue-mid); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--blue-light); transform: translateY(-2px); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  justify-content: center; margin-top: 2.5rem;
  animation: fadeUp 0.6s 0.42s ease both;
}
.stat {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  background: rgba(255,255,255,0.7); border: 1px solid var(--gray-mid);
  border-radius: 50px; padding: 0.45rem 1rem;
  backdrop-filter: blur(6px);
}
.stat-num { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 1rem; color: var(--blue); }
.stat-num.g { color: var(--green-dark); }
.stat-lbl { font-size: 0.72rem; color: var(--gray); font-weight: 500; }

/* ── HERO MOCKUP ── */
.hero-mockup {
  margin: 3rem auto 0;
  max-width: 540px; width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(26,63,191,0.18), 0 4px 12px rgba(26,63,191,0.06);
  padding: 1.25rem 1.4rem 1.4rem;
  text-align: left;
  animation: fadeUp 0.7s 0.32s ease both;
  position: relative;
}
.mockup-head {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.72rem; font-weight: 600; color: var(--gray);
  letter-spacing: 0.05em; text-transform: uppercase;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--gray-mid);
  margin-bottom: 1rem;
}
.mockup-head-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.mockup-head-spacer { flex: 1; }
.mockup-head-time { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--gray); }
.mockup-msg {
  display: flex; gap: 0.6rem; margin-bottom: 0.85rem; align-items: flex-end;
}
.mockup-msg.ai { flex-direction: row-reverse; }
.mockup-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 800; font-family: 'Inter', system-ui, sans-serif;
}
.mockup-avatar.user { background: var(--gray-light); color: var(--ink); border: 1px solid var(--gray-mid); }
.mockup-avatar.ai { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: var(--white); }
.mockup-bubble {
  background: var(--gray-light); padding: 0.65rem 0.9rem;
  border-radius: 14px 14px 14px 4px; font-size: 0.86rem; color: var(--ink); line-height: 1.5;
  max-width: 78%;
}
.mockup-msg.ai .mockup-bubble {
  background: var(--blue-light);
  border-radius: 14px 14px 4px 14px;
}
.mockup-quote {
  margin-top: 0.85rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white); padding: 0.95rem 1.1rem; border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mockup-quote-label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; margin-bottom: 0.2rem; }
.mockup-quote-amt { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.mockup-quote-meta { font-size: 0.76rem; opacity: 0.78; margin-top: 0.35rem; }
.mockup-quote-cta {
  background: var(--green-dark); color: var(--white);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem; border-radius: 50px;
  white-space: nowrap;
}
.mockup-typing {
  display: inline-flex; gap: 4px; padding: 0.7rem 0.9rem;
  background: var(--gray-light); border-radius: 14px 14px 14px 4px;
}
.mockup-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gray);
  animation: typing 1.4s infinite ease-in-out;
}
.mockup-typing span:nth-child(2) { animation-delay: 0.2s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}

/* ── STRIPE + MARQUEE ── */
.stripe { height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.marquee-bar { background: var(--blue); padding: 0.85rem 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee-item {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.88); padding: 0 2rem;
}
.marquee-sep { color: var(--green); }

/* ── SECTION COMMON ── */
.section { padding: 5.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 0.65rem;
}
.section-title {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em; line-height: 1.1; color: var(--ink);
  margin-bottom: 0.85rem;
}
.section-sub { color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 520px; }
.section-sub a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.section-sub a:hover { color: var(--blue-dark); }
.t-center { text-align: center; }
.t-center .section-sub { margin: 0 auto; }

/* ── PROBLEMS ── */
.problems { background: var(--gray-light); }
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
  list-style: none; padding: 0;
}
.prob-card {
  background: var(--white); border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius); padding: 1.6rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prob-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.prob-icon { font-size: 1.9rem; margin-bottom: 0.85rem; }
.prob-card h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.45rem; }
.prob-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ── FEATURES ── */
.features { background: var(--white); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.feat-card {
  background: var(--white); border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feat-card:hover { transform: translateY(-5px); border-color: var(--blue-mid); box-shadow: var(--shadow-hover); }
.feat-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0; transition: opacity 0.3s;
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem;
}
.feat-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: 50px; margin-bottom: 0.85rem;
}
.feat-card h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.55rem; }
.feat-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }
.feat-list { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; list-style: none; padding: 0; }
.feat-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; color: var(--gray); }
.feat-check { color: var(--green-dark); flex-shrink: 0; margin-top: 1px; font-size: 0.8rem; }

/* ── HOW IT WORKS ── */
.how { background: var(--blue); }
.how .section-label { color: #96E6A0; }
.how .section-title { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.82); }
.steps { margin-top: 3.5rem; display: flex; flex-direction: column; list-style: none; padding: 0; counter-reset: zap-step; }
.step {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 2.8rem;
  color: var(--green); opacity: 0.85; line-height: 1;
  min-width: 54px; flex-shrink: 0; padding-top: 2px;
  transition: opacity 0.25s;
}
.step:hover .step-num { opacity: 1; }
.step-body h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); margin-bottom: 0.45rem; }
.step-body p { font-size: 0.875rem; color: rgba(255,255,255,0.85); line-height: 1.65; }

/* ── WHY ZAP ── */
.why { background: var(--blue-faint); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
  list-style: none; padding: 0;
}
.why-card {
  background: var(--white); border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(46,204,64,0.1); }
.why-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem;
}
.why-card h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.why-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.testi-card {
  background: var(--gray-light); border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testi-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.testi-stars { color: var(--green-dark); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 0.85rem; }
.testi-quote { font-size: 0.94rem; color: var(--gray); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-light); color: var(--blue);
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.testi-role { font-size: 0.75rem; color: var(--gray); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 5.5rem 1.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  bottom: -100px; right: -100px;
  width: 450px; height: 450px; border-radius: 50%;
  background: rgba(46,204,64,0.1); pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute;
  top: -80px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,0.05); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--white); letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,0.68); margin-bottom: 2.25rem; }
.btn-cta {
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  padding: 1rem 2.25rem; border-radius: 50px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; text-align: center;
  max-width: 100%; box-sizing: border-box;
  box-shadow: 0 6px 24px rgba(46,204,64,0.4);
  transition: transform 0.15s, background 0.2s;
}
.btn-cta:hover { transform: translateY(-3px); background: var(--green-dark); color: var(--white); text-decoration: none; }
.btn-cta .btn-arrow { display: inline-block; transition: transform 0.2s; }
.btn-cta:hover .btn-arrow { transform: translateX(3px); }
.cta-note { margin-top: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 2.75rem 1.5rem;
  border-top: 3px solid var(--blue);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
}
.footer-logo img { height: 34px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.78); }

/* ── CONTACT MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 18, 30, 0.65);
  backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: center;
  padding: 4rem 1rem 2rem;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 520px;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
}
.modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 36px; height: 36px; border: none; background: var(--gray-light);
  border-radius: 50%; cursor: pointer; color: var(--gray);
  font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--blue-light); color: var(--blue); }
.modal h3 {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: 1.6rem; letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.modal-sub { color: var(--gray); font-size: 0.92rem; margin-bottom: 1.4rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.form-row label {
  font-size: 0.78rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em;
}
.form-row label .req { color: var(--green-dark); }
.form-row input,
.form-row textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--gray-mid); border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,63,191,0.12);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-honey { position: absolute; left: -9999px; top: -9999px; }
.form-msg { font-size: 0.85rem; margin: 0.4rem 0 0.85rem; min-height: 1.1em; }
.form-msg.err { color: #c0392b; }
.form-msg.ok  { color: var(--green-dark); }
.modal .btn-primary {
  width: 100%; justify-content: center;
  margin-top: 0.4rem;
}
.modal .btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 640px) {
  .modal-overlay { padding-top: 2rem; }
  .modal { padding: 1.6rem 1.25rem 1.4rem; }
  .modal h3 { font-size: 1.35rem; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.5rem 2rem; background: var(--white);
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-links .nav-cta { text-align: center; padding: 0.75rem; }
}
@media (max-width: 640px) {
  .nav { padding: 0.75rem 1.25rem; }
  .nav-logo img { height: 34px; }
  .hero { padding: 8rem 1.25rem 4rem; }
  .hero-stats { gap: 0.75rem; }
  .stat { min-width: 90px; padding: 0.75rem 0.85rem; }
  .stat-num { font-size: 1.65rem; }
  .section { padding: 4rem 1.25rem; }
  .step { gap: 1rem; }
  .step-num { font-size: 2rem; min-width: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; }
  .why-card { flex-direction: column; }
  .why-icon { margin-bottom: 0.5rem; }
  .hero-mockup { padding: 1rem 1rem 1.1rem; }
  .mockup-quote { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .mockup-quote-cta { align-self: stretch; text-align: center; }
  .mockup-bubble { font-size: 0.82rem; }

  /* CTA button: full-width, label-wrap-safe touch target on small screens */
  .cta-section { padding: 4rem 1.25rem; }
  .btn-cta {
    display: flex; width: 100%; max-width: 340px;
    margin: 0 auto;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    white-space: normal;
    min-height: 52px;
    gap: 8px;
  }
  .btn-cta .btn-arrow { flex-shrink: 0; }
}

/* ─────────────────────────────────────────────────────────
   SUB-PAGE COMPONENTS
   ───────────────────────────────────────────────────────── */

/* Compact page hero (smaller than homepage hero) */
.page-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--blue-faint) 0%, var(--white) 100%);
  text-align: center;
  border-bottom: 1px solid var(--gray-mid);
}
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}
.page-hero .hero-badge { margin-bottom: 1.5rem; }

/* Generic content section for sub-pages */
.page-section { padding: 4rem 2rem; }
.page-section-inner { max-width: 1100px; margin: 0 auto; }
.page-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.page-section .lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 720px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.page-section.alt { background: var(--gray-light); }

/* Numbered step list */
.step-list { display: grid; gap: 1.5rem; counter-reset: step; }
.step-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}
.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.5rem; top: 1.75rem;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white);
  border-radius: 50%;
  font-weight: 800; font-size: 1.05rem;
}
.step-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.step-item p { color: var(--gray); line-height: 1.6; }

/* Pricing tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pricing-card.featured {
  border: 2px solid var(--blue);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.pricing-tier { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pricing-price .unit { font-size: 0.95rem; color: var(--gray); font-weight: 500; letter-spacing: 0; }
.pricing-blurb { color: var(--gray); margin: 0.75rem 0 1.5rem; line-height: 1.5; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex-grow: 1; }
.pricing-features li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0.55rem;
  color: var(--green-dark); font-weight: 800;
}
.pricing-card .btn-primary, .pricing-card .btn-outline { width: 100%; text-align: center; justify-content: center; }

/* Contact page: form + sidebar */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-form-card,
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--ink); }
.contact-info-card p, .contact-info-card a {
  color: var(--gray); line-height: 1.6; font-size: 0.95rem;
  display: block; margin-bottom: 1.25rem;
}
.contact-info-card a { color: var(--blue); }
.contact-info-card a:hover { color: var(--blue-dark); }

/* Legal pages: prose-friendly typography */
.legal-prose { max-width: 760px; margin: 0 auto; color: var(--ink); line-height: 1.75; }
.legal-prose h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; color: var(--ink); }
.legal-prose h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; color: var(--ink); font-weight: 700; }
.legal-prose p { margin-bottom: 1rem; color: var(--gray); }
.legal-prose ul { margin: 0.5rem 0 1rem 1.5rem; color: var(--gray); }
.legal-prose ul li { margin-bottom: 0.4rem; line-height: 1.6; }
.legal-prose .muted { font-size: 0.9rem; color: var(--gray); margin-bottom: 2rem; }
.legal-prose a { color: var(--blue); text-decoration: underline; }

/* FAQ accordion-ish (no JS, just stacked details) */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-card);
}
.faq details[open] { box-shadow: var(--shadow-hover); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 0.75rem; color: var(--gray); line-height: 1.65; }

/* Active nav highlight */
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* ─── BLOG ─────────────────────────────────────────────────────────── */
.post-list { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; }
.post-item { margin-bottom: 1.25rem; }
.post-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.post-link:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-date { font-size: 0.82rem; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; }
.post-title { font-size: 1.4rem; font-weight: 700; color: var(--ink); margin: 0.35rem 0 0.5rem; line-height: 1.25; }
.post-excerpt { color: var(--gray); line-height: 1.6; margin-bottom: 0.5rem; }
.post-cta { color: var(--blue); font-weight: 600; font-size: 0.9rem; }

/* Single post */
.post-inner { max-width: 720px; margin: 0 auto; }
/* ── BREADCRUMB (blog / authors / resources detail pages) ──
   Horizontal trail: Home › Section › Current Page.
   Wraps gracefully on mobile — on narrow viewports the long current-page
   title breaks to its own line below the trail (no orphan chevron). */
.post-crumbs {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--gray);
}
.post-crumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  row-gap: 0.15rem;
  min-width: 0;
}
.post-crumbs li {
  display: inline-flex; align-items: center;
  min-width: 0;
  color: var(--gray);
}
.post-crumbs li + li::before {
  content: "›";
  margin: 0 0.5rem;
  color: var(--gray-mid);
  font-weight: 400;
  flex: 0 0 auto;
}
.post-crumbs a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.post-crumbs a:hover {
  color: var(--blue-dark, #102a8a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-crumbs li[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 640px) {
  .post-crumbs { font-size: 0.8125rem; margin-bottom: 1.25rem; }
  .post-crumbs li + li::before { margin: 0 0.35rem; }
  /* On narrow viewports, drop the long current-page title to its own line
     so it doesn't ellipsis-truncate or break the trail. Hide the orphan
     chevron in front of it once it wraps. */
  .post-crumbs li[aria-current="page"] {
    flex: 1 0 100%;
    margin-top: 0.2rem;
    padding-left: 0.1rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    font-size: 0.875rem;
    line-height: 1.35;
  }
  .post-crumbs li[aria-current="page"]::before {
    display: none;
  }
}
.post-author-link { color: var(--blue); text-decoration: none; font-weight: 500; }
.post-author-link:hover { text-decoration: underline; }
.post-h1 { font-size: 2.2rem; line-height: 1.2; margin: 0.5rem 0 1rem; color: var(--ink); }
.post-lead { font-size: 1.15rem; color: var(--gray); line-height: 1.6; margin-bottom: 1.5rem; }
.post-body { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 { margin: 1.8rem 0 0.6rem; line-height: 1.3; color: var(--ink); }
.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body h4 { font-size: 1.1rem; }
.post-body p { margin: 0 0 1rem; }
.post-body ul, .post-body ol { margin: 0 0 1rem 1.25rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body a { color: var(--blue); text-decoration: underline; }
.post-body a:hover { color: var(--blue-dark); }
.post-body code { background: var(--gray-light); padding: 0.15em 0.4em; border-radius: 4px;
  font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; }
.post-body pre {
  background: #0e1730; color: #d6e0ff; padding: 1rem 1.25rem; border-radius: var(--radius);
  overflow-x: auto; margin: 1.25rem 0; font-size: 0.9rem;
}
.post-body pre code { background: transparent; color: inherit; padding: 0; }
.post-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 0.4rem 0 0.4rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--gray);
  font-style: italic;
}
.post-body hr { border: 0; border-top: 1px solid var(--gray-mid); margin: 2rem 0; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }

/* ─── CUSTOMER LOGO STRIP ─────────────────────────────────────────── */
.logo-strip { background: var(--white); padding: 2.5rem 1.5rem; border-top: 1px solid var(--gray-mid); border-bottom: 1px solid var(--gray-mid); }
.logo-strip-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.logo-strip-label { color: var(--gray); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 1.25rem; font-weight: 600; }
.logo-strip-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 2.5rem;
}
.logo-strip-row img {
  height: 36px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(1); opacity: .65;
  transition: filter .2s, opacity .2s, transform .2s;
}
.logo-strip-row img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
@media (max-width: 600px) { .logo-strip-row img { height: 28px; max-width: 120px; } }

/* ─── Downgraded card titles (semantic divs, not headings) ────────── */
.prob-title, .why-title {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  line-height: 1.3; margin: 0 0 0.4rem;
}

/* ─── FOOTER REDESIGN ─────────────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(140px, auto));
  gap: 2rem 3rem;
  max-width: 1100px; margin: 0 auto;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-lockup { display: inline-flex; align-items: center; }
.footer-mark { display: inline-flex; flex-shrink: 0; }
.footer-mark svg {
  display: block;
  filter: drop-shadow(0 6px 18px rgba(26, 63, 191, 0.45));
}
.footer-tagline { color: rgba(255,255,255,0.78); font-size: 0.84rem; line-height: 1.55; max-width: 260px; margin: 0; }
.footer-col h3 {
  color: var(--white); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.78); font-size: 0.85rem;
  padding: 0.18rem 0; transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-col a[rel*="noopener"]::after {
  content: '↗'; margin-left: 0.3rem; opacity: 0.55;
  font-size: 0.78rem;
}
.footer-bottom {
  max-width: 1100px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.78); }
.footer-share { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.footer-share span { font-size: 0.78rem; color: rgba(255,255,255,0.78); margin-right: 0.25rem; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Share buttons (used in footer + blog posts) ───────────────────── */
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background 0.15s, color 0.15s, transform 0.15s;
  font-size: 0.78rem; text-decoration: none;
}
.share-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
/* On light backgrounds (blog post share row) */
.share-row {
  display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap;
  margin: 2rem 0 1rem; padding: 0.9rem 1.1rem;
  background: var(--gray-light); border-radius: var(--radius);
}
.share-row .share-label {
  font-size: 0.82rem; color: var(--gray); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.25rem;
}
.share-row .share-btn {
  background: var(--white); color: var(--blue); border: 1px solid var(--gray-mid);
}
.share-row .share-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ─── AUTHOR PROFILES ──────────────────────────────────────────────── */
.author-profile { padding-top: 3rem; }
.author-inner { max-width: 820px; margin: 0 auto; }
.author-header {
  display: flex; gap: 1.5rem; align-items: center;
  margin: 0.5rem 0 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-mid);
}
.author-avatar {
  flex-shrink: 0;
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white); font-size: 2.4rem; font-weight: 700;
}
.author-avatar.small { width: 64px; height: 64px; font-size: 1.6rem; }
.author-name { font-size: 2rem; line-height: 1.2; margin: 0 0 0.3rem; color: var(--ink); }
.author-role { font-size: 0.95rem; color: var(--blue); font-weight: 600; margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.03em; }
.author-tagline { font-size: 1.05rem; color: var(--gray); line-height: 1.55; margin: 0; }
.author-bio { margin: 2.5rem 0; }
.author-bio h2 { font-size: 1.5rem; margin: 0 0 1rem; color: var(--ink); }
.author-bio p { font-size: 1.05rem; line-height: 1.7; color: var(--ink); margin: 0 0 1rem; }
.author-expertise { margin: 2.5rem 0; }
.author-expertise h2 { font-size: 1.3rem; margin: 0 0 1rem; color: var(--ink); }
.author-expertise-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.author-expertise-list li {
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--gray-light); color: var(--ink);
  font-size: 0.88rem; font-weight: 500;
}
.author-posts { margin: 2.5rem 0; }
.author-posts h2 { font-size: 1.5rem; margin: 0 0 1.25rem; color: var(--ink); }

/* Authors index grid */
.authors-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  max-width: 820px; margin: 0 auto;
}
@media (min-width: 720px) { .authors-grid { grid-template-columns: 1fr 1fr; } }
.author-card-link {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-mid);
  border-radius: var(--radius); padding: 1.5rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.author-card-link:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.author-card-name { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 0.25rem; }
.author-card-role { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.author-card-tagline { font-size: 0.95rem; color: var(--gray); line-height: 1.55; margin: 0 0 0.75rem; }

@media (max-width: 600px) {
  .author-header { flex-direction: column; text-align: center; gap: 1rem; }
  .author-name { font-size: 1.6rem; }
}

/* ─── BLOG POST VISUALS ────────────────────────────────────────────── */
/* Tables inside post bodies (rendered from GFM pipe-table markdown) */
.post-table-wrap { margin: 1.5rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--gray-mid);
  border-radius: var(--radius); overflow: hidden;
  font-size: 0.95rem;
}
.post-table th, .post-table td {
  padding: 0.75rem 1rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--gray-mid);
}
.post-table thead th {
  background: var(--gray-light); font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--gray-mid);
}
.post-table tbody tr:last-child td { border-bottom: 0; }
.post-table tbody tr:hover { background: var(--gray-light); }
.post-table td strong, .post-table th strong { color: var(--ink); }

/* Inline figures / SVG diagrams */
.post-figure {
  margin: 2rem 0; padding: 1.5rem;
  background: var(--gray-light); border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
}
.post-figure svg { width: 100%; height: auto; display: block; }
.post-figure figcaption {
  margin-top: 0.75rem; font-size: 0.88rem;
  color: var(--gray); text-align: center; line-height: 1.5;
}

/* Inline ROI / interactive calculator */
.post-calc {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.post-calc h4 { font-size: 1.15rem; margin: 0 0 0.25rem; color: var(--ink); }
.post-calc .calc-sub { font-size: 0.9rem; color: var(--gray); margin: 0 0 1.25rem; }
.post-calc .calc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
@media (max-width: 540px) { .post-calc .calc-row { grid-template-columns: 1fr; } }
.post-calc label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.3rem;
}
.post-calc input {
  width: 100%; padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-mid); border-radius: 6px;
  font-size: 1rem; font-family: inherit;
  background: var(--white);
}
.post-calc input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.post-calc .calc-result {
  margin-top: 1.25rem; padding: 1.25rem;
  background: var(--blue); color: var(--white);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: baseline;
}
.post-calc .calc-result-label {
  font-size: 0.82rem; opacity: 0.85; text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 600;
}
.post-calc .calc-result-amount {
  font-size: 2rem; font-weight: 700; line-height: 1;
}
.post-calc .calc-result-note {
  flex-basis: 100%; font-size: 0.85rem; opacity: 0.85; line-height: 1.5;
}
