/* ==========================================================================
   Techmatic Systems — Quality Engineering page
   --------------------------------------------------------------------------
   Every rule is scoped under .tmqe so nothing here can leak into the
   WordPress theme when this block is pasted into the live page.
   Brand tokens are sampled from techmaticsys.com.
   ========================================================================== */

.tmqe {
  /* brand — sampled from the live site */
  --tm-accent:      #0195ff;   /* primary CTA / link blue                     */
  --tm-accent-dark: #0177cc;
  --tm-accent-lite: #4fb8ff;
  --tm-accent-soft: rgba(1, 149, 255, .08);
  --tm-red:         #c42032;   /* brand red                                   */
  --tm-amber:       #ffb30c;
  --tm-violet:      #6d28d9;
  --tm-green:       #23c552;

  --tm-ink:         #2f353e;   /* H1 colour                                   */
  --tm-ink-2:       #222222;   /* H2 colour                                   */
  --tm-ink-3:       #434343;   /* H3 colour                                   */
  --tm-body:        #7a7a7a;   /* paragraph colour                            */
  --tm-line:        #e8ecf1;
  --tm-soft:        #f8f8f8;

  /* dark surfaces */
  --tm-dark:        #070c18;
  --tm-dark-2:      #0d1526;
  --tm-panel:       #0e1728;

  /* type — Open Sans headings, Montserrat sub-heads/body, Rubik UI */
  --tm-font-head: "Open Sans", sans-serif;
  --tm-font-body: "Montserrat", sans-serif;
  --tm-font-ui:   "Rubik", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tm-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

  --tm-radius:    16px;        /* matches the live .cbox cards                */
  --tm-radius-sm: 5px;         /* matches the live button radius              */
  --tm-shadow:    0 5px 84px rgba(0, 0, 0, .05);
  --tm-shadow-up: 0 22px 60px -22px rgba(47, 53, 62, .28);
  --tm-ease:      cubic-bezier(.22, .61, .36, 1);

  /* Clearance used when scrolling to a section, so headings are not hidden
     behind the fixed site header. The live header measures ~117px — retune
     this one value if that changes. */
  --tm-scroll-offset: 130px;

  font-family: var(--tm-font-body);
  color: var(--tm-body);
  font-size: 17px;
  line-height: 1.667;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.tmqe *, .tmqe *::before, .tmqe *::after { box-sizing: border-box; }
.tmqe h1, .tmqe h2, .tmqe h3, .tmqe h4 { margin: 0 0 .6em; }
.tmqe p { margin: 0 0 1.1em; }
.tmqe strong { color: var(--tm-ink-2); font-weight: 600; }
.tmqe a { text-decoration: none; }

/* ==========================================================================
   Shared background machinery — grid, mesh, blobs, scan beam
   ========================================================================== */
.tmqe .tm-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.tmqe .tm-section > .container,
.tmqe .tm-hero > .container,
.tmqe .tm-pipeline > .container { position: relative; z-index: 1; }

.tmqe .tm-bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 8%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 8%, transparent 72%);
  animation: tmGridPan 24s linear infinite;
}
.tmqe .tm-bg-soft .tm-bg-grid {
  background-image:
    linear-gradient(rgba(1,149,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,149,255,.07) 1px, transparent 1px);
}
@keyframes tmGridPan { to { background-position: 62px 62px; } }

/* animated multi-stop mesh behind the hero */
.tmqe .tm-bg-mesh {
  position: absolute; inset: -25%;
  background:
    radial-gradient(38% 42% at 18% 26%, rgba(1,149,255,.55), transparent 62%),
    radial-gradient(34% 40% at 82% 22%, rgba(109,40,217,.48), transparent 62%),
    radial-gradient(36% 44% at 70% 82%, rgba(196,32,50,.42), transparent 62%),
    radial-gradient(30% 36% at 26% 84%, rgba(255,179,12,.30), transparent 62%);
  filter: blur(24px);
  animation: tmMesh 22s ease-in-out infinite;
}
@keyframes tmMesh {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33%      { transform: scale(1.12) rotate(4deg); }
  66%      { transform: scale(1.04) rotate(-3deg); }
}

