/* WPS Office web landing — asymmetric bento */
:root {
  --bt-bg: #eef2ff;
  --bt-accent: #4338ca;
  --bt-text: #1e1b4b;
  --bt-amber: #d97706;
  --bt-white: #ffffff;
  --bt-radius: 18px;
  --bt-shadow: 0 10px 30px rgba(67, 56, 202, 0.12);
  --bt-font: "Segoe UI", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bt-font);
  background: var(--bt-bg);
  color: var(--bt-text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--bt-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bt-topbar {
  height: 4px;
  background: var(--bt-accent);
}

.bt-nav {
  background: var(--bt-white);
  border-bottom: 1px solid rgba(67, 56, 202, 0.1);
}

.bt-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bt-text);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.bt-brand:hover {
  text-decoration: none;
  color: var(--bt-accent);
}

.bt-brand svg {
  display: block;
  flex-shrink: 0;
}

.bt-menu {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bt-menu a {
  color: var(--bt-text);
  font-weight: 500;
  padding: 4px 2px;
}

.bt-menu a.is-current {
  color: var(--bt-accent);
  border-bottom: 2px solid var(--bt-accent);
  text-decoration: none;
}

.bt-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.bt-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bt-cell {
  background: var(--bt-white);
  border-radius: var(--bt-radius);
  box-shadow: var(--bt-shadow);
  padding: 22px 24px;
}

.bt-hero-title {
  grid-column: span 2;
}

.bt-hero-title h1 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--bt-text);
}

.bt-hero-title p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(30, 27, 75, 0.88);
}

.bt-dl-panel {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, #ffffff 0%, #e0e7ff 100%);
  border: 1px solid rgba(67, 56, 202, 0.18);
}

.bt-dl-panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

.bt-dl-panel p {
  margin: 0;
  font-size: 0.92rem;
}

.bt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}

.bt-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.1);
  color: var(--bt-accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--bt-accent);
  color: #fff !important;
  font-weight: 650;
  text-decoration: none !important;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.bt-btn:hover {
  background: #3730a3;
  transform: translateY(-1px);
}

.bt-btn-ghost {
  background: transparent;
  color: var(--bt-accent) !important;
  border: 1.5px solid var(--bt-accent);
}

.bt-btn-ghost:hover {
  background: rgba(67, 56, 202, 0.08);
}

.bt-btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bt-span-2 {
  grid-column: span 2;
}

.bt-span-1 {
  grid-column: span 1;
}

.bt-span-3 {
  grid-column: span 3;
}

.bt-cell h2 {
  margin: 0 0 14px;
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--bt-text);
  font-weight: 700;
}

.bt-cell h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--bt-text);
}

.bt-cell p {
  margin: 0 0 12px;
}

.bt-cell ul,
.bt-cell ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.bt-cell li {
  margin-bottom: 6px;
}

.bt-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.bt-news-list li {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(67, 56, 202, 0.1);
}

.bt-news-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bt-news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--bt-amber);
  font-weight: 600;
  margin-bottom: 4px;
}

.bt-faq details,
.bt-faq-item {
  margin-bottom: 4px;
}

.bt-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.bt-compare th,
.bt-compare td {
  border: 1px solid rgba(67, 56, 202, 0.15);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.bt-compare th {
  background: rgba(67, 56, 202, 0.08);
  font-weight: 650;
}

.bt-footer {
  background: var(--bt-white);
  border-top: 1px solid rgba(67, 56, 202, 0.12);
  padding: 28px 20px 36px;
  text-align: center;
}

.bt-footer p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: rgba(30, 27, 75, 0.85);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.bt-footer .bt-safe {
  color: var(--bt-accent);
  font-weight: 600;
}

@media (max-width: 860px) {
  .bt-bento {
    grid-template-columns: 1fr;
  }

  .bt-hero-title,
  .bt-dl-panel,
  .bt-span-1,
  .bt-span-2,
  .bt-span-3 {
    grid-column: span 1;
  }
}
