/* PYRATZ inner pages: shared values and components.
   Loaded on every page except the home. The page stylesheets (investors,
   editorial, portfolio, about) only use the values declared here.
   Budget: 9 text sizes, 4 weights, 4 radii, 18 colours. */
.fr-internal {
  /* Colours */
  --pz-red: #e50000;
  --pz-red-ink: #b00000;
  --pz-red-soft: #ff9a91;
  --pz-red-deep: #780006;
  --pz-ink: #151515;
  --pz-night: #050812;
  --pz-muted: #555555;
  --pz-line: #dcdcd9;
  --pz-line-strong: #8c8c88;
  --pz-white: #ffffff;
  --pz-paper: #f5f4f2;
  --pz-mat: #eceae6;
  --pz-deep-raised: #232323;
  --pz-on-deep-muted: #cfcfcb;
  --pz-line-on-deep: #4a4a48;
  --pz-shadow: 0 12px 40px rgb(21 21 21 / .14);
  --pz-scrim: linear-gradient(transparent, rgb(0 0 0 / .72));
  --pz-backdrop: rgb(12 12 12 / .86);
  /* Text sizes */
  --pz-fs-h1: clamp(2.25rem, 1.2rem + 3.4vw, 4rem);
  --pz-fs-h2: clamp(1.75rem, 1.15rem + 1.7vw, 2.5rem);
  --pz-fs-h3: clamp(1.25rem, 1.08rem + .5vw, 1.5rem);
  --pz-fs-h4: 1.125rem;
  --pz-fs-stat: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  --pz-fs-lead: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  --pz-fs-body: 1rem;
  --pz-fs-small: .875rem;
  --pz-fs-xs: .8125rem;
  /* Weights */
  --pz-fw-regular: 400;
  --pz-fw-semi: 600;
  --pz-fw-bold: 700;
  --pz-fw-display: 760;
  /* Corner radii */
  --pz-r-sm: 8px;
  --pz-r-md: 16px;
  --pz-r-lg: 24px;
  --pz-r-pill: 999px;
  /* Spacing */
  --pz-gap: clamp(16px, 1.6vw, 24px);
  --pz-col-gap: clamp(24px, 5vw, 80px);
  --pz-block: clamp(32px, 4vw, 56px);
  --pz-section: clamp(56px, 7vw, 112px);
  /* Height of the site header */
  --pz-header: 80px;
}

/* Base */
:where(.fr-internal) main { color: var(--pz-ink); font-size: var(--pz-fs-body); line-height: 1.55; background: var(--pz-white); }
:where(.fr-internal main) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.fr-internal main) :is(h1, h2, h3, h4) { color: inherit; text-wrap: balance; }
:where(.fr-internal main) h1 { font-size: var(--pz-fs-h1); font-weight: var(--pz-fw-display); line-height: 1.03; letter-spacing: -.05em; }
:where(.fr-internal main) h2 { font-size: var(--pz-fs-h2); font-weight: var(--pz-fw-display); line-height: 1.08; letter-spacing: -.045em; }
:where(.fr-internal main) h3 { font-size: var(--pz-fs-h3); font-weight: var(--pz-fw-bold); line-height: 1.2; letter-spacing: -.03em; }
:where(.fr-internal main) h4 { font-size: var(--pz-fs-h4); font-weight: var(--pz-fw-bold); line-height: 1.3; letter-spacing: -.02em; }
:where(.fr-internal main) :is(strong, b) { font-weight: var(--pz-fw-semi); }
:where(.fr-internal main) a { color: inherit; }
:where(.fr-internal main) img { display: block; max-width: 100%; }
:where(.fr-internal main) :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--pz-red-ink); outline-offset: 3px; }
:where(.fr-internal main) summary { list-style: none; cursor: pointer; }
:where(.fr-internal main) summary::-webkit-details-marker { display: none; }
.pz-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page width: the same column as the footer */
.pz-wrap { width: min(84%, 1550px); margin-inline: auto; }

