
:root {
  --p8-bg: #f7f9fc;
  --p8-card: #ffffff;
  --p8-text: #1a2332;
  --p8-muted: #6b7280;
  --p8-line: #e6ebf2;
  --p8-blue: #2b5aed;
  --p8-blue-dark: #1e46c9;
  --p8-black: #111111;
  --p8-wrap: 1080px;
  --p8-radius: 10px;
  --p8-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--p8-font);
  color: var(--p8-text);
  background: var(--p8-bg);
  line-height: 1.65;
}

a {
  color: var(--p8-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.wrap {
  width: min(100% - 28px, var(--p8-wrap));
  margin-inline: auto;
}


.p8-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--p8-card);
  border-bottom: 1px solid var(--p8-line);
}

.p8-top-inner {
  display: flex;
  align-items: stretch;
  min-height: 56px;
  gap: 12px;
}

.p8-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--p8-text);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 0;
}

.p8-brand:hover {
  text-decoration: none;
  color: var(--p8-blue);
}

.p8-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.p8-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.p8-nav li {
  flex: 1 1 0;
  min-width: 0;
}

.p8-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--p8-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.p8-nav a:hover,
.p8-nav a.is-active {
  background: var(--p8-blue-dark);
  text-decoration: none;
}

.p8-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  max-width: 420px;
  padding: 0 16px;
  background: var(--p8-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
}

.p8-cta:hover {
  background: var(--p8-blue-dark);
}

.p8-search {
  background: #eef3ff;
  border-bottom: 1px solid var(--p8-line);
  padding: 8px 0;
}

.scout-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scout-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scout-category {
  border: 1px solid var(--p8-line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.scout-category.scout-selected {
  border-color: var(--p8-blue);
  color: var(--p8-blue);
}

.scout-form {
  display: flex;
  gap: 8px;
}

.scout-query {
  flex: 1;
  height: 36px;
  border: 1px solid var(--p8-line);
  border-radius: 8px;
  padding: 0 12px;
}

.scout-button {
  height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--p8-blue);
  color: #fff;
  cursor: pointer;
}


.p8-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
  background:
    radial-gradient(circle at 15% 20%, rgba(43, 90, 237, 0.12), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(43, 90, 237, 0.08), transparent 35%),
    #fff;
}

.p8-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.p8-hero-visual {
  order: 2;
  text-align: center;
}

.p8-hero-visual img {
  width: min(100%, 420px);
}

.p8-hero-copy {
  order: 1;
}

.p8-hero-kicker {
  margin: 0 0 8px;
  color: var(--p8-muted);
  font-size: 18px;
}

.p8-hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}

.p8-hero-title em {
  font-style: normal;
  color: var(--p8-blue);
}

.p8-hero-tagline {
  margin: 0 0 12px;
  color: var(--p8-blue);
  font-size: 16px;
  font-weight: 600;
}

.p8-hero-des {
  margin: 0 0 20px;
  color: var(--p8-muted);
  font-size: 15px;
}

.p8-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
}

.p8-btn--primary {
  background: var(--p8-blue);
  color: #fff;
}

.p8-btn--ghost {
  background: #fff;
  color: var(--p8-blue);
  border: 1px solid rgba(43, 90, 237, 0.35);
}


.p8-dl {
  padding: 48px 0 32px;
  background: #fff;
  text-align: center;
}

.p8-dl h1 {
  margin: 0 auto 12px;
  max-width: 720px;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.35;
}

.p8-dl .p8-sub {
  margin: 0 auto 28px;
  max-width: 640px;
  color: var(--p8-muted);
}

.p8-store-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 36px;
}

.p8-store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 320px);
  min-height: 56px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--p8-black);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}

.p8-store img {
  width: 22px;
  height: 22px;
}

.p8-phone {
  width: min(100%, 280px);
  margin: 0 auto;
}

.p8-note {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--p8-muted);
  font-size: 13px;
}


.p8-section {
  padding: 28px 0 48px;
}

