/* ==========================================================================
   VSim Plasma  (/products/manufacturing/plasma/vsim-plasma/)

   The first product page under a family other than TCAD, and the first under
   Plasma. Built in the shape of the six TCAD tool pages - banner, what it
   does, capabilities, a middle section of its own, works with, applications,
   proof and resources, conversion, FAQ, related - with the structure doc's
   Packages section in the middle slot.

   NO NEW COMPONENTS. Every section comes from product-family.css. Packages
   uses pf-mod, the anchored rows extracted from victory-device.css, so each
   package has an id (#vsimpd, #vsimpa). The two application rows with nowhere
   to go use .pf-approw--unlinked, which moved into the shared sheet in its own
   commit immediately before this page because this was its third use. What is
   left here is a band run, three column counts and the section anchors.

   Band rhythm is the homepage's: 48 / 64 / 80. Bands alternate white and
   --ps-color-neutral-2-100; --ps-color-neutral-2-000 is reserved for the
   conversion band. No two adjacent bands share a tint.

     §1  banner        white          §6  applications   neutral-2-100
     §2  what it does  neutral-2-100  §7  proof          white
     §3  capabilities  white          §8  evaluate       neutral-2-000
     §4  packages      neutral-2-100  §9  FAQ            white
     §5  works with    white          §10 related        neutral-2-100
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section anchors

   The Plasma family page and the header already link into this page, and
   #vsimpd is the one an application engineer will send people to. The package
   rows carry their own scroll offset in the shared sheet; the sections need
   it here. 96px clears the sticky header.
   -------------------------------------------------------------------------- */
#what-it-does,#capabilities,#packages,#works-with,
#applications,#resources{scroll-margin-top:96px}

@media (min-width:1024px){
  /* -----------------------------------------------------------------------
     Column counts this page overrides

     pf-cap is three across in the shared sheet; this page has FOUR capability
     groups, and three across would strand Scale on a row of its own. 2x2
     pairs them sensibly: how it solves beside what happens between
     particles, geometry beside scale.

     pf-support is three across, sized for three support cards. Works with has
     two - takes in, produces - so two columns, and neither sits in a third
     of the band beside an empty third.

     pf-related is five across, sized for the five sibling tools a TCAD
     product page links. This page links four families, so four across.
     pf-res is three across and this page has six cards, which is two clean
     rows by default and needs no override.
     ----------------------------------------------------------------------- */
  .pf-cap__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf-support__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf-related__list{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* --------------------------------------------------------------------------
   §9 FAQ — sits on white, below the conversion band
   -------------------------------------------------------------------------- */
.faq{background:var(--sv-white)}

/* --------------------------------------------------------------------------
   Band run for this page

   product-family.css leaves every shared section transparent, because the
   tint depends on where a section sits rather than on what it is. This is the
   run set out in the header comment above, in one place so it can be read at
   once.
   -------------------------------------------------------------------------- */
.pf-def,.pf-mod,.pf-applist,.pf-related{
  background:var(--ps-color-neutral-2-100);
  border-block:1px solid var(--ps-color-neutral-2-300);
}
/* stated explicitly rather than left transparent: an inherited body colour
   looks right today and breaks silently the moment anything above it moves */
.pf-cap,.pf-support,.pf-res{background:var(--sv-white)}
/* the conversion band takes the tint the site reserves for it site-wide */
.section-headings__wrapper--cta{background:var(--ps-color-neutral-2-000)}

/* --------------------------------------------------------------------------
   VSim Plasma round (2026-09-25)
   -------------------------------------------------------------------------- */
/* C45, C53-C55: four resource items are held, so the two that remain sit two-up rather than leaving a third column empty */
@media (min-width:1024px){
  .pf-res__grid:not(:has(> li:nth-of-type(3))){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* phones: the longer button labels wrap instead of overflowing */
@media (max-width:639.98px){
  .page-banner__ctas .ps-btn--large,.section-headings__ctas .ps-btn{max-width:100%}
  .page-banner__ctas .ps-btn--large .ps-btn__text,.section-headings__ctas .ps-btn .ps-btn__text{white-space:normal;min-width:0}
}
