/**
 * Additive conversion & engagement layer — does not replace page styles.
 * Companion to platform-enhancements.js (injected UI).
 */

/* ---------- Scroll progress ---------- */
.jm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 100020;
  pointer-events: none;
  background: rgba(4, 6, 11, 0.65);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.jm-scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00d4ff, #7b2fff, #00f5a0);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.55);
  transition: width 0.12s ease-out;
}

html.jm-premium-ui .jm-scroll-progress {
  top: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .jm-scroll-progress__bar {
    transition: none;
  }
}

/* ---------- Premium UX layer (inspired by modern SaaS polish) ---------- */
html.jm-premium-ui,
body.jm-premium-ui {
  background-color: #05070d;
  background-image:
    radial-gradient(1200px 480px at 92% -8%, rgba(0, 212, 255, 0.22), transparent 58%),
    radial-gradient(900px 440px at 6% 18%, rgba(123, 47, 255, 0.18), transparent 55%),
    radial-gradient(700px 360px at 50% 96%, rgba(0, 245, 160, 0.08), transparent 60%);
  background-attachment: fixed;
}

.jm-premium-topline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 100022;
  pointer-events: none;
  background: linear-gradient(90deg, #00d4ff, #7b2fff, #00f5a0, #00d4ff);
  background-size: 200% 100%;
  animation: jm-topline-shift 14s linear infinite;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35), 0 0 42px rgba(123, 47, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .jm-premium-topline {
    animation: none;
    background-size: 100% 100%;
  }
}

@keyframes jm-topline-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.jm-premium-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.jm-premium-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.62;
}

.jm-premium-orb--a {
  width: 52vw;
  max-width: 680px;
  aspect-ratio: 1;
  top: -20vh;
  right: -12vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.62), rgba(0, 212, 255, 0));
  animation: jm-float-a 20s ease-in-out infinite;
}

.jm-premium-orb--b {
  width: 46vw;
  max-width: 600px;
  aspect-ratio: 1;
  bottom: -22vh;
  left: -14vw;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.48), rgba(123, 47, 255, 0));
  animation: jm-float-b 22s ease-in-out infinite;
}

.jm-premium-orb--c {
  width: 38vw;
  max-width: 520px;
  aspect-ratio: 1;
  top: 38vh;
  left: 40%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 245, 160, 0.22), rgba(0, 245, 160, 0));
  animation: jm-float-c 26s ease-in-out infinite;
  opacity: 0.4;
}

.jm-premium-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, #000 28%, transparent 88%);
  opacity: 0.38;
}

@keyframes jm-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2vw, 2.5vh, 0);
  }
}

@keyframes jm-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(2vw, -2.5vh, 0);
  }
}

@keyframes jm-float-c {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0);
  }
  50% {
    transform: translate3d(-50%, 2.5vh, 0);
  }
}

/* Transform-only reveal — never hides content at opacity 0 */
.jm-reveal-up {
  transform: translateY(18px) scale(0.992);
  filter: saturate(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease,
    box-shadow 0.55s ease;
  will-change: transform;
}

.jm-reveal-up--visible {
  transform: translateY(0) scale(1);
  filter: saturate(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .jm-premium-orb--a,
  .jm-premium-orb--b,
  .jm-premium-orb--c {
    animation: none;
  }
  .jm-reveal-up {
    transform: none;
    transition: none;
    filter: none;
  }
}

body.jm-premium-ui .btn,
body.jm-premium-ui .submit-btn,
body.jm-premium-ui .jm-pain-lane__cta,
body.jm-premium-ui .product-btn {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 212, 255, 0.1);
  will-change: transform;
}

body.jm-premium-ui .btn:hover,
body.jm-premium-ui .submit-btn:hover,
body.jm-premium-ui .jm-pain-lane__cta:hover,
body.jm-premium-ui .product-btn:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 212, 255, 0.24);
}

body.jm-premium-ui .service-card,
body.jm-premium-ui .portfolio-card,
body.jm-premium-ui .jm-price-card,
body.jm-premium-ui .jm-pain-card,
body.jm-premium-ui .jm-home-showcase__card,
body.jm-premium-ui .testimonial-card,
body.jm-premium-ui .trust-bridge-card,
body.jm-premium-ui .faq-item,
body.jm-premium-ui .highlight-item,
body.jm-premium-ui .assurance-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.jm-premium-ui .jm-reveal-up--visible.hero-card {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Immediate visible premium overrides (JS-independent) ---------- */
:root {
  --jm-premium-edge: rgba(0, 212, 255, 0.2);
  --jm-premium-glass: rgba(8, 12, 20, 0.82);
}

body {
  background-color: #05070d;
}

.navbar,
.nav,
.jm-mini-nav {
  backdrop-filter: blur(18px) saturate(135%);
  background: linear-gradient(
    120deg,
    rgba(5, 9, 16, 0.9) 0%,
    rgba(10, 16, 28, 0.85) 52%,
    rgba(8, 12, 20, 0.92) 100%
  ) !important;
  border-bottom: 1px solid var(--jm-premium-edge) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

/* ---------- Advanced sticky navigation ---------- */
.navbar.jm-nav-pro,
.nav.jm-nav-pro {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100040 !important;
  transition:
    padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease !important;
}

.jm-nav-pro--scrolled,
.navbar.jm-nav-pro.jm-nav-pro--scrolled {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  background: linear-gradient(
    120deg,
    rgba(4, 7, 12, 0.97) 0%,
    rgba(8, 12, 22, 0.96) 50%,
    rgba(5, 8, 14, 0.98) 100%
  ) !important;
  border-bottom-color: rgba(0, 212, 255, 0.28) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 212, 255, 0.08) !important;
}

.jm-nav-pro .nav-links a.is-active,
.jm-nav-pro .nav-menu a.is-active {
  color: #f0f4fc !important;
}

.jm-nav-pro .nav-links a.is-active::after,
.jm-nav-pro .nav-menu a.is-active::after {
  width: 100% !important;
  background: linear-gradient(90deg, #00d4ff, #7b2fff) !important;
}

.jm-nav-pro .nav-cta .btn-primary,
.jm-nav-pro .nav-actions .btn-primary {
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.35);
}

/* Homepage: clean fold — no injected trust rows above hero */
body.jm-home .jm-trust-rail,
body.jm-home .jm-trust-ribbon {
  display: none !important;
}

body.jm-home .hero {
  padding-top: clamp(88px, 14vw, 118px) !important;
}

body.jm-home .hero-image--promo {
  object-fit: contain;
  object-position: center bottom;
}

body.jm-home .hero-visual-caption span {
  color: #00d4ff;
}

body.jm-home .jm-activity-strip,
body.jm-home .jm-quick-bar {
  display: none !important;
}

body.jm-home .hero-promise,
body.jm-home .hero-quick-links {
  display: none !important;
}

@media (min-width: 993px) {
  body.jm-home .hero-promise {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .jm-trust-rail {
    display: none !important;
  }

  body.jm-home .hero-promise,
  body.jm-home .hero-quick-links,
  body.jm-home .hero-content > div[style*='Agency-grade'] {
    display: none !important;
  }

  body.jm-home .hero-visual {
    max-width: min(280px, 88vw);
    margin-left: auto;
    margin-right: auto;
  }

  body.jm-home .hero-image {
    height: min(340px, 52vw) !important;
  }

  body.jm-home .hero-card-1,
  body.jm-home .hero-card-2 {
    position: relative;
    left: auto;
    right: auto;
    margin: 0.5rem;
  }
}

.hero,
.page-hero {
  position: relative;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.42), transparent);
  pointer-events: none;
}