/* Page header: the one opening used by every inner page */
.pz-pagehead { position: relative; z-index: 6; padding-top: clamp(40px, 5.5vw, 88px); }
.pz-pagehead-grid { display: grid; align-items: start; gap: clamp(28px, 5vw, 80px); padding-bottom: var(--pz-block); }
.pz-pagehead-grid:has(> .pz-pagehead-aside) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pz-pagehead-copy { min-width: 0; }
.pz-pagehead h1 { max-width: 18ch; overflow-wrap: break-word; }
.pz-pagehead .pz-lead { max-width: 52ch; margin-top: 20px; }
.pz-pagehead .pz-fine { max-width: 62ch; margin-top: 16px; }
.pz-pagehead .pz-actions { margin-top: 28px; }
.pz-pagehead-aside { min-width: 0; }
/* Tones: the same header on the soft surface, the red surface, the dark surface, or a picture.
   Like the home page, a toned header runs to the top of the page, under the site header. */
.fr-internal:has(.pz-pagehead-immersive) .fr-header { height: 80px; margin-bottom: -80px; }
.pz-pagehead-immersive { padding-top: calc(80px + clamp(40px, 5.5vw, 88px)); }
.pz-pagehead-immersive .pz-pagehead-grid { padding-bottom: clamp(40px, 5.5vw, 88px); }
.pz-pagehead-paper { background: var(--pz-paper); }
.pz-pagehead-paper .pz-card { background: var(--pz-white); }
.pz-pagehead-dark { color: var(--pz-white); }
.pz-pagehead-dark .pz-kicker { color: var(--pz-white); }
.pz-pagehead-dark :is(.pz-meta, .pz-fine) { color: var(--pz-on-deep-muted); }
.pz-pagehead-dark :is(a, button, summary):focus-visible { outline-color: var(--pz-white); }
.pz-pagehead-dark .pz-card { color: var(--pz-ink); }
.pz-pagehead-dark .pz-card :is(a, button):focus-visible { outline-color: var(--pz-red-ink); }
.pz-pagehead-brand { background: var(--pz-red); }
.pz-pagehead-brand :is(.pz-meta, .pz-fine) { color: var(--pz-white); }
.pz-pagehead-deep { background: var(--pz-ink); }
.pz-pagehead-deep .pz-kicker { color: var(--pz-red-soft); }
.pz-pagehead-media { --pz-veil: linear-gradient(90deg, color-mix(in srgb, var(--pz-night) 96%, transparent), color-mix(in srgb, var(--pz-night) 78%, transparent) 32%, color-mix(in srgb, var(--pz-night) 10%, transparent) 76%); display: grid; align-items: center; min-height: calc(80px + clamp(430px, 37vw, 650px)); overflow: hidden; background: var(--pz-night); }
.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-grid:has(> .pz-pagehead-aside) { grid-template-columns: minmax(0, 1fr); }
.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-aside { position: absolute; inset: 0; z-index: -1; }
.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-aside > * { display: block; width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto; }
.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-aside img { width: 100%; height: 100%; object-fit: cover; }
.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-aside::after { content: ""; position: absolute; inset: 0; background: var(--pz-veil); }
/* A backdrop: the picture fills the header behind the text and the aside, under the veil */
.pz-pagehead-backdrop { --pz-focus: 50% 50%; position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pz-pagehead-backdrop picture { display: contents; }
.pz-pagehead-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pz-focus); }
.pz-pagehead-backdrop::after { content: ""; position: absolute; inset: 0; background: var(--pz-veil); }

/* Like on the home page, the white page comes up over a toned header as a sheet with round corners, and the header
   lags a little behind the scroll: the picture most, the text slightly. The lag is tied to the scroll by the browser
   (no script); where it cannot be, or when motion is not welcome, only the round sheet remains.
   Pyratz Intelligence keeps its own continuous ground and is left out. */
