/* Product pages (the eight product URLs). Generated by tools/site-gen/build_products.py.
   Shared lists, steps, data table and product card live in sections.css. */

/* ---------- Page head ---------- */
.pd-head { background: var(--steel-100); border-bottom: 1px solid var(--steel-200); padding: 32px 0 48px; }
.pd-head-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.pd-crumb ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--ink-2); }
.pd-crumb li + li::before { content: "/"; margin-right: 6px; color: var(--steel-500); }
.pd-crumb a { font-weight: 600; }
.pd-brand { margin: 0 0 8px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pd-head h1 { margin: 0 0 16px; font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.04; color: var(--ink); }
.pd-lead { margin: 0 0 20px; max-width: 54ch; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.pd-head .badges { margin: 0 0 24px; }
.pd-head .chip:not(.fire) { background: var(--paper); border-color: var(--steel-200); }
.pd-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-partner { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); }
.pd-docs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.pd-docs a { font-weight: 600; }
.pd-docs span { color: var(--ink-2); font-weight: 400; }
.pd-figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border: 1px solid var(--steel-200); border-radius: 8px; background: var(--paper); }
.pd-figure img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.pd-notice { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid var(--fire); background: var(--paper); border-radius: 0 4px 4px 0; color: var(--ink); }

/* ---------- Key facts ---------- */
.pd-facts { background: var(--paper); border-bottom: 1px solid var(--steel-200); }
.pd-facts ul { list-style: none; margin: 0; padding: 32px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pd-facts strong { display: block; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-facts span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }

/* ---------- Where to use / limits ---------- */
.pd-use-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.pd-col { padding: 32px; border-radius: 8px; }
.pd-col.yes { border: 1px solid var(--steel-200); background: var(--paper); }
.pd-col.no { background: var(--steel-100); }
.pd-col h2 { margin: 0 0 20px; font-size: 1.5rem; color: var(--ink); }
.pd-col .ap-points { margin: 0; }
.pd-col .ap-points a { font-weight: 600; }
.pd-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-limits li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.pd-limits .ic { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--ink); }
/* Links inside running text need more than colour (WCAG 1.4.1) */
.pd-limits a, .step-list p a, .pd-how-aside p a:not(.u-link) { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- B1 / B2 / B3 explainer (5145) ---------- */
.pd-classes { border-top: 1px solid var(--steel-200); }
.pd-classes h2 { margin-bottom: 8px; }
.pd-classes-lead { margin: 0 0 24px; color: var(--ink-2); }
.pd-classes-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-classes-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--steel-200); border-radius: 8px; background: var(--paper); }
.pd-classes-list li.is-this { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pd-classes-list .chip { flex: 0 0 auto; font-size: 14px; }
.pd-classes-list strong { display: block; margin-bottom: 4px; color: var(--ink); }
.pd-classes-list p { margin: 0; color: var(--ink-2); }
.pd-classes .ap-guardrail { max-width: 860px; }
.pd-classes .ap-guardrail a, .pd-classes-list a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Technical data ---------- */
.pd-data { background: var(--steel-100); }
.pd-data h2 { margin-bottom: 20px; }
.pd-data h3 { margin: 40px 0 16px; font-size: 1.375rem; color: var(--ink); }
.data-table.wide { max-width: none; }
.data-table.wide th[scope="row"] { width: auto; }
.data-table.wide td { white-space: nowrap; }
.data-table.wide thead th { font-size: 14px; background: var(--steel-100); }
.data-table .std { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 14px; color: var(--ink-2); }
.pd-data .note, .pd-legacy .note { margin: 16px 0 0; max-width: 760px; font-size: 15px; color: var(--ink-2); }
.pd-legacy { background: var(--paper); }
.pd-legacy .data-table { margin-top: 8px; }
.pd-class { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; }
.pd-class div { padding: 20px; border: 1px solid var(--steel-200); border-radius: 8px; background: var(--paper); }
.pd-class h4 { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
.pd-class ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.pd-subs { margin: 0; max-width: 960px; display: grid; gap: 12px; }
.pd-subs div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 16px; border: 1px solid var(--steel-200); border-radius: 8px; background: var(--paper); }
.pd-subs dt { font-weight: 600; color: var(--ink); }
.pd-subs dd { margin: 0; color: var(--ink-2); }

/* ---------- How to apply ---------- */
.pd-how { background: var(--paper); }
.pd-how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.pd-how-aside p { margin: 0 0 16px; max-width: 44ch; color: var(--ink-2); }
.pd-how-aside .u-link { display: inline-block; }
.pd-how h3.pd-sub { margin: 0 0 20px; font-size: 1.25rem; color: var(--ink); }
.pd-how .step-list + h3.pd-sub { margin-top: 16px; }
.pd-care { margin-top: 24px; border-top: 1px solid var(--steel-200); }
.pd-care details { border-bottom: 1px solid var(--steel-200); }
.pd-care summary { padding: 14px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.pd-care details p { margin: 0 0 16px; max-width: 64ch; color: var(--ink-2); }

/* ---------- Works with, related ---------- */
.pd-pairs { background: var(--steel-100); border-top: 1px solid var(--steel-200); }
.pd-pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-related { margin-top: 40px; }
.pd-related h3 { margin: 0 0 12px; font-size: 1.25rem; color: var(--ink); }
.pd-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- Catalogue (/products/): families, each with cards and a "which one" column ---------- */
.pl-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; }
.pl-head .pd-lead a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pl-jump ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--steel-200); }
.pl-jump li { border-bottom: 1px solid var(--steel-200); }
.pl-jump a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 4px; font-weight: 600; color: var(--ink); }
.pl-jump a:hover, .pl-jump a:focus { color: var(--accent); }
.pl-n { flex: 0 0 auto; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.pl-list { background: var(--paper); padding-bottom: 40px; }
.pl-fam { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; grid-template-areas: "head cards" "choose cards"; column-gap: 56px; padding: 56px 0; }
.pl-fam + .pl-fam { border-top: 1px solid var(--steel-200); }
.pl-fam-head { grid-area: head; }
.pl-fam-head h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; color: var(--ink); }
.pl-fam-head p { margin: 0; color: var(--ink-2); }
.pl-choose { grid-area: choose; }
.pl-choose .ap-points a { font-weight: 600; }
.pl-choose .ap-guardrail { font-size: 15px; }
.pl-grid { grid-area: cards; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
/* The heading link covers the whole card, so each card is one link named after the product */
.pl-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--steel-200); border-radius: 8px; background: var(--paper); transition: border-color var(--dur-fast) var(--ease-out); }
.pl-card:hover { border-color: var(--steel-500); }
.pl-img { padding: 8px 16px; border-bottom: 1px solid var(--steel-200); }
.pl-img img { display: block; width: 100%; height: auto; transition: transform var(--dur-fast) var(--ease-out); }
.pl-card:hover .pl-img img { transform: scale(1.03); }
.pl-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 24px 24px; }
.pl-pack { margin: 0 0 6px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pl-card h3 { margin: 0 0 8px; font-size: 1.375rem; line-height: 1.2; }
.pl-card h3 a, .pl-card h3 a:hover, .pl-card h3 a:focus { color: var(--ink); text-decoration: none; }
.pl-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.pl-card h3 a:focus { outline: none; }
.pl-card h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.pl-body > p { margin: 0 0 16px; color: var(--ink-2); }
.pl-body .badges { margin: 0 0 16px; }
.pl-more { margin-top: auto; font-weight: 600; color: var(--accent); }
.pl-card:hover .arr { transform: translateX(4px); }
.pl-card.wide { grid-column: 1 / -1; flex-direction: row; }
.pl-card.wide .pl-img { flex: 0 0 36%; display: flex; align-items: center; justify-content: center; border-bottom: 0; border-right: 1px solid var(--steel-200); }
.pl-img.can { padding: 24px; background: var(--steel-100); }
.pl-img.can img { width: auto; height: 300px; }
.pl-head h1 { text-wrap: balance; }
.pl-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pl-facts strong { display: block; font-size: 1.25rem; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-facts span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--ink-2); }