.p8-section h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.p8-section h3 {
  margin: 24px 0 12px;
  font-size: 18px;
}

.p8-section > p {
  color: var(--p8-muted);
  margin: 0 0 16px;
}

.p8-note {
  margin: 16px 0 0;
  color: var(--p8-muted);
  font-size: 13px;
}

.p8-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 8px;
}

.p8-feature-grid.is-2col {
  grid-template-columns: repeat(2, 1fr);
}

.p8-feature-card {
  padding: 18px;
  background: var(--p8-card);
  border: 1px solid var(--p8-line);
  border-radius: var(--p8-radius);
}

.p8-feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.p8-feature-card p {
  margin: 0;
  color: var(--p8-muted);
  font-size: 14px;
}

.p8-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--p8-muted);
}

.p8-steps li {
  margin-bottom: 8px;
}

.p8-news-list {
  display: grid;
  gap: 14px;
}

.p8-news-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--p8-card);
  border: 1px solid var(--p8-line);
  border-radius: var(--p8-radius);
}

.p8-news-card img {
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  background: #e8eefc;
}

.p8-news-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.p8-news-card h3 a {
  color: var(--p8-text);
  text-decoration: none;
}

.p8-news-card h3 a:hover {
  color: var(--p8-blue);
}

.p8-news-meta {
  margin: 0 0 6px;
  color: var(--p8-muted);
  font-size: 12px;
}

.p8-news-card p {
  margin: 0;
  color: var(--p8-muted);
  font-size: 13px;
}


.p8-tag-hero {
  padding: 28px 0 8px;
}

.p8-tag-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.p8-tag-hero p {
  margin: 0 0 16px;
  color: var(--p8-muted);
}


.site-footer {
  margin-top: 24px;
  padding: 24px 0;
  background: #111827;
  color: #d1d5db;
}

.site-footer a {
  color: #93c5fd;
}

.footer-d3 {
  margin-bottom: 12px;
}

.footer-d3 a {
  margin-right: 12px;
  font-size: 13px;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.footer-copy a {
  color: #93c5fd;
}

.hottag-box {
  padding: 16px 0 0;
}

.hottag-box a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--p8-blue);
  font-size: 12px;
}


.hottag {
  width: min(100% - 28px, var(--p8-wrap));
  margin: 20px auto 0;
  padding: 16px;
  background: var(--p8-card);
  border: 1px solid var(--p8-line);
  border-radius: var(--p8-radius);
}

.hottag-title h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--p8-text);
}

.hottagmain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.hottagmain a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--p8-blue);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  word-break: break-word;
}

.hottagmain a:hover {
  background: #dbe6ff;
  text-decoration: none;
}

.pc-soft404 {
  max-width: 640px;
  margin: 12vh auto 0;
  padding: 24px 20px;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.pc-soft404-code {
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  color: #9ca3af;
}

.pc-soft404-title {
  margin: 16px 0 8px;
  font-size: 28px;
}

.pc-soft404-msg {
  margin: 0 0 20px;
  color: #6b7280;
}

.pc-soft404-kw,
.pc-soft404-des {
  margin: 8px 0 0;
  font-size: 14px;
  word-break: break-word;
}

@media (max-width: 640px) {
  .p8-feature-grid,
  .p8-feature-grid.is-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .dl-link--desktop {
    display: none;
  }

  .p8-top-inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .p8-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin: 0;
    gap: 6px;
  }

  .p8-nav a {
    font-size: 12px;
    height: 32px;
    padding: 0 4px;
  }

  .p8-cta {
    max-width: none;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .p8-hero-grid {
    grid-template-columns: 1fr;
  }

  .p8-hero-visual {
    order: 1;
  }

  .p8-hero-copy {
    order: 2;
    text-align: center;
  }

  .p8-btn-row {
    justify-content: center;
  }

  .p8-news-card {
    grid-template-columns: 96px 1fr;
  }

  .p8-news-card img {
    width: 96px;
    height: 72px;
  }
}