.fr-internal:not(.fi-shell) .pz-pagehead-immersive { padding-bottom: var(--pz-r-lg); }
.fr-internal:not(.fi-shell) .pz-pagehead-immersive::after { content: ""; position: absolute; inset: auto 0 0; height: var(--pz-r-lg); border-top-left-radius: var(--pz-r-lg); border-top-right-radius: var(--pz-r-lg); background: var(--pz-white); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fr-internal:not(.fi-shell) .pz-pagehead-immersive { view-timeline: --pz-head block; }
    /* The text lags a little behind the page. Where the picture of the header lives inside the grid, only the
       text moves: a moving grid would become the frame of the picture and shrink it to the column. */
    .fr-internal:not(.fi-shell) .pz-pagehead-immersive:is(:not(.pz-pagehead-media), .pz-pagehead-backdropped) .pz-pagehead-grid,
    .fr-internal:not(.fi-shell) .pz-pagehead-immersive.pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-grid > :not(.pz-pagehead-aside) { animation: pz-lag linear both; animation-timeline: --pz-head; animation-range: exit 0% exit 100%; }
    .fr-internal:not(.fi-shell) :is(.pz-pagehead-backdrop, .pz-pagehead-media:not(.pz-pagehead-backdropped) .pz-pagehead-aside) :is(img, video) { height: 110%; animation: pz-lag-far linear both; animation-timeline: --pz-head; animation-range: exit 0% exit 100%; }
    @keyframes pz-lag { to { translate: 0 5%; } }
    @keyframes pz-lag-far { from { translate: 0 -9.09%; } to { translate: 0 0; } }
  }
}

/* Small text roles */
.pz-kicker { margin-bottom: 16px; color: var(--pz-red-ink); font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.3; letter-spacing: -.01em; }
.pz-lead { font-size: var(--pz-fs-lead); line-height: 1.45; letter-spacing: -.015em; text-wrap: pretty; }
.pz-meta { color: var(--pz-muted); font-size: var(--pz-fs-small); line-height: 1.45; }
.pz-fine { color: var(--pz-muted); font-size: var(--pz-fs-small); line-height: 1.5; }
.pz-badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-sm); color: var(--pz-muted); font-size: var(--pz-fs-xs); line-height: 1.45; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Actions: two button styles and one text link.
   The .fr-internal prefix keeps these values ahead of the generic `font: inherit`
   reset that fr-site.css applies to every button and input. */
