body[data-page="platform"] {
  --p-ink: #080a0f;
  --p-muted: #767880;
  --p-canvas: #f5f6f7;
  --p-card: #eaeaec;
  --p-accent: #27bdb4;
  background: var(--p-canvas);
  color: var(--p-ink);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body[data-page="platform"] .site-footer {
  margin-top: 0;
}

.p-wrap {
  width: min(calc(100% - 48px), 1090px);
  margin-inline: auto;
}

.p-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #252726;
  color: #fff;
}

.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(2, 9, 15, 0.56) 0%, rgba(2, 9, 15, 0.38) 34%, rgba(2, 9, 15, 0.12) 66%),
    linear-gradient(90deg, rgba(2, 9, 15, 0.46) 0%, rgba(2, 9, 15, 0.22) 50%, rgba(2, 9, 15, 0.46) 100%);
  pointer-events: none;
}

.p-hero > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-hero > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.04);
}

.p-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  text-align: center;
}

.p-hero-copy h1,
.p-hero-copy p,
.p-intro h2,
.p-promise h3,
.p-proof h2,
.p-support h2,
.p-life h2,
.p-proof-grid h3,
.p-support-grid h3,
.p-life-tabs h3 {
  letter-spacing: 0;
}

.p-hero-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
}

.p-hero-copy p {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.p-section,
.p-promises {
  background: var(--p-canvas);
}

.p-intro {
  padding-top: 96px;
  padding-bottom: 48px;
}

.p-intro h2,
.p-proof h2,
.p-support h2,
.p-life h2 {
  margin: 0;
  color: var(--p-ink);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

.p-promise-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.p-promise {
  display: grid;
  grid-template-columns: 545px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.p-promise.is-reverse .p-promise-media {
  order: 2;
}

.p-promise > div {
  min-width: 0;
}

.p-promise-media {
  width: 100%;
  aspect-ratio: 545 / 467;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e4e7e8;
}

.p-promise-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-promise-media.is-platform img {
  object-position: 50% 50%;
}

.p-promise-media.is-growth img {
  object-position: 51% 43%;
}

.p-promise-media.is-reward img {
  object-position: 50% 50%;
}

.p-promise-media.is-impact img {
  object-position: 50% 46%;
}

.p-promise-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 1px 7px;
  border: 1.5px solid #058bb3;
  border-radius: 999px;
  color: #047794;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.p-promise h3 {
  margin: 16px 0 0;
  color: var(--p-ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

.p-promise-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.p-promise-copy p {
  margin: 0;
  color: var(--p-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.p-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.p-metrics > div {
  min-width: 0;
}

.p-metrics strong {
  display: block;
  color: var(--p-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.p-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--p-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.p-proof,
.p-support,
.p-life {
  padding-top: 80px;
}

.p-proof-head p {
  max-width: 1020px;
  margin: 8px 0 0;
  color: var(--p-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.p-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.p-proof-grid article,
.p-support-grid article {
  min-width: 0;
  min-height: 208px;
  padding: 24px;
  border-radius: 12px;
  background: var(--p-card);
}

.p-proof-grid article {
  display: flex;
  flex-direction: column;
}

.p-proof-grid article::before {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(39, 189, 180, 0.14);
  color: #087f78;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.p-proof-grid article:nth-child(1)::before { content: "01"; }
.p-proof-grid article:nth-child(2)::before { content: "02"; }
.p-proof-grid article:nth-child(3)::before { content: "03"; }
.p-proof-grid article:nth-child(4)::before { content: "04"; }

.p-proof-grid strong {
  display: block;
  margin-top: 24px;
  color: var(--p-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.p-proof-grid h3 {
  margin: 6px 0 0;
  color: var(--p-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.p-proof-grid p {
  margin: 6px 0 0;
  color: var(--p-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.p-policy-note {
  margin: 16px 0 0;
  color: var(--p-muted);
  font-size: 13px;
  line-height: 1.5;
}

.p-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.p-support-grid article {
  display: flex;
  flex-direction: column;
}

.p-support-grid span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(39, 189, 180, 0.14);
  color: #087f78;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.p-support-grid h3 {
  margin: 24px 0 0;
  color: var(--p-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.p-support-grid p {
  margin: 10px 0 0;
  color: #3f4248;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.p-life {
  padding-bottom: 128px;
}

.p-life-switcher {
  display: grid;
  grid-template-columns: 545px minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
  margin-top: 24px;
}

.p-life-visual {
  height: 480px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e2e5e6;
}

.p-life-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms ease-out;
}

.p-life-tabs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-life-tabs button {
  width: 100%;
  padding: 16px 0 16px 24px;
  border: 0;
  border-left: 2px solid #dde0e2;
  background: transparent;
  color: #5f6269;
  text-align: left;
  cursor: pointer;
}

.p-life-tabs button[aria-selected="true"] {
  border-left-color: var(--p-ink);
  color: var(--p-ink);
}

.p-life-tabs h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.p-life-tabs p {
  display: none;
  margin: 8px 0 0;
  color: #4f5359;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.p-life-tabs button[aria-selected="true"] p {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .p-life-tabs button:hover {
    color: var(--p-ink);
  }
}

@media (max-width: 1319px) {
  .p-wrap {
    width: min(calc(100% - 48px), 920px);
  }

  .p-promise {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .p-promise > div,
  .p-promise.is-reverse > div {
    order: 1;
  }

  .p-promise .p-promise-media,
  .p-promise.is-reverse .p-promise-media {
    order: 2;
    aspect-ratio: 16 / 9;
  }

  .p-promise-list {
    gap: 96px;
  }

  .p-life-switcher {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .p-hero-copy h1 {
    font-size: 36px;
  }

  .p-intro h2,
  .p-proof h2,
  .p-support h2,
  .p-life h2 {
    font-size: 34px;
  }

  .p-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-support-grid {
    grid-template-columns: 1fr;
  }

  .p-support-grid article {
    min-height: 0;
  }

  .p-life-switcher {
    grid-template-columns: 1fr;
  }

  .p-life-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .p-wrap {
    width: min(calc(100% - 32px), 1090px);
  }

  .p-hero {
    height: 480px;
  }

  .p-hero > picture img {
    object-position: center center;
  }

  .p-hero-copy {
    justify-content: center;
    padding-bottom: 0;
  }

  .p-hero-copy h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .p-hero-copy p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .p-intro,
  .p-proof,
  .p-support,
  .p-life {
    padding-top: 64px;
  }

  .p-intro {
    padding-bottom: 36px;
  }

  .p-intro h2,
  .p-proof h2,
  .p-support h2,
  .p-life h2 {
    font-size: 30px;
    line-height: 1.35;
  }

  .p-promise-list {
    gap: 72px;
  }

  .p-promise {
    gap: 24px;
  }

  .p-promise h3 {
    font-size: 27px;
    line-height: 1.35;
  }

  .p-promise-copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  .p-metrics {
    gap: 12px;
  }

  .p-metrics strong {
    font-size: 22px;
    white-space: normal;
  }

  .p-metrics span {
    font-size: 12px;
  }

  .p-proof-grid {
    grid-template-columns: 1fr;
  }

  .p-proof-grid article,
  .p-support-grid article {
    min-height: 0;
    padding: 20px;
  }

  .p-life-tabs button {
    padding-left: 18px;
  }

  .p-life-tabs h3 {
    font-size: 18px;
  }

  .p-life {
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-life-visual img {
    transition: none;
  }
}
