/* Reference finish: continuous grid, fading extensions and a shared rounded center. */
#main.hf-home .ip-industries{padding-bottom:24px}
.pm-section{margin:0;padding:28px 0 0;--pm-shadow:0 10px 22px #292c401c}
.pm-heading{margin-bottom:0}
.pm-heading h2{font-weight:750;color:var(--pm-ink)}
.pm-heading h2>span{color:inherit}
.pm-heading .pm-keep{white-space:nowrap}
.pm-grid-shell{position:relative;isolation:isolate;width:min(1720px,calc(100% - 48px));margin:0 auto;padding-block:84px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
/* These vertical rules continue past the first/last rows and fade to white. */
.pm-grid-shell::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--pm-line) 1px,transparent 1px) 0 0/10% 100%;-webkit-mask-image:linear-gradient(transparent,#000 84px,#000 calc(100% - 84px),transparent);mask-image:linear-gradient(transparent,#000 84px,#000 calc(100% - 84px),transparent)}
.pm-network{position:relative;isolation:isolate;width:100%;border:0;-webkit-mask-image:none;mask-image:none}
/* Horizontal rules stay in place when a tile is hovered. */
.pm-network::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(var(--pm-line) 1px,transparent 1px) 0 0/100% var(--pm-row-size);border-bottom:1px solid var(--pm-line)}
.pm-cell{border:0;background:transparent}
.pm-cell:is(:hover,:focus-visible){transform:none;box-shadow:inset 0 0 0 1px var(--pm-muted),var(--pm-shadow)}
.pm-cell:is(:hover,:focus-visible)>svg{color:inherit}
.pm-cores{position:relative;display:grid;grid-area:2 / 4 / 6 / 8;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));z-index:1;isolation:isolate}
/* Four rounded inner corners expose this small gray junction. */
.pm-cores::before{content:"";position:absolute;left:50%;top:50%;width:34px;height:34px;transform:translate(-50%,-50%);background:var(--pm-line);pointer-events:none}
.pm-cores .pm-core{grid-row:auto;grid-column:auto;border:0;border-radius:16px;box-shadow:inset 0 0 0 .5px var(--pm-line)}
.pm-core:is(:hover,:focus-visible){transform:none;box-shadow:inset 0 0 0 .5px var(--pm-line),var(--pm-shadow)}
.pm-core:is(:hover,:focus-visible) .pm-preview{transform:scale(var(--pm-preview-scale))}
.pm-core--forms:is(:hover,:focus-visible) .pm-paper{transform:rotate(-7deg)}
.pm-core--studio:is(:hover,:focus-visible) .pm-output-back{transform:rotate(-9deg)}
@media(max-width:1100px){
 .pm-section{margin:0;padding-top:24px;padding-bottom:32px}
 .pm-heading{margin-bottom:32px}
 .pm-grid-shell{display:contents;-webkit-mask-image:none;mask-image:none}
 .pm-grid-shell::before,.pm-network::before{display:none}
 .pm-network{width:calc(100% - 48px)}
 .pm-cores{grid-area:auto;border:0}
 .pm-cores .pm-core{height:310px}
 .pm-edges{border:0;background:linear-gradient(90deg,var(--pm-line) 1px,transparent 1px) 0 0/25% 100%,linear-gradient(var(--pm-line) 1px,transparent 1px) 0 0/100% 115px;border-right:1px solid var(--pm-line);border-bottom:1px solid var(--pm-line)}
}
@media(max-width:540px){
 #main.hf-home .ip-industries{padding-bottom:18px}
 .pm-section{padding-top:22px;padding-bottom:28px}
 .pm-heading{margin-bottom:26px}
 .pm-heading h2{font-size:32px}
 .pm-network{width:calc(100% - 32px)}
 .pm-cores .pm-core{height:232px;border-radius:13px}
 .pm-cores::before{width:28px;height:28px}
 .pm-edges{background-size:33.333333% 100%,100% 105px}
}
@media(max-width:380px){.pm-cores .pm-core{height:218px}.pm-heading h2{font-size:29px}}

/* One solid accent per product family; the copy and grid retain neutral colors. */
.pm-icon-colors{--pm-amber:#ad6510}
.pm-icon-colors .pm-cell{--pm-feature-icon:var(--pm-blue)}
.pm-icon-colors .pm-cell:is([href="/product/form-builder/"],[href="/product/ai/"],[href="/product/integrations/"]){--pm-feature-icon:var(--pm-purple)}
.pm-icon-colors .pm-cell:is([href="/product/actions/"],[href="/product/progress/"],[href="/product/crew/"],[href="/product/worksites/"],[href="/product/training/"],[href="/contact/"],[href="/resources/field-to-office-handoff/"]){--pm-feature-icon:var(--pm-green)}
.pm-icon-colors .pm-cell[href^="/product/studio/"]{--pm-feature-icon:var(--pm-rose)}
.pm-icon-colors .pm-cell:is([href="/product/incidents/"],[href="/product/risk-registers/"],[href="/product/equipment/"]){--pm-feature-icon:var(--pm-amber)}
.pm-icon-colors .pm-cell>svg,.pm-icon-colors .pm-cell:is(:hover,:focus-visible)>svg{color:var(--pm-feature-icon)}

/* Full product names retain room for their icons in the shared feature grid. */
.pm-core--sofia .pm-core-label>strong{font-size:clamp(21px,1.7vw,30px)}.pm-core--studio .pm-core-label{gap:8px}.pm-core--studio .pm-core-label>strong{font-size:clamp(19px,1.5vw,28px)}
