/* zh.wpsvue.com.cn — 套件深色顶栏 + 全宽色带交替 */
:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --band-a: #ffffff;
  --band-b: #f8fafc;
  --band-dark: #1e293b;
  --gold: #fbbf24;
  --btn: #d97706;
  --btn-hover: #b45309;
  --header: #1e293b;
  --soft: #fffbeb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--band-a);
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--btn);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--header);
  color: #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--gold);
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: #e2e8f0;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

.nav a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
}

.band {
  width: 100%;
  background: var(--band-a);
}

.band:nth-of-type(even) {
  background: var(--band-b);
}

.band.band-alt {
  background: var(--band-b);
}

.band.band-dark {
  background: var(--band-dark);
  color: #e2e8f0;
}

.band.band-dark h2,
.band.band-dark h3 {
  color: #f8fafc;
}

.band.band-dark p,
.band.band-dark li {
  color: #cbd5e1;
}

.band.band-dark a {
  color: var(--gold);
}

.hero {
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.35;
  font-weight: 750;
}

.hero h1 .underline {
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 0.75rem;
  background: var(--gold);
  border-radius: 2px;
}

.hero .lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.hero-visual {
  background: linear-gradient(145deg, #fff7ed 0%, #f1f5f9 55%, #e2e8f0 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.35rem;
  background: var(--btn);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  box-shadow: 0 2px 0 rgba(146, 64, 14, 0.35);
}

.gold-btn:hover {
  background: var(--btn-hover);
  text-decoration: none;
  color: #fff !important;
}

.gold-btn.secondary {
  background: transparent;
  color: var(--btn) !important;
  border: 2px solid var(--btn);
  box-shadow: none;
}

.gold-btn.secondary:hover {
  background: var(--soft);
}

.band h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  line-height: 1.4;
}

.band h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.4;
}

.band p {
  margin: 0 0 1rem;
}

.band p:last-child {
  margin-bottom: 0;
}

.news-first .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.news-first .news-list li {
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.news-first .news-list time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.quad article {
  padding: 1.15rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quad article svg {
  width: 36px;
  height: 36px;
  margin-bottom: 0.65rem;
}

.stack p + p {
  margin-top: 0.85rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--btn);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.req-table th,
.req-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.req-table th {
  background: #fff7ed;
  width: 28%;
  font-weight: 600;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
  border-bottom: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.faq-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
}

.band-dark .faq-grid details {
  background: #334155;
  border-color: #475569;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid details p {
  margin-top: 0.65rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.band-dark .faq-grid details p {
  color: #cbd5e1;
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.6rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer p {
  margin: 0 0 0.55rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.dl-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.dl-panel .gold-btn {
  width: 100%;
  text-align: center;
}

.note-box {
  margin-top: 1rem;
  padding: 0.9rem 1.05rem;
  background: var(--soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 160px;
  }

  .quad {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1.8rem;
  }

  .quad {
    grid-template-columns: 1fr;
  }

  .dl-panel {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .gold-btn {
    width: 100%;
  }

  .req-table,
  .req-table tbody,
  .req-table tr,
  .req-table th,
  .req-table td {
    display: block;
    width: 100%;
  }

  .req-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .req-table td {
    padding-top: 0.25rem;
  }

  .req-table tr {
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }
}
