/* =====================================================================
   AI Server and Accelerator PCB Manufacturer - page stylesheet
   Prefix: pg-aisrv-
   Scope: .pg-aisrv (page body, Hero to FAQ).
   The Final CTA / RFQ section uses the shared stylesheet tpcb-rfq.css.
   Headings, paragraphs and font families inherit the global theme.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
.pg-aisrv {
  --pg-aisrv-heading: #0d2a52;
  --pg-aisrv-text: #3d4859;
  --pg-aisrv-muted: #5b6576;
  --pg-aisrv-faint: #8792a2;
  --pg-aisrv-primary: #1565c0;
  --pg-aisrv-primary-dark: #0f4c97;
  --pg-aisrv-accent: #1976d2;
  --pg-aisrv-sky: #40a0ff;
  --pg-aisrv-bg-alt: #f4f7fb;
  --pg-aisrv-tint: #eaf2fb;
  --pg-aisrv-line: #dce4ee;
  --pg-aisrv-line-blue: #b8cfea;
  /* Hero overlay: brand navy, dark behind the text, thin over the board photo */
  --pg-aisrv-hero-overlay: linear-gradient(90deg, rgba(11, 34, 70, 0.94) 0%, rgba(11, 34, 70, 0.88) 40%, rgba(13, 50, 105, 0.55) 62%, rgba(13, 50, 105, 0.26) 100%);
  /* Stacked hero (1024px and below): text runs full width, so near-uniform */
  --pg-aisrv-hero-overlay-stacked: linear-gradient(180deg, rgba(11, 34, 70, 0.9) 0%, rgba(13, 50, 105, 0.82) 100%);

  /* Diagram palette: PCB materials, used inside diagrams only */
  --pg-aisrv-cu: #c8793a;
  --pg-aisrv-prepreg: #efe3c8;
  --pg-aisrv-core: #dcc9a0;
  --pg-aisrv-diel: #f3ead6;
  --pg-aisrv-glass: #e6dcc4;
  --pg-aisrv-glass-line: #cbb88f;
  --pg-aisrv-layer-line: #d9c7a0;
  --pg-aisrv-risk: #e5484d;
  --pg-aisrv-guide: #8a9ab3;

  --pg-aisrv-radius: 8px;
  --pg-aisrv-radius-sm: 4px;
  --pg-aisrv-section-y: 75px;
  --pg-aisrv-gap: 60px;
  --pg-aisrv-head-gap: 44px;
  --pg-aisrv-block-gap: 56px;
  --pg-aisrv-card-gap: 30px;
  --pg-aisrv-card-pad: 32px;
}


/* ---------------------------------------------------------------------
   2. Scoped base reset
   --------------------------------------------------------------------- */
.pg-aisrv *,
.pg-aisrv *::before,
.pg-aisrv *::after {
  box-sizing: border-box;
}

.pg-aisrv h2,
.pg-aisrv h3,
.pg-aisrv p,
.pg-aisrv figure,
.pg-aisrv dl,
.pg-aisrv dd {
  margin: 0;
}

.pg-aisrv img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pg-aisrv a:focus-visible,
.pg-aisrv button:focus-visible {
  outline: 3px solid var(--pg-aisrv-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Visually hidden text (table captions) */
.pg-aisrv-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.pg-aisrv-section {
  padding: var(--pg-aisrv-section-y) 0;
  background: #fff;
}

.pg-aisrv-section--alt {
  background: var(--pg-aisrv-bg-alt);
}

.pg-aisrv-container {
  width: calc(100% - 40px);
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

/* Vertical rhythm inside a section container */
.pg-aisrv .pg-aisrv-container > * + * {
  margin-top: var(--pg-aisrv-block-gap);
}

.pg-aisrv .pg-aisrv-container > .pg-aisrv-head + * {
  margin-top: var(--pg-aisrv-head-gap);
}

.pg-aisrv .pg-aisrv-container > .pg-aisrv-pair + .pg-aisrv-card {
  margin-top: var(--pg-aisrv-card-gap);
}

.pg-aisrv .pg-aisrv-container > .pg-aisrv-rules,
.pg-aisrv .pg-aisrv-container > .pg-aisrv-band {
  margin-top: 36px;
}

/* Section heading: centered title and lead */
.pg-aisrv-head {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-aisrv-head h2 {
  color: var(--pg-aisrv-heading);
}

.pg-aisrv .pg-aisrv-head > * + * {
  margin-top: 16px;
}

.pg-aisrv-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pg-aisrv-text);
}

.pg-aisrv-lead strong {
  color: var(--pg-aisrv-heading);
}

/* Sub-block with a left-aligned H3 */
.pg-aisrv .pg-aisrv-block > * + * {
  margin-top: 20px;
}

.pg-aisrv-block__title {
  color: var(--pg-aisrv-heading);
}

.pg-aisrv-block__lead {
  max-width: 860px;
  color: var(--pg-aisrv-text);
}

/* Two equal columns; items stretch to the same height */
.pg-aisrv-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pg-aisrv-card-gap);
  align-items: stretch;
}


