/* TechfordAI – ERPNext for Manufacturing (shortcode mode). All rules scoped to .tfai-mfg */

.tfai-mfg{
  --tf-primary:#0060A6; --tf-primary-dark:#004B82; --tf-hl:#DCEBF8; --tf-hl-line:#B9D6EE;
  --tf-soft-blue:#F3F8FC; --section-blue:#EAF4FC; --tf-light-blue:#E6EFF7; --gray:#F5F7FA;
  --ink:#11212E; --text-soft:#475867; --steel:#5A6B7B; --line:#D9E3EC; --navy:#0C2742;
  --green:#2F9E5F; --amber:#E39B26;
  --head:'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap:1200px;
  box-sizing:border-box;
}
.tfai-mfg *,.tfai-mfg *::before,.tfai-mfg *::after{box-sizing:inherit;}
.tfai-mfg .tfai-mfg section{scroll-margin-top:90px;}
.tfai-mfg{margin:0; font-family:var(--body); color:var(--text-soft); background:#fff; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;}
.tfai-mfg h1,.tfai-mfg h2,.tfai-mfg h3,.tfai-mfg h4{font-family:var(--head); color:var(--ink); line-height:1.15; margin:0; font-weight:700; letter-spacing:-.015em;}
.tfai-mfg p{margin:0;}
.tfai-mfg a{color:var(--tf-primary);}
.tfai-mfg img{max-width:100%;}
.tfai-mfg :focus-visible{outline:2px solid var(--tf-primary); outline-offset:3px;}
.tfai-mfg .tfm-wrap{max-width:var(--wrap); margin:0 auto; padding:0 24px;}
.tfai-mfg section{padding:96px 0;}

.tfai-mfg .tfm-bg-blue{background:var(--section-blue);}
.tfai-mfg .tfm-label{display:block; text-transform:uppercase; font-family:var(--head); font-size:13px; font-weight:600; letter-spacing:.12em; color:var(--tf-primary); margin-bottom:14px;}
.tfai-mfg .tfm-sec-head{max-width:760px; margin-bottom:48px;}
.tfai-mfg .tfm-sec-head h2{font-size:clamp(28px,3.4vw,40px);}
.tfai-mfg .tfm-sec-head p{margin-top:16px; font-size:17px;}
.tfai-mfg .tfm-btn{display:inline-flex; align-items:center; gap:8px; font-family:var(--head); font-weight:600; font-size:16px; text-decoration:none; padding:15px 26px; border-radius:6px; border:0; cursor:pointer; transition:background .2s, transform .2s;}
.tfai-mfg .tfm-btn-primary{background:var(--tf-primary); color:#fff; box-shadow:0 8px 20px rgba(0,96,166,.22);}
.tfai-mfg .tfm-btn-primary:hover{background:var(--tf-primary-dark); transform:translateY(-1px);}
.tfai-mfg .tfm-note{font-size:13px; color:var(--steel); font-style:italic;}

/* HEADER */



/* HERO */
.tfai-mfg .tfm-hero{padding:64px 0 72px; background:linear-gradient(180deg,#EAF5FD 0%,#EAF5FD 78%,#fff 100%); overflow:hidden;}
.tfai-mfg .tfm-hero-grid{display:grid; grid-template-columns:46fr 54fr; gap:32px; align-items:center;}
.tfai-mfg .tfm-hero-copy > *{animation:tfmheroIn .7s cubic-bezier(.2,.7,.2,1) both;}
.tfai-mfg .tfm-hero-copy > :nth-child(2){animation-delay:.08s;} .tfai-mfg .tfm-hero-copy > :nth-child(3){animation-delay:.16s;} .tfai-mfg .tfm-hero-copy > :nth-child(4){animation-delay:.24s;} .tfai-mfg .tfm-hero-copy > :nth-child(5){animation-delay:.32s;}
@keyframes tfmheroIn{from{opacity:0; transform:translateY(14px);}to{opacity:1; transform:none;}}
.tfai-mfg .tfm-hero h1{font-size:clamp(32px,3.2vw,44px); line-height:1.12; max-width:20ch; text-wrap:balance;}
.tfai-mfg .tfm-hero-desc{font-size:16.5px; line-height:1.65; margin-top:18px; max-width:52ch;}
.tfai-mfg .tfm-benefits{list-style:none; margin:20px 0 0; padding:0; display:grid; gap:10px;}
.tfai-mfg .tfm-benefits li{display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; color:var(--ink); font-size:15.5px; font-weight:500; line-height:1.45;}
.tfai-mfg .tfm-benefits i{display:grid; place-items:center; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--tf-primary);}
.tfai-mfg .tfm-benefits svg{width:13px; height:13px; fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round;}
.tfai-mfg .tfm-hero-cta{display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-top:28px;}
.tfai-mfg .tfm-hero .tfm-btn-primary{padding:15px 24px; font-size:15.5px; white-space:nowrap;}

.tfai-mfg .tfm-wa-link{display:inline-flex; align-items:center; gap:10px; font-size:15px; color:var(--text-soft); text-decoration:none; padding:6px 0;}
.tfai-mfg .tfm-wa-link svg{width:22px; height:22px; fill:#25D366; flex-shrink:0;}
.tfai-mfg .tfm-wa-link strong{font-family:var(--head); font-weight:600; color:#128C4A;}
.tfai-mfg .tfm-wa-link:hover strong{text-decoration:underline; text-underline-offset:4px;}

.tfai-mfg .tfm-hero-visual{position:relative; margin:0 calc(-16px - max(0px, min(170px, (100vw - 1200px) / 2))) 0 -8px; animation:tfmheroIn .9s .2s cubic-bezier(.2,.7,.2,1) both;}
.tfai-mfg .tfm-hero-visual::before{content:""; position:absolute; inset:10% 8%; background:radial-gradient(closest-side, rgba(0,96,166,.16), transparent); filter:blur(30px); z-index:0;}
.tfai-mfg .tfm-hero-visual img{position:relative; z-index:1; display:block; width:100%; height:auto;
  -webkit-mask-image:radial-gradient(ellipse 72% 72% at 50% 50%, #000 80%, transparent 100%);
          mask-image:radial-gradient(ellipse 72% 72% at 50% 50%, #000 80%, transparent 100%);
  animation:tfmheroFloat 6s 1.1s ease-in-out infinite;}
@keyframes tfmheroFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}
.tfai-mfg .tfm-hero-visual figcaption{position:relative; z-index:1; text-align:center; margin-top:4px; font-size:12px;}
@media(max-width:1024px){
  .tfai-mfg .tfm-hero{padding:56px 0 64px;}
  .tfai-mfg .tfm-hero-grid{grid-template-columns:1fr; gap:36px;}
  .tfai-mfg .tfm-hero-copy{max-width:640px;}
  .tfai-mfg .tfm-hero-visual{margin:0 auto !important;}
}
@media(max-width:640px){
  .tfai-mfg .tfm-hero{padding:40px 0 56px;}
  .tfai-mfg .tfm-hero .tfm-wa-link{width:100%; justify-content:center;}
  .tfai-mfg .tfm-hero .tfm-btn-primary{width:100%; justify-content:center; white-space:normal; text-align:center;}
  .tfai-mfg .tfm-hero-visual{margin:0 -8px !important; width:auto;}
}
@media (prefers-reduced-motion: reduce){ .tfai-mfg .tfm-hero-copy > *,.tfai-mfg .tfm-hero-visual,.tfai-mfg .tfm-hero-visual img{animation:none;} }

/* shared dashboard bits */

 

 

/* LOGOS */
.tfai-mfg .tfm-logos{padding:44px 0; border-bottom:1px solid var(--line);}
.tfai-mfg .tfm-logos h2{font-size:15px; font-weight:600; color:var(--steel); text-align:center; letter-spacing:.02em; margin-bottom:22px;}
.tfai-mfg .tfm-logo-marquee{overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
.tfai-mfg .tfm-logo-track{display:flex; width:max-content;}
.tfai-mfg .tfm-logo-group{list-style:none; margin:0; padding:0; display:flex; align-items:center; flex-shrink:0; min-width:100vw; justify-content:space-around; animation:tfmlogoScroll 40s linear infinite;}
.tfai-mfg .tfm-logo-marquee:hover .tfm-logo-group{animation-play-state:paused;}
.tfai-mfg .tfm-logo-item{flex-shrink:0; height:64px; display:flex; align-items:center; padding:0 32px;}
.tfai-mfg .tfm-logo-item img{display:block; max-height:56px; max-width:150px; width:auto; height:auto; object-fit:contain;}

@keyframes tfmlogoScroll{from{transform:translateX(0);}to{transform:translateX(-100%);}}
@media(max-width:640px){ .tfai-mfg .tfm-logo-item{padding:0 20px;} .tfai-mfg .tfm-logo-item img{max-height:44px; max-width:120px;} .tfai-mfg .tfm-logo-group{animation-duration:30s;} }
@media (prefers-reduced-motion: reduce){ .tfai-mfg .tfm-logo-group{animation:none; flex-wrap:wrap; min-width:0; justify-content:center;} .tfai-mfg .tfm-logo-group[aria-hidden]{display:none;} .tfai-mfg .tfm-logo-track{width:auto; justify-content:center;} .tfai-mfg .tfm-logo-marquee{-webkit-mask-image:none; mask-image:none;} }

/* CHALLENGES */
.tfai-mfg .tfm-icon{flex-shrink:0; width:44px; height:44px; border-radius:8px; background:var(--tf-soft-blue); border:1px solid var(--tf-light-blue); display:grid; place-items:center; color:var(--tf-primary);}
.tfai-mfg .tfm-icon svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}
.tfai-mfg .tfm-challenges{background:var(--section-blue);}
.tfai-mfg .tfm-ch-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.tfai-mfg .tfm-ch-card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:28px; box-shadow:0 1px 2px rgba(17,33,46,.04); transition:border-color .2s, box-shadow .2s;}
.tfai-mfg .tfm-ch-card:hover{border-color:var(--tf-hl-line); box-shadow:0 10px 24px rgba(0,96,166,.08);}
.tfai-mfg .tfm-ch-head{display:flex; gap:16px; align-items:flex-start;}
.tfai-mfg .tfm-ch-card h3{font-size:19px; margin-bottom:6px;}
.tfai-mfg .tfm-ch-card p{font-size:15px;}
@media(max-width:960px){ .tfai-mfg .tfm-ch-grid{gap:18px;} .tfai-mfg .tfm-ch-card{padding:22px;} }
@media(max-width:760px){ .tfai-mfg .tfm-ch-grid{grid-template-columns:1fr;} }

/* CLICK HIGHLIGHT (cards) */
.tfai-mfg .tfm-ch-card,.tfai-mfg .tfm-cap{cursor:pointer; user-select:none; position:relative; transition:background .25s, box-shadow .25s, transform .25s, border-color .25s;}
.tfai-mfg .tfm-ch-card.tfm-active,.tfai-mfg .tfm-cap.tfm-active{background:#DCEBF8; border-color:var(--tf-primary); box-shadow:inset 0 0 0 1px var(--tf-primary), 0 10px 24px rgba(0,96,166,.15); transform:translateY(-3px);}
.tfai-mfg .tfm-ch-card.tfm-active .tfm-icon,.tfai-mfg .tfm-cap.tfm-active .tfm-icon{background:#fff; border-color:#B9D6EE;}
.tfai-mfg .tfm-cap.tfm-active .tfm-chip{background:#fff; border-color:#B9D6EE;}

/* WORKFLOW */
.tfai-mfg .tfm-wf{background:radial-gradient(60% 50% at 50% 30%, #EAF4FC 0%, transparent 70%), linear-gradient(180deg,#fff,var(--tf-soft-blue) 60%,#fff);}
.tfai-mfg .tfm-wf-head{text-align:center; margin-left:auto; margin-right:auto; max-width:820px;}
.tfai-mfg .tfm-wf-scroll{margin:0 -24px; padding:8px 24px 0; overflow-x:auto; scrollbar-width:none;}
.tfai-mfg .tfm-wf-scroll::-webkit-scrollbar{display:none;}
.tfai-mfg .tfm-wf-steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(150px,1fr));}
.tfai-mfg .tfm-wf-steps li{position:relative;}
.tfai-mfg .tfm-wf-steps li:not(:last-child)::before{content:""; position:absolute; top:94px; left:calc(50% + 52px); width:calc(100% - 104px); border-top:2px dotted #A9CBEA;}
.tfai-mfg .tfm-wf-steps li:not(:last-child)::after{content:""; position:absolute; z-index:1; top:81px; left:100%; width:28px; height:28px; transform:translateX(-50%); border-radius:50%; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230060A6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center/15px no-repeat; border:1.5px solid var(--tf-hl-line); box-shadow:0 3px 8px rgba(0,96,166,.12);}
.tfai-mfg .tfm-wf-step{width:100%; display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 10px; background:none; border:0; cursor:pointer; font:inherit; color:inherit;}
.tfai-mfg .tfm-wf-step:focus-visible{outline:none;}
.tfai-mfg .tfm-wf-step:focus-visible .tfm-wf-tile{outline:2px solid var(--tf-primary); outline-offset:3px;}
.tfai-mfg .tfm-wf-num{display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#EAF3FB; border:1px solid var(--tf-hl-line); color:var(--tf-primary); font-family:var(--head); font-weight:700; font-size:14px; transition:all .25s;}
.tfai-mfg .tfm-wf-tile-area{height:124px; display:flex; align-items:center; justify-content:center; margin-top:2px;}
.tfai-mfg .tfm-wf-tile{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; width:80px; height:80px; border-radius:18px; background:linear-gradient(180deg,#fff,#F1F7FD); border:1px solid var(--line); box-shadow:0 8px 20px rgba(0,96,166,.08); color:var(--tf-primary); transition:all .3s cubic-bezier(.2,.7,.2,1);}
.tfai-mfg .tfm-wf-tile svg{width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0;}
.tfai-mfg .tfm-wf-tile-t{display:none; font-family:var(--head); font-weight:700; font-size:14px; line-height:1.25; color:var(--ink); padding:0 8px;}
.tfai-mfg .tfm-wf-t{margin-top:8px; font-family:var(--head); font-weight:700; font-size:15px; color:var(--ink); line-height:1.25;}
.tfai-mfg .tfm-wf-d{margin-top:8px; font-size:13px; line-height:1.45; color:var(--text-soft); max-width:20ch;}
.tfai-mfg .tfm-wf-step:hover .tfm-wf-tile{border-color:var(--tf-hl-line); transform:translateY(-2px);}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-num{background:var(--tf-primary); border-color:var(--tf-primary); color:#fff; width:36px; height:36px; font-size:16px; margin-top:-6px; box-shadow:0 6px 14px rgba(0,96,166,.3);}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-tile{width:132px; height:122px; border:2px solid var(--tf-primary); background:#fff; box-shadow:0 0 0 5px rgba(0,96,166,.08), 0 16px 30px rgba(0,96,166,.16);}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-tile svg{width:40px; height:40px;}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-tile-t{display:block;}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-t{display:none;}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-d{color:var(--ink);}
.tfai-mfg .tfm-wf-step.tfm-is-active .tfm-wf-d::after{content:""; display:block; width:8px; height:8px; margin:10px auto 0; border-radius:50%; background:var(--tf-primary); box-shadow:0 0 0 4px rgba(0,96,166,.15);}
.tfai-mfg .tfm-wf-panel{position:relative; margin-top:18px; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 24px 50px rgba(17,33,46,.10); padding:32px 36px;}
.tfai-mfg .tfm-wf-panel.tfm-is-closed{display:none;}
.tfai-mfg .tfm-wf-panel::before{content:""; position:absolute; top:-9px; left:var(--px,10%); width:16px; height:16px; background:#fff; border-left:1px solid var(--line); border-top:1px solid var(--line); transform:translateX(-50%) rotate(45deg); transition:left .3s ease;}
.tfai-mfg .tfm-wf-close{position:absolute; top:14px; right:14px; width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:8px; background:none; color:var(--tf-primary); cursor:pointer;}
.tfai-mfg .tfm-wf-close:hover{background:var(--tf-soft-blue);}
.tfai-mfg .tfm-wf-close svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round;}
.tfai-mfg .tfm-wf-view{display:grid; grid-template-columns:0.9fr 1.35fr; gap:32px; align-items:center;}
.tfai-mfg .tfm-wf-view[hidden]{display:none;}
.tfai-mfg .tfm-wf-view.tfm-is-active{animation:tfmwfIn .35s ease both;}
@keyframes tfmwfIn{from{opacity:0; transform:translateY(8px);}to{opacity:1; transform:none;}}
.tfai-mfg .tfm-wf-title{display:flex; align-items:center; gap:16px; margin-bottom:10px;}
.tfai-mfg .tfm-wf-big{flex-shrink:0; display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:var(--tf-hl); color:var(--tf-primary);}
.tfai-mfg .tfm-wf-big svg,.tfai-mfg .tfm-wf-pi svg{width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}
.tfai-mfg .tfm-wf-title h3{font-size:clamp(21px,2vw,26px);}
.tfai-mfg .tfm-wf-info > p{font-size:15.5px; padding-left:72px;}
.tfai-mfg .tfm-wf-points{list-style:none; margin:20px 0 0; padding:0; display:grid; gap:12px;}
.tfai-mfg .tfm-wf-points li{display:grid; grid-template-columns:56px 1fr; gap:16px; align-items:center;}
.tfai-mfg .tfm-wf-pi{display:grid; place-items:center; width:48px; height:48px; margin-left:4px; border-radius:10px; background:var(--tf-soft-blue); border:1px solid var(--tf-light-blue); color:var(--tf-primary);}
.tfai-mfg .tfm-wf-pi svg{width:22px; height:22px;}
.tfai-mfg .tfm-wf-points strong{display:block; font-family:var(--head); color:var(--ink); font-size:15.5px; line-height:1.3;}
.tfai-mfg .tfm-wf-points span{font-size:14px; line-height:1.45;}
.tfai-mfg .tfm-wf-shot{margin:0; display:grid; place-items:center; padding:10px; background:var(--tf-soft-blue); border:1px solid var(--tf-light-blue); border-radius:14px; min-height:260px;}
.tfai-mfg .tfm-wf-shot img{display:block; width:100%; height:auto; object-fit:contain; border-radius:8px; border:1px solid var(--line); box-shadow:0 10px 24px rgba(17,33,46,.08); background:#fff;}
.tfai-mfg .tfm-wf-cta{margin-top:28px; display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center;}
@media(max-width:960px){ .tfai-mfg .tfm-wf-view{grid-template-columns:1fr; gap:26px;} .tfai-mfg .tfm-wf-panel{padding:28px 24px;} .tfai-mfg .tfm-wf-shot{min-height:0;} .tfai-mfg .tfm-wf-info > p{padding-left:0;} }
@media(max-width:640px){ .tfai-mfg .tfm-wf-steps{grid-template-columns:repeat(5,160px);} .tfai-mfg .tfm-wf-panel{padding:22px 18px; border-radius:14px;} .tfai-mfg .tfm-wf-shot{padding:10px;} .tfai-mfg .tfm-wf-points li{grid-template-columns:44px 1fr; gap:12px;} .tfai-mfg .tfm-wf-pi{width:40px; height:40px; margin:0;} .tfai-mfg .tfm-wf-big{width:48px; height:48px;} .tfai-mfg .tfm-wf-cta .tfm-btn{width:100%; justify-content:center; text-align:center;} }
@media (prefers-reduced-motion: reduce){ .tfai-mfg .tfm-wf-view.tfm-is-active{animation:none;} .tfai-mfg .tfm-wf-num,.tfai-mfg .tfm-wf-tile,.tfai-mfg .tfm-wf-panel::before{transition:none;} }

/* CAPABILITIES */
.tfai-mfg .tfm-grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.tfai-mfg .tfm-cap{border:1px solid var(--line); border-radius:10px; padding:26px; background:#fff;}
.tfai-mfg .tfm-cap .tfm-icon{margin-bottom:18px;}
.tfai-mfg .tfm-cap h3{font-size:18px; margin-bottom:8px;}
.tfai-mfg .tfm-cap .tfm-chip{display:inline-block; margin-top:16px; font-size:12px; font-weight:600; color:var(--tf-primary); background:var(--tf-soft-blue); border:1px solid var(--tf-light-blue); padding:3px 10px; border-radius:4px;}

@media(max-width:960px){ .tfai-mfg .tfm-grid-3{grid-template-columns:repeat(2,1fr);} }
@media(max-width:620px){ .tfai-mfg .tfm-grid-3{grid-template-columns:1fr;} }

/* WHY */
.tfai-mfg .tfm-why{background:#E8F6FE; overflow:hidden;}
.tfai-mfg .tfm-why-cta .tfm-btn{white-space:nowrap;}
.tfai-mfg .tfm-why-grid{display:grid; grid-template-columns:44fr 56fr; gap:48px; align-items:center;}
.tfai-mfg .tfm-why h2{font-size:clamp(28px,3.2vw,40px); text-wrap:balance;}
.tfai-mfg .tfm-why-lead{margin-top:16px; font-size:16.5px; line-height:1.65; max-width:54ch;}
.tfai-mfg .tfm-why-list{list-style:none; margin:24px 0 0; padding:0; display:grid; gap:12px;}
.tfai-mfg .tfm-why-list li{display:grid; grid-template-columns:24px 1fr; gap:12px; align-items:start; color:var(--ink); font-weight:500; font-size:15.5px; line-height:1.45;}
.tfai-mfg .tfm-why-ck{display:grid; place-items:center; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--tf-primary);}
.tfai-mfg .tfm-why-ck svg{width:12px; height:12px; fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round;}
.tfai-mfg .tfm-proc-strip{list-style:none; margin:28px 0 0; padding:16px 12px; display:grid; grid-template-columns:repeat(4,1fr); background:#fff; border:1px solid var(--tf-hl-line); border-radius:12px; max-width:560px;}
.tfai-mfg .tfm-proc-strip li{position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font-family:var(--head); font-weight:600; font-size:13px; line-height:1.3; color:var(--ink); padding:0 6px;}
.tfai-mfg .tfm-proc-strip li:not(:last-child)::after{content:"→"; position:absolute; top:3px; right:-8px; color:var(--tf-primary); font-weight:700; font-size:14px;}
.tfai-mfg .tfm-ps-n{display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--tf-primary); color:#fff; font-size:12.5px;}
@media(max-width:420px){ .tfai-mfg .tfm-proc-strip{padding:14px 4px;} .tfai-mfg .tfm-proc-strip li{font-size:11.5px; padding:0 3px;} .tfai-mfg .tfm-proc-strip li:not(:last-child)::after{right:-6px;} }

.tfai-mfg .tfm-why-cta{margin-top:28px; display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px;}
.tfai-mfg .tfm-why-rating{display:inline-flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--text-soft);}
.tfai-mfg .tfm-stars{display:inline-flex; gap:2px;}
.tfai-mfg .tfm-stars svg{width:18px; height:18px; fill:#F5B301;}
.tfai-mfg .tfm-why-visual{position:relative; margin:0 calc(-16px - max(0px, min(140px, (100vw - 1200px) / 2))) 0 0;}
.tfai-mfg .tfm-why-visual img{position:relative; display:block; width:100%; height:auto;
  -webkit-mask-image:radial-gradient(ellipse 72% 72% at 50% 50%, #000 80%, transparent 100%);
          mask-image:radial-gradient(ellipse 72% 72% at 50% 50%, #000 80%, transparent 100%);}
@media(max-width:1024px){ .tfai-mfg .tfm-why-grid{grid-template-columns:1fr; gap:36px;} .tfai-mfg .tfm-why-copy{max-width:640px;} .tfai-mfg .tfm-why-visual{margin:0 -12px;} }
@media(max-width:640px){ .tfai-mfg .tfm-why-cta .tfm-btn{width:100%; justify-content:center; text-align:center; white-space:normal;} .tfai-mfg .tfm-why-visual{margin:0 -20px;} }

/* TESTIMONIALS (home page) */
.tfai-mfg .tfm-proof{background:var(--tf-light-blue);}
.tfai-mfg .tfm-tm-marquee{position:relative; overflow:hidden; padding:10px 0 30px; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);}
.tfai-mfg .tfm-tm-track{display:flex; gap:24px; width:max-content; animation:tfmtmScroll 40s linear infinite;}
.tfai-mfg .tfm-tm-marquee:hover .tfm-tm-track{animation-play-state:paused;}
.tfai-mfg .tfm-tm-card{width:420px; flex-shrink:0; background:#fff; border:1px solid var(--line); border-radius:14px; display:flex; flex-direction:column; overflow:hidden; box-shadow:0 4px 14px rgba(17,33,46,.05); transition:transform .3s ease, box-shadow .3s ease;}
.tfai-mfg .tfm-tm-card:hover{transform:translateY(-4px); box-shadow:0 14px 32px rgba(17,33,46,.12);}
.tfai-mfg .tfm-tm-top{display:flex; justify-content:space-between; align-items:center; padding:24px 24px 0;}
.tfai-mfg .tfm-tm-q{width:40px; height:30px; fill:#D3DCE4;}
.tfai-mfg .tfm-tm-loc{display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:600; color:var(--steel);}
.tfai-mfg .tfm-tm-loc svg{width:14px; height:14px; fill:var(--tf-primary);}
.tfai-mfg .tfm-tm-card blockquote{margin:0; padding:18px 24px 24px; flex:1; font-size:15px; line-height:1.7; color:var(--text-soft);}
.tfai-mfg .tfm-tm-foot{display:flex; align-items:center; gap:14px; padding:16px 24px; background:var(--tf-soft-blue); border-top:1px solid var(--line);}
.tfai-mfg .tfm-tm-logo{width:96px; height:72px; flex-shrink:0; background:#fff; border:1px solid var(--line); border-radius:10px; display:flex; align-items:center; justify-content:center; padding:8px;}
.tfai-mfg .tfm-tm-logo img{max-width:100%; max-height:100%; object-fit:contain;}
.tfai-mfg .tfm-tm-name{font-size:15px; font-weight:700; color:var(--ink);}
.tfai-mfg .tfm-tm-role{font-size:13px; color:var(--steel); margin-top:2px;}
@keyframes tfmtmScroll{from{transform:translateX(0);}to{transform:translateX(calc(-50% - 12px));}}
@media(max-width:680px){ .tfai-mfg .tfm-tm-card{width:300px;} .tfai-mfg .tfm-tm-track{animation-duration:30s;} }
@media (prefers-reduced-motion: reduce){ .tfai-mfg .tfm-tm-track{animation:none; width:auto; flex-wrap:wrap; justify-content:center;} }

/* DEMO */
.tfai-mfg .tfm-demo{background:var(--navy); color:#C9D6E3;}
.tfai-mfg .tfm-demo .tfm-label{color:#8EC5F0;}
.tfai-mfg .tfm-dm-head{text-align:center; max-width:780px; margin:0 auto 52px;}
.tfai-mfg .tfm-dm-head h2{color:#fff; font-size:clamp(28px,3.4vw,42px); text-wrap:balance;}
.tfai-mfg .tfm-dm-head p{margin-top:16px; font-size:17px; color:#C9D6E3;}
.tfai-mfg .tfm-dm-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.tfai-mfg .tfm-dm-card{background:#fff; border-radius:16px; padding:36px 30px 34px; text-align:center; display:flex; flex-direction:column; align-items:center; box-shadow:0 20px 40px rgba(0,0,0,.18); transition:transform .25s, box-shadow .25s;}
.tfai-mfg .tfm-dm-card:hover{transform:translateY(-4px); box-shadow:0 26px 50px rgba(0,0,0,.25);}
.tfai-mfg .tfm-dm-ico{width:96px; height:96px; display:grid; place-items:center; margin-bottom:20px; border-radius:50%; background:var(--tf-soft-blue); color:var(--tf-primary);}
.tfai-mfg .tfm-dm-ico svg{width:60px; height:60px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;}
.tfai-mfg .tfm-dm-tag{font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--tf-primary); background:var(--tf-soft-blue); border:1px solid var(--tf-light-blue); padding:4px 12px; border-radius:20px;}
.tfai-mfg .tfm-dm-card h3{margin-top:16px; font-size:20px; line-height:1.3; text-wrap:balance;}
.tfai-mfg .tfm-dm-card p{margin-top:10px; font-size:15px; line-height:1.6; color:var(--text-soft);}
.tfai-mfg .tfm-dm-cta{margin-top:44px; text-align:center;}
.tfai-mfg .tfm-demo .tfm-btn{background:#2B8EE0; box-shadow:0 10px 24px rgba(0,0,0,.25);}
.tfai-mfg .tfm-demo .tfm-btn:hover{background:#4AA3EE;}
@media(max-width:960px){ .tfai-mfg .tfm-dm-grid{grid-template-columns:1fr; max-width:520px; margin:0 auto; gap:20px;} }
@media(max-width:640px){ .tfai-mfg .tfm-dm-card{padding:28px 22px;} .tfai-mfg .tfm-dm-cta .tfm-btn{width:100%; justify-content:center; text-align:center;} }

/* FAQ */
.tfai-mfg .tfm-faq{max-width:860px; margin:0 auto;}
.tfai-mfg .tfm-faq .tfm-sec-head{text-align:center; margin:0 auto 40px;}
.tfai-mfg .tfm-faq details{border:1px solid var(--line); border-radius:8px; background:#fff; margin-bottom:12px;}
.tfai-mfg .tfm-faq summary{list-style:none; cursor:pointer; padding:20px 56px 20px 22px; position:relative; font-family:var(--head); font-weight:600; font-size:17px; color:var(--ink);}
.tfai-mfg .tfm-faq summary::-webkit-details-marker{display:none;}
.tfai-mfg .tfm-faq summary h3{font-family:inherit; font-size:inherit; font-weight:inherit; color:inherit; line-height:1.4; margin:0; letter-spacing:0;}
.tfai-mfg .tfm-faq summary::after{content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:22px; color:var(--tf-primary); transition:transform .2s;}
.tfai-mfg .tfm-faq details[open] summary::after{transform:translateY(-50%) rotate(45deg);}
.tfai-mfg .tfm-faq details[open]{border-color:var(--tf-hl-line); background:var(--tf-soft-blue);}
.tfai-mfg .tfm-faq details p{padding:0 22px 20px;}

/* FORM */
.tfai-mfg .tfm-book-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start;}
.tfai-mfg .tfm-book-grid .tfm-sec-head{margin-bottom:24px;}
.tfai-mfg .tfm-scope{list-style:none; padding:0; margin:0 0 28px; display:grid; gap:10px;}
.tfai-mfg .tfm-scope li{position:relative; padding-left:28px;}
.tfai-mfg .tfm-scope li::before{content:""; position:absolute; left:2px; top:7px; width:12px; height:7px; border-left:2px solid var(--tf-primary); border-bottom:2px solid var(--tf-primary); transform:rotate(-45deg);}
.tfai-mfg .tfm-contact{border-top:1px solid var(--line); padding-top:22px; display:grid; gap:8px;}
.tfai-mfg .tfm-contact a{font-weight:600; text-decoration:none;}
.tfai-mfg .tfm-contact a:hover{text-decoration:underline;}
.tfai-mfg .tfm-form{background:#fff; border:1px solid var(--line); border-radius:12px; padding:32px; box-shadow:0 20px 44px rgba(17,33,46,.07);}
.tfai-mfg .tfm-field{margin-bottom:16px;}
.tfai-mfg .tfm-field label{display:block; font-size:14px; font-weight:600; color:var(--ink); margin-bottom:6px;}
.tfai-mfg .tfm-field label span{font-weight:400; color:var(--steel);}
.tfai-mfg .tfm-field input,.tfai-mfg .tfm-field textarea{width:100%; font:inherit; font-size:15px; color:var(--ink); padding:12px 14px; border:1px solid var(--line); border-radius:6px; background:#fff;}
.tfai-mfg .tfm-field input:focus,.tfai-mfg .tfm-field textarea:focus{outline:none; border-color:var(--tf-primary); box-shadow:0 0 0 3px var(--tf-hl);}
.tfai-mfg .tfm-field textarea{min-height:96px; resize:vertical;}
.tfai-mfg .tfm-form .tfm-btn{width:100%; justify-content:center;}
.tfai-mfg .tfm-consent{font-size:13px; color:var(--steel); margin-top:14px;}
.tfai-mfg .tfm-form-ok{display:none; padding:18px; background:#E3F4EA; border:1px solid #BFE3CC; border-radius:8px; color:#1F5E3A; font-weight:500;}
.tfai-mfg .tfm-form.tfm-sent .tfm-form-ok{display:block;} .tfai-mfg .tfm-form.tfm-sent .tfm-form-fields{display:none;}
.tfai-mfg .tfm-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.tfai-mfg .tfm-form{position:relative;}
.tfai-mfg .tfm-form-fail{margin-top:10px; font-size:13.5px; color:#B3453A;}
.tfai-mfg .tfm-form-err{display:none; color:#B3453A; font-size:13px; margin-top:4px;}
.tfai-mfg .tfm-field.tfm-invalid input{border-color:#B3453A;} .tfai-mfg .tfm-field.tfm-invalid .tfm-form-err{display:block;}
@media(max-width:900px){ .tfai-mfg .tfm-book-grid{grid-template-columns:1fr; gap:40px;} .tfai-mfg .tfm-form{padding:24px;} }

/* FOOTER */
.tfai-mfg footer{background:var(--navy); color:#9DB0C3; padding:40px 0; font-size:14px;}

.tfai-mfg footer a{color:#C9D6E3;}

.tfai-mfg .tfm-sticky-cta{display:none;}
@media(max-width:700px){
  .tfai-mfg section{padding:72px 0;}
  .tfai-mfg .tfm-sticky-cta{display:block; position:fixed; left:0; right:0; bottom:0; z-index:40; padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); background:#fff; border-top:1px solid var(--line);}
  .tfai-mfg .tfm-sticky-cta .tfm-btn{width:100%; justify-content:center;}
  .tfai-mfg{padding-bottom:72px;}
}
@media (prefers-reduced-motion: reduce){ .tfai-mfg *{scroll-behavior:auto !important; transition:none !important;} }
