/* ===================================================
   MARKETING PAGES — Sign-n-Pay
   Shared styles for all public marketing pages.
   Uses Outfit + Fraunces font stack (loaded via MarketingLayout).
   =================================================== */

/* ── CSS Variables ── */
:root {
  --mk-ink: #0d2137;
  --mk-paper: #f7fbfd;
  --mk-cream: #eaf4f9;
  --mk-accent: #0099cc;
  --mk-accent-hover: #0080ad;
  --mk-accent-glow: rgba(0,153,204,0.12);
  --mk-accent-soft: #e8f6fb;
  --mk-teal: #00b894;
  --mk-teal-soft: #e0f8f1;
  --mk-indigo: #0066aa;
  --mk-indigo-soft: #e0f0fa;
  --mk-indigo-glow: rgba(0,102,170,0.1);
  --mk-muted: #71717a;
  --mk-muted-light: #a1a1aa;
  --mk-border: #e4e4e7;
  --mk-card: #ffffff;
  --mk-radius: 20px;
  --mk-radius-sm: 12px;
}

/* ── Page Reset (scoped to .mk-page) ── */
.mk-page {
  font-family: 'Outfit', sans-serif;
  background: var(--mk-paper);
  color: var(--mk-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.mk-page * { box-sizing: border-box; }
.mk-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,80,140,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,140,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.mk-page a { color: inherit; }
.mk-page img { max-width: 100%; height: auto; }

.mk-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Navigation ── */
.mk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}
.mk-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--mk-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  flex-shrink: 0;
  max-width: 200px;
  height: 36px;
}
.mk-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--mk-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
  transform: rotate(-3deg);
}
.mk-logo-img { height: 36px; max-height: 36px; max-width: 180px; width: auto; object-fit: contain; }
.mk-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mk-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mk-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.mk-nav-links a:hover { color: var(--mk-ink); }
.mk-nav-links a.active { color: var(--mk-accent); font-weight: 600; }
.mk-nav-cta {
  padding: 10px 22px;
  background: var(--mk-ink);
  color: white !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.mk-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.mk-mobile-controls {
  display: none;
  align-items: center;
  gap: 8px;
}
.mk-mobile-cta {
  display: none;
  padding: 10px 20px;
  background: var(--mk-accent);
  color: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mk-mobile-demo {
  display: none;
  padding: 10px 16px;
  background: #6366f1;
  color: white;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.mk-mobile-demo:hover { color: white; }
.mk-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  background: none;
  border: 1.5px solid var(--mk-ink);
  border-radius: 8px;
  cursor: pointer;
}
.mk-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--mk-ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.mk-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mk-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.mk-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mk-mobile-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 16px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--mk-cream, #fffbf5);
  border-top: 1px solid var(--mk-border);
  border-bottom: 1px solid var(--mk-border);
  z-index: 50;
}
.mk-mobile-menu li {
  padding: 0;
}
.mk-mobile-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mk-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mk-mobile-menu a:hover,
.mk-mobile-menu a.active {
  background: rgba(0,0,0,0.03);
  color: var(--mk-ink);
}
.mk-mobile-menu a.active {
  color: var(--mk-accent);
  font-weight: 600;
}
.mk-mobile-menu .mk-nav-cta {
  display: inline-block;
  margin: 8px 20px 4px;
  text-align: center;
}
@media(max-width: 900px) {
  .mk-nav-links { display: none !important; }
  .mk-mobile-controls { display: flex !important; }
  .mk-mobile-cta { display: inline-flex !important; }
  .mk-mobile-demo { display: inline-flex !important; }
  .mk-hamburger { display: flex !important; }
  .mk-mobile-menu { display: block; }
}
@media(max-width: 420px) {
  .mk-mobile-demo { padding: 10px 12px; font-size: 12px; }
  .mk-mobile-cta { padding: 10px 14px; font-size: 13px; }
}
@media(max-width: 768px) {
  .mk-nav { padding: 14px 0; }
  .mk-hero-chip { margin-bottom: 10px; padding: 5px 12px; font-size: 12px; }
  .mk-hero { padding: 16px 0 36px; }
}

/* ── Buttons ── */
.mk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--mk-accent);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}
.mk-btn-primary:hover {
  background: var(--mk-accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--mk-accent-glow);
}
.mk-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--mk-ink);
  border: 1.5px solid var(--mk-border);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}