.service-card,
.portfolio-card,
.project-card,
.pricing-card,
.testimonial-card,
.faq-item,
.jm-pain-card,
.jm-price-card,
.jm-home-showcase__card,
.trust-bridge-card,
.first-step-card,
.wf-value-card,
.assurance-card,
.highlight-item,
.case-card,
.resource-card,
.rg-card,
.cs-card,
.benefit,
.step-card,
.embed-wrap,
.calendly-shell,
.checklist,
.info-card {
  border: 1px solid var(--jm-premium-edge) !important;
  background: linear-gradient(
    175deg,
    rgba(10, 14, 24, 0.9) 0%,
    rgba(10, 14, 24, 0.78) 45%,
    rgba(7, 10, 18, 0.88) 100%
  ) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-card:hover,
.portfolio-card:hover,
.project-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.jm-home-showcase__card:hover,
.trust-bridge-card:hover,
.case-card:hover,
.resource-card:hover,
.rg-card:hover,
.cs-card:hover,
.benefit:hover,
.step-card:hover,
.embed-wrap:hover,
.calendly-shell:hover,
.checklist:hover,
.info-card:hover {
  border-color: rgba(0, 212, 255, 0.42) !important;
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.section-title,
.hero-title,
h1 .gradient,
h2 .gradient,
.logo-text span {
  text-shadow: 0 8px 28px rgba(0, 212, 255, 0.14);
}

.btn-primary,
.submit-btn,
.form-submit,
button[type='submit'],
.jm-pain-lane__cta,
.product-btn {
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 212, 255, 0.1);
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

.jm-footer-contact-plain a[href^='mailto:'] {
  display: block;
  margin-top: 0.35rem;
}

.jm-footer-contact-plain a[data-jm-email-personal] {
  opacity: 0.92;
}

.contact-form-container,
.contact-form-wrapper {
  position: relative;
  z-index: 2;
}

.submit-btn:disabled,
.form-submit:disabled,
button[type='submit']:disabled {
  opacity: 0.72;
  cursor: wait;
}

.jm-clear-draft-btn {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
  color: #b3e5fc;
  cursor: pointer;
}

.jm-clear-draft-btn:hover {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.14);
}

.form-status-msg--err a {
  color: #80deea;
  font-weight: 700;
}

.btn-outline {
  background: rgba(8, 12, 20, 0.45) !important;
}

.jm-premium-chip {
  position: fixed;
  top: 0.7rem;
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 100030;
  border: 1px solid rgba(0, 212, 255, 0.42);
  background: linear-gradient(130deg, rgba(7, 12, 20, 0.96), rgba(24, 12, 44, 0.92));
  color: #e8f4ff;
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(123, 47, 255, 0.2);
  cursor: pointer;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.jm-premium-chip i {
  color: #00f5a0;
}

.jm-premium-chip--fade {
  opacity: 0.22;
  transform: translateY(-4px);
}

/* ---------- Back to top ---------- */
.jm-back-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: 6.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(12, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  color: #00d4ff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 99970;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.jm-back-top.jm-back-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jm-back-top:hover {
  border-color: #00d4ff;
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.2);
}

body:has(.whatsapp-float) .jm-back-top {
  bottom: 7.5rem;
}

@media (max-width: 768px) {
  .jm-back-top {
    bottom: 5.5rem;
  }
  body:has(.whatsapp-float) .jm-back-top {
    bottom: 6.75rem;
  }
  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-back-top {
    bottom: 7.35rem;
  }
  body:has(.jm-sticky-cta.jm-sticky-cta--visible):has(.whatsapp-float) .jm-back-top {
    bottom: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-back-top {
    transition: none;
  }
}

/* ---------- Sticky mobile CTA strip ---------- */
.jm-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99960;
  flex-direction: column;
  align-items: stretch;
  padding: 0.45rem max(0.5rem, env(safe-area-inset-left)) max(0.55rem, env(safe-area-inset-bottom))
    max(0.5rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, transparent, rgba(4, 6, 11, 0.97) 20%);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  backdrop-filter: blur(16px);
  gap: 0.35rem;
}

.jm-sticky-cta.jm-sticky-cta--visible {
  display: flex;
}

.jm-sticky-cta__avail {
  margin: 0;
  padding: 0 0.25rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #a8b4cc;
  line-height: 1.35;
}

.jm-sticky-cta__avail i {
  margin-right: 0.3rem;
  color: #00f5a0;
  opacity: 0.9;
}

.jm-sticky-cta__avail strong {
  color: #e8ecf4;
  font-weight: 800;
}

.jm-sticky-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.jm-sticky-cta__links a {
  flex: 1;
  min-width: 0;
  max-width: 118px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jm-sticky-cta__rescue {
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid rgba(255, 107, 53, 0.45);
  color: #ffc4a8;
}

.jm-sticky-cta__results {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #e8f4ff;
}

.jm-sticky-cta__book {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  color: #04060b;
}

.jm-sticky-cta__free {
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: #00f5a0;
}

.jm-sticky-cta__faq {
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.35);
  color: #c9b3ff;
}

.jm-sticky-cta__contact {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.38);
  color: #d6f4ff;
}

/* Narrow phones: one short row — no duplicate “24/7” line (Explore still has full links) */
.jm-sticky-cta--compact {
  padding-top: 0.35rem;
  padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
  gap: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 11, 0.98) 28%);
}

.jm-sticky-cta__links--compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}

.jm-sticky-cta__links--compact a {
  flex: unset !important;
  max-width: none !important;
  min-height: 44px;
  padding: 0.55rem 0.35rem;
  font-size: 0.74rem;
}

@media (min-width: 769px) {
  .jm-sticky-cta {
    display: none !important;
  }
}

/* Mobile: Explore moves to top-right (see “Mobile: declutter” block) — keep tablet spacing */
@media (min-width: 769px) and (max-width: 900px) {
  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-explore-wrap {
    bottom: max(7.35rem, env(safe-area-inset-bottom));
  }
}

/* ---------- Explore dock (expandable) ---------- */
.jm-explore-wrap {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: max(5.5rem, env(safe-area-inset-bottom));
  z-index: 99965;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: min(calc(100vw - 1.5rem), 320px);
  pointer-events: none;
}

.jm-explore-wrap > * {
  pointer-events: auto;
}

@media (min-width: 769px) {
  .jm-explore-wrap {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    max-width: min(calc(100vw - 2rem), 340px);
  }
}

.jm-explore-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.45);
  background: linear-gradient(145deg, rgba(10, 16, 28, 0.98), rgba(4, 6, 11, 0.94));
  backdrop-filter: blur(16px);
  color: #00d4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.12),
    0 14px 44px rgba(0, 0, 0, 0.55),
    0 4px 20px rgba(0, 212, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jm-explore-toggle:hover {
  border-color: rgba(0, 212, 255, 0.85);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.22),
    0 18px 50px rgba(0, 0, 0, 0.58),
    0 6px 24px rgba(0, 212, 255, 0.12);
}

.jm-explore-toggle[aria-expanded="true"] .jm-explore-chevron {
  transform: rotate(180deg);
}

.jm-explore-chevron {
  transition: transform 0.25s ease;
  font-size: 0.7rem;
}

.jm-explore-panel {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.7rem 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: linear-gradient(165deg, rgba(14, 20, 34, 0.99), rgba(6, 10, 18, 0.98));
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.06),
    0 28px 64px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-height: min(52vh, calc(100dvh - 11rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.jm-explore-panel.jm-explore-panel--open {
  display: flex;
}

@media (max-width: 768px) {
  .jm-explore-panel {
    max-height: min(48vh, calc(100dvh - 12.5rem));
  }

  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-explore-panel {
    max-height: min(42vh, calc(100dvh - 15rem));
  }
}

.jm-explore-panel::-webkit-scrollbar {
  width: 6px;
}

.jm-explore-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.28);
  border-radius: 6px;
}

.jm-explore-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.jm-explore-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: #c8d0e0;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.jm-explore-panel a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #fff;
}

.jm-explore-panel a i {
  width: 1.1rem;
  color: #00d4ff;
  font-size: 0.9rem;
}

.jm-explore-panel small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: #8892a4;
  margin-top: 0.15rem;
}

/* ---------- Explore: machine translation (Google Translate — current page) ---------- */
.jm-explore-lang-block {
  margin: -0.15rem 0 0.35rem;
  padding-bottom: 0.65rem;
}

.jm-explore-lang-block__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7bffb2;
  margin-bottom: 0.45rem;
}

.jm-explore-lang-block__head i {
  color: #00d4ff;
  font-size: 0.85rem;
}

.jm-explore-lang-block__hint {
  font-size: 0.7rem;
  line-height: 1.45;
  color: #8892a4;
  margin-bottom: 0.55rem;
}

.jm-lang-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

@media (min-width: 380px) {
  .jm-lang-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.jm-lang-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.42rem 0.35rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: #d8e0f0 !important;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.25;
  word-break: break-word;
}

.jm-lang-chip:hover {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.4);
  color: #fff !important;
}

.jm-lang-chip:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

.jm-lang-chip--en {
  grid-column: 1 / -1;
  background: rgba(0, 245, 160, 0.08);
  border-color: rgba(0, 245, 160, 0.28);
  color: #b9ffe0 !important;
}

.jm-lang-chip--en:hover {
  border-color: rgba(0, 245, 160, 0.55);
  color: #e8fff4 !important;
}

.jm-explore-sep {
  border: none;
  border-top: 1px solid rgba(0, 212, 255, 0.14);
  margin: 0.35rem 0 0.55rem;
}

.jm-explore-nav-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7a94;
  margin-bottom: 0.35rem;
}