/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.pg-aisrv .pg-aisrv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pg-aisrv-radius-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pg-aisrv .pg-aisrv-btn--primary,
.pg-aisrv .pg-aisrv-btn--primary:visited {
  background: var(--pg-aisrv-primary);
  color: #fff;
}

.pg-aisrv .pg-aisrv-btn--primary:hover,
.pg-aisrv .pg-aisrv-btn--primary:focus-visible {
  background: var(--pg-aisrv-primary-dark);
  color: #fff;
}


/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.pg-aisrv-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--pg-aisrv-section-y) 0;
  background: #0b2246;
  color: #fff;
}

.pg-aisrv-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pg-aisrv-hero .pg-aisrv-hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% center;
}

/* Directional overlay: follows the layout (text left, board right) */
.pg-aisrv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pg-aisrv-hero-overlay);
}

.pg-aisrv-hero .pg-aisrv-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--pg-aisrv-gap);
  align-items: center;
}

.pg-aisrv .pg-aisrv-hero__inner > * {
  margin-top: 0;
}

.pg-aisrv-hero .pg-aisrv-hero__title {
  color: #fff;
}

.pg-aisrv-hero__summary {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.pg-aisrv .pg-aisrv-hero__summary {
  margin-top: 20px;
}

.pg-aisrv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.pg-aisrv-hero__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 32px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.pg-aisrv-hero__certs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.pg-aisrv-hero__certs li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 14px;
  background: rgba(255, 255, 255, 0.32);
}

/* Capability panel */
.pg-aisrv-hero__specs {
  padding: 6px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pg-aisrv-radius);
  background: rgba(8, 26, 56, 0.76);
}

.pg-aisrv-hero__spec {
  padding: 16px 0;
}

.pg-aisrv-hero__spec + .pg-aisrv-hero__spec {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-aisrv-hero__spec dt {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.pg-aisrv-hero__spec dd {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}


/* ---------------------------------------------------------------------
   6. Tables (shared)
   --------------------------------------------------------------------- */
.pg-aisrv-table-wrap {
  overflow: hidden;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
}

.pg-aisrv .pg-aisrv-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.pg-aisrv .pg-aisrv-table tr {
  background: transparent;
}

.pg-aisrv .pg-aisrv-table th,
.pg-aisrv .pg-aisrv-table td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--pg-aisrv-line);
  background: #fff;
  color: var(--pg-aisrv-text);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.pg-aisrv .pg-aisrv-table thead th {
  border-bottom: 2px solid var(--pg-aisrv-primary);
  background: var(--pg-aisrv-tint);
  color: var(--pg-aisrv-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pg-aisrv .pg-aisrv-table tbody th {
  color: var(--pg-aisrv-heading);
  font-weight: 600;
}

.pg-aisrv .pg-aisrv-table tbody tr:last-child > th,
.pg-aisrv .pg-aisrv-table tbody tr:last-child > td {
  border-bottom: 0;
}

/* Column proportions */
.pg-aisrv-table--boards thead th:nth-child(1) { width: 18%; }
.pg-aisrv-table--boards thead th:nth-child(2) { width: 27%; }
.pg-aisrv-table--boards thead th:nth-child(3) { width: 25%; }
.pg-aisrv-table--dfm thead th:first-child { width: 22%; }
.pg-aisrv-table--dfm thead th:nth-child(2) { width: 34%; }
.pg-aisrv-table--tests thead th:first-child { width: 17%; }
.pg-aisrv-table--tests thead th:last-child { width: 22%; }
.pg-aisrv-table--spec thead th:first-child { width: 40%; }
.pg-aisrv-table--spec thead th:not(:first-child) { width: 30%; }

/* Project-specific tier column */
.pg-aisrv .pg-aisrv-table thead th.pg-aisrv-table__tier {
  border-bottom-color: var(--pg-aisrv-accent);
  background: var(--pg-aisrv-accent);
  color: #fff;
}

.pg-aisrv .pg-aisrv-table tbody td.pg-aisrv-table__tier {
  background: #f4f8fe;
  color: var(--pg-aisrv-heading);
  font-weight: 600;
}

/* Two-part values: one part per line */
.pg-aisrv-seg {
  display: block;
}

/* Keeps a metric or imperial equivalent in one piece when the cell wraps */
.pg-aisrv-nw {
  white-space: nowrap;
}

/* Board-type card toggle: phones only, enabled by the page script */
.pg-aisrv .pg-aisrv-app__toggle {
  display: none;
}

/* Capability table: bordered panel around a controlled horizontal scroller.
   The table only overflows at 520px and below (section 20); the "Show all"
   button sits inside the panel but outside the scroller. */
.pg-aisrv-scroll {
  position: relative;
}

.pg-aisrv-scroll__panel {
  overflow: hidden;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
}

.pg-aisrv-scroll__inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* "Show all" button: phones only, enabled by the page script */
.pg-aisrv .pg-aisrv-spec__more {
  display: none;
}

.pg-aisrv-scroll__inner:focus-visible {
  outline: 3px solid var(--pg-aisrv-sky);
  outline-offset: -3px;
}

/* Notes below a table */
.pg-aisrv .pg-aisrv-block > .pg-aisrv-notes {
  margin-top: 14px;
}

.pg-aisrv-notes {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pg-aisrv-muted);
}

.pg-aisrv .pg-aisrv-notes > * + * {
  margin-top: 6px;
}

.pg-aisrv .pg-aisrv-notes a,
.pg-aisrv .pg-aisrv-notes a:visited {
  color: var(--pg-aisrv-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-aisrv .pg-aisrv-notes a:hover {
  color: var(--pg-aisrv-primary-dark);
}


/* ---------------------------------------------------------------------
   7. Materials and process options (spec grid)
   Hairlines come from a 1px grid gap over the line color, so paired
   items always share one row height.
   --------------------------------------------------------------------- */
.pg-aisrv-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: var(--pg-aisrv-line);
}

.pg-aisrv-options__item {
  min-width: 0;
  padding: 20px 24px;
  background: #fff;
}

.pg-aisrv-options__item--wide {
  grid-column: 1 / -1;
}

.pg-aisrv-options__item dt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv .pg-aisrv-options__item dd {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-aisrv-text);
}


/* ---------------------------------------------------------------------
   8. Cards
   Base card: column flow. A diagram placed after the text is pushed to
   the card bottom, so diagrams in the same row share one baseline.
   --------------------------------------------------------------------- */
.pg-aisrv-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--pg-aisrv-card-pad);
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
}

