/* =====================================================================================
   PieceDesk « Ardoise » : the website chrome and rhythm (DIRECTION.md sections 4.2, 7 and 8).
   Import order: ../../tokens.css, ../../shared/slate.css, ../shared/site.css (and ../shared/app.css
   when the page shows a software frame). Two themes of equal rank: <html data-theme="dark|light">,
   set before first paint by the page's head snippet (README section 6), switched by the button
   site.js draws in the navigation. Nothing here names a theme: every rule reads roles (--site-*),
   and the roles change with the theme in tokens.css. No raw colour (S11), no blurred shadow, ever.
   ===================================================================================== */

/* ---------- 00. The narrow no-break space (U+202F): see app.css section 00, the same faces ---------- */
@font-face { font-family: "PD Text"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 400; font-style: normal; unicode-range: U+202F; }
@font-face { font-family: "PD Text"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 500; font-style: normal; unicode-range: U+202F; }
@font-face { font-family: "PD Text"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 600; font-style: normal; unicode-range: U+202F; }
/* one face per weight, never a range: see app.css section 00 (a « 600 700 » face sent Chromium's 600 to Arial Bold) */
@font-face { font-family: "PD Text"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 700; font-style: normal; unicode-range: U+202F; }
@font-face { font-family: "PD Display"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 600; font-style: normal; unicode-range: U+202F; }
@font-face { font-family: "PD Title"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 600; font-style: normal; unicode-range: U+202F; }
@font-face { font-family: "PD Mono"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); font-weight: 400; font-style: normal; unicode-range: U+202F; }

/* ---------- 0. Base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.pd-site { margin: 0; overflow-x: clip; }
.pd-site { font: 400 var(--pd-site-text-size)/var(--pd-site-text-lh) var(--pd-font-text); -webkit-font-smoothing: antialiased; }
/* the site's stacks name the metric-matched fallback right after the face (tokens.css, loading spec 2.4 F3): a text drawn
   before its file arrives takes the same lines. The software's stacks do not change */
.pd-site {
  --pd-font-text:    "PD Text", "PD Fallback", "Helvetica Neue", Arial, sans-serif;
  --pd-font-display: "PD Display", "PD Fallback", "Helvetica Neue", Arial, sans-serif;
  --pd-font-title:   "PD Title", "PD Fallback", "Helvetica Neue", Arial, sans-serif;
  --pd-font-mono:    "PD Mono", "PD Mono Fallback", ui-monospace, Menlo, Consolas, monospace;
}
/* the bar's height, read by the loader and the scroll padding: 72, 56 under 640 */
:root { --pd-nav-h: 72px; }
@media (max-width: 639px) { :root { --pd-nav-h: 56px; } }
/* a link to an anchor lands under the bar (a page that sets its own padding on html keeps it: this one weighs nothing) */
:where(:root.pd-sitedoc) { scroll-padding-top: calc(var(--pd-nav-h) + 16px); }
.pd-site .pd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* a tap answers with the link's own pressed look, never the system's grey box (WebKit, Chromium on Android) */
.pd-site :is(a, button, [role="button"], summary, label) { -webkit-tap-highlight-color: transparent; }
.pd-site, .pd-site *, .pd-site *::before, .pd-site *::after { box-sizing: border-box; }
.pd-site :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.pd-site :where(ul, ol) { padding: 0; list-style: none; }
.pd-site :where(a) { color: inherit; text-decoration: none; }
.pd-site :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.pd-site :where(img, svg) { display: block; }
.pd-site :focus { outline: none; }
.pd-site :focus-visible { outline: 2px solid var(--site-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--site-focus-inner); }
.pd-site [hidden] { display: none !important; }
/* « Aller au contenu » (and the lockup's #top) land under the sticky bar, never behind it */
body.pd-site > main { scroll-margin-top: 72px; }
/* a software frame keeps the software's ring. Kept at the specificity of .pd-site :focus-visible (it only has to come
   after it), so app.css and shell.css rules for one component (the search field has none, the side menu its chrome
   ring, a list option its inset ring) still win inside the frames */
.pd-site :where(.pd-app) :focus-visible { outline-color: var(--app-focus); box-shadow: 0 0 0 2px var(--app-focus-inner); }
@media (max-width: 639px) { .pd-site { font-size: 17px; line-height: 26px; } }
/* a theme switch is instant (DIRECTION 6.7): site.js holds this class on <html> for two frames (a page's own « Clair · Sombre »
   on its frame or segment). Pseudo-elements too: the ruler's diamonds (.pd-dia::before) and a switch's knob
   (.pd-switch__track::after) are drawn there, and they glided 160 to 240 ms after the rest of the page had changed */
.pd-notrans, .pd-notrans::before, .pd-notrans::after, .pd-notrans *, .pd-notrans *::before, .pd-notrans *::after { transition: none !important; }
/* a drawing that exists in a fog and an ink version (the lockup, the mark): both in the markup, the theme shows one */
.pd-on-dark { display: var(--site-on-dark); }
.pd-on-light { display: var(--site-on-light); }

/* ---------- 1. Layout: one container, 12 / 8 / 4 columns ---------- */
.pd-wrap { width: min(var(--pd-container), 100% - 2 * var(--pd-gutter)); margin-inline: auto; }
.pd-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--pd-col-gap); }
.pd-cols > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) {
  .c-1-4 { grid-column: 1 / span 4; } .c-1-6 { grid-column: 1 / span 6; } .c-1-8 { grid-column: 1 / span 8; } .c-1-3 { grid-column: 1 / span 3; }
  .c-5-12 { grid-column: 5 / -1; } .c-7-12 { grid-column: 7 / -1; } .c-4-12 { grid-column: 4 / -1; } .c-9-12 { grid-column: 9 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) { .pd-cols { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pd-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--pd-s-2); } }

/* sections on the page's one background pad the top only (H8); the prices band pads both sides */
.pd-sec { padding-top: var(--pd-section-top); }
/* on the raised band, mist is 6.71:1 (forbidden for small text, 3.4): every secondary text there reads the raised role.
   By day the band is white paper on fog paper (1.08:1): it takes the paper's hairline at both edges (transparent at night,
   where deep on ink is the edge). A band that opens the page meets the bar, where a line would read as the bar's scrolled
   line: it keeps its foot only */