/* ---------- Brief toast (Resources link — auto-dismisses, non-blocking) ---------- */
.jm-brief-toast {
  position: fixed;
  left: 50%;
  bottom: max(5.5rem, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  z-index: 99954;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem 0.45rem 0.9rem;
  max-width: min(92vw, 360px);
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(6, 10, 18, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.jm-brief-toast.jm-brief-toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.jm-brief-toast__link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8ecf4;
  text-decoration: none;
}

.jm-brief-toast__link:hover {
  color: #00d4ff;
}

.jm-brief-toast__x {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #8892a4;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.jm-brief-toast__x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-brief-toast {
  bottom: max(6.75rem, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-brief-toast {
    bottom: max(6.25rem, env(safe-area-inset-bottom));
  }
}

/* ---------- Live activity strip (subtle social proof) ---------- */
.jm-activity-strip {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100019;
  max-width: min(92vw, 420px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(4, 6, 11, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.15);
  font-size: 0.72rem;
  color: #8892a4;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.jm-activity-strip.jm-activity-strip--visible {
  opacity: 1;
}

.jm-activity-strip span {
  color: #00d4ff;
  font-weight: 700;
}

body.jm-has-mini-nav .jm-activity-strip {
  top: 3.35rem;
}

body.jm-has-trust-rail.jm-has-mini-nav .jm-activity-strip {
  top: 5.5rem;
}

body.jm-has-mini-nav .jm-breadcrumb {
  top: 3.35rem;
}

/* ---------- Enterprise trust rail (below fixed nav — injected by platform-enhancements.js) ---------- */
.jm-trust-rail {
  position: relative;
  z-index: 100025;
  width: 100%;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.98) 0%, rgba(4, 6, 11, 0.94) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.jm-trust-rail__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem max(1rem, env(safe-area-inset-left)) 0.6rem max(1rem, env(safe-area-inset-right));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.jm-trust-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a8b4c8;
  white-space: nowrap;
}

.jm-trust-rail__item i {
  font-size: 0.78rem;
  color: #00d4ff;
  opacity: 0.95;
}

.jm-trust-rail__item--accent {
  color: #e8ecf4;
}

.jm-trust-rail__item--accent i {
  color: #00f5a0;
}

body:has(.navbar) .jm-trust-rail,
body:has(.nav) .jm-trust-rail {
  margin-top: 4.55rem;
}

body:has(.jm-file-bar):has(.navbar) .jm-trust-rail,
body:has(.jm-file-bar):has(.nav) .jm-trust-rail {
  margin-top: 6.65rem;
}

body.jm-has-mini-nav .jm-trust-rail {
  margin-top: 0;
}

body.jm-has-mini-nav:has(.jm-file-bar) .jm-trust-rail {
  margin-top: 0;
}

/* Slightly tighten hero padding when rail already clears the navbar */
body.jm-has-trust-rail .hero {
  padding-top: clamp(72px, 12vw, 96px) !important;
}

body.jm-has-trust-rail .page-hero {
  padding-top: clamp(118px, 18vw, 142px) !important;
}

@media (max-width: 900px) {
  .jm-trust-rail__item {
    white-space: normal;
    justify-content: center;
    text-align: center;
    max-width: 11rem;
  }

  .jm-trust-rail__inner {
    gap: 0.5rem 0.75rem;
  }
}

@media (max-width: 520px) {
  .jm-trust-rail__item {
    font-size: 0.64rem;
    max-width: none;
    line-height: 1.35;
  }

  .jm-trust-rail__inner {
    justify-content: center;
    row-gap: 0.35rem;
    column-gap: 0.5rem;
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
    padding-top: 0.5rem;
    padding-bottom: 0.55rem;
  }
}

/* ---------- Injected mini nav (FAQ / legal / lite pages — sticky bar) ---------- */
.jm-mini-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100026;
  padding: 0.55rem max(0.75rem, env(safe-area-inset-left)) 0.55rem max(0.75rem, env(safe-area-inset-right));
  background: rgba(4, 6, 11, 0.97);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

body:has(.jm-file-bar) .jm-mini-nav {
  top: 2.85rem;
}

body.jm-has-mini-nav {
  padding-top: 3.35rem !important;
}

body.jm-has-mini-nav:has(.jm-file-bar) {
  padding-top: 5.85rem !important;
}

.jm-mini-nav__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.jm-mini-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #f0f2f5;
  text-decoration: none;
}

.jm-mini-nav__brand:hover {
  color: #fff;
}

.jm-mini-nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  color: #04060b;
  font-size: 0.68rem;
  font-weight: 900;
}

.jm-mini-nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.jm-mini-nav__links a {
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d0e0;
  text-decoration: none;
}

.jm-mini-nav__links a:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.1);
}

a.jm-mini-nav__cta {
  background: linear-gradient(135deg, #00d4ff, #7b2fff) !important;
  color: #04060b !important;
  font-weight: 800 !important;
}

a.jm-mini-nav__ghost {
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #e8f4ff !important;
}

@media (max-width: 560px) {
  .jm-mini-nav__links {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---------- Skip link & screen-reader helpers ---------- */
.jm-skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100100;
  padding: 0.75rem 1.25rem;
  background: #00d4ff;
  color: #04060b;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 10px 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.jm-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #7b2fff;
  outline-offset: 2px;
}

.jm-sr-target {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Command palette ---------- */
body.jm-cmd-open {
  overflow: hidden;
}

.jm-cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 100090;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 2rem;
}

.jm-cmd-overlay.jm-cmd-overlay--open {
  display: flex;
}

.jm-cmd-dialog {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(8, 12, 20, 0.98);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.jm-cmd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8892a4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-cmd-input {
  width: 100%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #f0f2f5;
  font-size: 1rem;
  padding: 1rem 1.15rem;
  font-family: inherit;
  outline: none;
}

.jm-cmd-input::placeholder {
  color: #5a6578;
}

.jm-cmd-list {
  list-style: none;
  max-height: min(48vh, 360px);
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem;
}

.jm-cmd-item a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.jm-cmd-item a:hover,
.jm-cmd-item a:focus {
  background: rgba(0, 212, 255, 0.1);
  outline: none;
}

.jm-cmd-item.jm-cmd-item--highlight a {
  background: rgba(0, 212, 255, 0.16);
  outline: 2px solid rgba(0, 212, 255, 0.45);
  outline-offset: -2px;
}

.jm-cmd-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.jm-cmd-item span {
  font-size: 0.78rem;
  color: #8892a4;
}

.jm-cmd-empty {
  padding: 1.5rem;
  text-align: center;
  color: #8892a4;
  font-size: 0.88rem;
}

.jm-kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: #00d4ff;
}

/* ---------- Help overlay ---------- */
body.jm-help-open {
  overflow: hidden;
}

.jm-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 100095;
  background: rgba(2, 4, 10, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.jm-help-overlay.jm-help-overlay--open {
  display: flex;
}

.jm-help-dialog {
  position: relative;
  max-width: 440px;
  width: 100%;
  max-height: min(85vh, 640px);
  overflow-y: auto;
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(8, 12, 20, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.jm-help-dialog h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #fff;
}

.jm-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jm-help-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #c8d0e0;
  line-height: 1.5;
}

.jm-help-foot {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #8892a4;
  line-height: 1.5;
}

.jm-help-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #8892a4;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.jm-help-close:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.15);
}

.jm-explore-toggle:focus-visible,
.jm-back-top:focus-visible,
.jm-sticky-cta a:focus-visible,
.jm-cmd-input:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

/* ---------- file:// notice ---------- */
.jm-file-bar {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 100025;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem max(0.75rem, env(safe-area-inset-left)) 0.55rem max(0.75rem, env(safe-area-inset-right));
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e8ecf4;
  background: rgba(18, 12, 6, 0.96);
  border-bottom: 1px solid rgba(255, 193, 7, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.jm-file-bar__inner {
  flex: 1;
  min-width: 0;
}

.jm-file-bar__inner code {
  font-size: 0.74rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.jm-file-bar__inner a {
  color: #00d4ff;
  font-weight: 700;
}

.jm-file-bar__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #c8d0e0;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.jm-file-bar__close:hover {
  background: rgba(255, 193, 7, 0.2);
  color: #fff;
}

@media (max-width: 640px) {
  .jm-file-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

body:has(.jm-file-bar) {
  padding-top: 2.85rem;
}

.jm-dw-read {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #8892a4;
}

/* ---------- Help: OSS / CDN section ---------- */
.jm-help-sub {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8892a4;
}

.jm-help-oss {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.82rem;
  color: #c8d0e0;
  line-height: 1.55;
}

.jm-help-oss li {
  margin-bottom: 0.45rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(0, 212, 255, 0.2);
}

.jm-help-oss a {
  color: #00d4ff;
  font-weight: 600;
}

.jm-help-foot code {
  font-size: 0.72rem;
  word-break: break-all;
}

/* ---------- Environment ribbon (local / file / staging) ---------- */
.jm-env-ribbon {
  position: fixed;
  bottom: max(5.5rem, env(safe-area-inset-bottom));
  left: max(0.5rem, env(safe-area-inset-left));
  z-index: 99968;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.jm-env-ribbon--file {
  border-color: rgba(255, 193, 7, 0.45);
  color: #ffc107;
}

.jm-env-ribbon--local {
  border-color: rgba(0, 245, 160, 0.35);
  color: #00f5a0;
}

.jm-env-ribbon--stage {
  border-color: rgba(123, 47, 255, 0.45);
  color: #c9b3ff;
}

.jm-env-ribbon__x {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #8892a4;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.jm-env-ribbon__x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
  .jm-env-ribbon {
    bottom: 4.5rem;
    max-width: min(92vw, 220px);
  }
}

/* ---------- Code block copy (Prism optional) ---------- */
pre.jm-code-block-wrap,
pre {
  position: relative;
}

.jm-code-copy {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(4, 6, 11, 0.9);
  color: #00d4ff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.jm-code-copy:hover {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.12);
}

/* ---------- Print: hide injected chrome ---------- */
@media print {
  .jm-premium-bg,
  .jm-premium-topline,
  .jm-scroll-progress,
  .jm-back-top,
  .jm-sticky-cta,
  .jm-explore-wrap,
  .jm-brief-toast,
  .jm-activity-strip,
  .jm-cmd-overlay,
  .jm-help-overlay,
  .jm-skip-link,
  .jm-breadcrumb,
  .jm-consent,
  .jm-quick-bar,
  .jm-local-time-widget,
  .jm-a11y-toolbar,
  .jm-toast,
  .jm-file-bar,
  .jm-env-ribbon,
  .jm-code-copy,
  .jm-mini-nav {
    display: none !important;
  }

  body {
    overflow: visible !important;
  }
}

/* ---------- Breadcrumb (injected) ---------- */
.jm-breadcrumb {
  position: fixed;
  top: 56px;
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 100018;
  max-width: min(48vw, 320px);
  font-size: 0.72rem;
  color: #8892a4;
}

.jm-bc-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(4, 6, 11, 0.88);
  border: 1px solid rgba(0, 212, 255, 0.12);
}

.jm-breadcrumb a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
}

.jm-breadcrumb a:hover {
  text-decoration: underline;
}

.jm-bc-sep {
  opacity: 0.5;
}

.jm-bc-current {
  color: #c8d0e0;
  font-weight: 600;
}

@media (max-width: 640px) {
  .jm-breadcrumb {
    display: none;
  }
}

/* ---------- Cookie consent ---------- */
.jm-consent {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 100200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(6, 10, 18, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.jm-consent p {
  margin: 0;
  font-size: 0.82rem;
  color: #c8d0e0;
  line-height: 1.45;
  flex: 1;
  min-width: 200px;
}

.jm-consent a {
  color: #00d4ff;
}

.jm-consent-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  color: #04060b;
}

/* ---------- Quick actions bar ---------- */
.jm-quick-bar {
  position: fixed;
  right: max(0.5rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 99975;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.jm-qb-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(8, 12, 20, 0.94);
  color: #00d4ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.jm-qb-btn:hover {
  border-color: #00d4ff;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .jm-quick-bar {
    right: 0.4rem;
    top: auto;
    bottom: 7rem;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(52vw, 220px);
  }
}

/* ---------- Local time (Cape Town · Africa/Johannesburg) ---------- */
.jm-local-time-widget {
  position: fixed;
  top: 56px;
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 100017;
  text-align: right;
  font-size: 0.68rem;
  color: #8892a4;
  line-height: 1.3;
  pointer-events: none;
}

.jm-dw-time {
  display: block;
  font-weight: 800;
  color: #00d4ff;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .jm-local-time-widget {
    display: none;
  }
}

/* ---------- A11y toolbar ---------- */
.jm-a11y-toolbar {
  position: fixed;
  right: max(0.5rem, env(safe-area-inset-right));
  bottom: 11rem;
  z-index: 99972;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(10px);
}

.jm-a11y-toolbar button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  color: #c8d0e0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.jm-a11y-toolbar button:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: #fff;
}

.jm-a11y-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #8892a4;
  padding: 0 0.2rem;
}

html[data-jm-font='0'] {
  font-size: 93%;
}

html[data-jm-font='2'] {
  font-size: 108%;
}

body.jm-high-contrast {
  filter: contrast(1.12) saturate(1.08);
}

body.jm-high-contrast .jm-activity-strip,
body.jm-high-contrast .jm-breadcrumb {
  filter: none;
}

@media (max-width: 768px) {
  .jm-a11y-toolbar {
    bottom: 9rem;
  }
}

/* ---------- Toast ---------- */
.jm-toast {
  position: fixed;
  top: max(4.5rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 100210;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #04060b;
  background: linear-gradient(135deg, #00f5a0, #00d4ff);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  max-width: min(90vw, 420px);
  text-align: center;
}

.jm-toast.jm-toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Command palette: sections ---------- */
.jm-cmd-section {
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8892a4;
  list-style: none;
}

.jm-cmd-item--recent a strong em {
  font-style: normal;
  font-weight: 600;
  color: #00f5a0;
  font-size: 0.75rem;
}

/* ---------- Home: compact proof strip (index) ---------- */
.jm-home-showcase {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) max(1rem, env(safe-area-inset-left)) clamp(2rem, 5vw, 3rem)
    max(1rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.35), rgba(4, 6, 11, 0.85));
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  border-bottom: 1px solid rgba(123, 47, 255, 0.06);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  .jm-home-showcase {
    overflow-x: clip;
  }
}

.jm-home-showcase__inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.jm-home-showcase__head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding: 0 0.15rem;
}

.jm-home-showcase__head h2 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  color: #e8ecf4;
}