@media (max-width: 1023px) {
  .pl-head-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pl-fam { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "cards" "choose"; row-gap: 24px; padding: 48px 0; }
  .pd-head-grid, .pd-how-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pd-figure { max-width: 520px; }
  .pd-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pd-head { padding: 20px 0 32px; }
  .pd-lead { font-size: 1.0625rem; }
  .pd-ctas .btn { flex: 1 1 auto; text-align: center; }
  .pd-figure { aspect-ratio: 16 / 10; }
  .pd-facts ul { padding: 24px 0; gap: 20px 16px; }
  .pd-use-grid, .pd-class, .pd-pgrid, .pd-classes-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pd-col { padding: 24px; }
  .pd-subs div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .data-table.wide { min-width: 640px; }
  .pl-jump ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .pl-jump a { flex-direction: column; gap: 2px; padding: 10px 0; }
  .pl-fam { padding: 40px 0; }
  .pl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pl-card.wide { flex-direction: column; }
  .pl-card.wide .pl-img { border-right: 0; border-bottom: 1px solid var(--steel-200); }
  .pl-img img { max-width: 280px; margin: 0 auto; }
  .pl-img.can img { height: 220px; }
  .pl-body { padding: 16px 20px 20px; }
  .pl-facts { gap: 12px; }
  .pl-facts strong { font-size: 1.125rem; }
}

/* ============ Copy rewrite (19 Oct 2026): quote links on cards, four facts on the 5145 card ============ */
.pl-quote { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 8px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pl-quote .icon { width: 18px; height: 18px; margin: 0; }
.pl-facts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