.tmqe .tm-blob { position: absolute; border-radius: 50%; filter: blur(8px); }
.tmqe .tm-blob-a { width: 420px; height: 420px; top: -140px; left: -80px;  background: radial-gradient(circle, rgba(1,149,255,.42), transparent 68%);  animation: tmDrift 19s ease-in-out infinite; }
.tmqe .tm-blob-b { width: 360px; height: 360px; bottom: -130px; right: 6%; background: radial-gradient(circle, rgba(196,32,50,.38), transparent 68%);  animation: tmDrift 25s ease-in-out infinite reverse; }
.tmqe .tm-blob-c { width: 300px; height: 300px; top: 46%; left: 44%;       background: radial-gradient(circle, rgba(255,179,12,.26), transparent 68%); animation: tmDrift 31s ease-in-out infinite; }
.tmqe .tm-blob-d { width: 480px; height: 480px; top: -190px; right: -140px; background: radial-gradient(circle, rgba(1,149,255,.16), transparent 70%);  animation: tmDrift 23s ease-in-out infinite; }
.tmqe .tm-blob-e { width: 380px; height: 380px; bottom: -160px; left: -130px; background: radial-gradient(circle, rgba(109,40,217,.11), transparent 70%); animation: tmDrift 29s ease-in-out infinite reverse; }
.tmqe .tm-blob-f { width: 520px; height: 200px; top: -60px; left: 30%;      background: radial-gradient(circle, rgba(1,149,255,.30), transparent 70%);  animation: tmDrift 21s ease-in-out infinite; }
.tmqe .tm-blob-g { width: 520px; height: 520px; top: -180px; left: -160px;  background: radial-gradient(circle, rgba(1,149,255,.30), transparent 66%);  animation: tmDrift 24s ease-in-out infinite; }
.tmqe .tm-blob-h { width: 400px; height: 400px; bottom: -160px; right: -110px; background: radial-gradient(circle, rgba(196,32,50,.28), transparent 66%); animation: tmDrift 27s ease-in-out infinite reverse; }
.tmqe .tm-blob-i { width: 440px; height: 440px; top: -170px; left: -120px;  background: radial-gradient(circle, rgba(255,179,12,.18), transparent 70%); animation: tmDrift 26s ease-in-out infinite; }
.tmqe .tm-blob-j { width: 400px; height: 400px; bottom: -170px; right: -120px; background: radial-gradient(circle, rgba(1,149,255,.14), transparent 70%); animation: tmDrift 30s ease-in-out infinite reverse; }
@keyframes tmDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(46px, -32px) scale(1.1); }
  66%      { transform: translate(-30px, 36px) scale(.94); }
}

/* sweeping scan beam — the "a run is in progress" cue */
.tmqe .tm-scan {
  position: absolute; left: 0; right: 0; height: 190px; top: -190px;
  background: linear-gradient(180deg, transparent, rgba(1,149,255,.16) 45%, rgba(255,255,255,.22) 50%, rgba(1,149,255,.16) 55%, transparent);
  animation: tmScan 7s linear infinite;
}
.tmqe .tm-scan-slow { animation-duration: 11s; background: linear-gradient(180deg, transparent, rgba(255,255,255,.16) 50%, transparent); }
@keyframes tmScan { to { transform: translateY(calc(100vh + 380px)); } }

/* ==========================================================================
   Type scale
   ========================================================================== */