.jm-home-showcase__head p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.55;
  color: #a8b0c4;
}

.jm-home-showcase__head strong {
  color: #c8d4e8;
  font-weight: 600;
}

.jm-home-showcase__industries {
  list-style: none;
  margin: 0 auto 1.35rem;
  padding: 0;
  max-width: 52rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  justify-content: center;
}

.jm-home-showcase__industries li {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b4bccf;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.06);
}

.jm-home-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .jm-home-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

/* Phones: one column — room to breathe + tap-friendly CTAs */
@media (max-width: 640px) {
  .jm-home-showcase__grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .jm-home-showcase__card {
    min-height: 5.25rem;
    padding: 1.05rem 2rem 1.15rem 1rem;
  }

  .jm-home-showcase__label {
    font-size: 1.02rem;
  }

  .jm-home-showcase__hint {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .jm-home-showcase__cta-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .jm-home-showcase__cta-btns .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
  }

  .jm-home-showcase__industries {
    justify-content: center;
    gap: 0.4rem 0.45rem;
  }

  .jm-home-showcase__industries li {
    font-size: 0.68rem;
    padding: 0.34rem 0.7rem;
  }

  .jm-home-showcase--compact {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .jm-home-showcase__title-compact {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }
}

@media (max-width: 420px) {
  .jm-home-showcase__head h2 {
    font-size: clamp(1.2rem, 6vw, 1.45rem);
  }
}

.jm-home-showcase__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 2.15rem 1.1rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.07), rgba(26, 26, 37, 0.55));
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

/* Chevron: pure CSS — works even if Font Awesome is blocked or slow on first paint */
.jm-home-showcase__card::after {
  content: '';
  position: absolute;
  right: 0.85rem;
  bottom: 1rem;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid rgba(0, 212, 255, 0.55);
  border-bottom: 2px solid rgba(0, 212, 255, 0.55);
  transform: rotate(-45deg);
  opacity: 0.85;
  pointer-events: none;
}

.jm-home-showcase__card--accent {
  border-color: rgba(0, 245, 160, 0.35);
  background: linear-gradient(145deg, rgba(0, 245, 160, 0.08), rgba(26, 26, 37, 0.55));
}

.jm-home-showcase__card--accent::after {
  border-right-color: rgba(0, 245, 160, 0.75);
  border-bottom-color: rgba(0, 245, 160, 0.75);
  opacity: 0.95;
}

.jm-home-showcase__card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 14px 36px rgba(0, 212, 255, 0.12);
}

.jm-home-showcase__card:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

.jm-home-showcase__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
  color: #04060b;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
}

.jm-home-showcase__label {
  font-weight: 700;
  font-size: 1rem;
  color: #e8ecf4;
}

.jm-home-showcase__hint {
  font-size: 0.78rem;
  color: #8892a4;
  line-height: 1.35;
}

.jm-home-showcase__cta {
  margin-top: clamp(1.35rem, 3vw, 1.85rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  text-align: center;
}

.jm-home-showcase__cta-lead {
  margin: 0 auto 0.85rem;
  max-width: 36rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.55;
  color: #a8b0c4;
}

.jm-home-showcase__cta-lead strong {
  color: #e8ecf4;
  font-weight: 700;
}

.jm-home-showcase__cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.jm-home-showcase__cta-btns .btn {
  font-size: 0.86rem;
  padding: 0.65rem 1.35rem;
}

/* Inner pages: same conversion strip, tighter vertical rhythm */
.jm-home-showcase--compact {
  padding: clamp(1.25rem, 3vw, 1.75rem) 1.25rem;
}

.jm-home-showcase__head--compact {
  margin-bottom: 1rem;
}

.jm-home-showcase__eyebrow {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.07);
}

.jm-home-showcase__title-compact {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  color: #e8ecf4;
}

.jm-home-showcase__sub-compact {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #8892a4;
}

.jm-home-showcase__cta--compact {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
}

.jm-home-showcase__cta--compact .jm-home-showcase__cta-lead {
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .jm-home-showcase__card {
    transition: none;
  }
  .jm-home-showcase__card:hover {
    transform: none;
  }
}

/* ---------- Location / availability (shared block — Cape Town, languages) ---------- */
.jm-location-block {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a8b0c4;
}
.jm-location-block p {
  margin: 0 0 0.35rem;
}
.jm-location-block p:last-child {
  margin-bottom: 0;
}

/* ---------- Unified footer: Contact + legal tagline (all pages) ---------- */
.jm-footer-contact-plain {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}

.jm-footer-contact-plain h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #e8ecf4;
}

.jm-footer-contact-plain a {
  color: #a8b0c4;
  text-decoration: none;
}

.jm-footer-contact-plain a:hover {
  color: #00d4ff;
}

.jm-footer-contact-plain p {
  margin: 0;
  color: #a8b0c4;
}

.jm-footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-footer-bottom__copy,
.jm-footer-bottom > p:first-child {
  margin: 0;
  font-size: 0.88rem;
  color: #8892a4;
}

.jm-footer-tagline {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: #6d7789;
  line-height: 1.55;
  max-width: 42rem;
}

/* Unified marketing footer — flat, minimal (no “card in a card”) */
.jm-site-footer__inner {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
}

.jm-standard-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem max(1rem, env(safe-area-inset-left)) max(2.25rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  background: #04060b;
}