.pd-band { --site-text-2: var(--site-text-2-raised); --site-text-3: var(--site-text-3-raised); background: var(--site-bg-raised); padding-block: var(--pd-s-12); margin-top: var(--pd-section-top); box-shadow: inset 0 1px 0 var(--site-paper-edge), inset 0 -1px 0 var(--site-paper-edge); }
main > .pd-band:first-child { box-shadow: inset 0 -1px 0 var(--site-paper-edge); }
.pd-band + .pd-sec { padding-top: var(--pd-section-top); }
.pd-end { padding-bottom: var(--pd-section-top); }
@media (max-width: 639px) { .pd-band { padding-block: var(--pd-s-8); } }

/* ---------- 2. Type: two sizes per view (4.2) ---------- */
.pd-hero-h1 { font: 600 var(--pd-site-hero-size)/var(--pd-site-hero-lh) var(--pd-font-display); letter-spacing: var(--pd-site-hero-track); color: var(--site-text-display); }
.pd-hero-h1 > span { display: block; }
.pd-h2 { font: 600 var(--pd-site-h2-size)/var(--pd-site-h2-lh) var(--pd-font-display); letter-spacing: var(--pd-site-h2-track); color: var(--site-text-display); text-wrap: balance; }
.pd-figure { font: 600 var(--pd-site-figure-size)/var(--pd-site-figure-lh) var(--pd-font-display); letter-spacing: -0.01em; color: var(--site-text-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* « CHF » at the text size (17 on a phone); line height 1 so it never deepens the figure's line */
.pd-figure .pd-cur { font: 400 var(--pd-site-text-size)/1 var(--pd-font-text); letter-spacing: 0; color: var(--site-text-2); margin-right: 8px; }
.pd-moment { font: 600 72px/72px var(--pd-font-display); letter-spacing: -0.02em; color: var(--site-text-display); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .pd-moment { font-size: 48px; line-height: 48px; } }
.pd-text { font-size: var(--pd-site-text-size); line-height: var(--pd-site-text-lh); color: var(--site-text); text-wrap: pretty; }
.pd-lede { max-width: 60ch; color: var(--site-text); text-wrap: pretty; }
.pd-sstrong { font-weight: 600; color: var(--site-text-display); }
.pd-small { font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); }
.pd-caption { font-size: var(--pd-site-caption-size); line-height: var(--pd-site-caption-lh); color: var(--site-text-2); }
.pd-band .pd-caption { color: var(--site-text-2-raised); }
.pd-scode { font: 400 var(--pd-site-mono-size)/var(--pd-site-mono-lh) var(--pd-font-mono); white-space: nowrap; }   /* a code or an address never breaks at its hyphens */
.pd-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-sec-head { margin-bottom: var(--pd-s-6); }
.pd-sec-head > p { margin-top: var(--pd-s-2); max-width: 60ch; }
@media (max-width: 639px) { .pd-text { font-size: 17px; line-height: 26px; } .pd-figure .pd-cur { font-size: 17px; } .pd-sec-head { margin-bottom: var(--pd-s-4); } }

/* « à confirmer »: the one warm text on the site, with its ■ glyph. On light ground the amber words would be
   5.68:1, so --site-warn-text is ink there and the glyph alone keeps the hue. Its words sit on the line's baseline and its ■
   is centred on the line: centred as a whole, the words stood 2 to 3 px above a sentence, which by day (ink words like
   the sentence's) read as a broken line */
.pd-pending { display: inline-flex; align-items: baseline; gap: 6px; color: var(--site-warn-text); white-space: nowrap; }
.pd-pending > span { align-self: center; }
/* a status on the site: its words on the line's baseline, its glyph centred on them (as .pd-status in app.css) */
.pd-sstatus { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.pd-sstatus > span:first-child { align-self: center; }

/* ---------- 3. Buttons and links (5.1, site column) ---------- */
.pd-sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--pd-control-h-site); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--pd-r-1); font: 600 var(--pd-site-btn-size)/20px var(--pd-font-text); letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--pd-dur-3) var(--pd-ease-out), color var(--pd-dur-3) var(--pd-ease-out), border-color var(--pd-dur-3) var(--pd-ease-out);
}
.pd-sbtn svg { width: 18px; height: 18px; flex: none; transition: transform var(--pd-dur-4) var(--pd-ease-out); }
.pd-sbtn--primary { background: var(--site-btn-bg); color: var(--site-btn-text); }
.pd-sbtn--secondary { background: transparent; border-color: var(--site-btn2-border); color: var(--site-btn2-text); }
.pd-sbtn--small { height: 44px; padding: 0 16px; font-size: var(--pd-site-small-size); gap: 8px; }
.pd-sbtn--block { display: flex; width: 100%; }
@media (hover: hover) {
  .pd-sbtn--primary:hover { background: var(--site-btn-bg-hover); }
  .pd-sbtn--secondary:hover { background: var(--site-btn2-bg-hover); }
  .pd-sbtn:hover svg.go { transform: translateX(4px); }
  .pd-sbtn:hover svg.down { transform: translateY(3px); }
}
.pd-sbtn--primary.is-hover { background: var(--site-btn-bg-hover); }
.pd-sbtn--secondary.is-hover { background: var(--site-btn2-bg-hover); }
.pd-sbtn--primary:active { background: var(--site-btn-bg-hover); }
.pd-sbtn--secondary:active { background: var(--site-btn2-bg-hover); }
/* off: no fill, the words one step down and, by day, a lighter outline (at night mist under paper white says it alone) */
.pd-sbtn:disabled, .pd-sbtn[aria-disabled="true"] { background: transparent; border-color: var(--site-control-border-off); color: var(--site-text-3); cursor: not-allowed; }
.pd-sbtn.is-loading { cursor: progress; }
/* quiet: a text link 17/20 600 with its arrow; the underline grows from the left (340 ms) */
.pd-slink { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; font: 600 var(--pd-site-btn-size)/20px var(--pd-font-text); color: var(--site-text-display); white-space: nowrap; }
.pd-slink > span { position: relative; }
.pd-slink > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 340ms var(--pd-ease-out); }
.pd-slink svg { width: 18px; height: 18px; transition: transform var(--pd-dur-4) var(--pd-ease-out); }
@media (hover: hover) { .pd-slink:hover > span::after { transform: none; } .pd-slink:hover svg.go { transform: translateX(4px); } .pd-slink:hover svg.down { transform: translateY(3px); } }
.pd-slink.is-hover > span::after { transform: none; }
.pd-tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- 4. Fields, segmented, select (5.2, site column) ---------- */
.pd-sfield { display: flex; flex-direction: column; gap: var(--pd-s-1); min-width: 0; }
.pd-slabel { font: 500 var(--pd-site-small-size)/var(--pd-site-small-lh) var(--pd-font-text); color: var(--site-text-display); }
/* the words typed in a field, a select and its list: 18/26, the button's size, one step under the text (Source Sans 3) */
.pd-sinput {
  width: 100%; min-width: 0; height: var(--pd-control-h-site); padding: 0 16px; border: 1px solid var(--site-control-border); border-radius: var(--pd-r-1);
  background: var(--site-field-bg); color: var(--site-text-display); font: 400 18px/26px var(--pd-font-text); -webkit-appearance: none; appearance: none;
  transition: border-color var(--pd-dur-2) var(--pd-ease-out);
}
.pd-band .pd-sinput { background: var(--site-bg-raised); }
.pd-sinput::placeholder { color: var(--site-text-3); opacity: 1; }   /* by day one step under slate, or « +41 79 123 45 67 » reads as typed */
@media (hover: hover) { .pd-sinput:hover:not(:focus) { border-color: var(--site-text-2); } }
.pd-sinput:focus { border-color: var(--site-text-display); outline: 2px solid var(--site-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--site-focus-inner); }
.pd-sinput.is-focus { border-color: var(--site-text-display); outline: 2px solid var(--site-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--site-focus-inner); }
.pd-sfield.is-error .pd-sinput { border: 2px solid var(--site-crit); padding: 0 15px; }
.pd-serror { display: flex; align-items: center; gap: 6px; font-size: var(--pd-site-caption-size); line-height: var(--pd-site-caption-lh); color: var(--site-text); }
.pd-serror svg { width: 16px; height: 16px; color: var(--site-crit); }
.pd-sinline { display: flex; gap: var(--pd-s-1); align-items: flex-start; }
.pd-sinline > .pd-sinput { flex: 1; }
.pd-sinline > .pd-sbtn { flex: none; }
/* phone: the button goes under the field, both full width. flex: none, or the column flexbox squeezes the field to 0 high */
@media (max-width: 639px) { .pd-sinline { flex-direction: column; align-items: stretch; } .pd-sinline > *, .pd-sinline > .pd-sinput { flex: none; } .pd-sinline > .pd-sbtn { width: 100%; } }   /* « > .pd-sinput » too: its flex: 1 above is more specific than « > * » */
.pd-sseg { display: inline-flex; align-items: stretch; height: var(--pd-control-h-site); outline: 1px solid var(--site-control-border); outline-offset: -1px; border-radius: var(--pd-r-1); max-width: 100%; }
.pd-sseg > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; min-width: 52px; font: 500 var(--pd-site-small-size)/20px var(--pd-font-text); color: var(--site-text); white-space: nowrap; transition: background-color var(--pd-dur-3) var(--pd-ease-out), color var(--pd-dur-3) var(--pd-ease-out); }
.pd-sseg > button:first-child { border-radius: 1px 0 0 1px; }
.pd-sseg > button:last-child { border-radius: 0 1px 1px 0; }
/* the selection is the fill and the words' colour only: the weight stays 500, so a choice never re-wraps its words (S8) */
.pd-sseg > button[aria-pressed="true"] { background: var(--site-btn-bg); color: var(--site-btn-text); }
.pd-sseg > button:focus-visible { position: relative; z-index: 1; }
@media (hover: hover) { .pd-sseg > button:not([aria-pressed="true"]):hover { background: var(--site-btn2-bg-hover); color: var(--site-text-display); } }
.pd-sseg--block { display: flex; width: 100%; }
.pd-sseg--block > button { flex: 1; padding: 0 8px; }
.pd-sseg--44 { height: 44px; }
.pd-sselect { display: flex; align-items: center; gap: 8px; width: 100%; height: var(--pd-control-h-site); padding: 0 12px 0 16px; border: 1px solid var(--site-control-border); border-radius: var(--pd-r-1); background: var(--site-field-bg); color: var(--site-text-display); font: 400 18px/26px var(--pd-font-text); text-align: left; }
.pd-sselect > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sselect > svg { width: 20px; height: 20px; color: var(--site-text-2); transition: transform var(--pd-dur-2) var(--pd-ease-out); }
.pd-sselect[aria-expanded="true"] { border-color: var(--site-text-display); }
.pd-sselect[aria-expanded="true"] > svg { transform: rotate(180deg); }
.pd-slist { position: fixed; z-index: var(--pd-z-popover); max-height: 320px; overflow-y: auto; padding: 4px 0; background: var(--site-bg-raised); border: 1px solid var(--site-control-border); border-radius: var(--pd-r-1); }
.pd-slist [role="option"] { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; color: var(--site-text); cursor: pointer; font-size: 18px; line-height: 26px; }
.pd-slist [role="option"] svg { width: 16px; height: 16px; margin-left: auto; visibility: hidden; }
.pd-slist [aria-selected="true"] { color: var(--site-text-display); font-weight: 600; }
.pd-slist [aria-selected="true"] svg { visibility: inherit; }
.pd-slist .is-active { background: var(--site-bg-hover); }
@media (max-width: 639px) { .pd-slist { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; max-height: 70svh; border-radius: 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); } }

