/* Design 080 option A / ADR 0139. Tokens and company identity are supplied by the consumer. */
:root {
  color-scheme: light dark;
  --sr-footer-block-size: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  --sr-site-footer-h: var(--sr-footer-block-size);
  scroll-padding-block-end: calc(var(--sr-footer-block-size) + 1rem);
}
.sr-footer-view { display: contents; }
.sr-footer {
  container: sr-footer / inline-size;
  box-sizing: border-box;
  color: var(--sr-site-text, var(--sr-color-text, CanvasText));
  background: var(--sr-site-surface, var(--sr-color-surface, Canvas));
  font-family: var(--sr-site-font-body, var(--sr-font-sans, system-ui));
  border-block-start: 1px solid var(--sr-site-border, var(--sr-color-border, currentColor));
  z-index: 30;
}
.sr-footer *, .sr-footer *::before, .sr-footer *::after { box-sizing: border-box; }
.sr-footer[data-enhanced][data-position="fixed"][data-variant="compact"], .sr-footer[data-enhanced][data-position="fixed"][data-variant="minimal"] { position: fixed; inset-block-end: 0; inset-inline: 0; }
.sr-footer[data-position="sticky"] { position: sticky; inset-block-end: 0; }
.sr-footer-row { display: none; align-items: center; gap: .75rem; block-size: calc(var(--sr-footer-block-size) - 1px); padding: 0 1rem env(safe-area-inset-bottom, 0px); }
.sr-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-inline-size: 0; overflow-wrap: anywhere; }
.sr-footer-row > .sr-footer-legal { flex: 1; }
.sr-footer-row > .sr-footer-legal > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-footer-row > .sr-footer-legal > a { display: none; }
.sr-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.sr-footer a { color: inherit; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.sr-footer a, .sr-footer button, .sr-footer summary, .sr-footer select { min-block-size: 2.75rem; align-content: center; }
.sr-footer nav a { display: block; padding: .4rem; }
.sr-footer :focus-visible { outline: 3px solid var(--sr-site-cyan, Highlight); outline-offset: 3px; }
.sr-footer-content { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; }
.sr-footer-content > .sr-footer-legal { flex-basis: 100%; }
.sr-footer-content h2 { font-size: 1rem; margin: 0 0 .5rem; }
.sr-footer-extra:empty { display: none; }
.sr-footer-extra { max-inline-size: 24rem; overflow-wrap: anywhere; }
.sr-footer-priority ul { display: flex; }
.sr-footer-more { flex: none; cursor: pointer; }
.sr-footer-group summary h2 { display: inline; }
.sr-footer-priority [data-overflowed], .sr-footer[data-variant="minimal"] .sr-footer-priority { display: none; }
.sr-footer[data-enhanced]:not([data-variant="full"]) .sr-footer-row { display: flex; }
.sr-footer[data-enhanced]:not([data-variant="full"]) .sr-footer-content { display: none; }
.sr-footer-sheet { margin: auto 0 0; inline-size: 100%; max-inline-size: none; max-block-size: 90dvh; border: 1px solid currentColor; border-radius: 1rem 1rem 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); overflow: auto; color: inherit; background: var(--sr-site-surface, var(--sr-color-surface, Canvas)); }
.sr-footer-sheet::backdrop { background: var(--sr-site-shadow, CanvasText); opacity: .65; }
.sr-footer-sheet > * { margin-block-end: 1rem; }
.sr-footer-sheet h2 { font-size: 1.1rem; }
@container sr-footer (max-width: 47.999rem) {
  .sr-footer-row { gap: .25rem; padding-inline: .5rem; }
  .sr-footer-priority { display: none; }
  .sr-footer-content { padding: 1rem; gap: 1rem; }
}
/* In a short viewport chrome is ordinary flow content; consent owns its separate <480px fallback. */
@media (max-height: 499px) {
  :root { --sr-footer-block-size: 0px; --sr-site-footer-h: 0px; }
  .sr-footer[data-enhanced][data-position][data-variant], .sr-footer[data-position] { position: static; }
  .sr-footer-row { block-size: 3.5rem; }
}
@media (forced-colors: active) { .sr-footer { border-color: CanvasText; } .sr-footer :focus-visible { outline-color: Highlight; } }

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* Original public-site footer: visible contact, legal and entry/social groups. */
:root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: calc(3.625rem + env(safe-area-inset-bottom, 0px)); }
.sr-footer[data-presentation="company"] {
  min-block-size: var(--sr-footer-block-size); padding-block: .5rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; background: color-mix(in srgb, var(--sr-site-surface, Canvas) 94%, transparent); backdrop-filter: blur(16px);
}
.sr-footer[data-presentation="company"][data-enhanced][data-position="fixed"] { position: fixed; inset-block-end: 0; inset-inline: 0; }
.sr-footer-company-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; inline-size: 100%; max-inline-size: var(--sr-company-container, 100%); padding-inline: .75rem; margin-inline: auto; }
.sr-footer-company-contact, .sr-footer-company-end { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.sr-footer[data-presentation="company"] a { min-block-size: 0; color: var(--sr-site-text-ui, inherit); text-decoration: none; font-size: .76rem; font-weight: 600; padding: 0; }
.sr-footer[data-presentation="company"] a:hover { color: var(--sr-site-cyan, Highlight); }
.sr-footer[data-presentation="company"] .sr-footer-company-contact a { display: inline-flex; align-items: center; gap: .25rem; }
.sr-footer-company-contact .sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
.sr-footer-company-legal { color: var(--sr-site-text-sub, inherit); font-size: .76rem; font-family: var(--sr-site-font-mono, ui-monospace, monospace); }
.sr-footer-company-links, .sr-footer[data-presentation="company"] .sr-footer-company-links a { display: inline; }
.sr-footer-company-detail { display: block; }
.sr-footer[data-presentation="company"] .sr-footer-company-button, .sr-footer[data-presentation="company"] .sr-footer-company-social {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; block-size: 2rem; border: 1px solid var(--sr-site-border, currentColor); border-radius: var(--sr-site-radius-sm, .375rem); background: var(--sr-site-surface2, var(--sr-site-surface, Canvas)); white-space: nowrap; line-height: 1; padding-inline: .7rem;
}
.sr-footer[data-presentation="company"] .sr-footer-company-social { inline-size: 2rem; padding: 0; font-size: 1rem; }
.sr-footer-company-button .sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
.sr-footer[data-presentation="company"] .sr-footer-company-button:hover,
.sr-footer[data-presentation="company"] .sr-footer-company-social:hover { border-color: var(--sr-site-cyan, Highlight); }
.sr-footer[data-presentation="company"] :focus-visible { outline-offset: 2px; }
.sr-footer-company-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; vertical-align: -.125em; }
@media (min-width: 576px) { :root { --sr-company-container: 540px; } }
@media (min-width: 768px) { :root { --sr-company-container: 720px; } }
@media (min-width: 992px) { :root { --sr-company-container: 960px; } }
@media (min-width: 1200px) { :root { --sr-company-container: 1140px; } }
@media (min-width: 1400px) { :root { --sr-company-container: 1320px; } }
@media (max-width: 991.98px) { :root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: calc(7.625rem + env(safe-area-inset-bottom, 0px)); } }
@container sr-footer (max-width: 61.999rem) {
  .sr-footer-company-inner { flex-direction: column; text-align: center; }
  .sr-footer-company-contact, .sr-footer-company-end { justify-content: center; }
}
@container sr-footer (min-width: 62rem) and (max-width: 74.999rem) {
  .sr-footer-company-legal { line-height: 1.35; text-align: center; }
  .sr-footer-company-separator { display: none; }
  .sr-footer[data-presentation="company"] .sr-footer-company-links { display: block; }
}
@container sr-footer (max-width: 47.999rem) {
  .sr-footer-company-inner { row-gap: .5rem; }
  .sr-footer-company-legal { line-height: 1.35; }
  .sr-footer-company-separator { display: none; }
  .sr-footer[data-presentation="company"] .sr-footer-company-links { display: block; }
}
@media (max-height: 499px) {
  :root:has(.sr-footer[data-presentation="company"]) { --sr-footer-block-size: 0px; }
  .sr-footer[data-presentation="company"][data-enhanced][data-position] { position: static; }
}