.jm-standard-footer > * {
  width: 100%;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Contact block: plain text — never boxed inside standard footer */
.jm-standard-footer .jm-footer-contact-plain {
  max-width: 28rem;
  margin: 0 auto 1rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.jm-standard-footer .jm-footer-contact-plain h4 {
  display: none;
}

.jm-standard-footer .jm-footer-contact-plain a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8ecf4;
}

.jm-standard-footer .jm-footer-contact-plain a:hover {
  color: #00d4ff;
}

.jm-standard-footer .jm-footer-contact-plain p {
  font-size: 0.78rem;
  color: #6d7789;
  line-height: 1.45;
}

.jm-standard-footer .jm-footer-contact-plain p a {
  color: #25d366;
  font-weight: 600;
  text-decoration: none;
}

.jm-standard-footer .jm-footer-contact-plain p a:hover {
  text-decoration: underline;
}

.jm-standard-footer .jm-footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0 auto 0.85rem;
  max-width: 36rem;
  padding: 0 0.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-footer-nav a {
  color: #9aa3b4;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  padding: 0.2rem 0;
}

.jm-footer-nav a:hover {
  color: #e8ecf4;
}

.jm-footer-nav a + a::before {
  content: '·';
  display: inline;
  margin: 0 0.55rem;
  color: #3d4759;
  font-weight: 700;
  pointer-events: none;
}

.jm-footer-promise {
  margin: 0 auto 0.9rem;
  max-width: 34rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6d7789;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.jm-footer-promise strong {
  color: #a8b0c4;
  font-weight: 700;
}

.jm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0 auto 0.85rem;
  font-size: 0.78rem;
}

.jm-footer-legal a {
  color: #6d7789;
  text-decoration: none;
  font-weight: 500;
}

.jm-footer-legal a:hover {
  color: #00d4ff;
}

.jm-footer-legal a + a::before {
  content: '·';
  margin: 0 0.55rem;
  color: #3d4759;
  font-weight: 700;
  pointer-events: none;
}

/* Full-width marketing footers inside narrow article layouts (e.g. FAQ) */
.jm-standard-footer--bleed {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .jm-standard-footer--bleed {
    width: 100%;
    max-width: 100%;
    left: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Case studies / portfolio / services: one clean strip — no nested cards */
footer.footer.jm-footer-rich {
  padding: 2rem max(1rem, env(safe-area-inset-left)) max(2.25rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #04060b;
}

footer.footer.jm-footer-rich .footer-inner,
footer.footer.jm-footer-rich > .footer-row {
  max-width: 960px;
  margin: 0 auto;
}

footer.footer.jm-footer-rich .jm-footer-nav {
  margin-bottom: 0.65rem;
  padding-bottom: 0.75rem;
}

footer.footer.jm-footer-rich .jm-footer-promise {
  margin-bottom: 0.75rem;
}

footer.footer.jm-footer-rich .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
}

footer.footer.jm-footer-rich .jm-footer-contact-plain {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: center;
  align-items: center;
  max-width: 22rem;
}

footer.footer.jm-footer-rich .jm-footer-contact-plain h4 {
  display: none;
}

footer.footer.jm-footer-rich .jm-footer-contact-plain a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8ecf4;
}

footer.footer.jm-footer-rich .jm-footer-contact-plain p {
  font-size: 0.78rem;
  color: #6d7789;
}

footer.footer.jm-footer-rich .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  justify-content: center;
  max-width: 32rem;
}

footer.footer.jm-footer-rich .footer-links a {
  color: #9aa3b4;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

footer.footer.jm-footer-rich .footer-links a + a::before {
  content: '·';
  margin: 0 0.55rem;
  color: #3d4759;
  font-weight: 700;
}

footer.footer.jm-footer-rich .footer-links a:hover {
  color: #e8ecf4;
}

footer.footer.jm-footer-rich .jm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
  padding-top: 1rem;
}

/* ---------- Conversion: urgent pain, EUR pricing preview, instant estimate ---------- */
.jm-pain-strip {
  padding: clamp(2.5rem, 6vw, 4rem) max(1rem, env(safe-area-inset-left)) clamp(2.5rem, 6vw, 4rem)
    max(1rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(255, 59, 48, 0.06), rgba(4, 6, 11, 0.92));
  border-top: 1px solid rgba(255, 59, 48, 0.12);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.jm-pain-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.jm-pain-strip__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.jm-pain-strip__head h2 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #e8ecf4;
  line-height: 1.2;
}

.jm-pain-strip__head p {
  margin: 0;
  font-size: 0.95rem;
  color: #a8b0c4;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.jm-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem;
}

.jm-pain-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 24, 0.85);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #c8d0e0;
}

.jm-pain-card strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff6b6b;
  margin-bottom: 0.35rem;
}

.jm-pain-strip__foot {
  text-align: center;
  margin-top: 1.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #00f5a0;
}

.jm-pricing-preview {
  padding: clamp(2.25rem, 5vw, 3.5rem) max(1rem, env(safe-area-inset-left)) clamp(2.25rem, 5vw, 3.5rem)
    max(1rem, env(safe-area-inset-right));
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 55%), #04060b;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.jm-pricing-preview__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.jm-pricing-preview__inner > h2 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #e8ecf4;
}

.jm-pricing-preview__inner > p.sub {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #8892a4;
}

.jm-price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.85rem;
  text-align: left;
}

.jm-price-card {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(18, 22, 34, 0.95));
}

.jm-price-card--urgent {
  border-color: rgba(255, 59, 48, 0.45);
  background: linear-gradient(160deg, rgba(255, 59, 48, 0.1), rgba(18, 22, 34, 0.95));
}

.jm-price-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #e8ecf4;
}

.jm-price-card .jm-price {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00f5a0, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.jm-price-card p {
  margin: 0;
  font-size: 0.8rem;
  color: #a8b0c4;
  line-height: 1.45;
}

.jm-pricing-preview__cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.jm-instant-quote {
  padding: clamp(2rem, 5vw, 3rem) max(1rem, env(safe-area-inset-left)) clamp(2rem, 5vw, 3rem)
    max(1rem, env(safe-area-inset-right));
  background: rgba(8, 12, 20, 0.65);
  border-bottom: 1px solid rgba(123, 47, 255, 0.12);
}

.jm-instant-quote__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(123, 47, 255, 0.25);
  background: linear-gradient(165deg, rgba(123, 47, 255, 0.08), rgba(4, 6, 11, 0.9));
}

.jm-instant-quote__inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  text-align: center;
  color: #e8ecf4;
}

.jm-instant-quote__inner > p.hint {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8892a4;
}

.jm-instant-quote__fields label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a8b0c4;
  margin-bottom: 0.35rem;
}

.jm-instant-quote__fields select,
.jm-instant-quote__fields input[type='url'] {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(4, 6, 11, 0.8);
  color: #e8ecf4;
  font-size: 0.9rem;
}

.jm-instant-quote__out {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  font-size: 0.88rem;
  color: #c8f5e0;
  text-align: center;
  margin-bottom: 1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jm-instant-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.jm-instant-quote__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.jm-instant-quote__actions a.jm-btn-primary {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  color: #04060b;
}

.jm-instant-quote__actions a.jm-btn-wa {
  background: #25d366;
  color: #fff;
}

/* Services page: pain lanes */
.jm-pain-services {
  padding: clamp(2rem, 5vw, 3rem) max(1rem, env(safe-area-inset-left)) clamp(2rem, 5vw, 3rem)
    max(1rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.4), rgba(4, 6, 11, 0.95));
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.jm-pain-services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.jm-pain-services__head {
  text-align: center;
  margin-bottom: 1.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.jm-pain-services__head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #e8ecf4;
}

.jm-pain-services__head p {
  margin: 0;
  color: #8892a4;
  font-size: 0.92rem;
  line-height: 1.55;
}

.jm-pain-lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.jm-pain-lane {
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  background: rgba(12, 16, 24, 0.9);
}

.jm-pain-lane h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #00d4ff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jm-pain-lane h3 i {
  opacity: 0.9;
}

.jm-pain-lane ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #a8b0c4;
  font-size: 0.88rem;
  line-height: 1.5;
}

.jm-pain-lane .jm-pain-lane__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #00f5a0;
}

.jm-pain-lane .jm-pain-lane__cta:hover {
  background: rgba(0, 212, 255, 0.2);
}

.jm-eur-pricing-block {
  padding: clamp(2rem, 5vw, 3rem) max(1rem, env(safe-area-inset-left)) clamp(2rem, 5vw, 3rem)
    max(1rem, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.jm-eur-pricing-block__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.jm-eur-pricing-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.jm-eur-pricing-block > .jm-eur-pricing-block__inner > p.lead {
  color: #8892a4;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.jm-eur-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.jm-eur-table th,
.jm-eur-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-eur-table th {
  color: #00d4ff;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jm-eur-table td strong {
  color: #e8ecf4;
}

.jm-eur-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6d7789;
}

/* Contact: lead magnet strip */
.jm-lead-magnet {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.06);
  text-align: center;
}

.jm-lead-magnet h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #00f5a0;
}

.jm-lead-magnet p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #a8b0c4;
  line-height: 1.5;
}

.jm-lead-magnet a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  background: linear-gradient(135deg, #00f5a0, #00d4ff);
  color: #04060b;
}

