/**
 * Try it page — calculator + product timeline.
 * Bold scrollytelling style (OK if it diverges from main marketing chrome).
 */

.mk-tools-page {
  --mk-tools-ink: #0b1220;
  --mk-tools-muted: #64748b;
  --mk-tools-border: rgba(15, 23, 42, 0.12);
  --mk-tools-surface: #ffffff;
  --mk-tools-soft: #f1f5f9;
  --mk-tools-accent: #0891b2;
  color: var(--mk-tools-ink);
}

/* Flush under fixed nav */
.mk-marketing-body:has(.mk-tools-page) #main-content {
  padding-top: 0 !important;
}

/* ── Hero + cosmic parallax ─────────────────────────────────────── */
.mk-tools-hero {
  position: relative;
  overflow: hidden;
  /* Header clearance + breathing room before kicker */
  padding: 6.75rem 1.25rem 3.25rem;
  color: #f8fafc;
  background: #020617;
}

@media (min-width: 640px) {
  .mk-tools-hero {
    padding-top: 7.75rem;
    padding-bottom: 3.75rem;
  }
}

.mk-tools-hero__cosmos {
  position: absolute;
  inset: -20% 0 -30%;
  pointer-events: none;
  overflow: hidden;
}

.mk-tools-hero__layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Deep space base */
.mk-tools-hero__layer--deep {
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, #0f172a 0%, transparent 55%),
    radial-gradient(circle at 20% 30%, #0c1224 0%, transparent 40%),
    linear-gradient(180deg, #020617 0%, #050a14 40%, #0b1220 100%);
}

/* Nebulae */
.mk-tools-hero__layer--nebula {
  background:
    radial-gradient(ellipse 55% 45% at 18% 35%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 25%, rgba(129, 140, 248, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 50% at 55% 75%, rgba(236, 72, 153, 0.18), transparent 55%),
    radial-gradient(ellipse 35% 30% at 70% 60%, rgba(34, 211, 238, 0.15), transparent 50%);
  filter: saturate(1.15);
  opacity: 0.95;
}

/* Star field (layered dots) */
.mk-tools-hero__layer--stars {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 22% 42%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 36% 12%, rgba(186, 230, 253, 0.95), transparent),
    radial-gradient(1px 1px at 48% 58%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 62% 28%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 74% 66%, rgba(224, 231, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 86% 16%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 12% 72%, rgba(165, 243, 252, 0.8), transparent),
    radial-gradient(1px 1px at 28% 88%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 54% 82%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 68% 48%, rgba(196, 181, 253, 0.85), transparent),
    radial-gradient(1px 1px at 92% 78%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 42% 32%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 95% 40%, rgba(167, 243, 208, 0.7), transparent);
  opacity: 0.85;
  animation: mk-stars-twinkle 6s ease-in-out infinite alternate;
}

@keyframes mk-stars-twinkle {
  from { opacity: 0.55; }
  to { opacity: 0.95; }
}

/* Soft bloom */
.mk-tools-hero__layer--glow {
  background:
    radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.2), transparent 35%),
    radial-gradient(circle at 75% 35%, rgba(129, 140, 248, 0.18), transparent 32%);
  mix-blend-mode: screen;
}

/* Vignette so text stays readable */
.mk-tools-hero__layer--veil {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0.15) 45%, rgba(2, 6, 23, 0.35) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, transparent 35%, rgba(2, 6, 23, 0.5) 100%);
}

.mk-tools-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}

.mk-tools-hero__copy {
  max-width: 40rem;
}

.mk-tools-hero__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
  /* Extra space under nav before the badge */
  margin: 0.75rem 0 1.15rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  background: rgba(8, 145, 178, 0.18);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.22);
}

.mk-tools-hero__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.mk-tools-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.mk-tools-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.mk-tools-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.mk-tools-hero__btn--primary {
  color: #042f2e;
  background: linear-gradient(135deg, #67e8f9, #22d3ee 40%, #a78bfa);
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.35);
}

.mk-tools-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.45);
}

.mk-tools-hero__btn--ghost {
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.4);
}

.mk-tools-hero__btn--ghost:hover {
  border-color: rgba(103, 232, 249, 0.45);
  color: #fff;
}

.mk-tools-hero__meta {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
}

