/* Home typography follows the Figma type scale directly. Do not derive text
   sizes from the site's fluid root rem: that root tops out at 26px while the
   legacy theme calculations were authored against 30px. */
body:has(.banner-hero) {
  --home-display: 42px;
  --home-section-title: 38px;
  --home-subsection-title: 28px;
  --home-subtitle: 24px;
  --home-body: 18px;
  --home-body-small: 16px;
}

body:has(.banner-hero) nav .container .row .col-md-3 span {
  font-size: 24px;
  line-height: normal;
}

body:has(.banner-hero) nav .container .row .col-md-8 > ul.underline > li > a,
body:has(.banner-hero) nav .container .row .col-md-8 > ul.underline > li.dropbtn > .linkit,
body:has(.banner-hero) nav .container .row .col-md-8 ul .menu-lang-container li.menu-item-2984 .current {
  font-size: 18px;
  line-height: 26px;
}

body:has(.banner-hero) footer .about ul > span {
  font-size: 20px;
  line-height: 28px;
}

body:has(.banner-hero) footer .about li,
body:has(.banner-hero) footer .contact-mailto {
  font-size: 16px;
  line-height: 22px;
}

body:has(.banner-hero) footer .copyright .col-md-3 > span {
  font-size: 24px;
  line-height: normal;
}

body:has(.banner-hero) footer .copyright .media > span {
  font-size: 18px;
  line-height: 24px;
}

body:has(.banner-hero) footer .copyright .col-md-5 p {
  font-size: 14px;
  line-height: 20px;
}