.mk-btn-outline:hover {
  border-color: var(--mk-ink);
  background: var(--mk-ink);
  color: white;
}
.mk-btn-indigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--mk-indigo);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}
.mk-btn-indigo:hover {
  background: #005599;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--mk-indigo-glow);
}
@media(max-width: 500px) {
  .mk-btn-primary, .mk-btn-outline, .mk-btn-indigo {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* ── CTA Banner ── */
.mk-cta-banner { padding: 0 0 80px; }
.mk-cta-card {
  background: linear-gradient(135deg, #0099cc 0%, #006699 100%);
  border-radius: var(--mk-radius);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mk-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}
.mk-cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.mk-cta-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin: 0 auto 28px;
  position: relative;
}
.mk-cta-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: white;
  color: var(--mk-accent);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-cta-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  color: var(--mk-accent);
}
.mk-cta-card .mk-cta-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: none;
}
.mk-cta-card .mk-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  box-shadow: none;
}
@media(max-width: 600px) {
  .mk-cta-card { padding: 40px 24px; }
  .mk-cta-card a { padding: 14px 28px; font-size: 15px; }
}

/* ── Footer ── */
.mk-footer {
  border-top: 1px solid var(--mk-border);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--mk-muted-light);
}

/* ── Animations ── */
@keyframes mkFadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mkFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ── Hero (generic) ── */
.mk-hero {
  text-align: center;
  padding: 32px 0 48px;
  animation: mkFadeDown 0.6s ease both;
}
.mk-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.mk-hero h1 .accent {
  color: var(--mk-accent);
  font-style: italic;
  font-weight: 600;
}
.mk-hero .mk-sub {
  font-size: 18px;
  color: var(--mk-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.mk-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero Chip ── */
.mk-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--mk-accent-soft);
  color: var(--mk-accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.mk-hero-chip svg { width: 14px; height: 14px; }

/* ── Hero Proof ── */
.mk-hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mk-muted-light);
  margin-top: 4px;
}
.mk-hero-proof .avatars { display: flex; }
.mk-hero-proof .avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--mk-paper);
  margin-left: -6px;
  background: var(--mk-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--mk-muted);
}
.mk-hero-proof .avatar:first-child { margin-left: 0; }

/* ── Badge ── */
.mk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.mk-badge-accent { background: var(--mk-accent-soft); color: var(--mk-accent); }
.mk-badge-teal { background: var(--mk-teal-soft); color: var(--mk-teal); }

/* ── Billing Toggle ── */
.mk-billing-toggle {
  text-align: center;
  padding: 20px 0 40px;
  animation: mkFadeDown 0.6s ease 0.25s both;
}
.mk-billing-pill {
  display: inline-flex;
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 100px;
  padding: 4px;
  position: relative;
}
.mk-billing-pill button {
  padding: 10px 24px;
  border: none;
  background: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--mk-muted);
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}
.mk-billing-pill button.active {
  color: var(--mk-ink);
  font-weight: 600;
}
.mk-billing-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: var(--mk-paper);
  border: 1px solid var(--mk-border);
  border-radius: 100px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mk-billing-slider.annual { transform: translateX(100%); }
