/* Accessibility widget, skip link and cookie consent bar: the styles public/tp-a11y.js
   needs on every route. Loaded by the root layout. Cut from tp-enhance.css, which
   keeps its own copy for the routes that still load it. */

/* ---------- accessibility widget ---------- */
.tp-a11y-btn { position: fixed; bottom: 18px; right: 18px; z-index: 9999;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: #2b46ff; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.35); }
/* a white ring inside the dark one, so the focus ring shows over the dark film too */
.tp-a11y-btn:focus-visible { outline: 3px solid #000; outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(0,0,0,.35); }
.tp-a11y-panel { position: fixed; bottom: 74px; right: 18px; z-index: 9999; display: none;
  background: #fff; border: 1px solid #000; border-radius: 10px; padding: 14px; width: 220px;
  font-family: Satoshi, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.tp-a11y-panel.open { display: block; }
.tp-a11y-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.tp-a11y-row { display: block; width: 100%; text-align: left; margin: 4px 0; padding: 8px 10px;
  border: 1px solid #ddd; border-radius: 6px; background: #fafafa; cursor: pointer; font-size: 13px; }
.tp-a11y-row.on { background: #2b46ff; color: #fff; border-color: #2b46ff; }
.tp-a11y-reset { margin-top: 8px; background: #fff; }
.tp-a11y-stmt { display: block; margin-top: 8px; font-size: 12px; color: #555; }

/* a11y feature classes (set on <html> by tp-a11y.js, and before the first paint by the
   head script of src/lib/a11y-prepaint.ts) */

/* Larger text. The generated pages size their text in px, so a root font size alone does
   nothing there: each text block of the page is drawn 1.2 times larger (zoom; Chrome, Safari,
   Edge and Firefox 126+). Only the outermost text block is zoomed, so nothing grows twice;
   blocks wrap inside their own width, so the page gets no horizontal scroll. The films'
   own drawn labels are left as they are (the films place them), and so are the two logo
   rows (pictures, no text) and the phone menu row, which has no room to grow. Pages built in rem still take the root size. */
html.tp-a11y-bigtext { font-size: 120% !important; }
html.tp-a11y-bigtext :where([data-site="c"]) :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,label,a,button,summary,th,td,input,textarea,select):not(:is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,label,a,button,summary,th,td) *):not(#hfilm *, #film *, .cust-r *, .vc-lg *) { zoom: 1.2; }
@media (max-width: 599px) {
  html.tp-a11y-bigtext body :where([data-site="c"]) #nav :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,label,a,button,summary,th,td,input,textarea,select) { zoom: 1; }
}
/* the footer's legal line keeps to one line on phones (c.css); with larger text it may wrap,
   and on phones it stops short of the accessibility button (46 px, 10 px from the edge) */
html.tp-a11y-bigtext [data-site="c"] footer .legal { flex-wrap: wrap !important; }
@media (max-width: 899px) {
  html.tp-a11y-bigtext [data-site="c"] footer .legal { padding-right: 56px; box-sizing: border-box; }
}

/* High contrast. Colours, not a filter: a filter on body made body the containing block of
   every fixed element (the menu bar and the accessibility button scrolled away with the
   page). Light look: the grey text and line tokens go to near black. Dark look (no light
   tokens): a contrast filter on the root element, which by the specification never becomes
   a containing block. */
html.tp-a11y-contrast[data-theme="light"] {
  --L-text-2: #0A0A0A; --L-muted: #26262B; --L-subtle: #3F3F45;
  --grey-l: #26262B; --grey-d: #26262B;
  --L-line: #6B6B72; --line-l: #6B6B72; --line-d: #6B6B72; }
html.tp-a11y-contrast:not([data-theme="light"]) { filter: contrast(1.25); }

html.tp-a11y-links a { text-decoration: underline !important; outline: 1px solid currentColor; }

/* Pause animations: every CSS animation and transition stops. An animation is run once in
   1 ms and ends, rather than paused: a paused entrance animation (a note fading in, the tick
   of the sent form) would stay on its first, invisible frame. The films stop with their own
   pause buttons, and the customers row, the field and the 8 s advance of Solutions and the
   testimonials through the design's own switch (both driven by tp-a11y.js). */
html.tp-a11y-motion *, html.tp-a11y-motion *::before, html.tp-a11y-motion *::after {
  animation-duration: 1ms !important; animation-delay: 0s !important;
  animation-iteration-count: 1 !important; transition: none !important; }
html.tp-a11y-readable body, html.tp-a11y-readable h1, html.tp-a11y-readable h2,
html.tp-a11y-readable h3, html.tp-a11y-readable div, html.tp-a11y-readable p {
  font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }

/* ---------- cookie consent ---------- */
.tp-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: #0c0c0c; color: #fff; display: flex; gap: 16px; align-items: center;
  justify-content: center; flex-wrap: wrap; padding: 12px 18px;
  font-family: Satoshi, sans-serif; font-size: 13px; }
.tp-consent a { color: #9aa6ff; }
.tp-consent-actions { display: flex; gap: 8px; }
.tp-consent-btn { border-radius: 999px; padding: 7px 18px; font-size: 13px; cursor: pointer; border: 1px solid #fff; }
.tp-consent-btn.accept { background: #2b46ff; border-color: #2b46ff; color: #fff; }
.tp-consent-btn.decline { background: transparent; color: #fff; }
/* while the consent bar is up, reserve space so it never hides bottom content on vertical pages */
html.tp-consent-open .tp-subpage,
html.tp-consent-open .tp-legal-page,
html.tp-consent-open .tp-case-page { padding-bottom: 84px; }
/* The generated pages: while the bar is up, the page keeps the bar's height free at its foot,
   so the last lines can always be scrolled above the bar, and an element that takes focus is
   scrolled clear of it. --tp-consent-h is the bar's measured height (tp-a11y.js); before the
   bar arrives, the phone bar height of c.css (--tp-bar) or 64px. The legal pages already pad
   their footer for the bar (c.css), so they are left out here. */
html.tp-consent-open:has([data-site="c"]) { scroll-padding-bottom: var(--tp-consent-h, var(--tp-bar, 64px)); }
html.tp-consent-open body:has([data-site="c"]):not(:has([data-page="legal"])) { padding-bottom: var(--tp-consent-h, var(--tp-bar, 64px)); }

/* skip-to-content link (injected by tp-a11y.js) */
.tp-skip { position: fixed; left: 8px; top: -60px; z-index: 10000; background: #2b46ff; color: #fff;
  padding: 10px 16px; border-radius: 6px; font-family: Satoshi, sans-serif; font-size: 14px;
  text-decoration: none; transition: top .15s; }
.tp-skip:focus { top: 8px; outline: 3px solid #000; }

/* ---------- base for the widget, bar and skip link ----------
   Pages that load no other base stylesheet still render these the same way:
   the values below are what the older base styles gave them. */
.tp-consent, .tp-consent *, .tp-a11y-btn, .tp-a11y-btn *,
.tp-a11y-panel, .tp-a11y-panel *, .tp-skip { box-sizing: border-box; line-height: 1.5; }
.tp-a11y-btn { padding: 0; }
.tp-a11y-panel { color: #333; }
.tp-consent-btn, .tp-a11y-row { font-family: inherit; }
.tp-a11y-row { color: inherit; }

/* ---------- light look (25 Nov 2026) ----------
   The light build sets data-theme="light" on <html> before the first paint. Everything
   below is scoped under it, so without that attribute (the dark look) nothing above
   changes. Colours only, no size, spacing or position: values are the brand book's light
   tokens: off white #F7F7F8, white #FFFFFF, line #D9D9DC, ink #0A0A0A, text 2 #3F3F45,
   accent #394EFD, fog #ECECEE. */
html[data-theme="light"] .tp-a11y-btn { background: #394EFD; color: #fff;
  box-shadow: 0 2px 10px rgba(10,10,10,.22); }
html[data-theme="light"] .tp-a11y-btn:focus-visible { outline: 3px solid #0A0A0A;
  box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(10,10,10,.22); }
html[data-theme="light"] .tp-a11y-panel { background: #FFFFFF; color: #0A0A0A; border-color: #0A0A0A;
  box-shadow: 0 6px 24px rgba(10,10,10,.16); }
html[data-theme="light"] .tp-a11y-row { background: #F7F7F8; border-color: #D9D9DC; color: #0A0A0A; }
html[data-theme="light"] .tp-a11y-row.on { background: #394EFD; border-color: #394EFD; color: #fff; }
html[data-theme="light"] .tp-a11y-reset { background: #FFFFFF; }
html[data-theme="light"] .tp-a11y-stmt { color: #3F3F45; }

/* the bar's top edge is a shadow, not a border, so the bar keeps exactly the height it has in the dark look */
html[data-theme="light"] .tp-consent { background: #FFFFFF; color: #0A0A0A; box-shadow: 0 -1px 0 #D9D9DC; }
html[data-theme="light"] .tp-consent a { color: #394EFD; }
html[data-theme="light"] .tp-consent-btn { border-color: #0A0A0A; }
html[data-theme="light"] .tp-consent-btn.accept { background: #394EFD; border-color: #394EFD; color: #fff; }
html[data-theme="light"] .tp-consent-btn.decline { background: transparent; color: #0A0A0A; }
html[data-theme="light"] .tp-skip { background: #394EFD; }
html[data-theme="light"] .tp-skip:focus { outline-color: #0A0A0A; }

/* The footer's "Cookie settings" button (data-cookie-settings): its base rule is the dark
   look's grey (#8A8EA3, 3.0:1 on the light paper) and white on hover and focus (1.07:1).
   In the light look it takes the colour of the footer's legal links, and ink on hover and
   focus. */
html[data-theme="light"] .legal button[data-cookie-settings] { color: var(--L-muted, #5C5C63); }
html[data-theme="light"] .legal button[data-cookie-settings]:hover,
html[data-theme="light"] .legal button[data-cookie-settings]:focus-visible { color: var(--L-ink, #0A0A0A); }