.tmqe .tm-eyebrow {
  display: inline-block; position: relative; padding-left: 34px;
  font-family: var(--tm-font-ui);
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tm-accent); margin-bottom: 18px;
}
.tmqe .tm-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; background: var(--tm-accent); transform-origin: left center;
  animation: tmRule .9s var(--tm-ease) both;
}
.tmqe .tm-eyebrow-light { color: var(--tm-accent-lite); }
@keyframes tmRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.tmqe .tm-hero-title {
  font-family: var(--tm-font-head);
  /* Sized so "AI-era software delivery" stays on one line inside the copy
     column at every breakpoint — it is the widest phrase in the headline. */
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 700; line-height: 1.18; letter-spacing: -.6px; color: #fff;
}
.tmqe .tm-h2 {
  font-family: var(--tm-font-head);
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 600; line-height: 1.3; color: var(--tm-ink-2);
}
.tmqe .tm-h2-light { color: #fff; }
.tmqe .tm-lead { font-size: 18px; line-height: 1.72; max-width: 46em; }
.tmqe .tm-lead-light { color: rgba(255,255,255,.76); }
.tmqe .tm-lead-light strong { color: #fff; }
.tmqe .tm-center { margin-left: auto; margin-right: auto; }

/* Highlighted phrase in the H1.
   inline-block + max-width keeps the underline spanning the phrase without
   letting it push out of its column; it previously used white-space: nowrap,
   which overflowed into the runner panel at desktop widths. */
.tmqe .tm-hl {
  position: relative; display: inline-block; max-width: 100%;
  background: linear-gradient(100deg, var(--tm-accent-lite), #b98bff 46%, #ff6b7d 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tmqe .tm-hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 3px;
  background: linear-gradient(90deg, var(--tm-accent), #b98bff, var(--tm-red));
  border-radius: 3px; transform: scaleX(0); transform-origin: left center;
  animation: tmRule 1s var(--tm-ease) 1.1s both;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.tmqe .tm-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--tm-font-ui); font-size: 16.5px; font-weight: 500;
  padding: 13px 32px; border: 0; border-radius: var(--tm-radius-sm); cursor: pointer;
  transition: transform .25s var(--tm-ease), box-shadow .25s var(--tm-ease),
              background-color .25s var(--tm-ease), color .25s var(--tm-ease);
}
.tmqe .tm-btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s var(--tm-ease);
}
.tmqe .tm-btn:hover::after { left: 130%; }

.tmqe .tm-btn-primary {
  background: linear-gradient(100deg, var(--tm-accent), #22a7ff);
  color: #fff; box-shadow: 0 12px 30px -12px rgba(1,149,255,.95);
}
.tmqe .tm-btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(1,149,255,1); }

/* Brand-red primary — used on the hero's lead CTA. Swap the class on any
   other .tm-btn to carry the same treatment (e.g. the ERP section button). */
.tmqe .tm-btn-red {
  background: linear-gradient(100deg, var(--tm-red) 0%, #dd2739 100%);
  color: #fff;
  box-shadow: 0 12px 32px -10px rgba(196,32,50,.85),
              0 0 0 1px rgba(255,255,255,.07) inset;
  animation: tmRedGlow 3.2s ease-in-out infinite;
}
.tmqe .tm-btn-red:hover {
  color: #fff; transform: translateY(-3px);
  background: linear-gradient(100deg, #d32335 0%, #ec2f43 100%);
  box-shadow: 0 22px 46px -12px rgba(196,32,50,1),
              0 0 0 1px rgba(255,255,255,.12) inset;
  animation: none;
}
@keyframes tmRedGlow {
  0%, 100% { box-shadow: 0 12px 32px -10px rgba(196,32,50,.85), 0 0 0 1px rgba(255,255,255,.07) inset; }
  50%      { box-shadow: 0 14px 44px -8px  rgba(196,32,50,1),   0 0 0 1px rgba(255,255,255,.07) inset; }
}

.tmqe .tm-btn-glass {
  background: rgba(255,255,255,.08); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.tmqe .tm-btn-glass:hover { color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); transform: translateY(-3px); }

.tmqe .tm-btn-light { background: #fff; color: var(--tm-accent); }
.tmqe .tm-btn-light:hover { background: #fff; color: var(--tm-accent-dark); transform: translateY(-3px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.tmqe .tm-btn-block { width: 100%; }
.tmqe .tm-btn:focus-visible { outline: 3px solid rgba(255,255,255,.6); outline-offset: 2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.tmqe .tm-hero {
  position: relative; overflow: hidden;
  padding: 120px 0 76px;
  background: linear-gradient(165deg, #070c18 0%, #0d1526 55%, #101c33 100%);
}
/* animated gradient rail across the very top */
.tmqe .tm-topline {
  position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-violet), var(--tm-red), var(--tm-amber), var(--tm-accent));
  background-size: 300% 100%;
  animation: tmSlide 8s linear infinite;
}
@keyframes tmSlide { to { background-position: 300% 0; } }

.tmqe .tm-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--tm-font-ui); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 16px 7px 13px; border-radius: 999px; margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.tmqe .tm-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--tm-green);
  box-shadow: 0 0 0 0 rgba(35,197,82,.75); animation: tmPing 1.8s ease-out infinite;
}
@keyframes tmPing {
  0%   { box-shadow: 0 0 0 0 rgba(35,197,82,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(35,197,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,197,82,0); }
}

.tmqe .tm-hero-lead { font-size: 18px; line-height: 1.75; max-width: 34em; margin-bottom: 32px; color: rgba(255,255,255,.72); }
.tmqe .tm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Breathing room between the copy and the runner. Bootstrap's 30px gutter
   alone left the two columns visually colliding at lg/xl. */
@media (min-width: 992px) {
  .tmqe .tm-hero-copy   { padding-right: 32px; }
  .tmqe .tm-hero-visual { padding-left: 24px; }
}
@media (min-width: 1200px) {
  .tmqe .tm-hero-copy   { padding-right: 40px; }
}

/* entrance stagger — released by JS via .is-ready */
.tmqe .tm-in { opacity: 0; transform: translateY(26px); }
.tmqe.is-ready .tm-in { opacity: 1; transform: none; transition: opacity .8s var(--tm-ease), transform .8s var(--tm-ease); }
.tmqe.is-ready .tm-in[data-in="1"] { transition-delay: .05s; }
.tmqe.is-ready .tm-in[data-in="2"] { transition-delay: .16s; }
.tmqe.is-ready .tm-in[data-in="3"] { transition-delay: .27s; }
.tmqe.is-ready .tm-in[data-in="4"] { transition-delay: .38s; }
.tmqe.is-ready .tm-in[data-in="5"] { transition-delay: .30s; }
.tmqe.is-ready .tm-in[data-in="6"] { transition-delay: .58s; }

/* ==========================================================================
   LIVE TEST RUNNER
   ========================================================================== */
.tmqe .tm-runner {
  position: relative;
  background: linear-gradient(180deg, rgba(14,23,40,.96), rgba(9,15,28,.98));
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px -34px rgba(0,0,0,.9), 0 0 0 1px rgba(1,149,255,.08);
}
.tmqe .tm-runner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--tm-accent), var(--tm-violet), transparent);
  background-size: 220% 100%; animation: tmSlide 5s linear infinite;
}

.tmqe .tm-runner-head {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.tmqe .tm-dot { width: 10px; height: 10px; border-radius: 50%; }
.tmqe .tm-dot:nth-child(1) { background: #ff5f57; }
.tmqe .tm-dot:nth-child(2) { background: #febc2e; }
.tmqe .tm-dot:nth-child(3) { background: #28c840; }
.tmqe .tm-runner-name {
  margin-left: 10px; font-family: var(--tm-font-mono);
  font-size: 12px; color: rgba(255,255,255,.42);
}
.tmqe .tm-runner-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--tm-font-ui); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: #ff8a8a;
}
.tmqe .tm-runner-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; animation: tmBlinkDot 1.4s ease-in-out infinite; }
@keyframes tmBlinkDot { 50% { opacity: .25; } }

/* progress */
.tmqe .tm-runner-prog {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.tmqe .tm-track { flex: 1 1 auto; height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.tmqe .tm-fill {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--tm-accent), #4fd1ff, var(--tm-green));
  background-size: 200% 100%;
  transition: width .45s var(--tm-ease);
  animation: tmSlide 3s linear infinite;
}
.tmqe .tm-pct, .tmqe .tm-clock {
  font-family: var(--tm-font-mono); font-size: 11.5px; color: rgba(255,255,255,.55);
  min-width: 44px; text-align: right;
}

/* spec rows */
.tmqe .tm-specs { list-style: none; margin: 0; padding: 8px 6px; }
.tmqe .tm-spec {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 12px; border-radius: 8px;
  font-family: var(--tm-font-mono); font-size: 12.5px; color: rgba(255,255,255,.34);
  transition: background-color .3s var(--tm-ease), color .3s var(--tm-ease);
}
.tmqe .tm-spec.is-run  { background: rgba(1,149,255,.12); color: rgba(255,255,255,.9); }
.tmqe .tm-spec.is-pass { color: rgba(255,255,255,.62); }
.tmqe .tm-spec-mark {
  flex: 0 0 15px; width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22); position: relative;
}
.tmqe .tm-spec.is-run .tm-spec-mark {
  border-color: rgba(1,149,255,.35); border-top-color: var(--tm-accent);
  animation: tmSpin .7s linear infinite;
}
@keyframes tmSpin { to { transform: rotate(360deg); } }
.tmqe .tm-spec.is-pass .tm-spec-mark { border-color: var(--tm-green); background: rgba(35,197,82,.16); animation: none; }
.tmqe .tm-spec.is-pass .tm-spec-mark::after {
  content: ""; position: absolute; left: 4.5px; top: 1.5px;
  width: 4px; height: 8px; border: solid var(--tm-green); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg);
}
.tmqe .tm-spec-name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmqe .tm-spec-ms { color: rgba(255,255,255,.3); font-size: 11.5px; }
.tmqe .tm-spec-heal {
  font-family: var(--tm-font-ui); font-size: 9.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: #0b1220; background: var(--tm-amber);
  padding: 2px 7px; border-radius: 99px;
  opacity: 0; transform: scale(.6); transition: all .35s var(--tm-ease);
}
.tmqe .tm-spec.is-healed .tm-spec-heal { opacity: 1; transform: none; }

/* console line */
.tmqe .tm-runner-console {
  padding: 12px 18px; min-height: 44px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.28);
  font-family: var(--tm-font-mono); font-size: 12px; line-height: 1.6;
  color: rgba(255,255,255,.7); white-space: pre-wrap; word-break: break-word;
}
.tmqe .tm-runner-console .c  { color: rgba(255,255,255,.35); }
.tmqe .tm-runner-console .k  { color: #6fb5ff; }
.tmqe .tm-runner-console .s  { color: #ffd479; }
.tmqe .tm-runner-console .ok { color: var(--tm-green); font-weight: 700; }
.tmqe .tm-caret { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; background: var(--tm-accent); animation: tmBlink 1s steps(2, start) infinite; }
@keyframes tmBlink { to { visibility: hidden; } }

.tmqe .tm-runner-foot {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 13px 18px; border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  font-family: var(--tm-font-ui); font-size: 12.5px; color: rgba(255,255,255,.45);
}
.tmqe .tm-stat b { font-size: 14px; font-weight: 700; margin-right: 3px; }
.tmqe .tm-stat-pass b { color: var(--tm-green); }
.tmqe .tm-stat-heal b { color: var(--tm-amber); }
.tmqe .tm-stat-fail b { color: rgba(255,255,255,.55); }

/* marquee */
.tmqe .tm-marquee {
  margin-top: 54px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 26px;
}
.tmqe .tm-marquee-label {
  flex: 0 0 auto; font-family: var(--tm-font-ui); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35);
}
.tmqe .tm-marquee-track {
  position: relative; flex: 1 1 auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 13%, #000 90%, transparent);
}
.tmqe .tm-marquee-set {
  display: flex; gap: 42px; margin: 0; padding: 0; list-style: none;
  width: max-content; animation: tmMarquee 24s linear infinite;
}
.tmqe .tm-marquee-track:hover .tm-marquee-set { animation-play-state: paused; }
.tmqe .tm-marquee-set li { font-family: var(--tm-font-ui); font-size: 15px; font-weight: 500; color: rgba(255,255,255,.55); white-space: nowrap; }
@keyframes tmMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Scroll reveal — hidden state gated on .tm-js, which main.js sets on itself
   ========================================================================== */
.tm-js .tmqe [data-reveal] { opacity: 0; transform: translateY(30px); }
.tm-js .tmqe [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--tm-ease), transform .75s var(--tm-ease);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.tmqe .tm-section { position: relative; padding: 92px 0; overflow: hidden; }
.tmqe .tm-section-tint { background: linear-gradient(180deg, #ffffff 0%, #f2f7fd 100%); }
.tmqe .tm-section-warm { background: linear-gradient(180deg, #fffdf7 0%, #f4f8fd 100%); }
.tmqe .tm-section-dark { background: linear-gradient(155deg, #0d1526 0%, #131f36 60%, #0a1120 100%); color: rgba(255,255,255,.75); }

/* aggressive animated gradient on the closing CTA */
.tmqe .tm-section-cta {
  background: linear-gradient(115deg, #0195ff 0%, #0b63d6 20%, #6d28d9 44%, #c42032 72%, #ff6a00 100%);
  background-size: 320% 320%;
  animation: tmCta 18s ease infinite;
}
@keyframes tmCta {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.tmqe .tm-cards { margin-top: 46px; }
.tmqe .tm-cards > [class*="col-"] { margin-bottom: 30px; }

.tmqe .tm-card {
  position: relative; width: 100%; overflow: hidden;
  display: flex; flex-direction: column; padding: 35px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(4px);
  border: 1px solid var(--tm-line); border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow);
  transition: transform .38s var(--tm-ease), box-shadow .38s var(--tm-ease), border-color .38s var(--tm-ease);
}
.tmqe .tm-card:hover { transform: translateY(-8px); box-shadow: var(--tm-shadow-up); border-color: transparent; background: #fff; }

.tmqe .tm-card-rule {
  position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-violet), var(--tm-red));
  transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--tm-ease);
}
.tmqe .tm-card:hover .tm-card-rule { transform: scaleX(1); }
.tmqe .tm-card-accent { border-color: rgba(1,149,255,.3); }
.tmqe .tm-card-accent .tm-card-rule { transform: scaleX(1); }

.tmqe .tm-flag {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--tm-font-ui); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(100deg, var(--tm-accent), var(--tm-violet));
  padding: 5px 11px; border-radius: 999px;
}

.tmqe .tm-card-icon {
  position: relative;
  width: 56px; height: 56px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--tm-accent-soft); color: var(--tm-accent);
  transition: transform .45s var(--tm-ease), background-color .35s var(--tm-ease), color .35s var(--tm-ease);
}
.tmqe .tm-card-icon svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.tmqe .tm-pulse {
  position: absolute; inset: 0; border-radius: 14px;
  border: 1.5px solid var(--tm-accent); opacity: 0;
  animation: tmPulse 2.8s ease-out infinite;
}
@keyframes tmPulse {
  0%   { opacity: .5; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.35); }
  100% { opacity: 0;  transform: scale(1.35); }
}
.tmqe .tm-card:hover .tm-card-icon {
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-violet));
  color: #fff; transform: translateY(-3px) rotate(-6deg);
}

.tmqe .tm-card-title { font-family: var(--tm-font-body); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--tm-ink-3); }
.tmqe .tm-card-copy { font-size: 15.5px; line-height: 1.72; margin-bottom: 20px; }