/*
 * Design 080 (footer v3) / ADR 0149 clause 3: six groups in ui-frame's last row, two lines on desktop and four at
 * most. Transcribed from design-silos designs/_ui/service-shell-v3.css (lines 135-213 at 77f4495), with this family's
 * `sr-footer-frame-` prefix. The steps are container queries on the frame (`sr-frame`, ui-frame's .sr-frame); a page
 * not yet in a frame gets the six-column row. The footer is the frame's fourth row, so its bottom is the window's:
 * there is no fixed position and no reserved block size, and ui-frame flows short windows.
 */
.sr-footer[data-presentation="frame"] {
  --sr-footer-line: 22px; /* one footer line on a fine pointer */
  position: relative; z-index: 20; padding: 0;
  background: var(--sr-site-surface, var(--sr-color-surface, Canvas));
  border-block-start: 1px solid var(--sr-site-border, var(--sr-color-border, currentColor));
  font-family: var(--sr-font-sans, var(--sr-site-font-body, system-ui));
}
.sr-footer[data-presentation="frame"]:not([inert]):not([inert] *):has(details[data-sr-popup][open]) { z-index: var(--sr-frame-popup-layer, 300); }
.sr-footer[data-presentation="frame"] :is(a, button, summary) { min-block-size: 0; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-inner {
  max-inline-size: var(--sr-frame-max-width, 1248px); margin-inline: auto;
  padding: 10px 32px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid; align-items: center; column-gap: 24px; row-gap: 0; justify-content: space-between;
  grid-auto-rows: minmax(var(--sr-footer-line), auto);
  grid-template-columns: repeat(6, auto);
  grid-template-areas: "l c e i s p" "l c e i s p";
  font-size: 12px; line-height: var(--sr-footer-line);
}
.sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-columns: repeat(5, auto); grid-template-areas: "l c i s p" "l c i s p"; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-group { display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-stack { flex-direction: column; align-items: flex-start; gap: 0; }
.sr-footer-frame-legal { grid-area: l; }
.sr-footer-frame-contact { grid-area: c; }
.sr-footer-frame-entry { grid-area: e; }
.sr-footer-frame-info { grid-area: i; }
.sr-footer-frame-social { grid-area: s; }
.sr-footer-frame-preferences { grid-area: p; }
/* 1 and 2: company information first, then email over phone. */
.sr-footer-frame-legal > span { display: block; min-block-size: var(--sr-footer-line); line-height: var(--sr-footer-line); font-size: 12px; color: var(--sr-site-text-sub, inherit); white-space: nowrap; }
.sr-footer-frame-legal > span:first-child { color: var(--sr-site-text-ui, inherit); font-weight: 550; }
.sr-footer[data-presentation="frame"] :is(.sr-footer-frame-contact, .sr-footer-frame-info) a {
  display: inline-flex; align-items: center; gap: 7px; min-block-size: var(--sr-footer-line); padding: 0;
  font-size: 12px; font-weight: 400; color: var(--sr-site-text-ui, inherit); text-decoration: none; white-space: nowrap; overflow-wrap: normal;
}
.sr-footer[data-presentation="frame"] :is(.sr-footer-frame-contact, .sr-footer-frame-info) a:hover { color: var(--sr-site-cyan, inherit); text-decoration: underline; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-contact .sr-footer-company-icon { inline-size: 13px; block-size: 13px; flex: none; color: var(--sr-site-text-sub, inherit); }
/* 3, 5 and 6: design 080's .sr-button. Entry actions are buttons on one line and never underlined. */
.sr-footer[data-presentation="frame"] .sr-footer-frame-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 36px; padding: 6px 14px;
  border: 1px solid var(--sr-site-border-strong, var(--sr-site-border, currentColor)); border-radius: 10px;
  background: var(--sr-site-surface2, var(--sr-site-surface, Canvas)); color: var(--sr-site-text-ui, inherit);
  font: inherit; font-size: 13px; font-weight: 550; line-height: 22px; white-space: nowrap; text-decoration: none; cursor: pointer; list-style: none;
}
.sr-footer[data-presentation="frame"] .sr-footer-frame-button:hover { border-color: var(--sr-site-cyan, Highlight); color: var(--sr-site-text, inherit); }
.sr-footer-frame-control::-webkit-details-marker { display: none; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-entry .sr-footer-frame-button { font-size: 12px; padding-inline: 11px; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-entry .sr-footer-company-icon { inline-size: 14px; block-size: 14px; flex: none; }
/* LinkedIn, WhatsApp and the appearance button: square, the icon centred. */
.sr-footer[data-presentation="frame"] .sr-footer-frame-tile { display: inline-grid; place-items: center; inline-size: 36px; padding: 0; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-tile .sr-footer-company-icon { inline-size: 16px; block-size: 16px; }
.sr-footer[data-presentation="frame"] .sr-footer-frame-locale > summary { min-inline-size: 64px; padding-inline: 10px; gap: 6px; }
.sr-footer-frame-icon { flex: none; inline-size: 20px; block-size: 20px; }
.sr-footer-frame-locale .sr-footer-frame-icon { inline-size: 16px; block-size: 16px; }
/* A box, not a line: an inline summary would sit on a baseline taller than its tile at the coarse line height. */
.sr-footer-frame-disclosure { position: static; display: flex; }
.sr-footer-frame-disclosure[open] > summary { border-color: var(--sr-site-cyan, Highlight); }
.sr-footer-frame-disclosure[open] > .sr-footer-frame-panel {
  position: absolute; inset-block-end: calc(100% + 10px); inset-inline-end: 0; inline-size: 18rem; min-inline-size: 200px;
  max-inline-size: calc(100vw - 2rem); max-block-size: 65dvh; overflow: auto; margin: 0;
  border: 1px solid var(--sr-site-border-strong, var(--sr-site-border, currentColor)); border-radius: 14px; padding: .875rem;
  background: var(--sr-site-surface, var(--sr-color-surface, Canvas)); color: var(--sr-site-text, var(--sr-color-text, CanvasText));
  box-shadow: 0 -.5rem 2.5rem color-mix(in srgb, var(--sr-site-shadow, CanvasText) 14%, transparent); z-index: 40; line-height: 1.5;
}
.sr-footer-frame-panel fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.sr-footer-frame-panel legend { font-weight: 700; font-size: .8125rem; margin-block-end: .5rem; }
.sr-footer-frame-panel > legend { float: inline-start; inline-size: 100%; }
.sr-footer-frame-panel label { display: flex; align-items: center; gap: .625rem; min-block-size: 2.75rem; font-size: .8125rem; cursor: pointer; }
.sr-footer-theme-options { display: grid; gap: .25rem; }
.sr-footer-frame-panel input { accent-color: var(--sr-site-cyan, Highlight); inline-size: 1rem; block-size: 1rem; margin: 0; flex: none; }
.sr-footer-frame-panel label:has(input:checked) { font-weight: 700; }
.sr-footer-theme-options input { margin-inline-start: auto; }
.sr-footer-theme-options label { padding: .625rem .5rem; border-radius: .5rem; }
.sr-footer-theme-options label:hover { background: var(--sr-site-surface2, Canvas); }
/* Visually hidden, still the entry's words for assistive technology (under 360px). */
.sr-footer-frame-label { white-space: nowrap; }
/* Outside the six-group grid: a consumer's slot content sits below the groups. */
.sr-footer[data-presentation="frame"] > .sr-footer-extra { max-inline-size: var(--sr-frame-max-width, 1248px); margin-inline: auto; padding-inline: 32px; }
.sr-footer[data-presentation="frame"] > .sr-footer-extra:empty { display: none; }

/* Five columns: social over preferences. Still two lines. */
@container sr-frame (max-width: 1023.98px) {
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner { grid-template-columns: repeat(5, auto); grid-template-areas: "l c e i s" "l c e i p"; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-columns: repeat(4, auto); grid-template-areas: "l c i s" "l c i p"; }
}
/* Four columns: entry over social-and-preferences. Still two lines. */
@container sr-frame (max-width: 863.98px) {
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner { grid-template-columns: auto auto auto auto auto; grid-template-areas: "l c i e e" "l c i s p"; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-columns: auto auto auto auto; grid-template-areas: "l c i s" "l c i p"; }
}
/* Three columns, three lines: the single-line groups take a third line under the stacks; 12px gaps. */
@container sr-frame (max-width: 703.98px) {
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner { padding-inline: 12px; column-gap: 12px; grid-template-columns: auto auto auto; grid-template-areas: "l c i" "l c i" "e s p"; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-areas: "l c i" "l c i" "s . p"; }
  .sr-footer-frame-inner > :is(.sr-footer-frame-entry, .sr-footer-frame-social, .sr-footer-frame-preferences) { margin-block-start: 6px; }
}
/*
 * Two columns, four lines. Left: Srls, VAT, email, phone. Right: the entry in words; Privacy and Status on one line;
 * the four 32px tiles on one line. The contact icons and the language globe drop.
 */
@container sr-frame (max-width: 511.98px) {
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner { padding-inline: 12px; column-gap: 10px; grid-template-columns: auto auto auto; grid-template-areas: "l e e" "l i i" "c s p" "c . ."; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-areas: "l i i" "l s p" "c . ." "c . ."; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-info { flex-direction: row; gap: 14px; }
  .sr-footer-frame-inner > :is(.sr-footer-frame-entry, .sr-footer-frame-social, .sr-footer-frame-preferences) { margin-block-start: 0; }
  .sr-footer[data-presentation="frame"] :is(.sr-footer-frame-social, .sr-footer-frame-preferences) { gap: 6px; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-contact .sr-footer-company-icon { display: none; }
  .sr-footer[data-presentation="frame"] :is(.sr-footer-frame-tile, .sr-footer-frame-locale > summary) { inline-size: var(--sr-touch-min, 32px); min-inline-size: var(--sr-touch-min, 32px); min-block-size: var(--sr-touch-min, 32px); padding: 0; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-entry .sr-footer-frame-button { min-block-size: var(--sr-touch-min, 32px); }
  .sr-footer-frame-locale > summary .sr-footer-frame-icon { display: none; }
  .sr-footer-frame-inner > * { justify-self: start; }
}
/*
 * Below 360px, three columns and still four lines: Srls, VAT, email, phone on the left; then Privacy, Status and the
 * entry as a 32px tile, one per line; then the four tiles two by two. The entry's words stay its name and title.
 */
@container sr-frame (max-width: 359.98px) {
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner { grid-template-columns: auto auto auto; grid-template-areas: "l i s" "l i p" "c e ." "c . ."; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-inner[data-entry="none"] { grid-template-areas: "l i s" "l i p" "c . ." "c . ."; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-info { flex-direction: column; align-items: flex-start; gap: 0; }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-info a { min-block-size: var(--sr-touch-min, 32px); }
  .sr-footer[data-presentation="frame"] .sr-footer-frame-entry .sr-footer-frame-button { inline-size: var(--sr-touch-min, 32px); min-inline-size: var(--sr-touch-min, 32px); padding: 0; }
  .sr-footer-frame-entry .sr-footer-frame-label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
}
/* A coarse pointer: every footer line and target is at least 32px (ADR 0149 clause 5). */
@media (pointer: coarse) {
  .sr-footer[data-presentation="frame"] { --sr-footer-line: var(--sr-touch-min, 32px); }
  .sr-footer[data-presentation="frame"] :is(.sr-footer-frame-button, .sr-footer-frame-disclosure > summary) { min-block-size: var(--sr-touch-min, 32px); }
  .sr-footer[data-presentation="frame"] :is(.sr-footer-frame-tile, .sr-footer-frame-locale > summary) { min-inline-size: var(--sr-touch-min, 32px); }
}
@media (forced-colors: active) { .sr-footer-frame-panel input { accent-color: auto; } }
