:root {
  --fc-corp-ink: #172033;
  --fc-corp-muted: #667085;
  --fc-corp-line: #e4eaf2;
  --fc-corp-blue: #3370ff;
  --fc-corp-blue-deep: #2463eb;
  --fc-corp-surface: #f7f9fd;
}

body.fc-corporate-layout {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--fc-corp-ink);
}

body.fc-corporate-layout .fc-mobile-shell {
  display: none;
}

/* Useful, intentional content for legacy routes that previously rendered empty. */
.fc-legacy-state,
.fc-resource-hub {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 48px));
  margin: 56px auto 72px;
  padding: 72px 56px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 6%, rgba(51, 112, 255, .14), transparent 34%),
    linear-gradient(135deg, #f8faff 0%, #eef5ff 100%);
  border: 1px solid #e2eafa;
  border-radius: 24px;
}

.fc-state-kicker,
.fc-m-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  box-sizing: border-box;
  padding: 4px 12px;
  color: var(--fc-corp-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: #edf3ff;
  border-radius: 999px;
}

.fc-legacy-state h1,
.fc-resource-hub h1 {
  margin: 16px 0 0;
  color: var(--fc-corp-ink);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.fc-legacy-state > p,
.fc-resource-hub > p {
  max-width: 700px;
  margin: 16px auto 0;
  color: var(--fc-corp-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
}

.fc-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.fc-state-actions a,
.fc-m-actions a,
.fc-m-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 22px;
  color: var(--fc-corp-blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  background: #fff;
  border: 1px solid #aac2f7;
  border-radius: 999px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.fc-state-actions a:first-child,
.fc-m-actions a:first-child,
.fc-m-plan.is-featured .fc-m-plan-cta {
  color: #fff;
  background: var(--fc-corp-blue);
  border-color: var(--fc-corp-blue);
}

.fc-state-actions a:hover,
.fc-m-actions a:hover,
.fc-m-plan-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(51, 112, 255, .15);
}

.fc-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.fc-resource-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  box-sizing: border-box;
  padding: 26px;
  color: var(--fc-corp-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #dfe7f4;
  border-radius: 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.fc-resource-card:hover {
  transform: translateY(-2px);
  border-color: #b9cbf2;
  box-shadow: 0 12px 26px rgba(31, 53, 86, .08);
}

.fc-resource-card strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.fc-resource-card span {
  margin-top: 10px;
  color: var(--fc-corp-muted);
  font-size: 15px;
  line-height: 1.7;
}

.fc-resource-card em {
  margin-top: auto;
  padding-top: 18px;
  color: var(--fc-corp-blue);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

body.fc-legacy-state-page .webContainerTable,
body.fc-legacy-state-page #fullmeasureTopForms,
body.fc-page-hcol312 .webContainerTable,
body.fc-page-hcol312 #fullmeasureTopForms {
  display: none !important;
}

body.fc-legacy-state-page .webBannerTable {
  display: none !important;
}

/* Company desktop rhythm: remove the long dead zone before the team story. */
@media (min-width: 769px) {
  body.fc-company-page #module10775,
  body.fc-company-page #module10775 .fullmeasureOuterContentPage,
  body.fc-company-page #module10775 .fullmeasureOuterContent,
  body.fc-company-page #module10775 .fullmeasureContent,
  body.fc-company-page #fk-inFullmeasureListZone10775-1 {
    height: 1080px !important;
    min-height: 1080px !important;
  }

  body.fc-company-page #module11362 {top: 460px !important;}
  body.fc-company-page #module11363 {top: 477px !important;}
  body.fc-company-page #module11364 {top: 559px !important;}
  body.fc-company-page #module11643 {top: 908px !important;}

  /* Explicitly collapse the retired full-height comparison image. */
  body.fc-price-page #module12807 {
    display: none !important;
  }

  body.fc-price-page #module12806,
  body.fc-price-page #module12806 .fullmeasureOuterContentPage,
  body.fc-price-page #module12806 .fullmeasureOuterContent,
  body.fc-price-page #module12806 .fullmeasureContent,
  body.fc-price-page #fk-inFullmeasureListZone12806-1 {
    height: auto !important;
    min-height: 0 !important;
  }

  body.fc-price-page #module11314 {
    margin-top: 0 !important;
  }

  body.fc-page-hcol316 #module10871 .mainTitle {
    color: var(--fc-corp-ink) !important;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  body.fc-page-hcol316 #module10871 .article_title,
  body.fc-page-hcol316 #module10871 .title_content {
    color: #27344a !important;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
  }
}