.pz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.fr-internal .pz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--pz-ink); border-radius: var(--pz-r-pill); background: var(--pz-ink); color: var(--pz-white); font: inherit; font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.2; letter-spacing: -.01em; text-decoration: none; cursor: pointer; }
.fr-internal .pz-btn:hover { border-color: var(--pz-red-ink); background: var(--pz-red-ink); color: var(--pz-white); }
.fr-internal .pz-btn-ghost { border-color: var(--pz-line-strong); background: transparent; color: var(--pz-ink); }
.fr-internal .pz-btn-ghost:hover { border-color: var(--pz-ink); background: transparent; color: var(--pz-ink); }
.fr-internal .pz-deep .pz-btn, .fr-internal .pz-btn-light { border-color: var(--pz-white); background: var(--pz-white); color: var(--pz-ink); }
.fr-internal .pz-deep .pz-btn:hover, .fr-internal .pz-btn-light:hover { border-color: var(--pz-paper); background: var(--pz-paper); color: var(--pz-red-ink); }
.fr-internal .pz-link { font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.fr-internal .pz-link:hover { color: var(--pz-red-ink); text-decoration-thickness: 2px; }
.fr-internal .pz-deep .pz-link:hover { color: var(--pz-red-soft); }
.fr-internal .pz-pagehead-dark .pz-pagehead-copy .pz-btn { border-color: var(--pz-white); background: var(--pz-white); color: var(--pz-ink); }
.fr-internal .pz-pagehead-dark .pz-pagehead-copy .pz-btn:hover { border-color: var(--pz-paper); background: var(--pz-paper); color: var(--pz-red-ink); }
.fr-internal .pz-pagehead-dark .pz-pagehead-copy .pz-link:hover { color: var(--pz-white); }

/* Pill bar: one rounded bar holding a row of choices; the current one is filled.
   It is as wide as its content. Under a page header it lists the sections of the page
   and follows the reader; elsewhere it is a row of tabs or filters. */
.pz-pillbar { display: flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; padding: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border: 1px solid var(--pz-line); border-radius: var(--pz-r-pill); background: var(--pz-white); }
.pz-pillbar::-webkit-scrollbar { display: none; }
.pz-pillbar[hidden] { display: none; }
.fr-internal .pz-pillbar :is(a, .pz-tab) { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border: 1px solid transparent; border-radius: var(--pz-r-pill); background: transparent; color: var(--pz-ink); font: inherit; font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.fr-internal .pz-pillbar :is(a, .pz-tab):hover { background: var(--pz-paper); }
.fr-internal .pz-pillbar :is(a, .pz-tab):is([aria-current], [aria-selected="true"], [aria-pressed="true"]), .fr-internal .pz-pillbar input:checked + .pz-tab { border-color: var(--pz-ink); background: var(--pz-ink); color: var(--pz-white); }
.pz-pillbar-float, .pz-subnav-bar .pz-pillbar { box-shadow: var(--pz-shadow); }
/* Under a page header: the bar floats below the site header and follows the reader */
.pz-subnav-bar { position: sticky; top: calc(var(--pz-header) + 4px); z-index: 5; margin-top: 20px; pointer-events: none; }
.pz-subnav-bar .pz-pillbar { pointer-events: auto; }
.fr-internal:has(.pz-subnav-bar, .pz-filterbar) main [id] { scroll-margin-top: 84px; }
/* On phones a filter bar takes two rows (102px instead of 54) */
@media (max-width: 599px) { .fr-internal:has(.pz-filterbar) main [id] { scroll-margin-top: 132px; } }
/* Bars that follow the reader: section bars, filter bars and any bar marked pz-stick. While the
   site navigation steps aside (fr-tucked), a bar rises to the line of the « Comment investir »
   button, no wider than the room to its left; where that room is too narrow (phones) it sits
   just below the button. fr-system.js measures both places (--pz-tuck-top, --pz-tuck-room). */
:is(.pz-subnav-bar, .pz-filterbar, .pz-stick) { --pz-tuck-top: calc(var(--pz-header) + 4px); }
/* The bars rise by --pz-tuck-lift: links to a section then stop that much higher, so the gap between
   the bar and the section stays the same (76px is the scroll padding of main.css). */
:root { --pz-tuck-lift: 0px; }
.fr-tucked { scroll-padding-top: calc(76px - var(--pz-tuck-lift, 0px)); }
:is(.pz-subnav-bar .pz-pillbar, .pz-filterbar, .pz-stick) { --pz-tuck-room: 100%; }
.fr-tucked :is(.pz-subnav-bar, .pz-filterbar, .pz-stick) { top: var(--pz-tuck-top); }
.fr-tucked :is(.pz-subnav-bar .pz-pillbar, .pz-filterbar, .pz-stick) { max-width: var(--pz-tuck-room); }
@media (prefers-reduced-motion: no-preference) {
  .pz-subnav-bar { transition: top .24s cubic-bezier(.22, .78, .2, 1); }
  .pz-subnav-bar .pz-pillbar { transition: max-width .24s cubic-bezier(.22, .78, .2, 1); }
  :is(.pz-filterbar, .pz-stick) { transition: top .24s cubic-bezier(.22, .78, .2, 1), max-width .24s cubic-bezier(.22, .78, .2, 1); }
  .fr-tucked .pz-subnav-bar { transition-duration: .32s; }
  .fr-tucked .pz-subnav-bar .pz-pillbar, .fr-tucked :is(.pz-filterbar, .pz-stick) { transition-duration: .32s; }
}
/* A pill bar that filters a list: choices (each with its count in brackets), a menu and the
   search field, on one row. When space runs short the choices scroll sideways; on phones the
   choices take the first row and the other controls the second. The result count is spoken
   by screen readers (pz-sr) but not shown. */
.pz-filterbar { position: sticky; top: calc(var(--pz-header) + 4px); z-index: 5; gap: 8px; overflow: visible; }
.pz-filterbar-group { flex: 0 1 auto; min-inline-size: 0; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; border: 0; }
.pz-filterbar-choices { display: flex; gap: 4px; }
.fr-internal .pz-filterbar .pz-tab { padding-inline: 14px; }
/* When the choices are wider than the bar they scroll sideways: the last visible one fades out
   to show there is more, and the fade goes as the reader reaches the end. */
@property --pz-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
.pz-filterbar-group { -webkit-mask: linear-gradient(90deg, var(--pz-ink) calc(100% - var(--pz-fade)), transparent); mask: linear-gradient(90deg, var(--pz-ink) calc(100% - var(--pz-fade)), transparent); }
@supports (animation-timeline: scroll()) {
  .pz-filterbar-group { animation: pz-more linear both; animation-timeline: scroll(self inline); }
  @keyframes pz-more { from { --pz-fade: 44px; } to { --pz-fade: 0px; } }
}
.pz-filterbar-choices label { position: relative; display: flex; cursor: pointer; }
.pz-filterbar-choices input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.pz-filterbar-search { position: relative; flex: 1 1000 13rem; min-width: 9.5rem; }
.fr-internal .pz-filterbar-search .pz-input { min-height: 40px; padding: 8px 8px 8px 38px; border-color: transparent; border-radius: var(--pz-r-pill); background: var(--pz-paper); font-size: var(--pz-fs-small); }
.fr-internal .pz-filterbar-search .pz-input:focus-visible { border-color: var(--pz-ink); outline-offset: 1px; }
.pz-filterbar-search::before, .pz-filterbar-search::after { content: ""; position: absolute; z-index: 1; color: var(--pz-muted); pointer-events: none; }
.pz-filterbar-search::before { top: calc(50% - 8px); left: 14px; width: 13px; height: 13px; border: 1.6px solid; border-radius: var(--pz-r-pill); }
.pz-filterbar-search::after { top: calc(50% + 5px); left: 24px; width: 6px; border-top: 1.6px solid; transform: rotate(45deg); }
/* The clear button of the search fields: a small grey disc with a cross instead of the browser's own */
.pz-filterbar-search .pz-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 0 4px 0 8px; background: var(--pz-muted); cursor: pointer; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm2.6 4.3L8 6.9 5.4 4.3 4.3 5.4 6.9 8l-2.6 2.6 1.1 1.1L8 9.1l2.6 2.6 1.1-1.1L9.1 8l2.6-2.6-1.1-1.1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm2.6 4.3L8 6.9 5.4 4.3 4.3 5.4 6.9 8l-2.6 2.6 1.1 1.1L8 9.1l2.6 2.6 1.1-1.1L9.1 8l2.6-2.6-1.1-1.1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pz-filterbar-search .pz-input::-webkit-search-cancel-button:hover { background: var(--pz-ink); }
/* A count in brackets inside a pill or a menu choice */
.pz-count { margin-left: .3em; color: var(--pz-muted); font-weight: var(--pz-fw-regular); font-variant-numeric: tabular-nums; }
.fr-internal .pz-pillbar input:checked + .pz-tab .pz-count, .fr-internal .pz-pillbar [aria-current] .pz-count { color: color-mix(in srgb, var(--pz-white) 72%, transparent); }

/* Menu: a pill button that opens a list of choices (fr-system.js) */
.pz-menu { position: relative; flex: none; min-width: 0; }
.fr-internal .pz-menu-button { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 40px; padding: 8px 16px 8px 18px; border: 1px solid transparent; border-radius: var(--pz-r-pill); background: var(--pz-paper); color: var(--pz-ink); font: inherit; font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out; }
.fr-internal .pz-menu-button:hover, .pz-menu.is-open .pz-menu-button { background: var(--pz-mat); }
.pz-menu-button::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 2px 0 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s ease-out, margin .15s ease-out; }
.pz-menu.is-open .pz-menu-button::after { margin-top: 3px; transform: rotate(225deg); }
.pz-menu-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pz-menu-list { position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; display: grid; align-content: start; gap: 2px; width: max-content; min-width: max(100%, 15rem); max-width: min(25rem, calc(100vw - 40px)); max-height: min(23rem, 62svh); margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; list-style: none; border: 1px solid var(--pz-line); border-radius: var(--pz-r-md); background: var(--pz-white); box-shadow: var(--pz-shadow); }
.pz-menu-list[hidden] { display: none; }
.pz-menu-list [role="option"] { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: var(--pz-r-sm); color: var(--pz-ink); font-size: var(--pz-fs-small); line-height: 1.3; cursor: pointer; }
.pz-menu-list [role="option"].is-active { background: var(--pz-paper); }
.pz-menu-list .pz-count { margin-left: auto; }
.pz-menu-list [role="option"]::after { content: ""; flex: none; width: 5px; height: 9px; margin: -3px 3px 0 0; border: solid var(--pz-red-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); visibility: hidden; }
.pz-menu-list [aria-selected="true"] { font-weight: var(--pz-fw-semi); }
.pz-menu-list [aria-selected="true"]::after { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .pz-menu-list:not([hidden]) { animation: pz-menu-in .16s ease-out; }
  @keyframes pz-menu-in { from { opacity: 0; translate: 0 -6px; } }
}
/* A padded section already brings its own space: its content lands at the same height */
.fr-internal:has(.pz-subnav-bar, .pz-filterbar) main .pz-section[id] { scroll-margin-top: calc(84px - var(--pz-section)); }
@media (max-width: 599px) { .fr-internal:has(.pz-filterbar) main .pz-section[id] { scroll-margin-top: calc(132px - var(--pz-section)); } }
.fr-internal:has(.pz-subnav-bar) main .pz-section:not(.pz-paper, .pz-deep) + .pz-section:not(.pz-paper, .pz-deep)[id] { scroll-margin-top: 84px; }

/* Sections */
.pz-section { padding-block: var(--pz-section); }
.pz-section:not(.pz-paper, .pz-deep) + .pz-section:not(.pz-paper, .pz-deep) { padding-top: 0; }
.pz-paper { background: var(--pz-paper); }
.pz-deep { background: var(--pz-ink); color: var(--pz-white); }
.pz-deep .pz-kicker { color: var(--pz-red-soft); }
.pz-deep :is(a, button, summary):focus-visible { outline-color: var(--pz-white); }
.pz-sectionhead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 16px var(--pz-col-gap); margin-bottom: clamp(28px, 3.4vw, 52px); }
.pz-sectionhead > :only-child { grid-column: 1 / -1; }
.pz-sectionhead h2 { max-width: 20ch; }
.pz-sectionhead p:not(.pz-kicker) { max-width: 50ch; color: var(--pz-muted); font-size: var(--pz-fs-lead); line-height: 1.45; letter-spacing: -.015em; }
.pz-deep .pz-sectionhead p:not(.pz-kicker) { color: var(--pz-on-deep-muted); }