/* ---------- 5. Navigation (8.2 section 0) ---------- */
.pd-nav { position: sticky; top: 0; z-index: var(--pd-z-sticky); height: 72px; background: var(--site-bg); border-bottom: 1px solid transparent; transition: border-color var(--pd-dur-2) linear; }
.pd-nav.is-scrolled { border-bottom-color: var(--site-line); }
.pd-nav__in { height: 100%; display: flex; align-items: center; gap: var(--pd-s-3); }
.pd-lockup { display: inline-flex; align-items: center; height: 52px; flex: none; }
.pd-lockup img { height: 28px; width: auto; }
.pd-lockup .is-fog { display: var(--site-on-dark); }   /* fog on ink, ink on the light page (2.3) */
.pd-lockup .is-ink { display: var(--site-on-light); }
/* the lockup drawn inline (the static frame, loading spec 2.5): one drawing coloured by its role, fog at night and ink by
   day, the colours of lockup-fog.svg and lockup.svg; no image to fetch or decode before the bar is complete */
.pd-lockup svg.pd-lk { display: block; height: 28px; width: auto; aspect-ratio: 764.083 / 140; fill: var(--site-lockup); }
.pd-nav__links { display: flex; align-items: center; gap: var(--pd-s-3); margin-left: auto; }
/* links at rest one step under the current page and the hover (--site-nav-text): by day text and display are both ink */
.pd-nav__links a { display: inline-flex; align-items: center; height: 52px; font: 500 var(--pd-site-small-size)/var(--pd-site-small-lh) var(--pd-font-text); color: var(--site-nav-text); white-space: nowrap; transition: color var(--pd-dur-2) var(--pd-ease-out); }
.pd-nav__links a[aria-current="page"] { color: var(--site-text-display); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (hover: hover) { .pd-nav__links a:hover { color: var(--site-text-display); } }
/* the press (pageswitch.js, loading spec 5.2): the link answers on pointerdown, before the browser leaves the page */
.pd-nav__links a.is-pressed, .pd-nav__login.is-pressed, .pd-foot__nav a.is-pressed, .pd-lang > a.is-pressed { color: var(--site-text-display); }
.pd-sbtn--primary.is-pressed { background: var(--site-btn-bg-hover); }
.pd-sbtn--secondary.is-pressed { background: var(--site-btn2-bg-hover); }
.pd-slink.is-pressed > span::after { transform: none; }
.pd-nav__end { display: flex; align-items: center; gap: var(--pd-s-2); margin-left: var(--pd-s-1); }
/* the bar's words share one size, the small one of 4.2 (16/24): links, « Se connecter », « FR · EN » (and in the footer) */
.pd-lang { display: inline-flex; align-items: center; gap: 2px; font: 500 var(--pd-site-small-size)/var(--pd-site-small-lh) var(--pd-font-text); color: var(--site-text-2); }
.pd-lang > a, .pd-lang > button { display: inline-grid; place-items: center; min-width: 32px; height: 52px; padding: 0 4px; color: var(--site-text); }
.pd-lang > [aria-current="true"] { color: var(--site-text-display); font-weight: 600; }
.pd-lang > [aria-disabled="true"] { color: var(--site-text-2); cursor: default; }
.pd-nav__login { display: inline-flex; align-items: center; height: 52px; font: 500 var(--pd-site-small-size)/var(--pd-site-small-lh) var(--pd-font-text); color: var(--site-nav-text); white-space: nowrap; }
@media (hover: hover) { .pd-nav__login:hover { color: var(--site-text-display); } }
/* the theme switch: a 44 px quiet button, the sun on the dark site (« Passer au thème clair »), the moon on the
   light one; in the bar from 1200 px, in the phone menu under it */
.pd-themebtn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--pd-r-1); color: var(--site-nav-text); transition: color var(--pd-dur-2) var(--pd-ease-out), background-color var(--pd-dur-2) var(--pd-ease-out); }
.pd-themebtn svg { width: 20px; height: 20px; }
/* both drawings and both names are in the markup (the static frame never waits for script to know the theme): the theme
   shows one, and display: none takes the other name out of the accessibility tree too */