.mk-annual-tag {
  padding: 2px 8px;
  background: #e0f0fa;
  color: #0080ad;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Pricing Grid ── */
.mk-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 40px;
  animation: mkFadeUp 0.5s ease 0.3s both;
}
@media(max-width: 900px) {
  .mk-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
.mk-plan {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mk-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}
.mk-plan.featured {
  border-width: 2px;
  border-color: var(--mk-accent);
  box-shadow: 0 0 0 1px var(--mk-accent), 0 8px 32px var(--mk-accent-glow);
  padding: 35px 31px 31px;
}
.mk-featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mk-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  color: white;
  white-space: nowrap;
}
.mk-plan-emoji { font-size: 28px; margin-bottom: 14px; display: block; }
.mk-plan-tier {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mk-muted);
  margin-bottom: 6px;
}
.mk-plan-tagline {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.mk-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  margin-top: auto;
}
.mk-price-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mk-price-period { font-size: 15px; color: var(--mk-muted); }
.mk-price-detail {
  font-size: 13px;
  color: var(--mk-muted);
  margin-bottom: 24px;
  min-height: 20px;
}
.mk-plan-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--mk-radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 28px;
  border: none;
  text-decoration: none;
}
.mk-plan-cta.outline {
  background: var(--mk-paper);
  border: 1.5px solid var(--mk-border);
  color: var(--mk-ink);
}
.mk-plan-cta.outline:hover {
  border-color: var(--mk-ink);
  background: var(--mk-ink);
  color: white;
}
.mk-plan-cta.primary {
  background: var(--mk-accent);
  color: white;
}
.mk-plan-cta.primary:hover {
  background: var(--mk-accent-hover);
  transform: scale(1.02);
  color: white;
}
.mk-plan-cta.dark {
  background: var(--mk-ink);
  color: white;
}
.mk-plan-cta.dark:hover {
  background: #1f2937;
  transform: scale(1.02);
  color: white;
}
.mk-plan-divider {
  height: 1px;
  background: var(--mk-border);
  margin-bottom: 24px;
}
.mk-features-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mk-muted);
  margin-bottom: 16px;
}
.mk-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin: 0;
  padding: 0;
}
.mk-features-list li {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mk-features-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  margin-top: 1px;
  background-color: #d1fae5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.mk-features-list li.accent-feat {
  font-weight: 600;
  color: var(--mk-accent);
}
.mk-features-list li.accent-feat::before {
  background-color: var(--mk-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230099cc' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.mk-features-list li strong { font-weight: 600; }

/* ── Feature Grid ── */
.mk-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 56px 0 80px;
}
.mk-feat-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mk-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.mk-feat-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.mk-feat-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.mk-feat-card p { font-size: 14px; color: var(--mk-muted); line-height: 1.65; }
@media(max-width: 900px) { .mk-feat-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 550px) { .mk-feat-grid { grid-template-columns: 1fr; } }

/* ── Integration Grid ── */
.mk-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 80px;
}
.mk-int-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mk-int-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.mk-int-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; width: 56px; height: 56px; background: #f5f7fa; border-radius: 14px; padding: 12px; }
.mk-int-logo svg { width: 100%; height: 100%; }
.mk-int-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mk-accent);
  margin-bottom: 8px;
}
.mk-int-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.mk-int-card p { font-size: 13px; color: var(--mk-muted); line-height: 1.6; }
@media(max-width: 900px) { .mk-int-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 500px) { .mk-int-grid { grid-template-columns: 1fr; } }

/* ── Comparison Table ── */
.mk-vs-table-wrap {
  padding: 0 0 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mk-vs-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  overflow: hidden;
}
.mk-vs-table th {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mk-muted);
  text-align: left;
  background: #f9fafb;
  border-bottom: 1px solid var(--mk-border);
}
.mk-vs-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--mk-border);
}
.mk-vs-table tr:last-child td { border-bottom: none; }
.mk-vs-table .them { color: #ef4444; font-weight: 600; }
.mk-vs-table .us { color: var(--mk-teal); font-weight: 700; }
.mk-vs-table .chk { color: var(--mk-teal); }
.mk-vs-table .crs { color: #ef4444; }

/* ── Savings Banner ── */
.mk-save-banner {
  background: var(--mk-ink);
  color: white;
  border-radius: var(--mk-radius);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 60px;
}
.mk-save-banner .big {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--mk-accent);
  margin-bottom: 8px;
}
.mk-save-banner .lbl {
  font-size: clamp(14px, 2vw, 18px);
  color: #a1a1aa;
  margin-bottom: 24px;
}

/* ── Pain Grid ── */
.mk-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 0 80px;
}
.mk-pain-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 24px 20px;
}
.mk-pain-card.prob { border-left: 4px solid #ef4444; }
.mk-pain-card.sol { border-left: 4px solid var(--mk-teal); }
.mk-pain-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.mk-pain-card p { font-size: 14px; color: var(--mk-muted); line-height: 1.6; }
@media(max-width: 768px) { .mk-pain-grid { grid-template-columns: 1fr; } }

/* ── Solutions / Use-Case Grid ── */
.mk-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 60px;
}
.mk-uc-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 28px 24px;
  transition: transform 0.3s;
}
.mk-uc-card:hover { transform: translateY(-4px); }
.mk-uc-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.mk-uc-card p { font-size: 14px; color: var(--mk-muted); line-height: 1.6; }
@media(max-width: 900px) { .mk-uc-grid { grid-template-columns: 1fr; } }

