/* =========================================================================
   Cyberweb OPERA — Approved MOBILE hero (+ optional mobile-home.html preview)
   Source of truth for .mobile-home-hero. Loaded on index.html at ≤767px.
   Desktop .home-page__hero is unaffected (≥768px hide this stylesheet via media).
   ========================================================================= */

.mh-page {
  --mh-bg: #0b0b14;
  --mh-surface: #141422;
  --mh-surface-2: #1a1a2a;
  --mh-border: rgba(148, 163, 184, 0.16);
  --mh-text: #f1f5f9;
  --mh-muted: #94a3b8;
  --mh-blue: #60a5fa;
  --mh-violet: #a78bfa;
  --mh-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 45%, #ec4899 100%);
  --mh-header-h: 3.5rem;
  --mh-pad-x: clamp(0.9rem, 4vw, 1.15rem);
  --mh-tap: 46px;
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(99, 102, 241, 0.26), transparent 52%),
    radial-gradient(80% 50% at 100% 18%, rgba(56, 189, 248, 0.1), transparent 48%),
    var(--mh-bg);
  color: var(--mh-text);
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html:has(body.mh-page) {
  overflow-x: clip;
  max-width: 100%;
}

.mh-page *,
.mh-page *::before,
.mh-page *::after {
  box-sizing: border-box;
}

.mh-page a {
  color: inherit;
  text-decoration: none;
}

.mh-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mh-page.mh-menu-open {
  overflow: hidden;
}

.mh-grad {
  background: var(--mh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Progress ----- */
.mh-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}

.mh-progress > i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #6366f1, #a855f7, #22d3ee);
}

/* ----- Header ----- */
.mh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--mh-header-h);
  padding: 0 var(--mh-pad-x);
  background: rgba(11, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mh-border);
}

.mh-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--mh-tap);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.mh-header__brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mh-header__menu {
  width: var(--mh-tap);
  height: var(--mh-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  background: var(--mh-surface);
  color: var(--mh-text);
  font-size: 1.05rem;
  cursor: pointer;
}

.mh-header__menu:active {
  transform: scale(0.96);
}

/* ----- Drawer ----- */
.mh-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.mh-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mh-drawer:not(.is-open) .mh-drawer__panel {
  visibility: hidden;
}

.mh-drawer__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.72);
  opacity: 0;
  transition: opacity 0.22s ease;
  cursor: pointer;
}

.mh-drawer.is-open .mh-drawer__scrim {
  opacity: 1;
}

.mh-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(20.5rem, 88vw);
  height: 100%;
  padding: 1rem 1.1rem 1.5rem;
  background: linear-gradient(180deg, #151528 0%, #0f0f1a 100%);
  border-left: 1px solid var(--mh-border);
  transform: translateX(104%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.mh-drawer.is-open .mh-drawer__panel {
  transform: translateX(0);
}

.mh-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mh-drawer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.mh-drawer__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mh-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--mh-border);
  background: var(--mh-surface);
  color: var(--mh-text);
  font-size: 1.1rem;
  cursor: pointer;
}

.mh-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mh-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #e2e8f0;
}

.mh-drawer__nav a.is-active,
.mh-drawer__nav a:active {
  background: rgba(99, 102, 241, 0.18);
  color: #fff;
}

.mh-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.mh-drawer__email {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--mh-blue);
  word-break: break-all;
  padding: 0.35rem 0;
}

/* ----- Buttons ----- */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--mh-tap);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.mh-btn:active {
  transform: scale(0.97);
}

.mh-btn--primary {
  background: var(--mh-grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.28);
}

.mh-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--mh-border);
  color: #e2e8f0;
}

.mh-btn--block {
  width: 100%;
}

.mh-btn:focus-visible,
.mh-header__menu:focus-visible,
.mh-drawer__nav a:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

/* =========================================================================
   MobileHero — premium single-viewport composition (reference-matched)
   Hierarchy: copy → CTAs → stage visual + float badges → credibility → explore
   ========================================================================= */

.mobile-home-hero {
  --mhh-gap: clamp(0.35rem, 1.1svh, 0.65rem);
  --mhh-title: clamp(1.85rem, 2.1vw + 4.2svh, 2.45rem);
  --mhh-visual: clamp(9.5rem, 28svh, 13.5rem);
  --mhh-pad-y: clamp(0.35rem, 1.1svh, 0.65rem);
  --mhh-badge: clamp(4.4rem, 12.5svh, 5.35rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: calc(100svh - var(--mh-header-h, 3.5rem));
  height: calc(100svh - var(--mh-header-h, 3.5rem));
  max-height: calc(100svh - var(--mh-header-h, 3.5rem));
  padding: var(--mhh-pad-y) var(--mh-pad-x, clamp(0.9rem, 4vw, 1.15rem)) 0.25rem;
  overflow: hidden;
  box-sizing: border-box;
  background:
    radial-gradient(90% 55% at 50% 62%, rgba(56, 189, 248, 0.12), transparent 58%),
    radial-gradient(70% 45% at 78% 28%, rgba(168, 85, 247, 0.1), transparent 55%),
    transparent;
}

.mobile-home-hero__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--mhh-gap);
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  min-height: 0;
  height: 100%;
}