:root[data-theme="light"] :is(.pd-themebtn__sun, .pd-themebtn__to-light),
:root[data-theme="dark"] :is(.pd-themebtn__moon, .pd-themebtn__to-dark) { display: none; }
@media (hover: hover) { .pd-themebtn:hover { color: var(--site-text-display); background: var(--site-bg-hover); } }
.pd-themebtn:active, .pd-themebtn.is-hover { color: var(--site-text-display); background: var(--site-bg-hover); }
/* in the bar its 44 px box overlaps the gaps (the icon keeps 20 px of air on each side), so the bar still fits at 1200 */
.pd-nav__end .pd-themebtn { margin-inline: -8px; }
@media (min-width: 1200px) and (max-width: 1279px) { .pd-nav__links { gap: 20px; } }
.pd-nav__menu { display: none; }
@media (max-width: 1199px) {
  /* the theme switch stays in the bar at every width (next to « Menu » on a phone): light is the default,
     dark is one tap away, never hidden in the menu (Youssef, 25.10.2026) */
  .pd-nav__links, .pd-nav__end .pd-lang, .pd-nav__end .pd-nav__login { display: none; }
  .pd-nav__end { margin-left: auto; }
  .pd-nav__menu { display: inline-flex; }
}
@media (max-width: 639px) {
  .pd-nav { height: 56px; }
  .pd-lockup { height: 44px; }
  .pd-lockup img { height: 24px; }
  .pd-lockup svg.pd-lk { height: 24px; }
  .pd-nav__end .pd-sbtn--primary { display: none; }
}

/* the phone menu: full screen on the page's own ground, links in PD Display 34, the call to action at the bottom.
   It is laid ON the page, never fixed. iOS 26 Safari paints the area behind its toolbars with the ground of a fixed layer
   at the screen's edge, reads it even at opacity 0 or moved away (only display: none escapes) and keeps it after the
   layer is gone: a fixed menu fading out left « a white rectangle at the bottom that stays and disappears late »
   (Youssef's iPhone, 27.10.2026). Laid at the scroll it opened at (html holds the page still) and carried on below the
   screen by a shadow of itself, the menu is plain page pixels: the browser shows them behind its toolbar as they are,
   and they come and go with the menu. Motion: the ground fades in, the links and the foot rise 12 px one after the
   other; on closing its words leave first (140 ms, 6 px up) so they never cross the page's own, then its ground fades,
   and the page is let go only once it is gone. */