/* ── Benefits Strip ── */
.mk-ben-strip {
  background: var(--mk-ink);
  color: white;
  border-radius: var(--mk-radius);
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  text-align: center;
}
.mk-ben-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--mk-accent);
  margin-bottom: 4px;
}
.mk-ben-lbl { font-size: 13px; color: #a1a1aa; }
@media(max-width: 768px) { .mk-ben-strip { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 20px; } }
@media(max-width: 400px) { .mk-ben-strip { grid-template-columns: 1fr; } }

/* ── Contact Form ── */
.mk-ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 0 80px;
}
.mk-ct-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}
.mk-ct-info > p { color: var(--mk-muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.mk-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.mk-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: var(--mk-radius-sm);
  background: var(--mk-accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.mk-info-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.mk-info-item p { font-size: 14px; color: var(--mk-muted); line-height: 1.5; margin: 0; }
.mk-ct-form {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 40px 36px;
}
.mk-ct-form h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}
.mk-fg { margin-bottom: 20px; }
.mk-fg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mk-fg input, .mk-fg textarea, .mk-fg select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  background: var(--mk-paper);
  color: var(--mk-ink);
  transition: border-color 0.2s;
  outline: none;
}
.mk-fg input:focus, .mk-fg textarea:focus, .mk-fg select:focus { border-color: var(--mk-accent); }
.mk-fg textarea { resize: vertical; min-height: 120px; }
.mk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--mk-accent);
  color: white;
  border: none;
  border-radius: var(--mk-radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.mk-submit-btn:hover { background: var(--mk-accent-hover); transform: scale(1.01); }
@media(max-width: 768px) {
  .mk-ct-grid { grid-template-columns: 1fr; }
  .mk-ct-form { padding: 28px 20px; }
  .mk-form-row { grid-template-columns: 1fr; }
}

/* ── Mockup Frame (Dashboard Screenshot) ── */
.mk-mockup-section { padding: 0 0 80px; }
.mk-mockup-frame {
  background: var(--mk-ink);
  border-radius: var(--mk-radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}
.mk-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mk-dot { width: 10px; height: 10px; border-radius: 50%; }
.mk-dot.r { background: #ff5f57; }
.mk-dot.y { background: #ffbd2e; }
.mk-dot.g { background: #28c840; }
.mk-mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  font-family: 'JetBrains Mono', monospace;
}
.mk-mockup-body {
  padding: 28px 32px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media(max-width: 600px) { .mk-mockup-body { padding: 16px; min-height: 200px; } }

/* ── Mockup Skeletons (shown while client-side assets load) ── */
@keyframes mkShimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
.mk-mockup-skeleton {
  min-height: 280px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 400px 100%;
  animation: mkShimmer 1.4s ease infinite;
}
.mk-phone-skeleton {
  min-height: 400px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(0,0,0,0.03) 25%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.03) 75%);
  background-size: 400px 100%;
  animation: mkShimmer 1.4s ease infinite;
}

/* ── Mock Dashboard Internals ── */
.mk-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mk-mock-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-mock-logo .s {
  width: 28px; height: 28px;
  background: var(--mk-accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: white; transform: rotate(-3deg);
}
.mk-mock-nav-pills { display: flex; gap: 4px; }
.mk-mock-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  background: rgba(255,255,255,0.04);
}
.mk-mock-pill.act { background: rgba(0,153,204,0.15); color: var(--mk-accent); }
.mk-mock-send {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--mk-accent);
  color: white;
}
@media(max-width: 600px) { .mk-mock-nav-pills, .mk-mock-send { display: none; } }

.mk-mock-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk-mock-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.mk-mock-metric .num { font-size: 22px; font-weight: 700; color: white; margin-bottom: 2px; }
.mk-mock-metric .num.or { color: var(--mk-accent); }
.mk-mock-metric .lbl { font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.08em; }
@media(max-width: 600px) { .mk-mock-metrics { grid-template-columns: 1fr 1fr; } }

.mk-mock-table { width: 100%; }
.mk-mock-th {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  padding: 8px 12px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280;
}
.mk-mock-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  margin-top: 4px;
  align-items: center;
}
.mk-mock-row .name { font-size: 13px; color: white; font-weight: 500; }
.mk-mock-row .email { font-size: 12px; color: #6b7280; }
.mk-mock-status {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}
.mk-mock-status.signed { background: rgba(5,150,105,0.15); color: #34d399; }
.mk-mock-status.pending { background: rgba(234,179,8,0.15); color: #facc15; }
.mk-mock-status.paid { background: rgba(0,102,170,0.15); color: #a5b4fc; }
.mk-mock-amt { font-size: 13px; color: white; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
@media(max-width: 700px) {
  .mk-mock-th, .mk-mock-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .mk-mock-row .pkg { display: none; }
  .mk-mock-th > :nth-child(2) { display: none; }
}

/* ── Mock Sidebar ── */
.mk-mock-sidebar {
  width: 180px;
  min-width: 180px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mk-mock-sidebar-item {
  padding: 6px 10px;
  font-size: 11px;
  color: #9ca3af;
  border-radius: 6px;
  cursor: default;
}
.mk-mock-sidebar-item.act {
  background: rgba(0,153,204,0.12);
  color: var(--mk-accent);
  font-weight: 600;
}
.mk-mock-sidebar-item.sub { padding-left: 20px; font-size: 10px; }
.mk-mock-sidebar-group {
  padding: 8px 10px 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}
@media(max-width: 700px) { .mk-mock-sidebar { display: none; } }

/* ── Mock Main Content ── */
.mk-mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.mk-mock-main .mk-mock-header {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mk-mock-search-section {
  padding: 16px 20px;
}
.mk-mock-page-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.mk-mock-greeting {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 12px;
}
.mk-mock-search-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.mk-mock-search-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  color: #6b7280;
}
.mk-mock-search-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--mk-accent);
  color: white;
}
.mk-mock-new-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: white;
}
.mk-mock-main .mk-mock-table { padding: 0 20px 16px; }
.mk-mock-row .pkg { font-size: 11px; color: #9ca3af; }

/* ── Phone Mockup ── */
.mk-phone-mock {
  width: 280px;
  margin: 0 auto;
  background: var(--mk-ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.mk-phone-screen {
  background: #1a1c24;
  border-radius: 26px;
  overflow: hidden;
  padding: 20px 16px 24px;
}
.mk-phone-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}
.mk-phone-header .p-logo { font-family: 'Fraunces', serif; font-size: 14px; color: white; margin-bottom: 8px; }
.mk-phone-header .p-title { font-size: 12px; color: #6b7280; }
.mk-phone-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mk-phone-field .pf-label { font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.06em; }
.mk-phone-field .pf-value { font-size: 13px; color: white; font-weight: 500; }
.mk-phone-sig {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin: 12px 0;
}
.mk-phone-sig svg { width: 160px; height: 48px; }
.mk-phone-sig-label {
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.mk-phone-sig-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.mk-phone-sig-tabs span {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
  background: rgba(255,255,255,0.03);
}
.mk-phone-sig-tabs span.active {
  background: var(--mk-accent);
  color: white;
  font-weight: 600;
}
.mk-phone-sig-pad {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mk-phone-sig-name {
  font-size: 10px;
  color: #34d399;
  margin-top: 6px;
}

/* Phone Document Preview */
.mk-phone-doc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 10px;
}
.mk-phone-doc-header {
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.mk-phone-doc-line {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 6px;
}
.mk-phone-doc-line.w100 { width: 100%; }
.mk-phone-doc-line.w90 { width: 90%; }
.mk-phone-doc-line.w80 { width: 80%; }
.mk-phone-doc-line.w75 { width: 75%; }
.mk-phone-doc-line.w60 { width: 60%; }
.mk-phone-doc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 8px 0;
}

.mk-phone-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
  color: white;
}
.mk-phone-btn.accent-bg { background: var(--mk-accent); }
.mk-phone-btn.teal-bg { background: var(--mk-teal); }
@media(max-width: 768px) { .mk-phone-mock { width: 240px; } }

/* ── How It Works ── */
.mk-how-section { padding: 0 0 80px; }
.mk-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mk-how-grid h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.mk-how-grid h2 .accent { color: var(--mk-accent); }
.mk-how-steps { display: flex; flex-direction: column; gap: 20px; }
.mk-how-item { display: flex; gap: 16px; align-items: flex-start; }
.mk-how-num {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 8px;
  background: var(--mk-accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.mk-how-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.mk-how-item p { font-size: 13px; color: var(--mk-muted); line-height: 1.5; margin: 0; }
@media(max-width: 768px) { .mk-how-grid { grid-template-columns: 1fr; } }

/* ── Workflow Steps ── */
.mk-wf-section { padding: 0 0 80px; }
.mk-wf-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}
.mk-wf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-wf-step {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 28px 20px;
  text-align: center;
}
.mk-wf-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mk-accent);
  color: white;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  margin-bottom: 16px;
}
.mk-wf-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.mk-wf-step p { font-size: 13px; color: var(--mk-muted); line-height: 1.5; }
@media(max-width: 900px) { .mk-wf-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 500px) { .mk-wf-grid { grid-template-columns: 1fr; } }

/* ── Compare Cards ── */
.mk-compare-section { padding: 0 0 80px; }
.mk-compare-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
.mk-compare-sub {
  text-align: center;
  color: var(--mk-muted);
  font-size: 15px;
  margin-bottom: 36px;
}
.mk-compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-compare-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 24px 20px;
}
.mk-vs-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mk-muted-light); margin-bottom: 4px;
}
.mk-competitor {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 600; margin-bottom: 16px;
}
.mk-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--mk-border);
  font-size: 13px;
}
.mk-compare-row:last-of-type { border-bottom: none; }
.mk-compare-row .label { color: var(--mk-muted); }
.mk-compare-row .them { color: #ef4444; font-weight: 600; }
.mk-compare-row .us { color: var(--mk-teal); font-weight: 700; }
.mk-compare-footer { padding-top: 16px; }
.mk-savings-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--mk-teal-soft);
  color: var(--mk-teal);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
}
@media(max-width: 900px) { .mk-compare-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* ── Testimonials ── */
.mk-testi-section { padding: 0 0 80px; }
.mk-testi-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
}
.mk-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-testi-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 28px 24px;
}
.mk-testi-card .stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.mk-testi-card blockquote { font-size: 14px; line-height: 1.7; margin-bottom: 16px; font-style: italic; margin-left: 0; margin-right: 0; }
.mk-testi-author { font-size: 13px; font-weight: 600; }
.mk-testi-role { font-size: 12px; color: var(--mk-muted-light); }
@media(max-width: 768px) { .mk-testi-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.mk-faq-section { padding: 0 0 80px; }
.mk-faq-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
}
.mk-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-faq-item {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius-sm);
  padding: 24px;
}
.mk-faq-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.mk-faq-item p { font-size: 14px; color: var(--mk-muted); line-height: 1.6; }
@media(max-width: 768px) { .mk-faq-grid { grid-template-columns: 1fr; } }