/* ── Calculator block ───────────────────────────────────────────── */
.mk-tools-demo {
  padding: 1.75rem 0.75rem 2.75rem;
  background: linear-gradient(180deg, #cbd5e1 0%, #f1f5f9 28%, #f8fafc 100%);
}

.mk-tools-demo__label {
  max-width: 1280px;
  margin: 0 auto 0.85rem;
  padding: 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.mk-tools-demo__label span {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e7490;
}

.mk-tools-demo__label strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.mk-tools-demo__shell {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 1.1rem;
  box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.4);
  padding: 1rem 1rem 1.25rem;
  overflow-x: auto;
}

.mk-tools-wizard {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.2);
  --primary: #0891b2;
  --primary-hover: #0e7490;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.mk-tools-wizard .wizard-layout {
  min-width: min(100%, 1100px);
}

.mk-tools-wizard .wizard-section {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.75rem;
}

.mk-tools-wizard .wizard-section-head h2 {
  color: #0b1220;
}

.mk-tools-wizard .wizard-mode-bar {
  background: rgba(8, 145, 178, 0.07);
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 0.65rem;
}

.mk-tools-wizard .wizard-segmented__btn.is-active {
  background: #0891b2;
  color: #fff;
}

.mk-tools-wizard .wizard-preview-card,
.mk-tools-wizard .wizard-channel-share-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.75rem;
}

.mk-tools-wizard .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.mk-tools-wizard__no-submit {
  margin: 0;
  flex: 1 1 12rem;
}

.mk-tools-wizard .wizard-grid--deal-demo {
  max-width: 16rem;
}

@media (min-width: 768px) {
  .mk-tools-wizard.wizard-page {
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }
}

.mk-header,
.mk-site-footer {
  font-family: "DM Sans", system-ui, sans-serif;
}

