/* 首屏产品演示严格沿用 gugu Desktop / Mobile 的真实界面层级与浅色 Token。 */
.hero-demo-stage {
  position: relative;
  width: 100%;
  min-height: clamp(430px, 36vw, 520px);
}

.hero-demo-desktop,
.hero-demo-mobile {
  color: #171717;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

.hero-demo-desktop {
  position: absolute;
  top: 8px;
  left: 0;
  width: calc(100% - 92px);
  aspect-ratio: 1511 / 860;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(23, 23, 23, 0.14);
  font-size: 10px;
}

.hero-demo-desktop-app {
  height: 100%;
  display: grid;
  grid-template-columns: clamp(34px, 5.1%, 46px) minmax(0, 1fr);
}

.hero-demo-desktop-nav {
  min-width: 0;
  height: 100%;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

.hero-demo-window-controls {
  width: 100%;
  min-height: 9px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.hero-demo-window-controls i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #ff5f57;
}

.hero-demo-window-controls i:nth-child(2) {
  background: #febc2e;
}

.hero-demo-window-controls i:nth-child(3) {
  background: #28c840;
}

.hero-demo-self-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #ffd5dc;
}

.hero-demo-self-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-demo-desktop-nav button,
.hero-demo-mobile-nav button,
.hero-demo-device-switch button {
  margin: 0;
  border: 0;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.hero-demo-desktop-nav button {
  position: relative;
  width: 31px;
  height: 31px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: transparent;
  color: #9a9aa2;
  transition: background 160ms ease-out, color 160ms ease-out;
}

.hero-demo-desktop-nav button svg {
  width: 17px;
  height: 17px;
}

.hero-demo-desktop-nav button:hover,
.hero-demo-desktop-nav button:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  color: #737373;
}

.hero-demo-desktop-nav button[aria-selected="true"] {
  background: rgba(59, 130, 246, 0.07);
  color: #171717;
}

.hero-demo-desktop-nav button[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -4px;
  width: 2px;
  height: 15px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.78;
}

.hero-demo-nav-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid #fafafa;
  border-radius: 50%;
  background: #171717;
}

.hero-demo-nav-spacer {
  flex: 1 1 auto;
  min-height: 5px;
}

.hero-demo-help {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid #b7b7bd;
  border-radius: 50%;
  color: #98989f;
  font-size: 8px;
  font-weight: 600;
}

.hero-demo-credit {
  color: #9a9aa2;
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}

.hero-demo-desktop-panels,
.hero-demo-desktop-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.hero-demo-desktop-panel {
  display: grid;
  grid-template-columns: minmax(148px, 21.5%) minmax(0, 1fr);
  padding: 0;
  background: #ffffff;
  animation: hero-demo-original-panel-in 180ms ease-out both;
}

.hero-demo-desktop-panel[hidden],
.hero-demo-mobile-panel[hidden] {
  display: none;
}