/* ── API Page Code Mockup ── */
.mk-code-frame {
  background: var(--mk-ink);
  border-radius: var(--mk-radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.mk-code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mk-code-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  font-family: 'JetBrains Mono', monospace;
}
.mk-code-body {
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}
.mk-code-body .cm { color: #6b7280; }
.mk-code-body .st { color: #34d399; }
.mk-code-body .ky { color: #a5b4fc; }
.mk-code-body .fn { color: #f9a8d4; }
.mk-code-body .nb { color: #0099cc; }
@media(max-width: 600px) { .mk-code-body { font-size: 11px; padding: 16px; } }

/* ── API Feature Grid ── */
.mk-af-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mk-af-card {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mk-af-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); }
.mk-af-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.mk-af-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.mk-af-card p { font-size: 13px; color: var(--mk-muted); line-height: 1.6; }
@media(max-width: 900px) { .mk-af-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 500px) { .mk-af-grid { grid-template-columns: 1fr; } }

/* ── API Flow Steps ── */
.mk-flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-flow-step { text-align: center; position: relative; }
.mk-flow-step .fs-num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mk-indigo);
  color: white;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  margin-bottom: 16px;
}
.mk-flow-step h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.mk-flow-step p { font-size: 12px; color: var(--mk-muted); line-height: 1.5; }
.mk-flow-step .code-snippet {
  margin-top: 12px;
  background: var(--mk-ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.6;
  color: #a1a1aa;
  text-align: left;
  overflow-x: auto;
  white-space: pre;
}
@media(max-width: 900px) { .mk-flow-steps { grid-template-columns: 1fr 1fr; } }
@media(max-width: 500px) { .mk-flow-steps { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ── Speed Strip (for features page) ── */
.mk-speed-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media(max-width: 768px) { .mk-speed-inner { grid-template-columns: 1fr; } }
.mk-speed-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-stat-box {
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius-sm);
  padding: 20px;
  text-align: center;
}
.mk-stat-num { font-size: 28px; font-weight: 800; margin-bottom: 2px; }
.mk-stat-num.accent-color { color: var(--mk-accent); }
.mk-stat-label { font-size: 11px; color: var(--mk-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Section Headers ── */
.mk-section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

/* ── API Hero Grid ── */
.mk-api-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
}
.mk-api-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.mk-api-hero h1 .accent { color: var(--mk-indigo); }
.mk-api-hero .mk-sub { font-size: 17px; color: var(--mk-muted); line-height: 1.7; margin-bottom: 28px; }
.mk-api-hero .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.mk-api-hero .badge-item {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--mk-indigo-soft);
  color: var(--mk-indigo);
}
@media(max-width: 768px) {
  .mk-api-hero { grid-template-columns: 1fr; text-align: center; padding: 48px 0 60px; }
  .mk-api-hero .badges { justify-content: center; }
  .mk-hero-btns { justify-content: center; }
}

/* ── Home Hero ── */
.mk-home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 0 0 80px;
  animation: mkFadeDown 0.6s ease both;
}
.mk-home-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.mk-home-hero h1 .accent { color: var(--mk-accent); font-style: italic; font-weight: 600; }
.mk-home-hero .mk-sub { font-size: 18px; color: var(--mk-muted); line-height: 1.7; margin-bottom: 28px; }
@media(max-width: 768px) { .mk-home-hero { grid-template-columns: 1fr; text-align: center; padding: 0 0 48px; } }

/* ── Logos Strip ── */
.mk-logos-strip {
  padding: 0 0 60px;
  text-align: center;
}
.mk-logos-strip p {
  font-size: 13px;
  color: var(--mk-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 24px;
}
.mk-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.mk-logos-row span {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--mk-muted);
}

/* ── Contact form success state ── */
.mk-form-success {
  text-align: center;
  padding: 40px 0;
}
.mk-form-success .icon { font-size: 48px; }
.mk-form-success h3 { margin: 16px 0 8px; }
.mk-form-success p { color: var(--mk-muted); }

/* ── API Docs Page ── */
.mk-api-section {
  padding: 0 0 48px;
}
.mk-api-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 12px;
}
.mk-api-section p {
  color: var(--mk-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}
.mk-api-section code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--mk-cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.mk-code-frame.compact {
  margin-top: 8px;
}
.mk-code-frame.compact .mk-code-body {
  padding: 16px;
}
.mk-code-frame.compact pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  white-space: pre-wrap;
  word-break: break-word;
}
.mk-api-endpoint {
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: var(--mk-radius-sm);
  padding: 24px;
  margin-bottom: 20px;
}
.mk-api-endpoint-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mk-api-path {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--mk-ink);
  background: none;
  padding: 0;
}
.mk-api-endpoint h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.mk-api-endpoint p {
  font-size: 14px;
  color: var(--mk-muted);
  margin: 0 0 16px;
}
.mk-api-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mk-muted);
  margin: 12px 0 4px;
}
.mk-api-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.mk-api-event {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 8px;
  padding: 12px 16px;
}
.mk-api-event code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.mk-api-event span {
  font-size: 13px;
  color: var(--mk-muted);
}
.mk-api-params {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 16px;
}
.mk-api-params th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mk-muted);
  padding: 8px 12px;
  border-bottom: 2px solid var(--mk-border);
}
.mk-api-params td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--mk-border);
  vertical-align: top;
  color: var(--mk-muted);
  line-height: 1.5;
}
.mk-api-params code {
  font-size: 12px;
}
.mk-api-params .mk-required {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  background: #f871711a;
  color: #f87171;
}
.mk-api-params .mk-optional {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  background: #6b72801a;
  color: #6b7280;
}
.mk-api-subsection {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 8px;
  color: var(--mk-ink);
}
.mk-api-note {
  background: var(--mk-cream);
  border: 1px solid var(--mk-border);
  border-radius: var(--mk-radius-sm);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--mk-muted);
  line-height: 1.6;
  margin: 16px 0;
}
.mk-api-note strong {
  color: var(--mk-ink);
}
.mk-api-note ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.mk-api-note li {
  margin-bottom: 4px;
}