.tmqe .tm-chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0 0 22px; }
.tmqe .tm-chips li {
  font-family: var(--tm-font-ui); font-size: 12.5px; font-weight: 500;
  color: #6b7683; background: rgba(255,255,255,.7); border: 1px solid var(--tm-line);
  padding: 5px 12px; border-radius: 999px;
  transition: border-color .3s var(--tm-ease), color .3s var(--tm-ease);
}
.tmqe .tm-card:hover .tm-chips li { border-color: rgba(1,149,255,.35); color: var(--tm-accent); }

/* accordion */
.tmqe .tm-acc-toggle {
  margin-top: auto; width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; border-top: 1px solid var(--tm-line); padding: 16px 0 0;
  font-family: var(--tm-font-ui); font-size: 14px; font-weight: 500; color: var(--tm-accent);
}
.tmqe .tm-acc-toggle:focus-visible { outline: 2px solid rgba(1,149,255,.5); outline-offset: 3px; }
.tmqe .tm-acc-icon {
  position: relative; margin-left: auto; width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: 50%; background: var(--tm-accent-soft);
  transition: background-color .3s var(--tm-ease), transform .35s var(--tm-ease);
}
.tmqe .tm-acc-icon::before, .tmqe .tm-acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--tm-accent);
  transform: translate(-50%, -50%); transition: transform .35s var(--tm-ease), opacity .25s;
}
.tmqe .tm-acc-icon::before { width: 8px; height: 1.5px; }
.tmqe .tm-acc-icon::after  { width: 1.5px; height: 8px; }
.tmqe .tm-acc-toggle[aria-expanded="true"] .tm-acc-icon { transform: rotate(90deg); }
.tmqe .tm-acc-toggle[aria-expanded="true"] .tm-acc-icon::after { opacity: 0; }
.tmqe .tm-acc-panel { overflow: hidden; }