.pg-aisrv .pg-aisrv-card > * + * {
  margin-top: 14px;
}

.pg-aisrv .pg-aisrv-card > p:not(:last-child) {
  margin-bottom: 24px;
}

.pg-aisrv .pg-aisrv-card > .pg-aisrv-dgm {
  margin-top: auto;
}

.pg-aisrv .pg-aisrv-card__title {
  font-size: 21px;
  line-height: 1.35;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv-card p {
  color: var(--pg-aisrv-text);
}

/* Split card: text column beside a diagram column */
.pg-aisrv .pg-aisrv-card.pg-aisrv-card--split {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 48px;
  align-items: stretch;
}

.pg-aisrv .pg-aisrv-card.pg-aisrv-card--split > * {
  margin-top: 0;
}

.pg-aisrv .pg-aisrv-card__text > * + * {
  margin-top: 14px;
}

.pg-aisrv .pg-aisrv-card__text > .pg-aisrv-note {
  margin-top: 24px;
}

/* Wide card: title across, two columns of text + diagram below */
.pg-aisrv .pg-aisrv-card--wide > .pg-aisrv-card__cols {
  margin-top: 16px;
}

.pg-aisrv-card__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}

.pg-aisrv-card__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pg-aisrv .pg-aisrv-card__col > p {
  margin-bottom: 24px;
}

.pg-aisrv .pg-aisrv-card__col > .pg-aisrv-dgm {
  margin-top: auto;
}

/* Estimate note inside the backdrill card */
.pg-aisrv-note {
  padding: 18px 22px;
  border-left: 3px solid var(--pg-aisrv-primary);
  border-radius: 0 var(--pg-aisrv-radius-sm) var(--pg-aisrv-radius-sm) 0;
  background: var(--pg-aisrv-tint);
}

.pg-aisrv .pg-aisrv-note p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--pg-aisrv-text);
}

.pg-aisrv-note strong {
  color: var(--pg-aisrv-heading);
}


/* ---------------------------------------------------------------------
   9. Diagram figures (inline SVG panels)
   Each panel is its own SVG: side by side on wide screens, stacked on
   phones, and never scaled above its design width.
   --------------------------------------------------------------------- */
.pg-aisrv-dgm {
  padding: 16px 16px 12px;
  border-radius: 6px;
  background: var(--pg-aisrv-bg-alt);
}

.pg-aisrv-dgm__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
  justify-items: center;
}

.pg-aisrv .pg-aisrv-dgm__svg {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  overflow: visible;
}

.pg-aisrv .pg-aisrv-dgm--tall .pg-aisrv-dgm__svg {
  max-width: 230px;
}