/* Split: section title on the left, content on the right */
.pz-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 20px var(--pz-col-gap); padding-block: var(--pz-block); }
.pz-split > h2, .pz-split-title h2 { max-width: 16ch; }
.pz-split-body { min-width: 0; }
.pz-split-body > * + * { margin-top: 20px; }
.pz-split-body > p { max-width: 68ch; }
.pz-split-body > .pz-link { display: inline-block; }
/* A list that opens a section: the section line already separates it */
.pz-split-body > .pz-rows:first-child > :first-child { border-top: 0; padding-top: 0; }
.pz-split-body > .pz-rows:first-child > :first-child > .pz-doc { padding-top: 0; }
.pz-split-body > .pz-acc:first-child, .pz-split-body > :first-child > .pz-acc:first-child { border-top: 0; }
.pz-split-body > .pz-acc:first-child > summary, .pz-split-body > :first-child > .pz-acc:first-child > summary { align-items: start; min-height: 46px; padding-top: 0; }
.pz-split-body > .pz-acc:first-child > summary::after, .pz-split-body > :first-child > .pz-acc:first-child > summary::after { margin-top: 6px; }

/* Surfaces */
.pz-card { padding: clamp(24px, 2.6vw, 40px); border-radius: var(--pz-r-lg); background: var(--pz-paper); }
.pz-media { overflow: hidden; border-radius: var(--pz-r-md); background: var(--pz-mat); }
.pz-note { max-width: 68ch; padding: 20px 24px; border-radius: var(--pz-r-md); background: var(--pz-paper); color: var(--pz-ink); font-size: var(--pz-fs-small); line-height: 1.55; }

