:root {
  --p3-blue: #3b82f6;
  --p3-blue-dark: #2563eb;
  --p3-ink: #0f172a;
  --p3-text: #334155;
  --p3-muted: #64748b;
  --p3-line: #e8eef6;
  --p3-soft: #f3f7ff;
  --p3-mint: #e8f8ef;
  --p3-rose: #e11d48;
  --p3-max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f7f9ff;
  color: var(--p3-text);
  line-height: 1.7;
}
a { color: var(--p3-blue); text-decoration: none; }
a:hover { color: var(--p3-blue-dark); }
img { max-width: 100%; height: auto; display: block; }
.p3-skip { position: absolute; left: -9999px; }
.p3-skip:focus { left: 12px; top: 12px; z-index: 99; padding: 8px 12px; background: var(--p3-blue); color: #fff; }
.p3-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.p3-container { width: 100%; max-width: var(--p3-max); margin: 0 auto; padding: 0 24px; }
.p3-container--narrow { max-width: 760px; }
.p3-center { text-align: center; }

.p3-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,249,255,.92); backdrop-filter: blur(10px);
}
.p3-header__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; position: relative; }
.p3-nav { display: flex; gap: 4px; }
.p3-nav a { color: var(--p3-ink); font-size: 14px; font-weight: 600; padding: 8px 12px; }
.p3-search { margin-left: auto; display: flex; align-items: center; background: #fff; border: 1px solid var(--p3-line); border-radius: 999px; overflow: hidden; }
.p3-search input { border: 0; padding: 8px 12px; width: 140px; outline: none; background: transparent; }
.p3-search button { border: 0; background: none; padding: 8px 12px; cursor: pointer; color: var(--p3-blue); }
.p3-nav-toggle {
  display: none; margin-left: auto; flex-direction: column; gap: 5px;
  border: 0; background: none; padding: 8px; cursor: pointer;
}
.p3-nav-toggle span { width: 20px; height: 2px; background: var(--p3-blue); display: block; }

.p3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 12px; background: var(--p3-blue);
  color: #fff !important; font-weight: 700; border: 0;
  box-shadow: 0 10px 22px rgba(59,130,246,.25);
}
.p3-btn:hover { background: var(--p3-blue-dark); }
.p3-btn--sm { padding: 8px 16px; font-size: 14px; box-shadow: none; }

.p3-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 12% 18%, rgba(186,230,253,.55), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(221,214,254,.5), transparent 34%),
    linear-gradient(180deg, #eef6ff, #f7f9ff 72%);
}
.p3-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.p3-kicker {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px;
  background: #dbeafe; color: var(--p3-blue); border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.p3-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 46px); color: var(--p3-ink); line-height: 1.2; }
.p3-hero__tag { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--p3-blue); }
.p3-hero__lead { margin: 0 0 22px; max-width: 520px; color: var(--p3-muted); }