.pg-aisrv .pg-aisrv-dgm__svg--wide {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Backdrill figure fills the card row and centers its panels */
.pg-aisrv-dgm--tall {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pg-aisrv-dgm figcaption,
.pg-aisrv-dgm__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--pg-aisrv-muted);
}

.pg-aisrv .pg-aisrv-card > .pg-aisrv-dgm__note {
  margin-top: 16px;
}

.pg-aisrv-dgm__key {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--pg-aisrv-accent);
  vertical-align: middle;
}

/* SVG text */
.pg-aisrv-svg__title {
  font-size: 13px;
  font-weight: 700;
  fill: var(--pg-aisrv-heading);
}

.pg-aisrv-svg__label {
  font-size: 12px;
  font-weight: 700;
  fill: var(--pg-aisrv-heading);
}

.pg-aisrv-svg__note {
  font-size: 12px;
  fill: #51607a;
}

.pg-aisrv-dgm__svg--wide .pg-aisrv-svg__title {
  font-size: 15px;
}

.pg-aisrv-dgm__svg--wide .pg-aisrv-svg__label {
  font-size: 14px;
}

.pg-aisrv-dgm__svg--wide .pg-aisrv-svg__note {
  font-size: 13px;
}

.pg-aisrv-svg__note--on-cu {
  fill: #fff;
}

.pg-aisrv-svg__halo {
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

/* SVG shapes */
.pg-aisrv-svg__cu { fill: var(--pg-aisrv-cu); }
.pg-aisrv-svg__pp { fill: var(--pg-aisrv-prepreg); }
.pg-aisrv-svg__core { fill: var(--pg-aisrv-core); }
.pg-aisrv-svg__diel { fill: var(--pg-aisrv-diel); }
.pg-aisrv-svg__glass { fill: var(--pg-aisrv-glass); }
.pg-aisrv-svg__hole { fill: #fff; }
.pg-aisrv-svg__sig { fill: var(--pg-aisrv-primary); }
.pg-aisrv-svg__marker { fill: var(--pg-aisrv-primary); }

.pg-aisrv-svg__glass-lines {
  fill: none;
  stroke: var(--pg-aisrv-glass-line);
  stroke-width: 1;
}

.pg-aisrv-svg__layers {
  fill: none;
  stroke: var(--pg-aisrv-layer-line);
  stroke-width: 1.2;
}

.pg-aisrv-svg__skin {
  fill: none;
  stroke: var(--pg-aisrv-accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.pg-aisrv-svg__stub {
  fill: var(--pg-aisrv-risk);
  fill-opacity: 0.3;
}

.pg-aisrv-svg__drilled {
  fill: #fff;
  stroke: var(--pg-aisrv-guide);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

.pg-aisrv-svg__dim {
  fill: none;
  stroke: var(--pg-aisrv-heading);
  stroke-width: 1.2;
}

.pg-aisrv-svg__guide {
  fill: none;
  stroke: var(--pg-aisrv-guide);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.pg-aisrv-svg__arrow {
  stroke: var(--pg-aisrv-primary);
  stroke-width: 2;
}

.pg-aisrv-svg__arrow--thin {
  stroke-width: 1.3;
}

.pg-aisrv-svg__node {
  fill: none;
  stroke: var(--pg-aisrv-risk);
  stroke-width: 2;
}

.pg-aisrv-svg__caf {
  stroke: var(--pg-aisrv-risk);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}


/* ---------------------------------------------------------------------
   10. DFM release rules and mid-page CTA band
   --------------------------------------------------------------------- */
.pg-aisrv-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px var(--pg-aisrv-gap);
}

.pg-aisrv .pg-aisrv-rules__item {
  padding-left: 20px;
  border-left: 3px solid var(--pg-aisrv-line-blue);
  color: var(--pg-aisrv-text);
}

.pg-aisrv-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 36px;
  border: 1px solid #cfe0f3;
  border-radius: var(--pg-aisrv-radius);
  background: linear-gradient(120deg, var(--pg-aisrv-tint) 0%, #f5f9fe 100%);
}

.pg-aisrv-band__text {
  min-width: 0;
  max-width: 780px;
}

.pg-aisrv .pg-aisrv-band__text > * + * {
  margin-top: 8px;
}

.pg-aisrv .pg-aisrv-band__title {
  font-size: 21px;
  line-height: 1.35;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv-band__text p {
  color: var(--pg-aisrv-text);
}

.pg-aisrv .pg-aisrv-band__btn {
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------
   11. Certifications strip
   --------------------------------------------------------------------- */
.pg-aisrv .pg-aisrv-certs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding: 0;
  list-style: none;
}

.pg-aisrv .pg-aisrv-cert {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
}

.pg-aisrv .pg-aisrv-cert__mark {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--pg-aisrv-radius-sm);
  background: #e4eaf2;
}

.pg-aisrv-cert__body {
  min-width: 0;
}

.pg-aisrv-cert__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv .pg-aisrv-cert__scope {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-aisrv-text);
}

.pg-aisrv .pg-aisrv-block > .pg-aisrv-certs__note {
  margin-top: 14px;
}

.pg-aisrv-certs__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pg-aisrv-muted);
}


/* ---------------------------------------------------------------------
   12. Lot traceability flow
   --------------------------------------------------------------------- */
.pg-aisrv .pg-aisrv-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding: 0;
  list-style: none;
}

.pg-aisrv .pg-aisrv-flow__step {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 20px 20px 18px;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
}

/* Chevron between steps */
.pg-aisrv-flow__step + .pg-aisrv-flow__step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -23px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--pg-aisrv-accent);
  border-right: 2px solid var(--pg-aisrv-accent);
  transform: translateY(-50%) rotate(45deg);
}