.mobile-home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.32rem, 0.95svh, 0.55rem);
  flex: 0 0 auto;
}

.mobile-home-hero__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

.mobile-home-hero__eyebrow-mark {
  width: 1.15rem;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.55);
}

.mobile-home-hero__eyebrow-text {
  font-size: clamp(0.58rem, 1.4svh + 0.15rem, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
  line-height: 1.25;
}

.mobile-home-hero__title {
  margin: 0;
  font-size: var(--mhh-title);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 11.5ch;
  color: #fff;
  text-wrap: balance;
}

.mobile-home-hero__title .mh-grad {
  display: inline;
  background: linear-gradient(105deg, #8b5cf6 0%, #d946ef 48%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-home-hero__sub {
  margin: 0;
  font-size: clamp(0.78rem, 1.55svh + 0.2rem, 0.9rem);
  line-height: 1.4;
  color: #94a3b8;
  max-width: 32ch;
}

/* Primary CTA dominant + secondary text link */
.mobile-home-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.mh-btn--hero {
  min-height: 48px;
  padding: 0.78rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  background: linear-gradient(105deg, #7c3aed 0%, #a855f7 42%, #ec4899 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 24px rgba(168, 85, 247, 0.45),
    0 12px 28px rgba(99, 102, 241, 0.35);
}

.mh-btn--hero:active {
  transform: scale(0.97);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(168, 85, 247, 0.4),
    0 6px 16px rgba(99, 102, 241, 0.4);
}

.mobile-home-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0 0.05rem 0.15rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: #e9d5ff;
  letter-spacing: -0.01em;
  border-bottom: 1.5px solid transparent;
  border-image: linear-gradient(90deg, #a855f7, #ec4899) 1;
  text-decoration: none;
}

.mobile-home-hero__secondary i {
  font-size: 0.68rem;
  color: #c084fc;
  transition: transform 0.18s ease;
}

.mobile-home-hero__secondary:active i {
  transform: translateX(3px);
}

/* Central stage — visual centerpiece */
.mobile-home-hero__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(calc(var(--mhh-visual) + 1.75rem), 42svh);
  display: grid;
  place-items: center;
  margin: 0.1rem 0 0;
  isolation: isolate;
}

.mobile-home-hero__aura {
  position: absolute;
  inset: 2% 4%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.mobile-home-hero__bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
}

.mobile-home-hero__bloom--a {
  width: 78%;
  height: 78%;
  top: 8%;
  left: 11%;
  background: rgba(59, 130, 246, 0.38);
}

.mobile-home-hero__bloom--b {
  width: 58%;
  height: 58%;
  bottom: 4%;
  right: 12%;
  background: rgba(168, 85, 247, 0.28);
}

.mobile-home-hero__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.12);
  pointer-events: none;
}

.mobile-home-hero__ring--outer {
  width: min(92%, calc(var(--mhh-visual) * 1.55));
  aspect-ratio: 1;
}

.mobile-home-hero__ring--inner {
  width: min(72%, calc(var(--mhh-visual) * 1.22));
  aspect-ratio: 1;
  border-color: rgba(167, 139, 250, 0.2);
}

.mobile-home-hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.mobile-home-hero__badge {
  position: absolute;
  width: var(--mhh-badge);
  height: var(--mhh-badge);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding: 0.35rem;
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.12), transparent 45%),
    rgba(12, 12, 28, 0.82);
  border: 1px solid rgba(167, 139, 250, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(168, 85, 247, 0.35),
    0 10px 24px rgba(2, 6, 23, 0.5);
  animation: mhh-badge-pulse 3.8s ease-in-out infinite;
  pointer-events: none;
}

