/* Product detail links in #products and platform module breakdown in #platform */
.product-detail-links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
}
.product-detail-links > span {
  flex-basis: 100%;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.product-detail-links a {
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.18s, background 0.18s;
}
.product-detail-links a:hover,
.product-detail-links a:focus-visible {
  border-color: var(--blue);
  background: var(--pale-blue);
}
.product-detail-links strong {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--ink);
}
.product-detail-links small {
  font-size: 0.82rem;
  color: var(--muted);
}

.pm-modules {
  margin-top: 56px;
}
.pm-modules-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.pm-modules-head h3,
.pm-flow-heading {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}
.pm-modules-head p {
  color: var(--muted);
  font-size: 1rem;
}
.pm-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pm-module {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.pm-module-index {
  display: grid;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 550;
  line-height: 1.5;
}
.pm-module-index span + span {
  color: var(--muted);
  font-weight: 450;
}
.pm-module h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink);
}
.pm-module-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.pm-module ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: module;
  display: grid;
  gap: 6px;
}
.pm-module li {
  counter-increment: module;
  display: flex;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}
.pm-module li::before {
  content: counter(module);
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--pale-blue);
  color: var(--blue);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}
.pm-module-tech {
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.6;
}
.pm-module-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.pm-module .text-link {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--blue);
}
.pm-flow-heading {
  margin-top: 40px;
  margin-bottom: 16px;
}
.pm-flow {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.pm-flow li {
  counter-increment: flow;
  position: relative;
  padding: 16px 16px 16px 16px;
  border-top: 2px solid var(--blue);
  background: var(--white);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
}
.pm-flow li::before {
  content: "0" counter(flow);
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}
@media (max-width: 1100px) {
  .pm-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pm-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .product-detail-links a {
    min-width: 0;
    flex: 1 1 100%;
  }
  .pm-module-grid,
  .pm-flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Standalone product detail pages */
.pd-hero {
  background: var(--pale-blue);
  padding-block: 88px 72px;
}
.pd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pd-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.pd-hero h1 span {
  display: block;
  font-size: 0.55em;
  color: var(--navy);
  margin-top: 10px;
  letter-spacing: 0;
}
.pd-hero p.pd-lede {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--ink);
}
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
}
.pd-hero figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 12px;
}
.pd-hero figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.pd-hero figure.pd-mobile img {
  max-width: 280px;
  margin-inline: auto;
}
.pd-hero figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.pd-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}
.pd-section > .section-intro {
  color: var(--muted);
  margin-bottom: 32px;
}
.pd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.pd-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: var(--white);
}
.pd-card h3 {
  font-size: 1.1rem;
  font-weight: 550;
  margin-bottom: 8px;
}
.pd-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.pd-card ul {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-card li {
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pale-blue);
  color: var(--navy);
}
.pd-alt {
  background: var(--pale-blue);
}
.pd-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: pd;
  list-style: none;
  padding: 0;
}
.pd-steps li {
  counter-increment: pd;
  background: var(--white);
  border-top: 2px solid var(--blue);
  padding: 18px;
}
.pd-steps li::before {
  content: "0" counter(pd);
  display: block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.pd-steps strong {
  display: block;
  font-weight: 550;
  margin-bottom: 4px;
}
.pd-steps span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.pd-steps em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--navy);
}
.pd-case-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.pd-case {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 6px 32px;
  padding-block: 8px;
}
.pd-case strong {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pd-case a {
  min-width: 0;
  font-size: 0.88rem;
  color: var(--blue);
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.pd-case a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pd-case a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .pd-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding-block: 8px;
  }
}
.pd-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}
.pd-others {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pd-crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.pd-crumb a {
  color: var(--blue);
}
@media (max-width: 900px) {
  .pd-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .pd-hero {
    padding-block: 48px 40px;
  }
  .section-wrap.pd-wrap {
    width: calc(100% - 40px);
  }
}
.pp-lang{margin-inline-start:12px;padding:6px 10px;border:1px solid #cfdcf5;border-radius:999px;background:#fff;color:#1b3a6b;font:inherit;font-size:14px}
@media (max-width:640px){.nav-wrap{flex-wrap:wrap;row-gap:8px}.pp-lang{font-size:12px;padding:4px 8px;margin-inline-start:0}}