.tmqe .tm-ticks { list-style: none; padding: 0; margin: 16px 0 4px; }
.tmqe .tm-ticks li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14.5px; line-height: 1.6; }
.tmqe .tm-ticks li::before {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 5px; height: 9px; border: solid var(--tm-accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.tmqe .tm-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 18px; padding: 20px 24px;
  background: rgba(1,149,255,.07); border-left: 3px solid var(--tm-accent);
  border-radius: 0 var(--tm-radius-sm) var(--tm-radius-sm) 0;
}
.tmqe .tm-note svg { width: 21px; height: 21px; flex: 0 0 21px; margin-top: 3px; color: var(--tm-accent); }
.tmqe .tm-note p { margin: 0; font-size: 15px; line-height: 1.65; }

/* ==========================================================================
   Pipeline band
   ========================================================================== */
.tmqe .tm-pipeline {
  position: relative; overflow: hidden; padding: 40px 0;
  background: linear-gradient(100deg, #0a1120, #12203a 50%, #0a1120);
}
.tmqe .tm-pipe {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.tmqe .tm-pipe::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 11px; height: 2px;
  background: linear-gradient(90deg, rgba(1,149,255,.25), rgba(109,40,217,.35), rgba(196,32,50,.3));
}
/* travelling pulse along the pipeline */
.tmqe .tm-pipe::after {
  content: ""; position: absolute; top: 8px; left: 4%; width: 60px; height: 8px;
  border-radius: 99px; background: linear-gradient(90deg, transparent, var(--tm-accent-lite), transparent);
  filter: blur(2px); animation: tmFlow 3.6s linear infinite;
}
/* animates `left` rather than a vw translate so the pulse tracks the rule
   itself at every width instead of running past the container */
@keyframes tmFlow {
  0%        { left: 4%;                 opacity: 0; }
  12%, 88%  {                           opacity: 1; }
  100%      { left: calc(96% - 60px);   opacity: 0; }
}

.tmqe .tm-pipe-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1 1 0; }
.tmqe .tm-pipe-node {
  width: 14px; height: 14px; border-radius: 50%;
  background: #0a1120; border: 2px solid rgba(1,149,255,.5);
  box-shadow: 0 0 0 0 rgba(1,149,255,.5);
}
.tmqe .tm-pipe-step.is-on .tm-pipe-node { border-color: var(--tm-accent); background: var(--tm-accent); animation: tmPing 1.6s ease-out infinite; }
.tmqe .tm-pipe-label {
  font-family: var(--tm-font-ui); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; color: rgba(255,255,255,.42); text-align: center;
  transition: color .35s var(--tm-ease);
}
.tmqe .tm-pipe-step.is-on .tm-pipe-label { color: #fff; }

/* ==========================================================================
   ERP section
   ========================================================================== */
.tmqe .tm-section-dark .tm-lead { max-width: 32em; }
.tmqe .tm-assures { margin: 34px 0 8px; }
.tmqe .tm-assure {
  padding: 14px 0 14px 20px; margin-bottom: 6px;
  border-left: 2px solid rgba(1,149,255,.5);
  transition: border-color .3s var(--tm-ease), padding-left .3s var(--tm-ease);
}
.tmqe .tm-assure:hover { border-left-color: var(--tm-accent); padding-left: 26px; }
.tmqe .tm-assure h4 { font-family: var(--tm-font-body); font-size: 16.5px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.tmqe .tm-assure p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.58); margin: 0; }

.tmqe .tm-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tmqe .tm-platform {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 132px; padding: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--tm-radius);
  transition: transform .35s var(--tm-ease), background-color .35s var(--tm-ease), border-color .35s var(--tm-ease);
}
.tmqe .tm-platform::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(1,149,255,.3), transparent 62%);
  opacity: 0; transition: opacity .4s var(--tm-ease);
}
.tmqe .tm-platform:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(1,149,255,.55); }
.tmqe .tm-platform:hover::before { opacity: 1; }
.tmqe .tm-platform-name { position: relative; font-family: var(--tm-font-head); font-size: 20px; font-weight: 600; color: #fff; }
.tmqe .tm-platform-kind { position: relative; font-size: 13.5px; color: rgba(255,255,255,.5); margin-top: 4px; }
.tmqe .tm-platform-foot { margin: 20px 0 0; font-size: 14px; color: rgba(255,255,255,.42); }

/* ==========================================================================
   Retail tabs
   ========================================================================== */
.tmqe .tm-tabs { margin-top: 44px; }
.tmqe .tm-tablist {
  position: relative; display: flex; gap: 4px;
  border-bottom: 1px solid var(--tm-line);
  overflow-x: auto; scrollbar-width: none;
}
.tmqe .tm-tablist::-webkit-scrollbar { display: none; }
.tmqe .tm-tab {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer;
  padding: 15px 22px; white-space: nowrap;
  font-family: var(--tm-font-ui); font-size: 15px; font-weight: 500; color: #939daa;
  transition: color .3s var(--tm-ease);
}
.tmqe .tm-tab:hover { color: var(--tm-ink-2); }
.tmqe .tm-tab.is-active { color: var(--tm-accent); }
.tmqe .tm-tab:focus-visible { outline: 2px solid rgba(1,149,255,.5); outline-offset: -4px; }
.tmqe .tm-tab-ink {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-violet));
  border-radius: 2px; transition: transform .42s var(--tm-ease), width .42s var(--tm-ease);
}

