/* WPS Office app subdomain — phone product column */
:root {
  --ph-bg: #fff7ed;
  --ph-accent: #c2410c;
  --ph-text: #1c1917;
  --ph-muted: #57534e;
  --ph-line: #fed7aa;
  --ph-max: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ph-text);
  background: var(--ph-bg);
}

a {
  color: var(--ph-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

.ph-wrap {
  width: 100%;
  max-width: var(--ph-max);
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* Header: brand above, nav below, centered stack */
.ph-header {
  text-align: center;
  padding: 20px 0 12px;
  border-bottom: 1px solid var(--ph-line);
}

.ph-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ph-text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.ph-brand:hover {
  text-decoration: none;
  color: var(--ph-accent);
}

.ph-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.ph-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.ph-nav a {
  color: var(--ph-muted);
  font-size: 0.95rem;
  padding: 4px 2px;
}

.ph-nav a.is-current {
  color: var(--ph-accent);
  font-weight: 700;
  border-bottom: 2px solid var(--ph-accent);
  text-decoration: none;
}

/* Hero */
.ph-hero {
  text-align: center;
  padding: 28px 0 8px;
}

.ph-hero h1 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ph-text);
}

.ph-lead {
  margin: 0 0 20px;
  color: var(--ph-muted);
  font-size: 0.98rem;
  text-align: center;
}

.ph-btn-win {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--ph-accent);
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  border: none;
}

.ph-btn-win:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}

.ph-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin: 14px 0 8px;
  font-size: 0.9rem;
}

.ph-links-row a {
  color: var(--ph-accent);
}

/* Sections */
.ph-section {
  padding: 28px 0 8px;
  border-top: 1px solid var(--ph-line);
}

.ph-section h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ph-text);
  text-align: left;
}

.ph-section p {
  margin: 0 0 12px;
  color: var(--ph-text);
}

.ph-section ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.ph-section li {
  margin-bottom: 6px;
}

/* Feature rows: SVG left, text right, thin divider */
.ph-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ph-line);
}

.ph-feature:last-child {
  border-bottom: none;
}

.ph-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--ph-accent);
}

.ph-feature-icon svg {
  width: 40px;
  height: 40px;
}

.ph-feature-body h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
}

.ph-feature-body p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.95rem;
}

/* Timeline install steps */
.ph-timeline {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--ph-accent);
}

.ph-timeline li {
  position: relative;
  padding: 0 0 18px 18px;
  margin: 0;
}

.ph-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ph-accent);
}

.ph-timeline strong {
  display: block;
  margin-bottom: 4px;
}

.ph-timeline p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.95rem;
}

/* News */
.ph-news-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--ph-line);
}

.ph-news-item:last-child {
  border-bottom: none;
}

.ph-news-item time {
  display: block;
  font-size: 0.85rem;
  color: var(--ph-muted);
  margin-bottom: 4px;
}

.ph-news-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.ph-news-item p {
  margin: 0;
  color: var(--ph-muted);
  font-size: 0.95rem;
}

/* FAQ */
.ph-faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--ph-line);
}

.ph-faq-item:last-child {
  border-bottom: none;
}

.ph-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.ph-faq-item p {
  margin: 0;
  color: var(--ph-muted);
}

/* Compare / table-like list */
.ph-compare {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-compare li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ph-line);
}

.ph-compare li:last-child {
  border-bottom: none;
}

.ph-compare strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ph-accent);
}

/* Footer */
.ph-footer {
  margin-top: 36px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--ph-line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--ph-muted);
  line-height: 1.65;
}

.ph-footer p {
  margin: 0 0 10px;
}

.ph-safe {
  color: var(--ph-text);
  font-weight: 600;
}

@media (max-width: 420px) {
  .ph-hero h1 {
    font-size: 1.28rem;
  }

  .ph-section h2 {
    font-size: 1.1rem;
  }
}