@media (max-width: 640px) {
  .jm-price-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Copyright guard modal (context menu / devtools shortcuts) ---------- */
body.jm-copyright-guard-active {
  overflow: hidden;
}

.jm-copyright-guard {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(4, 6, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  box-sizing: border-box;
}

.jm-copyright-guard.jm-copyright-guard--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jm-copyright-guard__panel {
  width: min(100%, 26rem);
  max-height: min(88vh, 32rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(165deg, rgba(18, 22, 34, 0.98), rgba(8, 10, 16, 0.99));
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(123, 47, 255, 0.12);
  text-align: center;
}

.jm-copyright-guard__brand {
  margin-bottom: 0.75rem;
}

.jm-copyright-guard__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  color: #04060b;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
}

.jm-copyright-guard__title {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #e8ecf4;
  line-height: 1.25;
}

.jm-copyright-guard__lead {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #b8c0d4;
}

.jm-copyright-guard__lead strong {
  color: #e8ecf4;
  font-weight: 700;
}

.jm-copyright-guard__detail {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8892a4;
  text-align: left;
}

.jm-copyright-guard__detail a {
  color: #00d4ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
}

.jm-copyright-guard__detail a:hover {
  color: #00f5a0;
  border-bottom-color: rgba(0, 245, 160, 0.45);
}

.jm-copyright-guard__ok {
  width: 100%;
  max-width: 16rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  color: #04060b;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  box-shadow: 0 10px 32px rgba(0, 212, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jm-copyright-guard__ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 212, 255, 0.35);
}

.jm-copyright-guard__foot {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7789;
}

@media (prefers-reduced-motion: reduce) {
  .jm-copyright-guard {
    transition: none;
  }

  .jm-copyright-guard__ok:hover {
    transform: none;
  }
}

/* Site footer styles live in site-footer.css (linked on every page). */

/* ---------- Premium process / “How we work” (home + about) ---------- */
.jm-process-pro {
  padding: clamp(4rem, 8vw, 6.5rem) 5%;
  position: relative;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(0, 212, 255, 0.09), transparent 55%),
    radial-gradient(800px 380px at 88% 100%, rgba(123, 47, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.4) 0%, rgba(5, 7, 13, 0.95) 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.jm-process-pro__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.75rem;
}

.jm-process-pro__head .section-description {
  margin: 0 auto;
  color: #a8b4cc;
  line-height: 1.75;
}

.jm-process-pro__head .section-title span.jm-grad-text,
.jm-delivery-pro__head .jm-grad-text {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.jm-process-pro__head .section-subtitle {
  margin: 0 auto;
  max-width: 46rem;
  color: #a8b4cc;
  font-size: 1.05rem;
  line-height: 1.75;
}

.jm-process-pro__head .section-description {
  margin: 0 auto;
  max-width: 46rem;
  color: #a8b4cc;
  line-height: 1.75;
}

.jm-process-pro__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.jm-process-pro__card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: linear-gradient(165deg, rgba(16, 22, 36, 0.98) 0%, rgba(8, 10, 18, 0.99) 100%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.jm-process-pro__card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.38);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 212, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.jm-process-pro__visual {
  position: relative;
  height: 132px;
  overflow: hidden;
}

.jm-process-pro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.jm-process-pro__card:hover .jm-process-pro__visual img {
  transform: scale(1.08);
}

.jm-process-pro__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4, 6, 12, 0.88) 100%);
  pointer-events: none;
}

.jm-process-pro__step {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-family:
    'Space Grotesk',
    system-ui,
    sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  color: #04060b;
  background: linear-gradient(135deg, #00f5a0, #00d4ff);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.jm-process-pro__body {
  padding: 1.35rem 1.3rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jm-process-pro__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
  color: #04060b;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(123, 47, 255, 0.9));
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.22);
}

.jm-process-pro__card:nth-child(2) .jm-process-pro__icon {
  background: linear-gradient(135deg, #7b2fff, #ff006e);
}

.jm-process-pro__card:nth-child(3) .jm-process-pro__icon {
  background: linear-gradient(135deg, #00f5a0, #00c8ff);
}

.jm-process-pro__card:nth-child(4) .jm-process-pro__icon {
  background: linear-gradient(135deg, #ffb800, #ff006e);
}

.jm-process-pro__body h3 {
  font-family:
    'Space Grotesk',
    system-ui,
    sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  color: #f0f4fc;
}

.jm-process-pro__body p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: #9aa8bc;
  margin: 0;
  flex: 1;
}

.jm-process-pro__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.jm-process-pro__chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  color: #7dd3fc;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
}

@media (max-width: 1100px) {
  .jm-process-pro__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .jm-process-pro__grid {
    grid-template-columns: 1fr;
  }

  .jm-process-pro__visual {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-process-pro__card,
  .jm-process-pro__visual img {
    transition: none;
  }

  .jm-process-pro__card:hover {
    transform: none;
  }

  .jm-process-pro__card:hover .jm-process-pro__visual img {
    transform: scale(1.02);
  }
}

/* About: delivery section uses same card system */
.jm-delivery-pro {
  padding: clamp(3.5rem, 7vw, 5.5rem) 5%;
}

.jm-delivery-pro__head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.jm-delivery-pro__grid.jm-process-pro__grid {
  max-width: 1280px;
}

/* Stats strip — glass cards (home) */
.jm-stats-pro {
  padding: clamp(3rem, 6vw, 4.5rem) 5%;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(0, 212, 255, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.9), rgba(4, 6, 11, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.jm-stats-pro .stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.jm-stats-pro .stat-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  background: linear-gradient(165deg, rgba(14, 18, 28, 0.95), rgba(8, 10, 16, 0.98));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.jm-stats-pro .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.28);
}

.jm-stats-pro .stat-number {
  font-family:
    'Space Grotesk',
    system-ui,
    sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.jm-stats-pro .stat-label {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 992px) {
  .jm-stats-pro .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .jm-stats-pro .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile: declutter — one primary bottom bar, no stacked FABs on content ---------- */
@media (max-width: 768px) {
  .jm-quick-bar {
    display: none !important;
  }

  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .whatsapp-float {
    display: none !important;
  }

  /* Ribbon repeats sticky messaging — save vertical space */
  .jm-trust-ribbon {
    display: none !important;
  }

  .jm-activity-strip {
    display: none !important;
  }

  /* Explore: off the content zone (was bottom-left vs sticky + WA) */
  .jm-explore-wrap {
    left: auto;
    right: max(0.5rem, env(safe-area-inset-right));
    top: calc(3.4rem + env(safe-area-inset-top));
    bottom: auto;
  }

  .jm-explore-panel {
    max-height: min(52vh, calc(100dvh - 7.5rem));
  }

  /* A11y: top-left so it does not sit on the quick-bar / WA stack */
  .jm-a11y-toolbar {
    right: auto;
    left: max(0.45rem, env(safe-area-inset-left));
    top: calc(3.4rem + env(safe-area-inset-top));
    bottom: auto;
  }

  .jm-back-top {
    bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.25rem)) !important;
  }

  body:has(.jm-sticky-cta.jm-sticky-cta--visible) .jm-back-top {
    bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem)) !important;
  }

  body.jm-has-trust-rail .jm-explore-wrap,
  body.jm-has-trust-rail .jm-a11y-toolbar {
    top: calc(5.85rem + env(safe-area-inset-top));
  }
}

/* ---------- Plain-page shells (FAQ, legal, resource articles) ---------- */
.jm-page-shell {
  width: 100%;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.jm-premium-ui .jm-faq-premium details {
  background: linear-gradient(165deg, rgba(14, 18, 28, 0.95), rgba(8, 10, 16, 0.98)) !important;
  border: 1px solid rgba(0, 212, 255, 0.14) !important;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.jm-premium-ui .jm-faq-premium details[open] {
  border-color: rgba(0, 212, 255, 0.3) !important;
}

body.jm-premium-ui .jm-faq-premium .cta {
  border: 1px solid rgba(0, 245, 160, 0.28) !important;
  background: linear-gradient(165deg, rgba(0, 245, 160, 0.08), rgba(0, 212, 255, 0.05)) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

@media (min-width: 640px) {
  body.jm-premium-ui .jm-legal-premium {
    padding: 1rem 1.75rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.12);
    background: linear-gradient(165deg, rgba(12, 16, 26, 0.55), rgba(6, 8, 14, 0.78));
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
}

body.jm-premium-ui .jm-article-premium {
  padding: 2rem 1.5rem 2.5rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  background: linear-gradient(165deg, rgba(12, 16, 28, 0.75), rgba(6, 8, 16, 0.9));
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.jm-premium-ui .jm-article-premium .article-cta {
  border-color: rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.08);
}

/* Standard “.section” bands on inner pages (resources, booking, services, etc.) */
body.jm-premium-ui section.section {
  background:
    radial-gradient(900px 360px at 18% 0%, rgba(0, 212, 255, 0.06), transparent 55%),
    radial-gradient(800px 300px at 88% 100%, rgba(123, 47, 255, 0.06), transparent 52%);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

body.jm-premium-ui section.cta-section {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.4) 0%, rgba(8, 10, 18, 0.95) 100%),
    radial-gradient(700px 280px at 50% 0%, rgba(0, 212, 255, 0.07), transparent 60%);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

body.jm-premium-ui .note {
  border: 1px solid rgba(0, 212, 255, 0.18) !important;
  background: linear-gradient(165deg, rgba(12, 18, 30, 0.88), rgba(6, 10, 18, 0.92)) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---------- Home hero — image + atmosphere (layout unchanged) ---------- */
body.jm-premium-ui .hero .hero-gradient {
  opacity: 0.2;
}

body.jm-premium-ui .hero .hero-grid {
  opacity: 0.85;
}

body.jm-premium-ui .hero .hero-badge {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

body.jm-premium-ui .hero .hero-image-container {
  isolation: isolate;
  border-radius: 22px;
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 212, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.jm-premium-ui .hero .hero-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(4, 8, 16, 0.28) 0%,
    transparent 48%,
    rgba(4, 6, 12, 0.38) 100%
  );
}

body.jm-premium-ui .hero .hero-image {
  position: relative;
  z-index: 0;
  display: block;
  transform: scale(1.01);
}

/* Animated UI mock — sits above tint, below floating cards */
body.jm-premium-ui .hero .hero-ui-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.5rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  pointer-events: none;
}

body.jm-premium-ui .hero .hero-ui-mock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.32);
  background: linear-gradient(165deg, rgba(8, 12, 22, 0.88), rgba(4, 6, 12, 0.92));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  max-height: min(240px, 44%);
}

body.jm-premium-ui .hero .hero-ui-mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.jm-premium-ui .hero .hero-ui-mock__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #475569;
}