.pd-mmenu { position: absolute; left: 0; right: 0; top: var(--pd-mm-y, 0px); z-index: var(--pd-z-dialog); height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--site-bg); box-shadow: 0 100vh 0 var(--site-bg); padding: 0 var(--pd-gutter) calc(var(--pd-s-3) + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; animation: pd-mm-in 260ms var(--pd-ease-out) both; }
.pd-mmenu__links > li, .pd-mmenu__end { animation: pd-mm-rise 440ms var(--pd-ease-out) calc(50ms + var(--i, 0) * 35ms) both; }
.pd-mmenu__end { --i: 5; }
.pd-mmenu.is-out { animation: pd-mm-out 220ms var(--pd-ease-std) 60ms both; }
.pd-mmenu.is-out .pd-mmenu__head, .pd-mmenu.is-out .pd-mmenu__links > li, .pd-mmenu.is-out .pd-mmenu__end { animation: pd-mm-leave 140ms var(--pd-ease-std) both; }
@keyframes pd-mm-in { from { opacity: 0; } }
@keyframes pd-mm-out { to { opacity: 0; } }
@keyframes pd-mm-rise { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
@keyframes pd-mm-leave { to { opacity: 0; transform: translate3d(0, -6px, 0); } }
.rm .pd-mmenu, .rm .pd-mmenu * { animation: none !important; }
.pd-mmenu__head { display: flex; align-items: center; justify-content: space-between; height: 56px; flex: none; }
/* leaving through one of its links: the head (its ×) is left out of the capture, so only the bar's own « Menu » stands at
   that spot through the switch, never the two crossing in place (pageswitch.js, F9; 2026-10-28) */
html.pd-mm-leaving .pd-mmenu__head { visibility: hidden; }
@media (min-width: 640px) { .pd-mmenu__head { height: 72px; } }
.pd-mmenu__close { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; color: var(--site-text-display); border-radius: var(--pd-r-1); }
.pd-mmenu__close svg { width: 24px; height: 24px; }
.pd-mmenu__links { margin-top: var(--pd-s-4); }
.pd-mmenu__links a { display: flex; align-items: center; min-height: 56px; font: 600 34px/40px var(--pd-font-display); letter-spacing: -0.02em; color: var(--site-text-display); border-bottom: 1px solid var(--site-line); }
.pd-mmenu__links li:first-child a { border-top: 1px solid var(--site-line); }
.pd-mmenu__links a.is-pressed { background: var(--site-bg-hover); }
.pd-mmenu__end { margin-top: auto; padding-top: var(--pd-s-5); display: flex; flex-direction: column; gap: var(--pd-s-2); }
.pd-mmenu__row { display: flex; align-items: center; justify-content: space-between; }
.pd-mmenu__util { display: flex; align-items: center; gap: var(--pd-s-2); }
@keyframes pd-site-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pd-site-fade-out { from { opacity: 1; } to { opacity: 0; } }
/* a menu or a window holds the page still by its root only. A locked <body> becomes the sticky bar's scroller, and the bar
   left the screen (−1200 px at a scroll of 1200) while a window was open, in both engines. app.css locks body for the
   software screens; a site page undoes that here (html stays locked, so the page still cannot scroll) */
html.pd-locked { overflow: hidden; }
html.pd-locked body.pd-site { overflow: visible; overflow-x: clip; }
/* a lock that measured the width a classic scrollbar takes (--pd-sbw: ui.js lockScroll, a page's own window) lets go of
   the gutter tokens.css keeps on a desktop and gives that width back as padding: nothing moves, and a scrim and its
   window cover the whole screen and centre on it. The phone menu does not measure: it keeps the gutter, which shows the
   page's own ground beside it, the menu's ground too */
html.pd-locked[style*="--pd-sbw"] { scrollbar-gutter: auto; padding-right: var(--pd-sbw); }

/* ---------- 6. Footer (8.2 section 11) ---------- */
.pd-foot { margin-top: var(--pd-section-top); border-top: 1px solid var(--site-line); padding: var(--pd-s-6) 0 var(--pd-s-8); }
.pd-foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--pd-s-4) var(--pd-s-5); align-items: start; }
.pd-foot__id { display: flex; flex-direction: column; gap: var(--pd-s-2); }
.pd-foot__id > .pd-lockup { align-self: flex-start; }   /* the link, and its focus ring, are the lockup's width, not the column's */
.pd-foot__id p { font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text-2); }
.pd-foot__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--pd-s-3); justify-content: flex-end; }
.pd-foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text); }
@media (hover: hover) { .pd-foot__nav a:hover { color: var(--site-text-display); text-decoration: underline; text-underline-offset: 4px; } }
.pd-foot .pd-lang > a, .pd-foot .pd-lang > button { height: 44px; }
/* one column under 1024: beside the links, the name and the note would be squeezed to a word per line at 768 */
@media (max-width: 1023px) { .pd-foot__in { grid-template-columns: minmax(0, 1fr); } .pd-foot__nav { justify-content: flex-start; } }

/* ---------- 7. Entrance (7.1, 7.2): pop in place, content visible by default ---------- */
.js:not(.rm) [data-pop] { transition: transform var(--pd-dur-pop) var(--pd-spring) var(--d, 0ms), opacity 200ms linear var(--d, 0ms); }
/* a site page (html.pd-sitedoc) decides what is on screen at its reveal (pageswitch.js gate, site.js atRest): its pops take
   their start state only then (pd-pops-ready), and only below the fold. The hub, the kit and the cover keep the old rule */
:root.pd-sitedoc.js:not(.rm).pd-pops-ready [data-pop]:not(.in) { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.965); }
/* the moment the gate decides (and after a jump): pops and slates take their state at once, never gliding to it */
:root.pd-popsnap :is([data-pop], .pd-lay) { transition: none !important; }
:root:not(.pd-sitedoc).js:not(.rm) [data-pop]:not(.in) { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.965); }
@media (prefers-reduced-motion: reduce) { [data-pop] { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media print { [data-pop] { opacity: 1 !important; transform: none !important; } }

/* ---------- 8. A software frame shown on the site: 1 px ring, radius 6, no shadow ---------- */
.pd-frame { border: 1px solid var(--site-frame-ring); border-radius: var(--pd-r-3); overflow: hidden; background: var(--site-bg-raised); }
.pd-frame > .pd-app { min-height: 100%; }

/* ---------- 9. Slates: what is written on them, legend swatches (the slate itself is shared/slate.css) ---------- */
/* A dark slate is the same stone in both themes: whatever a page writes on it with the page roles (a status from
   glyphs.js, a caption, a figure) reads the slate's own roles, so nothing turns ink on stone on the light page.
   On the dark page these values equal the page roles: nothing moves there. A light slate does the same with its
   own roles. A « Sur demande » slate shows the page through it: its words are the page's display and secondary. */
.pd-slate--shared {
  --site-text-display: var(--site-slate-text); --site-text: var(--site-slate-text-2); --site-text-2: var(--site-slate-text-3);
  --site-warn-text: var(--site-slate-text-2);   /* amber words would be 6.61:1 on tone 4: the ■ glyph keeps the hue */
  --site-good: var(--site-slate-good); --site-warn: var(--site-slate-warn); --site-crit: var(--site-slate-crit);
}
.pd-slate--own {
  --site-text-display: var(--site-slate-light-text); --site-text: var(--site-slate-light-text); --site-text-2: var(--site-slate-light-text-2);
  --site-warn-text: var(--site-slate-light-text);
  --site-good: var(--site-slate-light-good); --site-warn: var(--site-slate-light-warn); --site-crit: var(--site-slate-light-crit);
}
.pd-slate--onrequest { color: var(--site-slate-outline-text); }
.pd-slate--onrequest .pd-slate__data { color: var(--site-slate-outline-text-2); }
.pd-slegend { display: flex; flex-wrap: wrap; gap: var(--pd-s-1) var(--pd-s-3); }
.pd-slegend > span { display: inline-flex; align-items: center; gap: 10px; font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text-2); }
.pd-slegend .pd-slate { width: 22px; height: 16px; --c: 4px; flex: none; }
.pd-slegend .pd-slate--onrequest > .pd-slate__in, .pd-slegend .pd-slate--shared > .pd-slate__in { position: absolute; inset: 1px; height: auto; padding: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.4px), calc(100% - 3.4px) 100%, 3.4px 100%, 0 calc(100% - 3.4px)); }
/* a dark slate is 1.6:1 on ink at legend size: it carries the outline colour as its edge so the swatch reads */
.pd-slegend .pd-slate--shared { --tone: var(--site-slate-outline); }
.pd-slegend .pd-slate--shared > .pd-slate__in { background: var(--site-slate-4); }
/* a light slate is 1.44:1 on the light page: it shows its hard edge at its foot, as on the roof (none on ink) */
.pd-slegend .pd-slate--own { box-shadow: inset 0 -2px 0 var(--site-slate-foot); }