.pg-aisrv-flow__title {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pg-aisrv-tint);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv .pg-aisrv-flow__items {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.pg-aisrv .pg-aisrv-flow__items li {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-aisrv-text);
}

.pg-aisrv .pg-aisrv-flow__items li + li {
  margin-top: 6px;
}


/* ---------------------------------------------------------------------
   13. Technical resources
   --------------------------------------------------------------------- */
.pg-aisrv-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pg-aisrv-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pg-aisrv-line);
  border-radius: var(--pg-aisrv-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pg-aisrv-guide:hover {
  border-color: var(--pg-aisrv-line-blue);
  box-shadow: 0 6px 18px rgba(13, 42, 82, 0.06);
}

/* Focus ring for keyboard users only: a mouse click on the card does not
   leave an outline behind (for example after returning with Back) */
.pg-aisrv-guide:has(.pg-aisrv-guide__link:focus-visible) {
  outline: 3px solid var(--pg-aisrv-sky);
  outline-offset: 2px;
}

@supports not selector(:has(*)) {
  .pg-aisrv-guide:focus-within {
    outline: 3px solid var(--pg-aisrv-sky);
    outline-offset: 2px;
  }
}

.pg-aisrv .pg-aisrv-guide__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e4eaf2;
}

.pg-aisrv-guide__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

.pg-aisrv .pg-aisrv-guide__body > * + * {
  margin-top: 10px;
}

.pg-aisrv .pg-aisrv-guide__title {
  font-size: 18px;
  line-height: 1.4;
}

.pg-aisrv .pg-aisrv-guide__link,
.pg-aisrv .pg-aisrv-guide__link:visited {
  color: var(--pg-aisrv-heading);
  text-decoration: none;
}

.pg-aisrv .pg-aisrv-guide:hover .pg-aisrv-guide__link {
  color: var(--pg-aisrv-primary);
}

/* Whole card is clickable through the title link */
.pg-aisrv-guide__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pg-aisrv .pg-aisrv-guide__link:focus-visible {
  outline: none;
}

.pg-aisrv .pg-aisrv-guide__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pg-aisrv-text);
}

.pg-aisrv .pg-aisrv-guide__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-aisrv-primary);
}

.pg-aisrv-guide__more::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.pg-aisrv-guide:hover .pg-aisrv-guide__more::after {
  transform: translateX(3px);
}

/* Pending state: guides not yet published */
.pg-aisrv-guides--pending .pg-aisrv-guide__link {
  pointer-events: none;
  cursor: default;
}

.pg-aisrv-guides--pending .pg-aisrv-guide__link::after,
.pg-aisrv .pg-aisrv-guides--pending .pg-aisrv-guide__more {
  display: none;
}

.pg-aisrv-guides--pending .pg-aisrv-guide:hover {
  border-color: var(--pg-aisrv-line);
  box-shadow: none;
}

.pg-aisrv .pg-aisrv-guides--pending .pg-aisrv-guide:hover .pg-aisrv-guide__link {
  color: var(--pg-aisrv-heading);
}


/* ---------------------------------------------------------------------
   14. FAQ accordion (centered column)
   --------------------------------------------------------------------- */
.pg-aisrv-faq {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--pg-aisrv-line);
}

.pg-aisrv-faq__item {
  border-bottom: 1px solid var(--pg-aisrv-line);
}

.pg-aisrv-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.pg-aisrv-faq__q::-webkit-details-marker {
  display: none;
}

.pg-aisrv-faq__q::marker {
  content: "";
}

.pg-aisrv-faq__q:focus-visible {
  outline: 3px solid var(--pg-aisrv-sky);
  outline-offset: 4px;
  border-radius: 2px;
}