.tmqe .tm-panes {
  padding: 38px 36px; background: #fff;
  border: 1px solid var(--tm-line); border-top: 0;
  border-radius: 0 0 var(--tm-radius) var(--tm-radius); box-shadow: var(--tm-shadow);
}
.tmqe .tm-pane { display: none; }
.tmqe .tm-pane.is-active { display: block; animation: tmPaneIn .5s var(--tm-ease) both; }
@keyframes tmPaneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tmqe .tm-pane h3 { font-family: var(--tm-font-body); font-size: 22px; font-weight: 600; color: var(--tm-ink-3); }
.tmqe .tm-pane p { font-size: 16px; max-width: 46em; }
.tmqe .tm-ticks-inline { display: flex; flex-wrap: wrap; gap: 4px 34px; margin-top: 6px; }
.tmqe .tm-ticks-inline li { margin-bottom: 4px; }

.tmqe .tm-channels {
  margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--tm-line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
}
.tmqe .tm-channels-label {
  font-family: var(--tm-font-ui); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #a9b2bd;
}
.tmqe .tm-channel {
  font-family: var(--tm-font-ui); font-size: 14px; font-weight: 500; color: #6b7683;
  background: #fff; border: 1px solid var(--tm-line);
  padding: 8px 18px; border-radius: 999px;
  transition: transform .3s var(--tm-ease), border-color .3s var(--tm-ease), color .3s var(--tm-ease);
}
.tmqe .tm-channel:hover { transform: translateY(-3px); border-color: var(--tm-accent); color: var(--tm-accent); }

