.p87-page {
  --p87-red: #bd2031;
  --p87-ink: #222831;
  --p87-muted: #525d6b;
  color: var(--p87-ink);
  background: #fff;
}
main.p87-page {
  padding-top: 84px;
}
.p87-page *,
.p87-page *::before,
.p87-page *::after {
  box-sizing: border-box;
}
.p87-page .container {
  width: min(1360px, calc(100% - 96px));
  margin-inline: auto;
}
.p87-page h1,
.p87-page h2,
.p87-page h3,
.p87-page p {
  margin: 0;
}
.p87-page h1,
.p87-page h2,
.p87-page h3 {
  color: var(--p87-ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.p87-page h1 {
  font-size: clamp(38px, 4.3vw, 66px);
  line-height: 1.25;
  font-weight: 650;
}
.p87-page h1 em {
  color: var(--p87-red);
  font-style: normal;
}
.p87-page h2 {
  font-size: clamp(29px, 2.8vw, 42px);
  line-height: 1.35;
  font-weight: 650;
}
.p87-page h3 {
  font-size: 23px;
  line-height: 1.45;
  font-weight: 650;
}
.p87-page p,
.p87-page li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--p87-muted);
}
.p87-page .p87-kicker {
  display: block;
  color: var(--p87-red);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 650;
  margin-bottom: 18px;
}
.p87-hero {
  padding: 30px 0 80px;
  background:
    radial-gradient(ellipse at 85% 50%, #f7e8ea 0, transparent 58%),
    linear-gradient(135deg, #fff, #f4f5f7);
}
.p87-page .breadcrumb {
  margin: 0 0 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #59626f;
}
.p87-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.p87-hero-grid > *,
.p87-grid > *,
.p87-panel > * {
  min-width: 0;
}
.p87-page .p87-lead {
  margin: 24px 0 30px;
  max-width: 570px;
  font-size: 18px;
}
.p87-architecture {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e1dadd;
  border-radius: 16px;
  box-shadow: 0 24px 64px #44212a0b;
}
.p87-art-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 26px;
}
.p87-art-label strong {
  font-size: 18px;
}
.p87-art-label > span {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #707581;
}
.p87-services,
.p87-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.p87-services > div,
.p87-nodes > span {
  text-align: center;
  padding: 16px 6px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #f7f8fa;
}
.p87-services b {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.p87-services span {
  display: block;
  font-size: 11px;
  color: #5b6470;
  margin-top: 6px;
}
.p87-bus {
  position: relative;
  width: 72%;
  height: 35px;
  margin: 0 auto;
  border-left: 1px solid #dbc5ca;
  border-right: 1px solid #dbc5ca;
  background: linear-gradient(#dbc5ca, #dbc5ca) center/1px 100% no-repeat;
  overflow: hidden;
}
.p87-bus::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  border-left: 3px solid #c83547;
  border-right: 3px solid #c83547;
  background: linear-gradient(#c83547, #c83547) center/3px 100% no-repeat;
  animation: p87-flow 2.8s linear infinite;
  animation-play-state: paused;
}
.p87-architecture.is-active .p87-bus::after {
  animation-play-state: running;
}
.p87-hub {
  padding: 20px 12px;
  text-align: center;
  border-radius: 9px;
  border: 1px solid #d9aab2;
  background: linear-gradient(115deg, #fff6f7, #f2f3f6);
}
.p87-hub > span {
  font-size: 21px;
  font-weight: 650;
  color: #9f2030;
}
.p87-hub small {
  display: block;
  margin-top: 7px;
  color: #5c4e54;
  font-size: 12px;
}
.p87-nodes > span {
  font-size: 13px;
  background: #fff;
}
.p87-page .p87-caption {
  margin: 20px 0 0;
  color: #6a717b;
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}
.p87-nav {
  border-block: 1px solid #e3e6ea;
  background: #fff;
}
.p87-nav > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}
.p87-nav strong {
  font-size: 17px;
  flex-shrink: 0;
}
.p87-nav .container > div {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.p87-nav a {
  flex-shrink: 0;
  display: block;
  padding: 23px 0;
  color: #4d5663;
  font-size: 14px;
  text-decoration: none;
}
.p87-nav a:hover {
  color: var(--p87-red);
}
.p87-section {
  padding: 90px 0;
  scroll-margin-top: 110px;
}
.p87-tint {
  background: #f5f6f8;
}
.p87-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}
.p87-heading > p {
  max-width: 520px;
}
.p87-grid {
  display: grid;
  gap: 22px;
}
.p87-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.p87-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.p87-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.p87-card {
  border: 1px solid #dfe3e8;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.p87-card:hover {
  border-color: #d4a4ac;
  box-shadow: 0 8px 26px #3b182208;
}
.p87-card h3 {
  margin-bottom: 12px;
}
.p87-card ul {
  padding: 18px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid #e9ebee;
  list-style: none;
}
.p87-card ul:empty {
  display: none;
}
.p87-card li {
  padding-left: 16px;
  position: relative;
  font-size: 15px;
  margin-top: 7px;
}
.p87-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b22b3a;
}
.p87-page .p87-footnote {
  margin-top: 24px;
  font-size: 13px;
}
.p87-explorer {
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fb;
}
.p87-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #e0e4ea;
}
.p87-tabs button {
  flex: 1;
  padding: 22px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #58616d;
  cursor: pointer;
}
.p87-tabs button[aria-selected="true"] {
  border-bottom-color: var(--p87-red);
  color: #a62231;
  background: #fff5f6;
}
.p87-page :focus-visible {
  outline: 2px solid #aa2636;
  outline-offset: 4px;
}
.p87-tabs button:focus-visible {
  outline-offset: -5px;
}
.p87-panel {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.p87-panel[hidden] {
  display: none !important;
}
.p87-panel h3 {
  font-size: 28px;
  margin-bottom: 18px;
}
.p87-flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.p87-flow li {
  position: relative;
  padding: 16px 20px 16px 60px;
  border: 1px solid #e1dce0;
  border-radius: 8px;
  background: #fff;
  counter-increment: flow;
}
.p87-flow li::before {
  content: "0" counter(flow);
  position: absolute;
  left: 20px;
  top: 17px;
  color: var(--p87-red);
  font-size: 14px;
  font-weight: 600;
}
.p87-flow strong {
  display: block;
  color: var(--p87-ink);
  font-size: 16px;
}
.p87-flow span {
  display: block;
  font-size: 13px;
  color: #59616d;
}
.p87-explorer > .p87-caption {
  margin: 0;
  padding: 0 24px 24px;
}
.p87-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.p87-checklist > div {
  border-top: 2px solid #bd2031;
  padding-top: 22px;
}
.p87-checklist b {
  font-size: 21px;
}
.p87-checklist p {
  margin-top: 12px;
}
.p87-faq {
  border-top: 1px solid #dfe3e8;
  border-bottom: 1px solid #dfe3e8;
  padding: 22px 0;
}
.p87-faq + .p87-faq {
  border-top: 0;
}
.p87-faq summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.p87-faq p {
  margin: 18px 0 0;
  max-width: 960px;
}
.p87-cta {
  background: linear-gradient(110deg, #f9edef, #f2f4f7);
}
.p87-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.p87-cta p:not(.p87-kicker) {
  margin-top: 18px;
}
.p87-cta .button {
  flex-shrink: 0;
}
@keyframes p87-flow {
  to {
    transform: translateY(46px);
  }
}
@media (max-width: 1100px) {
  .p87-page .container {
    width: calc(100% - 64px);
  }
  .p87-architecture {
    padding: 22px;
  }
  .p87-hero-grid {
    gap: 32px;
  }
  .p87-card {
    padding: 24px;
  }
  .p87-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p87-nav .container > div {
    gap: 20px;
  }
  .p87-panel {
    padding: 34px;
    gap: 32px;
  }
}
@media (max-width: 800px) {
  main.p87-page {
    padding-top: 72px;
  }
  .p87-page .container {
    width: calc(100% - 40px);
  }
  .p87-hero {
    padding-bottom: 52px;
  }
  .p87-page .breadcrumb {
    margin-bottom: 32px;
  }
  .p87-hero-grid,
  .p87-heading {
    grid-template-columns: 1fr;
  }
  .p87-hero-grid {
    gap: 38px;
  }
  .p87-hero-grid h1 {
    font-size: clamp(38px, 6.8vw, 56px);
  }
  .p87-architecture {
    width: 100%;
    max-width: 640px;
  }
  .p87-section {
    padding: 60px 0;
  }
  .p87-heading {
    gap: 20px;
    margin-bottom: 30px;
  }
  .p87-three {
    grid-template-columns: 1fr;
  }
  .p87-nav strong {
    display: none;
  }
  .p87-nav .container > div {
    width: 100%;
    gap: 25px;
  }
  .p87-nav a {
    padding-block: 18px;
  }
  .p87-nav > .container {
    min-height: 60px;
  }
  .p87-panel {
    grid-template-columns: 1fr;
  }
  .p87-checklist {
    gap: 22px;
  }
  .p87-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .p87-two,
  .p87-four,
  .p87-checklist {
    grid-template-columns: 1fr;
  }
  .p87-page p {
    font-size: 16px;
  }
  .p87-page .p87-lead {
    font-size: 17px;
  }
  .p87-architecture {
    padding: 20px 14px;
  }
  .p87-services,
  .p87-nodes {
    gap: 6px;
  }
  .p87-services b {
    font-size: 14px;
  }
  .p87-services span {
    font-size: 10px;
  }
  .p87-services > div {
    padding: 14px 3px;
  }
  .p87-nodes > span {
    font-size: 12px;
    padding: 14px 3px;
  }
  .p87-hub > span {
    font-size: 19px;
  }
  .p87-tabs button {
    font-size: 14px;
    padding: 18px 5px;
  }
  .p87-panel {
    padding: 28px 22px;
    gap: 28px;
  }
  .p87-panel h3 {
    font-size: 23px;
  }
  .p87-page .p87-caption {
    font-size: 11px;
  }
  .p87-page .p87-footnote {
    font-size: 13px;
  }
  .p87-heading br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p87-bus::after {
    animation: none;
  }
  .p87-card {
    transition: none;
  }
}