.hero-demo-list-pane {
  position: relative;
  min-width: 0;
  padding: 13px 8px 42px;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

.hero-demo-list-pane > header {
  min-height: 25px;
  margin: 0 2px 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-demo-list-pane > header strong {
  font-size: 13px;
  font-weight: 600;
}

.hero-demo-list-pane > header span {
  color: #737373;
  font-size: 8px;
}

.hero-demo-pane-top {
  height: 21px;
  margin: -4px 0 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-demo-pane-top svg {
  width: 13px;
  height: 13px;
  color: #737373;
}

.hero-demo-task-tool {
  min-height: 25px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  color: #737373;
}

.hero-demo-task-tool svg {
  width: 14px;
  height: 14px;
}

.hero-demo-task-tool strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-tool kbd,
.hero-demo-settings-row kbd {
  padding: 1px 3px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 3px;
  background: #ffffff;
  color: #9a9aa2;
  font: inherit;
  font-size: 7px;
}

.hero-demo-list-label {
  min-width: 0;
  margin: 9px 5px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #737373;
  font-size: 8px;
  font-weight: 500;
}

.hero-demo-list-label > span {
  color: #55a66c;
}

.hero-demo-project-label > span:last-child {
  color: #737373;
  font-size: 9px;
}

.hero-demo-project {
  min-width: 0;
  min-height: 25px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  color: #404040;
}

.hero-demo-project svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #737373;
}

.hero-demo-project strong {
  min-width: 0;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-project.is-selected {
  background: #e5e5e5;
}

.hero-demo-project-task {
  padding-left: 22px;
}

.hero-demo-empty-label {
  margin: 0 5px;
  color: #9a9aa2;
  font-size: 8px;
}

.hero-demo-settings-row {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: #fafafa;
  color: #737373;
}

.hero-demo-settings-row svg {
  width: 14px;
  height: 14px;
}

.hero-demo-settings-row strong {
  font-size: 9px;
  font-weight: 500;
}

.hero-demo-main-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero-demo-task-header,
.hero-demo-chat-header {
  height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #737373;
}

.hero-demo-task-header > span {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-header > span:first-child {
  max-width: 55%;
}

.hero-demo-execution-body {
  position: relative;
  height: calc(100% - 36px);
  padding: 14px max(18px, 12%) 62px;
  overflow: hidden;
  color: #525252;
  font-size: 8px;
  line-height: 1.5;
}

.hero-demo-execution-body > p {
  margin: 7px 0;
  color: #525252;
}

.hero-demo-execution-body > ul {
  margin: 4px 0;
  padding-left: 17px;
}

.hero-demo-user-prompt {
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 7px;
  color: #404040;
  font-size: 8px;
}

.hero-demo-execution-body .hero-demo-thought {
  color: #9a9aa2;
}

.hero-demo-execute {
  height: 37px;
  margin: 9px 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 7px;
  background: #ffffff;
}

.hero-demo-execute strong,
.hero-demo-execute code {
  height: 18px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  font-size: 8px;
  font-weight: 400;
  white-space: nowrap;
}

.hero-demo-execute code {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #2373bb;
}

.hero-demo-composer {
  position: absolute;
  right: max(16px, 10%);
  bottom: 9px;
  left: max(16px, 10%);
  height: 48px;
  padding: 8px 9px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  color: #9a9aa2;
}

.hero-demo-composer > span {
  font-size: 8px;
}

.hero-demo-composer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-demo-composer small {
  font-size: 7px;
}

.hero-demo-composer small > span {
  color: #f0783c;
}

.hero-demo-composer b,
.hero-demo-chat-composer b {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: #ffffff;
  font-size: 8px;
}

.hero-demo-chat-list-head span {
  white-space: nowrap;
}

.hero-demo-search {
  height: 29px;
  margin: 0 0 8px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  background: #f3f4f6;
  color: #9a9aa2;
  font-size: 8px;
}

.hero-demo-list-item {
  min-width: 0;
  min-height: 42px;
  padding: 5px 6px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  color: #525252;
}

.hero-demo-list-item.is-selected {
  background: rgba(59, 130, 246, 0.08);
  color: #171717;
  box-shadow: none;
}

.hero-demo-list-item > span,
.hero-demo-mobile-list > div > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-demo-list-item strong,
.hero-demo-list-item small,
.hero-demo-mobile-list strong,
.hero-demo-mobile-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-list-item strong {
  font-size: 9px;
  font-weight: 500;
}

.hero-demo-list-item small {
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-list-item time {
  align-self: start;
  padding-top: 3px;
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-list-item em,
.hero-demo-mobile-list em,
.hero-demo-contact-detail em {
  color: #eba540;
  font-style: normal;
  font-weight: 500;
}

.hero-demo-list-item label,
.hero-demo-mobile-list label {
  padding: 1px 4px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #737373;
  font-size: 6px;
  font-weight: 500;
}

.hero-demo-avatar {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #d1d4f9;
  color: #404040;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}

.hero-demo-avatar.is-coral {
  background: #ffd5dc;
}

.hero-demo-avatar.is-blue {
  background: #b6e3f4;
}

.hero-demo-avatar.is-green {
  background: #dcefe3;
}

.hero-demo-avatar.is-purple {
  background: #c0aede;
}

.hero-demo-group-avatar {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  background: #ffffff;
}

.hero-demo-group-avatar i {
  width: 45%;
  height: 70%;
  border-radius: 50%;
  background: #ffd5dc;
}

.hero-demo-group-avatar i + i {
  margin-left: -2px;
  background: #b6e3f4;
}

.hero-demo-chat-header > span:first-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hero-demo-chat-header strong {
  color: #171717;
  font-size: 10px;
  font-weight: 600;
}

.hero-demo-chat-header small {
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-chat-header small::first-letter {
  color: #28a65a;
}

.hero-demo-chat-body {
  position: relative;
  height: calc(100% - 36px);
  padding: 20px 14px 45px;
  overflow: hidden;
  background: #ffffff;
}

.hero-demo-chat-body > time {
  margin-bottom: 12px;
  display: block;
  color: #9a9aa2;
  font-size: 7px;
  text-align: center;
}

.hero-demo-message {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.hero-demo-message p {
  max-width: min(76%, 270px);
  margin: 0;
  padding: 8px 9px;
  border: 0;
  border-radius: 12px;
  background: #f3f3f3;
  color: #404040;
  font-size: 8px;
  line-height: 1.45;
}

.hero-demo-message.is-user {
  justify-content: flex-end;
}

.hero-demo-message.is-user p {
  border: 0;
  background: #f0f4fb;
  color: #404040;
}

.hero-demo-chat-composer {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 30px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-desktop-panel[data-demo-desktop-panel="explore"] {
  grid-template-columns: minmax(0, 1fr);
}

.hero-demo-discover-pane {
  padding: 22px 26px;
  overflow: hidden;
}

.hero-demo-discover-pane > header h2 {
  margin: 0;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
}

.hero-demo-discover-pane > header > div {
  width: max-content;
  margin-top: 10px;
  padding: 2px;
  display: flex;
  gap: 2px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #737373;
  font-size: 8px;
}

.hero-demo-discover-pane > header b,
.hero-demo-discover-pane > header span {
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 500;
}

.hero-demo-discover-pane > header b {
  background: #ffffff;
  color: #171717;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
}

.hero-demo-workbench-grid {
  height: auto;
  margin-top: 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  overflow: hidden;
  background: #ffffff;
}

.hero-demo-workbench-grid article {
  min-width: 0;
  min-height: 154px;
  padding: 0 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.hero-demo-team-visual {
  position: relative;
  height: 64px;
  margin: 0 -9px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #f4f5f7;
}

.hero-demo-team-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-demo-team-visual.is-code {
  background: #f6f6f4;
}

.hero-demo-team-visual.is-analysis {
  background: #f2f4f2;
}

.hero-demo-workbench-grid article > strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-workbench-grid article > small {
  min-height: 20px;
  overflow: hidden;
  color: #737373;
  font-size: 7px;
  line-height: 1.4;
}

.hero-demo-workbench-grid article p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.hero-demo-workbench-grid article p b {
  padding: 2px 4px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 3px;
  background: #f3f4f6;
  font-size: 6px;
  font-weight: 500;
}

.hero-demo-workbench-grid article button,
.hero-demo-mobile-discover article button {
  width: max-content;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #171717;
  font: inherit;
  font-size: 7px;
  font-weight: 600;
}

.hero-demo-contact-detail {
  padding: 20px;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #ffffff;
}

.hero-demo-contact-detail > .hero-demo-avatar {
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
  border-radius: 17px;
  font-size: 15px;
}

.hero-demo-contact-detail > strong {
  color: #171717;
  font-size: 14px;
  font-weight: 600;
}

.hero-demo-contact-detail > small {
  margin-top: 4px;
  color: #9a9aa2;
  font-size: 8px;
}

.hero-demo-contact-detail > button {
  min-width: 98px;
  height: 31px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #ffffff;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
}

.hero-demo-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: clamp(184px, 15vw, 208px);
  aspect-ratio: 9 / 18.5;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 28px;
  background: #181818;
  box-shadow: 0 22px 48px rgba(23, 23, 23, 0.22);
  font-size: 9px;
}

.hero-demo-phone-status {
  height: 22px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px 22px 0 0;
  background: #ffffff;
  font-size: 7px;
}

.hero-demo-phone-status span {
  color: #525252;
  font-size: 6px;
}

.hero-demo-mobile-panels {
  height: calc(100% - 22px);
  padding-bottom: 64px;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #ffffff;
}

.hero-demo-mobile-panel {
  height: 100%;
  overflow: hidden;
  animation: hero-demo-original-panel-in 180ms ease-out both;
}

.hero-demo-mobile-panel > header {
  height: 43px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.hero-demo-mobile-panel > header strong {
  color: #171717;
  font-size: 14px;
  font-weight: 650;
}

.hero-demo-mobile-panel > header span {
  color: #737373;
  font-size: 7px;
}

.hero-demo-mobile-panel > .hero-demo-search {
  margin: 0 9px 7px;
}

.hero-demo-mobile-list {
  padding: 0 7px;
}

.hero-demo-mobile-list > div {
  min-width: 0;
  min-height: 51px;
  padding: 6px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
}

.hero-demo-mobile-list > div.is-selected {
  background: rgba(59, 130, 246, 0.08);
}

.hero-demo-mobile-list .hero-demo-avatar {
  width: 31px;
  height: 31px;
  font-size: 8px;
}

.hero-demo-mobile-list strong {
  font-size: 9px;
  font-weight: 550;
}

.hero-demo-mobile-list small {
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-mobile-list time {
  align-self: start;
  padding-top: 6px;
  color: #9a9aa2;
  font-size: 6px;
}

.hero-demo-mobile-group {
  margin: 3px 13px 2px;
  color: #737373;
  font-size: 7px;
  font-weight: 500;
}

.hero-demo-mobile-segments {
  width: max-content;
  margin: 0 11px 9px;
  padding: 2px;
  display: flex;
  gap: 2px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #737373;
  font-size: 7px;
}

.hero-demo-mobile-segments b,
.hero-demo-mobile-segments span {
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 500;
}

.hero-demo-mobile-segments b {
  background: #ffffff;
  color: #171717;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero-demo-mobile-discover {
  padding: 0 9px;
  display: grid;
  gap: 8px;
}

.hero-demo-mobile-discover article {
  margin: 0;
  padding: 0 9px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.hero-demo-mobile-discover .hero-demo-team-visual {
  grid-column: 1 / -1;
  height: 58px;
  margin: 0 -9px 3px;
}

.hero-demo-mobile-discover article b {
  font-size: 9px;
}

.hero-demo-mobile-discover article small {
  color: #737373;
  font-size: 7px;
  text-align: right;
}

.hero-demo-mobile-discover article button {
  grid-column: 1 / -1;
}

.hero-demo-mobile-profile {
  padding: 22px 13px;
  display: grid;
  justify-items: center;
}

.hero-demo-mobile-profile > .hero-demo-self-avatar {
  width: 54px;
  height: 54px;
  border-radius: 17px;
}

.hero-demo-mobile-profile > strong {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

.hero-demo-mobile-profile > small {
  margin-top: 2px;
  color: #9a9aa2;
  font-size: 7px;
}

.hero-demo-profile-items {
  width: 100%;
  margin-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hero-demo-profile-items p {
  min-height: 35px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #404040;
  font-size: 8px;
}

.hero-demo-profile-items b {
  color: #9a9aa2;
  font-weight: 500;
}

.hero-demo-mobile-nav {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  z-index: 2;
  height: 55px;
  padding: 4px 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}

.hero-demo-mobile-nav button {
  min-width: 0;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  background: transparent;
  color: #9a9aa2;
}

.hero-demo-mobile-nav button svg {
  width: 15px;
  height: 15px;
}

.hero-demo-mobile-nav button small {
  font-size: 6px;
  font-weight: 500;
}

.hero-demo-mobile-nav button:hover,
.hero-demo-mobile-nav button:focus-visible,
.hero-demo-mobile-nav button[aria-selected="true"] {
  background: transparent;
  color: #171717;
}

.hero-demo-mobile-nav button[aria-selected="true"] small {
  font-weight: 650;
}

.hero-demo-mobile-profile-avatar {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.72;
}

.hero-demo-mobile-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-demo-mobile-nav button[aria-selected="true"] .hero-demo-mobile-profile-avatar {
  box-shadow: 0 0 0 1.5px #171717;
  opacity: 1;
}

.hero-demo-desktop-nav button:focus-visible,
.hero-demo-mobile-nav button:focus-visible,
.hero-demo-device-switch button:focus-visible {
  outline: 2px solid #75a7f0;
  outline-offset: 1px;
}

@keyframes hero-demo-original-panel-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .hero-demo-stage {
    min-height: 0;
    display: grid;
    place-items: center;
  }

  [data-hero-demo][data-active-device="desktop"] .hero-demo-mobile,
  [data-hero-demo][data-active-device="mobile"] .hero-demo-desktop {
    display: none;
  }

  .hero-demo-desktop {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero-demo-mobile {
    position: relative;
    right: auto;
    bottom: auto;
    width: 224px;
  }
}

@media (max-width: 720px) {
  .hero-demo-desktop {
    width: 100%;
    aspect-ratio: 1.56;
    font-size: 8px;
  }

  .hero-demo-desktop-app {
    height: 100%;
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .hero-demo-desktop-nav {
    padding: 6px 2px;
    gap: 3px;
  }

  .hero-demo-window-controls {
    gap: 2px;
  }

  .hero-demo-window-controls i {
    width: 5px;
    height: 5px;
  }

  .hero-demo-self-avatar {
    width: 23px;
    height: 23px;
  }

  .hero-demo-desktop-nav button {
    width: 27px;
    height: 27px;
  }

  .hero-demo-desktop-nav button svg {
    width: 15px;
    height: 15px;
  }

  .hero-demo-desktop-panel {
    grid-template-columns: minmax(104px, 31%) minmax(0, 1fr);
  }

  .hero-demo-list-pane {
    padding: 7px 5px 29px;
  }

  .hero-demo-task-tool {
    min-height: 19px;
  }

  .hero-demo-task-tool:nth-of-type(3),
  .hero-demo-project-task,
  .hero-demo-execution-body > ul,
  .hero-demo-chat-body .hero-demo-message:nth-of-type(3),
  .hero-demo-credit,
  .hero-demo-help {
    display: none;
  }

  .hero-demo-list-label {
    margin: 5px 3px 2px;
  }

  .hero-demo-project {
    min-height: 21px;
  }

  .hero-demo-settings-row {
    height: 27px;
  }

  .hero-demo-task-header,
  .hero-demo-chat-header {
    height: 30px;
  }

  .hero-demo-execution-body,
  .hero-demo-chat-body {
    height: calc(100% - 30px);
  }

  .hero-demo-execution-body {
    padding: 9px 12px 46px;
  }

  .hero-demo-execution-body > p {
    margin: 4px 0;
  }

  .hero-demo-execute {
    height: 31px;
    margin: 5px 0;
  }

  .hero-demo-execute strong,
  .hero-demo-execute code {
    height: 15px;
  }

  .hero-demo-composer {
    right: 10px;
    bottom: 6px;
    left: 10px;
    height: 38px;
  }

  .hero-demo-list-item {
    min-height: 35px;
    padding: 4px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 5px;
  }

  .hero-demo-list-item .hero-demo-avatar {
    width: 24px;
    height: 24px;
  }

  .hero-demo-chat-body {
    padding: 10px 8px 37px;
  }

  .hero-demo-message {
    margin-bottom: 6px;
  }

  .hero-demo-message p {
    padding: 5px 7px;
  }

  .hero-demo-chat-composer {
    right: 7px;
    bottom: 5px;
    left: 7px;
    height: 25px;
  }

  .hero-demo-discover-pane {
    padding: 12px 14px;
  }

  .hero-demo-workbench-grid {
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-demo-workbench-grid article {
    min-height: 113px;
  }

  .hero-demo-workbench-grid article:nth-child(3) {
    display: none;
  }

  .hero-demo-team-visual {
    height: 42px;
  }

  .hero-demo-workbench-grid article p {
    display: none;
  }

  .hero-demo-contact-detail {
    padding: 10px;
  }

  .hero-demo-contact-detail > .hero-demo-avatar {
    width: 46px;
    height: 46px;
  }

  .hero-demo-mobile {
    width: min(260px, 78vw);
  }
}

/* 参考层弹层：沿用 Gugu Desktop 的紧凑菜单 token。默认隐藏，不参与首屏像素。 */
.hero-demo-reference-popover.is-menu,
.hero-demo-reference-popover.is-form {
  min-width: 0;
  padding: 0.65cqw;
  gap: 0.45cqw;
  border: 0.09cqw solid #d5d6d9;
  border-radius: 0.72cqw;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 0.85cqw 2.2cqw rgba(30, 30, 34, 0.17);
  color: #4c4e54;
  font-size: 1.03cqw;
}

.hero-demo-reference-menu-heading {
  min-width: 0;
  padding: 0.35cqh 0.5cqw 0.45cqh;
  display: grid;
  gap: 0.2cqh;
}

.hero-demo-reference-menu-heading strong {
  overflow: hidden;
  color: #303238;
  font-size: 1.06em;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-menu-heading small {
  overflow: hidden;
  color: #96989e;
  font-size: 0.88em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-menu-items {
  display: grid;
  gap: 0.18cqh;
}

.hero-demo-reference-menu-item {
  width: 100%;
  min-width: 0;
  min-height: 3.15cqh;
  padding: 0.15cqh 0.55cqw;
  display: flex;
  align-items: center;
  gap: 0.55cqw;
  border: 0;
  border-radius: 0.48cqw;
  background: transparent;
  color: #55575d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-demo-reference-menu-item:hover,
.hero-demo-reference-menu-item:focus-visible,
.hero-demo-reference-menu-item.is-selected {
  background: #f1f1f2;
  color: #2e3035;
}

.hero-demo-reference-menu-item.is-danger {
  color: #c84d4d;
}

.hero-demo-reference-menu-item:disabled {
  color: #b5b6ba;
  cursor: default;
}

.hero-demo-reference-menu-icon {
  width: 1.45cqw;
  height: 1.45cqw;
  flex: 0 0 1.45cqw;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-size: 1.05em;
  line-height: 1;
}

.hero-demo-reference-menu-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-menu-item kbd,
.hero-demo-reference-menu-meta {
  flex: 0 0 auto;
  color: #a0a2a8;
  font: inherit;
  font-size: 0.86em;
  white-space: nowrap;
}

.hero-demo-reference-menu-check {
  flex: 0 0 auto;
  color: #f16f32;
  font-size: 1.05em;
  line-height: 1;
}

.hero-demo-reference-menu-empty {
  margin: 0.45cqh 0.55cqw 0.65cqh;
  color: #96989e;
  font-size: 0.92em;
  line-height: 1.35;
}

.hero-demo-reference-profile {
  min-width: 0;
  padding: 0.4cqh 0.5cqw 0.55cqh;
  display: flex;
  align-items: center;
  gap: 0.55cqw;
  border-bottom: 0.09cqw solid #ececee;
}

.hero-demo-reference-profile img {
  width: 2.7cqw;
  height: 2.7cqw;
  flex: 0 0 2.7cqw;
  border-radius: 0.7cqw;
  background: #bfe9fb;
  object-fit: contain;
}

.hero-demo-reference-profile strong {
  min-width: 0;
  overflow: hidden;
  color: #37393e;
  font-size: 1.04em;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-form {
  display: grid;
  gap: 0.6cqh;
}

.hero-demo-reference-form input {
  width: 100%;
  min-height: 3.5cqh;
  padding: 0.35cqh 0.55cqw;
  border: 0.09cqw solid #d7d8db;
  border-radius: 0.45cqw;
  background: #fafafa;
  color: #33353a;
  font: inherit;
  outline: 0;
}

.hero-demo-reference-form input:focus {
  border-color: #8caee2;
  box-shadow: 0 0 0 0.16cqw rgba(77, 131, 216, 0.24);
}

.hero-demo-reference-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4cqw;
}

.hero-demo-reference-form-actions button {
  min-height: 3.0cqh;
  padding: 0 0.65cqw;
  border: 0;
  border-radius: 0.42cqw;
  background: #171717;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.hero-demo-reference-form-actions button.is-muted {
  background: #f0f0f1;
  color: #686a70;
}

.hero-demo-reference-form-actions button:hover,
.hero-demo-reference-form-actions button:focus-visible {
  filter: brightness(0.95);
}

@media (max-width: 720px) {
  .hero-demo-reference-popover.is-menu,
  .hero-demo-reference-popover.is-form {
    padding: 0.9cqw;
    border-radius: 1.15cqw;
    font-size: 1.35cqw;
  }

  .hero-demo-reference-menu-item {
    min-height: 4.2cqh;
    border-radius: 0.75cqw;
  }

  .hero-demo-reference-menu-icon {
    width: 1.85cqw;
    height: 1.85cqw;
    flex-basis: 1.85cqw;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   Authentic Gugu task session

   The task panel keeps a semantic DOM recreation for interaction and uses the
   matching 2344 × 1720 capture as its default visual baseline. cqw/cqh keep
   the surrounding responsive shell tied to the client window proportions.
   ──────────────────────────────────────────────────────────────────────────── */

.hero-demo-desktop {
  container-type: size;
  width: 100%;
  aspect-ratio: 2344 / 1720;
  overflow: hidden;
  border-radius: 1.05cqw;
  border: 0.09cqw solid #d4d5d7;
  background: #ffffff;
  box-shadow: 0 2.2cqw 5cqw rgba(32, 32, 36, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 1cqw;
  letter-spacing: 0;
}

.hero-demo-desktop-app {
  display: grid;
  grid-template-columns: 5.12% minmax(0, 1fr);
  height: 100%;
  background: #ffffff;
}

.hero-demo-desktop-nav {
  min-width: 0;
  padding: 1.35cqh 0.65cqw 1.15cqh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25cqh;
  border-right: 0.09cqw solid #dfe0e3;
  background: #f0f0f3;
}

.hero-demo-window-controls {
  width: 100%;
  min-height: 3.2cqh;
  margin: 0 0 3.4cqh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55cqw;
}

.hero-demo-window-controls i {
  width: 1.02cqw;
  height: 1.02cqw;
  border-radius: 50%;
}

.hero-demo-self-avatar {
  width: 3.38cqw;
  height: 4.65cqh;
  min-width: 0;
  border-radius: 0.95cqw;
  background: #bfe9fb;
}

.hero-demo-self-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-demo-desktop-nav button {
  width: 3.45cqw;
  height: 4.25cqh;
  min-height: 0;
  padding: 0;
  border-radius: 0.85cqw;
  background: transparent;
  color: #8c8f96;
}

.hero-demo-desktop-nav button svg {
  width: 1.82cqw;
  height: 1.82cqw;
}

.hero-demo-desktop-nav button:hover,
.hero-demo-desktop-nav button:focus-visible {
  background: #e5e7f2;
  color: #4d5058;
}

.hero-demo-desktop-nav button[aria-selected="true"] {
  background: #dfe7f8;
  color: #31343b;
}

.hero-demo-desktop-nav button[aria-selected="true"]::before {
  left: -0.5cqw;
  width: 0.18cqw;
  height: 2.7cqh;
  background: #4e5158;
}

.hero-demo-nav-badge {
  top: 0.55cqh;
  right: 0.45cqw;
  width: 0.55cqw;
  height: 0.55cqw;
  border-width: 0.08cqw;
  background: #37393f;
}

.hero-demo-nav-spacer {
  min-height: 0;
  flex: 1 1 auto;
}

.hero-demo-help {
  width: 1.7cqw;
  height: 1.7cqw;
  border-width: 0.1cqw;
  font-size: 1.05cqw;
}

.hero-demo-credit {
  font-size: 0.72cqw;
}

.hero-demo-desktop-panel {
  grid-template-columns: 22.2% minmax(0, 1fr);
  background: #ffffff;
}

.hero-demo-authentic-task-panel {
  grid-template-columns: 22.2% minmax(0, 1fr);
}

.hero-demo-list-pane.hero-demo-task-sidebar {
  min-width: 0;
  padding: 1.2cqh 1.0cqw 5.1cqh;
  border-right: 0.09cqw solid #d8d9dc;
  background: #ffffff;
}

.hero-demo-task-sidebar .hero-demo-pane-top {
  height: 4.9cqh;
  margin: 0 0 1.8cqh;
  display: flex;
  justify-content: flex-end;
}

.hero-demo-task-sidebar .hero-demo-icon-button {
  width: 2.45cqw;
  min-width: 0;
  height: 2.45cqw;
  border-radius: 0.55cqw;
  color: #74777d;
}

.hero-demo-task-sidebar .hero-demo-icon-button svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-task-sidebar .hero-demo-task-tool {
  width: 100%;
  min-height: 0;
  height: 6.25cqh;
  padding: 0 0.55cqw;
  display: grid;
  grid-template-columns: 2.05cqw minmax(0, 1fr) auto;
  gap: 0.7cqw;
  align-items: center;
  border: 0;
  border-radius: 0.62cqw;
  background: transparent;
  color: #85878c;
  font: inherit;
  text-align: left;
}

.hero-demo-task-sidebar .hero-demo-task-tool:hover,
.hero-demo-task-sidebar .hero-demo-task-tool:focus-visible {
  background: #f3f3f4;
  color: #303238;
}

.hero-demo-task-sidebar .hero-demo-task-tool svg {
  width: 1.65cqw;
  height: 1.65cqw;
}

.hero-demo-task-sidebar .hero-demo-task-tool strong {
  font-size: 1.18cqw;
  font-weight: 450;
}

.hero-demo-task-sidebar .hero-demo-task-tool kbd,
.hero-demo-task-sidebar .hero-demo-settings-row kbd {
  padding: 0.35cqh 0.35cqw;
  border: 0.09cqw solid #dadbde;
  border-radius: 0.4cqw;
  background: #ffffff;
  color: #999ba1;
  font-size: 0.9cqw;
}

.hero-demo-task-sidebar .hero-demo-project-label {
  height: 4.3cqh;
  margin: 2.25cqh 0.65cqw 0.2cqh;
  color: #85878c;
  font-size: 1.08cqw;
}

.hero-demo-project-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
}

.hero-demo-project-actions svg {
  width: 1.45cqw;
  height: 1.45cqw;
}

.hero-demo-task-sidebar .hero-demo-project {
  width: 100%;
  height: 5.1cqh;
  min-height: 0;
  padding: 0 0.65cqw;
  gap: 0.65cqw;
  border-radius: 0.58cqw;
  background: transparent;
  color: #85878c;
  text-align: left;
}

.hero-demo-task-sidebar .hero-demo-project:hover,
.hero-demo-task-sidebar .hero-demo-project:focus-visible,
.hero-demo-task-sidebar .hero-demo-project.is-selected {
  background: #f4f4f5;
  color: #4d5056;
}

.hero-demo-task-sidebar .hero-demo-project svg {
  width: 1.55cqw;
  height: 1.55cqw;
}

.hero-demo-task-sidebar .hero-demo-project strong {
  font-size: 1.18cqw;
  font-weight: 450;
}

.hero-demo-task-label {
  height: 4.45cqh;
  margin: 2.05cqh 0.65cqw 0;
  color: #85878c;
  font-size: 1.08cqw;
}

.hero-demo-completed-label {
  height: 4.2cqh;
  padding: 0 0.65cqw;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65cqw;
  color: #85878c;
  font-size: 1.08cqw;
}

.hero-demo-completed-label button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #41a15e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hero-demo-completed-label i {
  height: 0.12cqw;
  background: #dedfe1;
}

.hero-demo-task-list {
  display: grid;
  gap: 0.2cqh;
}

.hero-demo-task-list.is-collapsed {
  display: none;
}

.hero-demo-task-row {
  width: 100%;
  min-height: 0;
  height: 5.15cqh;
  padding: 0 0.65cqw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55cqw;
  border: 0.09cqw solid transparent;
  border-radius: 0.8cqw;
  background: transparent;
  color: #777a81;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-demo-task-row:hover,
.hero-demo-task-row:focus-visible {
  background: #f3f3f4;
  color: #4e5157;
}

.hero-demo-task-row.is-selected,
.hero-demo-task-row[aria-selected="true"] {
  border-color: #9da0a5;
  background: #d7d7d9;
  color: #4d5055;
  box-shadow: inset 0 0.1cqw 0 rgba(255,255,255,0.65);
}

.hero-demo-task-row > span {
  min-width: 0;
}

.hero-demo-task-row strong {
  overflow: hidden;
  font-size: 1.2cqw;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-row time {
  color: #9b9da3;
  font-size: 1.05cqw;
  white-space: nowrap;
}

.hero-demo-task-row-status,
.hero-demo-task-row small {
  display: none;
}

.hero-demo-task-empty {
  margin: 1cqh 0.65cqw;
  color: #a0a2a8;
  font-size: 1.05cqw;
}

.hero-demo-task-sidebar .hero-demo-settings-row {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6.35cqh;
  padding: 0 1.15cqw;
  display: grid;
  grid-template-columns: 1.8cqw minmax(0, 1fr) auto;
  gap: 0.75cqw;
  border-top: 0.09cqw solid #d8d9dc;
  background: #ffffff;
  color: #85878c;
  text-align: left;
}

.hero-demo-task-sidebar .hero-demo-settings-row svg {
  width: 1.45cqw;
  height: 1.45cqw;
}

.hero-demo-task-sidebar .hero-demo-settings-row strong {
  font-size: 1.18cqw;
  font-weight: 450;
}

.hero-demo-task-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.hero-demo-session-titlebar {
  height: 5.45cqh;
  min-height: 0;
  padding: 0 1.55cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.09cqw solid #e4e4e6;
  color: #484a4f;
}

.hero-demo-session-title,
.hero-demo-session-actions {
  display: flex;
  align-items: center;
}

.hero-demo-session-title {
  min-width: 0;
  gap: 0.55cqw;
}

.hero-demo-session-title > strong {
  overflow: hidden;
  color: #37393e;
  font-size: 1.25cqw;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-session-folder,
.hero-demo-session-more,
.hero-demo-session-actions button {
  width: 2.25cqw;
  height: 2.25cqw;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0.55cqw;
  background: transparent;
  color: #7c7f84;
  font: inherit;
  cursor: pointer;
}

.hero-demo-session-folder:hover,
.hero-demo-session-folder:focus-visible,
.hero-demo-session-more:hover,
.hero-demo-session-more:focus-visible,
.hero-demo-session-actions button:hover,
.hero-demo-session-actions button:focus-visible,
.hero-demo-session-actions button.is-active {
  background: #f1f1f2;
  color: #34363b;
}

.hero-demo-session-folder svg,
.hero-demo-session-actions svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-session-more {
  width: 2.1cqw;
  color: #85878c;
  font-size: 1.15cqw;
  letter-spacing: 0.12cqw;
}

.hero-demo-session-actions {
  gap: 0.45cqw;
}

.hero-demo-session-scroll {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  padding: 2.2cqh 0 1.5cqh;
  overflow: auto;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
}

.hero-demo-session-scroll > article,
.hero-demo-session-scroll > p {
  width: 77.7%;
  margin-right: auto;
  margin-left: auto;
}

.hero-demo-user-message {
  margin-bottom: 0.7cqh;
  padding: 1.85cqh 1.5cqw;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 1.05cqw;
  background: #ffffff;
  color: #45474c;
  font-size: 1.23cqw;
  line-height: 1.45;
}

.hero-demo-user-message p {
  margin: 0;
}

.hero-demo-user-message .hero-demo-message-meta {
  margin-top: 0.3cqh;
  color: #45474c;
}

.hero-demo-user-message .hero-demo-message-meta span {
  color: #a7a8aa;
}

.hero-demo-assistant-message {
  width: 77.7%;
  margin-right: auto;
  margin-left: auto;
  padding: 0.2cqh 1.5cqw 7cqh;
  color: #45474c;
  font-size: 1.2cqw;
  line-height: 1.45;
}

.hero-demo-assistant-message p {
  margin: 1.25cqh 0;
}

.hero-demo-diagnostic-list,
.hero-demo-assistant-message > ul {
  margin: 0.7cqh 0;
  padding-left: 2.55cqw;
}

.hero-demo-diagnostic-list li,
.hero-demo-assistant-message > ul li {
  padding-left: 0.2cqw;
}

.hero-demo-diagnostic-list li::marker,
.hero-demo-assistant-message > ul li::marker {
  color: #6d7076;
  font-size: 0.75em;
}

.hero-demo-assistant-message a {
  color: #0786ef;
  text-decoration: underline;
  text-decoration-thickness: 0.08cqw;
  text-underline-offset: 0.18cqw;
}

.hero-demo-assistant-message code {
  padding: 0.1cqh 0.35cqw;
  border-radius: 0.35cqw;
  background: #f0f0f1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.hero-demo-code-block {
  width: 100%;
  margin: 1.4cqh 0;
  padding: 1.15cqh 1.05cqw;
  overflow: auto;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 1.0cqw;
  background: #ffffff;
  color: #26282c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05cqw;
  line-height: 1.65;
  white-space: pre;
}

.hero-demo-copy-message {
  min-height: 2.6cqh;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45cqw;
  border: 0;
  background: transparent;
  color: #a0a2a8;
  font: inherit;
  font-size: 1.02cqw;
  cursor: pointer;
}

.hero-demo-copy-message:hover,
.hero-demo-copy-message:focus-visible {
  color: #5e6168;
}

.hero-demo-copy-message svg {
  width: 1.25cqw;
  height: 1.25cqw;
}

.hero-demo-live-reply {
  width: 77.7%;
  margin: 1cqh auto;
  color: #4a4c51;
  font-size: 1.2cqw;
}

.hero-demo-composer {
  position: relative;
  z-index: 4;
  width: 77.7%;
  min-height: 14.1cqh;
  margin: 0 auto 1.7cqh;
  padding: 1.45cqh 1.2cqw 0.75cqh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0.7cqh;
  border: 0.1cqw solid #e0e1e3;
  border-radius: 1.0cqw;
  background: #ffffff;
  box-shadow: 0 0.35cqw 0.8cqw rgba(25, 25, 28, 0.12);
}

.hero-demo-composer textarea {
  width: 100%;
  min-height: 4.7cqh;
  padding: 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #45474c;
  font: inherit;
  font-size: 1.25cqw;
  line-height: 1.35;
}

.hero-demo-composer textarea::placeholder {
  color: #a5a7ad;
}

.hero-demo-composer textarea:focus-visible {
  outline: 0.14cqw solid #9bbcf0;
  outline-offset: 0.25cqw;
  border-radius: 0.25cqw;
}

.hero-demo-composer-controls {
  min-height: 3.8cqh;
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  font-size: 1.1cqw;
}

.hero-demo-composer-controls button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero-demo-composer-plus {
  width: 2.0cqw;
  height: 2.0cqw;
  padding: 0;
  background: transparent;
  color: #8b8d92;
  font-size: 1.45cqw !important;
  line-height: 1;
}

.hero-demo-composer-plus:hover,
.hero-demo-composer-plus:focus-visible {
  color: #45474c;
}

.hero-demo-permission,
.hero-demo-model {
  min-height: 2.8cqh;
  padding: 0 0.45cqw;
  display: inline-flex;
  align-items: center;
  gap: 0.4cqw;
  background: transparent;
  color: #f16f32;
  white-space: nowrap;
}

.hero-demo-permission > span {
  width: 1.1cqw;
  height: 1.1cqw;
  display: inline-grid;
  place-items: center;
  border: 0.1cqw solid currentColor;
  border-radius: 50%;
  font-size: 0.8cqw;
  line-height: 1;
}

.hero-demo-permission svg,
.hero-demo-model svg {
  width: 1.15cqw;
  height: 1.15cqw;
}

.hero-demo-permission:hover,
.hero-demo-permission:focus-visible,
.hero-demo-model:hover,
.hero-demo-model:focus-visible {
  border-radius: 0.45cqw;
  background: #fff4ed;
}

.hero-demo-composer-spacer {
  flex: 1 1 auto;
}

.hero-demo-model {
  color: #96989e;
}

.hero-demo-model-mark {
  color: #c4c6ca;
  font-size: 1.65cqw;
  line-height: 1;
}

.hero-demo-send {
  width: 3.0cqw;
  height: 3.0cqw;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050505;
  color: #ffffff;
}

.hero-demo-send:hover,
.hero-demo-send:focus-visible {
  background: #303030;
}

.hero-demo-send svg {
  width: 1.45cqw;
  height: 1.45cqw;
}

.hero-demo-task-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-demo-authentic-popover {
  position: absolute;
  z-index: 30;
  min-width: 15cqw;
  padding: 0.8cqh 0.75cqw;
  display: grid;
  gap: 0.6cqh;
  border: 0.1cqw solid #d6d7da;
  border-radius: 0.7cqw;
  background: #ffffff;
  box-shadow: 0 0.8cqw 2cqw rgba(25, 25, 28, 0.16);
  color: #4d5056;
  font-size: 1.05cqw;
}

.hero-demo-task-sidebar > .hero-demo-authentic-popover {
  top: 8.8cqh;
  right: 1cqw;
  left: 1cqw;
}

.hero-demo-authentic-popover.is-search {
  min-width: 22cqw;
}

.hero-demo-authentic-popover strong {
  font-size: 1.1em;
  font-weight: 600;
}

.hero-demo-authentic-popover input {
  width: 100%;
  min-height: 3.2cqh;
  padding: 0 0.6cqw;
  border: 0.1cqw solid #d8d9dc;
  border-radius: 0.45cqw;
  background: #fafafa;
  color: #33353a;
  font: inherit;
}

.hero-demo-authentic-menu-items {
  display: grid;
  gap: 0.2cqh;
}

.hero-demo-authentic-popover button {
  min-height: 3.1cqh;
  padding: 0 0.55cqw;
  border: 0;
  border-radius: 0.4cqw;
  background: transparent;
  color: #5e6167;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-demo-authentic-popover button:hover,
.hero-demo-authentic-popover button:focus-visible {
  background: #f1f1f2;
  color: #2e3035;
}

.hero-demo-authentic-clear {
  border-top: 0.1cqw solid #ececee !important;
  border-radius: 0 !important;
  color: #85878c !important;
  text-align: center !important;
}

.hero-demo-desktop-app.is-sidebar-collapsed {
  grid-template-columns: 5.12% minmax(0, 1fr);
}

.hero-demo-desktop-app.is-sidebar-collapsed .hero-demo-authentic-task-panel {
  grid-template-columns: 0 minmax(0, 1fr);
}

.hero-demo-desktop-app.is-sidebar-collapsed .hero-demo-authentic-task-panel > .hero-demo-task-sidebar {
  width: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

@media (max-width: 720px) {
  .hero-demo-desktop {
    border-radius: 2.4cqw;
  }

  .hero-demo-session-scroll > article,
  .hero-demo-session-scroll > p,
  .hero-demo-assistant-message,
  .hero-demo-composer {
    width: 88%;
  }

  .hero-demo-task-sidebar .hero-demo-task-tool strong,
  .hero-demo-task-row strong,
  .hero-demo-session-title > strong,
  .hero-demo-composer textarea {
    font-size: 1.45cqw;
  }

  .hero-demo-composer-controls,
  .hero-demo-assistant-message,
  .hero-demo-user-message {
    font-size: 1.35cqw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo-desktop-panel,
  .hero-demo-mobile-panel {
    animation: none;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   首页交互层：演示区沿用桌面端的浅色 Token（导航栏、列表和工作区），
   并把产品文案与软件界面上下排列，便于分别阅读。
   ──────────────────────────────────────────────────────────────────────────── */

.hero-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(42px, 4vw, 56px);
}

.hero-heading {
  width: min(100%, 920px);
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-showcase {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.hero-demo-stage {
  min-height: 0;
  display: block;
  padding-bottom: 2px;
}

.hero-demo-desktop {
  position: relative;
  top: auto;
  left: auto;
  width: calc(100% - clamp(76px, 7vw, 112px));
  aspect-ratio: 16 / 9;
  border-color: rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(23, 23, 23, 0.16);
}

.hero-demo-mobile {
  right: 0;
  bottom: 0;
  width: clamp(214px, 16vw, 258px);
  border-radius: 30px;
  box-shadow: 0 24px 56px rgba(23, 23, 23, 0.24);
}

/* 宽屏时把吉祥物贴在软件窗口左缘，避免透明图片把页面推出视口。 */
.hero-edge-mascot {
  left: clamp(142px, 10vw, 172px);
  transform: translate(-100%, -50%);
}

/* gugu 浅色模式的真实界面层。 */
.hero-demo-task-sidebar {
  background: #ffffff;
}

.hero-demo-task-sidebar .hero-demo-pane-top {
  margin-bottom: 8px;
}

.hero-demo-icon-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #737373;
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.hero-demo-icon-button:hover,
.hero-demo-icon-button:focus-visible {
  background: #f3f4f6;
  color: #171717;
}

.hero-demo-icon-button svg {
  width: 15px;
  height: 15px;
}

.hero-demo-task-sidebar .hero-demo-task-tool {
  width: 100%;
  min-height: 38px;
  padding: 0 7px;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #737373;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.hero-demo-task-sidebar .hero-demo-task-tool:hover,
.hero-demo-task-sidebar .hero-demo-task-tool:focus-visible {
  background: #f3f4f6;
  color: #171717;
}

.hero-demo-task-sidebar .hero-demo-task-tool svg {
  width: 16px;
  height: 16px;
}

.hero-demo-task-sidebar .hero-demo-project {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-demo-task-sidebar .hero-demo-project:hover,
.hero-demo-task-sidebar .hero-demo-project:focus-visible {
  background: #f3f4f6;
}

.hero-demo-task-list {
  display: grid;
  gap: 3px;
}

.hero-demo-task-row {
  min-width: 0;
  min-height: 48px;
  padding: 6px 7px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #525252;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.hero-demo-task-row:hover,
.hero-demo-task-row:focus-visible {
  background: #f3f4f6;
  color: #171717;
}

.hero-demo-task-row.is-selected,
.hero-demo-task-row[aria-selected='true'] {
  background: #f0f3f8;
  color: #171717;
}

.hero-demo-task-row > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-demo-task-row strong,
.hero-demo-task-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-row strong {
  font-size: 10px;
  font-weight: 600;
}

.hero-demo-task-row small {
  color: #858b93;
  font-size: 8px;
}

.hero-demo-task-row time {
  align-self: start;
  padding-top: 3px;
  color: #9a9aa2;
  font-size: 7px;
  white-space: nowrap;
}

.hero-demo-task-row-status {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #a7abb0;
  box-shadow: 0 0 0 2px #ffffff;
}

.hero-demo-task-row-status.is-done {
  background: #55a66c;
}

.hero-demo-task-row-status.is-waiting {
  background: #d89b3c;
}

.hero-demo-task-empty {
  margin-top: 8px;
}

.hero-demo-task-sidebar .hero-demo-settings-row {
  width: 100%;
  border-right: 0;
  border-bottom: 0;
  cursor: pointer;
}

.hero-demo-task-pane {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.hero-demo-task-header {
  min-height: 56px;
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #0000000f;
  color: #171717;
}

.hero-demo-task-title-wrap,
.hero-demo-task-header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
}

.hero-demo-task-title-wrap {
  gap: 9px;
}

.hero-demo-task-title-wrap > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-demo-task-title-wrap strong,
.hero-demo-task-title-wrap small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-title-wrap strong {
  font-size: 13px;
  font-weight: 600;
}

.hero-demo-task-title-wrap small {
  color: #858b93;
  font-size: 8px;
}

.hero-demo-task-title-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f3f4f6;
  color: #737373;
}

.hero-demo-task-title-icon svg {
  width: 16px;
  height: 16px;
}

.hero-demo-task-header-actions {
  gap: 7px;
  flex-shrink: 0;
}

.hero-demo-task-status {
  min-height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #cfe7d7;
  border-radius: 999px;
  background: #f1faf4;
  color: #45855c;
  font-size: 8px;
  white-space: nowrap;
}

.hero-demo-task-status i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.hero-demo-task-status.is-running {
  border-color: #ead7b9;
  background: #fff8ed;
  color: #a87125;
}

.hero-demo-task-status.is-waiting {
  border-color: #d8dce1;
  background: #f7f8f9;
  color: #737373;
}

.hero-demo-task-status.is-error {
  border-color: #efcaca;
  background: #fff4f4;
  color: #b64d4d;
}

.hero-demo-task-run {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #ffffff;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease-out, opacity 180ms ease-out;
}

.hero-demo-task-run:hover,
.hero-demo-task-run:focus-visible {
  background: #3b3b3b;
}

.hero-demo-task-run:disabled {
  cursor: wait;
  opacity: 0.55;
}

.hero-demo-task-run svg {
  width: 13px;
  height: 13px;
}

.hero-demo-task-summary {
  min-height: 48px;
  padding: 8px 18px;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #0000000f;
  background: #fafafa;
}

.hero-demo-task-summary-count {
  min-width: 52px;
  display: grid;
  gap: 1px;
}

.hero-demo-task-summary-count strong {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hero-demo-task-summary-count small,
.hero-demo-task-elapsed {
  color: #858b93;
  font-size: 8px;
}

.hero-demo-task-progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eaed;
}

.hero-demo-task-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #55a66c;
  transition: width 260ms ease-out, background 180ms ease-out;
}

.hero-demo-task-progress-track span.is-running {
  background: #d89b3c;
}

.hero-demo-task-progress-track span.is-error {
  background: #c85a5a;
}

.hero-demo-task-pane .hero-demo-execution-body {
  height: auto;
  min-height: 0;
  flex: 1;
  padding: 18px max(18px, 7%) 18px;
  overflow: auto;
  background: #fbfbfc;
  color: #525252;
  font-size: 9px;
  line-height: 1.5;
  scrollbar-width: thin;
  scrollbar-color: #d8dce1 transparent;
}

.hero-demo-task-pane .hero-demo-user-prompt {
  max-width: 760px;
  margin: 0 auto 14px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid #dfe2e5;
  border-radius: 9px;
  background: #ffffff;
  color: #404040;
  font-size: 10px;
  line-height: 1.55;
}

.hero-demo-prompt-label {
  color: #858b93;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-demo-task-feed {
  max-width: 760px;
  margin: 0 auto;
}

.hero-demo-task-feed > p {
  margin: 8px 0;
}

.hero-demo-task-feed .hero-demo-thought {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9a9aa2;
  font-size: 8px;
}

.hero-demo-thinking-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border: 1px solid #a7abb0;
  border-radius: 50%;
}

.hero-demo-thinking-dot.is-live {
  border-color: #d89b3c;
  background: #d89b3c;
  animation: hero-demo-dot-pulse 1s ease-in-out infinite;
}

.hero-demo-task-pane .hero-demo-execute {
  height: auto;
  min-height: 48px;
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid #dfe2e5;
  border-radius: 8px;
  background: #ffffff;
}

.hero-demo-task-pane .hero-demo-execute strong,
.hero-demo-task-pane .hero-demo-execute code {
  min-height: 24px;
  height: auto;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  font-size: 8px;
  white-space: nowrap;
}

.hero-demo-task-pane .hero-demo-execute strong {
  color: #737373;
}

.hero-demo-task-pane .hero-demo-execute code {
  overflow: hidden;
  border-top: 1px solid #0000000f;
  color: #2373bb;
  text-overflow: ellipsis;
}

.hero-demo-timeline {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
}

.hero-demo-step {
  position: relative;
  min-width: 0;
}

.hero-demo-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 31px;
  bottom: -5px;
  left: 10px;
  width: 1px;
  background: #dfe2e5;
  pointer-events: none;
}

.hero-demo-step-toggle {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px 6px 0;
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #525252;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease-out, color 180ms ease-out;
}

.hero-demo-step-toggle:hover,
.hero-demo-step-toggle:focus-visible {
  background: #f1f3f5;
  color: #171717;
}

.hero-demo-step-toggle > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-demo-step-toggle strong,
.hero-demo-step-toggle small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-step-toggle strong {
  font-size: 10px;
  font-weight: 600;
}

.hero-demo-step-toggle small {
  color: #858b93;
  font-size: 8px;
}

.hero-demo-step-marker {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #c8cbd0;
  border-radius: 50%;
  background: #ffffff;
  color: #9a9aa2;
  font-size: 11px;
  font-weight: 700;
}

.hero-demo-step.is-complete .hero-demo-step-marker {
  border-color: #55a66c;
  background: #55a66c;
  color: #ffffff;
}

.hero-demo-step.is-current .hero-demo-step-marker {
  border-color: #d89b3c;
  background: #fff8ed;
  color: #a87125;
}

.hero-demo-step.is-error .hero-demo-step-marker {
  border-color: #c85a5a;
  background: #fff4f4;
  color: #b64d4d;
}

.hero-demo-step-chevron {
  color: #9a9aa2;
  font-size: 12px;
  transition: transform 180ms ease-out, color 180ms ease-out;
}

.hero-demo-step-toggle[aria-expanded='true'] .hero-demo-step-chevron {
  color: #525252;
  transform: rotate(180deg);
}

.hero-demo-step-detail {
  margin: 0 24px 7px 29px;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  border-left: 2px solid #e1e4e7;
  background: #ffffff;
  color: #737373;
  font-size: 8px;
  line-height: 1.45;
}

.hero-demo-step-detail code {
  color: #2373bb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hero-demo-step-detail[hidden] {
  display: none;
}

.hero-demo-task-result {
  min-height: 30px;
  margin-top: 12px !important;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  background: #f1faf4;
  color: #45855c;
  font-size: 8px;
}

.hero-demo-result-icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #55a66c;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.hero-demo-composer {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  min-height: 84px;
  height: auto;
  margin: 15px auto 0;
  padding: 9px 11px 7px;
  display: grid;
  gap: 6px;
  border: 1px solid #dfe2e5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  color: #9a9aa2;
}

.hero-demo-composer label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-demo-composer textarea {
  width: 100%;
  min-height: 35px;
  padding: 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #404040;
  font: inherit;
  font-size: 9px;
  line-height: 1.45;
}

.hero-demo-composer textarea::placeholder {
  color: #9a9aa2;
}

.hero-demo-composer textarea:focus-visible {
  outline: 2px solid #75a7f0;
  outline-offset: 3px;
  border-radius: 3px;
}

.hero-demo-composer-controls {
  min-height: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
}

.hero-demo-composer-controls > span:first-child {
  color: #f0783c;
}

.hero-demo-composer-controls > span:first-child b {
  font-weight: 600;
}

.hero-demo-composer-controls > span:first-child small {
  color: #858b93;
}

.hero-demo-composer-model {
  margin-left: auto;
  color: #858b93;
  white-space: nowrap;
}

.hero-demo-composer-controls button {
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #171717;
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease-out, opacity 180ms ease-out;
}

.hero-demo-composer-controls button:hover,
.hero-demo-composer-controls button:focus-visible {
  background: #3b3b3b;
}

.hero-demo-composer-controls button svg {
  width: 15px;
  height: 15px;
}

.hero-demo-chat-composer {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 36px;
  padding: 0 7px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe2e5;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-demo-chat-composer input {
  min-width: 0;
  flex: 1;
  height: 28px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #404040;
  font: inherit;
  font-size: 8px;
}

.hero-demo-chat-composer input::placeholder {
  color: #9a9aa2;
}

.hero-demo-chat-composer input:focus-visible {
  outline: 2px solid #75a7f0;
  outline-offset: 2px;
  border-radius: 3px;
}

.hero-demo-chat-composer button {
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #171717;
  color: #ffffff;
  cursor: pointer;
  transition: background 180ms ease-out;
}

.hero-demo-chat-composer button:hover,
.hero-demo-chat-composer button:focus-visible {
  background: #3b3b3b;
}

.hero-demo-chat-composer button svg {
  width: 13px;
  height: 13px;
}

/* 宽屏手机预览会叠在桌面窗口上，给聊天 composer 留出可点击的安全区域。 */
@media (min-width: 1201px) {
  .hero-demo-chat-composer {
    right: clamp(132px, 12vw, 180px);
  }
}

.hero-demo-task-live-region {
  min-height: 13px;
  color: #858b93;
  font-size: 8px;
}

@keyframes hero-demo-dot-pulse {
  0%, 100% { opacity: 0.38; transform: scale(0.78); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1200px) {
  .hero-heading {
    text-align: center;
  }

  .hero-demo-stage {
    display: grid;
    place-items: center;
    padding-bottom: 0;
  }

  .hero-demo-desktop {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero-demo-mobile {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(244px, 72vw);
  }
}

@media (max-width: 720px) {
  .hero-shell {
    gap: 34px;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .hero-demo-task-header {
    min-height: 48px;
    height: 48px;
    padding-inline: 10px;
    gap: 8px;
  }

  .hero-demo-task-title-icon {
    width: 24px;
    height: 24px;
  }

  .hero-demo-task-title-wrap strong {
    font-size: 10px;
  }

  .hero-demo-task-title-wrap small,
  .hero-demo-task-status,
  .hero-demo-task-run span,
  .hero-demo-task-elapsed {
    font-size: 7px;
  }

  .hero-demo-task-run {
    width: 30px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
  }

  .hero-demo-task-summary {
    min-height: 40px;
    padding-inline: 10px;
    gap: 8px;
  }

  .hero-demo-task-summary-count strong {
    font-size: 9px;
  }

  .hero-demo-task-summary-count small {
    font-size: 7px;
  }

  .hero-demo-task-pane .hero-demo-execution-body {
    padding: 10px 10px 12px;
    font-size: 8px;
  }

  .hero-demo-task-pane .hero-demo-user-prompt {
    margin-bottom: 8px;
    padding: 8px 9px;
    font-size: 8px;
  }

  .hero-demo-step-toggle {
    min-height: 40px;
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    gap: 6px;
  }

  .hero-demo-step-marker {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .hero-demo-step:not(:last-child)::after {
    top: 28px;
    left: 8px;
  }

  .hero-demo-step-toggle strong {
    font-size: 8px;
  }

  .hero-demo-step-toggle small,
  .hero-demo-step-detail,
  .hero-demo-task-result,
  .hero-demo-task-live-region {
    font-size: 7px;
  }

  .hero-demo-step-detail {
    margin-left: 24px;
  }

  .hero-demo-composer {
    min-height: 72px;
    margin-top: 8px;
    padding: 7px 8px 5px;
  }

  .hero-demo-composer textarea {
    min-height: 27px;
    font-size: 8px;
  }

  .hero-demo-composer-controls {
    min-height: 22px;
    gap: 5px;
    font-size: 7px;
  }

  .hero-demo-composer-controls button {
    width: 24px;
    height: 24px;
  }

  .hero-demo-chat-composer {
    right: 7px;
    bottom: 5px;
    left: 7px;
    height: 30px;
  }

  .hero-demo-chat-composer input {
    height: 22px;
    font-size: 7px;
  }

  .hero-demo-chat-composer button {
    width: 21px;
    height: 21px;
  }

  .hero-demo-task-sidebar .hero-demo-task-tool,
  .hero-demo-task-row {
    min-height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo-icon-button,
  .hero-demo-task-tool,
  .hero-demo-task-row,
  .hero-demo-task-run,
  .hero-demo-task-progress-track span,
  .hero-demo-step-toggle,
  .hero-demo-step-chevron,
  .hero-demo-composer-controls button,
  .hero-demo-thinking-dot {
    transition-duration: 0ms;
    animation: none;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   真实 Gugu Desktop 会话基准层

   这张图来自仓库对应的桌面客户端实机状态（2344 × 1720）。它只负责把
   默认首屏锁定到真实客户端的像素几何；所有命中区仍是 DOM 控件，供键盘、
   屏幕阅读器和鼠标操作。切换到其它桌面页签时，基准层会自动隐藏，原有
   的任务 / 消息 / 发现 / 通讯录演示继续工作。
   ──────────────────────────────────────────────────────────────────────────── */

.hero-demo-desktop {
  width: 100%;
  aspect-ratio: 2344 / 1720;
  border-radius: 14px;
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
}

.hero-demo-reference-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}

.hero-demo-reference-layer[hidden] {
  display: none;
}

.hero-demo-reference-image {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* 原始 mock DOM 继续留在文档中，供已有状态机和辅助技术读取；默认视觉由
   基准层完全接管，避免两套 UI 叠出双线或错位文字。 */
.hero-demo-reference-layer:not([hidden]) ~ .hero-demo-desktop-app {
  visibility: hidden;
  pointer-events: none;
}

.hero-demo-reference-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-demo-reference-hotspot {
  position: absolute;
  top: var(--ref-y);
  left: var(--ref-x);
  width: var(--ref-w);
  height: var(--ref-h);
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.hero-demo-reference-hotspot:hover {
  background: rgba(0, 0, 0, 0.025);
}

.hero-demo-reference-hotspot:active {
  background: rgba(0, 0, 0, 0.06);
}

.hero-demo-reference-hotspot:focus-visible {
  outline: 2px solid #4d83d8;
  outline-offset: -2px;
  background: rgba(77, 131, 216, 0.08);
}

.hero-demo-reference-composer {
  position: absolute;
  top: 87.25%;
  left: 35.15%;
  width: 57.55%;
  height: 10.4%;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.hero-demo-reference-composer label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-demo-reference-composer textarea {
  position: absolute;
  inset: 4% 8% 37% 1.6%;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  resize: none;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: transparent;
  color: transparent;
  caret-color: #191919;
  font: inherit;
  font-size: clamp(10px, 0.88vw, 18px);
  line-height: 1.4;
}

.hero-demo-reference-composer textarea::placeholder {
  color: transparent;
}

.hero-demo-reference-composer textarea:focus {
  padding: 0 0.5em;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  box-shadow: 0 0 0 2px rgba(77, 131, 216, 0.42);
}

.hero-demo-reference-composer > button {
  position: absolute;
  right: 0.3%;
  bottom: 3%;
  width: 7.4%;
  height: 34%;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.hero-demo-reference-composer > button:hover,
.hero-demo-reference-composer > button:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}

.hero-demo-reference-composer-control {
  border-radius: 6px;
}

.hero-demo-reference-selection {
  position: absolute;
  top: var(--ref-y, 32.25%);
  left: var(--ref-x, 15.7%);
  width: var(--ref-w, 17.15%);
  height: var(--ref-h, 3.7%);
  display: none;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(65, 65, 65, 0.42);
  border-radius: 8px;
  background: rgba(80, 80, 80, 0.06);
  pointer-events: none;
}

.hero-demo-reference-selection.is-visible {
  display: block;
}

.hero-demo-reference-popover {
  position: absolute;
  top: 10.6%;
  left: 6.8%;
  z-index: 2;
  width: min(340px, 28%);
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  color: #333;
  font-size: clamp(11px, 0.9vw, 16px);
}

.hero-demo-reference-popover[hidden] {
  display: none;
}

.hero-demo-reference-popover input {
  width: 100%;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  background: #fafafa;
  color: #222;
  font: inherit;
  font-size: 0.9em;
}

.hero-demo-reference-popover button {
  justify-self: end;
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  background: #f0f0f0;
  color: #555;
  font: inherit;
  font-size: 0.82em;
  cursor: pointer;
}

.hero-demo-reference-live {
  position: absolute;
  right: 2.4%;
  bottom: 1.8%;
  z-index: 3;
  max-width: 36%;
  margin: 0;
  padding: 7px 11px;
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13);
  color: #555;
  font-size: clamp(10px, 0.78vw, 14px);
  line-height: 1.3;
}

.hero-demo-reference-live.is-visible {
  display: block;
}

/* 真实截图本身就是完整桌面壳；切换到其它页签时显示可操作的 DOM 面板，
   移动端仍保留独立的手机演示。 */
.hero-showcase.is-reference-task .hero-demo-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .hero-demo-desktop {
    width: 100%;
    aspect-ratio: 2344 / 1720;
  }

  .hero-demo-reference-popover {
    width: min(300px, 38%);
  }
}

@media (max-width: 720px) {
  .hero-demo-reference-hotspot {
    border-radius: 5px;
  }

  .hero-demo-reference-composer textarea {
    font-size: 9px;
  }

  .hero-demo-reference-popover {
    top: 9%;
    left: 5%;
    width: 52%;
    padding: 8px;
    font-size: 10px;
  }

  .hero-demo-reference-live {
    right: 3%;
    bottom: 2%;
    max-width: 58%;
    padding: 5px 8px;
    font-size: 9px;
  }
}

/* Final task-session calibration. The rules above also style shared demo
   primitives; this scoped layer keeps the authentic session aligned with the
   2344 × 1720 Gugu Desktop capture. */

.hero-showcase > .hero-edge-mascot {
  display: block;
  left: 0;
  top: 26.5%;
  width: 172px;
  z-index: 60 !important;
  transform: translate(-89%, -50%);
}

@media (max-width: 1200px) {
  .hero-showcase > .hero-edge-mascot {
    display: none;
  }
}

/* 桌面端展示窗口按参考图收窄并居中。窄桌面仍给窗口外侧的 gugu
   留出完整站立空间，避免透明图片被视口裁切。 */
@media (min-width: 1201px) and (max-width: 1423px) {
  .hero-showcase {
    width: min(1085px, calc(100% - 143px));
    margin-right: 0;
    margin-left: 143px;
  }
}

@media (min-width: 1424px) {
  .hero-showcase {
    width: min(100%, 1085px);
    margin-inline: auto;
  }
}

@media (min-width: 1201px) {
  .hero-showcase .hero-demo-mobile {
    display: none;
  }
}

.hero-demo-desktop[data-demo-device-panel="desktop"] {
  container-type: size;
  width: 100%;
  aspect-ratio: 2344 / 1720;
  border-radius: 1.05cqw;
  border: 0.09cqw solid #d4d5d7;
  background: #ffffff;
  box-shadow: 0 2.2cqw 5cqw rgba(32, 32, 36, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 1cqw;
  letter-spacing: 0;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] > .hero-demo-desktop-app {
  grid-template-columns: 5.12% minmax(0, 1fr);
  height: 100%;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-desktop-nav {
  padding: 1.35cqh 0.65cqw 1.15cqh;
  gap: 1.25cqh;
  border-right: 0.09cqw solid #dfe0e3;
  background: #f0f0f3;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-window-controls {
  min-height: 3.2cqh;
  margin-bottom: 1.45cqh;
  gap: 0.55cqw;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-window-controls i {
  width: 1.02cqw;
  height: 1.02cqw;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-self-avatar {
  width: 3.38cqw;
  height: 4.65cqh;
  border-radius: 0.95cqw;
  background: #bfe9fb;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-self-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-desktop-nav button {
  width: 3.45cqw;
  height: 4.25cqh;
  border-radius: 0.85cqw;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-desktop-nav button svg {
  width: 1.82cqw;
  height: 1.82cqw;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-desktop-nav button[aria-selected="true"] {
  background: #dfe7f8;
  color: #31343b;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] .hero-demo-desktop-nav button[aria-selected="true"]::before {
  left: -0.5cqw;
  width: 0.18cqw;
  height: 2.7cqh;
  background: #4e5158;
}

.hero-demo-authentic-task-panel {
  grid-template-columns: 22.2% minmax(0, 1fr);
  background: #ffffff;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar {
  min-width: 0;
  padding: 0 1.02cqw 5.1cqh;
  border-right: 0.09cqw solid #d8d9dc;
  background: #ffffff;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-pane-top {
  height: 4.65cqh;
  margin: 0 0 0.65cqh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-icon-button {
  width: 2.45cqw;
  min-width: 0;
  height: 2.45cqw;
  border-radius: 0.55cqw;
  color: #74777d;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-icon-button svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool {
  width: 100%;
  height: 3.72cqh;
  min-height: 0;
  padding: 0 0.65cqw;
  display: grid;
  grid-template-columns: 1.45cqw minmax(0, 1fr) auto;
  gap: 0.65cqw;
  align-items: center;
  border: 0;
  border-radius: 0.65cqw;
  background: transparent;
  color: #85878c;
  font: inherit;
  text-align: left;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool:hover,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool:focus-visible {
  background: #f3f3f4;
  color: #303238;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool strong,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project strong,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-settings-row strong {
  font-size: 1.18cqw;
  font-weight: 450;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-tool kbd,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-settings-row kbd {
  padding: 0.25cqh 0.35cqw;
  border: 0.09cqw solid #dadbde;
  border-radius: 0.4cqw;
  background: #ffffff;
  color: #999ba1;
  font-size: 0.9cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project-label,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-label {
  height: 3.2cqh;
  margin: 0;
  padding: 0 0.65cqw;
  color: #85878c;
  font-size: 1.0cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project-label {
  margin-top: 0.45cqh;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project-actions svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project {
  width: 100%;
  height: 3.2cqh;
  min-height: 0;
  padding: 0 0.65cqw;
  gap: 0.65cqw;
  border-radius: 0.58cqw;
  background: transparent;
  color: #85878c;
  font: inherit;
  text-align: left;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project.is-selected,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project:hover,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project:focus-visible {
  background: #f4f4f5;
  color: #4d5056;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-project svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-completed-label {
  height: 2.55cqh;
  padding: 0 0.65cqw;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65cqw;
  color: #85878c;
  font-size: 1.0cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-completed-label button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #41a15e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-completed-label i {
  height: 0.12cqw;
  background: #dedfe1;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-list {
  display: grid;
  gap: 0.15cqh;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row {
  width: 100%;
  height: 3.25cqh;
  min-height: 0;
  padding: 0 0.65cqw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55cqw;
  border: 0.09cqw solid transparent;
  border-radius: 0.8cqw;
  background: transparent;
  color: #777a81;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row:hover,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row:focus-visible {
  background: #f3f3f4;
  color: #4e5157;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row.is-selected,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row[aria-selected="true"] {
  border-color: #9da0a5;
  background: #d7d7d9;
  color: #4d5055;
  box-shadow: inset 0 0.1cqw 0 rgba(255, 255, 255, 0.65);
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row > span {
  min-width: 0;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row strong {
  overflow: hidden;
  font-size: 1.18cqw;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row time {
  color: #9b9da3;
  font-size: 1.05cqw;
  white-space: nowrap;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-settings-row {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6.35cqh;
  padding: 0 1.15cqw;
  display: grid;
  grid-template-columns: 1.8cqw minmax(0, 1fr) auto;
  gap: 0.75cqw;
  border-top: 0.09cqw solid #d8d9dc;
  background: #ffffff;
  color: #85878c;
  text-align: left;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-settings-row svg {
  width: 1.45cqw;
  height: 1.45cqw;
}

.hero-demo-authentic-task-panel .hero-demo-task-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.hero-demo-authentic-task-panel .hero-demo-session-titlebar {
  height: 4.65cqh;
  min-height: 0;
  padding: 0 1.55cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.09cqw solid #e4e4e6;
  color: #484a4f;
}

.hero-demo-authentic-task-panel .hero-demo-session-title,
.hero-demo-authentic-task-panel .hero-demo-session-actions {
  display: flex;
  align-items: center;
}

.hero-demo-authentic-task-panel .hero-demo-session-title {
  min-width: 0;
  gap: 0.55cqw;
}

.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  overflow: hidden;
  color: #37393e;
  font-size: 1.25cqw;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-authentic-task-panel .hero-demo-session-folder,
.hero-demo-authentic-task-panel .hero-demo-session-more,
.hero-demo-authentic-task-panel .hero-demo-session-actions button {
  width: 2.25cqw;
  height: 2.25cqw;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0.55cqw;
  background: transparent;
  color: #7c7f84;
  font: inherit;
  cursor: pointer;
}

.hero-demo-authentic-task-panel .hero-demo-session-folder:hover,
.hero-demo-authentic-task-panel .hero-demo-session-folder:focus-visible,
.hero-demo-authentic-task-panel .hero-demo-session-more:hover,
.hero-demo-authentic-task-panel .hero-demo-session-more:focus-visible,
.hero-demo-authentic-task-panel .hero-demo-session-actions button:hover,
.hero-demo-authentic-task-panel .hero-demo-session-actions button:focus-visible,
.hero-demo-authentic-task-panel .hero-demo-session-actions button.is-active {
  background: #f1f1f2;
  color: #34363b;
}

.hero-demo-authentic-task-panel .hero-demo-session-folder svg,
.hero-demo-authentic-task-panel .hero-demo-session-actions svg {
  width: 1.35cqw;
  height: 1.35cqw;
}

.hero-demo-authentic-task-panel .hero-demo-session-more {
  width: 2.1cqw;
  color: #85878c;
  font-size: 1.15cqw;
  letter-spacing: 0.12cqw;
}

.hero-demo-authentic-task-panel .hero-demo-session-actions {
  gap: 0.45cqw;
}

.hero-demo-authentic-task-panel .hero-demo-session-scroll {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  padding: 1.25cqh 0 1.5cqh;
  overflow: auto;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
}

.hero-demo-authentic-task-panel .hero-demo-session-scroll > article,
.hero-demo-authentic-task-panel .hero-demo-session-scroll > p {
  width: 77.7%;
  margin-right: auto;
  margin-left: auto;
}

.hero-demo-authentic-task-panel .hero-demo-user-message {
  margin-bottom: 0.7cqh;
  padding: 1.05cqh 1.5cqw;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.75cqw;
  background: #ffffff;
  color: #45474c;
  font-size: 1.23cqw;
  line-height: 1.45;
}

.hero-demo-authentic-task-panel .hero-demo-user-message p {
  margin: 0;
}

.hero-demo-authentic-task-panel .hero-demo-user-message .hero-demo-message-meta {
  margin-top: 0.3cqh;
  color: #45474c;
}

.hero-demo-authentic-task-panel .hero-demo-user-message .hero-demo-message-meta span {
  color: #a7a8aa;
}

.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  width: 77.7%;
  margin-right: auto;
  margin-left: auto;
  padding: 0.2cqh 1.5cqw 7cqh;
  color: #45474c;
  font-size: 1.2cqw;
  line-height: 1.45;
}

.hero-demo-authentic-task-panel .hero-demo-assistant-message p {
  margin: 1.0cqh 0;
}

.hero-demo-authentic-task-panel .hero-demo-diagnostic-list,
.hero-demo-authentic-task-panel .hero-demo-assistant-message > ul {
  margin: 0.7cqh 0;
  padding-left: 2.55cqw;
}

.hero-demo-authentic-task-panel .hero-demo-diagnostic-list li,
.hero-demo-authentic-task-panel .hero-demo-assistant-message > ul li {
  padding-left: 0.2cqw;
}

.hero-demo-authentic-task-panel .hero-demo-assistant-message a {
  color: #0786ef;
  text-decoration: underline;
  text-decoration-thickness: 0.08cqw;
  text-underline-offset: 0.18cqw;
}

.hero-demo-authentic-task-panel .hero-demo-assistant-message code {
  padding: 0.1cqh 0.35cqw;
  border-radius: 0.35cqw;
  background: #f0f0f1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.hero-demo-authentic-task-panel .hero-demo-code-block {
  width: 100%;
  margin: 1.2cqh 0;
  padding: 1.0cqh 1.05cqw;
  overflow: auto;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.75cqw;
  background: #ffffff;
  color: #26282c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.0cqw;
  line-height: 1.55;
  white-space: pre;
}

.hero-demo-authentic-task-panel .hero-demo-agent-replies {
  margin: 1.0cqh 0 1.2cqh;
  display: grid;
  gap: 0.65cqh;
}

.hero-demo-authentic-task-panel .hero-demo-agent-replies-title {
  margin: 0 0 0.15cqh;
  color: #777a81;
  font-size: 1.08cqw;
  font-weight: 600;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply {
  min-width: 0;
  display: grid;
  grid-template-columns: 2.55cqw minmax(0, 1fr);
  align-items: start;
  gap: 0.65cqw;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply-avatar {
  width: 2.35cqw;
  height: 2.35cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.0cqw;
  font-weight: 650;
  line-height: 1;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply-avatar.is-coral {
  background: #f3a0a8;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply-avatar.is-blue {
  background: #8ecde8;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply-avatar.is-purple {
  background: #b6a1e1;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply-avatar.is-green {
  background: #9ccfae;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply p {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 0.18cqh;
  color: #45474c;
  font-size: 1.12cqw;
  line-height: 1.4;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply p strong {
  color: #4d5055;
  font-weight: 600;
}

.hero-demo-authentic-task-panel .hero-demo-agent-reply p span {
  color: #686b72;
}

.hero-demo-authentic-task-panel .hero-demo-copy-message {
  min-height: 2.6cqh;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45cqw;
  border: 0;
  background: transparent;
  color: #a0a2a8;
  font: inherit;
  font-size: 1.02cqw;
  cursor: pointer;
}

.hero-demo-authentic-task-panel .hero-demo-copy-message svg {
  width: 1.25cqw;
  height: 1.25cqw;
}

.hero-demo-authentic-task-panel .hero-demo-composer {
  position: relative;
  z-index: 4;
  width: 77.7%;
  min-height: 8.4cqh;
  height: 8.4cqh;
  margin: 0 auto 1.7cqh;
  padding: 1.0cqh 1.2cqw 0.7cqh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0.5cqh;
  border: 0.1cqw solid #e0e1e3;
  border-radius: 0.8cqw;
  background: #ffffff;
  box-shadow: 0 0.35cqw 0.8cqw rgba(25, 25, 28, 0.12);
}

.hero-demo-authentic-task-panel .hero-demo-composer textarea {
  width: 100%;
  min-height: 3.4cqh;
  padding: 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #45474c;
  font: inherit;
  font-size: 1.18cqw;
  line-height: 1.35;
}

.hero-demo-authentic-task-panel .hero-demo-composer textarea::placeholder {
  color: #a5a7ad;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  min-height: 3.2cqh;
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  font-size: 1.05cqw;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero-demo-authentic-task-panel .hero-demo-composer-plus {
  width: 2.0cqw;
  height: 2.0cqw;
  padding: 0;
  background: transparent;
  color: #8b8d92;
  font-size: 1.45cqw !important;
  line-height: 1;
}

.hero-demo-authentic-task-panel .hero-demo-permission,
.hero-demo-authentic-task-panel .hero-demo-model {
  min-height: 2.8cqh;
  padding: 0 0.45cqw;
  display: inline-flex;
  align-items: center;
  gap: 0.4cqw;
  border-radius: 0.45cqw;
  background: transparent;
  color: #f16f32;
  white-space: nowrap;
}

.hero-demo-authentic-task-panel .hero-demo-permission > span {
  width: 1.1cqw;
  height: 1.1cqw;
  display: inline-grid;
  place-items: center;
  border: 0.1cqw solid currentColor;
  border-radius: 50%;
  font-size: 0.8cqw;
  line-height: 1;
}

.hero-demo-authentic-task-panel .hero-demo-permission svg,
.hero-demo-authentic-task-panel .hero-demo-model svg {
  width: 1.15cqw;
  height: 1.15cqw;
}

.hero-demo-authentic-task-panel .hero-demo-permission:hover,
.hero-demo-authentic-task-panel .hero-demo-permission:focus-visible,
.hero-demo-authentic-task-panel .hero-demo-model:hover,
.hero-demo-authentic-task-panel .hero-demo-model:focus-visible {
  background: #fff4ed;
}

.hero-demo-authentic-task-panel .hero-demo-composer-spacer {
  flex: 1 1 auto;
}

.hero-demo-authentic-task-panel .hero-demo-model {
  color: #96989e;
}

.hero-demo-authentic-task-panel .hero-demo-model-mark {
  color: #c4c6ca;
  font-size: 1.65cqw;
  line-height: 1;
}

.hero-demo-authentic-task-panel .hero-demo-send {
  width: 3.0cqw;
  height: 3.0cqw;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050505;
  color: #ffffff;
}

.hero-demo-authentic-task-panel .hero-demo-send:hover,
.hero-demo-authentic-task-panel .hero-demo-send:focus-visible {
  background: #303030;
}

.hero-demo-authentic-task-panel .hero-demo-send svg {
  width: 1.45cqw;
  height: 1.45cqw;
}

.hero-demo-authentic-task-panel .hero-demo-task-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 参考图是桌面端默认视觉；设备切换时才显示另一套演示。 */
.hero-showcase[data-active-device="desktop"] .hero-demo-mobile {
  display: none !important;
}

.hero-showcase[data-active-device="mobile"] .hero-demo-desktop {
  display: none !important;
}

.hero-demo-desktop[data-demo-device-panel="desktop"] {
  border: 0;
}

.hero-demo-reference-layer {
  z-index: 50;
}

.hero-demo-reference-layer[hidden] {
  display: none !important;
}

.hero-demo-reference-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero-demo-reference-controls {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.hero-demo-reference-hotspot {
  opacity: 0;
  transition: opacity 140ms ease-out, background 140ms ease-out;
}

.hero-demo-reference-hotspot:focus-visible {
  opacity: 1;
}

.hero-demo-reference-composer {
  z-index: 3;
}

.hero-demo-reference-composer textarea {
  z-index: 1;
}

.hero-demo-reference-popover {
  z-index: 6;
}

.hero-demo-reference-popover.is-permission,
.hero-demo-reference-popover.is-model {
  top: auto;
  right: auto;
  bottom: 10.4%;
  left: 35.2%;
  width: min(24%, 360px);
}

.hero-demo-reference-popover.is-model {
  right: 7.2%;
  left: auto;
}

.hero-demo-reference-menu-items {
  display: grid;
  gap: 4px;
}

.hero-demo-reference-menu-items button {
  min-height: 30px;
  justify-self: stretch;
  text-align: left;
}

@media (max-width: 720px) {
  .hero-demo-reference-popover.is-permission,
  .hero-demo-reference-popover.is-model {
    bottom: 11%;
    width: 42%;
  }
}

/* 动态参考层：默认保持截图原貌，仅在用户改变状态时重绘受影响的小区域。
   所有坐标都使用参考图百分比，因而不会随首页容器缩放而漂移。 */
.hero-demo-reference-dynamic {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  color: #45474c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

.hero-demo-reference-dynamic[hidden],
.hero-demo-reference-dynamic [hidden] {
  display: none !important;
}

.hero-demo-reference-task-cover,
.hero-demo-reference-title-cover,
.hero-demo-reference-prompt-cover,
.hero-demo-reference-response-cover,
.hero-demo-reference-copy-cover,
.hero-demo-reference-permission-cover,
.hero-demo-reference-model-cover {
  position: absolute;
  display: block;
  background: #ffffff;
}

.hero-demo-reference-task-cover {
  top: 32.45%;
  left: 5.15%;
  width: 20.15%;
  height: 13.2%;
}

.hero-demo-reference-task-rows {
  position: absolute;
  inset: 0;
}

.hero-demo-reference-task-row {
  position: absolute;
  top: var(--ref-task-y);
  left: 6.1%;
  width: 18.95%;
  height: 3.3%;
  padding: 0 0.75%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5%;
  border: 0.11cqw solid transparent;
  border-radius: 0.75cqw;
  color: #777a81;
  font-size: 1.28cqw;
  line-height: 1;
  white-space: nowrap;
}

.hero-demo-reference-task-row.is-selected {
  border-color: #9da0a5;
  background: #d5d5d7;
  color: #4d5055;
  box-shadow: inset 0 0.1cqw 0 rgba(255, 255, 255, 0.65);
}

.hero-demo-reference-task-row.is-hidden {
  display: none;
}

.hero-demo-reference-task-row strong {
  overflow: hidden;
  font-weight: 450;
  text-overflow: ellipsis;
}

.hero-demo-reference-task-row time {
  flex: 0 0 auto;
  color: #9b9da3;
  font-size: 0.95em;
}

.hero-demo-reference-title-cover {
  top: 0.35%;
  left: 28.9%;
  width: 15.8%;
  height: 5.2%;
}

.hero-demo-reference-title,
.hero-demo-reference-prompt,
.hero-demo-reference-copy-label,
.hero-demo-reference-permission-label,
.hero-demo-reference-model-label {
  position: absolute;
  display: none;
}

.hero-demo-reference-title.is-visible {
  display: block;
  top: 1.15%;
  left: 29.35%;
  max-width: 14.9%;
  overflow: hidden;
  color: #37393e;
  font-size: 1.52cqw;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-prompt-cover {
  top: 5.45%;
  left: 36.65%;
  width: 52.4%;
  height: 10.45%;
}

.hero-demo-reference-prompt.is-visible {
  display: block;
  z-index: 2;
  top: 6.15%;
  left: 35.85%;
  width: 55.8%;
  height: 8.55%;
  box-sizing: border-box;
  padding: 1.1cqh 1.0cqw;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.75cqw;
  background: #ffffff;
  overflow: hidden;
  color: #45474c;
  font-size: 1.28cqw;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}

.hero-demo-reference-response-cover {
  top: 16.65%;
  left: 34.35%;
  width: 58.4%;
  height: 40.2%;
}

.hero-demo-reference-response {
  position: absolute;
  z-index: 2;
  top: 17.35%;
  left: 36.55%;
  width: 54.8%;
  display: grid;
  gap: 0.45cqh;
  color: #45474c;
  font-size: 1.02cqw;
  line-height: 1.35;
}

.hero-demo-reference-response[hidden] {
  display: none !important;
}

.hero-demo-reference-response-summary,
.hero-demo-reference-response-note,
.hero-demo-reference-response-replies p {
  margin: 0;
}

.hero-demo-reference-response-summary {
  color: #45474c;
  font-weight: 550;
}

.hero-demo-reference-response-replies {
  display: grid;
  gap: 0.28cqh;
}

.hero-demo-reference-response-replies p {
  min-width: 0;
  display: block;
}

.hero-demo-reference-response-replies strong {
  font-weight: 650;
}

.hero-demo-reference-response-replies strong.is-coral {
  color: #c8757e;
}

.hero-demo-reference-response-replies strong.is-blue {
  color: #4d91b5;
}

.hero-demo-reference-response-replies strong.is-purple {
  color: #8065b2;
}

.hero-demo-reference-response-replies strong.is-green {
  color: #4b956b;
}

.hero-demo-reference-response-replies span {
  color: #686b72;
}

.hero-demo-reference-response-note {
  color: #85878c;
  font-size: 0.92em;
}

.hero-demo-reference-copy-cover {
  top: 81.25%;
  left: 35.9%;
  width: 13.2%;
  height: 3.5%;
}

.hero-demo-reference-copy-label.is-visible {
  display: block;
  top: 81.65%;
  left: 38.85%;
  color: #a0a2a8;
  font-size: 1.02cqw;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-demo-reference-permission-cover {
  top: 94.0%;
  left: 40.6%;
  width: 10.1%;
  height: 3.2%;
}

.hero-demo-reference-permission-label.is-visible {
  display: block;
  top: 94.18%;
  left: 41.15%;
  color: #f16f32;
  font-size: 1.24cqw;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-demo-reference-model-cover {
  top: 94.0%;
  left: 77.0%;
  width: 10.9%;
  height: 3.2%;
}

.hero-demo-reference-model-label.is-visible {
  display: block;
  top: 94.18%;
  left: 78.05%;
  color: #96989e;
  font-size: 1.18cqw;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-demo-reference-sent-feed {
  position: absolute;
  top: auto;
  bottom: 12.8%;
  left: 35.25%;
  width: 57.7%;
  display: grid;
  justify-items: end;
  gap: 0.8cqh;
}

.hero-demo-reference-sent-message {
  max-width: 64%;
  margin: 0;
  padding: 0.85cqh 1.1cqw;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.8cqw;
  background: #f3f5fb;
  color: #45474c;
  font-size: 1.18cqw;
  line-height: 1.4;
  text-align: left;
}

.hero-demo-reference-sent-reply {
  justify-self: start;
  max-width: 78%;
  margin: 0;
  color: #45474c;
  font-size: 1.16cqw;
  line-height: 1.4;
}

.hero-demo-reference-sidebar-collapsed {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5.12%;
  width: 21.95%;
  border-right: 0.09cqw solid #d8d9dc;
  background: #ffffff;
}

.hero-demo-reference-sidebar-collapsed span {
  position: absolute;
  top: 48%;
  left: 18%;
  color: #85878c;
  font-size: 1.05cqw;
  white-space: nowrap;
}

/* 默认桌面基准图必须保持原始画面，不让站点浮层覆盖右下角。 */
body.hero-reference-overlap .wechat-widget {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 720px) {
  .hero-demo-reference-task-row {
    border-radius: 0.9cqw;
    font-size: 1.45cqw;
  }

  .hero-demo-reference-title.is-visible,
  .hero-demo-reference-prompt.is-visible {
    font-size: 1.48cqw;
  }

  .hero-demo-reference-copy-label.is-visible,
  .hero-demo-reference-permission-label.is-visible,
  .hero-demo-reference-model-label.is-visible {
    font-size: 1.4cqw;
  }
}

/*
   首屏宽屏双设备构图

   默认桌面截图和手机壳都保留真实客户端的长宽比。桌面端占主列，手机端
   固定在右侧并与桌面端底边对齐；整体向左留出一点视觉空间，吉祥物随展示
   区移动。1200px 以下仍由设备切换控件维持单设备模式。
*/
@media (min-width: 1201px) {
  .hero-showcase {
    position: relative;
    left: -24px;
    width: min(1248px, calc(100% - 40px));
    margin-inline: auto;
  }

  .hero-demo-stage {
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 43px;
  }

  .hero-demo-desktop[data-demo-device-panel="desktop"] {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    aspect-ratio: 2344 / 1720;
  }

  /* 宽屏同时展示两种设备；data-active-device 仅用于窄屏切换。 */
  .hero-showcase[data-active-device="desktop"] .hero-demo-mobile,
  .hero-showcase[data-active-device="mobile"] .hero-demo-mobile,
  .hero-showcase .hero-demo-mobile {
    position: relative;
    right: auto;
    bottom: auto;
    width: 220px;
    aspect-ratio: 9 / 18.5;
    display: block !important;
  }

  .hero-showcase[data-active-device="mobile"] .hero-demo-desktop,
  .hero-showcase[data-active-device="desktop"] .hero-demo-desktop {
    display: block !important;
  }

  /* 让吉祥物站在桌面窗口左侧，避免被窗口完全盖住。 */
  .hero-showcase > .hero-edge-mascot {
    left: 0;
    top: 26.5%;
    transform: translate(-88%, -50%);
  }
}

/* 手机独立预览也沿用右侧手机壳的 220px 基准，窄视口再按可用宽度收缩。 */
@media (max-width: 720px) {
  .hero-demo-mobile {
    width: min(220px, calc(100vw - 40px));
  }
}

/* 手机页头控件沿用主仓库的线性图标，不使用平台相关的 emoji 字形。 */
.hero-demo-mobile-panel > header .hero-demo-mobile-create {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #85878c;
  font-size: 7px;
  white-space: nowrap;
}

.hero-demo-mobile-create > svg {
  width: 9px;
  height: 9px;
  color: #eba540;
}

.hero-demo-mobile-create > span {
  color: inherit;
  font-size: inherit;
}

.hero-demo-mobile-create button,
.hero-demo-mobile-header-action {
  width: 16px;
  height: 16px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #85878c;
  cursor: pointer;
}

.hero-demo-mobile-create button:hover,
.hero-demo-mobile-create button:focus-visible,
.hero-demo-mobile-header-action:hover,
.hero-demo-mobile-header-action:focus-visible {
  background: #f1f1f2;
  color: #303238;
}

.hero-demo-mobile-create button svg,
.hero-demo-mobile-header-action svg {
  width: 10px;
  height: 10px;
}

.hero-demo-mobile-panel > header .hero-demo-mobile-header-action {
  margin: 0;
}

.hero-demo-mobile-panel > .hero-demo-search {
  gap: 6px;
}

.hero-demo-mobile-panel > .hero-demo-search > svg {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
}

.hero-demo-mobile-panel > .hero-demo-search > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-profile-items p > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-demo-profile-items p > span > svg {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  color: #85878c;
}

/* 首屏参考图底部的 composer 覆盖层。参考 PNG 自带一套旧控件，先用白色
   遮罩清掉，再把可操作的控件按同一张客户端截图的坐标放回去。 */
.hero-demo-reference-composer-erase {
  position: absolute;
  z-index: 4;
  top: 89.85%;
  right: 0;
  bottom: 1.2%;
  left: 33.7%;
  background: #ffffff;
  pointer-events: none;
}

.hero-demo-reference-composer-shell {
  position: absolute;
  z-index: 5;
  top: 89.85%;
  right: 0.65%;
  bottom: 1.7%;
  left: 34.75%;
  box-sizing: border-box;
  border: 0.09cqw solid #e0e1e3;
  border-radius: 1.05cqw;
  background: #ffffff;
  box-shadow: 0 0.35cqw 0.8cqw rgba(25, 25, 28, 0.12);
  pointer-events: none;
}

.hero-demo-reference-composer-shell::before {
  content: "随心输入";
  position: absolute;
  top: 15%;
  left: 1.8%;
  color: #b4b6bd;
  font-size: 1.1cqw;
  line-height: 1;
  pointer-events: none;
}

.hero-demo-reference-composer-controls {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

.hero-demo-reference-composer-controls button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
}

.hero-demo-reference-composer-controls button:focus-visible {
  outline: 0.16cqw solid #4d83d8;
  outline-offset: 0.2cqw;
}

.hero-demo-reference-toolbar-plus {
  position: absolute;
  top: 95.9%;
  left: 35.55%;
  width: 2.7%;
  height: 3.2%;
  display: grid;
  place-items: center;
  color: #737373;
}

.hero-demo-reference-composer-controls .hero-demo-reference-toolbar-plus {
  color: #737373;
}

.hero-demo-reference-toolbar-plus svg {
  width: 0.95cqw;
  height: 0.95cqw;
  display: block;
}

.hero-demo-reference-toolbar-permission {
  position: absolute;
  top: 96%;
  left: 39.55%;
  height: 3.1%;
  display: inline-flex;
  align-items: center;
  gap: 0.45cqw;
  color: #e35401;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
}

.hero-demo-reference-composer-controls .hero-demo-reference-toolbar-permission {
  color: #e35401;
}

.hero-demo-reference-toolbar-permission > span {
  font-size: 1.14cqw;
  line-height: 1;
}

.hero-demo-reference-toolbar-permission .permission-icon {
  width: 1.1cqw;
  height: 1.1cqw;
  flex: 0 0 1.1cqw;
}

.hero-demo-reference-toolbar-permission .permission-chevron {
  width: 1.9cqw;
  height: 1.9cqw;
  margin-left: 0.55cqw;
  color: #737373;
}

.hero-demo-reference-toolbar-model {
  position: absolute;
  top: 95.8%;
  right: 3.5%;
  width: 1.8cqw;
  height: 3.4%;
  display: grid;
  place-items: center;
  color: #cfd0d3;
}

.hero-demo-reference-composer-controls .hero-demo-reference-toolbar-model {
  color: #cfd0d3;
}

.hero-demo-reference-toolbar-model img {
  width: 1.2cqw;
  height: 1.2cqw;
  display: block;
  object-fit: contain;
}

.hero-demo-reference-toolbar-send {
  position: absolute;
  top: 95.9%;
  right: 1.05%;
  width: 2.4cqw;
  height: 3.3cqh;
  display: grid;
  place-items: center;
  border: 1px solid #252525 !important;
  border-radius: 50%;
  background: #050505 !important;
  color: #ffffff;
}

.hero-demo-reference-composer-controls .hero-demo-reference-toolbar-send {
  color: #ffffff;
}

.hero-demo-reference-toolbar-send:hover,
.hero-demo-reference-toolbar-send:focus-visible {
  background: #303030 !important;
}

.hero-demo-reference-toolbar-send svg {
  width: 0.75cqw;
  height: 1.05cqh;
  display: block;
}

.hero-demo-reference-toolbar-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 覆盖层上的菜单必须压在 composer 控件之上。 */
.hero-demo-reference-popover {
  z-index: 9;
}

/* 真实 DOM 任务页在切换页签后仍使用同一套 composer 几何，避免模型文字
   把发送按钮挤出容器。 */
.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  min-width: 0;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls > button {
  flex: 0 0 auto;
}

.hero-demo-authentic-task-panel .hero-demo-composer-plus {
  flex: 0 0 2cqw !important;
}

.hero-demo-authentic-task-panel .hero-demo-permission {
  flex: 0 0 auto;
}

.hero-demo-authentic-task-panel .hero-demo-permission > svg.hero-demo-permission-icon {
  width: 1.1cqw;
  height: 1.1cqw;
  flex: 0 0 1.1cqw;
}

.hero-demo-authentic-task-panel .hero-demo-permission > span.hero-demo-permission-label {
  width: auto;
  height: auto;
  display: inline;
  border: 0;
  border-radius: 0;
  font-size: inherit;
  line-height: 1;
}

.hero-demo-authentic-task-panel .hero-demo-model {
  flex: 0 0 auto;
  min-width: 1.8cqw;
  padding-inline: 0.2cqw;
}

.hero-demo-authentic-task-panel .hero-demo-model-mark {
  width: 1.2cqw;
  height: 1.2cqw;
  display: block;
  object-fit: contain;
  color: #d0d0d4;
  font-size: 0;
}

.hero-demo-authentic-task-panel .hero-demo-model-label,
.hero-demo-authentic-task-panel .hero-demo-model > svg {
  display: none;
}

.hero-demo-authentic-task-panel .hero-demo-send {
  flex: 0 0 3cqw;
}

/* 任务会话正文统一 Token：切换任务时只替换内容，不改变字号、行高或块级结构。 */
.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel {
  --gugu-task-copy-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-copy-line: 1.45;
  --gugu-task-title-size: clamp(11px, 1.25cqw, 16px);
  --gugu-task-row-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-muted: #85878c;
  --gugu-task-body: #45474c;
}

.hero-demo-reference-task-row {
  box-sizing: border-box;
  height: 3.25%;
  line-height: 1.2;
}

.hero-demo-reference-title,
.hero-demo-reference-prompt,
.hero-demo-reference-response,
.hero-demo-task-conversation {
  letter-spacing: 0;
}

.hero-demo-reference-prompt.is-visible {
  font-size: 1.22cqw;
  line-height: 1.45;
}

.hero-demo-reference-response-cover {
  top: 16.65%;
  height: 64.2%;
}

.hero-demo-reference-response {
  top: 17.35%;
  height: 62.9%;
  max-height: 62.9%;
  box-sizing: border-box;
  padding-right: 0.8%;
  display: block;
  overflow: auto;
  pointer-events: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: none;
  color: var(--gugu-task-body);
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
}

.hero-demo-reference-response::-webkit-scrollbar {
  display: none;
}

.hero-demo-task-conversation {
  min-width: 0;
  color: var(--gugu-task-body);
  font-size: inherit;
  line-height: inherit;
}

.hero-demo-task-conversation p,
.hero-demo-task-conversation ul,
.hero-demo-task-conversation pre {
  margin: 0;
}

.hero-demo-task-thought {
  margin-bottom: 0.55em !important;
  color: #a0a2a8;
  font-size: 0.86em;
}

.hero-demo-task-lead {
  margin-bottom: 0.7em !important;
}

.hero-demo-task-section-label {
  margin-top: 0.72em !important;
  margin-bottom: 0.25em !important;
  color: var(--gugu-task-body);
  font-weight: 560;
}

.hero-demo-task-bullet-list {
  margin: 0.2em 0 0.55em !important;
  padding-left: 1.55em;
}

.hero-demo-task-bullet-list li {
  padding-left: 0.16em;
}

.hero-demo-task-bullet-list li::marker {
  color: #777a81;
}

.hero-demo-task-evidence-list a,
.hero-demo-task-conversation a {
  color: #0786ef;
  text-decoration: underline;
  text-decoration-thickness: 0.08cqw;
  text-underline-offset: 0.18cqw;
}

.hero-demo-task-status-lines code {
  padding: 0.08em 0.36em;
  border-radius: 0.35em;
  background: #f0f0f1;
  color: #62656b;
  font-family: inherit;
  font-size: 0.9em;
  white-space: nowrap;
}

.hero-demo-task-agent-lines {
  display: grid;
  gap: 0.16em;
}

.hero-demo-task-agent-line {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-demo-task-agent-line strong {
  font-weight: 650;
}

.hero-demo-task-agent-line strong.is-coral {
  color: #c8757e;
}

.hero-demo-task-agent-line strong.is-blue {
  color: #4d91b5;
}

.hero-demo-task-agent-line strong.is-purple {
  color: #8065b2;
}

.hero-demo-task-agent-line strong.is-green {
  color: #4b956b;
}

.hero-demo-task-log {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0.55em 0 0.75em !important;
  padding: 0.72em 2.7em 0.72em 0.9em;
  overflow: auto;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.75cqw;
  background: #ffffff;
  color: #26282c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.94em;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hero-demo-task-log code {
  font: inherit;
}

.hero-demo-task-log-copy {
  position: absolute;
  top: 0.62em;
  right: 0.62em;
  width: 1.55em;
  height: 1.55em;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0.35em;
  background: transparent;
  color: #a0a2a8;
  cursor: pointer;
}

.hero-demo-task-log-copy:hover,
.hero-demo-task-log-copy:focus-visible,
.hero-demo-task-log-copy.is-copied {
  background: #f1f1f2;
  color: #5c6067;
}

.hero-demo-task-log-copy svg {
  width: 1.2em;
  height: 1.2em;
}

.hero-demo-task-closing {
  margin-top: 0.72em !important;
  color: var(--gugu-task-muted);
  font-size: 0.92em;
}

/* 真实任务页与参考层共享同一套正文 Token。 */
.hero-demo-authentic-task-panel .hero-demo-user-message {
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
}

.hero-demo-authentic-task-panel .hero-demo-task-conversation {
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row strong {
  font-size: 1.28cqw;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row time {
  font-size: 1.22cqw;
}

.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  padding-bottom: 7cqh;
}

.hero-demo-authentic-task-panel .hero-demo-task-log {
  max-height: 14em;
}

@media (max-width: 720px) {
  .hero-demo-reference-response {
    padding-right: 1.5%;
  }

  .hero-demo-task-log {
    border-radius: 1.1cqw;
  }
}

/* 任务会话最终视觉契约：四个任务共用同一套几何和排版，只替换数据。 */
.hero-demo-desktop[data-demo-device-panel="desktop"] {
  --gugu-task-copy-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-copy-line: 1.45;
  --gugu-task-title-size: clamp(11px, 1.25cqw, 16px);
  --gugu-task-row-size: clamp(10px, 1.18cqw, 14px);
}

.hero-demo-authentic-task-panel,
.hero-demo-reference-dynamic {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
  font-synthesis: none;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row,
.hero-demo-reference-task-row {
  box-sizing: border-box;
  font-size: var(--gugu-task-row-size);
  line-height: 1.2;
  transition: none;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row {
  height: 3.25cqh;
  min-height: 3.25cqh;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row strong,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row time {
  font-size: inherit;
  line-height: 1.2;
}

.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time {
  font-size: inherit;
  line-height: 1.2;
}

.hero-demo-reference-title.is-visible {
  box-sizing: border-box;
  font-size: var(--gugu-task-title-size);
  line-height: 1.2;
  transition: none;
}

.hero-demo-reference-prompt.is-visible {
  box-sizing: border-box;
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
  transition: none;
}

.hero-demo-reference-response,
.hero-demo-authentic-task-panel .hero-demo-task-conversation {
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
  font-variant-ligatures: none;
  text-rendering: geometricPrecision;
}

.hero-demo-reference-response {
  scroll-behavior: auto;
}

.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
}

.hero-demo-authentic-task-panel .hero-demo-session-titlebar {
  flex: 0 0 4.65cqh;
}

.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  font-size: var(--gugu-task-title-size);
  line-height: 1.2;
}

/* 与真实 Gugu 消息流一致的协作回放块。 */
.hero-demo-task-replay {
  width: 100%;
  box-sizing: border-box;
  margin: 0.55em 0 0.85em;
  padding: 0.58em 0.72em;
  display: grid;
  gap: 0.12em;
  overflow: hidden;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.75cqw;
  background: #ffffff;
}

.hero-demo-task-replay-line {
  min-width: 0;
  display: block;
  padding: 0.08em 0.45em;
  overflow-wrap: anywhere;
  border-radius: 0.2em;
  background: #f0f0f1;
  color: #34363b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.94em;
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-wrap;
}

.hero-demo-task-replay-line.is-heading {
  background: #e9e9eb;
  color: #24262a;
}

/* 四条回复固定使用同一个头像、气泡和元信息布局，长文案只在气泡内换行。 */
.hero-demo-task-agent-thread {
  width: 100%;
  margin: 0.45em 0 0.9em;
  display: grid;
  gap: 0.52em;
}

.hero-demo-task-agent-message {
  min-width: 0;
  display: grid;
  grid-template-columns: 2.25em minmax(0, 1fr);
  align-items: start;
  gap: 0.55em;
}

.hero-demo-task-agent-avatar {
  width: 2.25em;
  height: 2.25em;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.88em;
  font-weight: 650;
  line-height: 1;
}

.hero-demo-task-agent-avatar.is-coral {
  background: #f3a0a8;
}

.hero-demo-task-agent-avatar.is-blue {
  background: #8ecde8;
}

.hero-demo-task-agent-avatar.is-purple {
  background: #b6a1e1;
}

.hero-demo-task-agent-avatar.is-green {
  background: #9ccfae;
}

.hero-demo-task-agent-bubble {
  min-width: 0;
  padding: 0.45em 0.68em;
  border: 0.1cqw solid #e1e1e3;
  border-radius: 0.72em;
  background: #f5f5f6;
  color: #45474c;
}

.hero-demo-task-agent-bubble > header {
  min-width: 0;
  margin: 0 0 0.18em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65em;
}

.hero-demo-task-agent-bubble > header strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.92em;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-agent-bubble > header strong.is-coral,
.hero-demo-task-agent-line strong.is-coral {
  color: #c8757e;
}

.hero-demo-task-agent-bubble > header strong.is-blue,
.hero-demo-task-agent-line strong.is-blue {
  color: #4d91b5;
}

.hero-demo-task-agent-bubble > header strong.is-purple,
.hero-demo-task-agent-line strong.is-purple {
  color: #8065b2;
}

.hero-demo-task-agent-bubble > header strong.is-green,
.hero-demo-task-agent-line strong.is-green {
  color: #4b956b;
}

.hero-demo-task-agent-bubble > header time {
  flex: 0 0 auto;
  color: #a0a2a8;
  font-size: 0.82em;
  line-height: 1;
}

.hero-demo-task-agent-bubble > p {
  margin: 0;
  color: #5e6168;
  font-size: 0.94em;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.hero-demo-task-agent-line {
  overflow-wrap: anywhere;
}

.hero-demo-authentic-task-panel .hero-demo-composer textarea {
  height: 3.4cqh !important;
  max-height: 3.4cqh;
  overflow: auto;
}

.hero-demo-authentic-task-panel .hero-demo-composer,
.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  box-sizing: border-box;
}

.hero-demo-authentic-task-panel .hero-demo-send {
  flex: 0 0 3cqw;
}

@media (max-width: 720px) {
  .hero-demo-reference-response,
  .hero-demo-authentic-task-panel .hero-demo-task-conversation {
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .hero-demo-task-agent-message {
    grid-template-columns: 2.1em minmax(0, 1fr);
  }
}

/* 群聊正文采用与 Gugu 客户端相同的可滚动消息列，composer 始终固定在底部。 */
.hero-demo-chat-body {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
  scroll-behavior: auto;
}

.hero-demo-chat-body .hero-demo-message {
  min-width: 0;
}

.hero-demo-chat-body .hero-demo-message p {
  overflow-wrap: anywhere;
}

/* 任务消息流的固定槽位：不同任务只替换文案，不能改变后续区块的起点。 */
.hero-demo-task-lead {
  min-height: 2.9em;
  max-height: 2.9em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-demo-task-replay {
  height: 8.65em;
  min-height: 8.65em;
  max-height: 8.65em;
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.hero-demo-task-replay-line {
  min-height: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-agent-thread {
  min-height: 14.9em;
  max-height: 14.9em;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0.42em;
  overflow: hidden;
}

.hero-demo-task-agent-message {
  height: auto;
  min-height: 0;
}

.hero-demo-task-agent-avatar {
  width: 1.8em;
  height: 1.8em;
  margin-top: 0.1em;
  font-size: 0.78em;
}

.hero-demo-task-agent-bubble {
  height: 100%;
  box-sizing: border-box;
  padding: 0.32em 0.58em;
  border-radius: 0.48em;
  background: #fafafa;
  overflow: hidden;
}

.hero-demo-task-agent-bubble > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/*
 * Gugu 原生任务回复是连续的 Assistant 文本流：用户提示使用一张卡片，
 * 状态和回放使用轻量代码块，角色回复只保留名称与正文。四个演示任务
 * 共用这套几何，数据变化只影响文案，不影响字号或外壳位置。
 */
.hero-demo-reference-prompt.is-visible {
  height: 9.9%;
  max-height: 9.9%;
  padding: 0.9cqh 1cqw;
  line-height: 1.45;
  text-overflow: clip;
  white-space: pre-wrap;
}

.hero-demo-authentic-task-panel .hero-demo-user-message {
  height: 10.45cqh;
  min-height: 10.45cqh;
  max-height: 10.45cqh;
  box-sizing: border-box;
  margin-bottom: 0.7cqh;
  padding: 0.9cqh 1.5cqw;
  overflow: hidden;
}

.hero-demo-authentic-task-panel .hero-demo-user-message p[data-demo-task-prompt] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: pre-wrap;
}

.hero-demo-authentic-task-panel .hero-demo-user-message .hero-demo-message-meta {
  display: none;
}

/* Remove the card treatment from the role replies; this mirrors Gugu's prose rows. */
.hero-demo-task-agent-thread {
  width: 100%;
  min-height: 0;
  max-height: none;
  margin: 0.45em 0 0.9em;
  display: block;
  overflow: visible;
}

.hero-demo-task-agent-message,
.hero-demo-task-agent-avatar,
.hero-demo-task-agent-bubble {
  display: none;
}

.hero-demo-task-agent-line {
  display: block;
  min-width: 0;
  margin: 0 0 0.48em !important;
  color: var(--gugu-task-body);
  font-size: inherit;
  line-height: var(--gugu-task-copy-line);
  overflow-wrap: anywhere;
}

.hero-demo-task-agent-line:last-child {
  margin-bottom: 0 !important;
}

.hero-demo-task-agent-line strong {
  font-size: inherit;
  font-weight: 650;
}

.hero-demo-task-agent-line span {
  color: var(--gugu-task-body);
  font-size: inherit;
}

/* The dynamic response keeps a bounded scroll region, so long role replies remain readable. */
.hero-demo-reference-response {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d9dadd transparent;
}

.hero-demo-reference-response::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.hero-demo-reference-response::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d9dadd;
}

.hero-demo-reference-copy-label.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 0.45cqw;
}

@media (max-width: 720px) {
  .hero-demo-reference-prompt.is-visible {
    height: 9.9%;
    max-height: 9.9%;
    padding: 0.9cqh 1.3cqw;
  }

  .hero-demo-authentic-task-panel .hero-demo-user-message {
    height: 10.45cqh;
    min-height: 10.45cqh;
    max-height: 10.45cqh;
  }
}

/*
 * Stable task-session stream
 *
 * The reference capture and the live task DOM are two render targets for the
 * same session. Keep their tokens and slot geometry identical so switching a
 * task, tab, or device never changes the apparent type scale.
 */
.hero-demo-desktop[data-demo-device-panel="desktop"] {
  --gugu-task-copy-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-copy-line: 1.45;
  --gugu-task-title-size: clamp(11px, 1.25cqw, 16px);
  --gugu-task-row-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-ui-size: clamp(8px, 1.04cqw, 12px);
}

.hero-demo-authentic-task-panel,
.hero-demo-reference-dynamic {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

.hero-demo-authentic-task-panel .hero-demo-session-scroll,
.hero-demo-authentic-task-panel .hero-demo-session-scroll > article,
.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-assistant-message,
.hero-demo-authentic-task-panel .hero-demo-task-stream,
.hero-demo-reference-response,
.hero-demo-reference-response .hero-demo-task-conversation,
.hero-demo-reference-response .hero-demo-task-stream {
  font-size: var(--gugu-task-copy-size);
  line-height: var(--gugu-task-copy-line);
  font-variant-ligatures: none;
  text-rendering: geometricPrecision;
}

.hero-demo-authentic-task-panel .hero-demo-user-message {
  box-sizing: border-box;
  height: 9.9cqh;
  min-height: 9.9cqh;
  max-height: 9.9cqh;
  overflow: hidden;
}

.hero-demo-authentic-task-panel .hero-demo-user-message p[data-demo-task-prompt] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: pre-wrap;
}

.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  font-size: var(--gugu-task-title-size);
  line-height: 1.2;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row strong,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row time,
.hero-demo-reference-task-row,
.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time {
  font-size: var(--gugu-task-row-size);
  line-height: 1.2;
}

.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-reference-response .hero-demo-task-conversation {
  width: 100%;
  min-width: 0;
  color: var(--gugu-task-body, #45474c);
}

.hero-demo-task-stream {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.54em;
}

.hero-demo-task-stream-turn {
  min-width: 0;
  display: grid;
  grid-template-rows: 1.25em 2.9em;
  gap: 0.22em;
}

.hero-demo-task-stream-thought,
.hero-demo-task-stream-message,
.hero-demo-task-stream-read,
.hero-demo-task-stream-final > p,
.hero-demo-task-stream-links {
  min-width: 0;
  margin: 0;
}

.hero-demo-task-stream-thought {
  overflow: hidden;
  color: #a0a2a8;
  font-size: 0.9em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-message {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
  font-size: 1em;
  line-height: var(--gugu-task-copy-line);
  overflow-wrap: anywhere;
}

.hero-demo-task-stream-message strong {
  font-weight: 650;
}

.hero-demo-task-stream-message strong.is-coral {
  color: #c8757e;
}

.hero-demo-task-stream-message strong.is-blue {
  color: #4d91b5;
}

.hero-demo-task-stream-message strong.is-purple {
  color: #8065b2;
}

.hero-demo-task-stream-message strong.is-green {
  color: #4b956b;
}

.hero-demo-task-stream-tool {
  box-sizing: border-box;
  height: 3.85em;
  min-height: 3.85em;
  max-height: 3.85em;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.72em;
  background: #ffffff;
}

.hero-demo-task-stream-tool > header {
  height: 1.55em;
  padding: 0 0.72em;
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: #777a81;
  font-size: 0.94em;
  line-height: 1;
}

.hero-demo-task-stream-tool-marker {
  color: #85878c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hero-demo-task-stream-tool > code {
  box-sizing: border-box;
  height: calc(100% - 1.55em);
  padding: 0.38em 0.82em;
  display: block;
  overflow: hidden;
  border-top: 0.1cqw solid #ececee;
  color: #2373bb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-read {
  height: 1.55em;
  min-height: 1.55em;
  max-height: 1.55em;
  overflow: hidden;
  color: #a0a2a8;
  font-size: 0.92em;
  line-height: 1.55em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-read code {
  color: #9699a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.98em;
}

.hero-demo-task-stream-final {
  min-width: 0;
  display: grid;
  gap: 0.32em;
  color: var(--gugu-task-body, #45474c);
}

.hero-demo-task-stream-final > p:first-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hero-demo-task-stream-final ul {
  height: 3.0em;
  min-height: 3.0em;
  max-height: 3.0em;
  margin: 0;
  padding-left: 1.35em;
  overflow: hidden;
}

.hero-demo-task-stream-final li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-links {
  overflow: hidden;
  color: #0786ef;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-links a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08cqw;
  text-underline-offset: 0.18cqw;
}

.hero-demo-authentic-task-panel .hero-demo-composer textarea,
.hero-demo-reference-composer textarea {
  font-family: inherit;
  font-synthesis: none;
  letter-spacing: 0;
}

.hero-demo-authentic-task-panel .hero-demo-composer textarea {
  font-size: var(--gugu-task-copy-size);
  line-height: 1.35;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  font-size: var(--gugu-task-ui-size);
  line-height: 1.2;
}

.hero-demo-authentic-task-panel .hero-demo-composer,
.hero-demo-authentic-task-panel .hero-demo-composer-controls,
.hero-demo-authentic-task-panel .hero-demo-composer textarea {
  box-sizing: border-box;
}

.hero-demo-authentic-task-panel .hero-demo-composer {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}

.hero-demo-authentic-task-panel .hero-demo-composer > textarea,
.hero-demo-authentic-task-panel .hero-demo-composer > .hero-demo-composer-controls {
  width: 100%;
  min-width: 0;
  grid-column: 1;
}

.hero-demo-authentic-task-panel .hero-demo-composer-spacer {
  min-width: 0;
}

.hero-demo-authentic-task-panel .hero-demo-send {
  margin-left: auto;
}

.hero-demo-reference-response {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: auto;
}

@media (max-width: 720px) {
  .hero-demo-task-stream-turn {
    grid-template-rows: 1.25em 2.9em;
  }

  .hero-demo-task-stream-tool {
    height: 3.85em;
    min-height: 3.85em;
    max-height: 3.85em;
  }
}

/*
 * Final task-session contract.
 *
 * The reference image and the semantic task panel are two render targets for
 * the same Gugu session.  Keep one inherited type scale and one fixed slot
 * geometry so task selection only changes copy, never the apparent UI size.
 */
.hero-demo-desktop[data-demo-device-panel="desktop"] {
  --gugu-task-copy-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-copy-line: 1.45;
  --gugu-task-title-size: clamp(11px, 1.25cqw, 16px);
  --gugu-task-row-size: clamp(10px, 1.18cqw, 14px);
  --gugu-task-ui-size: clamp(8px, 1.04cqw, 12px);
}

.hero-demo-reference-layer,
.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel,
.hero-demo-authentic-task-panel * {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
  font-kerning: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
}

.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
  overflow-anchor: none;
}

.hero-demo-reference-response,
.hero-demo-reference-response .hero-demo-task-conversation,
.hero-demo-reference-response .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-session-scroll,
.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-authentic-task-panel .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
}

.hero-demo-reference-title.is-visible,
.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  font-size: var(--gugu-task-title-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-prompt.is-visible,
.hero-demo-authentic-task-panel .hero-demo-composer textarea {
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  font-size: var(--gugu-task-ui-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row strong,
.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row time,
.hero-demo-reference-task-row,
.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time {
  box-sizing: border-box;
  font-size: var(--gugu-task-row-size) !important;
  line-height: 1.2 !important;
  font-synthesis: none;
  transition: none;
}

.hero-demo-authentic-task-panel > .hero-demo-task-sidebar .hero-demo-task-row {
  height: 3.25cqh;
  min-height: 3.25cqh;
  max-height: 3.25cqh;
}

.hero-demo-reference-task-row {
  height: 3.25%;
  min-height: 3.25%;
  max-height: 3.25%;
  overflow: hidden;
}

.hero-demo-reference-prompt.is-visible {
  box-sizing: border-box;
  height: 9.9%;
  min-height: 9.9%;
  max-height: 9.9%;
  overflow: hidden;
  white-space: pre-wrap;
  text-overflow: clip;
  transition: none;
}

.hero-demo-reference-response-cover {
  height: 64.2%;
  min-height: 64.2%;
  max-height: 64.2%;
}

.hero-demo-reference-response {
  box-sizing: border-box;
  height: 62.9%;
  min-height: 62.9%;
  max-height: 62.9%;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overflow-anchor: none;
  scroll-behavior: auto;
}

.hero-demo-reference-response::-webkit-scrollbar {
  width: 4px;
}

.hero-demo-reference-response::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d9dadd;
}

.hero-demo-authentic-task-panel .hero-demo-task-pane {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-demo-authentic-task-panel .hero-demo-session-titlebar {
  flex: 0 0 4.65cqh;
  height: 4.65cqh;
  min-height: 4.65cqh;
}

.hero-demo-authentic-task-panel .hero-demo-session-scroll {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overflow-anchor: none;
  scroll-behavior: auto;
}

.hero-demo-authentic-task-panel .hero-demo-composer {
  flex: 0 0 8.4cqh;
  box-sizing: border-box;
  height: 8.4cqh;
  min-height: 8.4cqh;
  max-height: 8.4cqh;
  overflow: hidden;
  transition: none;
}

.hero-demo-authentic-task-panel .hero-demo-user-message {
  box-sizing: border-box;
  height: 9.9cqh;
  min-height: 9.9cqh;
  max-height: 9.9cqh;
  overflow: hidden;
}

.hero-demo-authentic-task-panel .hero-demo-user-message p[data-demo-task-prompt] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: pre-wrap;
}

.hero-demo-task-stream {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.54em;
  overflow-anchor: none;
}

.hero-demo-task-stream-turn {
  box-sizing: border-box;
  height: calc(1.25em + 2.9em + 0.22em);
  min-height: calc(1.25em + 2.9em + 0.22em);
  max-height: calc(1.25em + 2.9em + 0.22em);
  grid-template-rows: 1.25em 2.9em;
  gap: 0.22em;
  overflow: hidden;
}

.hero-demo-task-stream-thought,
.hero-demo-task-stream-message,
.hero-demo-task-stream-read,
.hero-demo-task-stream-final > p,
.hero-demo-task-stream-links {
  min-width: 0;
  margin: 0;
}

.hero-demo-task-stream-thought {
  height: 1.25em;
  min-height: 1.25em;
  max-height: 1.25em;
  overflow: hidden;
  color: #a0a2a8;
  font-size: 0.9em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-message {
  height: 2.9em;
  min-height: 2.9em;
  max-height: 2.9em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
  font-size: 1em !important;
  line-height: var(--gugu-task-copy-line) !important;
  overflow-wrap: anywhere;
}

.hero-demo-task-stream-tool {
  box-sizing: border-box;
  height: 3.85em;
  min-height: 3.85em;
  max-height: 3.85em;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.72em;
  background: #ffffff;
}

.hero-demo-task-stream-tool > header {
  box-sizing: border-box;
  height: 1.55em;
  min-height: 1.55em;
  max-height: 1.55em;
  padding: 0 0.72em;
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: #777a81;
  font-size: 0.94em !important;
  line-height: 1 !important;
}

.hero-demo-task-stream-tool > code {
  box-sizing: border-box;
  height: calc(100% - 1.55em);
  min-height: calc(100% - 1.55em);
  max-height: calc(100% - 1.55em);
  padding: 0.38em 0.82em;
  display: block;
  overflow: hidden;
  border-top: 0.1cqw solid #ececee;
  color: #2373bb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-read {
  height: 1.55em;
  min-height: 1.55em;
  max-height: 1.55em;
  overflow: hidden;
  color: #a0a2a8;
  font-size: 0.92em !important;
  line-height: 1.55em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-read code {
  color: #9699a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.98em !important;
}

.hero-demo-task-stream-final {
  min-width: 0;
  height: 7.45em;
  min-height: 7.45em;
  max-height: 7.45em;
  display: grid;
  grid-template-rows: 2.9em 3em 1.2em;
  gap: 0.32em;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
}

.hero-demo-task-stream-final > p:first-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hero-demo-task-stream-final ul {
  height: 3em;
  min-height: 3em;
  max-height: 3em;
  margin: 0;
  padding-left: 1.35em;
  overflow: hidden;
}

.hero-demo-task-stream-final li {
  height: 1em;
  min-height: 1em;
  max-height: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-links {
  height: 1.2em;
  min-height: 1.2em;
  max-height: 1.2em;
  overflow: hidden;
  color: #0786ef;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
 * 任务会话最终锁定：参考截图层和语义面板共用 4 个会话。
 * 固定浏览器文字缩放、过渡和消息槽位几何；切换任务只替换文案，不能改变 UI 尺寸。
 */
.hero-demo-reference-layer,
.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel,
.hero-demo-authentic-task-panel * {
  -webkit-text-size-adjust: none !important;
  text-size-adjust: none !important;
  font-synthesis: none !important;
  font-kerning: none !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "clig" 0 !important;
}

.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel,
.hero-demo-reference-dynamic *,
.hero-demo-authentic-task-panel * {
  letter-spacing: 0;
  transition: none !important;
  animation: none !important;
}

.hero-demo-reference-task-row,
.hero-demo-authentic-task-panel .hero-demo-task-row {
  box-sizing: border-box;
  height: 3.25cqh;
  min-height: 3.25cqh;
  max-height: 3.25cqh;
  font-size: var(--gugu-task-row-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time,
.hero-demo-authentic-task-panel .hero-demo-task-row strong,
.hero-demo-authentic-task-panel .hero-demo-task-row time {
  box-sizing: border-box;
  font-size: inherit !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-title.is-visible,
.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  box-sizing: border-box;
  font-size: var(--gugu-task-title-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-title.is-visible {
  width: 14.9%;
  max-width: 14.9%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-prompt.is-visible,
.hero-demo-reference-response,
.hero-demo-reference-response .hero-demo-task-conversation,
.hero-demo-reference-response .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-session-scroll,
.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-authentic-task-panel .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
}

.hero-demo-task-stream {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.54em;
  overflow-anchor: none;
}

.hero-demo-task-stream-turn {
  box-sizing: border-box;
  height: calc(1.25em + 2.9em + 0.22em);
  min-height: calc(1.25em + 2.9em + 0.22em);
  max-height: calc(1.25em + 2.9em + 0.22em);
  grid-template-rows: 1.25em 2.9em;
  gap: 0.22em;
  overflow: hidden;
}

.hero-demo-task-stream-thought {
  box-sizing: border-box;
  height: 1.25em;
  min-height: 1.25em;
  max-height: 1.25em;
  overflow: hidden;
  font-size: 0.9em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-message {
  box-sizing: border-box;
  height: 2.9em;
  min-height: 2.9em;
  max-height: 2.9em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1em !important;
  line-height: var(--gugu-task-copy-line) !important;
  overflow-wrap: anywhere;
}

.hero-demo-task-stream-tool {
  box-sizing: border-box;
  height: 3.85em;
  min-height: 3.85em;
  max-height: 3.85em;
  overflow: hidden;
}

.hero-demo-task-stream-tool > header {
  box-sizing: border-box;
  height: 1.55em;
  min-height: 1.55em;
  max-height: 1.55em;
  font-size: 0.94em !important;
  line-height: 1 !important;
}

.hero-demo-task-stream-tool > code {
  box-sizing: border-box;
  height: calc(100% - 1.55em);
  min-height: calc(100% - 1.55em);
  max-height: calc(100% - 1.55em);
  font-size: 0.92em !important;
  line-height: 1.35 !important;
}

.hero-demo-task-stream-read {
  box-sizing: border-box;
  height: 1.55em;
  min-height: 1.55em;
  max-height: 1.55em;
  overflow: hidden;
  font-size: 0.92em !important;
  line-height: 1.55em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-final {
  box-sizing: border-box;
  height: 7.45em;
  min-height: 7.45em;
  max-height: 7.45em;
  overflow: hidden;
}

.hero-demo-task-stream-final ul,
.hero-demo-task-stream-final li,
.hero-demo-task-stream-links {
  box-sizing: border-box;
}

.hero-demo-reference-response {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
  overflow-anchor: none;
  scroll-behavior: auto !important;
  overscroll-behavior: contain;
}

.hero-demo-reference-copy-label:not(.is-visible) {
  display: none !important;
}

.hero-demo-reference-copy-label.is-visible {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45cqw;
}

.hero-demo-reference-prompt.is-visible {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

/*
 * Final task-session lock.
 *
 * The four task states share one measured type scale and one transcript geometry.
 * The scale is written in px by script.js after the desktop panel is measured;
 * cqw remains only as a responsive fallback before that first measurement.
 */
.hero-demo-desktop[data-demo-device-panel="desktop"] {
  --gugu-task-copy-size: var(--gugu-task-copy-size-px, clamp(10px, 0.81vw, 12px));
  --gugu-task-title-size: var(--gugu-task-title-size-px, clamp(11px, 0.86vw, 13px));
  --gugu-task-row-size: var(--gugu-task-row-size-px, clamp(10px, 0.81vw, 12px));
  --gugu-task-ui-size: var(--gugu-task-ui-size-px, clamp(8px, 0.71vw, 10.5px));
}

.hero-demo-reference-layer,
.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel,
.hero-demo-reference-layer *,
.hero-demo-reference-dynamic *,
.hero-demo-authentic-task-panel * {
  -webkit-text-size-adjust: none !important;
  text-size-adjust: none !important;
  font-synthesis: none !important;
  font-kerning: none !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "clig" 0 !important;
  letter-spacing: 0 !important;
}

.hero-demo-reference-dynamic,
.hero-demo-authentic-task-panel,
.hero-demo-reference-dynamic *,
.hero-demo-authentic-task-panel * {
  transition: none !important;
  animation: none !important;
}

.hero-demo-reference-title.is-visible,
.hero-demo-authentic-task-panel .hero-demo-session-title > strong {
  font-size: var(--gugu-task-title-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-task-row,
.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time,
.hero-demo-authentic-task-panel .hero-demo-task-row,
.hero-demo-authentic-task-panel .hero-demo-task-row strong,
.hero-demo-authentic-task-panel .hero-demo-task-row time {
  font-size: var(--gugu-task-row-size) !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-prompt.is-visible,
.hero-demo-reference-response,
.hero-demo-reference-response .hero-demo-task-conversation,
.hero-demo-reference-response .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-session-scroll,
.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-authentic-task-panel .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-assistant-message {
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.45 !important;
}

.hero-demo-authentic-task-panel .hero-demo-composer-controls {
  font-size: var(--gugu-task-ui-size) !important;
  line-height: 1.2 !important;
}

/* Cover the old text baked into the reference capture before drawing the live stream. */
.hero-demo-reference-response-cover {
  top: 15.05% !important;
  height: 74.75% !important;
  max-height: 74.75% !important;
  z-index: 1 !important;
}

.hero-demo-reference-task-rows {
  z-index: 2 !important;
  pointer-events: none !important;
}

.hero-demo-reference-response {
  top: 17.35% !important;
  height: 71.85% !important;
  min-height: 71.85% !important;
  max-height: 71.85% !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  padding-bottom: 0.8em !important;
  background: #ffffff !important;
}

/* Gugu-like execution transcript: muted thought rows, prose, multi-line Execute cards and Read rows. */
.hero-demo-task-stream {
  gap: 0.64em !important;
}

.hero-demo-task-stream-turn {
  height: calc(1.25em + 3.45em + 0.28em) !important;
  min-height: calc(1.25em + 3.45em + 0.28em) !important;
  max-height: calc(1.25em + 3.45em + 0.28em) !important;
  grid-template-rows: 1.25em 3.45em !important;
  gap: 0.28em !important;
}

.hero-demo-task-stream-thought {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  font-size: 0.88em !important;
  line-height: 1.25 !important;
}

.hero-demo-task-stream-message {
  height: 3.45em !important;
  min-height: 3.45em !important;
  max-height: 3.45em !important;
  -webkit-line-clamp: 3 !important;
  font-size: 1em !important;
  line-height: 1.45 !important;
}

.hero-demo-task-stream-tool {
  height: 5.15em !important;
  min-height: 5.15em !important;
  max-height: 5.15em !important;
  border-radius: 0.72em !important;
}

.hero-demo-task-stream-tool > header {
  height: 1.55em !important;
  min-height: 1.55em !important;
  max-height: 1.55em !important;
  font-size: 0.92em !important;
  line-height: 1 !important;
}

.hero-demo-task-stream-tool > code {
  height: calc(100% - 1.55em) !important;
  min-height: calc(100% - 1.55em) !important;
  max-height: calc(100% - 1.55em) !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  padding: 0.42em 0.82em !important;
  font-size: 0.9em !important;
  line-height: 1.42 !important;
  white-space: pre-line !important;
  text-overflow: ellipsis !important;
}

.hero-demo-task-stream-read {
  height: 1.55em !important;
  min-height: 1.55em !important;
  max-height: 1.55em !important;
  font-size: 0.9em !important;
  line-height: 1.55em !important;
}

.hero-demo-task-stream-final {
  height: 9.1em !important;
  min-height: 9.1em !important;
  max-height: 9.1em !important;
  grid-template-rows: 3.1em 4.1em 1.2em !important;
  gap: 0.34em !important;
}

.hero-demo-task-stream-final > p:first-child {
  -webkit-line-clamp: 3 !important;
}

.hero-demo-task-stream-final ul {
  height: 4.1em !important;
  min-height: 4.1em !important;
  max-height: 4.1em !important;
}

.hero-demo-task-stream-final li {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  line-height: 1.25 !important;
}

/* Keep the reference composer controls inside the captured window at every scale. */
.hero-demo-reference-toolbar-send {
  top: 95.65% !important;
  right: 1.12% !important;
  width: 2.45cqw !important;
  height: 2.45cqw !important;
  aspect-ratio: 1 !important;
}

/*
 * Task transcript fidelity pass.
 *
 * The real Gugu task reply is a Markdown stream: a short thought row, prose,
 * status bullets, a replay block, then tool/read rows.  These rules keep each
 * block on a fixed geometry so changing the selected task can only change copy.
 */
.hero-demo-reference-layer:not([hidden]) ~ .hero-demo-desktop-app {
  display: none !important;
}

.hero-demo-task-stream,
.hero-demo-task-stream * {
  box-sizing: border-box;
  font-size: 1em;
  letter-spacing: 0 !important;
  font-variant-ligatures: none !important;
  font-synthesis: none !important;
}

.hero-demo-task-stream {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.62em !important;
  color: var(--gugu-task-body, #45474c);
  contain: layout style;
}

.hero-demo-task-stream-turn {
  height: 3.45em !important;
  min-height: 3.45em !important;
  max-height: 3.45em !important;
  display: grid !important;
  grid-template-rows: 1.25em 2.0em !important;
  gap: 0.2em !important;
  min-width: 0;
  overflow: hidden !important;
  contain: layout paint;
}

.hero-demo-task-stream-thought {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #a0a2a8 !important;
  font-size: 0.88em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-message {
  height: 2em !important;
  min-height: 2em !important;
  max-height: 2em !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  color: var(--gugu-task-body, #45474c) !important;
  font-size: 1em !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

.hero-demo-task-stream-message strong {
  font-size: inherit !important;
  font-weight: 650;
}

.hero-demo-task-stream-message strong.is-coral,
.hero-demo-task-stream-status-line strong.is-coral {
  color: #c8757e !important;
}

.hero-demo-task-stream-message strong.is-blue,
.hero-demo-task-stream-status-line strong.is-blue {
  color: #4d91b5 !important;
}

.hero-demo-task-stream-message strong.is-purple,
.hero-demo-task-stream-status-line strong.is-purple {
  color: #8065b2 !important;
}

.hero-demo-task-stream-message strong.is-green,
.hero-demo-task-stream-status-line strong.is-green {
  color: #4b956b !important;
}

.hero-demo-task-stream-status {
  width: 100%;
  height: 6.7em !important;
  min-height: 6.7em !important;
  max-height: 6.7em !important;
  min-width: 0;
  display: grid;
  grid-template-rows: 1.45em 5.05em;
  gap: 0.2em;
  overflow: hidden !important;
  contain: layout paint;
}

.hero-demo-task-stream-status-summary {
  height: 1.45em !important;
  min-height: 1.45em !important;
  max-height: 1.45em !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
  font-size: 1em !important;
  font-weight: 550;
  line-height: 1.45 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-status-rows {
  width: 100%;
  height: 5.05em;
  min-height: 5.05em;
  max-height: 5.05em;
  display: grid;
  grid-template-rows: repeat(4, 1.18em);
  gap: 0.08em;
  overflow: hidden;
}

.hero-demo-task-stream-status-line {
  width: 100%;
  height: 1.18em !important;
  min-height: 1.18em !important;
  max-height: 1.18em !important;
  min-width: 0;
  margin: 0 !important;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 0.38em;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
  font-size: 1em !important;
  line-height: 1.18 !important;
  white-space: nowrap;
}

.hero-demo-task-stream-status-line strong,
.hero-demo-task-stream-status-line span,
.hero-demo-task-stream-status-line em {
  min-width: 0;
  overflow: hidden;
  font-size: inherit !important;
  line-height: inherit !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-status-line strong {
  font-weight: 650;
}

.hero-demo-task-stream-status-line span {
  color: #686b72;
}

.hero-demo-task-stream-status-line em {
  padding: 0.08em 0.34em;
  border-radius: 0.34em;
  background: #f0f0f1;
  color: #62656b;
  font-style: normal;
}

.hero-demo-task-stream-section {
  height: 1.55em !important;
  min-height: 1.55em !important;
  max-height: 1.55em !important;
  margin: 0 !important;
  overflow: hidden;
  color: var(--gugu-task-body, #45474c);
  font-size: 1em !important;
  font-weight: 550;
  line-height: 1.55 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-replay {
  width: 100%;
  height: 7.45em !important;
  min-height: 7.45em !important;
  max-height: 7.45em !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0.58em 0.72em !important;
  overflow: hidden !important;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.72em;
  background: #ffffff;
  contain: layout paint;
}

.hero-demo-task-stream-replay-rows {
  width: 100%;
  height: 6.15em;
  min-height: 6.15em;
  max-height: 6.15em;
  display: grid;
  grid-template-rows: repeat(5, 1.18em);
  gap: 0.1em;
  overflow: hidden;
}

.hero-demo-task-stream-replay-line {
  width: 100%;
  height: 1.18em !important;
  min-height: 1.18em !important;
  max-height: 1.18em !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0.06em 0.42em !important;
  overflow: hidden;
  border-radius: 0.2em;
  background: #f0f0f1;
  color: #34363b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.94em !important;
  line-height: 1.18 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-replay-line.is-heading {
  background: #e9e9eb;
  color: #24262a;
  font-family: inherit !important;
  font-weight: 600;
}

.hero-demo-task-stream-tool {
  width: 100%;
  height: 5.15em !important;
  min-height: 5.15em !important;
  max-height: 5.15em !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0.1cqw solid #d3d4d6;
  border-radius: 0.72em;
  background: #ffffff;
  contain: layout paint;
}

.hero-demo-task-stream-tool > header {
  width: 100%;
  height: 1.55em !important;
  min-height: 1.55em !important;
  max-height: 1.55em !important;
  padding: 0 0.72em !important;
  display: flex;
  align-items: center;
  gap: 0.45em;
  overflow: hidden;
  border-bottom: 0.1cqw solid #ececee;
  color: #777a81;
  font-size: 0.92em !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.hero-demo-task-stream-tool-marker {
  flex: 0 0 auto;
  color: #9699a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.hero-demo-task-stream-tool > header strong {
  overflow: hidden;
  font-size: inherit !important;
  font-weight: 600;
  text-overflow: ellipsis;
}

.hero-demo-task-stream-tool > code {
  width: 100%;
  height: 3.6em !important;
  min-height: 3.6em !important;
  max-height: 3.6em !important;
  padding: 0.42em 0.82em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden !important;
  color: #2373bb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.9em !important;
  line-height: 1.42 !important;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: pre-line !important;
}

.hero-demo-task-stream-read {
  width: 100%;
  height: 1.55em !important;
  min-height: 1.55em !important;
  max-height: 1.55em !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden !important;
  color: #a0a2a8 !important;
  font-size: 0.9em !important;
  line-height: 1.55 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-read span,
.hero-demo-task-stream-read code {
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-read code {
  color: #9699a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.hero-demo-task-stream-final {
  width: 100%;
  height: 9.1em !important;
  min-height: 9.1em !important;
  max-height: 9.1em !important;
  min-width: 0;
  display: grid;
  grid-template-rows: 3.1em 4.1em 1.2em !important;
  gap: 0.34em;
  overflow: hidden !important;
  color: var(--gugu-task-body, #45474c);
  contain: layout paint;
}

.hero-demo-task-stream-final > p:first-child {
  height: 3.1em !important;
  min-height: 3.1em !important;
  max-height: 3.1em !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 1em !important;
  line-height: 1.45 !important;
}

.hero-demo-task-stream-final ul {
  height: 4.1em !important;
  min-height: 4.1em !important;
  max-height: 4.1em !important;
  margin: 0 !important;
  padding-left: 1.35em;
  overflow: hidden !important;
}

.hero-demo-task-stream-final li {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  margin: 0 !important;
  overflow: hidden;
  font-size: 1em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-links {
  height: 1.2em !important;
  min-height: 1.2em !important;
  max-height: 1.2em !important;
  margin: 0 !important;
  overflow: hidden;
  color: #0786ef;
  font-size: 0.9em !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-task-stream-links a {
  font-size: inherit !important;
}

/* Keep every task-level control on the same measured pixel scale. */
.hero-demo-authentic-task-panel .hero-demo-session-title > strong,
.hero-demo-authentic-task-panel .hero-demo-task-row,
.hero-demo-authentic-task-panel .hero-demo-task-row strong,
.hero-demo-authentic-task-panel .hero-demo-task-row time,
.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-user-message *,
.hero-demo-authentic-task-panel .hero-demo-task-conversation,
.hero-demo-reference-title.is-visible,
.hero-demo-reference-task-row,
.hero-demo-reference-task-row strong,
.hero-demo-reference-task-row time,
.hero-demo-reference-prompt.is-visible,
.hero-demo-reference-response,
.hero-demo-reference-response * {
  -webkit-text-size-adjust: none !important;
  text-size-adjust: none !important;
}

.hero-demo-authentic-task-panel .hero-demo-user-message,
.hero-demo-authentic-task-panel .hero-demo-user-message p[data-demo-task-prompt] {
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.45 !important;
}

.hero-demo-authentic-task-panel .hero-demo-composer,
.hero-demo-authentic-task-panel .hero-demo-composer-controls,
.hero-demo-authentic-task-panel .hero-demo-composer textarea,
.hero-demo-authentic-task-panel .hero-demo-composer button {
  transition: none !important;
  animation: none !important;
}

/*
 * 最终任务会话锁定。
 *
 * 参考图只提供窗口外壳；任务标题、提示卡和消息流永远由动态 DOM 绘制。
 * 下面的尺寸全部来自 script.js 的像素 token，切换任务只能替换文案。
 */
.hero-demo-desktop[data-demo-device-panel="desktop"] {
  --gugu-task-copy-size: var(--gugu-task-copy-size-px, 11.623px) !important;
  --gugu-task-copy-line: var(--gugu-task-copy-line-px, 16.853px) !important;
  --gugu-task-muted-size: var(--gugu-task-muted-size-px, 10.461px) !important;
  --gugu-task-title-size: var(--gugu-task-title-size-px, 12.313px) !important;
  --gugu-task-row-size: var(--gugu-task-row-size-px, 11.623px) !important;
  --gugu-task-ui-size: var(--gugu-task-ui-size-px, 10.244px) !important;
  --gugu-task-stream-gap: var(--gugu-task-stream-gap-px, 7.438px) !important;
  --gugu-task-overview-height: var(--gugu-task-overview-height-px, 16.853px) !important;
  --gugu-task-closing-height: var(--gugu-task-closing-height-px, 33.707px) !important;
  --gugu-task-turn-height: var(--gugu-task-turn-height-px, 50.56px) !important;
  --gugu-task-status-height: var(--gugu-task-status-height-px, 77.921px) !important;
  --gugu-task-section-height: var(--gugu-task-section-height-px, 18px) !important;
  --gugu-task-replay-height: var(--gugu-task-replay-height-px, 86.625px) !important;
  --gugu-task-tool-height: var(--gugu-task-tool-height-px, 59.844px) !important;
  --gugu-task-tool-header-height: var(--gugu-task-tool-header-height-px, 18.012px) !important;
  --gugu-task-tool-body-height: var(--gugu-task-tool-body-height-px, 41.832px) !important;
  --gugu-task-read-height: var(--gugu-task-read-height-px, 16.203px) !important;
  --gugu-task-final-height: var(--gugu-task-final-height-px, 105.766px) !important;
}

/* 覆盖截图中烘焙的任务文案，避免旧边框或旧字形从动态层边缘露出。 */
.hero-demo-reference-task-cover,
.hero-demo-reference-title-cover,
.hero-demo-reference-prompt-cover,
.hero-demo-reference-response-cover {
  display: block !important;
  visibility: visible !important;
  background: #ffffff !important;
  pointer-events: none !important;
}

.hero-demo-reference-task-cover {
  top: 31.65% !important;
  left: 5.0% !important;
  width: 20.55% !important;
  height: 16.1% !important;
  z-index: 1 !important;
}

.hero-demo-reference-title-cover {
  top: 0 !important;
  left: 28.1% !important;
  width: 18.5% !important;
  height: 6.2% !important;
  z-index: 1 !important;
}

.hero-demo-reference-title.is-visible {
  top: 1.15% !important;
  left: 30.6% !important;
  width: 15.4% !important;
  max-width: 15.4% !important;
  height: 1.35em !important;
  font-size: var(--gugu-task-title-size) !important;
  line-height: 1.2 !important;
  z-index: 2 !important;
}

.hero-demo-reference-prompt-cover {
  top: 5.25% !important;
  left: 33.55% !important;
  width: 60.4% !important;
  height: 10.35% !important;
  z-index: 1 !important;
}

.hero-demo-reference-prompt.is-visible {
  top: 5.87% !important;
  left: 34.43% !important;
  width: 57.3% !important;
  height: 8.43% !important;
  min-height: 8.43% !important;
  max-height: 8.43% !important;
  box-sizing: border-box !important;
  padding: 1.30cqh 1.55cqw !important;
  border: 1px solid #d3d4d6 !important;
  border-radius: 0.75cqw !important;
  background: #ffffff !important;
  color: #45474c !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.35 !important;
  z-index: 2 !important;
}

.hero-demo-reference-response-cover {
  top: 14.15% !important;
  left: 33.55% !important;
  width: 61.25% !important;
  height: 76.2% !important;
  max-height: 76.2% !important;
  z-index: 1 !important;
}

.hero-demo-reference-response {
  top: 17.25% !important;
  left: 36.55% !important;
  width: 54.8% !important;
  height: 71.95% !important;
  min-height: 71.95% !important;
  max-height: 71.95% !important;
  box-sizing: border-box !important;
  padding: 0 0.25cqw 0.8em 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
  overscroll-behavior: contain !important;
  isolation: isolate;
  background: #ffffff !important;
  color: #45474c !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
  z-index: 2 !important;
}

/* 每一个消息槽位都继承同一像素字号，禁止 em 链路随内容变化。 */
.hero-demo-reference-response .hero-demo-task-stream,
.hero-demo-authentic-task-panel .hero-demo-task-stream {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  gap: var(--gugu-task-stream-gap) !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
  letter-spacing: 0 !important;
  font-variant-ligatures: none !important;
  text-rendering: geometricPrecision;
}

.hero-demo-reference-response .hero-demo-task-stream > *,
.hero-demo-authentic-task-panel .hero-demo-task-stream > * {
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin: 0 !important;
  transition: none !important;
  animation: none !important;
}

.hero-demo-task-stream-turn {
  height: var(--gugu-task-turn-height) !important;
  min-height: var(--gugu-task-turn-height) !important;
  max-height: var(--gugu-task-turn-height) !important;
  grid-template-rows: 1.25em 2.9em !important;
  gap: 0.2em !important;
  overflow: hidden !important;
}

.hero-demo-task-stream-thought {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  overflow: hidden !important;
  color: #a0a2a8 !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-message {
  height: 2.9em !important;
  min-height: 2.9em !important;
  max-height: 2.9em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  color: #45474c !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
  overflow-wrap: anywhere !important;
}

.hero-demo-task-stream-message strong,
.hero-demo-task-stream-message span {
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-status {
  height: var(--gugu-task-status-height) !important;
  min-height: var(--gugu-task-status-height) !important;
  max-height: var(--gugu-task-status-height) !important;
  grid-template-rows: 1.45em 5.05em !important;
  gap: 0.2em !important;
  overflow: hidden !important;
}

.hero-demo-task-stream-status-summary {
  height: 1.45em !important;
  min-height: 1.45em !important;
  max-height: 1.45em !important;
  overflow: hidden !important;
  color: #45474c !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.45 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-status-rows {
  height: 5.05em !important;
  min-height: 5.05em !important;
  max-height: 5.05em !important;
  grid-template-rows: repeat(4, 1.18em) !important;
  gap: 0.08em !important;
  overflow: hidden !important;
}

.hero-demo-task-stream-status-line {
  height: 1.18em !important;
  min-height: 1.18em !important;
  max-height: 1.18em !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.18 !important;
}

.hero-demo-task-stream-status-line strong,
.hero-demo-task-stream-status-line span,
.hero-demo-task-stream-status-line em {
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-section {
  height: var(--gugu-task-section-height) !important;
  min-height: var(--gugu-task-section-height) !important;
  max-height: var(--gugu-task-section-height) !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.55 !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-replay {
  height: var(--gugu-task-replay-height) !important;
  min-height: var(--gugu-task-replay-height) !important;
  max-height: var(--gugu-task-replay-height) !important;
  padding: 0.58em 0.72em !important;
  overflow: hidden !important;
  border: 1px solid #d3d4d6 !important;
  border-radius: 0.72em !important;
  background: #ffffff !important;
}

.hero-demo-task-stream-replay-rows {
  height: 6.15em !important;
  min-height: 6.15em !important;
  max-height: 6.15em !important;
  grid-template-rows: repeat(5, 1.18em) !important;
  gap: 0.1em !important;
  overflow: hidden !important;
}

.hero-demo-task-stream-replay-line {
  height: 1.18em !important;
  min-height: 1.18em !important;
  max-height: 1.18em !important;
  padding: 0.06em 0.42em !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.18 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-tool {
  height: var(--gugu-task-tool-height) !important;
  min-height: var(--gugu-task-tool-height) !important;
  max-height: var(--gugu-task-tool-height) !important;
  overflow: hidden !important;
  border: 1px solid #d3d4d6 !important;
  border-radius: 0.72em !important;
  background: #ffffff !important;
}

.hero-demo-task-stream-tool > header {
  height: var(--gugu-task-tool-header-height) !important;
  min-height: var(--gugu-task-tool-header-height) !important;
  max-height: var(--gugu-task-tool-header-height) !important;
  padding: 0 0.72em !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1 !important;
}

.hero-demo-task-stream-tool > header strong,
.hero-demo-task-stream-tool-marker {
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-tool > code {
  height: var(--gugu-task-tool-body-height) !important;
  min-height: var(--gugu-task-tool-body-height) !important;
  max-height: var(--gugu-task-tool-body-height) !important;
  padding: 0.42em 0.82em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.42 !important;
  white-space: pre-line !important;
  text-overflow: ellipsis !important;
}

.hero-demo-task-stream-read {
  height: var(--gugu-task-read-height) !important;
  min-height: var(--gugu-task-read-height) !important;
  max-height: var(--gugu-task-read-height) !important;
  overflow: hidden !important;
  color: #a0a2a8 !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.55 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-read span,
.hero-demo-task-stream-read code {
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-final {
  height: var(--gugu-task-final-height) !important;
  min-height: var(--gugu-task-final-height) !important;
  max-height: var(--gugu-task-final-height) !important;
  grid-template-rows: 3.1em 4.1em 1.2em !important;
  gap: 0.34em !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
}

.hero-demo-task-stream-final > p:first-child {
  height: 3.1em !important;
  min-height: 3.1em !important;
  max-height: 3.1em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
}

.hero-demo-task-stream-final ul {
  height: 4.1em !important;
  min-height: 4.1em !important;
  max-height: 4.1em !important;
  margin: 0 !important;
  padding-left: 1.35em !important;
  overflow: hidden !important;
}

.hero-demo-task-stream-final li {
  height: 1.25em !important;
  min-height: 1.25em !important;
  max-height: 1.25em !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-links {
  height: 1.2em !important;
  min-height: 1.2em !important;
  max-height: 1.2em !important;
  overflow: hidden !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-links a {
  font-size: inherit !important;
}

/* 参考图底部控件保持在窗口内，切换任务不会触发按钮位置重排。 */
.hero-demo-reference-toolbar-send {
  top: auto !important;
  right: 1.12% !important;
  bottom: 1.85% !important;
  width: 2.45cqw !important;
  height: 2.45cqw !important;
  aspect-ratio: 1 !important;
}

/*
 * 首屏概览与真实 Gugu 的 Markdown 回复保持同样的顺序：
 * 摘要、角色状态、协作回放、结论。下面的固定槽位让 4 个任务只替换
 * 文案，不会因为某一段文字更长而改变字号、行高或后续控件的位置。
 */
.hero-demo-task-stream-overview,
.hero-demo-task-stream-closing {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #45474c !important;
  font-size: var(--gugu-task-copy-size) !important;
  line-height: var(--gugu-task-copy-line) !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

.hero-demo-task-stream-overview {
  height: var(--gugu-task-overview-height, 16.853px) !important;
  min-height: var(--gugu-task-overview-height, 16.853px) !important;
  max-height: var(--gugu-task-overview-height, 16.853px) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hero-demo-task-stream-closing {
  height: var(--gugu-task-closing-height, 33.707px) !important;
  min-height: var(--gugu-task-closing-height, 33.707px) !important;
  max-height: var(--gugu-task-closing-height, 33.707px) !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-height: var(--gugu-task-copy-line) !important;
}

/* 结论后的详细执行记录从概览下方开始，保持首屏概览的留白。 */
.hero-demo-task-stream-closing + .hero-demo-task-stream-turn {
  margin-top: 1.15em !important;
}

/* 状态列表使用 Gugu 原生的项目符号和轻量状态标签。 */
.hero-demo-task-stream-status {
  grid-template-rows: 0 1fr !important;
  gap: 0 !important;
}

.hero-demo-task-stream-status-summary {
  display: none !important;
}

.hero-demo-task-stream-status-rows {
  height: 6.2em !important;
  min-height: 6.2em !important;
  max-height: 6.2em !important;
  grid-template-rows: repeat(4, 1.45em) !important;
  gap: 0.08em !important;
}

.hero-demo-task-stream-status-line {
  position: relative !important;
  height: 1.45em !important;
  min-height: 1.45em !important;
  max-height: 1.45em !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  gap: 0.28em !important;
  padding-left: 1.05em !important;
  line-height: 1.45 !important;
}

.hero-demo-task-stream-status-line::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0.28em;
  color: #777a81;
  font-size: inherit !important;
  line-height: inherit !important;
}

.hero-demo-task-stream-status-line em {
  padding: 0.06em 0.32em !important;
  border-radius: 0.32em !important;
  background: #f0f0f1 !important;
  line-height: 1.28 !important;
}

/* Prompt 卡片的 3 行文字必须完整可见，避免底部一行被 padding 裁掉。 */
.hero-demo-reference-prompt.is-visible {
  padding-top: 0.8cqh !important;
  padding-bottom: 0.8cqh !important;
  line-height: 1.35 !important;
}

/* 标题左侧的文件夹图标属于参考图外壳，遮罩只覆盖旧标题文字。 */
.hero-demo-reference-title-cover {
  left: 29.55% !important;
  width: 17.55% !important;
}

/* 覆盖参考截图中已经烘焙的旧文字，不提供额外交互。 */
.hero-demo-reference-copy-cover {
  top: 52.85% !important;
  left: 34.9% !important;
  width: 13.2% !important;
  height: 3.5% !important;
}

.hero-demo-reference-copy-label.is-visible {
  top: 53.18% !important;
  left: 36.15% !important;
  z-index: 3 !important;
  color: #a0a2a8 !important;
  font-size: var(--gugu-task-muted-size) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.hero-demo-reference-copy-label.is-visible::before {
  content: "";
  width: 0.82em;
  height: 0.82em;
  flex: 0 0 0.82em;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 0.16em;
  opacity: 0.78;
}

/* 首次滚动回放：输入框和消息流沿用参考层的固定比例，只替换可见文案。 */
.hero-demo-reference-layer.is-replaying .hero-demo-reference-composer-shell::before {
  opacity: 0;
}

.hero-demo-reference-layer.is-replaying .hero-demo-reference-composer textarea {
  color: #45474c !important;
  caret-color: #45474c !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 0.5em !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis;
}

.hero-demo-reference-layer.is-replaying .hero-demo-reference-toolbar-send.is-replay-active {
  box-shadow: 0 0 0 0.18cqw rgba(5, 5, 5, 0.16);
}

.hero-demo-reference-replay {
  width: 100%;
  min-width: 0;
  color: #45474c;
}

.hero-demo-reference-replay-status {
  height: 1.45em;
  min-height: 1.45em;
  margin: 0 0 0.72em !important;
  overflow: hidden;
  color: #a0a2a8;
  font-size: 0.92em;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-replay-stream {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.72em;
}

.hero-demo-reference-replay-item {
  min-width: 0;
  min-height: 3.55em;
  display: grid;
  grid-template-columns: 1.85em minmax(0, 1fr);
  align-items: start;
  gap: 0.62em;
}

.hero-demo-reference-replay-item[hidden] {
  display: none !important;
}

.hero-demo-reference-replay-avatar {
  width: 1.75em;
  height: 1.75em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 650;
  line-height: 1;
}

.hero-demo-reference-replay-avatar.is-coral { background: #f3a0a8; }
.hero-demo-reference-replay-avatar.is-blue { background: #8ecde8; }
.hero-demo-reference-replay-avatar.is-purple { background: #b6a1e1; }
.hero-demo-reference-replay-avatar.is-green { background: #9ccfae; }

.hero-demo-reference-replay-body {
  min-width: 0;
}

.hero-demo-reference-replay-body strong {
  display: block;
  overflow: hidden;
  color: #4d5055;
  font-size: 0.94em;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-reference-replay-body p {
  min-width: 0;
  margin: 0.24em 0 0 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #686b72;
  font-size: 1em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-demo-reference-replay-item.is-typing .hero-demo-reference-replay-body p::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.16em;
  background: #686b72;
  vertical-align: -0.12em;
}

/* 输入层与可见 composer 外壳共用同一坐标，回放文字不会跑到外壳上方。 */
.hero-demo-reference-composer {
  top: 89.85% !important;
  right: 0.65% !important;
  bottom: 1.7% !important;
  left: 34.75% !important;
  width: auto !important;
  height: auto !important;
  z-index: 6 !important;
}

.hero-demo-reference-composer textarea {
  inset: 15% 9% 48% 1.8% !important;
  padding: 0 !important;
  font-size: 1.22cqw !important;
  line-height: 1.2 !important;
}

/* 标题和横线属于参考图外壳，遮罩从标题下方开始，只覆盖旧任务行。 */
.hero-demo-reference-task-cover {
  left: 5.25% !important;
  width: 20.3% !important;
  top: 32.55% !important;
  height: 14.4% !important;
}

/* Composer 按真实 Gugu 截图的双层高度校准：控件中心与外壳底边保持固定关系。 */
.hero-demo-reference-composer-erase {
  top: 85.65% !important;
}

.hero-demo-reference-composer-shell {
  top: 85.65% !important;
  border-radius: 0.72cqw !important;
}

.hero-demo-reference-composer-shell::before {
  top: 15.5% !important;
  color: #9a9aa2 !important;
  font-size: 1.22cqw !important;
  line-height: 1.2 !important;
}

.hero-demo-reference-composer {
  top: 85.65% !important;
  bottom: 1.7% !important;
}

.hero-demo-reference-toolbar-plus,
.hero-demo-reference-toolbar-permission,
.hero-demo-reference-toolbar-model {
  top: auto !important;
  bottom: 3.5% !important;
}

.hero-demo-reference-toolbar-plus {
  color: #969696 !important;
}

.hero-demo-reference-toolbar-plus svg {
  width: 1.2cqw !important;
  height: 1.2cqw !important;
}

.hero-demo-reference-toolbar-permission .permission-icon {
  width: 1.2cqw !important;
  height: 1.2cqw !important;
  flex-basis: 1.2cqw !important;
}

.hero-demo-reference-toolbar-permission > span {
  font-size: 1.2cqw !important;
}

.hero-demo-reference-toolbar-permission .permission-chevron {
  width: 2.1cqw !important;
  height: 2.1cqw !important;
  margin-left: -0.15cqw !important;
}

.hero-demo-reference-toolbar-model {
  right: 4.4% !important;
}

.hero-demo-reference-toolbar-send {
  top: auto !important;
  right: 1.5% !important;
  bottom: 3.5% !important;
}

/* 首页标题动态短句：动作词等宽，切换时不推动下方内容。 */
.hero .hero-title-lockup {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.16em 0.42em;
  max-width: 100%;
  font-size: 76px;
  line-height: 1.05;
  white-space: nowrap;
}

.hero .hero-title-brand {
  flex: 0 0 auto;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
}

.hero .hero-title-helper {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 0.12em;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.hero .hero-title-helper::before {
  content: '';
  width: 0.28em;
  height: 0.12em;
  flex: 0 0 auto;
  margin-right: 0.1em;
  background: var(--mint);
}

.hero .hero-title-helper-action {
  position: relative;
  display: inline-grid;
  min-width: 3em;
  height: 1.25em;
  overflow: hidden;
  line-height: 1.25;
}

.hero .hero-title-helper-current {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: baseline;
}

.hero .hero-title-helper-first,
.hero .hero-title-helper-rest {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-property: opacity, transform;
  transition-timing-function: ease-out, cubic-bezier(0.16, 1.35, 0.3, 1);
}

.hero .hero-title-helper-first {
  transition-duration: var(--hero-title-first-duration, 245ms);
}

.hero .hero-title-helper-rest {
  transition-duration: var(--hero-title-rest-duration, 360ms);
  transition-delay: var(--hero-title-rest-delay, 32ms);
}

.hero .hero-title-helper-current.is-leaving .hero-title-helper-first,
.hero .hero-title-helper-current.is-leaving .hero-title-helper-rest {
  opacity: 0;
  transform: translateY(-0.35em) scale(0.98);
}

.hero .hero-title-helper-current.is-entering .hero-title-helper-first,
.hero .hero-title-helper-current.is-entering .hero-title-helper-rest {
  opacity: 0;
  transform: translateY(0.65em) scale(0.9);
}

@media (max-width: 1100px) {
  .hero .hero-title-lockup {
    font-size: 60px;
  }
}

@media (max-width: 720px) {
  .hero .hero-title-lockup {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 48px;
  }

  .hero .hero-title-helper {
    font-size: 28px;
  }

  .hero .hero-title-helper::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-title-helper-first,
  .hero .hero-title-helper-rest {
    transition: none;
    transform: none;
  }
}