/* ---------- 10. The site's day ruler (5.16): 06:00 to 22:00, six diamonds, filled to the moment ---------- */
.pd-sruler { --h0: 6; --hs: 16; position: relative; padding-top: 28px; }
.pd-sruler__labels { position: absolute; left: 0; right: 0; top: 0; height: 20px; }
.pd-sruler__labels span { position: absolute; top: 0; left: calc((var(--h) - var(--h0)) / var(--hs) * 100%); transform: translateX(-50%); font: 400 var(--pd-site-mono-size)/var(--pd-site-mono-lh) var(--pd-font-mono); color: var(--site-text-2); white-space: nowrap; }
.pd-sruler__labels span:first-child { transform: none; }
.pd-sruler__labels span:last-child { transform: translateX(-100%); }
@media (max-width: 639px) { .pd-sruler__labels span.is-sparse { visibility: hidden; } }   /* phone: every four hours */
.pd-sruler__track { position: relative; height: 12px; border-radius: var(--pd-r-1); background: var(--site-bg-raised); box-shadow: inset 0 0 0 1px var(--site-line); }
.pd-sruler__ticks { position: absolute; inset: 0; }
.pd-sruler__ticks i { position: absolute; top: 3px; bottom: 3px; width: 1px; left: calc((var(--h) - var(--h0)) / var(--hs) * 100%); background: var(--site-control-border); }
.pd-sruler__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--site-fill); border-radius: var(--pd-r-1); transform-origin: left center; transform: scaleX(calc((var(--t) - var(--h0)) / var(--hs))); transition: transform var(--pd-dur-fill) var(--pd-ease-out); }
.pd-sruler__marks { position: absolute; left: 0; right: 0; top: 28px; height: 12px; }
.pd-dia { position: absolute; top: 50%; left: calc((var(--h) - var(--h0)) / var(--hs) * 100%); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: var(--pd-r-1); }
.pd-dia::before { content: ""; width: 12px; height: 12px; transform: rotate(45deg); background: var(--site-bg); box-shadow: inset 0 0 0 2px var(--site-fill); transition: transform 400ms var(--pd-spring), background-color var(--pd-dur-3) var(--pd-ease-out); }
/* a moment already passed sits on the filled track: the fill's colour with a ring of the page, so it never melts into the fill */
.pd-dia.is-past::before { background: var(--site-fill); box-shadow: 0 0 0 2px var(--site-bg); }
.pd-dia[aria-current="step"]::before { background: var(--site-text-display); box-shadow: none; transform: rotate(45deg) scale(1.5); }
/* a diamond that can be pressed (a button) answers the pointer; by day the slate of a hovered one would read as passed */
@media (hover: hover) { button.pd-dia:not([aria-current="step"]):hover::before { background: var(--site-fill-hover); } }

/* the intake's ten ticks (8.2 section 10) */
.pd-ticks { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.pd-ticks i { height: 6px; border-radius: var(--pd-r-1); background: var(--site-bg-raised); box-shadow: inset 0 0 0 1px var(--site-line); transform-origin: left center; }
.pd-ticks i.is-done { background: var(--site-fill); box-shadow: none; }

/* ---------- 11. Page switch (README 13): the bar holds still from one page to the next ---------- */
/* the navigation is the frame every site page shares (tokens.css .pd-hold); the phone menu or a window that covers it
   on the page that leaves fades away above it (pageswitch.js) */
body > header.pd-nav { view-transition-name: pd-nav; view-transition-class: pd-hold; }
/* a page reached from one of ours: the switch is its entrance, so what it shows is at rest from the first frame, its pops
   and its slates; site.js then lets what lies below the fold pop and be laid as usual (pd-pops-ready) */
.pd-arrived:not(.pd-pops-ready) :is([data-pop], .pd-lay) { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- 14. The landing's structure, shared by every page that follows it (2026-10-27, Kevin's structure) ----------
   .pd-t2: a title in two tones (the claim, then its second half in --site-title-2). .pd-hd: a section's head, the title at
   the left on columns 1 to 7 and its one-sentence lede at the right on the title's last line (stacked under 1024);
   .pd-hd--c centres both. .pd-cta2: a button with a second line (what it does, then what it costs you). .pd-trust: a row of
   facts with their icon. The landing still carries its own copies (lp-t2, lp-hd, lp-cta2, lp-trust), same rules. */
.pd-t2 > span { display: block; }
.pd-t2__b { color: var(--site-title-2); }
.pd-hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--pd-col-gap); row-gap: var(--pd-s-2); align-items: end; margin-bottom: var(--pd-s-6); }
.pd-hd > * { grid-column: 1 / -1; min-width: 0; }
.pd-hd > p { max-width: 52ch; color: var(--site-text-2); }
@media (min-width: 1024px) { .pd-hd > :first-child { grid-column: 1 / span 7; } .pd-hd > p { grid-column: 8 / -1; } }
.pd-hd--c { justify-items: center; text-align: center; }
.pd-hd--c > p { max-width: 60ch; }
@media (min-width: 1024px) { .pd-hd--c > :first-child, .pd-hd--c > p { grid-column: 1 / -1; } }
@media (max-width: 639px) { .pd-hd { margin-bottom: var(--pd-s-4); } }
.pd-cta2 { height: auto; min-height: 64px; padding: 10px 20px 10px 24px; gap: 20px; justify-content: space-between; text-align: left; white-space: normal; }
.pd-cta2__l { display: flex; flex-direction: column; gap: 2px; }
.pd-cta2__l b { font: 600 var(--pd-site-btn-size)/22px var(--pd-font-text); }
.pd-cta2__l small { font: 400 var(--pd-site-caption-size)/18px var(--pd-font-text); }
.pd-trust { display: flex; flex-wrap: wrap; gap: var(--pd-s-1) var(--pd-s-3); }
.pd-trust > li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text-2); }
.pd-trust svg { width: 18px; height: 18px; flex: none; color: var(--site-icon-accent); }   /* « Acier »: the accent role */
@media (max-width: 639px) { .pd-cta2 { width: 100%; } }