.pg-aisrv .pg-aisrv-faq__q h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pg-aisrv-heading);
}

.pg-aisrv .pg-aisrv-faq__q:hover h3,
.pg-aisrv .pg-aisrv-faq__item[open] .pg-aisrv-faq__q h3 {
  color: var(--pg-aisrv-primary);
}

/* Plus / minus indicator */
.pg-aisrv-faq__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #c5d5ea;
  border-radius: var(--pg-aisrv-radius-sm);
  background: #fff;
}

.pg-aisrv-faq__icon::before,
.pg-aisrv-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--pg-aisrv-primary);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.pg-aisrv-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pg-aisrv-faq__item[open] .pg-aisrv-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.pg-aisrv-faq__a {
  padding: 0 48px 22px 0;
}

.pg-aisrv .pg-aisrv-faq__a p {
  line-height: 1.7;
  color: var(--pg-aisrv-text);
}


/* ---------------------------------------------------------------------
   15. Phone quote bar (enabled below 768px by the page script)
   --------------------------------------------------------------------- */
.pg-aisrv-sticky {
  display: none;
}


/* ---------------------------------------------------------------------
   16. Responsive: tablet (1024px and below)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pg-aisrv {
    --pg-aisrv-section-y: 64px;
    --pg-aisrv-gap: 40px;
    --pg-aisrv-head-gap: 38px;
    --pg-aisrv-block-gap: 48px;
    --pg-aisrv-card-gap: 24px;
    --pg-aisrv-card-pad: 28px;
  }

  /* Hero */
  .pg-aisrv-hero__overlay {
    background: var(--pg-aisrv-hero-overlay-stacked);
  }

  .pg-aisrv-hero .pg-aisrv-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-aisrv-hero__summary,
  .pg-aisrv-hero__specs {
    max-width: 720px;
  }

  /* Cards with diagrams stack so the panels keep a readable size */
  .pg-aisrv-pair:has(.pg-aisrv-dgm) {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-aisrv .pg-aisrv-card.pg-aisrv-card--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pg-aisrv-dgm__panels {
    justify-content: center;
    grid-template-columns: repeat(2, minmax(0, 250px));
  }

  .pg-aisrv-dgm--tall .pg-aisrv-dgm__panels {
    grid-template-columns: repeat(2, minmax(0, 230px));
  }

  /* Certifications: 2 x 2 */
  .pg-aisrv .pg-aisrv-certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Flow: 2 x 2, chevron hidden where a row wraps */
  .pg-aisrv .pg-aisrv-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-aisrv-flow__step:nth-child(3)::before {
    display: none;
  }

  /* Guides: one column of horizontal cards, no orphan third card */
  .pg-aisrv-guides {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .pg-aisrv-guide {
    flex-direction: row;
  }

  .pg-aisrv-guide__media {
    flex: 0 0 36%;
  }

  .pg-aisrv .pg-aisrv-guide__media img {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }
}


/* ---------------------------------------------------------------------
   17. Responsive: narrow tablet (860px and below)
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .pg-aisrv-pair,
  .pg-aisrv-card__cols,
  .pg-aisrv-rules {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-aisrv-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}


/* ---------------------------------------------------------------------
   18. Responsive: mobile (767px and below)
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pg-aisrv {
    --pg-aisrv-section-y: 52px;
    --pg-aisrv-gap: 32px;
    --pg-aisrv-head-gap: 30px;
    --pg-aisrv-block-gap: 40px;
    --pg-aisrv-card-gap: 20px;
    --pg-aisrv-card-pad: 22px 20px;
  }

  /* Headings read left-aligned on narrow screens */
  .pg-aisrv-head,
  .pg-aisrv-lead {
    text-align: left;
  }

  /* Hero */
  .pg-aisrv-hero__specs {
    padding: 4px 20px;
  }

  .pg-aisrv-hero__spec {
    padding: 14px 0;
  }

  .pg-aisrv-hero__spec dt {
    font-size: 18px;
  }

  /* Reflow tables: each row becomes a labeled block */
  .pg-aisrv-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pg-aisrv .pg-aisrv-table--reflow,
  .pg-aisrv .pg-aisrv-table--reflow tbody,
  .pg-aisrv .pg-aisrv-table--reflow tr,
  .pg-aisrv .pg-aisrv-table--reflow th,
  .pg-aisrv .pg-aisrv-table--reflow td {
    display: block;
    width: 100%;
  }

  .pg-aisrv .pg-aisrv-table--reflow {
    background: transparent;
  }

  .pg-aisrv .pg-aisrv-table--reflow thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pg-aisrv .pg-aisrv-table--reflow tbody tr {
    overflow: hidden;
    border: 1px solid var(--pg-aisrv-line);
    border-radius: var(--pg-aisrv-radius);
    background: #fff;
  }

  .pg-aisrv .pg-aisrv-table--reflow tbody tr + tr {
    margin-top: 12px;
  }

  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--reflow tbody tr > th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pg-aisrv-line);
    background: var(--pg-aisrv-tint);
  }

  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--reflow tbody tr > td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--pg-aisrv-line);
  }

  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--reflow tbody tr > td:last-child {
    border-bottom: 0;
  }

  .pg-aisrv .pg-aisrv-table--reflow td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pg-aisrv-muted);
  }

  /* "What We Control" label in the brand blue, as on the Aerospace page */
  .pg-aisrv .pg-aisrv-table--boards td:last-child::before {
    color: var(--pg-aisrv-primary);
  }

  /* Board-type cards with the script on: every card except the first starts
     closed. The whole title row is the toggle: a transparent button covers
     it and only a chevron shows, the same quiet pattern as the FAQ. The
     button's text stays available to screen readers. */
  .pg-aisrv--js .pg-aisrv-app:not(.is-open) .pg-aisrv-app__more {
    display: none;
  }

  .pg-aisrv.pg-aisrv--js .pg-aisrv-table.pg-aisrv-table--reflow tbody tr.pg-aisrv-app > th {
    position: relative;
    padding-right: 48px;
  }

  /* A closed card is only its title row: no divider under it */
  .pg-aisrv.pg-aisrv--js .pg-aisrv-table.pg-aisrv-table--reflow tbody tr.pg-aisrv-app:not(.is-open) > th {
    border-bottom: 0;
  }

  .pg-aisrv.pg-aisrv--js .pg-aisrv-app__toggle {
    appearance: none;
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--pg-aisrv-primary);
    font: inherit;
    cursor: pointer;
  }

  .pg-aisrv.pg-aisrv--js .pg-aisrv-app__toggle:hover,
  .pg-aisrv.pg-aisrv--js .pg-aisrv-app__toggle:focus,
  .pg-aisrv.pg-aisrv--js .pg-aisrv-app__toggle:active {
    background: transparent;
    color: var(--pg-aisrv-primary-dark);
  }

  /* The card clips its corners, so the focus ring sits inside the title row */
  .pg-aisrv.pg-aisrv--js .pg-aisrv-app__toggle:focus-visible {
    outline-offset: -3px;
  }

  /* Chevron: down when closed, up when open */
  .pg-aisrv-app__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .pg-aisrv-app.is-open .pg-aisrv-app__toggle::after {
    transform: translateY(-20%) rotate(-135deg);
  }

  /* Capability table: three columns with tighter cells. Separate borders so
     the frozen first column at 520px and below keeps its own borders. */
  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec th,
  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec td {
    padding: 11px 12px;
  }

  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec thead th {
    font-size: 13px;
  }

  /* With the script on, rows after the 10th wait behind the button.
     Keep n+11 in step with SPEC_VISIBLE in the page script. */
  .pg-aisrv .pg-aisrv-scroll.is-collapsible:not(.is-expanded) .pg-aisrv-table--spec tbody tr:nth-child(n+11) {
    display: none;
  }

  /* Collapsed: the 10th row's bottom border is the divider above the button.
     Expanded: the last row has no border, so the button draws its own. */
  .pg-aisrv .pg-aisrv-scroll.is-collapsible .pg-aisrv-spec__more {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 13px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    color: var(--pg-aisrv-primary);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    cursor: pointer;
  }

  .pg-aisrv .pg-aisrv-scroll.is-expanded .pg-aisrv-spec__more {
    border-top: 1px solid var(--pg-aisrv-line);
  }

  .pg-aisrv .pg-aisrv-scroll.is-collapsible .pg-aisrv-spec__more:hover,
  .pg-aisrv .pg-aisrv-scroll.is-collapsible .pg-aisrv-spec__more:focus {
    background: #fff;
    color: var(--pg-aisrv-primary-dark);
  }

  .pg-aisrv .pg-aisrv-scroll.is-collapsible .pg-aisrv-spec__more:focus-visible {
    outline-offset: -3px;
  }

  /* Chevron: down when collapsed, up when expanded */
  .pg-aisrv-spec__more::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin: -4px 4px 0 16px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .pg-aisrv-spec__more[aria-expanded="true"]::after {
    margin-top: 4px;
    transform: rotate(-135deg);
  }

  /* Spec grid: one column */
  .pg-aisrv-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-aisrv-options__item {
    padding: 16px 18px;
  }

  /* Cards */
  .pg-aisrv .pg-aisrv-card__title,
  .pg-aisrv .pg-aisrv-band__title {
    font-size: 19px;
  }

  .pg-aisrv-note {
    padding: 16px 18px;
  }

  .pg-aisrv-dgm {
    padding: 14px 12px 10px;
  }

  /* Band */
  .pg-aisrv-band {
    padding: 24px 20px;
  }

  /* Traceability flow: vertical with downward chevrons */
  .pg-aisrv .pg-aisrv-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pg-aisrv-flow__step + .pg-aisrv-flow__step::before,
  .pg-aisrv-flow__step:nth-child(3)::before {
    display: block;
    top: -21px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  /* FAQ */
  .pg-aisrv .pg-aisrv-faq__q h3 {
    font-size: 17px;
  }

  .pg-aisrv-faq__a {
    padding-right: 0;
  }

  /* Phone quote bar */
  .pg-aisrv--js .pg-aisrv-sticky {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pg-aisrv-line);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(13, 42, 82, 0.08);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .pg-aisrv--js .pg-aisrv-sticky.is-visible {
    transform: none;
    visibility: visible;
  }

  .pg-aisrv .pg-aisrv-sticky .pg-aisrv-btn {
    width: 100%;
  }
}


