/* WPS Office suite layout — left sidebar + cream main */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #1a2e2c;
  background: #f4efe6;
  line-height: 1.75;
  min-height: 100vh;
}

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.suite-wrap {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

/* Left fixed sidebar */
.suite-sidebar {
  width: 232px;
  flex-shrink: 0;
  background: #134e4a;
  color: #ffffff;
  padding: 28px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.suite-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.suite-brand svg {
  flex-shrink: 0;
}

.suite-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suite-nav a {
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  border-left: 3px solid transparent;
  font-size: 14px;
  text-decoration: none;
}

.suite-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.suite-nav a.active {
  color: #ffffff;
  border-left-color: #5eead4;
  background: rgba(15, 118, 110, 0.55);
  font-weight: 600;
}

.suite-side-dl {
  margin-top: auto;
}

.suite-side-dl a {
  display: block;
  text-align: center;
  background: #0f766e;
  color: #ffffff;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
}

.suite-side-dl a:hover {
  background: #0d9488;
  text-decoration: none;
}

/* Main column */
.suite-main {
  flex: 1;
  min-width: 0;
  background: #f4efe6;
  padding: 0 0 48px;
}

.suite-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 40px 0;
}

/* Hero: horizontal h1 + square button */
.suite-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d6cbb8;
}

.suite-hero h1 {
  flex: 1;
  font-size: 28px;
  line-height: 1.35;
  color: #134e4a;
  font-weight: 700;
}

.suite-hero-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suite-btn {
  display: inline-block;
  background: #0f766e;
  color: #ffffff !important;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none !important;
  text-align: center;
  min-width: 168px;
}

.suite-btn:hover {
  background: #0d9488;
}

.suite-btn-ghost {
  background: transparent;
  color: #0f766e !important;
  border: 2px solid #0f766e;
  padding: 12px 20px;
}

.suite-btn-ghost:hover {
  background: #e7f5f3;
}

/* Five-cell stats strip */
.suite-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #d6cbb8;
  border: 1px solid #d6cbb8;
  margin-bottom: 36px;
}

.suite-stat {
  background: #faf7f1;
  padding: 16px 12px;
  text-align: center;
}

.suite-stat strong {
  display: block;
  font-size: 20px;
  color: #0f766e;
  margin-bottom: 4px;
}

.suite-stat span {
  font-size: 12px;
  color: #5c6b68;
}

/* Timeline news */
.suite-section {
  margin-bottom: 40px;
}

.suite-section h2 {
  font-size: 20px;
  color: #134e4a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0f766e;
}

.suite-news {
  list-style: none;
  border-left: 3px solid #0f766e;
  padding-left: 0;
}

.suite-news li {
  position: relative;
  padding: 12px 16px 12px 28px;
  border-bottom: 1px solid #e5dccf;
  font-size: 14px;
}

.suite-news li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: #0f766e;
  border-radius: 0;
}

.suite-news time {
  display: inline-block;
  min-width: 96px;
  color: #0f766e;
  font-weight: 600;
  margin-right: 10px;
}

/* Wide product copy */
.suite-prose p {
  margin-bottom: 14px;
  font-size: 15px;
  color: #2a3d3a;
}

.suite-prose ul {
  margin: 10px 0 16px 22px;
  font-size: 15px;
}

.suite-prose li {
  margin-bottom: 8px;
}

/* 2x2 download grid */
.suite-dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.suite-dl-card {
  background: #faf7f1;
  border: 1px solid #d6cbb8;
  padding: 20px 18px;
  border-radius: 0;
}

.suite-dl-card h3 {
  font-size: 16px;
  color: #134e4a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suite-dl-card p {
  font-size: 13px;
  color: #5c6b68;
  margin-bottom: 14px;
}

.suite-dl-card .suite-btn {
  font-size: 13px;
  padding: 10px 16px;
  min-width: 0;
  width: 100%;
}

/* Compat label rows */
.suite-compat {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #d6cbb8;
}

.suite-compat-row {
  display: flex;
  border-bottom: 1px solid #d6cbb8;
}

.suite-compat-row:last-child {
  border-bottom: none;
}

.suite-compat-label {
  width: 140px;
  flex-shrink: 0;
  background: #134e4a;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
}

.suite-compat-value {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  background: #faf7f1;
}

/* Dark review banner */
.suite-banner {
  background: #134e4a;
  color: #e8f5f3;
  padding: 28px 32px;
  margin-bottom: 40px;
  border-radius: 0;
}

.suite-banner h2 {
  color: #ffffff;
  border-bottom-color: #5eead4;
}

.suite-banner p {
  margin-bottom: 12px;
  font-size: 14px;
}

.suite-banner cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #99c4bf;
  margin-top: 4px;
}

/* FAQ two columns */
.suite-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.suite-faq-item {
  background: #faf7f1;
  border: 1px solid #d6cbb8;
  padding: 16px 18px;
  border-radius: 0;
}

.suite-faq-item h3 {
  font-size: 15px;
  color: #0f766e;
  margin-bottom: 8px;
  font-weight: 700;
}

.suite-faq-item p {
  font-size: 13px;
  color: #2a3d3a;
  margin: 0;
}

/* Steps */
.suite-steps {
  counter-reset: step;
  list-style: none;
  margin: 12px 0 16px;
}

.suite-steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 8px;
  background: #faf7f1;
  border: 1px solid #e5dccf;
  font-size: 14px;
}

.suite-steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: #0f766e;
  color: #fff;
  text-align: center;
  line-height: 26px;
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.suite-footer {
  margin-top: 48px;
  padding: 24px 40px;
  background: #e8e0d4;
  border-top: 1px solid #d6cbb8;
  font-size: 12px;
  color: #5c6b68;
  line-height: 1.8;
}

.suite-footer p {
  max-width: 980px;
  margin: 0 auto;
}

.suite-link-inline {
  font-weight: 700;
  text-decoration: underline;
}

/* Narrow: sidebar on top */
@media (max-width: 860px) {
  .suite-wrap {
    flex-direction: column;
  }

  .suite-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
  }

  .suite-nav {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
  }

  .suite-nav a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 10px;
  }

  .suite-nav a.active {
    border-left: none;
    border-bottom-color: #5eead4;
  }

  .suite-side-dl {
    margin-top: 0;
    width: 100%;
  }

  .suite-inner {
    padding: 24px 18px 0;
  }

  .suite-hero {
    flex-direction: column;
  }

  .suite-hero h1 {
    font-size: 22px;
  }

  .suite-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .suite-stats .suite-stat:last-child {
    grid-column: 1 / -1;
  }

  .suite-dl-grid,
  .suite-faq {
    grid-template-columns: 1fr;
  }

  .suite-compat-row {
    flex-direction: column;
  }

  .suite-compat-label {
    width: 100%;
  }

  .suite-footer {
    padding: 20px 18px;
  }
}

@media (max-width: 480px) {
  .suite-stats {
    grid-template-columns: 1fr;
  }

  .suite-stats .suite-stat:last-child {
    grid-column: auto;
  }
}