/* Rows: plain lists separated by a hairline */
.pz-rows { list-style: none; padding: 0; }
.pz-rows > * { border-top: 1px solid var(--pz-line); }
.pz-doc { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; align-items: baseline; gap: 4px 24px; padding-block: 16px; color: inherit; text-decoration: none; }
.pz-doc time { color: var(--pz-muted); font-size: var(--pz-fs-small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pz-doc strong { font-weight: var(--pz-fw-semi); line-height: 1.4; }
.pz-doc:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* Disclosure rows (questions, archives, kit) */
.pz-acc { border-top: 1px solid var(--pz-line); }
.pz-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-block: 14px; font-size: var(--pz-fs-h4); font-weight: var(--pz-fw-semi); line-height: 1.3; letter-spacing: -.015em; }
.pz-acc > summary::after, .pz-chevron::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.pz-acc[open] > summary::after, [open] > .pz-chevron::after, .pz-chevron[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.pz-acc > summary:hover { color: var(--pz-red-ink); }

/* Tabs and filters: pills */
.pz-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-internal .pz-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-pill); background: var(--pz-white); color: var(--pz-ink); font: inherit; font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.fr-internal .pz-tab:hover { border-color: var(--pz-ink); }
.fr-internal .pz-tab:is([aria-selected="true"], [aria-current], [aria-pressed="true"]), .fr-internal input:checked + .pz-tab { border-color: var(--pz-ink); background: var(--pz-ink); color: var(--pz-white); }
input:focus-visible + .pz-tab { outline: 3px solid var(--pz-red-ink); outline-offset: 3px; }
.pz-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pz-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-pill); font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.2; text-decoration: none; }
a.pz-chip:hover { border-color: var(--pz-ink); }