body.jm-premium-ui .hero .hero-ui-mock__chrome span:nth-child(1) {
  background: #ff5f57;
}

body.jm-premium-ui .hero .hero-ui-mock__chrome span:nth-child(2) {
  background: #febc2e;
}

body.jm-premium-ui .hero .hero-ui-mock__chrome span:nth-child(3) {
  background: #28c840;
}

body.jm-premium-ui .hero .hero-ui-mock__grid {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 10px;
}

body.jm-premium-ui .hero .hero-ui-mock__aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.jm-premium-ui .hero .hero-ui-mock__aside i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.18);
  animation: jm-hero-aside-pulse 2.8s ease-in-out infinite;
}

body.jm-premium-ui .hero .hero-ui-mock__aside i:nth-child(2) {
  animation-delay: 0.35s;
}

body.jm-premium-ui .hero .hero-ui-mock__aside i:nth-child(3) {
  animation-delay: 0.7s;
}

body.jm-premium-ui .hero .hero-ui-mock__aside i:nth-child(4) {
  animation-delay: 1.05s;
}

body.jm-premium-ui .hero .hero-ui-mock__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

body.jm-premium-ui .hero .hero-ui-mock__toolbar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.25), rgba(123, 47, 255, 0.2));
  opacity: 0.85;
}

body.jm-premium-ui .hero .hero-ui-mock__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 52px;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span {
  flex: 1;
  min-width: 0;
  border-radius: 4px 4px 2px 2px;
  height: var(--h, 60%);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.65), rgba(123, 47, 255, 0.35));
  transform-origin: bottom center;
  animation: jm-hero-bar-sway 2.2s ease-in-out infinite;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span:nth-child(2) {
  animation-delay: 0.2s;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span:nth-child(3) {
  animation-delay: 0.4s;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span:nth-child(4) {
  animation-delay: 0.6s;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span:nth-child(5) {
  animation-delay: 0.8s;
}

body.jm-premium-ui .hero .hero-ui-mock__bars span:nth-child(6) {
  animation-delay: 1s;
}

body.jm-premium-ui .hero .hero-ui-mock__spark {
  width: 100%;
  height: 36px;
  display: block;
  opacity: 0.95;
}

body.jm-premium-ui .hero .hero-ui-mock__spark-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: jm-hero-spark 3.2s ease-in-out infinite;
}

body.jm-premium-ui .hero .hero-ui-mock__footer {
  display: flex;
  gap: 6px;
}

body.jm-premium-ui .hero .hero-ui-mock__footer em {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.28);
  font-style: normal;
}

body.jm-premium-ui .hero .hero-ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

body.jm-premium-ui .hero .hero-ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e2e8f0;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(6, 10, 18, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  animation: jm-hero-chip 3.5s ease-in-out infinite;
}

body.jm-premium-ui .hero .hero-ui-chip:nth-child(2) {
  animation-delay: 0.4s;
}

body.jm-premium-ui .hero .hero-ui-chip:nth-child(3) {
  animation-delay: 0.8s;
}

body.jm-premium-ui .hero .hero-ui-chip--ok {
  border-color: rgba(0, 245, 160, 0.35);
  color: #b9f5de;
}

body.jm-premium-ui .hero .hero-ui-chip i {
  font-size: 0.65rem;
  opacity: 0.95;
}

@keyframes jm-hero-bar-sway {
  0%,
  100% {
    transform: scaleY(1);
    filter: brightness(1);
  }
  50% {
    transform: scaleY(0.88);
    filter: brightness(1.15);
  }
}

@keyframes jm-hero-aside-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes jm-hero-spark {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.4;
  }
  45% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -200;
    opacity: 0.35;
  }
}

@keyframes jm-hero-chip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

body.jm-premium-ui .hero .hero-card {
  z-index: 4;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(130%);
}