/* ── API Inline CTA ── */
.mk-api-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--mk-accent-soft) 0%, #e0f2fe 100%);
  border: 1px solid var(--mk-accent);
  border-radius: var(--mk-radius-sm);
  padding: 20px 28px;
  margin: 32px 0;
}
.mk-api-inline-cta .mk-api-cta-text {
  flex: 1;
}
.mk-api-inline-cta .mk-api-cta-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--mk-ink);
  display: block;
  margin-bottom: 4px;
}
.mk-api-inline-cta .mk-api-cta-text span {
  font-size: 13px;
  color: var(--mk-muted);
}
.mk-api-inline-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--mk-accent);
  color: white;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.mk-api-inline-cta a:hover {
  background: var(--mk-accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--mk-accent-glow);
}
@media(max-width: 600px) {
  .mk-api-inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .mk-api-inline-cta a {
    width: 100%;
    justify-content: center;
  }
}

/* ── API Feature Comparison Table ── */
.mk-feat-table-section { padding: 0 0 80px; }
.mk-feat-table-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
}
.mk-feat-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--mk-radius);
}
.mk-feat-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--mk-card);
  border: 1.5px solid var(--mk-border);
  border-radius: var(--mk-radius);
  overflow: hidden;
}
.mk-feat-table th {
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--mk-border);
  background: var(--mk-cream);
}
.mk-feat-table th:first-child {
  text-align: left;
  width: 35%;
}
.mk-feat-table th.highlight {
  background: var(--mk-indigo-soft);
  color: var(--mk-indigo);
}
.mk-feat-table td {
  padding: 11px 14px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mk-feat-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.mk-feat-table td.highlight {
  background: rgba(0,102,170,0.02);
}
.mk-feat-table tr:last-child td { border-bottom: none; }
.mk-feat-table .us { color: var(--mk-teal); font-weight: 700; }
.mk-feat-table .them { color: #ef4444; font-weight: 600; }
.mk-feat-table .chk { color: var(--mk-teal); font-weight: 600; }
.mk-feat-table .neutral { color: var(--mk-muted); }
.mk-compare-note {
  text-align: center;
  font-size: 13px;
  color: var(--mk-muted-light);
  margin-bottom: 36px;
}

/* ── HubSpot Section ── */
.mk-hubspot-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .mk-hubspot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Blog ── */
.mk-blog-hero {
  text-align: center;
  padding: 64px 0 32px;
}
.mk-blog-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.mk-blog-hero p {
  color: var(--mk-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}
.mk-blog-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--mk-muted);
}
.mk-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding-bottom: 64px;
}
.mk-blog-card {
  background: var(--mk-card);
  border-radius: var(--mk-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mk-border);
  transition: transform 0.18s, box-shadow 0.18s;
}
.mk-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mk-blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--mk-cream);
}
.mk-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-blog-card-body {
  padding: 20px 24px 24px;
}
.mk-blog-card-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 8px 0 10px;
  line-height: 1.35;
}
.mk-blog-card-body p {
  color: var(--mk-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mk-blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--mk-muted-light);
}
.mk-blog-category {
  display: inline-block;
  background: var(--mk-accent-soft);
  color: var(--mk-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Blog full-width content — breaks out of mk-container for full-bleed elements */
.mk-blog-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Blog Article (single post — narrow wrapper for tags/back link) */
.mk-blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 64px;
}
.mk-blog-back-bottom {
  margin-top: 24px;
}
.mk-blog-back {
  margin-bottom: 24px;
}
.mk-blog-back a {
  color: var(--mk-accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.mk-blog-back a:hover {
  text-decoration: underline;
}
.mk-blog-hero-img {
  width: 100%;
  border-radius: var(--mk-radius);
  overflow: hidden;
  margin-bottom: 28px;
  max-height: 420px;
}
.mk-blog-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--mk-muted);
}
.mk-blog-author {
  font-weight: 600;
  color: var(--mk-ink);
}
.mk-blog-article h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.25;
}
.mk-blog-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mk-ink);
}
.mk-blog-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 36px 0 14px;
}
.mk-blog-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
.mk-blog-content p { margin-bottom: 18px; }
.mk-blog-content img {
  max-width: 100%;
  border-radius: var(--mk-radius-sm);
  margin: 20px 0;
}
.mk-blog-content ul, .mk-blog-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
.mk-blog-content li { margin-bottom: 6px; }
.mk-blog-content blockquote {
  border-left: 3px solid var(--mk-accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--mk-accent-soft);
  border-radius: 0 var(--mk-radius-sm) var(--mk-radius-sm) 0;
  color: var(--mk-muted);
  font-style: italic;
}
.mk-blog-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 18px 20px;
  border-radius: var(--mk-radius-sm);
  overflow-x: auto;
  font-size: 0.88rem;
  margin: 20px 0;
}
.mk-blog-content code {
  background: var(--mk-cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
.mk-blog-content pre code {
  background: none;
  padding: 0;
}
.mk-blog-content a {
  color: var(--mk-accent);
  text-decoration: underline;
}
.mk-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--mk-border);
}
.mk-blog-tag {
  background: var(--mk-cream);
  color: var(--mk-muted);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .mk-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mk-blog-article {
    padding: 20px 0 48px;
  }
}