/* ── Timeline sequence (cosmic + cursor spotlights) ─────────────── */
.mk-tl {
  --tl-mx: 50%;
  --tl-my: 28%;
  --tl-mx2: 62%;
  --tl-my2: 42%;
  --tl-mx3: 38%;
  --tl-my3: 58%;
  position: relative;
  background: #020617;
  color: #f8fafc;
  padding: 4rem 1rem 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

.mk-tl__cosmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mk-tl__layer {
  position: absolute;
  inset: -8% -4%;
}

/* Deep space */
.mk-tl__layer--deep {
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 110%, #0f172a 0%, transparent 50%),
    radial-gradient(circle at 15% 20%, #0a1224 0%, transparent 42%),
    radial-gradient(circle at 88% 70%, #0c1022 0%, transparent 38%),
    linear-gradient(180deg, #020617 0%, #050a14 42%, #0b1220 100%);
}

/* Nebulae — slow drift */
.mk-tl__layer--nebula {
  background:
    radial-gradient(ellipse 55% 42% at 12% 28%, rgba(56, 189, 248, 0.32), transparent 62%),
    radial-gradient(ellipse 48% 38% at 88% 22%, rgba(129, 140, 248, 0.3), transparent 58%),
    radial-gradient(ellipse 50% 48% at 52% 78%, rgba(236, 72, 153, 0.16), transparent 55%),
    radial-gradient(ellipse 36% 32% at 72% 55%, rgba(34, 211, 238, 0.14), transparent 52%),
    radial-gradient(ellipse 30% 28% at 28% 65%, rgba(167, 139, 250, 0.12), transparent 50%);
  filter: saturate(1.2);
  opacity: 0.95;
  animation: mk-tl-nebula-drift 28s ease-in-out infinite alternate;
}

@keyframes mk-tl-nebula-drift {
  from { transform: translate3d(-1.5%, 0.5%, 0) scale(1); }
  to { transform: translate3d(1.8%, -1.2%, 0) scale(1.04); }
}

/* Near stars */
.mk-tl__layer--stars {
  background-image:
    radial-gradient(1.5px 1.5px at 6% 12%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 14% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 22% 8%, rgba(186, 230, 253, 0.95), transparent),
    radial-gradient(1px 1px at 31% 54%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 42% 22%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 51% 71%, rgba(224, 231, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 63% 14%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 72% 48%, rgba(196, 181, 253, 0.85), transparent),
    radial-gradient(1px 1px at 81% 33%, rgba(165, 243, 252, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 89% 62%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 95% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 8% 78%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(2px 2px at 27% 88%, rgba(167, 243, 208, 0.65), transparent),
    radial-gradient(1px 1px at 48% 92%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 68% 84%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 86% 91%, rgba(251, 207, 232, 0.7), transparent);
  opacity: 0.88;
  animation: mk-tl-stars-twinkle 7s ease-in-out infinite alternate;
}

/* Far / denser star dust */
.mk-tl__layer--stars-far {
  background-image:
    radial-gradient(1px 1px at 3% 25%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 11% 61%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 19% 15%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 35% 44%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 47% 8%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 58% 59%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 66% 31%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 77% 76%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 84% 41%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 93% 67%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 16% 93%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 39% 81%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 54% 96%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 71% 6%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 98% 88%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.55;
  animation: mk-tl-stars-twinkle 11s ease-in-out infinite alternate-reverse;
}

@keyframes mk-tl-stars-twinkle {
  from { opacity: 0.45; }
  to { opacity: 0.95; }
}

/* Soft floating dust orbs */
.mk-tl__layer--dust {
  background:
    radial-gradient(circle at 20% 40%, rgba(34, 211, 238, 0.08), transparent 28%),
    radial-gradient(circle at 75% 30%, rgba(129, 140, 248, 0.08), transparent 26%),
    radial-gradient(circle at 55% 70%, rgba(244, 114, 182, 0.06), transparent 30%);
  mix-blend-mode: screen;
  animation: mk-tl-dust-pulse 10s ease-in-out infinite alternate;
}

@keyframes mk-tl-dust-pulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0.95; transform: scale(1.06); }
}

/* Cursor-following spotlights */
.mk-tl__spotlight {
  position: absolute;
  inset: -15%;
  opacity: 0.72;
  transition: opacity 0.45s ease;
  will-change: background;
  mix-blend-mode: screen;
}

.mk-tl.is-spotlight-on .mk-tl__spotlight {
  opacity: 1;
}

.mk-tl__spotlight--cyan {
  background: radial-gradient(
    520px circle at var(--tl-mx) var(--tl-my),
    rgba(34, 211, 238, 0.28) 0%,
    rgba(56, 189, 248, 0.12) 28%,
    transparent 58%
  );
}

.mk-tl__spotlight--violet {
  background: radial-gradient(
    420px circle at var(--tl-mx2) var(--tl-my2),
    rgba(167, 139, 250, 0.26) 0%,
    rgba(129, 140, 248, 0.1) 32%,
    transparent 55%
  );
}

.mk-tl__spotlight--rose {
  background: radial-gradient(
    360px circle at var(--tl-mx3) var(--tl-my3),
    rgba(244, 114, 182, 0.16) 0%,
    rgba(251, 113, 133, 0.07) 30%,
    transparent 52%
  );
}

/* Readability veil — keeps cards/text crisp over cosmos */
.mk-tl__layer--veil {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.25) 0%, transparent 12%, transparent 88%, rgba(2, 6, 23, 0.45) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 30%, rgba(2, 6, 23, 0.35) 100%);
}

/* No pointer / reduced motion: static ambient glows instead of cursor spots */
.mk-tl--no-spotlight .mk-tl__spotlight--cyan {
  background: radial-gradient(ellipse 50% 40% at 30% 25%, rgba(34, 211, 238, 0.2), transparent 60%);
  opacity: 0.85;
}
.mk-tl--no-spotlight .mk-tl__spotlight--violet {
  background: radial-gradient(ellipse 45% 38% at 78% 35%, rgba(129, 140, 248, 0.18), transparent 58%);
  opacity: 0.85;
}
.mk-tl--no-spotlight .mk-tl__spotlight--rose {
  background: radial-gradient(ellipse 40% 35% at 50% 75%, rgba(244, 114, 182, 0.12), transparent 55%);
  opacity: 0.8;
}

/* Legacy alias (if any leftover) */
.mk-tl__ambient {
  display: none;
}

.mk-tl__header {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.mk-tl__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  background: rgba(8, 145, 178, 0.15);
}

.mk-tl__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, #fff 0%, #a5f3fc 40%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mk-tl__lead {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.mk-tl__bridge {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.9);
}

/* Fun “what happens next” chip strip — mirrors 建立登記 ‧ 建立交易 … */
.mk-tl__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.35rem;
  margin: 0 auto 1.1rem;
  padding: 0.85rem 1rem;
  max-width: 42rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(99, 102, 241, 0.14) 50%, rgba(244, 114, 182, 0.12)),
    rgba(15, 23, 42, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 40px -16px rgba(34, 211, 238, 0.35);
}

.mk-tl__flow-item {
  --hue: calc(185 + var(--i, 0) * 32);
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f8fafc;
  background: linear-gradient(
    155deg,
    hsla(var(--hue), 85%, 62%, 0.38),
    hsla(calc(var(--hue) + 40), 75%, 55%, 0.2)
  );
  border: 1px solid hsla(var(--hue), 90%, 75%, 0.45);
  box-shadow:
    0 2px 12px -4px hsla(var(--hue), 90%, 55%, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: mk-tl-chip-pop 0.55s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.08s + 0.12s);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-tl__flow-item:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 6px 18px -6px hsla(var(--hue), 90%, 55%, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.mk-tl__flow-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  font-size: 0.7rem;
  color: #c4b5fd;
  animation: mk-tl-spark 1.8s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(196, 181, 253, 0.85);
}

@keyframes mk-tl-chip-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mk-tl-spark {
  0%, 100% { opacity: 0.45; transform: scale(0.9) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(12deg); }
}

.mk-tl__closer {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #a5f3fc;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.mk-tl__subtitle {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .mk-tl__flow-item,
  .mk-tl__flow-sep {
    animation: none;
  }
  .mk-tl__layer--nebula,
  .mk-tl__layer--stars,
  .mk-tl__layer--stars-far,
  .mk-tl__layer--dust {
    animation: none;
    transform: none;
  }
}

.mk-tl__track {
  position: relative;
  z-index: 2;
  max-width: 58rem;
  margin: 0 auto;
  padding-left: 0;
}

@media (min-width: 768px) {
  .mk-tl__track {
    padding-left: 1.25rem;
  }
}

/* Vertical spine */
.mk-tl__spine {
  display: none;
}

@media (min-width: 768px) {
  .mk-tl__spine {
    display: block;
    position: absolute;
    left: 1.9rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.85);
    overflow: hidden;
  }
  .mk-tl__spine-glow {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40%;
    background: linear-gradient(180deg, #22d3ee, #a78bfa, transparent);
    animation: mk-spine 6s ease-in-out infinite;
  }
}

@keyframes mk-spine {
  0%, 100% { transform: translateY(-20%); opacity: 0.7; }
  50% { transform: translateY(120%); opacity: 1; }
}

.mk-tl__step {
  position: relative;
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 0.85rem 1.15rem;
  margin-bottom: 1.75rem;
  opacity: 0.28;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.mk-tl__step.is-on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .mk-tl__step {
    grid-template-columns: 1fr;
  }
  .mk-tl__node {
    width: auto;
    justify-self: start;
  }
}

.mk-tl__node {
  position: relative;
  z-index: 2;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #67e8f9;
  background: #0f172a;
  border: 1px solid rgba(103, 232, 249, 0.35);
  box-shadow: 0 0 0 6px rgba(3, 7, 18, 0.95);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

.mk-tl__step.is-on .mk-tl__node {
  transform: scale(1.06);
  color: #042f2e;
  background: linear-gradient(145deg, #67e8f9, #a78bfa);
  border-color: transparent;
  box-shadow:
    0 0 0 6px rgba(3, 7, 18, 0.95),
    0 0 32px rgba(34, 211, 238, 0.45);
}

.mk-tl__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.72));
  box-shadow:
    0 20px 40px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 720px) {
  .mk-tl__card {
    grid-template-columns: 1fr;
  }
}

.mk-tl__phase {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
}

.mk-tl__card-text h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  margin: 0 0 0.55rem;
  color: #fff;
  letter-spacing: -0.015em;
}

.mk-tl__card-text > p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.92);
}