.p3-devices { position: relative; min-height: 240px; }
.p3-lap, .p3-tab, .p3-ph { background: #fff; box-shadow: 0 16px 36px rgba(15,23,42,.1); }
.p3-lap { width: 78%; height: 170px; border-radius: 14px; padding: 12px; margin-left: auto; }
.p3-lap b, .p3-tab b { display: block; height: 10px; background: #e2e8f0; border-radius: 6px; margin-bottom: 10px; }
.p3-lap i { display: block; height: 70px; background: linear-gradient(160deg, #93c5fd, #3b82f6); border-radius: 8px; }
.p3-tab { position: absolute; left: 8%; bottom: 18px; width: 38%; height: 110px; border-radius: 12px; padding: 10px; }
.p3-ph { position: absolute; right: 4%; bottom: 0; width: 72px; height: 128px; border-radius: 14px; padding: 8px; }
.p3-ph em { display: block; width: 24px; height: 6px; margin: 0 auto 8px; background: #cbd5e1; border-radius: 6px; }
.p3-ph p { height: 8px; background: #93c5fd; border-radius: 6px; margin: 0 0 8px; }

.p3-section { padding: 52px 0; }
.p3-section--soft { background: var(--p3-soft); }
.p3-head { text-align: center; margin-bottom: 28px; }
.p3-head h2, h2.p3-head { margin: 0; font-size: clamp(22px, 3vw, 30px); color: var(--p3-ink); }

.p3-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.p3-cards article {
  background: #fff; border-radius: 18px; padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.p3-cards h2, .p3-cards h3 { margin: 0 0 8px; font-size: 18px; color: var(--p3-ink); }
.p3-cards p { margin: 0 0 12px; font-size: 14px; color: var(--p3-muted); }
.p3-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p3-tags span {
  display: block; text-align: center; padding: 12px 8px; background: #fff;
  border-radius: 12px; font-weight: 700; color: var(--p3-ink); font-size: 14px;
}

.p3-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.p3-split--rev { direction: rtl; }
.p3-split--rev > * { direction: ltr; }
.p3-split h2 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 30px); color: var(--p3-ink); }
.p3-illus { min-height: 220px; border-radius: 24px; position: relative; overflow: hidden; }
.p3-illus--hands {
  background: linear-gradient(180deg, #dbeafe, #e0e7ff);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px;
}
.p3-illus--hands span { background: #fff; border-radius: 16px; box-shadow: 0 8px 18px rgba(15,23,42,.08); }
.p3-illus--hub {
  background: radial-gradient(circle at 50% 50%, #fff 0 28px, #dbeafe 29px 90px, #eef2ff 91px);
}

.p3-overlay {
  position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #60a5fa, #7c3aed);
  display: flex; align-items: flex-end;
}
.p3-overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p3-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,.72));
}
.p3-overlay strong {
  position: relative; z-index: 1; color: #fff; font-size: 18px; padding: 14px 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.p3-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p3-blog article {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.p3-blog article a { display: block; color: inherit; padding-bottom: 16px; }
.p3-blog article a:hover { color: inherit; }
.p3-blog time { display: block; margin: 10px 16px 0; font-size: 12px; color: var(--p3-muted); }
.p3-blog h2, .p3-blog h3 { margin: 6px 16px 0; font-size: 16px; color: var(--p3-ink); }
.p3-blog p {
  margin: 8px 16px 0; font-size: 13px; color: var(--p3-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.p3-more { text-align: center; margin: 24px 0 0; }

.p3-strip { background: var(--p3-mint); padding: 28px 0; }
.p3-strip__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; align-items: center; }
.p3-strip h2 { margin: 0; color: var(--p3-ink); font-size: 22px; }
.p3-strip p { margin: 0; color: var(--p3-muted); }

.p3-links { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; }
.p3-links a { color: var(--p3-muted); }

.p3-pagehead { padding: 40px 0 8px; text-align: center; }
.p3-pagehead h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); color: var(--p3-ink); }
.p3-pagehead p { margin: 8px 0 0; color: var(--p3-muted); }
.p3-crumb { font-size: 13px; color: var(--p3-muted); margin-bottom: 20px; }
.p3-crumb a { color: var(--p3-muted); }
.p3-crumb span { margin: 0 8px; }
.p3-crumb--light, .p3-crumb--light a { color: rgba(255,255,255,.86); }

.p3-post { padding-bottom: 8px; }
.p3-post__banner { margin-bottom: 20px; }
.p3-overlay--wide { aspect-ratio: 21 / 8; border-radius: 0; min-height: 220px; align-items: flex-end; }
.p3-overlay--wide .p3-container { position: relative; z-index: 1; padding-bottom: 28px; width: 100%; }
.p3-post__banner h1 { margin: 0; color: #fff; font-size: clamp(24px, 4vw, 36px); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.p3-post__meta { display: flex; gap: 16px; font-size: 13px; color: var(--p3-muted); margin: 0 0 16px; }
.p3-post__lead {
  margin: 0 0 22px; padding: 16px 18px; background: #fff; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15,23,42,.05); color: #334155;
}
.p3-post__body {
  background: #fff; border-radius: 16px; padding: 24px 26px;
  font-size: 16px; line-height: 1.95; color: #243044;
  box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.p3-post__body h2, .p3-post__body h3 { margin: 1.5em 0 .6em; color: var(--p3-ink); }
.p3-post__body p { margin: 0 0 1em; }
.p3-post__body img { border-radius: 12px; margin: 14px 0; }
.p3-post__source { margin-top: 18px; font-size: 13px; color: var(--p3-muted); word-break: break-all; }
.p3-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.p3-pn a { display: block; padding: 14px 16px; background: #fff; border-radius: 14px; color: inherit; }
.p3-pn em { display: block; font-style: normal; font-size: 12px; color: var(--p3-blue); }

.p3-pages { margin-top: 24px; text-align: center; }
.p3-pages a, .p3-pages span {
  display: inline-block; padding: 6px 12px; margin: 0 3px;
  background: #fff; border-radius: 999px; font-size: 14px; color: var(--p3-text);
}
.p3-empty { text-align: center; padding: 64px 16px; color: var(--p3-muted); }
.p3-empty h1 { margin: 0 0 10px; color: var(--p3-ink); }

.p3-footer { background: #fff; padding-top: 36px; }
.p3-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }
.p3-footer__title { margin: 0 0 12px; font-size: 15px; color: var(--p3-rose); }
.p3-footer a { display: block; color: var(--p3-muted); margin-bottom: 8px; font-size: 14px; }
.p3-footer a:hover { color: var(--p3-blue); }
.p3-footer p { margin: 0 0 12px; font-size: 14px; color: var(--p3-muted); }
.p3-footer__bottom { text-align: center; padding: 16px 24px; border-top: 1px solid var(--p3-line); font-size: 13px; color: var(--p3-muted); }
.p3-footer__bottom p { margin: 0 0 4px; }

@media (max-width: 960px) {
  .p3-hero__grid, .p3-cards, .p3-split, .p3-strip__inner, .p3-footer__grid { grid-template-columns: 1fr; }
  .p3-split--rev { direction: ltr; }
  .p3-blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .p3-nav-toggle { display: flex; }
  .p3-search { display: none; }
  .p3-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; background: #fff; padding: 8px 16px 16px;
  }
  .p3-nav.is-open { display: flex; }
  .p3-blog, .p3-tags, .p3-pn { grid-template-columns: 1fr; }
  .p3-overlay--wide { aspect-ratio: 16 / 10; }
}