/* Inner pages: page hero (not home `.hero`) */
body.jm-premium-ui section.page-hero {
  background:
    radial-gradient(ellipse 100% 85% at 50% -15%, rgba(0, 212, 255, 0.11), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 25%, rgba(123, 47, 255, 0.09), transparent 52%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

body.jm-premium-ui section.page-hero p,
body.jm-premium-ui section.page-hero .section-desc {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Contact: major strips */
body.jm-premium-ui .contact-section {
  background:
    radial-gradient(900px 340px at 10% 0%, rgba(0, 212, 255, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.45) 0%, transparent 55%);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

body.jm-premium-ui .faq-section {
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  background: radial-gradient(800px 300px at 70% 0%, rgba(123, 47, 255, 0.07), transparent 58%);
}

body.jm-premium-ui .map-section {
  border-top: 1px solid rgba(0, 212, 255, 0.09);
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.65), rgba(4, 6, 11, 0.92));
}

body.jm-premium-ui .jm-lead-magnet {
  border-style: solid;
  border-color: rgba(0, 245, 160, 0.3) !important;
  background: linear-gradient(165deg, rgba(0, 245, 160, 0.11), rgba(0, 212, 255, 0.06)) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.jm-premium-ui .contact-form-container .form-header {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  margin-bottom: 1rem;
}

/* About: long-form sections */
body.jm-premium-ui .story-section,
body.jm-premium-ui .skills-section,
body.jm-premium-ui .timeline-section,
body.jm-premium-ui .tech-section,
body.jm-premium-ui .values-section,
body.jm-premium-ui .cert-section {
  border-top: 1px solid rgba(0, 212, 255, 0.07);
  background: radial-gradient(900px 320px at 15% 0%, rgba(0, 212, 255, 0.045), transparent 55%);
}

body.jm-premium-ui .skill-category {
  border-radius: 18px !important;
  border: 1px solid rgba(0, 212, 255, 0.16) !important;
  background: linear-gradient(175deg, rgba(12, 16, 26, 0.9), rgba(7, 10, 18, 0.96)) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  body.jm-premium-ui .hero .hero-image {
    transform: none;
  }

  body.jm-premium-ui .info-card:hover {
    transform: none;
  }

  body.jm-premium-ui .hero .hero-ui-mock__bars span,
  body.jm-premium-ui .hero .hero-ui-mock__aside i,
  body.jm-premium-ui .hero .hero-ui-chip {
    animation: none !important;
  }

  body.jm-premium-ui .hero .hero-ui-mock__spark-path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
    opacity: 1;
  }
}

body.jm-premium-ui .jm-panel-section {
  padding: 1.35rem 1.15rem;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  background: linear-gradient(165deg, rgba(12, 16, 26, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---------- Homepage sections — rhythm & depth (hero markup untouched except additive layers) ---------- */
body.jm-premium-ui .urgent-banner,
body.jm-premium-ui .jm-pain-strip,
body.jm-premium-ui .jm-pricing-preview,
body.jm-premium-ui .jm-instant-quote,
body.jm-premium-ui .trusted,
body.jm-premium-ui .jm-home-showcase,
body.jm-premium-ui .enterprise-proof,
body.jm-premium-ui .trust-bridge,
body.jm-premium-ui .obj-faq,
body.jm-premium-ui .first-step,
body.jm-premium-ui .wf-value,
body.jm-premium-ui .services,
body.jm-premium-ui .portfolio,
body.jm-premium-ui .jm-case-suite,
body.jm-premium-ui .jm-home-industries,
body.jm-premium-ui .jm-home-stack,
body.jm-premium-ui .pricing,
body.jm-premium-ui .testimonials,
body.jm-premium-ui .cta {
  position: relative;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
}

body.jm-premium-ui .urgent-banner::before,
body.jm-premium-ui .jm-pain-strip::before,
body.jm-premium-ui .jm-pricing-preview::before,
body.jm-premium-ui .jm-instant-quote::before,
body.jm-premium-ui .trusted::before,
body.jm-premium-ui .jm-home-showcase::before,
body.jm-premium-ui .enterprise-proof::before,
body.jm-premium-ui .trust-bridge::before,
body.jm-premium-ui .obj-faq::before,
body.jm-premium-ui .first-step::before,
body.jm-premium-ui .wf-value::before,
body.jm-premium-ui .services::before,
body.jm-premium-ui .portfolio::before,
body.jm-premium-ui .jm-case-suite::before,
body.jm-premium-ui .jm-home-industries::before,
body.jm-premium-ui .jm-home-stack::before,
body.jm-premium-ui .pricing::before,
body.jm-premium-ui .testimonials::before,
body.jm-premium-ui .cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(900px 340px at 12% 0%, rgba(0, 212, 255, 0.07), transparent 58%),
    radial-gradient(760px 300px at 88% 80%, rgba(123, 47, 255, 0.06), transparent 55%);
}

body.jm-premium-ui .urgent-banner > *,
body.jm-premium-ui .jm-pain-strip > *,
body.jm-premium-ui .jm-pricing-preview > *,
body.jm-premium-ui .jm-instant-quote > *,
body.jm-premium-ui .trusted > *,
body.jm-premium-ui .jm-home-showcase > *,
body.jm-premium-ui .enterprise-proof > *,
body.jm-premium-ui .trust-bridge > *,
body.jm-premium-ui .obj-faq > *,
body.jm-premium-ui .first-step > *,
body.jm-premium-ui .wf-value > *,
body.jm-premium-ui .services > *,
body.jm-premium-ui .portfolio > *,
body.jm-premium-ui .jm-case-suite > *,
body.jm-premium-ui .jm-home-industries > *,
body.jm-premium-ui .jm-home-stack > *,
body.jm-premium-ui .pricing > *,
body.jm-premium-ui .testimonials > *,
body.jm-premium-ui .cta > * {
  position: relative;
  z-index: 1;
}

body.jm-premium-ui .cta {
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.2) 0%, rgba(4, 6, 12, 0.75) 100%);
}

/* Why invest: process band */
body.jm-premium-ui .wi-process {
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  background:
    radial-gradient(800px 280px at 20% 0%, rgba(0, 212, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.5), rgba(4, 6, 11, 0.95));
}

/* 404 + simple pages (no jm-premium-ui JS) */
.jm-error-shell {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 1rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.16);
  background: linear-gradient(165deg, rgba(12, 16, 26, 0.88), rgba(6, 8, 14, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Trust ribbon (injected by platform-enhancements.js — high visibility add-on) */
.jm-trust-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.6rem;
  margin-top: clamp(3.85rem, 10vw, 5rem);
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: min(1200px, 100%);
  padding: 0.65rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b7c6df;
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(10, 14, 24, 0.95), rgba(5, 8, 14, 0.92));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.jm-trust-ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.jm-trust-ribbon__item i {
  color: #00d4ff;
  font-size: 0.82rem;
  opacity: 0.95;
}

main > .jm-trust-ribbon + .hero {
  padding-top: clamp(2rem, 5vw, 3.25rem);
}

.jm-trust-ribbon + .page-hero {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .jm-trust-ribbon {
    gap: 0.5rem 1rem;
    font-size: 0.66rem;
    padding: 0.55rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-trust-ribbon__item i {
    animation: none;
  }
}

body.jm-premium-ui > .jm-trust-ribbon {
  width: calc(100% - clamp(1.25rem, 5vw, 3rem));
}

/* ---------- Sticky nav: sitewide offset + always-visible glass ---------- */
body.jm-premium-ui:has(.jm-nav-pro) .hero,
body.jm-premium-ui:has(.jm-nav-pro) .page-hero {
  padding-top: clamp(5.25rem, 11vw, 6.75rem);
}

.navbar.jm-nav-pro,
.nav.jm-nav-pro {
  padding-top: max(0.75rem, env(safe-area-inset-top)) !important;
  padding-bottom: 0.75rem !important;
}

.jm-nav-pro .nav-container {
  max-width: 1400px;
  margin: 0 auto;
}

.jm-nav-pro .nav-links a,
.jm-nav-pro .nav-menu a {
  position: relative;
  font-weight: 600;
}

.jm-nav-pro .nav-links a::after,
.jm-nav-pro .nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #7b2fff);
  transition: width 0.25s ease;
}

.jm-nav-pro .nav-links a:hover::after,
.jm-nav-pro .nav-menu a:hover::after {
  width: 100%;
}

/* Homepage compact showcase — copy + tabbed preview */
.jm-showcase-pro {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1rem, 4vw, 5%);
  background: linear-gradient(165deg, rgba(4, 8, 14, 0.92) 0%, rgba(10, 16, 28, 0.98) 55%, rgba(4, 7, 12, 1) 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(123, 47, 255, 0.12);
  overflow: hidden;
}

.jm-showcase-pro__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 55%;
  background: radial-gradient(ellipse at 30% 40%, rgba(0, 212, 255, 0.14), transparent 62%),
    radial-gradient(ellipse at 80% 20%, rgba(123, 47, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.jm-showcase-pro__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 1;
}

.jm-showcase-pro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.jm-showcase-pro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 0.85rem;
}

.jm-showcase-pro__copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: #f0f4fc;
  margin-bottom: 0.85rem;
}

.jm-showcase-pro__copy h2 span {
  background: linear-gradient(135deg, #00d4ff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jm-showcase-pro__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #a8b4c8;
  margin-bottom: 1.1rem;
}

.jm-showcase-pro__lanes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.jm-showcase-pro__lanes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #c8d0e0;
}

.jm-showcase-pro__lanes i {
  color: #00d4ff;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.jm-showcase-pro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.35rem;
}

.jm-showcase-pro__stats > div {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.14);
  min-width: 5.5rem;
}

.jm-showcase-pro__stats strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f0f4fc;
  line-height: 1.2;
}

.jm-showcase-pro__stats span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b98b0;
}

.jm-showcase-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.jm-showcase-pro__visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jm-showcase-pro__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.15);
  align-self: flex-start;
}

.jm-showcase-pro__tab {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: #a8b4c8;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.jm-showcase-pro__tab:hover {
  color: #e8ecf4;
}

.jm-showcase-pro__tab.is-active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(123, 47, 255, 0.2));
  color: #f0f4fc;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.25);
}

.jm-showcase-pro__frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background: #05080f;
  max-height: 420px;
}

.jm-showcase-pro__frame img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 900px) {
  .jm-showcase-pro__grid {
    grid-template-columns: 1fr;
  }

  .jm-showcase-pro__visual {
    order: -1;
  }

  .jm-showcase-pro__frame,
  .jm-showcase-pro__frame img {
    max-height: 320px;
  }

  .jm-showcase-pro__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
    text-align: center;
  }
}

/* Full creative showcase (attached platform image) */
.jm-brand-showcase {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 5%);
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.4) 0%, rgba(8, 12, 22, 0.85) 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.jm-brand-showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.jm-brand-showcase__head {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 1.75rem;
}

.jm-brand-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 0.75rem;
}

.jm-brand-showcase__head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: #f0f4fc;
  margin-bottom: 0.75rem;
}

.jm-brand-showcase__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #a8b4c8;
}

.jm-brand-showcase__figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(123, 47, 255, 0.08);
  background: #05080f;
}

.jm-brand-showcase__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.jm-brand-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .jm-brand-showcase__actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 9.5rem;
    justify-content: center;
  }
}

/* About hero — scoped in about.html (.jm-about-hero); avoid double padding from generic page-hero */
.jm-about-hero.page-hero {
  padding-top: clamp(5.5rem, 12vw, 7rem) !important;
  min-height: auto;
}

.jm-about-hero__copy {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body[data-aos] .jm-about-hero__copy {
  opacity: 1 !important;
  transform: none !important;
}

/* Sitewide: cleaner fold on key conversion pages */
body[data-jm-no-trustrail] .jm-trust-rail,
body[data-jm-no-trustribbon] .jm-trust-ribbon,
body[data-jm-no-trustrail] .jm-trust-ribbon {
  display: none !important;
}

/* Crop bottom edge — hides AI watermark corner on attached creatives */
.jm-showcase-crop {
  overflow: hidden;
  line-height: 0;
}

.jm-showcase-crop img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -5%;
  transform: scale(1.015);
  transform-origin: center top;
}

.jm-brand-showcase--alt {
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.5) 0%, rgba(4, 8, 14, 0.92) 100%);
}

/* Sitewide hire showcase (services + injected inner pages) */
.jm-hire-showcase {
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 5%);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.6), rgba(4, 7, 12, 0.95));
}

.jm-hire-showcase__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.jm-hire-showcase__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 1.5rem;
}

.jm-hire-showcase__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 0.6rem;
}

.jm-hire-showcase__head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: #f0f4fc;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.jm-hire-showcase__lead {
  color: #a8b4c8;
  font-size: 1rem;
  line-height: 1.65;
}

.jm-hire-showcase__figure {
  margin: 0 0 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  background: #05080f;
  max-height: 400px;
}

.jm-hire-showcase__figure img {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center top;
}

.jm-hire-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.jm-hire-showcase__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.jm-hire-showcase__actions .btn-primary {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  color: #05080f;
}

.jm-hire-showcase__actions .btn-outline {
  border-color: rgba(0, 212, 255, 0.35);
  color: #e8ecf4;
  background: rgba(0, 212, 255, 0.06);
}

.jm-hire-showcase__actions .btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #5eead4;
}
