/* TingDong AI · task-first app workspace */
body.td-product-home .hero.homeHeroV3{
  padding:38px 0 30px!important;
}
body.td-product-home .productWorkbench{
  max-width:1080px!important;
}
body.td-product-home .productIntro{
  max-width:900px!important;
}
body.td-product-home .productEyebrow{
  margin-bottom:13px!important;
  color:#6c7788!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
}
body.td-product-home .homeHeroV3 h1{
  max-width:880px!important;
  margin-bottom:13px!important;
  font-size:52px!important;
  line-height:1.06!important;
  letter-spacing:-2.2px!important;
}
body.td-product-home .homeHeroV3 .productIntro>p{
  max-width:700px!important;
  font-size:15.5px!important;
  line-height:1.7!important;
}

/* Capability explanation is deliberately secondary and sits above the task picker. */
body.td-product-home .productCapabilityDrawerTop{
  max-width:920px!important;
  margin:25px auto 0!important;
  border:1px solid #e1e6eb!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.66)!important;
  box-shadow:none!important;
}
body.td-product-home .productCapabilityDrawerTop>summary{
  min-height:52px!important;
  padding:0 16px!important;
}
body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary strong{
  font-size:13px!important;
  color:#505d70!important;
}
body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary span{
  font-size:11px!important;
  color:#9aa2ae!important;
}
body.td-product-home .productCapabilityDrawerTop .productCapabilityToggle{
  font-size:11px!important;
  color:#7a8493!important;
}

/* Main app choice: three large tasks, not marketing feature cards. */
body.td-product-home .productTaskChooser{
  width:100%;
  max-width:920px;
  margin:18px auto 0;
}
body.td-product-home .productTaskGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
body.td-product-home .productTaskCard{
  position:relative;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 24px;
  align-items:center;
  gap:14px;
  min-height:132px;
  padding:23px 20px;
  border:1px solid #dde3e9;
  border-radius:20px;
  background:#fff;
  color:#1f2a3a;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 28px rgba(42,54,74,.055);
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease,background .16s ease;
}
body.td-product-home .productTaskCard:hover{
  transform:translateY(-2px);
  border-color:#cbd5df;
  box-shadow:0 13px 34px rgba(42,54,74,.085);
}
body.td-product-home .productTaskCard.active{
  border-color:#85d8b3;
  background:#f7fcf9;
  box-shadow:0 0 0 2px rgba(62,191,132,.10),0 13px 34px rgba(42,54,74,.075);
}
body.td-product-home .productTaskIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:15px;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.5px;
}
body.td-product-home .productTaskIcon.media{
  color:#14855a;
  background:#eaf8f2;
}
body.td-product-home .productTaskIcon.translate{
  color:#4d6fae;
  background:#eef3fb;
}
body.td-product-home .productTaskIcon.analysis{
  color:#7256a4;
  background:#f3effa;
}
body.td-product-home .productTaskCopy{
  min-width:0;
}
body.td-product-home .productTaskCopy strong{
  display:block;
  font-size:17px;
  line-height:1.25;
  font-weight:920;
  letter-spacing:-.25px;
}
body.td-product-home .productTaskCopy small{
  display:block;
  margin-top:7px;
  color:#818b99;
  font-size:11.5px;
  line-height:1.5;
  font-weight:550;
}
body.td-product-home .productTaskArrow{
  align-self:center;
  color:#b2bac5;
  font-size:18px;
  font-weight:700;
  transition:transform .16s ease,color .16s ease;
}
body.td-product-home .productTaskCard:hover .productTaskArrow,
body.td-product-home .productTaskCard.active .productTaskArrow{
  transform:translateX(2px);
  color:#4f5e72;
}
body.td-product-home .productTaskExample{
  display:block;
  margin:14px auto 0;
  padding:7px 10px;
  border:0;
  background:transparent;
  color:#758193;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
  text-decoration:underline;
  text-decoration-color:#cfd5dc;
  text-underline-offset:4px;
}
body.td-product-home .productTaskExample:hover{
  color:#273449;
  text-decoration-color:#8f9baa;
}

/* The existing processing engine becomes an expandable task surface. */
body.td-product-home .productCanvas{
  max-width:920px!important;
  margin:20px auto 0!important;
  padding:10px!important;
  border-radius:24px!important;
  background:#e9edf1!important;
  box-shadow:0 20px 58px rgba(37,46,62,.10)!important;
}
body.td-product-home .productCanvas[hidden]{display:none!important}
body.td-product-home .productWindowBar{
  min-height:50px!important;
}
body.td-product-home .productWindowTitle>span:last-child{
  font-size:12px!important;
  font-weight:850!important;
  color:#556174!important;
}
body.td-product-home .productWindowState{
  color:#8a94a3!important;
}
body.td-product-home .homeUploadPanel{
  padding-top:36px!important;
}
body.td-product-home .homeModeCard.taskModeLocked{
  display:none!important;
}
body.td-product-home .productCanvas #demoBtn{
  display:none!important;
}
body.td-product-home .homeUploadActions{
  margin-top:20px!important;
}
body.td-product-home .homeRunBtn{
  min-width:176px!important;
}

@media(max-width:820px){
  body.td-product-home .hero.homeHeroV3{padding-top:32px!important}
  body.td-product-home .homeHeroV3 h1{font-size:44px!important}
  body.td-product-home .productTaskGrid{gap:10px}
  body.td-product-home .productTaskCard{
    grid-template-columns:46px minmax(0,1fr) 18px;
    min-height:120px;
    padding:19px 16px;
    gap:11px;
  }
  body.td-product-home .productTaskIcon{width:46px;height:46px;border-radius:13px;font-size:16px}
  body.td-product-home .productTaskCopy strong{font-size:15.5px}
  body.td-product-home .productTaskCopy small{font-size:10.5px}
}

@media(max-width:600px){
  body.td-product-home .hero.homeHeroV3{padding:25px 0 22px!important}
  body.td-product-home .productEyebrow{font-size:10.5px!important}
  body.td-product-home .homeHeroV3 h1{
    font-size:38px!important;
    line-height:1.08!important;
    letter-spacing:-1.5px!important;
  }
  body.td-product-home .homeHeroV3 .productIntro>p{
    max-width:340px!important;
    font-size:13.5px!important;
    line-height:1.6!important;
  }
  body.td-product-home .productCapabilityDrawerTop{
    margin-top:20px!important;
    border-radius:13px!important;
  }
  body.td-product-home .productCapabilityDrawerTop>summary{
    min-height:50px!important;
    padding:0 13px!important;
  }
  body.td-product-home .productCapabilityDrawerTop .productCapabilitySummary span{display:none!important}
  body.td-product-home .productTaskChooser{margin-top:14px}
  body.td-product-home .productTaskGrid{
    grid-template-columns:1fr;
    gap:9px;
  }
  body.td-product-home .productTaskCard{
    grid-template-columns:48px minmax(0,1fr) 20px;
    min-height:92px;
    padding:16px 15px;
    border-radius:16px;
  }
  body.td-product-home .productTaskIcon{
    width:48px;
    height:48px;
    border-radius:13px;
  }
  body.td-product-home .productTaskCopy strong{font-size:16px}
  body.td-product-home .productTaskCopy small{margin-top:4px;font-size:10.5px}
  body.td-product-home .productTaskExample{margin-top:10px;font-size:11px}
  body.td-product-home .productCanvas{
    margin-top:16px!important;
    padding:7px!important;
    border-radius:19px!important;
  }
  body.td-product-home .homeUploadPanel{padding-top:28px!important}
}
