@font-face {
  font-family: "AradFD";
  src: url("../fonts/AradFD-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #7367f0;
  --primary-700: #5e52db;
  --primary-100: #eeecff;
  --primary-50: #f7f6ff;
  --ink: #101828;
  --text: #344054;
  --muted: #667085;
  --line: #e7e6ff;
  --soft: #f7f7ff;
  --white: #ffffff;
  --success: #12b76a;
  --warning: #f79009;
  --danger: #f04438;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(27, 30, 59, .10);
  --shadow-sm: 0 14px 34px rgba(27, 30, 59, .08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  font-family: "AradFD", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(115, 103, 240, .16), transparent 34rem),
    radial-gradient(circle at 10% 8%, rgba(115, 103, 240, .08), transparent 26rem),
    #fff;
  color: var(--text);
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skip-link {
  position: absolute; inset-inline-start: 20px; top: -80px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(231, 230, 255, .8);
}
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 160px; }
.brand img { width: 148px; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-menu a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 13px;
  border-radius: 999px; font-weight: 650; transition: .2s ease;
}
.nav-menu a:hover, .nav-menu a.active { background: var(--primary-100); color: var(--primary-700); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-actions { display: none; }
.nav-drawer-backdrop { display: none; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .96);
  opacity: 1;
  visibility: visible;
  transition: opacity .24s ease, visibility .24s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 18px;
}
.page-loader-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: page-loader-pulse .85s ease-in-out infinite;
}
.page-loader-indicator span:nth-child(2) { animation-delay: .12s; }
.page-loader-indicator span:nth-child(3) { animation-delay: .24s; }
.page-loader-text {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
}
@keyframes page-loader-pulse {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(-5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-indicator span { animation: none; opacity: .75; }
}
.mobile-header-login { display: none; }
.mobile-header-contact { display: none; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 999px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 14px 26px rgba(115,103,240,.28); }
.btn-primary:hover { background: var(--primary-700); }
.btn-secondary { color: var(--primary-700); background: var(--primary-100); border-color: var(--line); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-block { width: 100%; }

.badge, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; padding: 8px 14px; border-radius: 999px;
  background: var(--primary-100); color: var(--primary-700); font-weight: 800; font-size: .92rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(115,103,240,.14); }

.hero { padding: 76px 0 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 42px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .page-hero h1 {
    margin: 18px 0 18px;
    color: var(--ink);
    line-height: 2;
    letter-spacing: -.04em;
    font-weight: 920;
}
.hero p.lead, .page-hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text); max-width: 760px; margin: 0 0 26px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; background: #ecfdf3; color: var(--success); font-style: normal; font-size: .75rem; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 10% -8% auto auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(115,103,240,.20); filter: blur(18px); }
.hero-card {
  position: relative; border: 1px solid var(--line); border-radius: 38px; background: rgba(255,255,255,.70);
  padding: 18px; box-shadow: var(--shadow); overflow: hidden;
}
.hero-card img { display: block; border-radius: 28px; }
.float-card {
  position: absolute; z-index: 3; left: 8px; bottom: 28px; width: min(330px, 72%);
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow-sm);
}
.float-card strong { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.progress-line { height: 8px; border-radius: 999px; background: var(--primary-100); margin-top: 12px; overflow: hidden; }
.progress-line span { display: block; height: 100%; width: 78%; background: var(--primary); border-radius: inherit; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-title { max-width: 760px; }
.section-title h2 { margin: 14px 0 10px; color: var(--ink); line-height: 1.35; letter-spacing: -.03em; }
.section-title p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.card {
  background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: 0 1px 0 rgba(16,24,40,.02); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(115,103,240,.34); }
.card h3 { margin: 16px 0 8px; color: var(--ink); font-size: 1.22rem; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 54px; height: 54px; display: inline-grid; place-items: center; border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #948bff); color: #fff; font-weight: 900;
  box-shadow: 0 14px 30px rgba(115,103,240,.24);
}
.icon-soft { background: var(--primary-100); color: var(--primary-700); box-shadow: none; }

.problem-band {
  border-radius: 38px; background: linear-gradient(135deg, #101828, #262157); color: #fff; padding: 42px;
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 32px; align-items: center; overflow: hidden; position: relative;
}
.problem-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -110px; top: -120px; background: rgba(115,103,240,.24); filter: blur(4px); }
.problem-band h2 { margin: 12px 0; line-height: 1.35; color: #fff; }
.problem-band p { color: rgba(255,255,255,.74); margin: 0; }
.problem-list { position: relative; z-index: 2; display: grid; gap: 12px; }
.problem-item { display: flex; align-items: start; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 14px; }
.problem-item b { color: #fff; }
.problem-item span { color: rgba(255,255,255,.72); }

.process { counter-reset: step; }
.process-card { position: relative; padding-top: 30px; min-height: 235px; }
.process-card::before {
  counter-increment: step; content: counter(step, persian);
  position: absolute; top: 22px; left: 22px; width: 42px; height: 42px; border-radius: 15px;
  display: grid; place-items: center; background: var(--primary-100); color: var(--primary-700); font-weight: 900;
}
.process-card .icon { margin-bottom: 12px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ba-col { padding: 30px; }
.ba-col:first-child { background: #fff8f7; }
.ba-col:last-child { background: #f6fffb; }
.ba-col h3 { margin-top: 0; color: var(--ink); }
.ba-row { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid rgba(16,24,40,.08); }
.ba-row:first-of-type { border-top: 0; }
.ba-label { font-weight: 850; color: var(--ink); }
.ba-muted { color: var(--muted); }

.cta-panel {
  position: relative; overflow: hidden; border-radius: 38px; padding: 44px;
  background: linear-gradient(135deg, var(--primary), #5e52db); color: #fff; box-shadow: var(--shadow);
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-panel::before { width: 220px; height: 220px; top: -90px; right: -50px; }
.cta-panel::after { width: 280px; height: 280px; bottom: -150px; left: 80px; }
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel h2 { margin: 0 0 12px; color: #fff; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.78); max-width: 760px; }
.cta-panel .btn-secondary { background: #fff; color: var(--primary-700); }
.cta-panel .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }

.page-hero { padding: 78px 0 58px; }
.page-hero .panel {
  border-radius: 38px; padding: 54px; background: rgba(255,255,255,.80); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.page-hero .panel::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -140px; top: -120px; background: rgba(115,103,240,.12); }
.page-hero .panel > * { position: relative; z-index: 2; }

.feature-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.feature-nav { position: sticky; top: 104px; display: grid; gap: 10px; counter-reset: feature-step; }
.feature-nav a { display:flex;align-items:center;gap:10px;padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); font-weight: 800; transition:background .2s,border-color .2s,color .2s; }
.feature-nav a::before { counter-increment:feature-step;content:counter(feature-step, decimal-leading-zero);display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:var(--primary-50);color:var(--primary-700);font-size:.78rem; }
.feature-nav a:hover { color: var(--primary-700); background: var(--primary-50); }
.feature-nav a.is-active,.feature-nav a[aria-current="step"] { color:var(--primary-700);background:var(--primary-50);border-color:var(--primary);box-shadow:0 8px 22px rgba(115,103,240,.10); }
.feature-nav a.is-active::before,.feature-nav a[aria-current="step"]::before { color:#fff;background:var(--primary); }
.feature-block { scroll-margin-top: 110px; }
.feature-block + .feature-block { margin-top: 24px; }
.feature-block h2 { margin-top: 0; color: var(--ink); }
.feature-meta { display: grid; gap: 12px; margin-top: 18px; }
.meta-item { padding: 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.meta-item b { color: var(--ink); }

.integration-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: center; }
.integration-node { text-align: center; padding: 22px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(16,24,40,.04); min-height: 142px; display: grid; place-items: center; gap: 8px; }
.integration-node.center { background: var(--primary); color: #fff; transform: scale(1.05); box-shadow: 0 18px 40px rgba(115,103,240,.26); }
.integration-node strong { color: var(--ink); }
.integration-node.center strong { color: #fff; }
.integration-arrow { height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); display: none; }

.faq-list { display: grid; gap: 14px; }
details.faq-item { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 0 20px; box-shadow: 0 1px 0 rgba(16,24,40,.02); }
details.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 850; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--primary-100); color: var(--primary-700); font-weight: 900; flex: 0 0 auto; }
details[open].faq-item summary::after { content: "−"; }
details.faq-item p { margin: 0; color: var(--muted); padding: 0 0 18px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-card, .form-card { border: 1px solid var(--line); border-radius: 30px; padding: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.contact-method { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(16,24,40,.08); }
.contact-method:last-child { border-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { color: var(--ink); font-weight: 800; }
input, textarea, select {
  width: 100%; border: 1px solid #d8d6ff; border-radius: 16px; padding: 12px 14px; background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(115,103,240,.13); }
textarea { min-height: 142px; resize: vertical; }
.help-text { color: var(--muted); font-size: .9rem; }
.form-message { display: none; margin-top: 14px; padding: 14px; border-radius: 16px; font-weight: 750; }
.form-message.success { display: block; background: #ecfdf3; color: #027a48; }
.form-message.error { display: block; background: #fff2f1; color: #b42318; }

.code-block { direction: ltr; text-align: left; overflow: auto; background: #101828; color: #e8edff; border-radius: 22px; padding: 22px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.7; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 16px; border-bottom: 1px solid rgba(16,24,40,.08); text-align: right; }
th { color: var(--ink); background: var(--primary-50); }
tr:last-child td { border-bottom: 0; }

.site-footer { padding: 64px 0 28px; background: #0b1024; color: rgba(255,255,255,.72); margin-top: 42px; }
.footer-container-full { width: 100%; padding-inline: clamp(18px, 4vw, 72px); }
.footer-grid { display: grid; grid-template-columns: var(--footer-columns-template, 1.2fr repeat(3, 1fr)); gap: clamp(22px, 3vw, 38px); align-items: start; }
.footer-column { min-width: 0; }
.footer-column > :first-child { margin-top: 0; }
.footer-column > :last-child { margin-bottom: 0; }
.footer-column img { max-width: 100%; height: auto; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-description { margin-top: 14px; line-height: 1.9; }
.footer-grid h1,.footer-grid h2,.footer-grid h3,.footer-grid h4,.footer-grid h5,.footer-grid h6 { color: var(--footer-heading-color, #fff); margin: 0 0 14px; }
.footer-grid p { margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--footer-link-color, currentColor); }
.footer-grid a:hover { color: var(--footer-heading-color, #fff); }
.footer-bottom {  gap: 20px; border-top: 1px solid var(--footer-border-color, rgba(255,255,255,.1)); margin-top: 36px; padding-top: 22px; font-size: .92rem; }
.footer-bottom > :first-child { margin-top: 0; }
.footer-bottom > :last-child { margin-bottom: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .problem-band, .feature-row, .contact-layout { grid-template-columns: 1fr; }
  .feature-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, .34);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 1090;
  }
  .nav-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 360px);
    height: 100dvh;
    max-height: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-left: 1px solid rgba(231, 230, 255, .92);
    border-radius: 28px 0 0 28px;
    padding: 92px 16px 18px;
    box-shadow: -28px 0 60px rgba(27, 30, 59, .16);
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.22, .61, .36, 1), opacity .22s ease, visibility .22s ease;
    z-index: 1100;
  }
  .nav-menu.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 16px;
  }
  .menu-toggle { display: inline-block; position: relative; z-index: 1101; }
  .navbar > .nav-actions { display: none !important; }
  .nav-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-actions .btn {
    display: inline-flex !important;
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding-inline: 10px;
    font-size: .88rem;
  }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 66px 0; }
  .hero { padding-top: 44px; }
  .grid-2, .grid-3, .grid-4, .before-after, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-hero .panel, .problem-band, .cta-panel { padding: 28px; border-radius: 28px; }
  .section-head { display: block; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .float-card { position: static; width: 100%; margin-top: 14px; }
  .footer-bottom { flex-direction: column; }
  .feature-nav { grid-template-columns: 1fr; }
  .nav-mobile-actions { gap: 6px; }
  .nav-mobile-actions .btn { font-size: .82rem; padding-inline: 8px; }
}

@media (max-width: 760px) {
  .feature-row { display:block;min-width:0; }
  .feature-row > div { min-width:0; }
  .feature-nav { position:sticky;top:72px;z-index:20;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;background:rgba(255,255,255,.96);padding:10px 2px;margin:0 0 18px; }
  .feature-nav a { flex:0 0 auto;white-space:nowrap;min-height:46px;padding:7px 11px;font-size:.82rem; }
  .feature-nav a::before { flex-basis:26px;width:26px;height:26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* PHP CMS Page Builder layout */
.pf-section{background-size:cover;background-position:center;position:relative}.pf-section-inner{width:min(100% - 32px,1200px);margin:0 auto;display:flex;align-items:stretch}.pf-section-inner.pf-full{width:100%;max-width:none}.pf-column{min-width:0;display:flex;flex-direction:column}.pf-widget{width:100%}.pf-widget + .pf-widget{margin-top:18px}.pf-image{margin:0;text-align:center}.pf-image img{max-width:100%;height:auto;border-radius:24px}.pf-image figcaption{margin-top:10px;color:var(--muted);font-size:14px}.pf-divider{margin:18px auto;border-radius:999px}.pf-check-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.pf-check-list li{position:relative;padding-right:30px;color:var(--text)}.pf-check-list li:before{content:"✓";position:absolute;right:0;top:0;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(115,103,240,.12);color:var(--primary);font-weight:900}.pf-spacer{width:100%}
@media(max-width:900px){.pf-section-inner{flex-direction:column!important;gap:18px!important}.pf-column{max-width:100%!important;flex-basis:auto!important}}


/* Editable header controls */
.site-header.is-static{position:relative}.site-header.is-sticky{position:sticky}.header-inner-full{width:100%;margin:0;padding-inline:20px}.brand-text{font-weight:900;color:var(--ink);font-size:1.08rem;white-space:nowrap}.site-header.hide-menu .nav-menu{display:none!important}.site-header .brand:has(.brand-text){min-width:auto}.site-header .brand img + .brand-text{margin-inline-start:2px}.site-header .nav-menu a[style*="color:"]:hover{opacity:.82}@media(max-width:980px){.site-header.mobile-cta .navbar{gap:10px}.site-header.mobile-cta .brand{min-width:auto}.site-header.mobile-cta .brand img{max-width:120px}}

/* Header buttons update */
.nav-actions{flex-wrap:wrap;justify-content:flex-end}.nav-actions .btn{min-height:44px;padding-inline:18px}@media(max-width:980px){.navbar > .nav-actions{display:none!important}.nav-mobile-actions .btn{padding-inline:10px;font-size:.88rem}}

/* Pricing page */
.pricing-hero .panel {
  background:
    radial-gradient(circle at 12% 10%, rgba(115,103,240,.18), transparent 22rem),
    rgba(255,255,255,.84);
}
.pricing-intro { padding-top: 74px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing-plan-tabs { display: none; }
.pricing-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(16,24,40,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115,103,240,.42);
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: rgba(115,103,240,.55);
  box-shadow: var(--shadow);
}
.pricing-card.featured::before,
.pricing-card.enterprise::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-700));
}
.pricing-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}
.pricing-card-head { min-height: 188px; }
.pricing-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 850;
  font-size: .86rem;
}
.pricing-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.2;
}
.pricing-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}
.pricing-price {
  display: flex;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid rgba(16,24,40,.08);
  border-bottom: 1px solid rgba(16,24,40,.08);
  align-items: flex-end;
}
.pricing-price strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.2;
}
.pricing-price span { color: var(--muted); font-weight: 750; }
.pricing-card-head > .pricing-price {
  justify-content: center;
  align-items: baseline;
  border: 0;
  padding: 8px 0 14px;
  text-align: center;
}
.pricing-mobile-title-price { display: contents; }
.pricing-mobile-price { display: none; }
.pricing-features {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}
.pricing-features li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--text);
  font-weight: 700;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ecfdf3;
  color: var(--success);
  font-size: .78rem;
  font-weight: 900;
}
.pricing-description-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pricing-description-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.pricing-description-card.soft {
  background: var(--primary-50);
}
.pricing-description-card h2 {
  margin: 16px 0 12px;
  color: var(--ink);
  line-height: 1.45;
}
.pricing-description-card p {
  margin: 0;
  color: var(--muted);
}
.description-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.description-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(115,103,240,.12);
  color: var(--ink);
  font-weight: 800;
}
.pricing-cta .badge {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.pricing-cta .badge::before { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.15); }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card-head { min-height: auto; }
}
@media (max-width: 760px) {
  .pricing-mobile-title-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0;
  }
  .pricing-mobile-title-price h3 { margin: 0; flex: 0 1 auto; }
  .pricing-mobile-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .pricing-mobile-price strong { font-size: clamp(1rem, 4.3vw, 1.35rem); }
  .pricing-mobile-price span { font-size: .75rem; }
  .pricing-tabs-ready > .pricing-card .pricing-card-head > .pricing-price { display: none; }
  .pricing-plan-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 2px 12px;
    margin-bottom: 12px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
  .pricing-plan-tab {
    display: grid;
    gap: 3px;
    flex: 0 0 auto;
    min-width: 105px;
    min-height: 62px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    text-align: center;
    cursor: pointer;
  }
  .pricing-plan-tab small { color: var(--muted); font-size: .76rem; white-space: nowrap; }
  .pricing-plan-tab[aria-selected="true"] { border-color: var(--primary); background: var(--primary-50); color: var(--primary-700); }
  .pricing-plan-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .pricing-tabs-ready > .pricing-card[hidden] { display: none !important; }
  .pricing-grid,
  .pricing-description-grid { grid-template-columns: 1fr; }
  .pricing-card,
  .pricing-description-card { padding: 24px; border-radius: 26px; }
  .pricing-ribbon { position: static; width: fit-content; margin-bottom: -8px; }
}

/* Mobile header edge alignment */
@media (max-width: 980px) {
  .site-header .container.navbar {
    width: 100%;
    padding-inline: 0;
    padding: 0 15px;
  }
  .site-header .brand {
    min-width: 0;
    padding-inline-start: 0;
  }
  .site-header .menu-toggle {
    flex: 0 0 auto;
    margin-inline-start: 0;
  }
}

/* Contact info page */
.contact-method p { margin: 2px 0 0; }
.contact-method small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.contact-method a { color: var(--primary-700); font-weight: 850; }

/* =========================================================
   Advanced CMS compatibility
   The visual system above is sourced from public_3html.zip.
   These rules support dynamic Page Builder widgets.
   ========================================================= */
[hidden]{display:none!important}
body.menu-open{overflow:hidden}
.pf-section-inner.pf-boxed{width:min(var(--container),calc(100% - 40px));max-width:var(--container)}
.pf-column{gap:18px}
.pf-widget{min-width:0}
.pf-stats{align-items:stretch}
.pf-stat{text-align:center;padding:22px;border:1px solid rgba(127,127,150,.18);border-radius:18px;background:rgba(255,255,255,.74)}
.pf-stat strong{display:block;font-size:34px;line-height:1.25;color:inherit}
.pf-stat span{display:block;color:inherit;opacity:.72;margin-top:4px}
.pf-testimonial{margin:0;padding:32px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.pf-testimonial blockquote{margin:0 0 24px;font-size:19px;color:var(--ink)}
.pf-testimonial figcaption{display:flex;align-items:center;gap:12px}
.pf-testimonial figcaption img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.pf-testimonial figcaption span{display:flex;flex-direction:column}
.pf-testimonial figcaption small{color:var(--muted)}
.order-guide{font-size:17px}
.order-guide h2{font-size:clamp(1.65rem,3vw,2rem);margin-top:52px;margin-bottom:14px}
.order-guide h3{font-size:clamp(1.25rem,2.4vw,1.45rem);margin-top:30px;margin-bottom:10px}
.order-guide ul,.order-guide ol{color:var(--text)}
.order-guide table{width:100%;border-collapse:collapse;margin:24px 0;background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm)}
.order-guide th,.order-guide td{border:1px solid var(--line);padding:14px;text-align:right;vertical-align:top}
.order-guide th{background:var(--primary-50);color:var(--ink)}
.toc{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.toc a{color:var(--primary-700);font-weight:750}

@media(max-width:700px){
  .pf-section-inner.pf-boxed{width:min(var(--container),calc(100% - 28px))}
  .order-guide{font-size:16px}
  .order-guide table{display:block;overflow-x:auto;white-space:nowrap}
  .lead-modal{padding:10px;align-items:end}
  .lead-modal-card{width:calc(100vw - 20px);max-width:100%;border-radius:26px 26px 0 0;padding:28px 20px 22px;max-height:94vh}
  .lead-form-grid{grid-template-columns:1fr}
}


/* Dynamic radial connection tabs */
.connection-tabs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(115,103,240,.12), transparent 24rem),
    linear-gradient(180deg, rgba(248,248,255,.86), rgba(255,255,255,.96));
}
.connection-tabs::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -260px;
  bottom: -300px;
  border: 1px solid rgba(115,103,240,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(115,103,240,.035), 0 0 0 150px rgba(115,103,240,.02);
  pointer-events: none;
}
.connection-tabs-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.connection-tabs-head > div { max-width: 760px; }
.connection-tabs-head h2 { margin: 14px 0 10px; color: var(--ink); }
.connection-tabs-head p { margin: 0; color: var(--muted); }
.connection-tab-shell {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(115,103,240,.17);
  border-radius: 34px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(44,35,115,.10);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.connection-tab-list {
  display: grid;
  grid-template-columns: repeat(var(--connection-tabs-count, 4), minmax(145px,1fr));
  padding: 9px;
  gap: 8px;
  border-bottom: 1px solid rgba(115,103,240,.13);
  background: rgba(247,247,255,.82);
  overflow-x: auto;
  scrollbar-width: thin;
}
.connection-tab {
  min-width: 145px;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 18px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.connection-tab span { font-weight: 900; color: inherit; }
.connection-tab small { font-size: .76rem; opacity: .72; }
.connection-tab:hover { background: rgba(255,255,255,.86); color: var(--ink); }
.connection-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  box-shadow: 0 12px 26px rgba(115,103,240,.25);
  transform: translateY(-1px);
}
.connection-tab:focus-visible { outline: 3px solid rgba(115,103,240,.25); outline-offset: 2px; }
.connection-panel {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(260px,.78fr) minmax(500px,1.35fr);
  align-items: center;
  gap: 22px;
  padding: 34px 38px 38px;
}
.connection-panel.is-active { animation: connectionPanelIn .42s ease both; }
.connection-panel-copy { position: relative; z-index: 4; max-width: 410px; }
.connection-number {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 36px;
  padding-inline: 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 950;
  letter-spacing: .06em;
}
.connection-panel-copy h3 { margin: 18px 0 12px; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.15rem); }
.connection-panel-copy p { margin: 0; color: var(--muted); }
.connection-panel-copy ul { display: grid; gap: 9px; list-style: none; margin: 22px 0 0; padding: 0; }
.connection-panel-copy li { position: relative; padding-inline-start: 24px; color: var(--text); font-weight: 750; }
.connection-panel-copy li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--primary); font-weight: 950; }
.connection-more { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--primary-700); font-weight: 900; }
.connection-more span { transition: transform .2s ease; }
.connection-more:hover span { transform: translateX(-4px); }
.connection-radial-wrap {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}
.connection-radial-stage {
  --orbit-radius: 250px;
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}
.connection-radial-stage::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115,103,240,.10) 0, rgba(115,103,240,.035) 34%, transparent 68%);
  filter: blur(.2px);
  z-index: -2;
}
.connection-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: 1px dashed rgba(115,103,240,.16);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.connection-orbit-ring-outer { width: calc(var(--orbit-radius) * 2); height: calc(var(--orbit-radius) * 2); }
.connection-orbit-ring-inner { width: calc((var(--orbit-radius) - 104px) * 2); height: calc((var(--orbit-radius) - 104px) * 2); opacity: .58; }
.connection-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 142px;
  height: 142px;
  transform: translate(-50%,-50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #8579f5, var(--primary-700));
  border: 8px solid rgba(255,255,255,.92);
  box-shadow: 0 20px 50px rgba(73,58,194,.30), 0 0 0 1px rgba(115,103,240,.12);
}
.connection-hub::before,
.connection-hub::after {
  content: "";
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(115,103,240,.23);
  border-radius: 50%;
  animation: connectionHubPulse 3.2s ease-out infinite;
  pointer-events: none;
}
.connection-hub::after { animation-delay: 1.6s; }
.connection-hub-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.17); font-weight: 950; letter-spacing: -.04em; }
.connection-hub strong { font-size: 1.02rem; line-height: 1.2; }
.connection-hub small { font-size: .68rem; opacity: .78; }
.connection-ray {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block;
  width: calc(var(--orbit-radius) - var(--ring-offset));
  height: 1px;
  transform-origin: 0 50%;
  transform: rotate(var(--angle));
  background: linear-gradient(90deg, rgba(115,103,240,.46), rgba(115,103,240,.12));
  overflow: visible;
  pointer-events: none;
}
.connection-ray::before {
  content: "";
  position: absolute;
  inset: -3px 0;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(115,103,240,.12) 10px 12px);
}
.connection-flow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 44px;
  height: var(--flow-thickness, 4px);
  margin-top: calc(var(--flow-thickness, 4px) / -2);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  will-change: left, opacity, transform;
}
.connection-flow-out {
  background: linear-gradient(90deg, transparent, #4f9cff 42%, var(--primary) 88%);
  box-shadow: 0 0 12px rgba(79,156,255,.45);
  animation: connectionFlowOut var(--flow-duration-out, 3.1s) linear infinite;
  animation-delay: var(--flow-delay-out, 0s);
}
.connection-flow-in {
  left: calc(100% - 10px);
  background: linear-gradient(270deg, transparent, #72d3ff 40%, #41c59d 90%);
  box-shadow: 0 0 12px rgba(65,197,157,.34);
  animation: connectionFlowIn var(--flow-duration-in, 2.8s) linear infinite;
  animation-delay: var(--flow-delay-in, 0s);
}
.connection-flow-chaos {
  width: 28px;
  height: max(3px, calc(var(--flow-thickness, 4px) - 1px));
  margin-top: calc(max(3px, calc(var(--flow-thickness, 4px) - 1px)) / -2);
  background: linear-gradient(90deg, transparent, rgba(143,240,200,.25), rgba(143,240,200,.95));
  box-shadow: 0 0 9px rgba(143,240,200,.30);
  animation: connectionFlowChaos var(--flow-duration-chaos, 4.6s) linear infinite;
  animation-delay: var(--flow-delay-chaos, 0s);
}
.connection-orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(calc(var(--orbit-radius) - var(--ring-offset)));
  transform-origin: 0 0;
}
.connection-service-card {
    width: 120px;
    min-height: 120px;
    transform: translate(-50%, -50%) rotate(var(--counter-angle));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid rgba(115, 103, 240, .19);
    border-radius: 90px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 26px rgba(40, 31, 100, .10);
    text-align: center;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    flex-direction: column;
}
.connection-service-card:hover {
  transform: translate(-50%,-50%) rotate(var(--counter-angle)) scale(1.055);
  border-color: rgba(115,103,240,.48);
  box-shadow: 0 18px 34px rgba(40,31,100,.16);
}
.connection-service-card strong { color: var(--ink); font-size: .82rem; line-height: 1.35; }
.connection-service-code,
.connection-service-logo {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--primary-50), #fff);
  color: var(--primary-700);
  border: 1px solid rgba(115,103,240,.13);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.connection-service-logo img { width: 25px; height: 25px; object-fit: contain; }
.connection-service-empty { position: absolute; left: 50%; top: calc(50% + 105px); transform: translateX(-50%); color: var(--muted); font-size: .85rem; }
@keyframes connectionFlowOut {
  0%   { left: -46px; opacity: 0; transform: scaleX(.72) scaleY(.92); }
  10%  { opacity: .98; }
  65%  { opacity: .92; }
  100% { left: calc(100% - 6px); opacity: 0; transform: scaleX(1.06) scaleY(1); }
}
@keyframes connectionFlowIn {
  0%   { left: calc(100% - 6px); opacity: 0; transform: scaleX(.9) scaleY(.95); }
  12%  { opacity: .95; }
  68%  { opacity: .88; }
  100% { left: -46px; opacity: 0; transform: scaleX(1.02) scaleY(1); }
}
@keyframes connectionFlowChaos {
  0%   { left: 8%; opacity: 0; transform: scaleX(.55); }
  16%  { opacity: .65; }
  36%  { left: 59%; opacity: .26; transform: scaleX(.92); }
  58%  { left: 27%; opacity: .88; transform: scaleX(.7); }
  82%  { left: 76%; opacity: .48; transform: scaleX(1); }
  100% { left: calc(100% - 18px); opacity: 0; transform: scaleX(.82); }
}

@media (max-width: 1050px) {
  .connection-panel { grid-template-columns: 1fr; min-height: auto; padding: 32px; }
  .connection-panel-copy { max-width: 720px; }
  .connection-radial-stage { --orbit-radius: 235px; width: min(100%,620px); }
}
@media (max-width: 720px) {
  .connection-tabs-head { align-items: stretch; flex-direction: column; }
  .connection-tabs-head .btn { width: 100%; }
  .connection-tab-shell { border-radius: 26px; }
  .connection-tab-list { display: flex; padding: 8px; scroll-snap-type: x mandatory; }
  .connection-tab { flex: 0 0 150px; scroll-snap-align: start; }
  .connection-panel { padding: 26px 16px 28px; gap: 12px; overflow: hidden; }
  .connection-panel-copy { padding-inline: 8px; }
  .connection-radial-stage { --orbit-radius: 143px; width: 360px; max-width: 100%; }
  .connection-orbit-ring-inner { display: none; }
  .connection-hub { width: 104px; height: 104px; border-width: 6px; }
  .connection-hub-mark { width: 32px; height: 32px; border-radius: 10px; font-size: .78rem; }
  .connection-hub strong { font-size: .86rem; }
  .connection-hub small { font-size: .58rem; }
  .connection-service-card { width: 86px; min-height: 86px; padding: 7px; gap: 5px; border-radius: 90px; flex-direction: column; }
  .connection-service-code,.connection-service-logo { width: 28px; height: 28px; border-radius: 9px; font-size: .54rem; }
  .connection-service-logo img { width: 20px; height: 20px; }
  .connection-service-card strong { font-size: .67rem; white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
  .connection-ray i { width: 28px; height: 3px; }
  .builder-connections-preview { grid-template-columns:1fr; }
  .connection-category-editor .form-grid.compact,.connection-item-editor { grid-template-columns:1fr; }
  .connection-item-order { grid-column:auto; grid-row:auto; }
}
@media (max-width: 390px) {
  .connection-radial-stage { --orbit-radius: 128px; width: 330px; }
  .connection-service-card { width: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .connection-ray i,.connection-hub::before,.connection-hub::after { animation: none!important; }
}

/* Homepage sections inspired by modern SaaS layouts */
.hero-wrapper {
  position: relative;
  padding: 76px 0 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(115,103,240,.18), transparent 25rem),
    radial-gradient(circle at 10% 84%, rgba(65,197,157,.10), transparent 22rem),
    linear-gradient(180deg,#fbfbff 0%,#fff 100%);
}
.hero-wrapper::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(115,103,240,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(115,103,240,.045) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 88%); pointer-events:none; }
.hero-wrapper-grid { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(470px,.92fr); gap:56px; align-items:center; }
.hero-wrapper-copy { position:relative; z-index:3; }
.hero-wrapper-copy h1 { margin:16px 0 18px; max-width:760px; font-size:clamp(2rem); line-height:1.16; letter-spacing:-.045em; color:var(--ink); }
.hero-wrapper-copy .lead { max-width:680px; }
.hero-trust { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:26px; color:var(--muted); font-size:.9rem; font-weight:750; }
.hero-trust span { display:inline-flex; align-items:center; gap:6px; }
.hero-wrapper-visual { position:relative; min-height:520px; display:grid; place-items:center; }
.hero-dashboard-frame { position:relative; width:min(100%,560px); padding:18px; border:1px solid rgba(115,103,240,.18); border-radius:34px; background:rgba(255,255,255,.76); box-shadow:0 28px 80px rgba(53,43,132,.16); backdrop-filter:blur(16px); transform:perspective(1100px) rotateY(-5deg) rotateX(3deg); }
.hero-dashboard-frame::before { content:""; position:absolute; inset:-14px; border:1px solid rgba(115,103,240,.10); border-radius:42px; z-index:-1; }
.hero-dashboard-frame img { display:block; width:100%; height:auto; border-radius:22px; }
.hero-float-card { position:absolute; z-index:4; display:flex; align-items:center; gap:10px; padding:14px 16px; border:1px solid rgba(115,103,240,.18); border-radius:18px; background:rgba(255,255,255,.94); box-shadow:0 18px 45px rgba(49,39,123,.15); backdrop-filter:blur(12px); }
.hero-float-orders { top:32px; left:-22px; display:grid; gap:1px; min-width:160px; }
.hero-float-orders b { color:var(--primary-700); font-size:1.55rem; }
.hero-float-orders small,.hero-float-status small { color:var(--muted); }
.hero-float-status { bottom:46px; right:-18px; }
.hero-float-status i { width:12px; height:12px; border-radius:50%; background:#24c888; box-shadow:0 0 0 7px rgba(36,200,136,.13); }
.hero-float-status div { display:grid; }
.hero-orbit { position:absolute; inset:3% 2%; border:1px dashed rgba(115,103,240,.18); border-radius:50%; pointer-events:none; animation:heroOrbitSpin 28s linear infinite; }
.hero-orbit span { position:absolute; display:grid; place-items:center; width:72px; height:72px; border-radius:24px; background:#fff; border:1px solid rgba(115,103,240,.16); color:var(--primary-700); font-size:.72rem; font-weight:900; box-shadow:0 12px 30px rgba(54,43,135,.11); animation:heroOrbitCounter 28s linear infinite; }
.hero-orbit span:nth-child(1){left:50%;top:-36px;transform:translateX(-50%)}
.hero-orbit span:nth-child(2){right:-34px;top:55%;transform:translateY(-50%)}
.hero-orbit span:nth-child(3){left:7%;bottom:-18px}
@keyframes heroOrbitSpin{to{transform:rotate(360deg)}}
@keyframes heroOrbitCounter{to{rotate:-360deg}}
.packflow-marquee { overflow:hidden; border-block:1px solid rgba(115,103,240,.13); background:var(--ink); color:#fff; }
.packflow-marquee-track { display:flex; width:max-content; animation:packflowMarquee 32s linear infinite; }
.packflow-marquee-track > div { display:flex; align-items:center; gap:28px; padding:18px 14px; white-space:nowrap; }
.packflow-marquee span { font-weight:850; font-size:.92rem; }
.packflow-marquee i { color:#9b91ff; font-style:normal; }
@keyframes packflowMarquee { to { transform:translateX(50%); } }
.client-section { background:linear-gradient(180deg,#fff,#fafaff); }
.client-section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.7fr); gap:36px; align-items:end; margin-bottom:32px; }
.client-section-head h2 { margin:14px 0 0; color:var(--ink); }
.client-section-head p { margin:0; color:var(--muted); }
.client-role-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.client-role-card { position:relative; min-height:230px; display:flex; flex-direction:column; justify-content:space-between; gap:30px; padding:24px; border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:0 10px 30px rgba(42,33,105,.06); transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; overflow:hidden; }
.client-role-card::after { content:""; position:absolute; width:130px; height:130px; left:-55px; bottom:-65px; border-radius:50%; background:rgba(115,103,240,.07); }
.client-role-card:hover { transform:translateY(-6px); border-color:rgba(115,103,240,.34); box-shadow:0 18px 42px rgba(42,33,105,.11); }
.client-role-card > span { color:var(--primary); font-weight:950; font-size:.78rem; letter-spacing:.12em; }
.client-role-card h3 { margin:0 0 9px; color:var(--ink); }
.client-role-card p { margin:0; color:var(--muted); font-size:.92rem; }
@media(max-width:1050px){.hero-wrapper-grid{grid-template-columns:1fr}.hero-wrapper-copy{text-align:center}.hero-wrapper-copy h1,.hero-wrapper-copy .lead{margin-inline:auto}.hero-actions,.hero-trust{justify-content:center}.hero-wrapper-visual{min-height:480px}.client-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .hero-wrapper{padding:48px 0 40px}
  .hero-wrapper-copy h1{font-size:2rem}
  .hero-wrapper-visual{width:min(100%,500px);min-height:clamp(360px,104vw,430px);margin:30px auto 0;padding:24px 24px 28px;isolation:isolate}
  .hero-dashboard-frame{z-index:2;width:calc(100% - 46px);padding:9px;border-radius:24px;transform:perspective(900px) rotateY(-3deg) rotateX(2deg);box-shadow:0 22px 58px rgba(53,43,132,.15)}
  .hero-dashboard-frame::before{inset:-9px;border-radius:30px}
  .hero-dashboard-frame img{border-radius:17px}
  .hero-float-card{position:absolute;width:auto;margin:0;padding:10px 12px;border-radius:15px;gap:8px;box-shadow:0 14px 32px rgba(49,39,123,.14)}
  .hero-float-orders{top:5px;left:2px;min-width:126px;transform:scale(.88);transform-origin:top left}
  .hero-float-orders b{font-size:1.28rem}
  .hero-float-orders strong,.hero-float-status strong{font-size:.78rem}
  .hero-float-orders small,.hero-float-status small{font-size:.67rem}
  .hero-float-status{right:0;bottom:10px;max-width:205px;transform:scale(.88);transform-origin:bottom right}
  .hero-float-status i{width:9px;height:9px;box-shadow:0 0 0 5px rgba(36,200,136,.13)}
  .hero-orbit{display:block;z-index:1;inset:5% 3%;border-radius:46%;animation-duration:34s}
  .hero-orbit span{width:54px;height:54px;border-radius:18px;font-size:.61rem;box-shadow:0 9px 22px rgba(54,43,135,.10);animation-duration:34s}
  .hero-orbit span:nth-child(1){top:-27px}
  .hero-orbit span:nth-child(2){right:-26px}
  .hero-orbit span:nth-child(3){left:5%;bottom:-12px}
  .packflow-marquee-track>div{gap:20px;padding:15px 10px}
  .client-section-head{grid-template-columns:1fr;gap:14px}
  .client-role-grid{grid-template-columns:1fr}
  .client-role-card{min-height:190px}
  .packflow-marquee-track{animation-duration:24s}
}
@media(max-width:430px){
  .hero-wrapper-visual{min-height:355px;padding-inline:14px}
  .hero-dashboard-frame{width:calc(100% - 34px);padding:7px}
  .hero-float-orders{left:-4px;transform:scale(.78)}
  .hero-float-status{right:-6px;bottom:6px;max-width:190px;transform:scale(.78)}
  .hero-orbit{inset:7% 1%}
  .hero-orbit span{width:48px;height:48px;border-radius:16px;font-size:.56rem}
  .hero-orbit span:nth-child(1){top:-24px}
  .hero-orbit span:nth-child(2){right:-20px}
}
@media(prefers-reduced-motion:reduce){.hero-orbit,.hero-orbit span,.packflow-marquee-track{animation:none!important}}

/* Precise responsive radial positioning override */
.connection-orbit-ring-outer { width: 77%; height: 77%; }
.connection-orbit-ring-inner { width: 45%; height: 45%; }
.connection-ray { width: var(--ray-length); }
.connection-orbit-node {
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  width: auto;
  height: auto;
  transform: translate(-50%,-50%);
}
.connection-service-card { transform: none; }
.connection-service-card:hover { transform: scale(1.055); }
.connection-extra-services { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; max-width:620px; margin:-8px auto 18px; }
.connection-extra-services span { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(115,103,240,.16); border-radius:999px; background:#fff; color:var(--text); font-size:.78rem; font-weight:800; }
.connection-extra-services b { color:var(--primary-700); font-size:.68rem; }

/* Homepage order journey: sales channels -> Packflow -> shipping */
.order-journey {
  position: relative;
  scroll-margin-top: 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(104, 85, 245, .11), transparent 25rem),
    radial-gradient(circle at 6% 92%, rgba(20, 185, 103, .07), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
}
.order-journey-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.order-journey-head > div { max-width: 840px; }
.order-journey-head h2 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.3;
  letter-spacing: -.038em;
}
.order-journey-head p {
  margin: 0;
  max-width: 790px;
  color: var(--muted);
  font-size: 1.04rem;
}
.order-journey-board {
  position: relative;
  isolation: isolate;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(220px, 285px) minmax(330px, 390px) minmax(220px, 285px);
  grid-template-areas: "shipping center sources";
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 42px);
  min-height: 720px;
  padding: 34px clamp(28px, 4vw, 58px) 42px;
  border: 1px solid rgba(93, 78, 185, .12);
  border-radius: 42px;
  background:
    radial-gradient(circle, rgba(111, 91, 208, .055) 1px, transparent 1.35px),
    linear-gradient(145deg, rgba(255,255,255,.985), rgba(248,249,255,.94));
  background-size: 28px 28px, auto;
  box-shadow:
    0 32px 90px rgba(45, 36, 105, .11),
    inset 0 1px 0 rgba(255,255,255,.98);
  overflow: hidden;
}
.order-journey-board::before,
.order-journey-board::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
}
.order-journey-board::before {
  width: 380px;
  height: 380px;
  right: -205px;
  top: -195px;
  background: rgba(104, 85, 245, .11);
}
.order-journey-board::after {
  width: 340px;
  height: 340px;
  left: -185px;
  bottom: -190px;
  background: rgba(20, 185, 103, .07);
}
.order-journey-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journey-line-underlay,
.journey-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-line-underlay {
  stroke-width: 9;
  opacity: .46;
}
.journey-line-underlay.journey-line-in { stroke: rgba(101, 77, 246, .09); }
.journey-line-underlay.journey-line-out { stroke: rgba(17, 177, 96, .09); }
.journey-line {
  stroke-width: 2.35;
  opacity: .94;
  transition: opacity .25s ease, stroke-width .25s ease, filter .25s ease;
}
.journey-line-flow {
  fill: none;
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--journey-flow-opacity, .98);
  pointer-events: none;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--journey-flow-dash, 28) var(--journey-flow-gap, 340);
  stroke-dashoffset: var(--journey-flow-start, 0);
  animation: journeyFlowMove var(--journey-flow-duration, 2.8s) linear infinite;
  animation-delay: var(--journey-flow-delay, 0s);
}
.journey-line-in { color: rgba(91, 64, 239, .78); stroke: rgba(91, 64, 239, .62); }
.journey-line-out { color: rgba(12, 157, 81, .76); stroke: rgba(12, 157, 81, .58); }
.journey-line-flow.journey-line-in {
  stroke: rgba(108, 86, 255, .95);
  filter: drop-shadow(0 0 5px rgba(108, 86, 255, .20));
}
.journey-line-flow.journey-line-out {
  stroke: rgba(26, 183, 98, .92);
  filter: drop-shadow(0 0 5px rgba(26, 183, 98, .18));
}
@keyframes journeyFlowMove {
  from { stroke-dashoffset: var(--journey-flow-start, 0); }
  to { stroke-dashoffset: var(--journey-flow-end, -368); }
}
.journey-line.is-active {
  opacity: 1;
  stroke-width: 3.15;
  filter: drop-shadow(0 0 7px currentColor);
}
.journey-connector {
  vector-effect: non-scaling-stroke;
  transition: filter .25s ease, transform .25s ease, opacity .25s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.journey-connector-node.journey-line-in {
  fill: #7258ef;
  stroke: rgba(255,255,255,.96);
  stroke-width: 1.4;
}
.journey-connector-node.journey-line-out {
  fill: #18aa65;
  stroke: rgba(255,255,255,.96);
  stroke-width: 1.4;
}
.journey-connector-hub {
  fill: #fff;
  stroke-width: 2;
}
.journey-connector-hub.journey-line-in { stroke: #6548ee; }
.journey-connector-hub.journey-line-out { stroke: #14a45e; }
.journey-connector.is-active {
  transform: scale(1.18);
  filter: drop-shadow(0 0 7px currentColor);
}
.journey-moving-token {
  filter: drop-shadow(0 8px 11px rgba(89,62,18,.27));
  will-change: transform, opacity;
}
.journey-moving-token[hidden],
.journey-moving-token [hidden] { display: none; }
.journey-moving-token [data-journey-basket] path:first-child,
.journey-moving-token [data-journey-box] rect {
  fill: #e8a64b;
  stroke: #936022;
  stroke-width: 1.25;
}
.journey-moving-token [data-journey-basket] path:nth-child(2) {
  fill: none;
  stroke: #936022;
  stroke-width: 1.55;
  stroke-linecap: round;
}
.journey-moving-token .journey-basket-detail {
  fill: none;
  stroke: rgba(255,248,229,.95);
  stroke-width: 1.15;
  stroke-linecap: round;
}
.journey-moving-token [data-journey-box] path:first-of-type {
  fill: #f2bf69;
  stroke: #936022;
  stroke-width: 1.15;
}
.journey-moving-token [data-journey-box] path:last-of-type {
  fill: none;
  stroke: rgba(255,247,223,.9);
  stroke-width: 2;
  stroke-linecap: round;
}
.order-journey-column,
.order-journey-center {
  position: relative;
  z-index: 3;
  direction: rtl;
}
.order-journey-column-shipping { grid-area: shipping; }
.order-journey-column-sources { grid-area: sources; }
.order-journey-center { grid-area: center; }
.order-journey-column {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 24px;
  padding-top: 10px;
}
.order-journey-column-head {
  display: grid;
  gap: 10px;
}
.order-journey-column-sources .order-journey-column-head {
  justify-items: end;
  text-align: right;
}
.order-journey-column-shipping .order-journey-column-head {
  justify-items: start;
  text-align: left;
}
.order-journey-column-head strong {
  max-width: 285px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(.98rem, 1.35vw, 1.28rem);
  line-height: 1.55;
}
.order-journey-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5c47e8;
  font-size: .78rem;
  font-weight: 900;
}
.order-journey-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(93, 71, 232, .10), 0 4px 12px rgba(93, 71, 232, .25);
}
.order-journey-column-shipping .order-journey-label { color: #07934f; }
.order-journey-column-shipping .order-journey-label::before {
  box-shadow: 0 0 0 6px rgba(7, 147, 79, .09), 0 4px 12px rgba(7, 147, 79, .20);
}
.order-journey-node-list {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 14px;
}
.order-journey-node-wrap { display: flex; }
.order-journey-column-sources .order-journey-node-wrap { justify-content: flex-end; }
.order-journey-column-shipping .order-journey-node-wrap { justify-content: flex-start; }
.order-journey-node {
  position: relative;
  width: min(100%, 232px);
  min-height: 76px;
  border-radius: 38px;
  border: 1px solid rgba(97, 79, 199, .14);
  background: rgba(255,255,255,.94);
  box-shadow:
    0 14px 34px rgba(42, 33, 100, .09),
    inset 0 1px 0 rgba(255,255,255,.98);
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 10px 16px 10px 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.order-journey-node::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(112,91,211,.045);
  pointer-events: none;
}
.order-journey-column-shipping .order-journey-node {
  border-color: rgba(18,166,98,.14);
  box-shadow:
    0 14px 34px rgba(17,122,76,.075),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.order-journey-column-shipping .order-journey-node::before { border-color: rgba(18,166,98,.05); }
.order-journey-node:hover,
.order-journey-node.is-active {
  transform: translateY(-2px);
  border-color: rgba(103,83,212,.28);
  box-shadow:
    0 19px 42px rgba(45,36,111,.14),
    0 0 0 5px rgba(115,103,240,.055),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.order-journey-column-shipping .order-journey-node:hover,
.order-journey-column-shipping .order-journey-node.is-active {
  border-color: rgba(18,166,98,.26);
  box-shadow:
    0 19px 42px rgba(17,122,76,.12),
    0 0 0 5px rgba(18,183,106,.05),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.order-journey-node-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(115,103,240,.14), rgba(115,103,240,.055));
  color: #5e4ae3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 7px 18px rgba(83, 64, 189, .09);
}
.order-journey-column-shipping .order-journey-node-icon {
  background: linear-gradient(145deg, rgba(18,183,106,.15), rgba(18,183,106,.055));
  color: #07934f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 7px 18px rgba(12, 139, 73, .08);
}
.order-journey-node-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.order-journey-node b {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: var(--ink);
  font-size: .91rem;
  line-height: 1.35;
  text-align: right;
  direction: rtl;
}
.order-journey-center {
  display: grid;
  place-items: center;
  align-self: center;
}
.order-journey-hub {
  position: relative;
  width: clamp(320px, 29vw, 374px);
  height: clamp(320px, 29vw, 374px);
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 46px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 31% 22%, rgba(255,255,255,.17), transparent 27%),
    radial-gradient(circle at 55% 92%, rgba(92,38,255,.62), transparent 36%),
    linear-gradient(145deg, #15132b 0%, #201c50 52%, #2f2685 100%);
  border: 1px solid rgba(150,135,255,.52);
  box-shadow:
    0 38px 90px rgba(31,24,79,.31),
    0 0 0 13px rgba(105,82,247,.055),
    0 0 65px rgba(90,60,246,.18),
    inset 0 1px 0 rgba(255,255,255,.13);
  transition: box-shadow .3s ease, transform .3s ease;
}
.order-journey-hub::before,
.order-journey-hub::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.order-journey-hub::before {
  inset: -21px;
  border: 1px dashed rgba(105,82,247,.42);
}
.order-journey-hub::after {
  inset: -43px;
  border: 1px solid rgba(105,82,247,.11);
  box-shadow: 0 0 0 18px rgba(105,82,247,.025);
}
.order-journey-hub.is-active {
  transform: scale(1.012);
  box-shadow:
    0 42px 96px rgba(31,24,79,.34),
    0 0 0 15px rgba(105,82,247,.075),
    0 0 72px rgba(90,60,246,.24),
    inset 0 1px 0 rgba(255,255,255,.13);
}
.order-journey-hub.is-rotating::before {
  animation: orderJourneyHubOrbit var(--journey-hub-spin, 1.35s) linear infinite;
}
.order-journey-hub.is-rotating::after {
  animation: orderJourneyHubOrbitReverse var(--journey-hub-spin-reverse, 2.2s) linear infinite;
}
@keyframes orderJourneyHubOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orderJourneyHubOrbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.order-journey-hub-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(235px, 78%);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .99;
  user-select: none;
  pointer-events: none;
}
.order-journey-status-slider {
  position: relative;
  width: min(245px, 82%);
  height: 55px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 28px;
  background: rgba(255,255,255,.075);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}
.order-journey-status-slider::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #76e0ad;
  box-shadow: 0 0 0 6px rgba(118,224,173,.13), 0 0 18px rgba(118,224,173,.34);
  transform: translateY(-50%);
  z-index: 2;
}
.order-journey-status-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 34px 0 16px;
  color: rgba(255,255,255,.92);
  font-size: .86rem;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  transform: translateX(24px);
  animation: orderJourneyStatusCycle var(--journey-status-cycle, 8.4s) linear infinite;
  animation-delay: calc(var(--status-index) * var(--journey-status-step, 1.4s));
  will-change: transform, opacity;
}
.order-journey-status-slide.is-initial { opacity: 0; transform: translateX(24px); }
@keyframes orderJourneyStatusCycle {
  0% { opacity: 0; transform: translateX(24px); }
  2.5% { opacity: 1; transform: translateX(0); }
  12.5% { opacity: 1; transform: translateX(0); }
  15.5% { opacity: 0; transform: translateX(-24px); }
  16.66%, 100% { opacity: 0; transform: translateX(-24px); }
}
@media (max-width: 1180px) {
  .order-journey-board {
    grid-template-columns: minmax(205px, 255px) minmax(285px, 330px) minmax(205px, 255px);
    gap: 18px;
    min-height: 690px;
    padding-inline: 24px;
  }
  .order-journey-node { min-height: 70px; grid-template-columns: 45px minmax(0,1fr); gap: 10px; }
  .order-journey-node-icon { width: 42px; height: 42px; }
  .order-journey-node-icon svg { width: 22px; height: 22px; }
  .order-journey-node b { font-size: .82rem; }
  .order-journey-hub { width: 310px; height: 310px; padding: 39px; }
}
@media (max-width: 820px) {
  .order-journey { padding-top: 64px; }
  .order-journey-head {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }
  .order-journey-head h2 { font-size: 1.72rem; }
  .order-journey-head .btn { width: 100%; }
  .order-journey-board {
    grid-template-columns: minmax(94px, 1fr) minmax(164px, 44vw) minmax(94px, 1fr);
    grid-template-areas: "shipping center sources";
    gap: 0;
    min-height: 760px;
    padding: 20px 7px 26px;
    border-radius: 32px;
    background-size: 23px 23px, auto;
  }
  .order-journey-column {
    gap: 17px;
    padding-top: 4px;
  }
  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    justify-items: center;
    text-align: center;
  }
  .order-journey-column-head strong {
    max-width: 120px;
    min-height: 42px;
    font-size: .82rem;
    line-height: 1.45;
  }
  .order-journey-label {
    gap: 6px;
    font-size: .64rem;
    white-space: nowrap;
  }
  .order-journey-label::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(93, 71, 232, .09);
  }
  .order-journey-node-list {
    gap: 25px;
    align-content: center;
  }
  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    justify-content: center;
  }
  .order-journey-node {
    width: clamp(102px, 27vw, 118px);
    min-height: 70px;
    grid-template-columns: 36px minmax(0,1fr);
    gap: 7px;
    padding: 8px 10px 8px 7px;
    border-radius: 35px;
  }
  .order-journey-node::before { inset: 4px; }
  .order-journey-node-icon {
    width: 34px;
    height: 34px;
  }
  .order-journey-node-icon svg {
    width: 18px;
    height: 18px;
  }
  .order-journey-node b {
    font-size: .68rem;
    line-height: 1.25;
  }
  .order-journey-center {
    align-self: center;
    transform: translateY(26px);
  }
  .order-journey-hub {
    width: clamp(168px, 45vw, 210px);
    height: clamp(168px, 45vw, 210px);
    padding: 23px;
    gap: 12px;
  }
  .order-journey-hub::before { inset: -14px; }
  .order-journey-hub::after { inset: -27px; }
  .order-journey-hub-logo { width: min(145px, 78%); }
  .order-journey-status-slider {
    width: min(158px, 82%);
    height: 39px;
  }
  .order-journey-status-slider::before {
    right: 10px;
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(118,224,173,.12);
  }
  .order-journey-status-slide {
    padding: 0 25px 0 10px;
    font-size: .64rem;
  }
  .journey-connector-node { stroke-width: 1.1; }
  .journey-connector-hub { stroke-width: 1.7; }
  .journey-line-flow {
    stroke-width: 4.1;
    animation-duration: var(--journey-flow-duration-mobile, 2.35s);
  }
}
@media (max-width: 480px) {
  .order-journey-board {
    grid-template-columns: minmax(88px, 1fr) minmax(154px, 45vw) minmax(88px, 1fr);
    min-height: 735px;
    padding-inline: 4px;
  }
  .order-journey-column-head strong { max-width: 105px; font-size: .76rem; }
  .order-journey-node-list { gap: 22px; }
  .order-journey-node {
    width: clamp(96px, 28vw, 108px);
    min-height: 66px;
    grid-template-columns: 32px minmax(0,1fr);
    gap: 5px;
    padding-inline: 7px;
  }
  .order-journey-node-icon { width: 31px; height: 31px; }
  .order-journey-node-icon svg { width: 17px; height: 17px; }
  .order-journey-node b { font-size: .63rem; }
  .order-journey-center { transform: translateY(24px); }
  .order-journey-hub {
    width: clamp(158px, 45vw, 186px);
    height: clamp(158px, 45vw, 186px);
    padding: 18px;
  }
  .order-journey-hub-logo { width: min(132px, 77%); }
  .order-journey-status-slider { width: min(145px, 84%); height: 36px; }
  .order-journey-status-slide { font-size: .60rem; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-moving-token { display: none; }
  .journey-line-flow { animation: none !important; opacity: 0; }
  .order-journey-status-slide { animation: none !important; opacity: 0; transform: none; }
  .order-journey-status-slide.is-initial { opacity: 1; }
  .order-journey-node,
  .order-journey-hub { transition: none; }
}








/* Desktop order-journey reference layout */
@media (min-width: 821px) {
  .order-journey > .container {
    width: calc(100% - 40px);
    max-width: none;
  }

  .order-journey-board {
    grid-template-columns:
      clamp(280px, 22vw, 360px)
      clamp(440px, 35.5vw, 590px)
      clamp(280px, 22vw, 360px);
    grid-template-areas: "shipping center sources";
    justify-content: space-between;
    column-gap: clamp(26px, 3.8vw, 64px);
    min-height: clamp(750px, 56vw, 920px);
    padding: 8px clamp(34px, 3.7vw, 62px) clamp(26px, 2vw, 36px);
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 93% 7%, rgba(104, 85, 245, .10), transparent 27rem),
      radial-gradient(circle at 6% 94%, rgba(20, 185, 103, .065), transparent 25rem),
      radial-gradient(circle, rgba(111, 91, 208, .045) 1px, transparent 1.3px),
      linear-gradient(180deg, rgba(255,255,255,.995), rgba(251,251,255,.985));
    background-size: auto, auto, 28px 28px, auto;
    box-shadow: none;
  }

  .order-journey-board::before {
    width: 520px;
    height: 520px;
    right: -265px;
    top: -245px;
    background: rgba(104, 85, 245, .095);
  }

  .order-journey-board::after {
    width: 480px;
    height: 480px;
    left: -245px;
    bottom: -255px;
    background: rgba(20, 185, 103, .06);
  }

  .order-journey-column {
    gap: clamp(18px, 1.45vw, 24px);
    padding-top: 0;
  }

  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    min-height: 74px;
    align-content: start;
  }

  .order-journey-column-sources .order-journey-column-head {
    justify-items: end;
    text-align: right;
  }

  .order-journey-column-shipping .order-journey-column-head {
    justify-items: start;
    text-align: left;
  }

  .order-journey-column-head strong {
    max-width: none;
    color: #11182c;
    font-size: clamp(1.28rem, 1.9vw, 1.92rem);
    line-height: 1.35;
    letter-spacing: -.025em;
    white-space: nowrap;
  }

  .order-journey-label {
    display: none;
  }

  .order-journey-node-list {
    align-content: start;
    gap: clamp(18px, 1.65vw, 28px);
  }

  .order-journey-node {
    width: 100%;
    min-height: clamp(86px, 6.8vw, 112px);
    grid-template-columns: clamp(54px, 4.4vw, 72px) minmax(0, 1fr);
    gap: clamp(12px, 1vw, 18px);
    padding: clamp(10px, .85vw, 14px) clamp(18px, 1.45vw, 24px) clamp(10px, .85vw, 14px) clamp(12px, 1vw, 16px);
    border-radius: 999px;
    border-color: rgba(97, 79, 199, .14);
    box-shadow:
      0 15px 38px rgba(42, 33, 100, .085),
      0 0 0 7px rgba(115,103,240,.018),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-node::before {
    inset: 6px;
    border-color: rgba(112,91,211,.055);
  }

  .order-journey-column-shipping .order-journey-node {
    border-color: rgba(18,166,98,.14);
    box-shadow:
      0 15px 38px rgba(17,122,76,.075),
      0 0 0 7px rgba(18,183,106,.016),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-node-icon {
    width: clamp(54px, 4.4vw, 72px);
    height: clamp(54px, 4.4vw, 72px);
  }

  .order-journey-node-icon svg {
    width: clamp(27px, 2.2vw, 36px);
    height: clamp(27px, 2.2vw, 36px);
    stroke-width: 1.7;
  }

  .order-journey-node b {
    font-size: clamp(.98rem, 1.18vw, 1.22rem);
    line-height: 1.35;
  }

  .order-journey-center {
    align-self: center;
    transform: translateY(clamp(-27px, -1.65vw, -18px));
  }

  .order-journey-hub {
    width: clamp(440px, 35.5vw, 585px);
    height: clamp(440px, 35.5vw, 585px);
    gap: clamp(18px, 1.45vw, 25px);
    padding: clamp(54px, 4vw, 72px);
    background:
      radial-gradient(circle at 31% 22%, rgba(255,255,255,.15), transparent 27%),
      radial-gradient(circle at 55% 93%, rgba(82,31,255,.66), transparent 38%),
      linear-gradient(145deg, #15132b 0%, #201c50 53%, #31258e 100%);
    border-color: rgba(150,135,255,.54);
    box-shadow:
      0 42px 104px rgba(31,24,79,.29),
      0 0 0 15px rgba(105,82,247,.05),
      0 0 82px rgba(90,60,246,.18),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .order-journey-hub::before {
    inset: clamp(-34px, -2.05vw, -24px);
    border-color: rgba(105,82,247,.40);
  }

  .order-journey-hub::after {
    inset: clamp(-72px, -4.2vw, -50px);
    border-color: rgba(105,82,247,.10);
    box-shadow:
      0 0 0 clamp(18px, 1.5vw, 25px) rgba(105,82,247,.022),
      0 0 0 clamp(46px, 3.2vw, 58px) rgba(105,82,247,.012);
  }

  .order-journey-hub-logo {
    width: min(382px, 72%);
  }

  .order-journey-status-slider {
    width: min(370px, 76%);
    height: clamp(66px, 5.25vw, 86px);
    border-radius: 999px;
  }

  .order-journey-status-slider::before {
    right: clamp(18px, 1.45vw, 24px);
    width: clamp(10px, .8vw, 13px);
    height: clamp(10px, .8vw, 13px);
    box-shadow: 0 0 0 8px rgba(118,224,173,.13), 0 0 22px rgba(118,224,173,.38);
  }

  .order-journey-status-slide {
    padding: 0 clamp(44px, 3.2vw, 56px) 0 24px;
    font-size: clamp(.96rem, 1.15vw, 1.18rem);
  }

  .journey-line-underlay {
    stroke-width: 10;
    opacity: .42;
  }

  .journey-line {
    stroke-width: 2.65;
  }

  .journey-line-flow {
    stroke-width: 5.9;
  }
}

/* Lightweight order-journey rendering
   The network remains visually identical, but no continuous token/orbit/status
   animation or backdrop blur is kept active. */
.order-journey {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.order-journey-board::before,
.order-journey-board::after {
  filter: none;
}
.journey-line,
.journey-connector,
.order-journey-node,
.order-journey-hub {
  transition: none;
}
.journey-moving-token {
  display: none !important;
  filter: none;
  will-change: auto;
}
.journey-line-flow {
  will-change: stroke-dashoffset;
}
.order-journey-hub.is-active {
  transform: none;
}
.order-journey-hub.is-rotating::before,
.order-journey-hub.is-rotating::after {
  animation: none !important;
}
.order-journey-status-slider {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255,255,255,.10);
}
.order-journey-status-slide {
  animation: none !important;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .30s ease, transform .30s ease;
  will-change: auto;
  pointer-events: none;
}
.order-journey-status-slide.is-initial,
.order-journey-status-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}


/* Stacked mobile layout for order journey: sources top, hub middle, shipping bottom */
@media (max-width: 820px) {
  .order-journey-board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "sources"
      "center"
      "shipping";
    gap: 18px;
    min-height: 920px;
    padding: 20px 10px 26px;
  }

  .order-journey-column-sources,
  .order-journey-column-shipping {
    width: 100%;
  }

  .order-journey-column-sources {
    grid-area: sources;
  }

  .order-journey-column-shipping {
    grid-area: shipping;
  }

  .order-journey-column {
    gap: 14px;
  }

  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    justify-items: center;
    text-align: center;
    min-height: auto;
  }

  .order-journey-column-head strong {
    max-width: 100%;
    min-height: 0;
  }

  .order-journey-node-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
    align-content: start;
    justify-items: center;
  }

  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    width: 100%;
    justify-content: center;
  }

  .order-journey-node {
    width: min(100%, 126px);
    min-height: 66px;
  }

  .order-journey-center {
    grid-area: center;
    transform: none;
    margin: 4px 0 10px;
  }
}