/* ---------- 15. The three formulas as cards (build/shared/plans.js): the landing's #formules and the head of /prix ----------
   Three cards on one raised sheet, the middle one raised again in the other theme's colours (.pd-invert) with the « Acier »
   fall from slate to deep; « Mensuel · Annuel » above them; the four shared promises under them; one column under 1024; on a
   phone one card at a time, chosen by « Essentiel · Métier · Enseigne », the three in one cell so nothing moves. Without
   script the switch and the chooser step aside and the three cards stand. The lists' icons take the accent role. */
.pd-plans__bar { display: flex; justify-content: flex-start; margin-bottom: var(--pd-s-4); }
.pd-plans__pick { display: none; }
.pd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; background: var(--site-bg-raised); border-radius: var(--pd-r-3); box-shadow: 0 0 0 1px var(--site-line); --site-text-2: var(--site-text-2-raised); --site-text-3: var(--site-text-3-raised); }
.pd-plan { display: flex; flex-direction: column; padding: 28px var(--pd-s-4) var(--pd-s-4); min-width: 0; color: var(--site-text); }
.pd-plan--hi { position: relative; z-index: 1; margin-block: -16px; padding-block: 44px 48px; background: var(--site-bg-raised); border-radius: var(--pd-r-3); --site-text-2: var(--site-text-2-raised); }
.pd-invert.pd-plan--hi { background: linear-gradient(160deg, var(--site-grad-1) 0%, var(--site-grad-2) 72%); --site-text-2: var(--site-text-2-grad); --site-text-2-raised: var(--site-text-2-grad); }
.pd-plan__name { font: 600 24px/30px var(--pd-font-display); letter-spacing: -0.01em; color: var(--site-text-display); }
.pd-plan__who { margin-top: 6px; min-height: calc(2 * var(--pd-site-small-lh)); font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text-2); text-wrap: pretty; }
.pd-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: var(--pd-s-3); }
.pd-plan__price .pd-figure { font-size: 48px; line-height: 52px; letter-spacing: -0.02em; }
/* both amounts in one cell, as wide as the wider, right-aligned: « par mois » never moves when the billing changes (S3) */
.pd-plan__amt { display: inline-grid; }
.pd-plan__amt > [data-bill] { grid-area: 1 / 1; justify-self: end; }
.pd-plan__amt > [data-bill][aria-hidden="true"] { visibility: hidden; }
.pd-plan__price .pd-cur { font-size: var(--pd-site-small-size); }
.pd-plan__per { font-size: var(--pd-site-small-size); line-height: 22px; color: var(--site-text-2); }
.pd-plan__note { margin-top: 2px; font-size: var(--pd-site-caption-size); line-height: var(--pd-site-caption-lh); color: var(--site-text-2); font-variant-numeric: tabular-nums; }
.pd-plan__setup { margin-top: var(--pd-s-2); font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text); }
.pd-plan__setup b { font-weight: 600; color: var(--site-text-display); }
.pd-plan__list { margin: var(--pd-s-2) 0 var(--pd-s-3); border-top: 1px solid var(--site-line); }
.pd-plan__list > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--site-line); font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text); }
.pd-plan__list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--site-icon-accent); }
.pd-plan > .pd-sbtn { margin-top: auto; }
/* the cards' buttons: white in both themes, an ink edge on a day card, a white halo on the night card in the middle */
.pd-sbtn.pd-plan__go { background: var(--site-plan-go); color: var(--site-plan-go-text); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--site-plan-go-line); font-weight: 600; transition: background-color var(--pd-dur-3) var(--pd-ease-out), box-shadow var(--pd-dur-4) var(--pd-ease-out); }
.pd-plan--hi .pd-sbtn.pd-plan__go { box-shadow: inset 0 0 0 1.5px var(--site-plan-go-line), 0 0 0 5px var(--site-plan-halo), 0 14px 34px -10px var(--site-plan-glow); }
@media (hover: hover) {
  .pd-sbtn.pd-plan__go:hover { background: var(--site-plan-go-hover); color: var(--site-plan-go-text); }
  .pd-plan--hi .pd-sbtn.pd-plan__go:hover { box-shadow: inset 0 0 0 1.5px var(--site-plan-go-line), 0 0 0 7px var(--site-plan-halo), 0 18px 40px -10px var(--site-plan-glow); }
}
/* the two notes share one cell too, so a card's height never changes with the billing */
.pd-plan__note { display: grid; }
.pd-plan__note > [data-m], .pd-plan__note > [data-y] { grid-area: 1 / 1; }
.pd-plans[data-mode="m"] [data-y], .pd-plans[data-mode="a"] [data-m] { visibility: hidden; }
.pd-incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pd-s-2) var(--pd-col-gap); margin-top: var(--pd-s-4); }
.pd-incl > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--pd-site-small-size); line-height: var(--pd-site-small-lh); color: var(--site-text); }
.pd-incl svg { width: 18px; height: 18px; margin-top: 3px; color: var(--site-icon-accent); }
.pd-plans__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--pd-s-1) var(--pd-s-3); margin-top: var(--pd-s-3); padding-top: var(--pd-s-15); border-top: 1px solid var(--site-line); }
@media (max-width: 1023px) {
  .pd-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; background: transparent; box-shadow: none; gap: var(--pd-s-2); }
  .pd-plan { background: var(--site-bg-raised); border-radius: var(--pd-r-3); box-shadow: 0 0 0 1px var(--site-line); }
  .pd-plan--hi { margin-block: 0; padding-block: var(--pd-s-4); box-shadow: none; }
  .pd-plan__who { min-height: 0; }
  .pd-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .pd-plan { padding: var(--pd-s-3); } .pd-plan--hi { padding-block: var(--pd-s-3); }
  .pd-plan__price .pd-figure { font-size: 44px; line-height: 48px; }
  .pd-incl { grid-template-columns: minmax(0, 1fr); }
  .pd-plans__bar .pd-sseg { width: 100%; } .pd-plans__bar .pd-sseg > button { flex: 1; padding: 0 10px; }
  .js .pd-plans__pick { display: flex; width: 100%; margin-bottom: var(--pd-s-2); }
  .pd-plans__pick > button { flex: 1; padding: 0 8px; }
  .js .pd-plans { display: grid; grid-template-columns: minmax(0, 1fr); }
  .js .pd-plan { grid-area: 1 / 1; transition: opacity 200ms var(--pd-ease-out), visibility 0s; }
  .js .pd-plan:not(.is-on) { opacity: 0; visibility: hidden; transition: opacity 120ms linear, visibility 0s linear 120ms; }
}
.rm .pd-plan { transition: none !important; }
html:not(.js) .pd-plans__bar { display: none !important; }