/* Company desktop content follows the same visible header axis used by the
   customer stories: logo left edge -> consultation CTA right edge. */
@media (min-width: 1265px) {
  body.fc-company-page #module10776 {
    left: 168px !important;
  }

  body.fc-company-page #module11365,
  body.fc-company-page #module10777 {
    left: 0 !important;
  }

  body.fc-company-page #module10792 {
    left: 710px !important;
  }

  body.fc-company-page #module10794 {
    left: 80px !important;
  }

  body.fc-company-page #module11361 {
    left: 52px !important;
  }

  body.fc-company-page #module11364 {
    width: 637px !important;
  }

  body.fc-company-page #module10925,
  body.fc-company-page #module10926 {
    left: 168px !important;
  }

  body.fc-company-page #module10927 {
    left: 466px !important;
  }

  body.fc-company-page #module10928 {
    left: 629px !important;
  }
}

/* The mirrored site builder removes desktop modules at narrow widths. A dedicated
   mobile shell keeps these routes complete instead of showing an empty wide canvas. */
@media (max-width: 768px) {
  html,
  body.fc-corporate-layout {
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    background: #fff;
  }

  body.fc-corporate-layout > #web,
  body.fc-corporate-layout > .floatLeftTop,
  body.fc-corporate-layout > .floatRightTop,
  body.fc-corporate-layout > .floatLeftBottom,
  body.fc-corporate-layout > .floatRightBottom,
  body.fc-corporate-layout > #popupLevel,
  body.fc-corporate-layout > #bgMusic {
    display: none !important;
  }

  body.fc-corporate-layout .s_suspendserv_wrap,
  body.fc-corporate-layout .fk-suspendServ,
  body.fc-corporate-layout [class*="suspendserv"] {
    display: none !important;
  }

  body.fc-corporate-layout .fc-mobile-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
  }

  .fc-m-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 18px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #edf0f5;
    backdrop-filter: blur(12px);
  }

  .fc-m-logo {
    display: inline-flex;
    align-items: center;
  }

  .fc-m-logo img {
    display: block;
    width: 130px;
    height: 28px;
  }

  .fc-m-header-cta {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: var(--fc-corp-blue);
    border-radius: 999px;
  }

  .fc-m-main {
    display: block;
    flex: 1 0 auto;
  }

  .fc-m-hero {
    padding: 58px 20px 54px;
    text-align: center;
    background:
      radial-gradient(circle at 14% 0%, rgba(91, 118, 255, .22), transparent 40%),
      linear-gradient(135deg, #f5f7ff 0%, #eaf4ff 100%);
  }

  .fc-m-hero h1 {
    max-width: 640px;
    margin: 14px auto 0;
    color: var(--fc-corp-ink);
    font-size: clamp(30px, 8.4vw, 38px);
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -.025em;
  }

  .fc-m-hero p {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--fc-corp-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
  }

  .fc-m-section {
    box-sizing: border-box;
    padding: 48px 20px;
  }

  .fc-m-section.is-soft {
    background: var(--fc-corp-surface);
  }

  .fc-m-section h2 {
    margin: 0;
    color: var(--fc-corp-ink);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.015em;
  }

  .fc-m-section > p,
  .fc-m-copy p {
    margin: 14px 0 0;
    color: #4f596a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
  }

  .fc-m-media {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-top: 24px;
    object-fit: cover;
    border: 1px solid #e3e9f3;
    border-radius: 16px;
  }

  .fc-m-media.is-building {
    max-height: 420px;
    object-position: center;
  }

  .fc-m-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .fc-m-actions a {
    min-height: 46px;
    padding: 0 12px;
  }

  .fc-m-plan-list,
  .fc-m-resource-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }

  .fc-m-plan,
  .fc-m-resource-card,
  .fc-m-faq,
  .fc-m-details {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--fc-corp-line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(31, 53, 86, .05);
  }

  .fc-m-plan {
    padding: 24px 20px;
  }

  .fc-m-plan.is-featured {
    color: #fff;
    background: linear-gradient(145deg, #3d78ff 0%, #2868ef 100%);
    border-color: transparent;
  }

  .fc-m-plan h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
  }

  .fc-m-plan > p {
    margin: 8px 0 0;
    color: var(--fc-corp-muted);
    font-size: 14px;
    line-height: 1.7;
  }

  .fc-m-plan.is-featured > p,
  .fc-m-plan.is-featured li {
    color: rgba(255, 255, 255, .86);
  }

  .fc-m-price {
    margin-top: 18px;
    color: var(--fc-corp-blue);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.25;
  }

  .fc-m-plan.is-featured .fc-m-price {
    color: #fff;
  }

  .fc-m-price small {
    margin-left: 3px;
    font-size: 14px;
    font-weight: 400;
  }

  .fc-m-plan ul,
  .fc-m-details ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .fc-m-plan li,
  .fc-m-details li {
    position: relative;
    margin-top: 10px;
    padding-left: 22px;
    color: #4f596a;
    font-size: 14px;
    line-height: 1.7;
  }

  .fc-m-plan li::before,
  .fc-m-details li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #2eb96b;
    font-weight: 700;
    content: "✓";
  }

  .fc-m-plan.is-featured li::before {
    color: #fff;
  }

  .fc-m-plan-cta {
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    padding: 0 16px;
  }

  .fc-m-plan.is-featured .fc-m-plan-cta {
    color: var(--fc-corp-blue);
    background: #fff;
    border-color: #fff;
  }

  .fc-m-details {
    margin-top: 12px;
    overflow: hidden;
  }

  .fc-m-details summary {
    padding: 17px 18px;
    color: #263247;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    background: #f8fafc;
    cursor: pointer;
  }

  .fc-m-details > div {
    padding: 2px 18px 18px;
  }

  .fc-m-faq {
    margin-top: 22px;
    padding: 22px 20px;
  }

  .fc-m-faq strong {
    display: block;
    color: #263247;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
  }

  .fc-m-faq p {
    margin: 10px 0 0;
    color: var(--fc-corp-muted);
    font-size: 14px;
    line-height: 1.8;
  }

  .fc-m-resource-card {
    display: block;
    padding: 22px 20px;
    color: var(--fc-corp-ink);
    text-decoration: none;
  }

  .fc-m-resource-card strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
  }

  .fc-m-resource-card span {
    display: block;
    margin-top: 8px;
    color: var(--fc-corp-muted);
    font-size: 14px;
    line-height: 1.7;
  }

  .fc-m-resource-card em {
    display: block;
    margin-top: 14px;
    color: var(--fc-corp-blue);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
  }

  .fc-m-state {
    display: flex;
    min-height: max(500px, calc(100vh - 224px));
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 56px 20px;
    text-align: center;
    background:
      radial-gradient(circle at 10% 4%, rgba(51, 112, 255, .18), transparent 36%),
      linear-gradient(135deg, #f8faff 0%, #eef5ff 100%);
  }

  .fc-m-state-inner {
    width: 100%;
    max-width: 560px;
    padding: 32px 20px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid #e2eafa;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(31, 53, 86, .08);
  }

  .fc-m-state h1 {
    margin: 14px 0 0;
    color: var(--fc-corp-ink);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
  }

  .fc-m-state p {
    margin: 14px 0 0;
    color: var(--fc-corp-muted);
    font-size: 15px;
    line-height: 1.8;
  }

  .fc-m-footer {
    box-sizing: border-box;
    padding: 32px 20px 28px;
    background: #f6f8fc;
    border-top: 1px solid #e7ebf2;
  }

  .fc-m-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
  }

  .fc-m-footer-links a {
    color: #394457;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
  }

  .fc-m-footer p {
    margin: 22px 0 0;
    color: #929bad;
    font-size: 12px;
    line-height: 1.7;
  }
}

@media (max-width: 360px) {
  .fc-m-header {padding: 0 14px;}
  .fc-m-logo img {width: 116px;height: 25px;}
  .fc-m-header-cta {padding: 0 13px;}
  .fc-m-actions {grid-template-columns: 1fr;}
  .fc-m-footer-links {grid-template-columns: repeat(2, 1fr);}
}
