/* WPS Office 落地站 - wpsdataa.com.cn */
:root {
  --ed-bg: #f3efe6;
  --ed-text: #1e2430;
  --ed-accent: #0b5fff;
  --ed-gold: #c4841d;
  --ed-white: #ffffff;
  --ed-line: #d9d2c4;
  --ed-muted: #5a6270;
  --ed-max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--ed-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.ed-wrap {
  width: 100%;
  max-width: var(--ed-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.ed-header {
  background: var(--ed-bg);
  border-bottom: 3px solid var(--ed-gold);
}

.ed-header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ed-text);
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.ed-brand:hover {
  text-decoration: none;
  color: var(--ed-accent);
}

.ed-brand-svg {
  display: block;
  flex-shrink: 0;
}

.ed-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-nav a {
  color: var(--ed-text);
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.ed-nav a.is-current {
  color: var(--ed-accent);
  border-bottom-color: var(--ed-gold);
  font-weight: 600;
}

.ed-nav a:hover {
  color: var(--ed-accent);
  text-decoration: none;
}

/* Hero */
.ed-hero {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 28px;
  padding: 42px 0 36px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-hero-main {
  width: 62%;
  flex: 0 0 62%;
}

.ed-hero-aside {
  width: 38%;
  flex: 0 0 38%;
}

.ed-hero h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.85rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ed-text);
}

.ed-lead {
  margin: 0 0 18px;
  color: var(--ed-muted);
  font-size: 1.02rem;
}

.ed-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--ed-gold);
  border-radius: 2px;
  color: var(--ed-text);
  font-size: 0.9rem;
  background: transparent;
}

.ed-dl-panel {
  background: var(--ed-white);
  border: 1px solid var(--ed-line);
  border-radius: 2px;
  padding: 22px 20px;
  height: 100%;
}

.ed-dl-panel h2,
.ed-dl-panel .ed-panel-title {
  margin: 0 0 12px;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.ed-dl-panel p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ed-muted);
}

.ed-btn-win {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--ed-accent);
  color: var(--ed-white);
  padding: 12px 16px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 14px;
}

.ed-btn-win:hover {
  text-decoration: none;
  opacity: 0.92;
  color: var(--ed-white);
}

.ed-btn-secondary {
  display: inline-block;
  background: var(--ed-accent);
  color: var(--ed-white);
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 600;
}

.ed-btn-secondary:hover {
  text-decoration: none;
  color: var(--ed-white);
  opacity: 0.92;
}

.ed-platform-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-platform-links li {
  margin: 0 0 8px;
  padding: 0;
  border-top: 1px solid var(--ed-line);
  padding-top: 8px;
}

.ed-platform-links li:first-child {
  border-top: none;
  padding-top: 0;
}

.ed-platform-links a {
  font-size: 0.95rem;
}

.ed-platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ed-platform-row a {
  border-bottom: 1px solid var(--ed-accent);
}

/* Sections */
.ed-section {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-section-num {
  flex: 0 0 52px;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ed-gold);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ed-section-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ed-section-body > h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 700;
}

.ed-section-body > h3,
.ed-faq-item > h3,
.ed-news-item > h3 {
  margin: 18px 0 8px;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
}

.ed-section-body p {
  margin: 0 0 12px;
}

.ed-section-body ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.ed-section-body li {
  margin-bottom: 6px;
}

/* Table */
.ed-table-wrap {
  overflow-x: auto;
  margin: 14px 0 8px;
}

.ed-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ed-line);
  background: var(--ed-white);
  font-size: 0.95rem;
}

.ed-table th,
.ed-table td {
  border: 1px solid var(--ed-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.ed-table th {
  background: #ebe6da;
  font-weight: 600;
  font-family: Georgia, "Palatino Linotype", "Songti SC", SimSun, serif;
}

/* News */
.ed-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-news-item {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-news-item:last-child {
  border-bottom: none;
}

.ed-news-date {
  flex: 0 0 96px;
  color: var(--ed-gold);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
  padding-top: 2px;
}

.ed-news-content {
  flex: 1 1 auto;
  min-width: 0;
}

.ed-news-content h3 {
  margin: 0 0 6px;
}

.ed-news-content p {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.95rem;
}

/* FAQ */
.ed-faq-item {
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-faq-item:last-child {
  border-bottom: none;
}

.ed-faq-item h3 {
  margin-top: 0;
  color: var(--ed-text);
}

.ed-faq-item p {
  margin: 0;
  color: var(--ed-muted);
}

/* CTA band */
.ed-cta-band {
  padding: 28px 0 8px;
}

.ed-cta-band p {
  margin: 0 0 14px;
}

/* Footer */
.ed-footer {
  margin-top: 28px;
  padding: 28px 0 40px;
  border-top: 3px solid var(--ed-gold);
  background: var(--ed-bg);
  font-size: 0.9rem;
  color: var(--ed-muted);
}

.ed-footer p {
  margin: 0 0 8px;
}

.ed-footer a {
  color: var(--ed-accent);
}

/* Utility */
.ed-note {
  color: var(--ed-muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .ed-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ed-hero {
    flex-direction: column;
  }

  .ed-hero-main,
  .ed-hero-aside {
    width: 100%;
    flex: 1 1 auto;
  }

  .ed-hero h1 {
    font-size: 1.5rem;
  }

  .ed-section {
    gap: 12px;
  }

  .ed-section-num {
    flex: 0 0 40px;
    font-size: 1.3rem;
  }

  .ed-news-item {
    flex-direction: column;
    gap: 4px;
  }

  .ed-news-date {
    flex: none;
  }
}