.mk-tl__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mk-tl__bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
}

.mk-tl__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.mk-tl__visual {
  display: grid;
  place-items: center;
  min-height: 11rem;
}

/* Visuals */
.mk-viz {
  position: relative;
  width: min(100%, 16.5rem);
  min-height: 10.5rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #020617;
  padding: 0.85rem;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.mk-tl__step.is-on .mk-viz {
  animation: mk-viz-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mk-viz-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.mk-viz__chip {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  color: #042f2e;
  background: #67e8f9;
  margin-bottom: 0.55rem;
}

.mk-viz__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 0.4rem;
  background: rgba(30, 41, 59, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mk-viz__row b {
  font-variant-numeric: tabular-nums;
  color: #f8fafc;
}

.mk-viz__row--fx {
  background: rgba(8, 145, 178, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.mk-viz__row .up { color: #86efac; }

.mk-viz__glow {
  position: absolute;
  width: 6rem;
  height: 6rem;
  right: -1rem;
  bottom: -1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
  animation: mk-glow 3s ease-in-out infinite;
}

@keyframes mk-glow {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Entities */
.mk-viz--entities {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
}

.mk-viz__entity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  opacity: 0;
  transform: translateX(-10px);
}

.mk-tl__step.is-on .mk-viz__entity {
  animation: mk-slide-in 0.45s ease forwards;
}

.mk-tl__step.is-on .mk-viz__entity--ch { animation-delay: 0.08s; }
.mk-tl__step.is-on .mk-viz__entity--cp { animation-delay: 0.18s; }
.mk-tl__step.is-on .mk-viz__entity--py { animation-delay: 0.28s; }

@keyframes mk-slide-in {
  to { opacity: 1; transform: translateX(0); }
}

.mk-viz__entity i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.mk-viz__entity--cp i { background: #a78bfa; box-shadow: 0 0 10px rgba(167, 139, 250, 0.7); }
.mk-viz__entity--py i { background: #f472b6; box-shadow: 0 0 10px rgba(244, 114, 182, 0.6); }

.mk-viz__entity em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #042f2e;
  background: #86efac;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

/* Legs list */
.mk-viz--legs {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.mk-viz__leg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(30, 41, 59, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  opacity: 0;
  transform: translateX(-8px);
}

.mk-tl__step.is-on .mk-viz__leg {
  animation: mk-slide-in 0.4s ease forwards;
  animation-delay: calc(var(--d, 0) * 0.08s + 0.1s);
}

.mk-viz__leg b {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.28rem;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  color: #0b1220;
  background: #22d3ee;
}

.mk-viz__leg--cp b { background: #a78bfa; }
.mk-viz__leg span { flex: 1; }
.mk-viz__leg em { font-style: normal; color: #94a3b8; }
.mk-viz__leg em.pos { color: #86efac; }
.mk-viz__leg em.neg { color: #fca5a5; }

/* Balances */
.mk-viz--bal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  align-content: start;
}

.mk-viz__kpi {
  padding: 0.55rem;
  border-radius: 0.5rem;
  background: rgba(8, 145, 178, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.mk-viz__kpi span {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(165, 243, 252, 0.8);
  margin-bottom: 0.15rem;
}

.mk-viz__kpi strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ecfeff;
  font-variant-numeric: tabular-nums;
}

.mk-viz__kpi--up strong { color: #86efac; }

.mk-viz__bars {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 3.5rem;
  margin-top: 0.25rem;
}

.mk-viz__bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.25rem 0.25rem 0.1rem 0.1rem;
  background: linear-gradient(180deg, #22d3ee, #6366f1);
  transform-origin: bottom;
  transform: scaleY(0.2);
}

.mk-tl__step.is-on .mk-viz__bars i {
  animation: mk-bar 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mk-tl__step.is-on .mk-viz__bars i:nth-child(1) { animation-delay: 0.05s; }
.mk-tl__step.is-on .mk-viz__bars i:nth-child(2) { animation-delay: 0.12s; }
.mk-tl__step.is-on .mk-viz__bars i:nth-child(3) { animation-delay: 0.19s; }
.mk-tl__step.is-on .mk-viz__bars i:nth-child(4) { animation-delay: 0.26s; }

@keyframes mk-bar {
  to { transform: scaleY(1); }
}

/* KYC */
.mk-viz--kyc {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 10.5rem;
}

.mk-viz__shield {
  width: 4.25rem;
  height: 4.75rem;
  clip-path: polygon(50% 0%, 100% 18%, 100% 62%, 50% 100%, 0% 62%, 0% 18%);
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.55), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(52, 211, 153, 0.5);
  display: grid;
  place-items: center;
  box-shadow: 0 0 28px rgba(52, 211, 153, 0.35);
  position: relative;
}

.mk-viz__shield span {
  width: 1rem;
  height: 0.5rem;
  border-left: 3px solid #6ee7b7;
  border-bottom: 3px solid #6ee7b7;
  transform: rotate(-45deg) translate(1px, -2px);
}

.mk-viz__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(6, 78, 59, 0.45);
}

.mk-viz__meter {
  width: 70%;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.9);
  overflow: hidden;
}

.mk-viz__meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
}

.mk-tl__step.is-on .mk-viz__meter i {
  animation: mk-meter 0.9s ease 0.2s forwards;
}

@keyframes mk-meter {
  to { width: 82%; }
}

/* Team */
.mk-viz--team {
  min-height: 10.5rem;
  display: grid;
  place-items: center;
}

.mk-viz__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #042f2e;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
  z-index: 2;
}

.mk-viz__person {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #e2e8f0;
  background: #1e293b;
  border: 2px solid rgba(103, 232, 249, 0.45);
  z-index: 2;
}

.mk-viz__person[style*="--i:0"] { top: 0.9rem; left: 1rem; }
.mk-viz__person[style*="--i:1"] { top: 0.9rem; right: 1rem; }
.mk-viz__person[style*="--i:2"] { bottom: 1.4rem; left: 50%; transform: translateX(-50%); }

.mk-viz__ping {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.28rem 0.45rem;
  border-radius: 0.35rem;
  color: #a5f3fc;
  background: rgba(8, 145, 178, 0.4);
  border: 1px solid rgba(103, 232, 249, 0.4);
  opacity: 0;
}

.mk-tl__step.is-on .mk-viz__ping {
  animation: mk-ping 2.6s ease-in-out 0.5s infinite;
}

@keyframes mk-ping {
  0%, 100% { opacity: 0; transform: translateY(4px); }
  25%, 70% { opacity: 1; transform: translateY(0); }
}

/* Report */
.mk-viz--report {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 10.5rem;
}

.mk-viz__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 5.5rem;
  margin-bottom: 0.75rem;
}

.mk-viz__chart i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.25rem 0.25rem 0.08rem 0.08rem;
  background: linear-gradient(180deg, #22d3ee, #6366f1);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
  transform-origin: bottom;
  transform: scaleY(0.15);
}

.mk-tl__step.is-on .mk-viz__chart i {
  animation: mk-bar 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mk-tl__step.is-on .mk-viz__chart i:nth-child(1) { animation-delay: 0.05s; }
.mk-tl__step.is-on .mk-viz__chart i:nth-child(2) { animation-delay: 0.12s; }
.mk-tl__step.is-on .mk-viz__chart i:nth-child(3) { animation-delay: 0.19s; }
.mk-tl__step.is-on .mk-viz__chart i:nth-child(4) { animation-delay: 0.26s; }
.mk-tl__step.is-on .mk-viz__chart i:nth-child(5) { animation-delay: 0.33s; }
.mk-tl__step.is-on .mk-viz__chart i:nth-child(6) { animation-delay: 0.4s; }

.mk-viz__ready {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.mk-tl__cta {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  margin: 2.5rem auto 0;
  text-align: center;
}

.mk-tl__cta-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  color: #fff;
  background: linear-gradient(110deg, #fff 0%, #a5f3fc 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mk-tl__cta p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.92);
}

.mk-tl__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 0.7rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #042f2e;
  background: linear-gradient(135deg, #67e8f9, #22d3ee 45%, #a78bfa);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.mk-tl__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.45);
}

/* Footer CTA */
.mk-tools-footer-cta {
  padding: 3.25rem 1rem 4rem;
  background: #0b1220;
  color: #f8fafc;
  text-align: center;
}

.mk-tools-footer-cta__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.mk-tools-footer-cta__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.mk-tools-footer-cta__lead {
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.mk-tools-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Explicit CTA buttons — do not rely on mk-nav-ghost (text-only, breaks here). */
.mk-tools-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}

.mk-tools-cta-btn--primary {
  color: #042f2e !important;
  background: linear-gradient(135deg, #67e8f9, #22d3ee 40%, #a78bfa);
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.35);
}

.mk-tools-cta-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.45);
  color: #042f2e !important;
}

.mk-tools-cta-btn--secondary {
  color: #e2e8f0 !important;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: none;
}

.mk-tools-cta-btn--secondary:hover {
  color: #fff !important;
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-1px);
}

.mk-tools-footer-cta__fine {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.55);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mk-tools-hero__layer--stars {
    animation: none !important;
  }
  .mk-tools-hero__layer {
    transform: none !important;
  }
  .mk-tl__layer--nebula,
  .mk-tl__layer--stars,
  .mk-tl__layer--stars-far,
  .mk-tl__layer--dust {
    animation: none !important;
    transform: none !important;
  }
  .mk-tl__spotlight {
    transition: none !important;
  }
  .mk-tl__spine-glow,
  .mk-viz__glow,
  .mk-viz__ping {
    animation: none !important;
  }
  .mk-tl__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mk-viz__entity,
  .mk-viz__leg,
  .mk-viz__bars i,
  .mk-viz__chart i,
  .mk-viz__meter i {
    opacity: 1 !important;
    transform: none !important;
    width: auto;
    animation: none !important;
  }
  .mk-viz__meter i {
    width: 82% !important;
  }
}
