/* PER marketing components (D-276, D-277): loaded by the marketing pages only, right after site.css (split in PER-WS6,
   D-280, so that business and solar pages do not download them). */
/* Hero: copy beside a photograph of the trade, a genuine screen in a device frame overlapping it. */
.px-hero { padding: 28px 0 56px; background: linear-gradient(180deg, var(--bg-soft), var(--bg) 70%); }
.px-hero-grid { display: grid; gap: 32px; align-items: center; }
.px-hero-copy h1 { font-size: var(--step-hero); line-height: 1.04; margin: 0 0 16px; }
.px-hero-copy .actions { margin: 22px 0 14px; }
.px-hero-media { position: relative; padding-bottom: 18%; }
.px-hero-photo img { border-radius: var(--radius-media); aspect-ratio: 16 / 10; object-fit: cover; }
.px-device { position: absolute; margin: 0; right: -4px; bottom: 0; width: 62%; padding: 8px 8px 12px; background: #1b2433; border-radius: 14px; box-shadow: var(--shadow-media); }
.px-device img { border-radius: 6px; }
.px-chips { position: absolute; left: 12px; top: 12px; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: start; }
.px-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); }
.px-chip .ico { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* Section head with a side note. */
.px-head-split { display: grid; gap: 8px; align-items: end; }
.px-head-split .muted { margin: 0; }

/* Industry mosaic: photographs, two large tiles, name and one line on a scrim. */
.px-mosaic { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px-tile a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; color: #fff; text-decoration: none; background: var(--stage); isolation: isolate; }
.px-tile picture, .px-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-tile img { transition: transform .42s var(--ease-out); }
.px-tile-lg { grid-column: span 2; }
.px-tile-lg a { aspect-ratio: 16 / 9; }
.px-tile-text { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; display: grid; gap: 2px; background: var(--scrim); }
.px-tile-text strong { font-size: 1.02rem; line-height: 1.25; }
.px-tile-text span { font-size: .84rem; line-height: 1.35; color: #e6edf5; }
.px-tile a:hover img { transform: scale(1.03); }
.px-tile a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* One day in a business: screen and short text, alternating sides on wide screens. */
.px-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: pxstep; }
.px-step { display: grid; gap: 16px; align-items: center; counter-increment: pxstep; }
.px-step-text h3 { margin: 0 0 6px; font-size: 1.3rem; }
.px-step-text h3::before { content: counter(pxstep, decimal-leading-zero); display: block; font: 700 .9rem/1.4 "IBM Plex Sans", system-ui, sans-serif; color: var(--brand); margin-bottom: 4px; }
.px-step-text p { margin: 0 0 8px; color: var(--ink-muted); }
.px-screen { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-media); }
.px-screen-dark { border-color: rgba(255, 255, 255, .14); }

/* Stage: the product on navy. */
.px-stage { background: var(--stage); color: #dbe4ee; }
.px-stage h2, .px-stage strong { color: #fff; }
.px-stage .eyebrow { color: #5eead4; }
.px-showcase { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.px-showcase a { display: grid; gap: 6px; color: #dbe4ee; text-decoration: none; }
.px-showcase a:hover strong { text-decoration: underline; }
.px-showcase .px-screen { margin-bottom: 8px; }
.px-stage a:focus-visible { outline-color: #5eead4; }

/* Features: a compact index under the screens. */
.px-feature-cols { display: grid; gap: 20px; margin-bottom: 18px; }
.px-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.px-checklist li { position: relative; padding-left: 26px; }
.px-checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border: solid var(--brand); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.px-film-grid { display: grid; gap: 24px; align-items: center; }

/* Proof: short facts with icons. */
.px-proof { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 22px; }
.px-proof li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.px-proof .ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); }
.px-proof h3 { margin: 0 0 2px; font-size: 1.02rem; }
.px-proof p { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* Band: a photograph behind a short message. */
.px-band { position: relative; color: #fff; background: var(--stage); overflow: hidden; isolation: isolate; }
.px-band-photo { position: absolute; inset: 0; z-index: -1; }
.px-band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.px-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 22, 38, .92) 0%, rgba(11, 22, 38, .78) 45%, rgba(11, 22, 38, .2) 100%); }
.px-band-body { padding-top: 72px; padding-bottom: 72px; max-width: 1140px; }
.px-band-body h2 { color: #fff; max-width: 15em; }
.px-band-body p { max-width: 30em; color: #e6edf5; }
.px-band .eyebrow { color: #5eead4; }

@media (min-width: 640px) {
  .px-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-tile-lg { grid-column: span 3; }
  .px-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-feature-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .px-hero { padding: 48px 0 80px; }
  .px-hero-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; }
  .px-head-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
  .px-head-split .muted { text-align: right; }
  .px-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .px-tile-lg { grid-column: span 2; grid-row: span 2; }
  .px-tile-lg a { aspect-ratio: auto; height: 100%; }
  .px-step { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .px-step:nth-child(even) .px-screen { order: 2; }
  .px-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-film-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; }
  .px-band-body { padding-top: 112px; padding-bottom: 112px; }
}
@media (prefers-reduced-motion: reduce) { .px-tile img { transition: none; } .px-tile a:hover img { transform: none; } }
/* Industry and solution pages: headline beside the trade's photograph and its genuine screen. */
.px-solution { background: linear-gradient(180deg, var(--bg-soft), var(--bg) 80%); padding-bottom: 32px; }
.px-solution-grid { display: grid; gap: 28px; align-items: center; }
.px-solution .page-head { padding-left: 0; padding-right: 0; }
.px-solution-media { padding-bottom: 14%; }
.px-solution-media .px-device { width: 56%; }
@media (min-width: 1024px) { .px-solution-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
/* Banner: a full-bleed photograph under a navy scrim, the page title over it. */
.px-banner { position: relative; isolation: isolate; color: #fff; background: var(--stage); overflow: hidden; }
.px-banner-photo { position: absolute; inset: 0; z-index: -2; }
.px-banner-photo img { width: 100%; height: 100%; object-fit: cover; }
.px-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 22, 38, .9) 0%, rgba(11, 22, 38, .72) 55%, rgba(11, 22, 38, .35) 100%); }
.px-banner-body { padding-top: 64px; padding-bottom: 64px; }
.px-banner h1 { color: #fff; font-size: var(--step-hero); line-height: 1.05; max-width: 15em; margin: 0 0 14px; }
.px-banner .px-lead { color: #e6edf5; }
.px-banner .eyebrow { color: #5eead4; }
.px-pills { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.px-pills li { padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); }
/* Industry groups: editorial rows, photograph and screen beside the text, alternating sides. */
.px-group { display: grid; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.px-group:last-child { border-bottom: 0; }
.px-group-media { padding-bottom: 12%; }
.px-group-media .px-device { width: 52%; }
.px-group-text h2 { margin: 0 0 6px; }
.px-group-text .chip-list { margin: 12px 0 14px; }
.px-light-link { color: #5eead4; }
.px-stage .card, .px-stage .h3 { color: #fff; }
@media (min-width: 1024px) {
  .px-banner-body { padding-top: 104px; padding-bottom: 104px; }
  .px-group { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 44px 0; }
  .px-group:nth-child(even) .px-group-media { order: 2; }
  .px-group-plain { grid-template-columns: minmax(0, 1fr); }
}
.px-banner-page .page-head { padding-top: 56px; padding-bottom: 56px; }
.px-banner .lead { color: #e6edf5; max-width: 40em; }
.px-banner a:not(.btn) { color: #99f6e4; }
.px-banner .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.px-banner :focus-visible { outline-color: #5eead4; }
@media (min-width: 1024px) { .px-banner-page .page-head { padding-top: 88px; padding-bottom: 88px; } }
@media (min-width: 1024px) { .px-showcase-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Phones: hero actions stack full-width, so their layout does not depend on when the button font arrives (CLS). */
@media (max-width: 479px) { .px-hero-copy .actions { display: grid; gap: 10px; } .px-hero-copy .actions .btn { width: 100%; } }
/* Phones get the portrait crop of a hero photograph (art direction); its frame follows the image. */
@media (max-width: 639px) { .px-solution-media .px-hero-photo img, .px-group-media .px-hero-photo img { aspect-ratio: 4 / 5; } }
/* PER-WS3 pricing: plans visible before a country is chosen; comparison with marks instead of repeated words. */
.px-prompt-line { margin: 0 0 18px; font-weight: 600; }
.px-price-pending a { font-size: 1.05rem; font-weight: 650; }
.compare-table td { text-align: center; vertical-align: middle; }
.compare-table th[scope="row"] { font-weight: 500; }
.px-mark { display: inline-block; width: 22px; height: 22px; border-radius: 50%; position: relative; vertical-align: middle; }
.px-yes { background: var(--brand); }
.px-yes::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.px-no { background: transparent; }
.px-no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: var(--line-strong); }
.px-num { font-weight: 650; font-variant-numeric: tabular-nums; }
.px-help summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; align-items: baseline; }
.px-help summary::-webkit-details-marker { display: none; }
.px-help summary::after { content: "?"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .72rem; font-weight: 700; color: var(--ink-muted); }
.px-help[open] summary::after { content: "×"; }
.px-help span { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-muted); font-weight: 400; }
.compare-table .compare-group th { text-transform: none; letter-spacing: 0; }
@media (max-width: 639px) {
  .compare-table { min-width: 0; width: 100%; }
  .compare-table th[scope="row"] { width: 52%; font-size: .9rem; }
  .compare-table td, .compare-table thead th { padding-left: 4px; padding-right: 4px; font-size: .85rem; }
}
@media (min-width: 900px) {
  .pricing-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
  .pricing-head > :not(.country-picker):not(.billing-toggle) { grid-column: 1 / -1; }
}
/* PER-WS3 affiliate: photographic hero, the commission as a flow, a photo split. */
.px-aff { padding: 0; }
.px-aff .aff-hero-grid { padding-top: 56px; padding-bottom: 56px; }
.px-aff h1 { color: #fff; }
.px-aff .aff-glance { color: var(--ink); }
.px-flow { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.px-flow li { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.px-flow-n { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1 "Lato", "IBM Plex Sans", system-ui, sans-serif; color: #5eead4; margin-bottom: 6px; }
.px-flow strong { font-size: 1.08rem; }
.px-stage .muted { color: #b8c4d2; }
.px-split { display: grid; gap: 28px; align-items: center; }
.px-split-media img { border-radius: var(--radius-media); box-shadow: var(--shadow-media); }
@media (min-width: 1024px) {
  .px-aff .aff-hero-grid { padding-top: 88px; padding-bottom: 88px; }
  .px-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translate(50%, -50%); color: #5eead4; font-size: 1.4rem; }
  .px-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
}
/* PER-WS3 conversion band: the closing call to action carries a photograph of the trade. */
.px-cta { position: relative; overflow: hidden; isolation: isolate; }
.px-cta-photo { display: none; }
@media (min-width: 900px) {
  .px-cta { padding-right: 400px; min-height: 240px; }
  .px-cta-photo { display: block; position: absolute; inset: 0 0 0 auto; width: 360px; z-index: -1; }
  .px-cta-photo img { width: 100%; height: 100%; object-fit: cover; }
  .px-cta-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--secondary, var(--brand-dark)) 0%, transparent 55%); z-index: 1; }
}
/* Phones keep the D-190 type scale: page headlines at most 32 px on a 390 px screen (found by the staging browser suite). */
@media (max-width: 640px) { .px-hero-copy h1, .px-banner h1 { font-size: clamp(1.75rem, 8vw, 2rem); } }