/* ---------------------------------------------------------------------
   19. Phones (600px and below)
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Wide diagrams scale down on phones: larger type keeps labels readable */
  .pg-aisrv-dgm__svg--wide .pg-aisrv-svg__title {
    font-size: 17px;
  }

  .pg-aisrv-dgm__svg--wide .pg-aisrv-svg__label {
    font-size: 16px;
  }

  .pg-aisrv-dgm__svg--wide .pg-aisrv-svg__note {
    font-size: 15px;
  }

  .pg-aisrv-card--wide .pg-aisrv-dgm {
    padding: 12px 8px 8px;
  }

  /* Diagram panels stack at their design width */
  .pg-aisrv-dgm__panels,
  .pg-aisrv-dgm--tall .pg-aisrv-dgm__panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .pg-aisrv .pg-aisrv-certs {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  /* Guides: text-only cards, no thumbnail. Three titles fit on about one screen. */
  .pg-aisrv-guides {
    gap: 12px;
  }

  .pg-aisrv-guide {
    flex-direction: column;
  }

  .pg-aisrv-guide__media {
    display: none;
  }

  .pg-aisrv-guide__body {
    padding: 18px 20px 16px;
  }

  .pg-aisrv .pg-aisrv-guide__body > * + * {
    margin-top: 8px;
  }

  .pg-aisrv .pg-aisrv-guide__title {
    font-size: 17px;
    line-height: 1.4;
  }

  .pg-aisrv .pg-aisrv-guide__body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .pg-aisrv .pg-aisrv-guide__more {
    padding-top: 6px;
  }
}