.mobile-home-hero__badge strong {
  font-size: clamp(0.85rem, 2.2svh, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.mobile-home-hero__badge strong.is-up {
  color: #4ade80;
}

.mobile-home-hero__badge strong.is-brand {
  background: var(--mh-grad, linear-gradient(135deg, #6366f1, #ec4899));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-home-hero__badge span {
  font-size: clamp(0.42rem, 1.1svh, 0.52rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.1;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-home-hero__spark {
  width: 58%;
  height: 0.7rem;
  margin-top: 0.05rem;
  color: #e879f9;
  opacity: 0.95;
}

.mobile-home-hero__spark--up {
  color: #4ade80;
}

.mobile-home-hero__badge--tl {
  top: 2%;
  left: max(0px, 1%);
  animation-delay: 0s;
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 26px rgba(168, 85, 247, 0.5),
    0 10px 24px rgba(2, 6, 23, 0.5);
}

.mobile-home-hero__badge--br {
  bottom: 4%;
  right: max(0px, 1%);
  animation-delay: 0.55s;
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 26px rgba(34, 211, 238, 0.35),
    0 10px 24px rgba(2, 6, 23, 0.5);
}

.mobile-home-hero__badge--tr {
  top: 6%;
  right: 2%;
}

.mobile-home-hero__badge--bl {
  bottom: 8%;
  left: 2%;
}

.mobile-home-hero__image-wrap {
  position: relative;
  z-index: 1;
  width: var(--mhh-visual);
  height: var(--mhh-visual);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: mhh-float 5.8s ease-in-out infinite;
  touch-action: manipulation;
}

.mobile-home-hero__image-wrap::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(96, 165, 250, 0.35), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.mobile-home-hero__image-wrap::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -2%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.4), transparent 72%);
  filter: blur(8px);
  z-index: 0;
}

.mobile-home-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: auto;
}

/* Compact 4-up credibility strip */
.mobile-home-hero__metrics.mobile-home-hero__strip,
.mobile-home-hero__strip {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.9rem;
  background: rgba(12, 12, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 0;
}

.mobile-home-hero__strip li {
  position: relative;
  min-width: 0;
  text-align: center;
  padding: 0.2rem 0.15rem;
  background: none;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.mobile-home-hero__strip li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: rgba(148, 163, 184, 0.2);
}

.mobile-home-hero__metric-icon {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  background: linear-gradient(135deg, #818cf8, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.45));
}

.mobile-home-hero__metric-value {
  display: block;
  font-size: clamp(0.9rem, 2.1svh + 0.2rem, 1.08rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.mobile-home-hero__metric-value i {
  display: none;
}

.mobile-home-hero__metric-label {
  display: block;
  margin-top: 0;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mobile-home-hero__explore {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  align-self: center;
  margin-top: auto;
  padding: 0.2rem 0.5rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  opacity: 0.9;
  text-decoration: none;
}

.mobile-home-hero__explore i {
  font-size: 0.7rem;
  color: #38bdf8;
  animation: mhh-nudge 1.8s ease-in-out infinite;
}

@keyframes mhh-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes mhh-badge-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes mhh-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes mhh-strip-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-home-hero__strip.is-in li {
  animation: mhh-strip-in 0.45s ease both;
}

.mobile-home-hero__strip.is-in li:nth-child(1) {
  animation-delay: 0.04s;
}
.mobile-home-hero__strip.is-in li:nth-child(2) {
  animation-delay: 0.08s;
}
.mobile-home-hero__strip.is-in li:nth-child(3) {
  animation-delay: 0.12s;
}
.mobile-home-hero__strip.is-in li:nth-child(4) {
  animation-delay: 0.16s;
}

/* Compact navbar on homepage mobile only — keep desktop untouched */
@media (max-width: 767px) {
  body.page-home .home-page {
    --hp-nav-offset: 3.35rem;
    --mh-header-h: 3.35rem;
  }

  body.page-home .site-navbar {
    --nav-height: 3.35rem;
    background: rgba(8, 8, 18, 0.92) !important;
    border-bottom-color: rgba(148, 163, 184, 0.12) !important;
  }

  body.page-home .site-navbar .site-navbar__inner {
    padding-inline: clamp(0.9rem, 4vw, 1.15rem) !important;
  }

  body.page-home .site-navbar .site-navbar__brand {
    gap: 0.45rem;
    font-size: 0.92rem;
  }

  body.page-home .site-navbar .site-navbar__brand img {
    width: 1.85rem;
    height: 1.85rem;
  }

  body.page-home .site-navbar .site-navbar__menu-button {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Short phones — scale, don't hide content */
@media (max-height: 740px) {
  .mobile-home-hero {
    --mhh-gap: 0.22rem;
    --mhh-title: clamp(1.5rem, 3.5svh + 0.3rem, 1.85rem);
    --mhh-visual: clamp(6.75rem, 22svh, 9.25rem);
    --mhh-badge: clamp(3.5rem, 10svh, 4.35rem);
    --mhh-pad-y: 0.22rem;
  }

  .mobile-home-hero__stage {
    max-height: min(calc(var(--mhh-visual) + 1.1rem), 36svh);
  }

  .mh-btn--hero {
    min-height: 44px;
    padding: 0.6rem 1.15rem;
    font-size: 0.86rem;
  }

  .mobile-home-hero__cta {
    gap: 0.35rem;
  }

  .mobile-home-hero__strip {
    padding: 0.4rem 0.25rem;
  }

  .mobile-home-hero__explore {
    padding: 0.1rem 0.4rem 0.2rem;
    font-size: 0.55rem;
    gap: 0.12rem;
  }
}

@media (max-height: 680px) {
  .mobile-home-hero {
    --mhh-gap: 0.16rem;
    --mhh-title: clamp(1.35rem, 3.1svh + 0.25rem, 1.6rem);
    --mhh-visual: clamp(5.75rem, 19svh, 7.5rem);
    --mhh-badge: clamp(3.15rem, 9svh, 3.75rem);
    --mhh-pad-y: 0.15rem;
  }

  .mobile-home-hero__sub {
    font-size: 0.72rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .mobile-home-hero__stage {
    max-height: min(calc(var(--mhh-visual) + 0.75rem), 32svh);
  }

  .mobile-home-hero__metric-icon {
    font-size: 0.58rem;
  }

  .mobile-home-hero__metric-value {
    font-size: 0.85rem;
  }

  .mobile-home-hero__metric-label {
    font-size: 0.42rem;
  }

  .mobile-home-hero__strip {
    padding: 0.28rem 0.2rem;
  }

  .mobile-home-hero__secondary {
    min-height: 28px;
    font-size: 0.78rem;
  }
}

@media (max-height: 600px) {
  .mobile-home-hero {
    --mhh-gap: 0.12rem;
    --mhh-title: clamp(1.25rem, 2.8svh + 0.2rem, 1.45rem);
    --mhh-visual: clamp(5rem, 17svh, 6.5rem);
    --mhh-badge: clamp(2.85rem, 8.5svh, 3.35rem);
  }

  .mobile-home-hero__eyebrow-text {
    letter-spacing: 0.1em;
    font-size: 0.52rem;
  }

  .mobile-home-hero__explore {
    padding-bottom: 0.08rem;
  }
}

@media (max-width: 340px) {
  .mobile-home-hero {
    --mhh-title: clamp(1.35rem, 6.8vw, 1.55rem);
    --mhh-badge: 3.25rem;
  }

  .mobile-home-hero__eyebrow-text {
    letter-spacing: 0.08em;
    font-size: 0.52rem;
  }

  .mobile-home-hero__badge--tl {
    left: 0;
  }

  .mobile-home-hero__badge--br {
    right: 0;
  }
}

@media (min-width: 390px) and (min-height: 780px) {
  .mobile-home-hero {
    --mhh-visual: clamp(10.5rem, 29svh, 14rem);
    --mhh-title: clamp(2.05rem, 2vw + 4.4svh, 2.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-home-hero__image-wrap,
  .mobile-home-hero__badge,
  .mobile-home-hero__explore i,
  .mobile-home-hero__strip.is-in li,
  .mh-drawer__panel,
  .mh-drawer__scrim,
  .mh-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================================
   Below-fold sections (kept compact; not part of hero redesign)
   ========================================================================= */

.mh-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.mh-eyebrow--violet {
  color: #c4b5fd;
}

.mh-eyebrow--blue {
  color: #93c5fd;
}

.mh-section {
  padding: 1.35rem var(--mh-pad-x) 0.35rem;
}

.mh-section__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.3rem, 5.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.mh-section__sub {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--mh-muted);
}

/* =========================================================================
   Mobile Problem — editorial list (desktop .home-page__platform stays hidden)
   ========================================================================= */

.mh-section--problem {
  padding-top: 1.05rem;
  padding-bottom: 0.95rem;
  background:
    radial-gradient(90% 55% at 0% 8%, rgba(59, 130, 246, 0.08), transparent 58%),
    radial-gradient(70% 40% at 100% 30%, rgba(139, 92, 246, 0.06), transparent 55%);
}

.mh-section--problem .mh-eyebrow {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
}

.mh-section--problem .mh-section__title {
  margin-bottom: 0.5rem;
  /* Beat marketing.css mobile h2 { font-size: 1.5rem !important } */
  font-size: clamp(1.875rem, 8vw, 2.125rem) !important;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.mh-section--problem .mh-section__sub {
  margin-bottom: 1rem;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mh-problem-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  height: 48px;
  margin: 0 0 1.35rem;
  padding: 0 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  background: var(--mh-grad);
  background-size: 160% 160%;
  box-shadow:
    0 6px 18px rgba(99, 102, 241, 0.22),
    0 0 12px rgba(168, 85, 247, 0.1);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.mh-problem-cta i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.mh-problem-cta:active {
  transform: scale(0.985);
}

.mh-problem-cta:hover i,
.mh-problem-cta:focus-visible i {
  transform: translateX(3px);
}

.mh-problem-cta:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.mh-problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mh-problem-card {
  display: grid;
  grid-template-columns: 1.75rem 2.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.7rem;
  min-height: 3.6rem;
  height: 3.6rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: transparent;
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.mh-problem-card:last-child {
  border-bottom: 0;
}

.mh-problem-card:active .mh-problem-card__label {
  transform: translateX(2px);
}

.mh-problem-card:active .mh-problem-card__ico {
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.18);
}

.mh-problem-card__num {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #64748b;
  line-height: 1;
  min-width: 0;
}

.mh-problem-card__ico {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: rgba(15, 17, 36, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.1);
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-problem-card__ico svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  opacity: 0.92;
}

.mh-problem-card__label {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #f1f5f9;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.18s ease, color 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mh-problem-card:hover .mh-problem-card__label {
    transform: translateX(3px);
    color: #fff;
  }

  .mh-problem-card:hover .mh-problem-card__ico {
    border-color: rgba(147, 197, 253, 0.4);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.16);
  }

  .mh-problem-card:hover .mh-problem-card__ico svg {
    opacity: 1;
  }
}

@media (max-width: 360px) {
  .mh-section--problem .mh-section__title {
    font-size: clamp(1.65rem, 7vw, 1.85rem) !important;
  }

  .mh-problem-card {
    grid-template-columns: 1.55rem 2.1rem minmax(0, 1fr);
    column-gap: 0.55rem;
    min-height: 3.5rem;
    height: 3.5rem;
  }

  .mh-problem-card__ico {
    width: 2.1rem;
    height: 2.1rem;
  }

  .mh-problem-card__label {
    font-size: 0.9rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-problem-cta,
  .mh-problem-cta i,
  .mh-problem-card,
  .mh-problem-card__ico,
  .mh-problem-card__label {
    transition: none !important;
  }

  .mh-problem-card:active .mh-problem-card__label,
  .mh-problem-card:hover .mh-problem-card__label {
    transform: none;
  }
}

.mh-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  min-height: 40px;
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--mh-blue);
}

.mh-rail {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding: 0.15rem 0 0.55rem;
  margin: 0 calc(var(--mh-pad-x) * -1);
  padding-left: var(--mh-pad-x);
  /* End pad keeps last snap card breathing room without page overflow */
  padding-right: max(var(--mh-pad-x), 1.25rem);
  scrollbar-width: none;
  max-width: none;
  width: calc(100% + (2 * var(--mh-pad-x)));
  box-sizing: border-box;
}

.mh-rail::-webkit-scrollbar {
  display: none;
}

/* =========================================================================
   Mobile services — premium glass rail (scoped; desktop platform untouched)
   ========================================================================= */

.mh-section--services {
  padding-top: 1.15rem;
  padding-bottom: 0.55rem;
}

.mh-section--services .mh-eyebrow {
  margin-bottom: 0.45rem;
}

.mh-section--services .mh-section__title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 5.6vw, 1.6rem);
}

.mh-section--services .mh-section__sub {
  margin-bottom: 1.15rem;
  max-width: 34rem;
}

.mh-rail--services {
  gap: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.65rem;
  padding-left: var(--mh-pad-x);
  padding-right: var(--mh-pad-x);
  scroll-padding-inline: var(--mh-pad-x);
}

.mh-service {
  /* Align to section pad; leave ~46px of next card peeking */
  --mh-svc-peek: 2.85rem;
  flex: 0 0 calc(100vw - (2 * var(--mh-pad-x)) - var(--mh-svc-peek));
  width: calc(100vw - (2 * var(--mh-pad-x)) - var(--mh-svc-peek));
  max-width: 22rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 10.35rem;
  min-height: 10.35rem;
  max-height: 10.35rem;
  padding: 0.9rem 0.95rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(56, 189, 248, 0.08), transparent 50%),
    rgba(14, 16, 34, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 28px rgba(2, 6, 23, 0.35);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mh-service::before {
  content: "";
  position: absolute;
  inset: auto -18% -35% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.mh-service > * {
  position: relative;
  z-index: 1;
}

.mh-service.is-featured,
.mh-service:first-child {
  border-color: rgba(196, 181, 253, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px rgba(139, 92, 246, 0.28),
    0 14px 30px rgba(2, 6, 23, 0.4);
}

.mh-service:nth-child(2) {
  border-color: rgba(56, 189, 248, 0.35);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(99, 102, 241, 0.08), transparent 50%),
    rgba(14, 16, 34, 0.92);
}

.mh-service:nth-child(2)::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 68%);
}

.mh-service:active {
  transform: scale(0.985);
}

.mh-service__ico {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(15, 17, 36, 0.88);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.28);
  flex: 0 0 auto;
}

.mh-service__ico svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.mh-service:nth-child(2) .mh-service__ico {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
}

.mh-service:nth-child(3) .mh-service__ico {
  border-color: rgba(244, 114, 182, 0.4);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.22);
}

.mh-service:nth-child(4) .mh-service__ico,
.mh-service:nth-child(5) .mh-service__ico,
.mh-service:nth-child(6) .mh-service__ico {
  border-color: rgba(129, 140, 248, 0.4);
}

.mh-service h3 {
  margin: 0.05rem 0 0;
  font-size: clamp(1.02rem, 4.4vw, 1.18rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
  max-width: 12.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mh-service p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #94a3b8;
  max-width: 15.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mh-service__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.mh-service__explore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #60a5fa;
}

.mh-service__explore i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.mh-service__go {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(15, 17, 36, 0.85);
  color: #e2e8f0;
  font-size: 0.72rem;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-service:nth-child(2) .mh-service__go {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
}

.mh-service:hover .mh-service__explore i,
.mh-service:focus-visible .mh-service__explore i,
.mh-service:active .mh-service__explore i {
  transform: translateX(3px);
}

.mh-service:hover .mh-service__go,
.mh-service:focus-visible .mh-service__go {
  transform: translateX(2px);
  border-color: rgba(196, 181, 253, 0.75);
}

.mh-service:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.mh-services-all {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 0.55rem;
  min-height: 3.15rem;
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: #f1f5f9;
  background: rgba(14, 16, 34, 0.88);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 18px rgba(99, 102, 241, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-services-all__ico {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.28);
  font-size: 0.75rem;
}

.mh-services-all__label {
  flex: 1 1 auto;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mh-services-all__go {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(15, 17, 36, 0.9);
  color: #e2e8f0;
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.mh-services-all:hover,
.mh-services-all:focus-visible {
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 22px rgba(139, 92, 246, 0.22);
}

.mh-services-all:hover .mh-services-all__go,
.mh-services-all:focus-visible .mh-services-all__go {
  transform: translateX(2px);
}

.mh-services-all:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

@media (max-width: 360px) {
  .mh-service {
    --mh-svc-peek: 2.35rem;
    height: 10rem;
    min-height: 10rem;
    max-height: 10rem;
    padding: 0.8rem 0.85rem 0.7rem;
  }

  .mh-service h3 {
    font-size: 1rem;
  }

  .mh-service p {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-service,
  .mh-service__explore i,
  .mh-service__go,
  .mh-services-all,
  .mh-services-all__go {
    transition: none !important;
  }
}

.mh-rail--projects {
  gap: 0.8rem;
  min-height: 0;
  padding-top: 0.2rem;
  padding-bottom: 0.55rem;
  padding-left: var(--mh-pad-x);
  padding-right: var(--mh-pad-x);
  scroll-padding-inline: var(--mh-pad-x);
}

.mh-section--proof {
  padding-top: 1.15rem;
  padding-bottom: 0.85rem;
}

.mh-section--proof .mh-eyebrow {
  margin-bottom: 0.45rem;
}

.mh-section--proof .mh-section__title {
  margin-bottom: 0.5rem;
}

.mh-section--proof .mh-section__sub {
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.mh-project {
  --mh-proj-peek: 2.75rem;
  flex: 0 0 calc(100vw - (2 * var(--mh-pad-x)) - var(--mh-proj-peek));
  width: calc(100vw - (2 * var(--mh-pad-x)) - var(--mh-proj-peek));
  max-width: 24rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
    rgba(12, 14, 30, 0.96);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 22px rgba(99, 102, 241, 0.16),
    0 14px 30px rgba(2, 6, 23, 0.4);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mh-project:first-child {
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 26px rgba(139, 92, 246, 0.28),
    0 16px 32px rgba(2, 6, 23, 0.42);
}

.mh-project:nth-child(2) {
  border-color: rgba(56, 189, 248, 0.4);
}

.mh-project__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.mh-project__link:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.mh-project__media {
  position: relative;
  margin: 0.7rem 0.7rem 0;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #0f172a;
  overflow: hidden;
}

.mh-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.mh-project__badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(10, 12, 28, 0.82);
  border: 1px solid rgba(167, 139, 250, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mh-project__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 0.95rem;
  flex: 1;
}

.mh-project__identity {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.mh-project__mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  color: #c4b5fd;
  background: rgba(15, 17, 36, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.mh-project__title {
  margin: 0;
  font-size: clamp(1.05rem, 4.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #f8fafc;
  min-width: 0;
}

.mh-project__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mh-project__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.mh-project__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #c4b5fd;
}

.mh-project__cta i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.mh-project__go {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: rgba(15, 17, 36, 0.9);
  color: #e2e8f0;
  font-size: 0.72rem;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mh-project:hover,
.mh-project:focus-within {
  border-color: rgba(196, 181, 253, 0.65);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(139, 92, 246, 0.3),
    0 16px 34px rgba(2, 6, 23, 0.45);
}

.mh-project:hover .mh-project__media img,
.mh-project:focus-within .mh-project__media img {
  transform: scale(1.03);
}

.mh-project:hover .mh-project__cta i,
.mh-project:focus-within .mh-project__cta i {
  transform: translateX(3px);
}

.mh-project:hover .mh-project__go,
.mh-project:focus-within .mh-project__go {
  transform: translateX(2px);
  border-color: rgba(196, 181, 253, 0.75);
}

.mh-project:active {
  transform: scale(0.99);
}

.mh-projects-all {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 0.75rem;
  min-height: 3.25rem;
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: #f1f5f9;
  background: rgba(14, 16, 34, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 20px rgba(99, 102, 241, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-projects-all__ico {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
  font-size: 0.75rem;
}

.mh-projects-all__label {
  flex: 1 1 auto;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mh-projects-all__go {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: rgba(15, 17, 36, 0.92);
  color: #e2e8f0;
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.mh-projects-all:hover,
.mh-projects-all:focus-visible {
  border-color: rgba(196, 181, 253, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px rgba(139, 92, 246, 0.24);
}

.mh-projects-all:hover .mh-projects-all__go,
.mh-projects-all:focus-visible .mh-projects-all__go {
  transform: translateX(2px);
}

.mh-projects-all:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

@media (max-width: 360px) {
  .mh-project {
    --mh-proj-peek: 2.25rem;
  }

  .mh-project__body {
    padding: 0.75rem 0.8rem 0.85rem;
  }

  .mh-project__title {
    font-size: 1.02rem;
  }

  .mh-project__text {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-project,
  .mh-project__media img,
  .mh-project__cta i,
  .mh-project__go,
  .mh-projects-all,
  .mh-projects-all__go {
    transition: none !important;
  }

  .mh-project:hover .mh-project__media img,
  .mh-project:focus-within .mh-project__media img {
    transform: none;
  }
}

/* Premium mobile CTA card — standalone before site footer */
.mh-cta {
  --mh-cta-pad-x: 1.15rem;
  box-sizing: border-box;
  width: calc(100% - 28px);
  max-width: calc(100vw - 28px);
  margin: 1.35rem auto 0;
  padding: 1.9rem var(--mh-cta-pad-x) 1.85rem;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(110% 90% at 50% -20%, rgba(99, 102, 241, 0.28), transparent 55%),
    radial-gradient(80% 70% at 100% 100%, rgba(56, 189, 248, 0.08), transparent 50%),
    rgba(16, 18, 36, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 32px rgba(99, 102, 241, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.mh-cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 5.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #f8fafc;
}

.mh-cta h2 .mh-grad {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mh-cta p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.mh-cta .mh-btn--primary {
  min-height: 50px;
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  box-shadow:
    0 8px 22px rgba(99, 102, 241, 0.32),
    0 0 18px rgba(168, 85, 247, 0.18);
}

.mh-cta .mh-btn--ghost {
  min-height: 48px;
  margin: 0;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(226, 232, 240, 0.28);
  color: #f1f5f9;
}

/* Clear CTA → footer breathing room (pairs with cancelled homepage pull-up) */
body.page-home .site-footer {
  margin-top: 0;
  padding-top: 1.35rem;
}

/* Trust / credibility (mobile homepage below-fold — not hero) */
.mh-trust-strip {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(30, 30, 48, 0.95), rgba(20, 20, 34, 0.98));
  border: 1px solid var(--mh-border);
}

.mh-trust-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  min-width: 0;
}

.mh-trust-strip__value {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.mh-trust-strip__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mh-muted);
  line-height: 1.2;
}

/* =========================================================================
   Mobile process panel — premium glass vertical timeline (reference match)
   Mobile-only stylesheet; desktop .home-page__process untouched
   ========================================================================= */

.mh-section--trust {
  padding-top: 1rem;
  padding-bottom: 0.15rem;
}

.mh-process-panel {
  --mhp-bg: rgba(10, 12, 28, 0.92);
  --mhp-border: rgba(129, 140, 248, 0.22);
  --mhp-cyan: #22d3ee;
  --mhp-violet: #a78bfa;
  --mhp-pink: #e879f9;
  --mhp-muted: #94a3b8;
  --mhp-text: #f8fafc;
  --mhp-icon: 2.05rem;
  --mhp-node: 1.65rem;
  --mhp-gap: 0.4rem;
  --mhp-hit-pad-l: 0.35rem;
  --mhp-line-x: calc(
    var(--mhp-hit-pad-l) + var(--mhp-icon) + var(--mhp-gap) + (var(--mhp-node) / 2)
  );
  /* ~15px inset from viewport edges (section already pads via --mh-pad-x) */
  width: calc(100% + (2 * var(--mh-pad-x)) - 30px);
  max-width: calc(100vw - 30px);
  margin: 0.55rem 0 0.4rem;
  margin-inline: calc(15px - var(--mh-pad-x));
  padding: 0.9rem 0.85rem 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--mhp-border);
  background:
    radial-gradient(95% 70% at 50% -10%, rgba(99, 102, 241, 0.28), transparent 55%),
    radial-gradient(70% 55% at 100% 30%, rgba(56, 189, 248, 0.12), transparent 50%),
    radial-gradient(60% 50% at 0% 100%, rgba(168, 85, 247, 0.1), transparent 55%),
    var(--mhp-bg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(99, 102, 241, 0.18),
    0 14px 32px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.mh-process-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.mh-process-panel__titles {
  min-width: 0;
  flex: 1 1 auto;
}

.mh-process-panel__eyebrow {
  margin: 0 0 0.22rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mhp-cyan);
}

.mh-process-panel__title {
  margin: 0;
  font-size: clamp(1.15rem, 5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--mhp-text);
}

.mh-process-panel__accent {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.55);
}

.mh-process-panel__toggle {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(15, 17, 36, 0.85);
  color: #f1f5f9;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 18px rgba(139, 92, 246, 0.28);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mh-process-panel__toggle:hover {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 22px rgba(139, 92, 246, 0.4);
}

.mh-process-panel__toggle:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.mh-process-panel__toggle:active {
  transform: scale(0.96);
}

.mh-process-panel__toggle i {
  font-size: 0.88rem;
  transition: transform 0.25s ease;
}

.mh-process-panel.is-collapsed .mh-process-panel__toggle i {
  transform: rotate(180deg);
}

.mh-process-panel.is-collapsed .mh-process-panel__head {
  margin-bottom: 0;
}

.mh-process-panel__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.32s ease, opacity 0.22s ease;
  opacity: 1;
}

.mh-process-panel.is-collapsed .mh-process-panel__body {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.mh-process-panel__body > .mh-process-timeline {
  overflow: hidden;
  min-height: 0;
}

.mh-process-timeline {
  list-style: none;
  margin: 0;
  padding: 0.05rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Continuous glowing rail through node centers */
.mh-process-timeline::before {
  content: "";
  position: absolute;
  left: var(--mhp-line-x);
  top: calc(0.55rem + var(--mhp-icon) / 2);
  bottom: calc(0.55rem + var(--mhp-icon) / 2);
  width: 1px;
  translate: -50% 0;
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.2),
    rgba(139, 92, 246, 0.85) 18%,
    rgba(59, 130, 246, 0.75) 50%,
    rgba(34, 211, 238, 0.8) 82%,
    rgba(34, 211, 238, 0.2)
  );
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  z-index: 0;
  pointer-events: none;
}

.mh-process-step {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
}

.mh-process-step + .mh-process-step {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.mh-process-step__hit {
  width: 100%;
  display: grid;
  grid-template-columns: var(--mhp-icon) var(--mhp-node) minmax(0, 1fr) auto;
  column-gap: var(--mhp-gap);
  align-items: center;
  min-height: 48px;
  padding: 0.55rem var(--mhp-hit-pad-l) 0.55rem var(--mhp-hit-pad-l);
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.mh-process-step__hit:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.mh-process-step__track {
  position: relative;
  z-index: 1;
  width: var(--mhp-node);
  height: var(--mhp-node);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mh-process-step__rail {
  display: none;
}

.mh-process-step__node {
  position: relative;
  z-index: 1;
  width: var(--mhp-node);
  height: var(--mhp-node);
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  background: #070918;
  border: 1px solid rgba(203, 213, 225, 0.45);
  box-shadow: 0 0 0 3px rgba(8, 10, 24, 0.98);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.mh-process-step__icon {
  width: var(--mhp-icon);
  height: var(--mhp-icon);
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(15, 17, 36, 0.9);
  color: #c4b5fd;
  font-size: 0.78rem;
  border: 1px solid rgba(167, 139, 250, 0.22);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.mh-process-step:nth-child(1) .mh-process-step__icon {
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.mh-process-step:nth-child(2) .mh-process-step__icon {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.28);
}

.mh-process-step:nth-child(3) .mh-process-step__icon {
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.3);
}

.mh-process-step:nth-child(4) .mh-process-step__icon {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.mh-process-step:nth-child(5) .mh-process-step__icon {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

.mh-process-step__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding-inline: 0.15rem 0.2rem;
}

.mh-process-step__name {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  line-height: 1.15;
}

.mh-process-step__desc {
  font-size: 0.72rem;
  line-height: 1.3;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-process-step__chevron {
  font-size: 0.65rem;
  color: rgba(167, 139, 250, 0.7);
  padding-right: 0.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Inactive — slightly quieter, still readable */
.mh-process-step:not(.is-active) .mh-process-step__hit {
  opacity: 0.88;
}

.mh-process-step:not(.is-active) .mh-process-step__hit:hover,
.mh-process-step:not(.is-active) .mh-process-step__hit:focus-visible {
  opacity: 1;
  background: rgba(99, 102, 241, 0.06);
}

/* Active */
.mh-process-step.is-active .mh-process-step__hit {
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.16),
    rgba(56, 189, 248, 0.05) 55%,
    transparent
  );
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.18);
}

.mh-process-step.is-active .mh-process-step__node {
  color: #fff;
  border-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(145deg, #6366f1, #7c3aed 60%, #4f46e5);
  box-shadow:
    0 0 0 3px rgba(8, 10, 24, 0.98),
    0 0 16px rgba(139, 92, 246, 0.7);
}

.mh-process-step.is-active .mh-process-step__icon {
  background: rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.5);
}

.mh-process-step.is-active .mh-process-step__name {
  color: #fff;
}

.mh-process-step.is-active .mh-process-step__desc {
  color: #cbd5e1;
}

.mh-process-step.is-active .mh-process-step__chevron {
  color: #c4b5fd;
  transform: translateX(2px);
}

@media (max-width: 360px) {
  .mh-process-panel {
    --mhp-icon: 1.9rem;
    --mhp-node: 1.55rem;
    --mhp-gap: 0.32rem;
    padding: 0.8rem 0.7rem 0.7rem;
  }

  .mh-process-panel__toggle {
    width: 42px;
    height: 42px;
  }

  .mh-process-step__hit {
    padding-block: 0.48rem;
  }

  .mh-process-step__name {
    font-size: 0.84rem;
  }

  .mh-process-step__desc {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-process-panel__body,
  .mh-process-panel__toggle,
  .mh-process-panel__toggle i,
  .mh-process-step__hit,
  .mh-process-step__node,
  .mh-process-step__icon,
  .mh-process-step__chevron {
    transition: none !important;
  }
}

.mh-footer {
  margin-top: 1.35rem;
  padding: 1.25rem var(--mh-pad-x) calc(1.35rem + env(safe-area-inset-bottom, 0px));
  background: #080810;
  border-top: 1px solid var(--mh-border);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mh-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.mh-footer__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mh-footer__tag {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--mh-muted);
}

.mh-footer__email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mh-blue);
  word-break: break-all;
}

.mh-footer__social {
  display: flex;
  gap: 0.45rem;
}

.mh-footer__social a,
.mh-footer__social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mh-surface);
  border: 1px solid var(--mh-border);
  color: #e2e8f0;
}

.mh-footer__copy,
.mh-footer__note {
  margin: 0;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
}

.mh-footer__note a {
  color: var(--mh-blue);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .mh-page main,
  .mh-page .mh-header,
  .mh-page .mh-footer {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }
}