/* ---------- 16. The gate and the loader (2026-10-27, loading spec 3 and 4; fix round 2, 2026-10-28) ----------
   A site page shows its content only once it is complete: its faces loaded, its first screen's pictures decoded, its
   scripts' layout work done (pageswitch.js, PDGate). Until then the bar and the page's ground show, from the first frame,
   and the content waits hidden IN PLACE (never covered: it keeps its layout, so an anchor and Back land where they should).
   It is hidden by its opacity alone: a descendant can never show early (a descendant can set its own visibility back, the
   landing's film did, never its opacity), and the reveal is one opacity change on main and the footer (visibility, an
   inherited property, made WebKit restyle the whole 9000-element /pieces at the reveal: 108 ms against 52 ms). Clicks meet
   a transparent layer under the bar meanwhile (body::after), so nothing hidden can be pressed. On an arrival the old page's
   picture holds (tokens.css pd-vthold) until the content is complete, 400 ms at most; if it is still not complete then, or
   200 ms after the first frame of a page opened without a switch, a small loader fades in under the still bar: the mark
   over a fine line that fills on the switch bar's curve (pageswitch.js arms it on the page's own clock: pd-loading, no CSS
   delay). Once it has been seen it stays 260 ms at full strength at least; then its line completes, it fades, and the
   content fades in at rest once it is gone (opacity only, never a rise). Without script nothing is hidden and the loader
   never shows. Print shows everything. */
.pd-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
:root.pd-sitedoc.js.pd-wait body > :is(main, footer.pd-foot) { opacity: 0; }
:root.pd-sitedoc.js.pd-wait body::after { content: ""; position: fixed; inset: 0; z-index: calc(var(--pd-z-sticky) - 1); }
/* the bar's line from the first frame on a page that opens scrolled (pageswitch.js predicts it before the first paint) */
:root.pd-sitedoc.pd-scrolled-early body > header.pd-nav { border-bottom-color: var(--site-line); transition: none; }
:root.pd-sitedoc.js.pd-fontwait header.pd-nav .pd-nav__in > :not(.pd-lockup) { visibility: hidden; }
:root.pd-sitedoc.js.pd-leaving-covered body > :is(main, footer.pd-foot) { visibility: hidden; }
:root.pd-sitedoc.js.pd-opening body > :is(main, footer.pd-foot) { animation: pd-content-in 180ms var(--pd-ease-out) both; }
/* after a loader that was seen: once it has gone (its exit, 80 or 120 ms) */
:root.pd-sitedoc.js.pd-opening.pd-open-80 body > :is(main, footer.pd-foot) { animation-delay: 80ms; }
:root.pd-sitedoc.js.pd-opening.pd-open-120 body > :is(main, footer.pd-foot) { animation-delay: 120ms; }
@keyframes pd-content-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  :root.pd-sitedoc.js.pd-opening body > :is(main, footer.pd-foot) { animation: pd-content-in 80ms linear both; }
}
.pd-loader { display: none; }
:root.pd-sitedoc.js:is(.pd-wait, .pd-opening) .pd-loader {
  position: fixed; z-index: var(--pd-z-raised); left: 50%;
  top: calc(var(--pd-nav-h) + (100svh - var(--pd-nav-h)) / 2); transform: translate(-50%, -50%);
  display: grid; justify-items: center; row-gap: 16px; pointer-events: none; color: var(--site-lockup); opacity: 0;
}
:root.pd-loading .pd-loader { animation: pd-loader-in 240ms var(--pd-ease-std) both; }
.pd-loader__mark { display: block; width: 20px; height: 28px; fill: currentColor; }
.pd-loader__line { position: relative; display: block; width: 48px; height: 2px; border-radius: 1px; overflow: hidden; background: var(--site-line); }
.pd-loader__line > i { position: absolute; inset: 0; background: currentColor; transform-origin: left center; transform: scaleX(0); }
:root.pd-loading .pd-loader__line > i { animation: pd-switch-grow 12s cubic-bezier(0.08, 0.8, 0.2, 1) forwards; }
.pd-loader__line > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 25%; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--pd-switch-pass), transparent); transform: translateX(-100%); }
:root.pd-loading .pd-loader__line > i::after { animation: pd-switch-pass 2000ms var(--pd-ease-out) 800ms 6 both; }
.pd-loader__word { display: none; font: 500 var(--pd-site-caption-size)/20px var(--pd-font-text); color: var(--site-text-2); white-space: nowrap; }
@keyframes pd-loader-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  :root.pd-loading .pd-loader { animation: pd-loader-in 1ms steps(1, end) both; }
  :root.pd-loading .pd-loader__line > i { animation: none; transform: scaleX(0.3); }
  .pd-loader__line > i::after { content: none; }
  .pd-loader__word { display: block; }
}
@media print {
  :root.pd-sitedoc body > :is(main, footer.pd-foot) { visibility: visible !important; opacity: 1 !important; animation: none !important; }
  :root.pd-sitedoc header.pd-nav .pd-nav__in > * { visibility: visible !important; }
  .pd-loader { display: none !important; }
}