@media (max-width: 560px) {
  .order-journey-board {
    min-height: 870px;
    padding-inline: 6px;
  }

  .order-journey-node-list {
    gap: 12px 8px;
  }

  .order-journey-node {
    width: min(100%, 112px);
  }
}

@media (max-width: 420px) {
  .order-journey-board {
    min-height: 840px;
  }

  .order-journey-node {
    width: min(100%, 106px);
  }
}


/* Looser, less rigid mobile arrangement */
@media (max-width: 820px) {
  .order-journey-column-sources .order-journey-node-list {
    padding-bottom: 10px;
  }

  .order-journey-column-shipping .order-journey-node-list {
    padding-top: 8px;
  }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(1) { justify-content: flex-start; transform: translate(10px, 2px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) { justify-content: flex-end;   transform: translate(-4px, 18px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(3) { justify-content: center;     transform: translate(16px, -8px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) { justify-content: flex-end;   transform: translate(-10px, 12px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) { justify-content: flex-start; transform: translate(2px, 24px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(6) { justify-content: center;     transform: translate(-14px, 6px); }

  .order-journey-column-shipping .order-journey-node-wrap:nth-child(1) { justify-content: flex-end;   transform: translate(-10px, 10px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(2) { justify-content: center;     transform: translate(12px, -4px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) { justify-content: flex-start; transform: translate(0, 18px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(4) { justify-content: center;     transform: translate(-16px, 8px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) { justify-content: flex-end;   transform: translate(-2px, 20px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) { justify-content: flex-start; transform: translate(14px, 2px); }
}

@media (max-width: 560px) {
  .order-journey-column-sources .order-journey-node-wrap:nth-child(1) { transform: translate(7px, 2px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) { transform: translate(-3px, 14px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(3) { transform: translate(11px, -6px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) { transform: translate(-7px, 9px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) { transform: translate(1px, 18px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(6) { transform: translate(-10px, 4px); }

  .order-journey-column-shipping .order-journey-node-wrap:nth-child(1) { transform: translate(-7px, 8px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(2) { transform: translate(8px, -3px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) { transform: translate(0, 13px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(4) { transform: translate(-10px, 6px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) { transform: translate(-1px, 15px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) { transform: translate(9px, 2px); }
}

/* Refined mobile spacing: keep the loose feel, but prevent crowding */
@media (max-width: 820px) {
  .order-journey-board {
    min-height: 980px;
  }

  .order-journey-column-sources .order-journey-node-list,
  .order-journey-column-shipping .order-journey-node-list {
    gap: 26px 12px;
  }

  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    min-height: 86px;
    align-items: flex-start;
  }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(1) { transform: translate(8px, 2px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) { transform: translate(-2px, 12px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(3) { transform: translate(12px, -5px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) { transform: translate(-8px, 9px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) { transform: translate(2px, 16px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(6) { transform: translate(-10px, 5px); }

  .order-journey-column-shipping .order-journey-node-wrap:nth-child(1) { transform: translate(-8px, 8px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(2) { transform: translate(9px, -2px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) { transform: translate(0, 13px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(4) { transform: translate(-11px, 6px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) { transform: translate(-1px, 14px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) { transform: translate(10px, 2px); }
}

@media (max-width: 560px) {
  .order-journey-board {
    min-height: 930px;
  }

  .order-journey-column-sources .order-journey-node-list,
  .order-journey-column-shipping .order-journey-node-list {
    gap: 22px 8px;
  }

  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    min-height: 78px;
  }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(1) { transform: translate(6px, 2px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) { transform: translate(-2px, 10px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(3) { transform: translate(8px, -4px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) { transform: translate(-6px, 7px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) { transform: translate(1px, 13px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(6) { transform: translate(-8px, 4px); }

  .order-journey-column-shipping .order-journey-node-wrap:nth-child(1) { transform: translate(-6px, 6px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(2) { transform: translate(7px, -2px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) { transform: translate(0, 10px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(4) { transform: translate(-8px, 5px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) { transform: translate(-1px, 12px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) { transform: translate(7px, 2px); }
}

@media (max-width: 420px) {
  .order-journey-board {
    min-height: 900px;
  }

  .order-journey-column-sources .order-journey-node-list,
  .order-journey-column-shipping .order-journey-node-list {
    gap: 20px 6px;
  }

  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    min-height: 74px;
  }
}


/* Desktop compact sizing */
@media (min-width: 821px) {
  .order-journey > .container {
    width: min(100%, 1380px);
    max-width: 1380px;
  }

  .order-journey-head {
    margin-bottom: 24px;
  }

  .order-journey-head h2 {
    font-size: clamp(1.65rem, 2.25vw, 2.3rem);
  }

  .order-journey-head p {
    max-width: 720px;
    font-size: .98rem;
  }

  .order-journey-board {
    grid-template-columns:
      clamp(240px, 19vw, 300px)
      clamp(360px, 29vw, 470px)
      clamp(240px, 19vw, 300px);
    column-gap: clamp(20px, 2.4vw, 38px);
    min-height: clamp(610px, 46vw, 760px);
    padding: 0 clamp(26px, 2.8vw, 44px) 18px;
    background-size: auto, auto, 24px 24px, auto;
  }

  .order-journey-column {
    gap: clamp(14px, 1.1vw, 20px);
  }

  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    min-height: 58px;
  }

  .order-journey-column-head strong {
    font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  }

  .order-journey-node-list {
    gap: clamp(14px, 1.2vw, 20px);
  }

  .order-journey-node {
    min-height: clamp(72px, 5.4vw, 88px);
    grid-template-columns: clamp(48px, 3.8vw, 60px) minmax(0, 1fr);
    gap: clamp(10px, .8vw, 14px);
    padding: 10px 16px 10px 11px;
    box-shadow:
      0 12px 28px rgba(42, 33, 100, .08),
      0 0 0 5px rgba(115,103,240,.016),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-column-shipping .order-journey-node {
    box-shadow:
      0 12px 28px rgba(17,122,76,.07),
      0 0 0 5px rgba(18,183,106,.014),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-node::before {
    inset: 5px;
  }

  .order-journey-node-icon {
    width: clamp(48px, 3.8vw, 60px);
    height: clamp(48px, 3.8vw, 60px);
  }

  .order-journey-node-icon svg {
    width: clamp(24px, 1.85vw, 30px);
    height: clamp(24px, 1.85vw, 30px);
  }

  .order-journey-node b {
    font-size: clamp(.88rem, 1vw, 1.04rem);
  }

  .order-journey-center {
    transform: translateY(clamp(-10px, -.9vw, -6px));
  }

  .order-journey-hub {
    width: clamp(360px, 29vw, 470px);
    height: clamp(360px, 29vw, 470px);
    gap: 16px;
    padding: clamp(42px, 3vw, 54px);
    box-shadow:
      0 34px 82px rgba(31,24,79,.27),
      0 0 0 11px rgba(105,82,247,.045),
      0 0 58px rgba(90,60,246,.16),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .order-journey-hub::before {
    inset: clamp(-24px, -1.6vw, -18px);
  }

  .order-journey-hub::after {
    inset: clamp(-54px, -3vw, -38px);
    box-shadow:
      0 0 0 clamp(14px, 1.1vw, 18px) rgba(105,82,247,.02),
      0 0 0 clamp(30px, 2.3vw, 42px) rgba(105,82,247,.011);
  }

  .order-journey-hub-logo {
    width: min(300px, 70%);
  }

  .order-journey-status-slider {
    width: min(290px, 72%);
    height: clamp(56px, 4.2vw, 70px);
  }

  .order-journey-status-slide {
    padding: 0 38px 0 20px;
    font-size: clamp(.82rem, 1vw, 1rem);
  }

  .journey-line-underlay {
    stroke-width: 9;
  }

  .journey-line {
    stroke-width: 2.45;
  }

  .journey-line-flow {
    stroke-width: 5.1;
  }
}


/* Extra-small desktop sizing */
@media (min-width: 821px) {
  .order-journey > .container {
    width: min(100%, 1260px);
    max-width: 1260px;
  }

  .order-journey-head {
    gap: 20px;
    margin-bottom: 18px;
  }

  .order-journey-head h2 {
    font-size: clamp(1.48rem, 1.95vw, 2rem);
    margin: 10px 0 8px;
  }

  .order-journey-head p {
    max-width: 660px;
    font-size: .92rem;
  }

  .order-journey-board {
    grid-template-columns:
      clamp(210px, 17.5vw, 270px)
      clamp(310px, 25.5vw, 410px)
      clamp(210px, 17.5vw, 270px);
    column-gap: clamp(16px, 2vw, 28px);
    min-height: clamp(540px, 41vw, 680px);
    padding: 0 clamp(22px, 2.2vw, 34px) 12px;
    background-size: auto, auto, 22px 22px, auto;
  }

  .order-journey-column {
    gap: 12px;
  }

  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    min-height: 50px;
  }

  .order-journey-column-head strong {
    font-size: clamp(.98rem, 1.15vw, 1.24rem);
  }

  .order-journey-node-list {
    gap: 12px;
  }

  .order-journey-node {
    min-height: clamp(64px, 4.8vw, 78px);
    grid-template-columns: clamp(42px, 3.3vw, 52px) minmax(0, 1fr);
    gap: 9px;
    padding: 8px 14px 8px 10px;
    box-shadow:
      0 9px 20px rgba(42, 33, 100, .07),
      0 0 0 4px rgba(115,103,240,.014),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-column-shipping .order-journey-node {
    box-shadow:
      0 9px 20px rgba(17,122,76,.06),
      0 0 0 4px rgba(18,183,106,.012),
      inset 0 1px 0 rgba(255,255,255,.99);
  }

  .order-journey-node::before {
    inset: 4px;
  }

  .order-journey-node-icon {
    width: clamp(42px, 3.3vw, 52px);
    height: clamp(42px, 3.3vw, 52px);
  }

  .order-journey-node-icon svg {
    width: clamp(21px, 1.55vw, 26px);
    height: clamp(21px, 1.55vw, 26px);
  }

  .order-journey-node b {
    font-size: clamp(.81rem, .9vw, .94rem);
  }

  .order-journey-center {
    transform: translateY(clamp(-6px, -.5vw, -3px));
  }

  .order-journey-hub {
    width: clamp(310px, 25.5vw, 410px);
    height: clamp(310px, 25.5vw, 410px);
    gap: 12px;
    padding: clamp(34px, 2.5vw, 44px);
    box-shadow:
      0 26px 66px rgba(31,24,79,.24),
      0 0 0 9px rgba(105,82,247,.04),
      0 0 44px rgba(90,60,246,.14),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .order-journey-hub::before {
    inset: clamp(-18px, -1.15vw, -14px);
  }

  .order-journey-hub::after {
    inset: clamp(-40px, -2.3vw, -28px);
    box-shadow:
      0 0 0 clamp(10px, .8vw, 14px) rgba(105,82,247,.018),
      0 0 0 clamp(22px, 1.7vw, 30px) rgba(105,82,247,.010);
  }

  .order-journey-hub-logo {
    width: min(250px, 68%);
  }

  .order-journey-status-slider {
    width: min(240px, 70%);
    height: clamp(48px, 3.6vw, 60px);
  }

  .order-journey-status-slider::before {
    right: 16px;
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 6px rgba(118,224,173,.12), 0 0 18px rgba(118,224,173,.30);
  }

  .order-journey-status-slide {
    padding: 0 30px 0 16px;
    font-size: clamp(.74rem, .86vw, .9rem);
  }

  .journey-line-underlay {
    stroke-width: 8;
  }

  .journey-line {
    stroke-width: 2.2;
  }

  .journey-line-flow {
    stroke-width: 4.6;
  }
}

/* Remove the status slider container background */
.order-journey-status-slider {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Remove the order-journey board background in all viewport sizes. */
.order-journey-board,
.order-journey-board.reveal,
.order-journey-board.is-routes-ready,
.order-journey-board.is-visible {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.order-journey-board::before,
.order-journey-board::after {
  content: none !important;
  display: none !important;
}


/* Homepage screenshots mosaic */
.panel-mosaic-section {
  position: relative;
}
.panel-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.panel-mosaic-card {
  background: #fff;
  border: 1px solid rgba(27, 31, 59, .08);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(24, 28, 58, .07);
}
.panel-mosaic-card-lg {
  transform: translateY(22px);
}
.panel-mosaic-card-offset {
  transform: translateY(-18px);
}
.panel-mosaic-card-raise {
  transform: translateY(-8px);
}
.panel-mosaic-copy h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.35;
}
.panel-mosaic-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
}
.panel-mosaic-shot {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8f8fd 0%, #f1f3fb 100%);
  border: 1px solid rgba(92, 102, 163, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
.panel-mosaic-shot::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(113, 121, 171, .35);
  box-shadow: 16px 0 0 rgba(113, 121, 171, .22), 32px 0 0 rgba(113, 121, 171, .18);
  z-index: 1;
}
.panel-mosaic-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.shot-tall { height: 320px; }
.shot-center { height: 250px; }
.shot-right { height: 230px; }
.shot-bottom-left { height: 280px; }
.shot-wide { height: 300px; }
.shot-left img { object-position: 14% 8%; }
.shot-center img { object-position: 48% 24%; }
.shot-right img { object-position: 83% 14%; }
.shot-bottom-left img { object-position: 18% 82%; }
.shot-bottom-right img { object-position: 74% 78%; }
@media (max-width: 1100px) {
  .panel-mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-mosaic-card,
  .panel-mosaic-card-lg,
  .panel-mosaic-card-offset,
  .panel-mosaic-card-raise {
    transform: none;
  }
}
@media (max-width: 720px) {
  .panel-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .panel-mosaic-card {
    padding: 18px;
    border-radius: 24px;
  }
  .panel-mosaic-copy h3 {
    font-size: 1.08rem;
  }
  .panel-mosaic-copy p {
    font-size: .92rem;
    line-height: 1.75;
  }
  .shot-tall,
  .shot-center,
  .shot-right,
  .shot-bottom-left,
  .shot-wide {
    height: 220px;
  }
}


/* Masonry-like packed mosaic layout */
.panel-mosaic-grid {
  display: block;
  column-count: 3;
  column-gap: 24px;
}

.panel-mosaic-card,
.panel-mosaic-card-lg,
.panel-mosaic-card-offset,
.panel-mosaic-card-raise {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  vertical-align: top;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  transform: none;
}

.panel-mosaic-card:nth-child(2) .panel-mosaic-shot { height: 355px; }
.panel-mosaic-card:nth-child(3) .panel-mosaic-shot { height: 245px; }
.panel-mosaic-card:nth-child(4) .panel-mosaic-shot { height: 285px; }
.panel-mosaic-card:nth-child(5) .panel-mosaic-shot { height: 325px; }

@media (max-width: 1100px) {
  .panel-mosaic-grid {
    column-count: 2;
    column-gap: 18px;
  }

  .panel-mosaic-card,
  .panel-mosaic-card-lg,
  .panel-mosaic-card-offset,
  .panel-mosaic-card-raise {
    margin-bottom: 18px;
  }
}

@media (max-width: 720px) {
  .panel-mosaic-grid {
    column-count: 1;
    column-gap: 0;
  }

  .panel-mosaic-card,
  .panel-mosaic-card-lg,
  .panel-mosaic-card-offset,
  .panel-mosaic-card-raise {
    display: block;
    margin-bottom: 18px;
  }

  .panel-mosaic-card:nth-child(1) .panel-mosaic-shot,
  .panel-mosaic-card:nth-child(2) .panel-mosaic-shot,
  .panel-mosaic-card:nth-child(3) .panel-mosaic-shot,
  .panel-mosaic-card:nth-child(4) .panel-mosaic-shot,
  .panel-mosaic-card:nth-child(5) .panel-mosaic-shot {
    height: 220px;
  }
}


/* Editable mosaic card image sizes and focal positions */
.panel-mosaic-height-short { height: 220px !important; }
.panel-mosaic-height-medium { height: 280px !important; }
.panel-mosaic-height-tall { height: 340px !important; }
.panel-mosaic-height-x-tall { height: 410px !important; }
.panel-mosaic-position-center img { object-position: center center !important; }
.panel-mosaic-position-top img { object-position: center top !important; }
.panel-mosaic-position-right img { object-position: right center !important; }
.panel-mosaic-position-left img { object-position: left center !important; }
.panel-mosaic-position-bottom img { object-position: center bottom !important; }
.builder-mosaic-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(92,102,163,.26);
  border-radius: 20px;
  color: var(--muted);
  background: #fafbff;
}
@media (max-width: 720px) {
  .panel-mosaic-height-short { height: 190px !important; }
  .panel-mosaic-height-medium { height: 220px !important; }
  .panel-mosaic-height-tall { height: 250px !important; }
  .panel-mosaic-height-x-tall { height: 280px !important; }
}


/* Hero cleanup and mobile reading order */
.hero-orbit {
  display: none !important;
}
@media (max-width: 700px) {
  .hero-wrapper-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-wrapper-visual {
    order: 1;
    margin: 0 auto 26px;
  }
  .hero-wrapper-copy {
    order: 2;
  }
}


/* Hero visual slider */
.hero-dashboard-slider {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
}
.hero-dashboard-track {
  position: relative;
  display: grid;
  width: 100%;
}
.hero-dashboard-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px) scale(.985);
  transition: opacity .42s ease, transform .42s ease, visibility 0s linear .42s;
}
.hero-dashboard-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}
.hero-dashboard-slider .hero-dashboard-frame {
  width: 100%;
}
.hero-slider-dots {
  position: absolute;
  right: 50%;
  bottom: -32px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(50%);
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(83,72,157,.25);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hero-slider-dot.is-active {
  width: 24px;
  background: var(--primary);
}
@media (max-width: 700px) {
  .hero-dashboard-slider {
    width: calc(100% - 46px);
  }
  .hero-dashboard-slider .hero-dashboard-frame {
    width: 100%;
  }
        .hero-slider-dots { bottom: -25px; }
}
@media (max-width: 430px) {
  .hero-dashboard-slider {
    width: calc(100% - 34px);
  }
  }
@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-slide {
    transition: none !important;
    transform: none !important;
  }
  .hero-slider-dot {
    transition: none !important;
  }
}

/* Keep hero slider dimensions stable when slide images have different ratios */
.hero-dashboard-slider .hero-dashboard-frame{
  aspect-ratio:980/680;
  display:grid;
  place-items:center;
}
.hero-dashboard-slider .hero-dashboard-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}


/* Visual ecommerce order management page */
.order-guide-visual-page .section-title p { max-width: 780px; }
.order-guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 34px;
  align-items: center;
}
.order-guide-hero-copy { min-width: 0; }
.order-guide-hero-copy h1 { margin-bottom: 16px; }
.order-guide-meta { margin-top: 22px; }
.order-guide-hero-visual {
  position: relative;
  min-height: 420px;
}
.order-guide-screen-card {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(106, 94, 203, .15);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,247,255,.96));
  box-shadow: 0 30px 70px rgba(30, 28, 73, .10);
  overflow: hidden;
}
.order-guide-screen-card img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-card-head {
  display: flex;
  gap: 8px;
  padding: 16px 18px 10px;
}
.screen-card-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(124, 132, 177, .28);
}
.main-screen { padding: 0 14px 14px; }
.order-guide-float-card {
  position: absolute;
  z-index: 1;
  min-width: 170px;
  max-width: 210px;
  padding: 15px 16px;
  border-radius: 22px;
  border: 1px solid rgba(102, 88, 197, .12);
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 34px rgba(39, 32, 98, .11);
}
.order-guide-float-card strong,
.order-guide-float-card small,
.order-guide-float-card b { display: block; }
.order-guide-float-card strong { color: var(--ink); font-size: .86rem; margin-bottom: 6px; }
.order-guide-float-card b { color: var(--primary-700); font-size: 1.05rem; margin-bottom: 5px; }
.order-guide-float-card small { color: var(--muted); line-height: 1.65; }
.float-stat-a { left: -18px; bottom: 34px; }
.float-stat-b { right: -12px; top: 24px; }
.order-guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 28px;
  align-items: start;
}
.order-guide-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.order-guide-info-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 24px;
  border: 1px solid rgba(106, 94, 203, .12);
  background: #fff;
  box-shadow: 0 16px 36px rgba(34, 30, 77, .06);
}
.order-guide-info-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.order-guide-info-card p { margin: 0; color: var(--muted); line-height: 1.9; }
.step-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(115,103,240,.10);
  color: var(--primary-700);
  font-weight: 900;
}
.order-guide-image-slot {
  position: relative;
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 28px;
  text-align: center;
  border-radius: 28px;
  border: 1px dashed rgba(100, 91, 167, .34);
  background:
    linear-gradient(180deg, rgba(247,248,255,.98), rgba(243,245,253,.92)),
    radial-gradient(circle at top right, rgba(115,103,240,.10), transparent 42%);
  overflow: hidden;
}
.order-guide-image-slot::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(100, 91, 167, .08);
  pointer-events: none;
}
.order-guide-image-slot strong { color: var(--ink); font-size: 1.08rem; line-height: 1.7; }
.order-guide-image-slot p { margin: 0; color: var(--muted); line-height: 1.85; }
.image-slot-badge {
  display: inline-flex;
  margin: 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(115,103,240,.12);
  color: var(--primary-700);
  font-size: .79rem;
  font-weight: 900;
}
.slot-tall { min-height: 430px; }
.slot-wide { min-height: 240px; }
.order-guide-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.order-guide-flow-card {
  position: relative;
  padding: 24px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(104, 90, 200, .12);
  box-shadow: 0 16px 38px rgba(34, 30, 77, .06);
}
.order-guide-flow-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(25, 177, 102, .10);
  color: #07934f;
  font-weight: 900;
  margin-bottom: 14px;
}
.order-guide-flow-card h3 { margin: 0 0 9px; font-size: 1.08rem; }
.order-guide-flow-card p { margin: 0; color: var(--muted); line-height: 1.8; }
.order-guide-wide-slot { margin-top: 22px; }
.order-guide-showcase {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.order-guide-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(105, 94, 186, .11);
  background: #fff;
  box-shadow: 0 18px 40px rgba(35, 31, 78, .06);
}
.order-guide-showcase-row.reverse {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
}
.order-guide-showcase-row.reverse .order-guide-showcase-copy { order: 2; }
.order-guide-showcase-row.reverse .order-guide-image-slot { order: 1; }
.order-guide-showcase-copy h3 { margin: 0 0 10px; color: var(--ink); }
.order-guide-showcase-copy p { margin: 0; color: var(--muted); line-height: 1.95; }
.order-guide-feature-grid .card { box-shadow: 0 15px 36px rgba(35, 31, 78, .06); }
@media (max-width: 1150px) {
  .order-guide-hero-grid,
  .order-guide-split,
  .order-guide-showcase-row,
  .order-guide-showcase-row.reverse {
    grid-template-columns: 1fr;
  }
  .order-guide-showcase-row.reverse .order-guide-showcase-copy,
  .order-guide-showcase-row.reverse .order-guide-image-slot {
    order: initial;
  }
  .order-guide-problem-grid,
  .order-guide-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .float-stat-a { left: 12px; bottom: 14px; }
  .float-stat-b { right: 12px; top: 14px; }
}
@media (max-width: 760px) {
  .order-guide{font-size:16px}
  .order-guide-hero-grid { gap: 22px; }
  .order-guide-hero-visual { min-height: auto; }
  .main-screen { padding: 0 10px 10px; }
  .order-guide-float-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
  .order-guide-problem-grid,
  .order-guide-flow-grid {
    grid-template-columns: 1fr;
  }
  .order-guide-showcase-row {
    padding: 18px;
    border-radius: 24px;
  }
  .order-guide-image-slot,
  .slot-tall,
  .slot-wide {
    min-height: 220px;
    padding: 22px;
  }
}


/* Full-width problem steps on ecommerce order management page */
.order-guide-problem-split {
  grid-template-columns: minmax(0, 1fr);
}
.order-guide-problem-split > * {
  min-width: 0;
}
.order-guide-problem-split .order-guide-problem-grid {
  width: 100%;
}
.order-guide-problem-split .slot-tall {
  min-height: 260px;
}


.order-guide-image-slot-multi {
  align-content: start;
  text-align: right;
}
.order-guide-image-slot-multi .image-slot-top {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 18px;
}
.slot-multi-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}
.slot-multi-card {
  min-height: 170px;
  padding: 18px 14px;
  border-radius: 20px;
  border: 1px dashed rgba(100, 91, 167, .26);
  background: rgba(255,255,255,.72);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 8px;
}
.slot-multi-card span {
  color: var(--ink);
  font-size: .96rem;
  font-weight: 850;
}
.slot-multi-card small {
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .slot-multi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slot-multi-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .slot-multi-grid {
    grid-template-columns: 1fr;
  }
  .slot-multi-card:last-child {
    grid-column: auto;
  }
  .slot-multi-card {
    min-height: 120px;
  }
}


/* Mobile header: menu right, centered logo, login left */
@media (max-width: 980px) {
  .site-header .container.navbar,
  .site-header .navbar.header-inner-full {
    position: relative;
    display: block;
    min-height: 72px !important;
    padding: 0 15px !important;
  }

  .site-header .brand {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    min-width: 0;
    margin: 0;
    z-index: 2;
  }

  .site-header .brand img {
    display: block;
    width: min(122px, 34vw) !important;
    max-height: 42px;
    object-fit: contain;
  }

  .site-header .menu-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    left: auto;
    margin: 0;
    transform: translateY(-50%);
    z-index: 1101;
  }

  .mobile-header-login {
    position: absolute;
    top: 50%;
    left: 15px;
    right: auto;
    z-index: 3;
    display: inline-flex;
    min-height: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    transform: translateY(-50%);
    font-size: .82rem;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-header-login:hover {
    transform: translateY(-50%);
  }
  .mobile-header-contact {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 3;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-header-contact i { font-size: .85rem; }
}

@media (max-width: 420px) {
  .site-header .brand img {
    width: min(108px, 31vw) !important;
  }

  .site-header .menu-toggle {
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .mobile-header-login {
    left: 10px;
    min-height: 38px;
    height: 38px;
    padding-inline: 11px;
    font-size: .76rem;
  }
  .mobile-header-contact { left: 8px; gap: 4px; padding-inline: 6px; font-size: .68rem; }
}


/* Mobile drawer close control */
.nav-drawer-head { display: none; }
@media (max-width: 980px) {
  .nav-menu { padding-top: 16px; }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    padding: 4px 4px 13px;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer-head strong {
    color: var(--ink);
    font-size: .98rem;
  }
  .nav-drawer-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--primary-50);
    color: var(--ink);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .nav-drawer-close:hover {
    background: var(--primary-100);
    color: var(--primary-700);
  }
  .nav-drawer-close:active { transform: scale(.96); }
  .nav-drawer-close span {
    display: block;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
  }
}

/* Nested header menus: sales channels and shipping methods */
.nav-item.has-submenu { position: relative; }
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav-submenu-toggle:hover,
.nav-item.has-submenu.is-open > .nav-submenu-toggle,
.nav-item.has-submenu.is-current > .nav-submenu-toggle {
  background: var(--primary-100);
  color: var(--primary-700);
}
.nav-submenu-chevron {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform .24s ease;
}
.nav-item.has-submenu.is-open > .nav-submenu-toggle .nav-submenu-chevron {
  transform: rotate(180deg);
}
.nav-submenu {
  list-style: none;
  padding: 10px;
  margin: 0;
}
.nav-submenu li { margin: 0; }
.nav-submenu a {
  width: 100%;
  min-height: 42px;
  border-radius: 13px;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .nav-submenu {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    min-width: 230px;
    max-height: min(70vh, 620px);
    overflow-y: auto;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 22px 52px rgba(27,30,59,.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .24s ease, visibility .2s ease;
  }
  .nav-item.has-submenu:hover > .nav-submenu,
  .nav-item.has-submenu:focus-within > .nav-submenu,
  .nav-item.has-submenu.is-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-submenu a { justify-content: flex-start; padding-inline: 14px; }
}

@media (max-width: 980px) {
  .nav-menu > .nav-item.has-submenu { width: 100%; }
  .nav-submenu-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 16px;
  }
  .nav-submenu {
    position: static;
    display: grid;
    gap: 3px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .28s ease, visibility .22s ease, padding .28s ease;
  }
  .nav-item.has-submenu.is-open > .nav-submenu {
    max-height: 900px;
    padding-top: 6px;
    padding-bottom: 10px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-submenu a {
    justify-content: flex-start;
    min-height: 43px;
    padding-inline: 14px;
    background: rgba(115,103,240,.045);
    font-size: .93rem;
  }
}

/* Reusable integration landing pages */
.integration-page .order-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .9rem;
}
.integration-page .order-breadcrumb a { color: var(--primary-700); font-weight: 800; }
.integration-page h1 {
  margin: 18px 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.55;
  letter-spacing: -.035em;
}
.integration-page h2 { color: var(--ink); }
.integration-page .lead { max-width: 760px; font-size: clamp(1.05rem,2vw,1.24rem); }
.integration-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(330px,.96fr);
  gap: 34px;
  align-items: center;
}
.integration-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.integration-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid rgba(115,103,240,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
}
.integration-visual-card {
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(115,103,240,.15);
  border-radius: 30px;
  background: linear-gradient(155deg,#fff,#f4f3ff);
  box-shadow: 0 28px 68px rgba(34,30,77,.10);
}
.integration-visual-head {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 4px 12px;
  color: var(--muted);
}
.integration-visual-head i { width: 9px; height: 9px; border-radius: 50%; background: rgba(102,112,133,.24); }
.integration-visual-head strong { margin-inline-start: auto; color: var(--ink); }
.integration-visual-body {
  display: grid;
  grid-template-columns: minmax(110px,1fr) auto minmax(110px,1fr);
  gap: 14px;
  align-items: center;
  min-height: 230px;
  padding: 26px;
  border: 1px dashed rgba(115,103,240,.23);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
}
.integration-source-badge,
.integration-packflow-badge {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 16px;
  text-align: center;
  border-radius: 22px;
  font-weight: 900;
}
.integration-source-badge { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.integration-packflow-badge { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(115,103,240,.25); }
.integration-flow-arrow { color: var(--primary-700); font-size: 2rem; font-weight: 900; }
.integration-visual-card > p { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.integration-benefits { margin-top: 30px; }
.integration-benefits .card { box-shadow: 0 14px 36px rgba(35,31,78,.05); }
.integration-flow-section { display: grid; gap: 26px; }
.integration-process-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.integration-process-card {
  padding: 22px;
  border: 1px solid rgba(115,103,240,.12);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35,31,78,.05);
}
.integration-process-card b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(115,103,240,.10);
  color: var(--primary-700);
}
.integration-process-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; }
.integration-process-card p { margin: 0; color: var(--muted); line-height: 1.85; }
.integration-wide-image {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 250px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(115,103,240,.30);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(247,246,255,.98),rgba(255,255,255,.95));
}
.integration-wide-image span {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: .8rem;
  font-weight: 900;
}
.integration-wide-image strong { color: var(--ink); font-size: 1.12rem; }
.integration-wide-image p { max-width: 650px; margin: 0 auto; color: var(--muted); }
.integration-two-col {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.8fr);
  gap: 22px;
  align-items: stretch;
}
.integration-note {
  padding: 28px;
  border: 1px solid rgba(247,144,9,.20);
  border-radius: 26px;
  background: linear-gradient(145deg,#fffaf2,#fff);
}
.integration-note strong { display: block; margin-bottom: 10px; color: #9a5b00; font-size: 1.08rem; }
.integration-note p { margin: 0 0 12px; color: var(--text); }
.integration-note p:last-child { margin-bottom: 0; }
.shipping-method-page .integration-packflow-badge { background: #0f9f62; box-shadow: 0 14px 30px rgba(15,159,98,.20); }
.shipping-method-page .integration-source-badge { border-color: rgba(15,159,98,.18); }

@media (max-width: 980px) {
  .integration-hero-grid,
  .integration-two-col { grid-template-columns: 1fr; }
  .integration-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .integration-page h1 { font-size: clamp(1.75rem,8vw,2.35rem); line-height: 1.65; }
  .integration-visual-card { min-height: auto; padding: 14px; border-radius: 24px; }
  .integration-visual-body { grid-template-columns: 1fr; min-height: 0; padding: 18px; }
  .integration-flow-arrow { transform: rotate(-90deg); margin: -4px auto; }
  .integration-source-badge,
  .integration-packflow-badge { min-height: 82px; }
  .integration-process-grid { grid-template-columns: 1fr; }
  .integration-wide-image { min-height: 210px; padding: 22px; }
}


/* Font Awesome powered mega menus */
.site-header .navbar { position: relative; }
.nav-mega-parent { position: static !important; }
.nav-submenu-chevron i { font-size: .72rem; }
.nav-mega-menu .nav-mega-heading,
.nav-mega-menu .nav-mega-item { list-style: none; }
.nav-submenu-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(115,103,240,.14), rgba(115,103,240,.07));
  color: var(--primary-700);
  font-size: 1.08rem;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.nav-submenu-content {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.nav-submenu-content strong {
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.5;
}
.nav-submenu-content small {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.7;
  white-space: normal;
}
.nav-submenu-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: rgba(94,82,219,.58);
  font-size: .72rem;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.nav-mega-menu a:hover .nav-submenu-icon,
.nav-mega-menu a.active .nav-submenu-icon {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.nav-mega-menu a:hover .nav-submenu-arrow,
.nav-mega-menu a.active .nav-submenu-arrow {
  opacity: 1;
  transform: translateX(0);
  background: rgba(115,103,240,.09);
}
.nav-mega-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px 4px 15px;
  border-bottom: 1px solid var(--line);
}
.nav-mega-heading-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  box-shadow: 0 12px 25px rgba(115,103,240,.22);
  font-size: 1.08rem;
}
.nav-mega-heading > span:last-child { display: grid; gap: 2px; }
.nav-mega-heading strong { color: var(--ink); font-size: 1rem; }
.nav-mega-heading small { color: var(--muted); font-size: .78rem; line-height: 1.7; }

@media (min-width: 981px) {
  .nav-mega-menu {
    top: 100%;
    right: 50%;
    left: auto;
    width: min(900px, calc(100vw - 48px));
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 18px;
    border-radius: 26px;
    transform: translate(50%, -10px) scale(.985);
    transform-origin: top center;
    overflow: auto;
  }
  .nav-mega-shipping > .nav-mega-menu {
    width: min(960px, calc(100vw - 48px));
  }
  .nav-item.has-submenu.nav-mega-parent:hover > .nav-submenu.nav-mega-menu,
  .nav-item.has-submenu.nav-mega-parent:focus-within > .nav-submenu.nav-mega-menu,
  .nav-item.has-submenu.nav-mega-parent.is-open > .nav-submenu.nav-mega-menu {
    transform: translate(50%, 0) scale(1);
  }
  .nav-mega-heading { grid-column: 1 / -1; }
  .nav-mega-item { min-width: 0; }
  .nav-mega-menu .nav-mega-item > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 76px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    white-space: normal;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .nav-mega-menu .nav-mega-item > a:hover,
  .nav-mega-menu .nav-mega-item > a.active {
    background: linear-gradient(145deg, #fff, var(--primary-50));
    border-color: rgba(115,103,240,.14);
    box-shadow: 0 12px 25px rgba(31,28,73,.06);
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .nav-mega-parent { position: relative !important; }
  .nav-mega-menu { padding-inline: 8px; }
  .nav-mega-heading { display: none; }
  .nav-item.has-submenu.is-open > .nav-mega-menu { max-height: 1900px; }
  .nav-mega-menu .nav-mega-item > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid rgba(115,103,240,.08);
    background: rgba(115,103,240,.035);
  }
  .nav-submenu-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: .92rem;
  }
  .nav-submenu-content small { display: none; }
  .nav-submenu-content strong { font-size: .92rem; }
  .nav-submenu-arrow { display: none; }
}


/* Complete sales-channel and shipping lists on desktop */
.order-journey-column-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(115,103,240,.07);
  border: 1px solid rgba(115,103,240,.10);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}
.order-journey-column-shipping .order-journey-column-count {
  color: #087747;
  background: rgba(18,183,106,.07);
  border-color: rgba(18,183,106,.12);
}
.order-journey-node { text-decoration: none; }
.order-journey-node-icon i {
  font-size: 1.18rem;
  line-height: 1;
}
@media (min-width: 821px) {
  .order-journey > .container {
    width: min(100%, 1500px);
    max-width: 1500px;
  }
  .order-journey-board {
    grid-template-columns:
      clamp(340px, 27vw, 410px)
      clamp(350px, 28vw, 440px)
      clamp(340px, 27vw, 410px);
    column-gap: clamp(18px, 2vw, 30px);
    min-height: clamp(690px, 50vw, 790px);
    padding-inline: clamp(18px, 2vw, 32px);
  }
  .order-journey-column-head,
  .order-journey-column-sources .order-journey-column-head,
  .order-journey-column-shipping .order-journey-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    text-align: right;
  }
  .order-journey-column-head strong {
    max-width: none;
    min-height: 0;
    font-size: clamp(1rem, 1.12vw, 1.22rem);
  }
  .order-journey-node-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: center;
  }
  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    width: 100%;
    justify-content: stretch;
  }
  .order-journey-node {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 9px;
    padding: 8px 11px 8px 8px;
    border-radius: 19px;
  }
  .order-journey-node-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .order-journey-node-icon svg {
    width: 21px;
    height: 21px;
  }
  .order-journey-node b {
    min-width: 0;
    font-size: clamp(.76rem, .78vw, .9rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .order-journey-center {
    align-self: center;
    transform: none;
  }
  .order-journey-hub {
    width: clamp(350px, 28vw, 440px);
    height: clamp(350px, 28vw, 440px);
  }
}
@media (max-width: 820px) {
  .order-journey-node-wrap.is-desktop-extra { display: none !important; }
  .order-journey-column-count { display: none; }
}


/* Connection section spacing and consistent desktop/mobile presentation */
.connection-tabs {
  padding-inline: clamp(18px, 4vw, 56px);
}
.connection-tabs > .container {
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-inline: auto;
}
.connection-tab-shell,
.connection-tabs-head {
  width: 100%;
}
.connection-panel,
.connection-radial-wrap,
.connection-radial-stage {
  min-width: 0;
}
.connection-orbit-node {
  display: block !important;
}

@media (max-width: 720px) {
  .connection-tabs {
    padding-inline: 18px;
  }
  .connection-tabs > .container {
    width: 100%;
  }
  .connection-tab-list {
    display: grid;
    grid-template-columns: repeat(var(--connection-tabs-count, 3), minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .connection-tab {
    min-width: 0;
    width: 100%;
    padding-inline: 10px;
    text-align: center;
    justify-items: center;
    scroll-snap-align: none;
  }
  .connection-panel {
    width: 100%;
  }
  .connection-radial-stage {
    margin-inline: auto;
  }
}

@media (max-width: 430px) {
  .connection-tabs {
    padding-inline: 14px;
  }
  .connection-tab-list {
    gap: 5px;
    padding: 6px;
  }
  .connection-tab {
    min-height: 66px;
    padding: 9px 6px;
    border-radius: 16px;
  }
  .connection-tab span {
    font-size: .83rem;
  }
  .connection-tab small {
    font-size: .66rem;
  }
}


/* Make desktop order-journey layout feel looser and less rigid */
@media (min-width: 821px) {
  .order-journey-node-list {
    gap: 16px 12px;
    align-content: start;
    padding-top: 6px;
  }

  .order-journey-node-wrap,
  .order-journey-column-sources .order-journey-node-wrap,
  .order-journey-column-shipping .order-journey-node-wrap {
    min-height: 78px;
    align-items: flex-start;
  }

  .order-journey-node {
    width: min(100%, 178px);
  }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(1) { justify-content: flex-end; transform: translate(10px, 0); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) { justify-content: flex-start; transform: translate(-8px, 20px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(3) { justify-content: flex-end; transform: translate(16px, -6px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) { justify-content: center;   transform: translate(-14px, 12px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) { justify-content: flex-start; transform: translate(6px, 24px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(6) { justify-content: flex-end; transform: translate(-18px, 4px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(7) { justify-content: center;   transform: translate(4px, 22px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(8) { justify-content: flex-start; transform: translate(-10px, 2px); }
  .order-journey-column-sources .order-journey-node-wrap:nth-child(9) { justify-content: flex-end; transform: translate(14px, 18px); }

  .order-journey-column-shipping .order-journey-node-wrap:nth-child(1) { justify-content: flex-start; transform: translate(-10px, 6px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(2) { justify-content: flex-end;   transform: translate(12px, -4px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) { justify-content: center;     transform: translate(-2px, 18px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(4) { justify-content: flex-start; transform: translate(16px, 0); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) { justify-content: flex-end;   transform: translate(-12px, 24px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) { justify-content: center;     transform: translate(6px, 4px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(7) { justify-content: flex-start; transform: translate(-16px, 20px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(8) { justify-content: flex-end;   transform: translate(10px, 2px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(9) { justify-content: center;     transform: translate(-4px, 16px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(10){ justify-content: flex-start; transform: translate(14px, -2px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(11){ justify-content: flex-end;   transform: translate(-8px, 22px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(12){ justify-content: center;     transform: translate(4px, 6px); }
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(13){ justify-content: flex-start; transform: translate(-12px, 18px); }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(2) .order-journey-node,
  .order-journey-column-sources .order-journey-node-wrap:nth-child(4) .order-journey-node,
  .order-journey-column-sources .order-journey-node-wrap:nth-child(7) .order-journey-node,
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(3) .order-journey-node,
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(6) .order-journey-node,
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(10) .order-journey-node {
    width: min(100%, 165px);
  }

  .order-journey-column-sources .order-journey-node-wrap:nth-child(5) .order-journey-node,
  .order-journey-column-sources .order-journey-node-wrap:nth-child(9) .order-journey-node,
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(5) .order-journey-node,
  .order-journey-column-shipping .order-journey-node-wrap:nth-child(11) .order-journey-node {
    width: min(100%, 186px);
  }
}


/* Size each order journey card by its own content */
.order-journey-node,
.order-journey-column-sources .order-journey-node,
.order-journey-column-shipping .order-journey-node {
  width: fit-content !important;
  max-width: 100%;
  grid-template-columns: auto max-content;
}
.order-journey-node b {
  width: auto;
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}


/* =========================================================
   Packflow interactive homepage — live UI instead of shots
   ========================================================= */
.packflow-live-hero .hero-wrapper-visual {
  min-height: 560px;
  padding: 28px 18px 34px;
}
.packflow-live-app {
  position: relative;
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(115,103,240,.18);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 30px 80px rgba(42,44,95,.14), inset 0 1px 0 rgba(255,255,255,.8);
  isolation: isolate;
}
.packflow-live-app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 4%, rgba(115,103,240,.14), transparent 32%),
    linear-gradient(180deg, rgba(247,246,255,.86), transparent 34%);
  z-index: -1;
}
.live-app-topbar,
.live-app-topbar > div,
.live-now,
.live-order-id,
.live-flow-head,
.story-stage-toolbar,
.story-stage-toolbar > div,
.story-live-pill,
.story-stage-footer,
.story-scene-title,
.story-product,
.story-shipment-top,
.story-ready-chip {
  display: flex;
  align-items: center;
}
.live-app-topbar {
  min-height: 68px;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(115,103,240,.11);
}
.live-app-topbar > div { gap: 10px; min-width: 0; }
.live-app-topbar strong { color: var(--ink); font-size: .96rem; white-space: nowrap; }
.live-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg,var(--primary),var(--primary-700));
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: -.04em;
}
.live-now {
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18,183,106,.08);
  color: #067647;
  font-size: .76rem;
  font-weight: 750;
}
.live-now i,
.story-stage-toolbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(18,183,106,.09);
  animation: pf-live-pulse 1.8s ease-out infinite;
}
.live-app-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  padding: 16px 18px 12px;
}
.live-app-metrics article {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(115,103,240,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}
.live-app-metrics small,
.live-app-metrics span {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
}
.live-app-metrics b {
  display: inline-block;
  margin: 3px 0 1px;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.1;
}
.live-app-workspace { padding: 8px 18px 20px; }
.live-order-list,
.live-flow-card {
  border: 1px solid rgba(115,103,240,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
}
.live-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(115,103,240,.10);
}
.live-list-head span { color: var(--ink); font-size: .82rem; font-weight: 800; }
.live-list-head small { color: var(--muted); font-size: .69rem; }
.live-order-row {
  display: grid;
  grid-template-columns: 1.12fr .92fr .76fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(115,103,240,.07);
  color: var(--muted);
  font-size: .75rem;
  transition: background .28s ease, color .28s ease, transform .28s ease;
}
.live-order-row:last-child { border-bottom: 0; }
.live-order-row.is-active {
  background: linear-gradient(90deg,rgba(115,103,240,.09),rgba(115,103,240,.025));
  color: var(--ink);
  transform: translateX(-3px);
}
.live-order-id { gap: 7px; color: var(--ink); direction: ltr; justify-content: flex-end; }
.live-order-id i { color: var(--primary); }
.live-order-stage {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 700;
}
.live-order-state { text-align: left; font-size: .7rem; }
.live-flow-card { margin-top: 12px; padding: 13px 14px 17px; }
.live-flow-head { justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.live-flow-head span { color: var(--ink); font-size: .78rem; font-weight: 750; }
.live-flow-head b { color: var(--primary-700); font-size: .72rem; }
.live-flow-line {
  --live-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 0;
  min-height: 64px;
}
.live-flow-line::before,
.live-flow-line::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 10%;
  left: 10%;
  height: 3px;
  border-radius: 999px;
}
.live-flow-line::before { background: #ebeaf7; }
.live-flow-line::after {
  left: auto;
  width: var(--live-progress);
  background: linear-gradient(90deg,var(--primary-700),var(--primary));
  transition: width .6s cubic-bezier(.22,.7,.2,1);
}
.live-flow-line > span {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .64rem;
  text-align: center;
}
.live-flow-line > span > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 3px solid #ebeaf7;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-style: normal;
  font-size: .63rem;
  font-weight: 800;
  transition: .35s ease;
}
.live-flow-line > span.is-done > i,
.live-flow-line > span.is-current > i {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.live-flow-line > span.is-current > i { box-shadow: 0 0 0 6px rgba(115,103,240,.11); }
.live-flow-line > span.is-current em { color: var(--ink); font-weight: 750; }
.live-flow-line em { font-style: normal; }
.live-flow-package {
  position: absolute;
  z-index: 4;
  top: 0;
  right: calc(10% - 10px + var(--live-progress));
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(16,24,40,.18);
  transform: translateX(50%) translateY(-28px);
  transition: right .6s cubic-bezier(.22,.7,.2,1);
}
.live-flow-package i { font-size: .65rem; }
.packflow-live-hero .hero-float-card { backdrop-filter: blur(16px); }

/* Scroll story */
.packflow-scroll-story {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg,transparent,rgba(247,246,255,.68) 22%,rgba(247,246,255,.68) 78%,transparent),
    radial-gradient(circle at 12% 40%,rgba(115,103,240,.08),transparent 28rem);
}
.packflow-scroll-story .section-head { align-items: flex-end; }
.story-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .78rem;
  white-space: nowrap;
}
.story-scroll-hint span {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(102,112,133,.38);
  border-radius: 999px;
}
.story-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 7px;
  border-radius: 99px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: pf-scroll-dot 1.7s ease-in-out infinite;
}
.packflow-story-layout {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(320px,.72fr);
  gap: clamp(32px,5vw,72px);
  align-items: start;
  direction: ltr;
}
.packflow-story-stage {
  position: sticky;
  top: 112px;
  min-width: 0;
  direction: rtl;
}
.story-stage-shell {
  overflow: hidden;
  border: 1px solid rgba(115,103,240,.16);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 80px rgba(27,30,59,.10);
}
.story-stage-toolbar {
  justify-content: space-between;
  min-height: 62px;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(115,103,240,.11);
}
.story-stage-toolbar > div { gap: 9px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.story-live-pill {
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #067647;
  background: rgba(18,183,106,.08);
  font-size: .7rem;
  font-weight: 750;
}
.story-live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.story-stage-scenes {
  position: relative;
  min-height: 455px;
  background:
    linear-gradient(rgba(115,103,240,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(115,103,240,.025) 1px,transparent 1px),
    #fbfbff;
  background-size: 28px 28px;
}
.story-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px,3vw,30px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transition: opacity .38s ease, transform .44s cubic-bezier(.22,.7,.2,1), visibility .38s;
  pointer-events: none;
}
.story-scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.story-stage-footer {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(115,103,240,.1);
  color: var(--muted);
  font-size: .72rem;
}
.story-stage-footer span i { color: var(--success); margin-left: 5px; }
.story-stage-footer strong { color: var(--ink); direction: ltr; }
.packflow-story-steps { direction: rtl; padding: 24px 0 54px; }
.packflow-story-step {
  position: relative;
  width: 100%;
  min-height: 185px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px 18px;
  border: 0;
  border-bottom: 1px solid rgba(115,103,240,.12);
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
  transition: .25s ease;
}
.packflow-story-step::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  right: 0;
  width: 3px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .32s ease;
}
.packflow-story-step.is-active::before { transform: scaleY(1); }
.packflow-story-step:focus-visible { outline: 3px solid rgba(115,103,240,.2); outline-offset: 4px; border-radius: 18px; }
.story-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(115,103,240,.14);
  background: #fff;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 800;
  transition: .25s ease;
}
.packflow-story-step.is-active .story-step-number { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 28px rgba(115,103,240,.22); }
.story-step-copy { min-width: 0; display: block; }
.story-step-copy strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 1.06rem; }
.story-step-copy > span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.85; }
.story-step-copy em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--primary-700);
  font-size: .75rem;
  font-style: normal;
  font-weight: 750;
  opacity: 0;
  transform: translateX(6px);
  transition: .25s ease;
}
.packflow-story-step.is-active .story-step-copy em { opacity: 1; transform: none; }

/* Live scenes */
.story-scene-title { justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.story-scene-title span { color: var(--primary-700); font-size: .72rem; font-weight: 750; }
.story-scene-title strong { color: var(--ink); font-size: .96rem; }
.story-orders-head,
.story-order-row {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 10px;
  align-items: center;
}
.story-orders-head { padding: 0 12px 8px; color: var(--muted); font-size: .68rem; }
.story-order-row {
  min-height: 53px;
  margin-bottom: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(115,103,240,.09);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: .75rem;
  transition: .3s ease;
}
.story-order-row b { color: var(--ink); direction: ltr; justify-self: end; }
.story-order-row span { display: inline-flex; align-items: center; gap: 7px; }
.story-order-row span i { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; }
.story-order-row small { font-size: .68rem; text-align: left; }
.story-order-row.is-processing { border-color: rgba(115,103,240,.22); background: var(--primary-50); transform: translateX(-4px); }
.story-order-row.is-processing span i { background: var(--primary); box-shadow: 0 0 0 5px rgba(115,103,240,.1); }
.story-queue-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}
.story-queue-summary span { padding: 9px; border-radius: 12px; background: rgba(115,103,240,.055); color: var(--muted); font-size: .67rem; text-align: center; }
.story-queue-summary b { color: var(--ink); }
.story-scan-card,
.story-shipment-card { padding: 18px; border: 1px solid rgba(115,103,240,.11); border-radius: 20px; background: #fff; }
.story-product { justify-content: space-between; gap: 12px; }
.story-product > div:nth-child(2) { min-width: 0; flex: 1; }
.story-product b,.story-shipment-top b { display: block; color: var(--ink); font-size: .9rem; }
.story-product small,.story-shipment-top small { display: block; color: var(--muted); font-size: .69rem; }
.story-product-thumb,.story-package-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--primary-700);
  background: var(--primary-100);
}
.story-scan-ok { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--success); }
.story-barcode {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  height: 86px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f9fafb;
  padding: 18px 26px;
}
.story-barcode span { width: 5px; background: var(--ink); border-radius: 2px; }
.story-barcode span:nth-child(2n) { width: 2px; }
.story-barcode i { position: absolute; top: 10px; bottom: 10px; left: 20%; width: 2px; background: var(--danger); box-shadow: 0 0 12px rgba(240,68,56,.35); animation: pf-scan 2.2s ease-in-out infinite alternate; }
.story-check-list { display: grid; gap: 9px; }
.story-check-list span { display: flex; align-items: center; gap: 9px; font-size: .75rem; }
.story-check-list .done { color: #067647; }
.story-check-list .working { color: var(--primary-700); }
.story-check-list .working i { animation: pf-spin 1.2s linear infinite; }
.story-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 18px; }
.story-metrics article { padding: 12px; border: 1px solid rgba(115,103,240,.1); border-radius: 14px; background: #fff; }
.story-metrics small,.story-metrics em { display: block; color: var(--muted); font-size: .64rem; font-style: normal; }
.story-metrics strong { display: block; margin: 4px 0; color: var(--ink); font-size: 1.25rem; line-height: 1.1; }
.story-metrics article:first-child em { color: #067647; }
.story-chart { position: relative; height: 180px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 18px 16px 0; border-radius: 16px; background: linear-gradient(180deg,#fff,rgba(247,246,255,.82)); overflow: hidden; }
.story-chart::before { content: ""; position: absolute; inset: 20px 16px; background: repeating-linear-gradient(to bottom,rgba(115,103,240,.08) 0 1px,transparent 1px 38px); }
.story-chart > div { position: relative; z-index: 2; flex: 1; max-width: 30px; height: var(--h); min-height: 16px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg,var(--primary),rgba(115,103,240,.42)); transform-origin: bottom; animation: pf-bar-grow .8s cubic-bezier(.22,.7,.2,1) both; }
.story-chart > div:nth-child(2) { animation-delay: .06s; }.story-chart > div:nth-child(3){animation-delay:.12s}.story-chart > div:nth-child(4){animation-delay:.18s}.story-chart > div:nth-child(5){animation-delay:.24s}.story-chart > div:nth-child(6){animation-delay:.3s}.story-chart > div:nth-child(7){animation-delay:.36s}
.story-chart-labels { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; margin-top: 7px; color: var(--muted); font-size: .58rem; text-align: center; }
.story-integration-map { position: relative; min-height: 320px; }
.story-integration-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.story-integration-map svg path { fill: none; stroke: rgba(115,103,240,.22); stroke-width: 2; stroke-dasharray: 7 7; animation: pf-dash 10s linear infinite; }
.story-source,.story-target,.story-hub { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(115,103,240,.12); border-radius: 13px; background: #fff; color: var(--ink); font-size: .72rem; box-shadow: 0 8px 22px rgba(27,30,59,.06); }
.story-source i,.story-target i { color: var(--primary); }
.source-a{right:0;top:20px}.source-b{right:0;top:126px}.source-c{right:0;bottom:20px}.target-a{left:0;top:70px}.target-b{left:0;bottom:48px}
.story-hub { top:50%;left:50%; flex-direction:column; gap:3px; min-width:90px; padding:16px 12px; transform:translate(-50%,-50%); border-color:rgba(115,103,240,.25); box-shadow:0 18px 44px rgba(115,103,240,.13); }
.story-hub span { display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:#fff;background:var(--primary);font-weight:850; }
.story-hub b { font-size:.75rem; }
.story-hub i { position:absolute; inset:-8px; border:1px solid rgba(115,103,240,.18); border-radius:18px; animation:pf-hub-ring 2.2s ease-out infinite; }
.story-shipment-top { gap: 12px; }
.story-shipment-top > div { flex:1; min-width:0; }
.story-ready-chip { gap:6px; padding:5px 8px; border-radius:999px; background:rgba(18,183,106,.08); color:#067647; font-size:.67rem; font-weight:750; }
.story-shipping-progress { position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; margin:28px 0 24px; }
.story-shipping-progress::before { content:""; position:absolute; top:7px; right:10%; left:10%; height:2px; background:#ebeaf7; }
.story-shipping-progress span { position:relative; z-index:2; display:grid; justify-items:center; gap:7px; color:var(--muted); font-size:.64rem; text-align:center; }
.story-shipping-progress i { width:16px;height:16px;border:3px solid #ebeaf7;border-radius:50%;background:#fff; }
.story-shipping-progress .done i,.story-shipping-progress .active i { border-color:var(--primary);background:var(--primary); }
.story-shipping-progress .active i { box-shadow:0 0 0 6px rgba(115,103,240,.11);animation:pf-live-pulse 1.8s ease-out infinite; }
.story-shipping-progress .active b { color:var(--ink); }
.story-label-preview { display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px dashed rgba(115,103,240,.25);border-radius:14px;background:#fbfbff; }
.story-label-preview small,.story-label-preview span { display:block;color:var(--muted);font-size:.64rem; }.story-label-preview strong{display:block;color:var(--ink);font-size:.8rem;margin:2px 0}
.story-label-code { display:flex;gap:3px;align-self:stretch;padding:4px 0; }.story-label-code i{display:block;width:3px;background:var(--ink);border-radius:2px}.story-label-code i:nth-child(2n){width:1px}.story-label-code i:nth-child(3n){width:5px}

@keyframes pf-live-pulse { 0%{box-shadow:0 0 0 0 rgba(18,183,106,.2)} 70%{box-shadow:0 0 0 8px rgba(18,183,106,0)} 100%{box-shadow:0 0 0 0 rgba(18,183,106,0)} }
@keyframes pf-scroll-dot { 0%{transform:translate(-50%,0);opacity:.35} 45%{opacity:1} 100%{transform:translate(-50%,12px);opacity:0} }
@keyframes pf-scan { from{left:18%} to{left:82%} }
@keyframes pf-spin { to{transform:rotate(360deg)} }
@keyframes pf-bar-grow { from{transform:scaleY(.08);opacity:.15} to{transform:scaleY(1);opacity:1} }
@keyframes pf-dash { to{stroke-dashoffset:-120} }
@keyframes pf-hub-ring { 0%{transform:scale(.94);opacity:.75} 75%{transform:scale(1.12);opacity:0} 100%{opacity:0} }

@media (hover:hover) and (pointer:fine) {
  .packflow-story-step:hover { background: rgba(255,255,255,.44); }
  .packflow-story-step:hover .story-step-number { border-color: rgba(115,103,240,.28); }
}

@media (max-width: 1050px) {
  .packflow-live-hero .hero-wrapper-visual { width:min(100%,680px); margin-inline:auto; }
  .packflow-story-layout { grid-template-columns:minmax(0,1fr) minmax(280px,.72fr); gap:28px; }
}
@media (max-width: 820px) {
  .packflow-story-layout { display:flex; flex-direction:column; direction:rtl; gap:18px; }
  .packflow-story-stage { position:relative; top:auto; width:100%; order:1; }
  .packflow-story-steps { order:2; display:flex; gap:10px; width:100%; overflow-x:auto; padding:0 0 8px; scroll-snap-type:x proximity; scrollbar-width:none; }
  .packflow-story-steps::-webkit-scrollbar { display:none; }
  .packflow-story-step { flex:0 0 min(78vw,300px); min-height:150px; grid-template-columns:40px 1fr; padding:18px 14px; border:1px solid rgba(115,103,240,.11); border-radius:18px; background:rgba(255,255,255,.76); scroll-snap-align:start; }
  .packflow-story-step::before { top:14px; bottom:14px; right:0; }
  .story-step-number { width:38px;height:38px;border-radius:12px; }
  .story-step-copy em { opacity:1; transform:none; }
  .story-scroll-hint { display:none; }
  .story-stage-scenes { min-height:430px; }
}
@media (max-width: 640px) {
  .packflow-live-hero .hero-wrapper-visual { min-height:0; padding:16px 0 48px; }
  .packflow-live-app { border-radius:22px; }
  .live-app-topbar { min-height:58px; padding:11px 12px; }
  .live-app-topbar strong { font-size:.8rem; }
  .live-brand-mark { width:30px;height:30px;border-radius:9px; }
  .live-app-metrics { gap:6px; padding:10px 10px 8px; }
  .live-app-metrics article { padding:10px 8px; border-radius:12px; }
  .live-app-metrics b { font-size:1.12rem; }
  .live-app-workspace { padding:6px 10px 12px; }
  .live-order-row { grid-template-columns:1fr .9fr; gap:7px; padding:7px 8px; }
  .live-order-state { display:none; }
  .live-flow-line > span em { font-size:.56rem; }
  .live-flow-line > span > i { width:25px;height:25px;border-width:2px; }
  .live-flow-package { display:none; }
  .packflow-live-hero .hero-float-card { transform:scale(.9); }
  .story-stage-shell { border-radius:22px; }
  .story-stage-scenes { min-height:390px; }
  .story-scene { padding:16px 12px; }
  .story-stage-toolbar,.story-stage-footer { padding-inline:12px; }
  .story-metrics { grid-template-columns:1fr 1fr; }
  .story-metrics article:last-child { grid-column:1/-1; }
  .story-chart { height:150px; gap:6px; padding-inline:10px; }
  .story-chart-labels { font-size:.5rem; }
  .story-integration-map { min-height:290px; }
  .story-source,.story-target { max-width:92px; padding:7px 8px; font-size:.62rem; }
  .story-source span,.story-target span { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .story-hub { min-width:74px; padding:12px 8px; }
  .story-hub span { width:34px;height:34px;border-radius:11px; }
  .story-ready-chip { padding:4px 6px; font-size:.59rem; }
  .story-label-preview { align-items:stretch; }
}
@media (max-width: 390px) {
  .story-stage-scenes { min-height:410px; }
  .story-order-row { grid-template-columns:.85fr 1.1fr; }
  .story-order-row small,.story-orders-head span:last-child { display:none; }
  .story-orders-head { grid-template-columns:.85fr 1.1fr; }
  .story-queue-summary { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-now i,.story-stage-toolbar i,.story-scroll-hint span::after,.story-barcode i,.story-check-list .working i,.story-chart > div,.story-integration-map svg path,.story-hub i,.story-shipping-progress .active i { animation:none !important; }
  .story-scene,.live-flow-line::after,.live-flow-package,.live-order-row { transition:none !important; }
}

/* PACKFLOW CONTENT HUB V9 */
.guide-hub-hero,.guide-hero{padding:72px 0 34px;background:linear-gradient(180deg,rgba(115,103,240,.08),rgba(255,255,255,0));}
.guide-hub-hero h1,.guide-hero h1{max-width:900px;margin:14px 0 18px;font-size:clamp(2rem,4vw,3.5rem);line-height:1.25;}
.guide-hub-hero .lead,.guide-hero .lead{max-width:820px;color:var(--muted);font-size:1.08rem;line-height:2;}
.guide-hub-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px;}
.guide-hub-pillars a{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(34,31,80,.06);}
.guide-hub-pillars a strong{color:var(--ink)}.guide-hub-pillars a span{color:var(--muted);font-size:.9rem;line-height:1.8}
.guide-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.guide-hub-card{display:flex;flex-direction:column;min-height:250px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(34,31,80,.06);transition:.2s ease;}
.guide-hub-card:hover{transform:translateY(-3px);border-color:rgba(115,103,240,.35);box-shadow:0 18px 42px rgba(34,31,80,.1)}
.guide-hub-card>span,.guide-related-card>span{font-size:.78rem;color:var(--primary);font-weight:800}.guide-hub-card h2{font-size:1.15rem;line-height:1.65;margin:10px 0}.guide-hub-card p{color:var(--muted);line-height:1.9;flex:1}.guide-hub-card em{font-style:normal;color:var(--primary);font-weight:800;margin-top:14px}
.guide-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}.guide-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:.85rem}.guide-hero-aside{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(34,31,80,.08)}.guide-hero-aside strong{display:block;font-size:1.05rem;margin-bottom:8px}.guide-hero-aside p{color:var(--muted);line-height:1.9;font-size:.92rem}.guide-hero-aside .btn{margin-top:10px;width:100%;justify-content:center}
.guide-body{padding:18px 0 72px}.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:42px;align-items:start}.guide-content{max-width:820px}.article-section{padding:26px 0;border-bottom:1px solid var(--line)}.article-section:first-child{padding-top:8px}.article-section h2{font-size:clamp(1.45rem,2.3vw,2rem);line-height:1.55;margin:0 0 14px}.article-section h3{margin-top:24px}.article-section p{font-size:1rem;line-height:2.15;color:#34354d;margin:0 0 14px}.article-section a{color:var(--primary);text-decoration:underline;text-underline-offset:4px}.guide-list,.guide-steps{margin:14px 0;padding-right:22px}.guide-list li,.guide-steps li{margin:9px 0;line-height:2;color:#34354d}.guide-note{margin:20px 0;padding:18px 20px;border:1px solid rgba(115,103,240,.22);border-right:4px solid var(--primary);border-radius:16px;background:rgba(115,103,240,.05)}.guide-note strong{display:block;margin-bottom:4px}.guide-note p{margin:0;font-size:.94rem}.guide-table-wrap{overflow-x:auto;margin:18px 0}.guide-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.guide-table th,.guide-table td{padding:13px 14px;text-align:right;border-bottom:1px solid var(--line);line-height:1.8}.guide-table th{background:#f7f7fc;color:var(--ink);font-weight:800}.guide-table tr:last-child td{border-bottom:0}
.guide-sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:16px}.article-toc,.guide-sidebar-cta{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.article-toc strong{display:block;margin-bottom:10px}.article-toc ol{margin:0;padding-right:20px}.article-toc li{margin:8px 0;color:var(--muted);line-height:1.7}.article-toc a{color:inherit}.guide-sidebar-cta{background:#11162b;color:#fff}.guide-sidebar-cta p{color:rgba(255,255,255,.75);line-height:1.8;font-size:.9rem}.guide-sidebar-cta a{display:inline-block;color:#fff;font-weight:800;margin-top:4px}.guide-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.guide-related-card{display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;min-height:145px}.guide-related-card strong{font-size:1rem;line-height:1.7;margin:7px 0}.guide-related-card p{font-size:.88rem!important;line-height:1.8!important;color:var(--muted)!important}.guide-related-card em{margin-top:auto;font-style:normal;color:var(--primary);font-size:.86rem;font-weight:800}.guide-landing-related{border-top:1px solid rgba(115,103,240,.08)}
@media (max-width:980px){.guide-hub-grid{grid-template-columns:repeat(2,1fr)}.guide-hub-pillars{grid-template-columns:1fr}.guide-hero-grid,.guide-layout{grid-template-columns:1fr}.guide-sidebar{position:static;order:-1}.article-toc{display:none}.guide-related-grid{grid-template-columns:1fr 1fr}.guide-hero-aside{max-width:none}}
@media (max-width:640px){.guide-hub-hero,.guide-hero{padding-top:40px}.guide-hub-grid,.guide-related-grid{grid-template-columns:1fr}.guide-hub-card{min-height:auto}.guide-meta{gap:9px}.article-section{padding:22px 0}.guide-table th,.guide-table td{min-width:150px}}