.banner {
  width: 100%;
  background: linear-gradient(180deg, #EEF1F5 0%, #fff 100%);
}
.banner-hero {
  width: 100%;
  padding-bottom: 80px;
  /* 不再写死 1388px：实际内容（标题 + 设备图）约 1187px，写死会在设备图下方留出约
     200px 空白，导致与下方数据区间距过大。改为随内容自适应高度。 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner-top {
  width: calc(100% - 48px);
  max-width: 1320px;
  /* 对齐设计稿 Header A：标题距导航底部 96px（设计稿标题 y=180 − 84 导航高），
     底部与设备图间距 40px（设计稿列间距 gap-40）。 */
  padding: 96px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner-title h1 {
  color: #181818;
  font-weight: bold;
  font-size: 42px;
  line-height: 68px;
  text-align: center;
  margin-bottom: 25px;
}
.banner-title h2 {
  font-size: 26px;
  font-weight: 400;
  color: #999;
  text-align: center;
  margin-bottom: 50px;
}
.banner-downloads {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner-downloads .show-on-android,
.banner-downloads .show-on-ios {
  display: none;
  height: 3.3rem;
  width: 10.6rem;
  margin-bottom: 1rem;
}
html.platform-android .banner-downloads .download-center-link,
html.platform-android .banner-downloads .download-group {
  display: none;
}
html.platform-android .banner-downloads .show-on-android {
  display: block;
}
html.platform-ios .banner-downloads .download-center-link,
html.platform-ios .banner-downloads .download-group {
  display: none;
}
html.platform-ios .banner-downloads .show-on-ios {
  display: block;
}
.banner-downloads .download-btn {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: white;
  background: linear-gradient(100deg, #a848ed 0%, #8768f4 52%, #6d9bf5 100%);
  box-shadow: 0 6px 16px rgba(121, 91, 235, 0.18);
  border-radius: 999px;
  width: 260px;
  height: 60px;
  padding: 0;
  cursor: pointer;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.305rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.banner-downloads .download-btn:hover {
  color: #fff;
  box-shadow: inset 0 0 0 999px rgba(50, 35, 119, 0.2), 0 8px 20px rgba(121, 91, 235, 0.24);
  transform: translateY(-1px);
}
.banner-downloads .download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.download-group .download-item {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.download-group .download-item:hover {
  width: 80px;
}
.download-group .download-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.download-group img {
  width: 48px;
  height: 48px;
}
.download-group .download-img span {
  font-size: 16px;
  line-height: 22px;
  color: #181818;
}
.download-group .download-qrcode span {
  font-size: 10px;
  color: #181818;
}
.banner-visual {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.banner .banner-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}
.statistic,
.use-cases,
.toolboxes,
.reviews,
.community,
.cta-section,
.faq-container .container {
  width: calc(100% - 48px) !important;
  max-width: 1320px !important;
}
.statistic {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 80px;
  row-gap: 30px;
  /* 收紧与上方 hero 的间距（原 100px 显得过空） */
  min-height: 180px;
  margin-top: 0;
  padding: 50px 0;
  box-sizing: border-box;
}
.statistic .statistic-image {
  height: 80px;
}
.toolboxes-title {
  font-size: var(--home-section-title);
  line-height: 50px;
  font-weight: bold;
  margin-top: 130px;
  margin-bottom: 84px;
  text-align: center;
}
/* Toolbox grid */
.toolbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.976rem;
  padding-bottom: 36px;
}
.toolbox-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(243, 240, 255, 0.82));
  border: 1px solid rgba(196, 190, 231, 0.48);
  box-shadow: 0 10px 28px rgba(85, 77, 151, 0.06);
  border-radius: 0.976rem;
  padding: 1.098rem 1.463rem;
  color: #181818;
}
.toolbox-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

@media screen and (min-width: 768px) {
  .toolbox-card:not(.toolbox-card--share-files) .toolbox-card-content > a {
    margin-top: auto;
    align-self: flex-start;
  }
}
.toolbox-card-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
}
.toolbox-card-desc {
  display: none;
  font-size: 16px;
  line-height: 22px;
  color: rgba(24, 24, 24, 0.7);
  margin: 0.366rem 0 0.488rem;
}
.toolbox-card-link {
  font-size: 16px;
  line-height: 22px;
  color: #7a62f0;
  font-weight: 600;
}
.toolbox-card-link-icon {
  width: 1em;
  height: 1em;
  margin-left: 6px;
}

.toolbox-card--share-files {
  position: relative;
  overflow: visible;
  z-index: 1;
}
.toolbox-share-files__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}
.toolbox-share-files__trigger::-webkit-details-marker {
  display: none;
}
.toolbox-share-files__chevron {
  width: 12px;
  height: 6px;
  transform: rotate(180deg);
  transform-origin: center;
  transition: transform 180ms ease;
}
.toolbox-share-files[open] .toolbox-share-files__chevron {
  transform: none;
}
/* details 关闭时浏览器会把内容置为 content-visibility:hidden，过渡拿不到起始帧，
   opacity/transform 只会瞬间跳变。这里显式恢复渲染，隐藏交给下面的 visibility 和
   pointer-events 负责，与导航栏 Products / Features 面板的做法保持一致。 */
.toolbox-share-files::details-content {
  content-visibility: visible;
}
/* 展开/收起过渡与导航栏 Products / Features 下拉同款：opacity + 向下位移 + visibility，
   不用 display 瞬切（见 css/index.css 的 .drop-menu）。 */
.toolbox-share-files__menu {
  position: absolute;
  z-index: 2;
  display: flex;
  width: fit-content;
  min-width: 167px;
  height: auto;
  padding: 16px 24px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(76, 68, 141, 0.16), 0 -2px 12px rgba(76, 68, 141, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.toolbox-share-files[open] .toolbox-share-files__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.toolbox-share-files__option {
  display: inline-flex;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  gap: 6px;
  color: #7a62f0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.toolbox-share-files__option:hover,
.toolbox-share-files__option:focus-visible {
  color: #6f58ea;
}
.toolbox-share-files__option img {
  width: 20px;
  height: 20px;
}
.toolbox-card-icon {
  width: 3.171rem;
  height: 3.171rem;
}
/* Use Cases */
.use-cases {
  margin-top: 0;
  padding-top: 80px;
}
.use-cases-head {
  text-align: center;
  margin-bottom: 84px;
}
.use-cases-title {
  font-size: var(--home-section-title);
  line-height: 50px;
  font-weight: bold;
  margin-bottom: 8px;
}
.use-cases-highlight {
  color: #7a62f0;
}
.use-cases-sub {
  color: rgba(24, 24, 24, 0.7);
  font-size: var(--home-subtitle);
  line-height: 32px;
}
.use-cases-carousel {
  position: relative;
  padding: 0 3.415rem;
}
.use-cases-viewport {
  overflow: hidden;
  --gap: 0.976rem;
  --per: 3; /* cards per view, adjusted in media queries */
}
.use-cases-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.3s ease;
  will-change: transform;
}
.use-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 243, 255, 0.9));
  border: 1px solid rgba(211, 207, 235, 0.7);
  border-radius: 0.976rem;
  overflow: hidden;
  color: #181818;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
}
.use-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #f1f3ff 0%, #fcfbff 100%);
}
.use-card-img {
  aspect-ratio: 400/353;
}
.use-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.use-card-body {
  padding: 0.976rem 1.098rem 1.098rem;
}
.use-card-title {
  font-size: var(--home-body);
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 0.366rem;
}
.use-card-desc {
  font-size: var(--home-body);
  line-height: 24px;
  color: rgba(24, 24, 24, 0.7);
}
.use-cases-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 2.134rem;
  height: 2.134rem;
  line-height: 2.134rem;
  text-align: center;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #7a62f0;
  font-size: 1.098rem;
  cursor: pointer;
}
.use-cases-nav-prev {
  left: 0;
}
.use-cases-nav-next {
  right: 0;
}
/* Reviews Section */
.reviews {
  margin-top: 84px;
  margin-bottom: 40px;
}
.reviews-title {
  text-align: center;
  font-size: var(--home-subsection-title);
  line-height: 38px;
  font-weight: bold;
  margin-bottom: 1.951rem;
}
.reviews-carousel {
  position: relative;
  border-radius: 1.098rem;
  padding: 0 3.415rem;
}
.video-track {
  display: flex;
  overflow: hidden;
}
.video-slide {
  min-width: 100%;
  display: none;
}
.video-slide.active {
  display: block;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.732rem;
}
.video-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 2.134rem;
  height: 2.134rem;
  line-height: 2.134rem;
  text-align: center;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #7a62f0;
  font-size: 1.098rem;
  cursor: pointer;
}
.video-nav-prev {
  left: 0;
}
.video-nav-next {
  right: 0;
}
.reviews-quote {
  text-align: center;
  color: rgba(24, 24, 24, 0.7);
  font-size: var(--home-subtitle);
  line-height: 32px;
  max-width: 90%;
  margin: 40px auto 0;
  font-weight: 500;
}
/* Community Section */
.community {
  margin-top: 150px;
  margin-bottom: 40px;
}
.community-title,
.community-title-mobile {
  text-align: center;
  font-size: var(--home-subsection-title);
  line-height: 38px;
  font-weight: bold;
  margin-bottom: 1.463rem;
}
.community-title-mobile {
  display: none;
}
.community-grid {
  column-count: 1;
  column-gap: 1.463rem;
}
.community-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.463rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 239, 255, 0.86));
  border-radius: 0.976rem;
  border: 1px solid rgba(196, 190, 231, 0.65);
  box-shadow: 0 10px 28px rgba(85, 77, 151, 0.06);
  padding: 1.098rem 20px;
  break-inside: avoid;
}
.community-card-header {
  display: flex;
  align-items: center;
  column-gap: 25px;
  margin-bottom: 0.732rem;
}
.community-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.community-name {
  font-weight: 600;
  font-size: var(--home-body);
  line-height: 24px;
  color: #5d5a88;
}
.community-text {
  color: rgba(24, 24, 24, 0.7);
  font-size: var(--home-body-small);
  line-height: 22px;
}
.community-text .highlight {
  color: #7a62f0;
  font-weight: 700;
}
.faq-container {
  background: #fff;
  padding-top: 76px;
}
.faq-title {
  text-align: center;
  color: #000;
  font-weight: 700;
  font-size: var(--home-subsection-title);
  line-height: 38px;
  margin-bottom: 40px;
}
.faq-item {
  padding: 8px 0;
}
.faq-item a:hover {
  color: #9747ff !important;
}
.faq-question {
  font-size: 20px;
  line-height: 26px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 211, 239, 0.72);
  box-shadow: 0 8px 24px rgba(85, 77, 151, 0.04);
  padding: 20px 40px;
  border-radius: 24px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  user-select: none;
}
.faq-answer {
  font-size: var(--home-body-small);
  line-height: 22px;
  overflow: hidden;
  height: 0;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  color: #181818;
  background: rgba(249, 248, 255, 0.76);
  border: 1px solid rgba(216, 211, 239, 0.72);
  padding: 0 40px;
  transition: all 0.3s ease;
  border-radius: 24px;
}
.faq-item.active .faq-question {
  font-weight: bold;
}
.faq-item.active .faq-answer {
  padding: 20px 40px;
  margin-top: 8px;
  height: auto;
  transform: scaleY(1);
  opacity: 1;
}
.faq-item .faq-answer ul {
  padding: 0 !important;
  margin: 0 !important;
}
.faq-item .faq-answer li {
  list-style: decimal inside !important;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
/* CTA Section */
.cta-section {
  margin-top: 80px;
  margin-bottom: 60px;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 36px;
  margin-bottom: 16px;
}
.cta-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}
.cta-title {
  font-weight: bold;
  font-size: var(--home-section-title);
  line-height: 50px;
  text-align: left;
}
.cta-subtitle {
  color: #000;
  text-align: left;
}
.cta-desc {
  color: #666572;
  font-weight: 500;
  font-size: 26px;
  line-height: normal;
  margin: 12px 0 48px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.305rem;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(100deg, #a848ed 0%, #8768f4 52%, #6d9bf5 100%);
  box-shadow: 0 6px 16px rgba(121, 91, 235, 0.18);
  border-radius: 999px;
  width: 260px;
  min-width: 260px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  font-size: 20px;
  line-height: 28px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.cta-button:hover {
  color: #ffffff !important;
  box-shadow: inset 0 0 0 999px rgba(50, 35, 119, 0.2), 0 8px 20px rgba(121, 91, 235, 0.24);
  transform: translateY(-1px);
}
.cta-button-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 24px;
}
@media screen and (min-width: 1320px) {
  .toolbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.463rem;
    grid-auto-rows: 220px;
  }

  html[lang]:not([lang="en-US"]):not([lang="en"]) .toolbox-grid {
    grid-auto-rows: auto;
  }

  html[lang]:not([lang="en-US"]):not([lang="en"]) .toolbox-card:not(.toolbox-card--primary) {
    min-height: 220px;
  }
  .toolbox-card {
    padding: 1.463rem 1.951rem;
    column-gap: 20px;
  }
  .toolbox-card--primary {
    grid-column: auto;
    grid-row: span 2;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .toolbox-card--primary .toolbox-card-desc {
    margin-bottom: 60px;
  }
  .toolbox-card-desc {
    display: block;
  }
  .toolbox-card-icon {
    width: 4.512rem;
    height: 4.512rem;
  }
  .toolbox-card--primary .toolbox-card-icon {
    width: 222px;
    height: 220px;
    margin-bottom: 0.976rem;
  }
  .toolbox-share-files__menu {
    top: 192px;
    left: 41px;
  }
  .reviews {
    margin-top: 100px;
  }
  .use-cases {
    margin-top: 0;
  }
  .use-cases-carousel {
    padding-left: 24px;
    padding-right: 24px;
  }
  .reviews-carousel {
    padding-left: 24px;
    padding-right: 24px;
  }
  .reviews-quote {
    font-size: var(--home-subtitle);
    line-height: 32px;
  }
  .community-grid {
    column-count: 4;
  }
  .cta-logo {
    width: 120px;
    height: 120px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1319.9px) {
  /* Figma Home@1024 (44:17472) Header A: the whole hero column — copy, CTA and
     artwork — is 864px wide inside 80px gutters, and the artwork is not
     full-bleed. Title sits at y=140 under the 74px navigation. */
  .banner-top,
  .banner-visual {
    width: calc(100% - 160px);
    max-width: 864px;
  }

  .banner-top {
    padding-top: 66px;
  }

  .banner-title h2 {
    margin-bottom: 40px;
  }

  /* "Available on devices" row is 80px tall: 48px icon + 10px + 22px label. */
  .download-group .download-img {
    gap: 10px;
  }

  .banner-hero {
    padding-bottom: 60px;
  }

  .statistic {
    column-gap: 80px;
  }
  .community {
    margin-top: 60px;
  }
  .use-cases-viewport {
    --per: 3;
  }
  .community-grid {
    column-count: 3;
  }
  .cta-logo {
    width: 96px;
    height: 96px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023.9px) {
  /* Figma Home@768 (70:3583) Header A: 688px hero column inside 40px gutters,
     title at y=120, artwork inside the column rather than full-bleed. */
  .banner-top,
  .banner-visual {
    width: calc(100% - 80px);
    max-width: 688px;
  }

  .banner-top {
    padding-top: 46px;
  }

  .banner-title h2 {
    margin-bottom: 40px;
  }

  .download-group .download-img {
    gap: 10px;
  }

  .banner-hero {
    padding-bottom: 60px;
  }

  .use-cases-head {
    margin-bottom: 40px;
  }

  .statistic {
    column-gap: 60px;
  }

  .statistic .statistic-image {
    height: 60px;
  }
  .community {
    margin-top: 60px;
  }
  .use-cases-viewport {
    --per: 2;
  }
  .community-grid {
    column-count: 2;
  }
  .community-text {
    font-size: 14px;
  }
  .community-name {
    font-size: 16px;
  }
  .cta-logo {
    width: 80px;
    height: 80px;
  }
  .cta-title {
    font-size: 36px;
  }
  .cta-subtitle {
    font-size: 24px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1319.9px) {
  .toolboxes-title {
    margin-bottom: 60px;
  }
  .toolbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toolbox-card {
    flex-direction: column;
  }
  .toolbox-card-content {
    width: 100%;
  }
  .toolbox-card--primary {
    flex-direction: row;
    grid-column: 1 / -1;
  }
  .toolbox-card--primary .toolbox-card-desc {
    display: block;
  }
  .toolbox-card-icon {
    width: 3.659rem;
    height: 3.659rem;
  }
  .toolbox-card--primary .toolbox-card-icon {
    width: 142px;
    height: 75px;
  }
  .toolbox-share-files__menu {
    top: 102px;
    left: 34px;
  }
  .reviews-quote {
    font-size: var(--home-subtitle);
    line-height: 32px;
  }
}
@media screen and (max-width: 767.9px) {
  /* Figma Home@360 (70:5294) Header A: hero column is 288px wide inside 36px
     gutters and the title starts at y=100 under the 56px navigation. */
  .banner-hero {
    width: calc(100% - 72px);
    min-height: 0;
    padding: 0 0 24px;
  }
  .banner-top {
    width: 100%;
    padding: 44px 0 24px;
  }
  .banner-top,
  .banner-downloads {
    align-items: center;
  }
  .banner-title h1,
  .banner-title h2 {
    text-align: center;
  }
  .banner-title h1 {
    font-size: 32px;
    line-height: normal;
  }
  .banner-title h2 {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .banner-downloads .download-group {
    justify-content: center;
    gap: 12px;
  }
  .download-group .download-item,
  .download-group .download-item:hover {
    width: 56px;
  }
  .banner-visual {
    justify-content: center;
  }
  .banner .banner-image {
    max-width: 100%;
  }
  .statistic,
  .use-cases,
  .toolboxes,
  .reviews,
  .community,
  .cta-section,
  .faq-container .container {
    width: calc(100% - 32px) !important;
  }
  .statistic {
    flex-direction: column;
    margin-top: 40px;
    min-height: 0;
    padding: 0;
  }
  .toolbox-card {
    flex-direction: row-reverse;
    padding: 0.976rem 1.098rem;
    justify-content: flex-end;
    column-gap: 20px;
  }
  .toolboxes-title {
    margin-top: 84px;
    margin-bottom: 40px;
  }
  .toolbox-card-link-icon {
    margin-left: 4px;
  }
  .toolbox-grid {
    row-gap: 10px;
  }
  .toolbox-card-title {
    margin-bottom: 0.366rem;
  }
  .toolbox-card-link {
    display: inline-flex;
    align-items: center;
  }
  .toolbox-card-icon {
    width: 2.744rem;
    height: 2.744rem;
  }
  .toolbox-card--primary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.463rem 1.098rem;
  }
  .toolbox-card--primary .toolbox-card-icon {
    width: 6.1rem;
    height: 6.1rem;
    margin-top: 0.488rem;
    margin-bottom: 0.488rem;
  }
  .reviews {
    display: block;
    margin-top: 60px;
  }
  .community {
    margin-top: 60px;
  }
  .use-cases {
    margin-top: 60px;
    padding-top: 0;
  }
  .use-cases-carousel {
    padding: 0 2.2rem;
  }
  .use-cases-viewport {
    --per: 1;
  }
  .community-text {
    font-size: 14px;
  }
  .community-name {
    font-size: 16px;
  }
  .cta-section {
    margin-top: 60px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-subtitle {
    font-size: 20px;
  }
  .cta-desc {
    font-size: 20px;
  }
  .cta-button {
    padding: 24px 60px;
    min-width: 320px;
    font-size: 18px;
  }
  .use-card-title {
    font-size: 16px;
  }
  .use-card-desc {
    font-size: 14px;
  }
}
@media screen and (min-width: 480px) and (max-width: 767.9px) {
  .community-grid {
    column-count: 1;
  }
}
@media screen and (max-width: 767.9px) {
  .community {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 40px 20px;
  }

  .community-title {
    display: none;
  }

  .community-title-mobile {
    display: block;
    text-align: center;
    margin: 0 0 60px;
    font-size: 24px;
    line-height: 32px;
    white-space: nowrap;
  }

  .community-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    column-count: auto;
  }

  .community-card {
    display: flex;
    width: 300px;
    flex-direction: column;
    gap: 28px;
    margin: 0;
    padding: 30px 34px;
    border: 1px solid #ccd5e2;
    border-radius: 24px;
    background: linear-gradient(180deg, #f7f6ff 0%, #fff 127.28%);
    box-shadow: none;
  }

  .community-card-header {
    column-gap: 20px;
    margin-bottom: 0;
  }

  .community-avatar {
    width: 60px;
    height: 60px;
  }

  .community-name {
    color: #493b90;
    font-size: 18px;
    line-height: 24px;
  }

  .community-text {
    font-size: 16px;
    line-height: 22px;
  }

  .community-text p {
    margin: 0;
  }
}

/* Figma Home@1024 uses the Desktop S scale and smaller control boxes. Keep
   this after the legacy responsive blocks so typography and component sizes
   stay on the same breakpoint instead of mixing 1920 text with tablet cards. */
@media screen and (min-width: 768px) and (max-width: 1319.9px) {
  body:has(.banner-hero) {
    --home-section-title: 32px;
    --home-subtitle: 20px;
  }

  body:has(.banner-hero) .header-menu nav {
    height: 74px;
  }

  body:has(.banner-hero) nav .container .row .col-md-3 img {
    width: 32px;
    height: 32px;
  }

  body:has(.banner-hero) nav .container .row .col-md-3 span {
    font-size: 20px;
  }

  body:has(.banner-hero) nav .container .row .col-md-8 > ul.underline > li > a,
  body:has(.banner-hero) nav .container .row .col-md-8 > ul.underline > li.dropbtn > .linkit,
  body:has(.banner-hero) nav .container .row .col-md-8 ul .menu-lang-container li.menu-item-2984 .current {
    font-size: 16px;
    line-height: 22px;
  }

  .banner-title h1 {
    font-size: 38px;
    line-height: 50px;
  }

  .banner-title h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .banner-downloads .download-btn,
  .cta-button {
    width: 220px;
    min-width: 220px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    font-size: 18px;
    line-height: 26px;
  }

  .toolboxes-title,
  .use-cases-title {
    line-height: 42px;
  }

  .toolbox-card-link,
  .toolbox-card-desc {
    font-size: 18px;
    line-height: 24px;
  }

  .use-cases-sub {
    line-height: 32px;
  }

  .cta-header {
    column-gap: 20px;
  }

  .cta-logo {
    width: 70px;
    height: 70px;
  }

  .cta-title {
    font-size: 32px;
    line-height: 42px;
  }

  .cta-desc {
    font-size: 28px;
    line-height: 38px;
  }
}

/* Figma Home@360: compact type and controls. */
@media screen and (max-width: 767.9px) {
  body:has(.banner-hero) {
    --home-section-title: 28px;
    --home-subsection-title: 20px;
    --home-subtitle: 14px;
    --home-body-small: 14px;
  }

  body:has(.banner-hero) .header-menu nav {
    height: 56px;
  }

  .banner-title h1 {
    font-size: 32px;
    line-height: 42px;
  }

  .banner-title h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .banner-downloads .download-btn,
  .cta-button {
    width: 151px;
    min-width: 151px;
    height: 40px;
    min-height: 40px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 22px;
  }

  .toolboxes-title,
  .use-cases-title {
    line-height: 38px;
  }

  .use-cases-sub {
    line-height: 20px;
  }

  .use-cases-head {
    margin-bottom: 40px;
  }

  .toolbox-card-title {
    font-size: 16px;
    line-height: 22px;
  }

  .toolbox-card-desc,
  .toolbox-card-link {
    font-size: 14px;
    line-height: 20px;
  }

  .community-title,
  .community-title-mobile {
    line-height: 32px;
  }

  .faq-title {
    line-height: 28px;
  }

  .faq-question {
    font-size: 16px;
    line-height: 22px;
  }

  .faq-answer {
    font-size: 14px;
    line-height: 20px;
  }

  .cta-header {
    column-gap: 10px;
  }

  .cta-logo {
    width: 40px;
    height: 40px;
  }

  .cta-title {
    font-size: 20px;
    line-height: 28px;
  }

  .cta-desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
  }

  body:has(.banner-hero) footer .copyright .media > span {
    font-size: 10px;
    line-height: normal;
  }

  body:has(.banner-hero) footer .copyright .col-md-5 p {
    font-size: 8px;
    line-height: normal;
  }
}

/* Figma Home@360, node 70:5299: mobile feature-card grid. */
@media screen and (max-width: 767.9px) {
  .toolboxes {
    width: 100% !important;
    margin: 0;
    padding: 40px 20px;
  }

  .toolboxes-title {
    width: 100%;
    margin: 0 0 40px;
    font-size: 28px;
    line-height: 38px;
  }

  .toolboxes-title span {
    display: block;
    font-size: 32px;
    line-height: 42px;
  }

  .toolbox-grid {
    display: flex;
    width: min(320px, 100%);
    margin: 0 auto;
    padding: 0;
    flex-direction: column;
    gap: 10px;
  }

  .toolbox-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas: "icon content";
    width: 100%;
    height: 94px;
    min-height: 94px;
    padding: 20px;
    column-gap: 20px;
    align-items: start;
    border: 0;
    border-radius: 18px;
    background: #f8f7fe;
    box-shadow: none;
  }

  .toolbox-card-content {
    grid-area: content;
    width: 100%;
    height: auto;
    min-width: 0;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .toolbox-card-content > a {
    display: flex;
    height: 20px;
    line-height: 20px;
  }

  .toolbox-card-icon {
    grid-area: icon;
    width: 50px;
    height: 50px;
    margin: 0;
  }

  .toolbox-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
  }

  .toolbox-card-link {
    gap: 4px;
    font-size: 12px;
    line-height: 20px;
  }

  .toolbox-card-link-icon {
    width: 14px;
    height: 14px;
    margin-left: 0;
  }

  .toolbox-card--primary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "icon"
      "content";
    height: auto;
    min-height: 210px;
    padding: 20px 40px;
    row-gap: 14px;
    column-gap: 0;
    justify-items: center;
  }

  .toolbox-card--primary .toolbox-card-icon {
    width: 100px;
    height: 100px;
    margin: 0;
  }

  .toolbox-card--primary .toolbox-card-content {
    align-items: center;
  }

  .toolbox-card--share-files {
    height: 162px;
    min-height: 162px;
  }

  .toolbox-card--share-files .toolbox-card-desc,
  .toolbox-share-files__trigger {
    display: none;
  }

  .toolbox-share-files {
    width: 100%;
  }

  /* 移动端没有 See Options 触发器，三条入口始终平铺展示，因此撤掉桌面端的展开过渡。 */
  .toolbox-share-files__menu,
  .toolbox-share-files:not([open]) .toolbox-share-files__menu {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    padding: 0;
    gap: 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .toolbox-share-files__option {
    height: 26px;
    flex-basis: 26px;
    gap: 4px;
    font-size: 12px;
    line-height: 26px;
  }

  .toolbox-share-files__option img {
    width: 14px;
    height: 14px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1319.9px) {
  .toolbox-share-files__trigger {
    font-size: 18px;
    line-height: 26px;
  }
}