/* ==========================================================================
   CTA form
   ========================================================================== */
.tmqe .tm-section-cta .tm-lead-light { color: rgba(255,255,255,.88); margin-bottom: 40px; }
.tmqe .tm-form {
  position: relative;
  background: rgba(10,17,32,.34); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--tm-radius); padding: 34px; backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.tmqe .tm-form .form-group { margin-bottom: 20px; }
.tmqe .tm-form label {
  display: block; margin-bottom: 7px;
  font-family: var(--tm-font-ui); font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.9);
}
.tmqe .tm-form input, .tmqe .tm-form select, .tmqe .tm-form textarea {
  width: 100%; display: block; padding: 12px 15px;
  font-family: var(--tm-font-body); font-size: 15.5px; color: #fff;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--tm-radius-sm);
  transition: border-color .25s var(--tm-ease), background-color .25s var(--tm-ease), box-shadow .25s var(--tm-ease);
}
.tmqe .tm-form textarea { resize: vertical; }
.tmqe .tm-form select option { background: #12203a; color: #fff; }
.tmqe .tm-form input:focus, .tmqe .tm-form select:focus, .tmqe .tm-form textarea:focus {
  outline: none; background: rgba(255,255,255,.2); border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22);
}
.tmqe .tm-form .is-bad { border-color: #ffc4c4; background: rgba(255,110,110,.22); }
.tmqe .tm-err { display: none; margin-top: 6px; font-size: 13px; color: #ffe0e0; }
.tmqe .tm-err.is-on { display: block; animation: tmShakeIn .4s var(--tm-ease); }
@keyframes tmShakeIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.tmqe .tm-form-status { margin: 16px 0 0; text-align: center; font-size: 14.5px; color: #fff; min-height: 1.2em; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.tmqe .tm-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-violet)); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(1,149,255,.9);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--tm-ease), transform .3s var(--tm-ease), visibility .3s;
}
.tmqe .tm-top.is-on { opacity: 1; visibility: visible; transform: none; }
.tmqe .tm-top:hover { transform: translateY(-3px); }
.tmqe .tm-top svg { width: 19px; height: 19px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .tmqe .tm-hero { padding: 68px 0 60px; }
  .tmqe .tm-runner { margin-top: 44px; }
  .tmqe .tm-section { padding: 64px 0; }
  .tmqe .tm-platforms { margin-top: 38px; }
  .tmqe .tm-pipe-label { font-size: 11.5px; }
}
@media (max-width: 767.98px) {
  .tmqe { font-size: 16px; }
  .tmqe .tm-marquee { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tmqe .tm-panes { padding: 28px 22px; }
  .tmqe .tm-card { padding: 28px 24px; }
  .tmqe .tm-pipeline { padding: 30px 0; }
  .tmqe .tm-pipe { gap: 6px; }
  .tmqe .tm-pipe-label { font-size: 10.5px; letter-spacing: 0; }
}
@media (max-width: 575.98px) {
  .tmqe .tm-hero-actions { flex-direction: column; }
  .tmqe .tm-hero-actions .tm-btn { width: 100%; }
  .tmqe .tm-platforms { grid-template-columns: 1fr; }
  .tmqe .tm-form { padding: 24px 20px; }
  .tmqe .tm-ticks-inline { flex-direction: column; gap: 0; }
  .tmqe .tm-runner-foot { gap: 12px; font-size: 11.5px; }
  .tmqe .tm-spec { font-size: 11.5px; gap: 8px; padding: 7px 9px; }
}

/* ==========================================================================
   Motion preferences / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .tm-js .tmqe [data-reveal] { opacity: 1 !important; transform: none !important; }
  .tmqe .tm-in { opacity: 1 !important; transform: none !important; }
  .tmqe .tm-btn-red,
  .tmqe .tm-blob, .tmqe .tm-bg-grid, .tmqe .tm-bg-mesh, .tmqe .tm-scan,
  .tmqe .tm-marquee-set, .tmqe .tm-caret, .tmqe .tm-topline, .tmqe .tm-fill,
  .tmqe .tm-runner::before, .tmqe .tm-pipe::after, .tmqe .tm-pulse,
  .tmqe .tm-status-dot, .tmqe .tm-runner-live i, .tmqe .tm-spec-mark,
  .tmqe .tm-eyebrow::before, .tmqe .tm-hl::after, .tmqe .tm-section-cta {
    animation: none !important;
  }
  .tmqe .tm-hl::after { transform: scaleX(1); }
  .tmqe .tm-pane.is-active { animation: none; }
  .tmqe *, .tmqe *::before, .tmqe *::after { transition-duration: .01ms !important; }
  .tmqe .tm-card:hover, .tmqe .tm-platform:hover, .tmqe .tm-btn:hover,
  .tmqe .tm-channel:hover, .tmqe .tm-top:hover { transform: none; }
}
@media print {
  .tm-js .tmqe [data-reveal], .tmqe .tm-in { opacity: 1 !important; transform: none !important; }
  .tmqe .tm-top, .tmqe .tm-bg, .tmqe .tm-topline { display: none !important; }
  .tmqe .tm-acc-panel { display: block !important; height: auto !important; }
}