/* Fields */
.fr-internal .pz-input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--pz-line-strong); border-radius: var(--pz-r-sm); background: var(--pz-white); color: var(--pz-ink); font: inherit; font-size: var(--pz-fs-body); font-weight: var(--pz-fw-regular); }
.fr-internal .pz-input::placeholder { color: var(--pz-muted); }

/* Figures in numbers */
.pz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px var(--pz-gap); }
/* Three figures share one row and only wrap when a value no longer fits */
.pz-stats:has(> :nth-child(3):last-child) { display: flex; flex-wrap: wrap; }
.pz-stats:has(> :nth-child(3):last-child) > div { flex: 1 1 0; min-width: min-content; }
.pz-stats > div { display: flex; flex-direction: column; min-width: 0; }
.pz-stat-value { order: -1; white-space: nowrap; margin-bottom: 8px; font-size: var(--pz-fs-stat); font-weight: var(--pz-fw-display); line-height: 1.05; letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums; }
.pz-stat-label { font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1.35; }

@media (min-width: 900px) and (max-width: 1200px) {
  .pz-wrap { width: 91%; }
}
@media (max-width: 1000px) {
  .fr-internal { --pz-header: 68px; }
}
@media (max-width: 899px) {
  .pz-wrap { width: calc(100% - 40px); }
  .pz-pagehead-grid:has(> .pz-pagehead-aside), .pz-sectionhead, .pz-split { grid-template-columns: minmax(0, 1fr); }
  .pz-split > h2, .pz-split-title h2 { max-width: none; }
  .pz-doc { grid-template-columns: minmax(0, 1fr) auto; }
  .pz-doc strong { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 650px) {
  .pz-pagehead-media { align-items: start; min-height: 650px; }
  .pz-pagehead-media .pz-pagehead-grid { padding-bottom: clamp(170px, 33vw, 260px); }
  .pz-pagehead-media { --pz-veil: linear-gradient(180deg, color-mix(in srgb, var(--pz-night) 66%, transparent) 0%, color-mix(in srgb, var(--pz-night) 77%, transparent) 61%, color-mix(in srgb, var(--pz-night) 6%, transparent) 88%); }
}
@media (max-width: 599px) {
  .pz-filterbar { flex-wrap: wrap; width: 100%; border-radius: var(--pz-r-lg); }
  .pz-filterbar-group { flex: 1 1 100%; }
  .pz-filterbar-search { flex: 1 1 8rem; min-width: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fr-internal main *, .fr-internal main *::before, .fr-internal main *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
@media print {
  .pz-subnav-bar, .pz-filterbar { display: none; }
  .fr-internal .pz-pagehead-immersive::after { display: none; }
  .pz-wrap { width: 100%; }
  .pz-split { display: block; }
  .pz-deep, .pz-pagehead-immersive { background: var(--pz-white); color: var(--pz-ink); }
  .pz-pagehead-media .pz-pagehead-aside, .pz-pagehead-backdrop { display: none; }
  .pz-pagehead-dark .pz-kicker { color: var(--pz-red-ink); }
}