/* ---------------------------------------------------------------------
   20. Narrow phones (520px and below): capability table scrolls sideways
   The three columns need 520px. Below that the table scrolls inside its
   panel: a narrow frozen parameter column (140px) leaves about 180-240px
   for the values, the standard column shows in full, and the edge of the
   blue project-specific column peeks in at the right. Between 521px and
   767px the table still fits on screen, so the hint stays hidden. If you
   widen the columns, keep this breakpoint at least 40px below
   (sum of the column widths + 42px).
   --------------------------------------------------------------------- */
@media (max-width: 520px) {
  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec {
    table-layout: fixed;
    width: 520px;
    min-width: 520px;
  }

  .pg-aisrv .pg-aisrv-table--spec thead th:nth-child(1) { width: 140px; }
  .pg-aisrv .pg-aisrv-table--spec thead th:nth-child(2) { width: 165px; }
  .pg-aisrv .pg-aisrv-table--spec thead th:nth-child(3) { width: 215px; }

  /* Frozen parameter column; opaque backgrounds cover the cells sliding under it */
  .pg-aisrv .pg-aisrv-table.pg-aisrv-table--spec th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 var(--pg-aisrv-line), 4px 0 8px -4px rgba(13, 42, 82, 0.12);
  }

  .pg-aisrv-scroll::after {
    content: "Swipe \2194  to view full table";
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--pg-aisrv-faint);
  }
}


/* ---------------------------------------------------------------------
   21. Small phones (480px and below)
   --------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Cert names wrap cleanly without leading dividers */
  .pg-aisrv-hero__certs {
    gap: 6px 20px;
  }

  .pg-aisrv-hero__certs li + li::before {
    display: none;
  }

  .pg-aisrv-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pg-aisrv .pg-aisrv-hero__actions .pg-aisrv-btn,
  .pg-aisrv .pg-aisrv-band__btn {
    width: 100%;
  }

  .pg-aisrv-band {
    align-items: stretch;
  }
}


/* ---------------------------------------------------------------------
   22. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pg-aisrv *,
  .pg-aisrv *::before,
  .pg-aisrv *::after {
    transition: none !important;
  }
}