/* =====================================================================
   iLovePaghe — landing (seconda ristrutturazione, ottobre 2026)
   Same language as the admin dashboard: white surfaces, black type, Geist,
   iLovePaghe blue for what you act on, solid colours with a fixed meaning
   (blue = cedolini / invio, green = presenze, amber = assenze, violet = documenti).
   Signature: one mark per payslip, lit in blue when it is sent.
   The hero shows the Home of the real admin dashboard (landing/scena/),
   still, with an invented company; only the window moves with the scroll.
   The sections below present the HR platform with crops of the same Home.
   Nothing enters with an effect: the page is there at once.
   Landing content is scoped to #home; shared chrome is themed only on the active
   landing. Footer control rules are scoped to its own component.
   ===================================================================== */

/* The same Geist font is bundled by scripts/landing/build.py into fonts.css,
   so its first use does not wait for a second request or swap visible text. */

/* Cached Safari can paint before its embedded font finishes decoding.
   Keep the reserved layout; entry.js reveals it as soon as the font is ready. */
html[data-lp-font="loading"] #home{ visibility: hidden; }

/* Preserve the document overflow of the original base stylesheet.
   The shared header's more specific mobile-menu lock still takes precedence. */
html[data-lp-home]{ overflow-x: hidden; overflow-y: auto; }

/* Match the shared header before its measured value is written on the root. */
html[data-lp-home="true"]{ --header-height: 64px; }
@media (max-width: 720px){
  html[data-lp-home="true"]{ --header-height: 60px; }
}
@media (max-width: 540px){
  html[data-lp-home="true"]{ --header-height: 60px; }
}

#home{
  --lp-ink: #0d0d0d;
  --lp-ink-2: #2a2a2c;
  --lp-text-2: #55555b;
  --lp-text-3: #6e6e74;
  --lp-line: #e7e7ea;
  --lp-line-strong: #d2d2d7;
  --lp-soft: #f6f6f7;
  --lp-soft-2: #ececee;
  /* Theme tokens: redefined below for the dark theme. */
  --lp-bg: #ffffff;
  --lp-surface: #ffffff;
  --lp-ink-soft: #3a3a3e;
  --lp-inverse: #0d0d0d;
  --lp-inverse-hover: #2a2a2c;
  --lp-on-inverse: #ffffff;
  --lp-line-hover: #b9b9bf;
  --lp-cell: #dcdce0;
  --lp-blue-text: #1c6fe6;
  --lp-focus: #1c6fe6;
  --lp-shadow: rgba(13, 13, 13, .35);
  --lp-system: #0d0d0d;
  --lp-blue: #1c6fe6;
  --lp-blue-hover: #165cc4;
  --lp-blue-ink: #0f4fb8;
  --lp-green: #12b76a;
  --lp-amber: #f0a020;
  --lp-violet: #8a5cf5;
  --lp-red: #e5484d;
  --lp-font: "Geist Landing", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-max: 1180px;
  --lp-gutter: clamp(20px, 4vw, 40px);
  --lp-section: clamp(88px, 11vw, 144px);
  --lp-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: var(--lp-font);
  color: var(--lp-ink);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* comeFunzionaEmbed.css still sets a system font stack and tight tracking on this wrapper. */
#home #come-funziona{
  margin-top: 0;
  font-family: var(--lp-font);
  color: var(--lp-ink);
  line-height: 1.5;
  letter-spacing: normal;
}

/* ---------- Base inside the landing blocks ---------- */
#home :where(.lp-hero, .lp-band, .lp-section) :where(h1, h2, h3, p, ul, ol, dl, dd, dt, figure, figcaption){
  margin: 0;
  padding: 0;
}
#home :where(.lp-hero, .lp-band, .lp-section) :where(ul, ol){ list-style: none; }
#home :where(.lp-hero, .lp-band, .lp-section) :where(h1, h2, h3){ color: var(--lp-ink); font-family: var(--lp-font); }
#home :where(.lp-hero, .lp-band, .lp-section) svg{ flex: 0 0 auto; }
#home .lp-sr{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#home .lp-wrap{
  width: 100%;
  max-width: calc(var(--lp-max) + var(--lp-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
  box-sizing: border-box;
}
#home .lp-section{ padding: var(--lp-section) 0 0; }

#home .lp-h2{
  max-width: 22ch;
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}
#home .lp-lead{
  max-width: 58ch;
  margin-top: 20px;
  color: var(--lp-text-2);
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}
#home .lp-head{ margin-bottom: clamp(36px, 5vw, 60px); }
#home .lp-head--center{ text-align: center; }
#home .lp-head--center .lp-h2,
#home .lp-head--center .lp-lead{ margin-left: auto; margin-right: auto; }

/* ---------- Buttons and links ---------- */
#home .lp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--lp-ease), border-color .18s var(--lp-ease), color .18s var(--lp-ease), transform .18s var(--lp-ease);
  -webkit-tap-highlight-color: transparent;
}
#home .lp-btn:active{ transform: scale(.98); }
#home .lp-btn:focus-visible{ outline: none; box-shadow: 0 0 0 3px var(--lp-bg), 0 0 0 5px var(--lp-focus); }
#home .lp-btn--lg{ height: 52px; padding: 0 26px; font-size: 16px; }
#home .lp-btn--block{ width: 100%; }
#home .lp-btn--primary{ background: var(--lp-inverse); color: var(--lp-on-inverse); }
#home .lp-btn--primary:hover{ background: var(--lp-inverse-hover); }
#home .lp-btn--quiet{ background: var(--lp-soft-2); color: var(--lp-ink); }
#home .lp-btn--quiet:hover{ background: var(--lp-cell); }
#home .lp-btn--secondary{ border-color: var(--lp-line-strong); background: var(--lp-surface); color: var(--lp-ink); }
#home .lp-btn--secondary:hover{ border-color: var(--lp-line-hover); background: var(--lp-soft); }
#home .lp-btn--onblue{ background: #fff; color: var(--lp-blue-ink); }
#home .lp-btn--onblue:hover{ background: rgba(255, 255, 255, .9); }
/* States set by the application on the main upload button */
#home .lp-btn.locked{ background: var(--lp-inverse-hover); }
#home .lp-btn[aria-disabled="true"]{ cursor: progress; opacity: .78; }
/* Pricing buttons while the checkout page opens (pricing-effects.js) */
#home .ilpPricingCta.is-loading{ position: relative; color: transparent !important; pointer-events: none; }
#home .ilpPricingCta.is-loading::after{
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  color: var(--lp-ink);
  animation: lpSpin .7s linear infinite;
}
#home .lp-btn--onblue.is-loading::after{ color: var(--lp-blue-ink); }
#home .ilpPricingCta[aria-disabled="true"]:not(.is-loading){ opacity: .6; }
@keyframes lpSpin{ to{ transform: rotate(360deg); } }

#home .lp-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-blue-text);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
#home .lp-link::after{
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}
#home .lp-link:hover{ text-decoration: underline; }
#home .lp-link:focus-visible{ outline: 2px solid var(--lp-focus); outline-offset: 3px; border-radius: 4px; }

#home .lp-mark{
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
#home .lp-mark svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#home .lp-mark--yes{ background: var(--lp-blue); color: #fff; }

#home .lp-dot{ display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 3px; background: var(--lp-inverse); }
#home .lp-dot--blue{ background: var(--lp-blue); }
#home .lp-dot--green{ background: var(--lp-green); }
#home .lp-dot--amber{ background: var(--lp-amber); }
#home .lp-dot--violet{ background: var(--lp-violet); }

/* ---------- Section labels ---------- */
#home .lp-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--lp-text-3);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.005em;
  line-height: 1.2;
}
#home .lp-eyebrow::before{ content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--lp-blue); }
#home .lp-eyebrow--onblue{ color: #fff; }
#home .lp-eyebrow--onblue::before{ background: #fff; }
#home .lp-eyebrow--inverse{ color: #a8a8ae; }

/* =====================================================================
   Hero. The title, then the Home of the admin dashboard of iLovePaghe at
   its real size, still, scaled into the page (landing/scena/poster*.webp).
   The texts are on screen at once. The window rises with the scroll (CSS).
   ===================================================================== */
#home .lp-hero{
  --lp-hdr: var(--fixed-header-h, 64px);
  position: relative;
  isolation: isolate;
  padding-top: clamp(36px, 8.5vh, 104px);
  /* The space under the window belongs to the hero, so that the shadow of the window falls whole
     inside it (the hero clips the aura); the blue band follows at the same distance as before. */
  padding-bottom: var(--lp-section);
  overflow: clip;
  text-align: center;
}
#home #come-funziona > .lp-band:first-child{ margin-top: 0; }
/* Soft fields of the platform colours behind the window. */
#home .lp-hero__aura{
  position: absolute;
  left: 50%;
  top: clamp(300px, 46vh, 520px);
  z-index: -1;
  width: min(1700px, 150vw);
  height: 1100px;
  transform: translateX(-50%);
  pointer-events: none;
}
#home .lp-hero__aura i{
  position: absolute;
  border-radius: 50%;
  opacity: .9;
}
#home .lp-hero__aura i:nth-child(1){ left: 6%; top: 4%; width: 52%; height: 64%; background: radial-gradient(closest-side, rgba(28, 111, 230, .2), rgba(28, 111, 230, 0)); }
#home .lp-hero__aura i:nth-child(2){ right: 4%; top: 0; width: 48%; height: 60%; background: radial-gradient(closest-side, rgba(138, 92, 245, .15), rgba(138, 92, 245, 0)); }
#home .lp-hero__aura i:nth-child(3){ left: 26%; top: 38%; width: 46%; height: 58%; background: radial-gradient(closest-side, rgba(18, 183, 106, .11), rgba(18, 183, 106, 0)); }
#home .lp-hero__aura i:nth-child(4){ right: 16%; top: 30%; width: 38%; height: 50%; background: radial-gradient(closest-side, rgba(240, 160, 32, .12), rgba(240, 160, 32, 0)); }

#home .lp-hero__inner{ display: flex; flex-direction: column; align-items: center; }
#home .lp-hero__title{
  max-width: 14.5ch;
  font-size: clamp(42px, min(6.4vw, 9.8vh), 94px);
  font-weight: 650;
  letter-spacing: -.054em;
  line-height: .97;
  text-wrap: balance;
}
/* «click.»: the full stop is iLovePaghe blue. */
#home .lp-period{ color: var(--lp-blue); }
#home .lp-hero__lead{
  max-width: 640px;
  margin-top: clamp(18px, 2.8vh, 28px);
  color: var(--lp-text-2);
  font-size: clamp(16.5px, 1.4vw, 19.5px);
  line-height: 1.55;
  text-wrap: pretty;
}
#home .lp-hero__actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(22px, 3.4vh, 34px); }
#home .lp-hero__hint{ width: 100%; max-width: 640px; min-height: 1.5em; margin-top: 12px; color: var(--lp-text-3); font-size: 14px; line-height: 1.5; }
#home .lp-hero__hint:empty{ display: block; }
/* «Prova ora» in the prices brings the visitor back here and the upload button answers once
   (landing-ui.js adds .is-called): it swells a little and settles, a light passes across it and
   two rings of the brand blue open around it over a soft blue light. The shared stylesheet forbids shadows on buttons
   (box-shadow: none !important), so the rings are drawn by ::before and the light by ::after. */
#home .lp-btn.is-called{
  --lp-call-ring: 28, 111, 230;
  position: relative;
  isolation: isolate;
  animation: lpCallPop .66s cubic-bezier(.3, .7, .3, 1) both;
}
#home .lp-btn.is-called::before,
#home .lp-btn.is-called::after{
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
#home .lp-btn.is-called::before{ animation: lpCallRing 1.6s cubic-bezier(.2, .6, .3, 1) .04s both; }
#home .lp-btn.is-called::after{
  background: linear-gradient(105deg, transparent 38%, var(--lp-call-sheen, rgba(255, 255, 255, .3)) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  animation: lpCallSheen .95s cubic-bezier(.45, 0, .2, 1) .2s both;
}
html[data-lp-theme="dark"] #home .lp-btn.is-called{ --lp-call-sheen: rgba(28, 111, 230, .22); }
@keyframes lpCallPop{
  0%{ transform: scale(1); }
  34%{ transform: scale(1.045); }
  68%{ transform: scale(.994); }
  100%{ transform: scale(1); }
}
/* Two rings that open and fade, over a soft blue light under the button that comes and goes. */
@keyframes lpCallRing{
  0%{ box-shadow: 0 0 0 0 rgba(var(--lp-call-ring), .6), 0 6px 20px -6px rgba(var(--lp-call-ring), 0); }
  22%{ box-shadow: 0 0 0 9px rgba(var(--lp-call-ring), .22), 0 12px 34px -6px rgba(var(--lp-call-ring), .5); }
  44%{ box-shadow: 0 0 0 15px rgba(var(--lp-call-ring), 0), 0 12px 34px -6px rgba(var(--lp-call-ring), .44); }
  45%{ box-shadow: 0 0 0 0 rgba(var(--lp-call-ring), .45), 0 12px 34px -6px rgba(var(--lp-call-ring), .44); }
  100%{ box-shadow: 0 0 0 15px rgba(var(--lp-call-ring), 0), 0 10px 30px -6px rgba(var(--lp-call-ring), 0); }
}
@keyframes lpCallSheen{ from{ background-position: 100% 0; } to{ background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce){
  /* Nothing moves: a blue ring around the button, then it fades. */
  #home .lp-btn.is-called{ animation: none; }
  #home .lp-btn.is-called::before{ animation: lpCallStill 1.6s linear both; }
  #home .lp-btn.is-called::after{ display: none; }
}
@keyframes lpCallStill{
  0%, 65%{ box-shadow: 0 0 0 3px var(--lp-bg), 0 0 0 5px rgba(var(--lp-call-ring), 1); }
  100%{ box-shadow: 0 0 0 3px var(--lp-bg), 0 0 0 5px rgba(var(--lp-call-ring), 0); }
}

/* Reserve the largest session label before auth and plan checks settle. */
@media (min-width: 721px){
  #home #btnOpenPayrollAdmin, #home #btnOneClickOpen{ width: 280px; max-width: 100%; }
  html[data-lp-home="true"] header[data-ilp-header="1"] .statusRow,
  body:has(#home) header[data-ilp-header="1"] .statusRow{ min-width: var(--ilp-auth-slot-min, 196px); }
}

/* ---------- The window ---------- */
#home .lp-stage{
  position: relative;
  margin-top: clamp(36px, 6.5vh, 72px);
  padding: 0 var(--lp-gutter);
}
#home .lp-stage__shell{
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  perspective: 2200px;
  perspective-origin: 50% 0;
}
/* Paint order: the moving window is drawn last in the page (the hero above the sections), so the
   compositor keeps it on one layer and composites nothing else for it. */
#home .lp-hero{ z-index: 1; }
#home .lp-stage__window{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(13, 13, 13, .07),
    0 1px 2px rgba(13, 13, 13, .04),
    0 24px 48px -24px rgba(16, 30, 64, .22),
    0 70px 120px -60px rgba(16, 30, 64, .38);
  transform-origin: 50% 0;
}
/* The window rises with the page. While it enters the screen it leans back, a little smaller;
   it is straight and full size when all of it is in sight. A scroll-driven animation of transform
   only, drawn by the compositor: no script follows the scroll, nothing waits for the page.
   Where scroll-driven animations are missing, or motion is reduced, the window simply stands. */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    #home .lp-stage__shell{ view-timeline: --lp-window block; }
    #home .lp-stage__window{
      animation: lpRise linear both;
      animation-timeline: --lp-window;
      animation-range: entry 0% entry 100%;
      will-change: transform;
    }
  }
}
@keyframes lpRise{
  0%{ transform: translate3d(0, 6%, 0) rotateX(24deg) scale(.86); }
  45%{ transform: translate3d(0, 1.5%, 0) rotateX(9deg) scale(.945); }
  80%{ transform: translate3d(0, 0, 0) rotateX(1.6deg) scale(.992); }
  100%{ transform: none; }
}
#home .lp-stage__bar{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #ececee;
  background: #f9f9f9;
}
#home .lp-stage__dots{ display: flex; gap: 7px; }
#home .lp-stage__dots i{ width: 11px; height: 11px; border-radius: 50%; background: #dedee2; }
#home .lp-stage__address{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(460px, 100%);
  height: 28px;
  margin: 0 auto;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #ececee;
  color: #5f5f66;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
#home .lp-stage__url{ display: inline-flex; align-items: center; gap: 6px; }
#home .lp-stage__url svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

/* The Home of the dashboard, still: a picture of the real markup at its real size (1440 × 900 on
   computers, 1280 × 800 below 1040 px), chosen by the theme of the landing (not by the system) and by
   the density of the screen. On phones the same desktop dashboard fills a taller 3:4 window from its
   left edge: the menu of the dashboard and «In servizio adesso». */
#home .lp-stage__viewport{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff url("/landing/scena/poster.webp") 0 0 / cover no-repeat;
  background-image: image-set(url("/landing/scena/poster.webp") 1x, url("/landing/scena/poster-2x.webp") 2x);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
html[data-lp-theme="dark"] #home .lp-stage__viewport{
  background-color: #0d0d0d;
  background-image: url("/landing/scena/poster-scuro.webp?v=6c8a99a18c3a1195");
  background-image: image-set(url("/landing/scena/poster-scuro.webp?v=6c8a99a18c3a1195") 1x, url("/landing/scena/poster-scuro-2x.webp?v=e0b9409a1b5d8390") 2x);
}
@media (max-width: 1039px){
  #home .lp-stage__viewport{
    background-image: url("/landing/scena/poster-1280.webp");
    background-image: image-set(url("/landing/scena/poster-1280.webp") 1.25x, url("/landing/scena/poster-1280-2x.webp") 2x);
  }
  html[data-lp-theme="dark"] #home .lp-stage__viewport{
    background-image: url("/landing/scena/poster-1280-scuro.webp?v=caa777f0f326c5ac");
    background-image: image-set(url("/landing/scena/poster-1280-scuro.webp?v=caa777f0f326c5ac") 1.25x, url("/landing/scena/poster-1280-scuro-2x.webp?v=c057ca6d37c2e718") 2x);
  }
}
@media (max-width: 731px){
  #home .lp-stage__viewport{ aspect-ratio: 3 / 4; }
}

/* =====================================================================
   Time saved: the blue band.
   ===================================================================== */
#home .lp-band{
  margin-top: var(--lp-section);
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--lp-blue);
  color: #fff;
}
#home .lp-band__grid{
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}
#home .lp-band .lp-h2{ color: #fff; max-width: 12ch; }
#home .lp-band__text{ max-width: 44ch; margin-top: 20px; color: #fff; font-size: clamp(16.5px, 1.35vw, 18.5px); line-height: 1.6; }
#home .lp-race{ display: grid; gap: 22px; }
#home .lp-race__head{ display: flex; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 500; }
#home .lp-race__head b{ font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
#home .lp-race__track{ position: relative; display: block; height: 20px; margin-top: 10px; border-radius: 7px; background: rgba(255, 255, 255, .16); }
#home .lp-race__track i{ position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 6px; border-radius: 7px; background: #0b3a85; transform-origin: 0 50%; }
#home .lp-race__row--ilp .lp-race__track i{ background: #fff; }
#home .lp-race__caption{ color: #fff; font-size: 13.5px; line-height: 1.5; }
#home .lp-race.is-armed .lp-race__track i{ transform: scaleX(0); }
#home .lp-race.is-armed.is-in .lp-race__track i{ transform: scaleX(1); transition: transform 2.6s cubic-bezier(.4, 0, .6, 1) .25s; }
#home .lp-race.is-armed.is-in .lp-race__row--ilp .lp-race__track i{ transition: transform .35s cubic-bezier(.2, .8, .2, 1) .45s; }
#home .lp-band__facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, .3);
}
#home .lp-fact{ display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 24px 0 0; }
#home .lp-fact + .lp-fact{ padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .3); }
#home .lp-fact__value{ color: #fff; font-size: clamp(44px, 4.8vw, 66px); font-weight: 600; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
#home .lp-fact__value small{ font-size: 17px; font-weight: 500; letter-spacing: 0; }
#home .lp-fact__note{ max-width: 30ch; color: #fff; font-size: 14.5px; line-height: 1.45; }

/* =====================================================================
   The sending system, step by step: a dark band, the title stays while
   the eight steps pass.
   ===================================================================== */
#home .lp-system{
  margin-top: 0;
  padding: var(--lp-section) 0;
  background: var(--lp-system);
  color: #fff;
}
#home .lp-system__grid{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
#home .lp-system__sticky{ position: sticky; top: calc(var(--fixed-header-h, 64px) + 40px); }
#home .lp-system .lp-h2{ color: #fff; }
#home .lp-system .lp-lead{ color: #c4c4c9; }
#home .lp-system__foot{ margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
#home .lp-system__foot p{ max-width: 52ch; color: #c4c4c9; font-size: 15px; line-height: 1.6; }
#home .lp-system__foot b{ color: #fff; font-weight: 600; }
#home .lp-system__links{ display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
#home .lp-link--inverse{ color: #8fb8ff; }
#home .lp-link--inverse:focus-visible{ outline-color: #fff; }
#home .lp-system__steps{ position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
#home .lp-system__step{
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
#home .lp-system__num{
  padding-top: 4px;
  color: #8a8a91;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
#home .lp-system__step:nth-child(6) .lp-system__num{ color: #8fb8ff; }
#home .lp-system__step h3{ color: #fff; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
#home .lp-system__step p{ max-width: 58ch; margin-top: 8px; color: #b9b9be; font-size: 15.5px; line-height: 1.6; }
#home .lp-system__tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
#home .lp-system__tags span{ padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e4e4e7; font-size: 12.5px; line-height: 1.2; }

/* =====================================================================
   The HR platform (29 ottobre 2026). Index of the areas, chapters 01–03,
   the trio 04–06 with the tools of the dashboard, the rules of the list
   (in the dark band), who does what. The pictures are crops of the real
   Home of the dashboard (landing/scena/schede/, 3x, light and dark): only
   the one of the active theme is loaded. The other figures are drawn as
   data. Module colours keep their meaning: blue cedolini, green presenze,
   amber assenze. Texts are on screen at once; only data figures move.
   ===================================================================== */
@font-face{
  font-family: "Geist Mono Landing";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/landing/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
}
#home{
  --lp-mono: "Geist Mono Landing", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Tints of the module colours: pill and icon backgrounds, their text. */
  --lp-tint-blue: rgba(28, 111, 230, .11);
  --lp-tint-blue-ink: #1557b8;
  --lp-tint-green: rgba(18, 183, 106, .14);
  --lp-tint-green-ink: #08734a;
  --lp-tint-amber: rgba(240, 160, 32, .19);
  --lp-tint-amber-ink: #8a5300;
  --lp-shot-shadow:
    0 0 0 1px rgba(13, 13, 13, .05),
    0 1px 2px rgba(13, 13, 13, .05),
    0 18px 40px -20px rgba(16, 30, 64, .26),
    0 46px 90px -48px rgba(16, 30, 64, .32);
}
#home .lp-system__num{ font-family: var(--lp-mono); }

/* ---------- The platform: the areas of the dashboard, one row each ---------- */
#home .lp-suite__grid{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
#home .lp-suite__intro{ position: sticky; top: calc(var(--fixed-header-h, 64px) + 40px); }
#home .lp-suite__intro .lp-h2{ max-width: 11ch; }
#home .lp-suite__note{
  max-width: 44ch;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-text-3);
  font-size: 14.5px;
  line-height: 1.55;
}
#home .lp-index__list{ border-top: 1px solid var(--lp-line); }
#home .lp-index__row{
  display: grid;
  grid-template-columns: 30px 40px minmax(0, 1fr) 16px;
  grid-template-areas: "num ico name go" "num ico text go";
  column-gap: 16px;
  row-gap: 3px;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 20px 0;
  border-bottom: 1px solid var(--lp-line);
  color: inherit;
  text-decoration: none;
  transition: background-color .18s var(--lp-ease);
  -webkit-tap-highlight-color: transparent;
}
#home .lp-index__row::after{
  content: "";
  grid-area: go;
  justify-self: end;
  width: 8px;
  height: 8px;
  border-top: 1.8px solid var(--lp-text-3);
  border-right: 1.8px solid var(--lp-text-3);
  transform: rotate(45deg);
  transition: border-color .18s var(--lp-ease);
}
/* The hover field reaches a little past the lines, so that icon and text keep their alignment. */
#home .lp-index__row::before{
  content: "";
  position: absolute;
  inset: 4px -14px;
  z-index: -1;
  border-radius: 14px;
  background: transparent;
  transition: background-color .18s var(--lp-ease);
}
#home .lp-index__row:hover::before{ background: var(--lp-soft); }
#home .lp-index__row:hover::after{ border-color: var(--lp-ink); }
#home .lp-index__row:focus-visible{ outline: none; }
#home .lp-index__row:focus-visible::before{ box-shadow: inset 0 0 0 2px var(--lp-focus); }
#home .lp-index__num{ grid-area: num; align-self: center; color: var(--lp-text-3); font: 500 13px/1 var(--lp-mono); font-variant-numeric: tabular-nums; }
#home .lp-index__ico{
  grid-area: ico;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--lp-soft-2);
  color: var(--lp-ink);
}
#home .lp-index__ico svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#home .lp-index__ico--blue{ background: var(--lp-tint-blue); color: var(--lp-blue); }
#home .lp-index__ico--green{ background: var(--lp-tint-green); color: #0e9a5a; }
#home .lp-index__ico--amber{ background: var(--lp-tint-amber); color: #b46f00; }
#home .lp-index__name{ grid-area: name; align-self: end; color: var(--lp-ink); font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
#home .lp-index__text{ grid-area: text; align-self: start; color: var(--lp-text-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- Chapters: label, title and lead, a figure on a coloured canvas, four facts ---------- */
#home .lp-chapter{ scroll-margin-top: 80px; }
#home .lp-chapter__head{
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 22px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4.4vw, 56px);
}
#home .lp-chapter__label{
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--lp-text-2);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
}
#home .lp-chapter__head .lp-h2{ max-width: 17ch; }
#home .lp-chapter__head .lp-lead{ max-width: 46ch; margin-top: 0; }
#home .lp-chapter__num{
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 7px;
  border-radius: 7px;
  background: var(--lp-soft-2);
  color: var(--lp-ink);
  font: 600 12px/1 var(--lp-mono);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
#home .lp-chapter__num + .lp-chapter__num{ margin-left: -4px; }
#home .lp-chapter__num--blue{ background: var(--lp-tint-blue); color: var(--lp-tint-blue-ink); }
#home .lp-chapter__num--green{ background: var(--lp-tint-green); color: var(--lp-tint-green-ink); }
#home .lp-chapter__num--amber{ background: var(--lp-tint-amber); color: var(--lp-tint-amber-ink); }
#home .lp-chapter__links{ display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; }

/* The canvas: a quiet field of the module colour with a fine dot grid. */
#home .lp-canvas{
  --lp-canvas-bg: #f4f4f5;
  --lp-canvas-a: rgba(13, 13, 13, .05);
  --lp-canvas-b: rgba(28, 111, 230, .06);
  --lp-canvas-dot: rgba(13, 13, 13, .07);
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(22px, 4.4vw, 56px);
  overflow: hidden;
  border-radius: 28px;
  background-color: var(--lp-canvas-bg);
  background-image:
    radial-gradient(circle at 1px 1px, var(--lp-canvas-dot) 1px, transparent 1.5px),
    radial-gradient(90% 120% at 0% 0%, var(--lp-canvas-a), transparent 62%),
    radial-gradient(80% 110% at 100% 100%, var(--lp-canvas-b), transparent 64%);
  background-size: 22px 22px, auto, auto;
}
#home .lp-canvas--blue{ --lp-canvas-bg: #f1f5fd; --lp-canvas-a: rgba(28, 111, 230, .15); --lp-canvas-b: rgba(138, 92, 245, .1); --lp-canvas-dot: rgba(16, 40, 90, .075); }
#home .lp-canvas--green{ --lp-canvas-bg: #f0f8f3; --lp-canvas-a: rgba(18, 183, 106, .17); --lp-canvas-b: rgba(28, 111, 230, .07); --lp-canvas-dot: rgba(10, 60, 36, .075); }
#home .lp-canvas--amber{ --lp-canvas-bg: #fbf6ec; --lp-canvas-a: rgba(240, 160, 32, .2); --lp-canvas-b: rgba(229, 72, 77, .06); --lp-canvas-dot: rgba(80, 50, 6, .075); }
#home .lp-canvas--violet{ --lp-canvas-bg: #f5f3fd; --lp-canvas-a: rgba(138, 92, 245, .15); --lp-canvas-b: rgba(28, 111, 230, .08); --lp-canvas-dot: rgba(40, 24, 90, .07); }
#home .lp-canvas__caption{ margin-top: clamp(22px, 3vw, 34px); color: var(--lp-text-3); font-size: 13px; line-height: 1.5; }

/* Four facts under the figure. */
#home .lp-caps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 48px);
}
#home .lp-cap{ padding-top: 20px; border-top: 1px solid var(--lp-line-strong); }
#home .lp-cap h3{ font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
#home .lp-cap p{ margin-top: 8px; color: var(--lp-text-2); font-size: 15px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Crops of the real Home (landing/scena/schede/) ----------
   Each card keeps its own rounded corners (transparent in the picture); the frame repeats them in
   proportion (18 px of the dashboard on the natural size of the card) so that the shadow follows. */
#home .lp-shot{ position: relative; box-shadow: var(--lp-shot-shadow); }
#home .lp-shot__img{ display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
#home .lp-shot__img--dark{ display: none; }
#home .lp-shot--presenze{ border-radius: 1.642% / 4.663%; }
#home .lp-shot--modalita{ border-radius: 4.176% / 11.842%; }
#home .lp-shot--richieste,
#home .lp-shot--dipendenti{ border-radius: 5.625% / 5.902%; }
#home .lp-shot--retribuzioni{ border-radius: 4.327% / 5.902%; }
#home .lp-shot--messaggio{ border-radius: 4.176% / 7.895%; }

/* 01 · six months of payslips, one mark each. */
#home .lp-months__cols{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px clamp(14px, 2.4vw, 32px); }
#home .lp-months__grid{ display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(2px, .3vw, 4px); }
#home .lp-months__grid i{ aspect-ratio: 1; border-radius: 24%; background: var(--lp-blue); }
#home .lp-months__grid i.is-new{ background: var(--lp-inverse); }
#home .lp-months__grid i.is-empty{ background: transparent; box-shadow: inset 0 0 0 1.4px rgba(16, 40, 90, .24); }
#home .lp-months__month{ margin-top: 16px; color: var(--lp-ink); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
#home .lp-months__count{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 3px; color: var(--lp-text-2); font-size: 13.5px; line-height: 1.4; }
#home .lp-months__tag{ padding: 2px 6px; border-radius: 6px; background: var(--lp-inverse); color: var(--lp-on-inverse); font-size: 11.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
#home .lp-months__net{ margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(16, 40, 90, .12); color: var(--lp-ink); font: 500 13px/1.3 var(--lp-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
/* The marks of each month fill from the top, one month after the other, when the figure arrives. */
#home .lp-months.is-armed .lp-months__grid{ clip-path: inset(0 0 100% 0); }
#home .lp-months.is-armed.is-in .lp-months__grid{ clip-path: inset(0 0 0 0); transition: clip-path .95s cubic-bezier(.45, 0, .25, 1) calc(.15s + var(--m) * .16s); }

/* 02 · «In servizio adesso» with «Modalità di timbratura» over its lower right corner, at the same scale
   (the stage is as tall as the first card plus what the second one adds below it). */
#home .lp-shots__stage{ position: relative; aspect-ratio: 2.853 / 1; }
/* first card: 80% wide; second: the same scale (431/1096 of 80%), its top 38% over the first one */
#home .lp-shots__stage .lp-shot--presenze{ position: absolute; left: 0; top: 0; width: 80%; }
#home .lp-shots__stage .lp-shot--modalita{ position: absolute; right: 0; bottom: 0; z-index: 1; width: 31.46%; }
/* The caption sits in the free corner, on the line of the bottom of the second card. */
#home .lp-shots--presence .lp-canvas__caption{ max-width: 60%; margin-top: -1.5em; }

/* 03 · the card of the requests next to the path of a request. */
#home .lp-flow{
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
#home .lp-flow .lp-canvas__caption{ grid-column: 1 / -1; }
#home .lp-shot--richieste{ width: 100%; max-width: 340px; }
#home .lp-flow__steps{ position: relative; display: grid; gap: 30px; max-width: 470px; }
#home .lp-flow__steps::before{
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(rgba(180, 111, 0, .42), rgba(180, 111, 0, .12));
}
#home .lp-flow__step{ position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; align-items: start; }
#home .lp-flow__dot{
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-canvas-bg, #fbf6ec);
  box-shadow: inset 0 0 0 1.6px #c98a1a;
  color: var(--lp-tint-amber-ink);
  font: 600 13px/1 var(--lp-mono);
}
#home .lp-flow__step:last-child .lp-flow__dot{ background: var(--lp-amber); box-shadow: none; color: #241500; }
#home .lp-flow__step h3{ padding-top: 4px; font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
#home .lp-flow__step p{ margin-top: 6px; color: var(--lp-text-2); font-size: 15px; line-height: 1.6; }

/* ---------- 04–06: three areas side by side, then the tools of the whole dashboard ---------- */
#home .lp-trio__grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
#home .lp-module{ display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 96px; }
#home .lp-module__canvas{
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: 24px;
}
/* The same scale for the three cards: their natural widths on the widest one (431 px). */
#home .lp-module__canvas .lp-shot--messaggio{ width: 100%; }
#home .lp-module__canvas .lp-shot--retribuzioni{ width: calc(100% * 416 / 431); }
#home .lp-module__canvas .lp-shot--dipendenti{ width: calc(100% * 320 / 431); }
#home .lp-module__label{ display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--lp-text-2); font-size: 14px; font-weight: 550; }
#home .lp-module h3{ margin-top: 12px; font-size: clamp(20px, 1.8vw, 23px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
#home .lp-module h3 + p{ margin-top: 10px; color: var(--lp-text-2); font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
#home .lp-module__list{ margin: 18px 0 22px; border-top: 1px solid var(--lp-line); }
#home .lp-module__list li{
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lp-line);
  color: var(--lp-ink-soft);
  font-size: 14.5px;
  line-height: 1.45;
}
#home .lp-module__list li::before{ content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 2px; background: var(--lp-text-3); transform: translateY(-2px); }
#home .lp-module .lp-link{ margin-top: auto; }

#home .lp-tools{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--lp-line-strong);
  border-bottom: 1px solid var(--lp-line);
}
#home .lp-tool{ display: flex; flex-direction: column; padding: 24px 24px 26px 0; }
#home .lp-tool + .lp-tool{ padding-left: 24px; border-left: 1px solid var(--lp-line); }
#home .lp-tool dt{ color: var(--lp-ink); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
#home .lp-tool dd{ margin-top: 6px; color: var(--lp-text-2); font-size: 14.5px; line-height: 1.55; }
#home .lp-keys{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px !important; color: var(--lp-text-3) !important; font-size: 13px !important; }
#home .lp-keys kbd{
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--lp-line-strong);
  border-bottom-width: 2px;
  border-radius: 8px;
  background: var(--lp-surface);
  color: var(--lp-ink);
  font: 550 12.5px/1 var(--lp-font);
}

/* ---------- The rules of the list, in the dark band ---------- */
#home .lp-system{ margin-top: var(--lp-section); }
#home .lp-rules{ margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 3.4vw, 44px); border-top: 1px solid rgba(255, 255, 255, .14); }
#home .lp-rules__title{ max-width: 30ch; color: #fff; font-size: clamp(21px, 2.1vw, 27px); font-weight: 600; letter-spacing: -.022em; line-height: 1.25; }
#home .lp-rules__grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
#home .lp-rules__col{
  --lp-rule: 229, 72, 77;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
#home .lp-rules__col--hold{ --lp-rule: 240, 160, 32; }
#home .lp-rules__col--flag{ --lp-rule: 90, 153, 247; }
#home .lp-rules__head{ display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
#home .lp-rules__head i{ flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--lp-rule)); box-shadow: 0 0 0 4px rgba(var(--lp-rule), .2); }
#home .lp-rules ul{ display: grid; gap: 16px; margin-top: 20px; }
#home .lp-rules li{ display: grid; justify-items: start; gap: 6px; }
#home .lp-rules code{
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #f2f2f3;
  font: 500 13px/1.35 var(--lp-mono);
  letter-spacing: -.01em;
}
#home .lp-rules li span{ color: #b9b9be; font-size: 14.5px; line-height: 1.5; }
#home .lp-rules__note{ margin-top: auto !important; padding-top: 22px; color: #9a9aa0; font: 12.5px/1.5 var(--lp-mono); }

/* ---------- Who does what ---------- */
#home .lp-roles__flow{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
#home .lp-role{
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  background: var(--lp-surface);
}
/* An arrow on the seam between two cards: what passes from one to the next. */
#home .lp-role:not(:last-child)::after{
  content: "";
  position: absolute;
  z-index: 2;
  top: 34px;
  right: calc(-0.5 * clamp(16px, 2.4vw, 32px) - 16px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 1px var(--lp-line-strong);
}
#home .lp-role__who{ color: var(--lp-text-3); font-size: 13.5px; font-weight: 550; line-height: 1.4; }
#home .lp-role h3{ margin-top: 12px; font-size: clamp(23px, 2.2vw, 29px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
#home .lp-role h3 + p{ margin-top: 12px; color: var(--lp-text-2); font-size: 15.5px; line-height: 1.6; }
#home .lp-role__list{ margin-top: 18px; border-top: 1px solid var(--lp-line); }
#home .lp-role__list li{ padding: 11px 0; border-bottom: 1px solid var(--lp-line); color: var(--lp-ink-soft); font-size: 15px; line-height: 1.45; }
#home .lp-role__pass{ display: flex; align-items: center; gap: 8px; margin-top: auto !important; padding-top: 24px; color: var(--lp-text-3); font: 500 12.5px/1.3 var(--lp-mono); letter-spacing: .01em; }
#home .lp-role__pass::before{ content: "→"; font-family: var(--lp-font); font-size: 15px; }
#home .lp-role__pass span{ padding: 4px 9px; border-radius: 7px; background: var(--lp-soft-2); color: var(--lp-ink); }
#home .lp-role .lp-stores{ margin-top: 22px; }
#home .lp-role .lp-link{ margin-top: 18px; }
#home .lp-role--source .lp-role__pass{ padding-top: 28px; }
/* The company, in the middle, on the dark of the system band. */
#home .lp-role--company{ border-color: transparent; background: var(--lp-system); color: #fff; }
#home .lp-role--company h3{ color: #fff; }
#home .lp-role--company .lp-role__who,
#home .lp-role--company .lp-role__pass{ color: #a8a8ae; }
#home .lp-role--company .lp-role__list{ border-top-color: rgba(255, 255, 255, .14); }
#home .lp-role--company .lp-role__list li{ border-bottom-color: rgba(255, 255, 255, .14); color: #e4e4e7; }
#home .lp-role--company .lp-role__pass span{ background: rgba(255, 255, 255, .1); color: #fff; }
#home .lp-role--company .lp-link{ margin-top: 18px; }

#home .lp-stores{ display: flex; flex-wrap: wrap; gap: 8px; }
#home .lp-store{ display: inline-flex; height: 42px; border-radius: 9px; overflow: hidden; }
#home .lp-store img{ display: block; width: 142px; height: 42px; object-fit: cover; }
#home .lp-store:focus-visible{ outline: 2px solid var(--lp-focus); outline-offset: 2px; }

/* ---------- Texts are on screen at once ----------
   landing-ui.js still marks the blocks that reach the screen (is-armed, is-in): only the figures
   drawn as data (the bars of the band, the presence grid, the closing cells) use it. */


/* ---------- Pricing ---------- */
#home .lp-pricing{ scroll-margin-top: 96px; }
#home .lp-plans{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}
#home .lp-plan{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  background: var(--lp-surface);
}
/* The same height in both cards (badge on the left, switch on the right): taglines and prices align. */
#home .lp-plan__top{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; min-height: 40px; }
#home .lp-plan__name{ font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
#home .lp-plan__badge{
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--lp-soft-2);
  color: var(--lp-ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
#home .lp-plan__tagline{ min-height: 3.2em; color: var(--lp-text-2); font-size: 15px; line-height: 1.6; }
#home .lp-plan__price{ display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
#home .lp-plan__price b{ font-size: clamp(52px, 5vw, 64px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
#home .lp-plan__price span{ color: var(--lp-text-2); font-size: 17px; font-weight: 500; }
#home .lp-plan__note{ min-height: 2.9em; color: var(--lp-text-3); font-size: 14px; line-height: 1.45; }
#home .lp-plan .lp-btn{ margin-top: auto; }
#home .lp-plan--featured{ border-color: transparent; background: var(--lp-blue); color: #fff; }
#home .lp-plan--featured .lp-plan__name,
#home .lp-plan--featured .lp-plan__price b{ color: #fff; }
#home .lp-plan--featured .lp-plan__badge{ background: #1557b8; color: #fff; }
/* White is the only text colour that keeps AA contrast on the brand blue (4.7:1). */
#home .lp-plan--featured .lp-plan__tagline,
#home .lp-plan--featured .lp-plan__price span,
#home .lp-plan--featured .lp-plan__note{ color: #fff; }
#home .lp-plan--featured .lp-btn:focus-visible{ box-shadow: 0 0 0 3px var(--lp-blue), 0 0 0 5px #fff; }

/* The free trial: no figure, three facts in a quiet table where Premium has its price. */
#home .lp-plan__facts{ margin: 10px 0 12px; border-top: 1px solid var(--lp-line); }
#home .lp-plan__facts div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lp-line);
}
#home .lp-plan__facts dt{ color: var(--lp-text-2); font-size: 14.5px; line-height: 1.4; }
#home .lp-plan__facts dd{ color: var(--lp-ink); font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.4; text-align: right; }

/* Premium: monthly or annual in one card. The switch slides a white thumb (transform); the two
   formulas share one cell, so the card keeps its height and only the visible one can be used. */
#home .lp-billing{
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: #1557b8;
}
#home .lp-billing__thumb{
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(5, 30, 80, .22), 0 2px 8px rgba(5, 30, 80, .12);
  transition: transform .42s cubic-bezier(.3, .8, .2, 1);
}
#home .lp-plan--premium[data-lp-billing="annual"] .lp-billing__thumb{ transform: translateX(100%); }
#home .lp-billing__option{
  min-width: 0;
  min-height: 0;
  height: 34px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #fff;
  font: 600 14px/1 var(--lp-font);
  letter-spacing: -.005em;
  cursor: pointer;
  transition: color .3s var(--lp-ease);
  -webkit-tap-highlight-color: transparent;
}
#home .lp-billing__option[aria-checked="true"]{ color: var(--lp-blue-ink); cursor: default; }
#home .lp-billing__option:focus-visible{ outline: none; box-shadow: 0 0 0 2px #1557b8, 0 0 0 4px #fff; }
#home .lp-plan__modes{ display: grid; flex: 1 1 auto; }
/* A dissolve with no dip: the chosen formula fades in above, the other one stays under it a moment
   longer and then fades, so what both share (the white button, the lines) never blinks. */
#home .lp-plan__mode{
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-area: 1 / 1;
  transition: opacity .3s var(--lp-ease), visibility 0s;
}
#home .lp-plan__mode[inert]{
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s cubic-bezier(.4, 0, .6, 1) .12s, visibility 0s linear .34s;
}
/* The new figure rises into its line; the old one stays still while it goes. */
#home .lp-plan__mode .lp-plan__price{ transition: transform .46s cubic-bezier(.2, .8, .2, 1); }
#home .lp-plan__mode[inert] .lp-plan__price{ transform: translateY(.3em); transition: transform 0s linear .34s; }

#home .lp-includes{
  max-width: 940px;
  margin: 20px auto 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--lp-line);
  border-radius: 28px;
}
#home .lp-includes__title{ font-size: 16px; font-weight: 600; }
#home .lp-includes__list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 20px; }
#home .lp-includes__list li{ display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; }
#home .lp-includes__foot{ margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--lp-line); color: var(--lp-text-2); font-size: 14.5px; line-height: 1.55; }
#home .lp-includes__foot a{ color: var(--lp-blue-text); font-weight: 600; text-decoration: none; }
#home .lp-includes__foot a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
#home .lp-faq__grid{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
#home .lp-faq__intro{ position: sticky; top: calc(var(--fixed-header-h, 72px) + 32px); }
#home .lp-faq__intro .lp-h2{ font-size: clamp(30px, 3.3vw, 44px); }
#home .lp-faq__intro .lp-btn{ margin-top: 28px; }
#home .lp-faq__list{ border-top: 1px solid var(--lp-line); }
#home .lp-faq__item{ border-bottom: 1px solid var(--lp-line); }
#home .lp-faq__item summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 0;
  padding: 22px 0;
  color: var(--lp-ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
#home .lp-faq__item summary::-webkit-details-marker{ display: none; }
#home .lp-faq__item summary:focus-visible{ outline: none; box-shadow: inset 0 0 0 2px var(--lp-focus); border-radius: 10px; }
#home .lp-faq__icon{
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lp-soft-2);
  transition: background-color .2s var(--lp-ease), transform .25s var(--lp-ease);
}
#home .lp-faq__icon::before,
#home .lp-faq__icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--lp-ink);
}
#home .lp-faq__icon::after{ transform: rotate(90deg); }
#home .lp-faq__item[open] .lp-faq__icon{ background: var(--lp-inverse); transform: rotate(45deg); }
#home .lp-faq__item[open] .lp-faq__icon::before,
#home .lp-faq__item[open] .lp-faq__icon::after{ background: var(--lp-on-inverse); }
#home .lp-faq__body p{ max-width: 62ch; padding: 0 44px 24px 0; color: var(--lp-text-2); font-size: 16px; line-height: 1.65; }

/* ---------- Closing panel ---------- */
#home .lp-final{ padding-bottom: clamp(24px, 4vw, 48px); }
#home .lp-final__panel{
  padding: clamp(48px, 7vw, 92px) clamp(24px, 4vw, 48px);
  border-radius: 32px;
  background: var(--lp-soft);
  text-align: center;
}
#home .lp-final__cells{ display: flex; justify-content: center; gap: 6px; margin-bottom: 30px; }
#home .lp-final__cells i{
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--lp-cell);
  transition: background-color .4s var(--lp-ease);
  transition-delay: calc(var(--i) * 70ms);
}
#home .lp-final__panel.is-in .lp-final__cells i{ background: var(--lp-blue); }
#home .lp-final__title{
  max-width: 17ch;
  margin: 0 auto;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}
#home .lp-final__text{ max-width: 52ch; margin: 18px auto 0; color: var(--lp-text-2); font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.6; }
#home .lp-final__actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }

/* ---------- Theme switch: in the footer's bottom line, landing only ---------- */
#appFooter #lpFooterTheme{ display:none; flex:0 0 auto; margin:0; padding:0; border:0; }
html[data-lp-home="true"] #appFooter #lpFooterTheme{ display:block; }
#appFooter .lp-themebar__inner{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
#appFooter .lp-themebar__label{ margin:0; color:var(--ilp-f-text-3, #6e6e74); font-size:13px; font-weight:400; line-height:1.4; }
#appFooter .lp-segmented{ display:inline-flex; align-items:center; gap:2px; padding:3px; border:0; border-radius:999px; background:var(--ilp-f-track, #f2f2f3); }
#appFooter .lp-segmented button{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:30px; min-height:0; min-width:0; margin:0; padding:0 12px; border:0; border-radius:999px;
  background:transparent; box-shadow:none; color:var(--ilp-f-text-2, #55555b);
  font:500 13px/1 var(--ilp-f-font, "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif); letter-spacing:-.005em;
  cursor:pointer; -webkit-tap-highlight-color:transparent; transform:none;
  transition:background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
#appFooter .lp-segmented button:hover{ color:var(--ilp-f-ink, #0d0d0d); }
#appFooter .lp-segmented button:active{ transform:none; }
#appFooter .lp-segmented button:focus{ outline:none; }
#appFooter .lp-segmented button:focus-visible{ outline:2px solid var(--ilp-f-focus, #1c6fe6); outline-offset:1px; }
#appFooter .lp-segmented button[aria-pressed="true"]{ background:var(--ilp-f-thumb, #fff); color:var(--ilp-f-ink, #0d0d0d); box-shadow:var(--ilp-f-thumb-shadow, 0 0 0 1px rgba(13,13,13,.06), 0 1px 3px rgba(13,13,13,.12)) !important; }
#appFooter .lp-segmented svg{ flex:0 0 auto; width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* =====================================================================
   Dark theme. Same palette as the admin dashboard: near-black as on
   openai.com (#0d0d0d page, #161617 surfaces, black for the deepest bands,
   #ececec text). theme.js sets html[data-lp-theme="dark"] only while the
   home view is on screen, so other views keep their styles.
   ===================================================================== */
html[data-lp-theme="dark"] #home{
  --lp-bg: #0d0d0d;
  --lp-surface: #161617;
  --lp-soft: #1a1a1b;
  --lp-soft-2: #232325;
  --lp-line: #262628;
  --lp-line-strong: #3a3a3d;
  --lp-line-hover: #505054;
  --lp-ink: #ececec;
  --lp-ink-2: #ffffff;
  --lp-ink-soft: #d6d6da;
  --lp-text-2: #b2b2b6;
  --lp-text-3: #9a9aa0;
  --lp-inverse: #ececec;
  --lp-inverse-hover: #ffffff;
  --lp-on-inverse: #0d0d0d;
  --lp-cell: #2e2e31;
  --lp-blue-text: #82b2ff;
  --lp-focus: #5a99f7;
  --lp-shadow: rgba(0, 0, 0, .8);
  --lp-system: #000000;
  color-scheme: dark;
}
/* homeHeroBluePatch forces a white home with !important. */
html[data-lp-theme="dark"] #home,
html[data-lp-theme="dark"] #home #come-funziona{ background: #0d0d0d !important; }




/* Page background, header and menus while the dark home is shown. */
html[data-lp-theme="dark"]{ color-scheme: dark; background: #0d0d0d; }
html[data-lp-theme="dark"] body{ background: #0d0d0d; }
/* Windows that belong to the payroll engine keep their light styles. */
html[data-lp-theme="dark"] :is(#adminModal, #sendLogModal, #pdfPreviewOverlay, #pendingOverlay, #securityOverlay, #toast){ color-scheme: light; }

/* Shared header, menus, account menu and footer in the dark landing.
   They are drawn from tokens (header.css, footer.css): the dark palette of the
   admin dashboard only swaps them (#0d0d0d page, #161617 surfaces, #ececec text). */
html[data-lp-theme="dark"] :is(header.headerRow[data-ilp-header="1"], .platformMenu, .ilpMobileMenu, .ilpMobileMenuOverlay, .profileDropdown, #ilpNavSpinner){
  --ilp-ink:#ececec;
  --ilp-text-2:#b2b2b6;
  --ilp-text-3:#9a9aa0;
  --ilp-line:#262628;
  --ilp-line-strong:#3a3a3d;
  --ilp-bg:#0d0d0d;
  --ilp-bg-glass:rgba(13,13,13,.8);
  --ilp-surface:#161617;
  --ilp-hover:#1f1f21;
  --ilp-soft:#1a1a1b;
  --ilp-quiet:#232325;
  --ilp-quiet-hover:#2c2c2f;
  --ilp-cell:#2e2e31;
  --ilp-inverse:#ececec;
  --ilp-inverse-hover:#ffffff;
  --ilp-on-inverse:#0d0d0d;
  --ilp-focus:#5a99f7;
  --ilp-blue:#2f7cf0;
  --ilp-green:#19b087;
  --ilp-amber:#f2a93b;
  --ilp-scrim:rgba(0,0,0,.72);
  --ilp-shadow-pop:0 0 0 1px rgba(255,255,255,.09), 0 24px 56px -16px rgba(0,0,0,.85);
  --ilp-shadow-panel:0 34px 60px -30px rgba(0,0,0,.9);
  color-scheme:dark;
}
/* The menu panel sits on the page, the account card floats above it. */
html[data-lp-theme="dark"] #platformMenu{ --ilp-soft:#161617; }
html[data-lp-theme="dark"] #platformMenu .platformMenuLink:hover,
html[data-lp-theme="dark"] #platformMenu .platformMenuLink:focus-visible{ background:#1a1a1b !important; }
html[data-lp-theme="dark"] #profileDropdown{ --ilp-hover:#232325; --ilp-quiet:#2c2c2f; }
/* Logo with light lettering. */
html[data-lp-theme="dark"] header.headerRow[data-ilp-header="1"] .brandLogo,
html[data-lp-theme="dark"] footer#appFooter[data-ilp-footer="1"] .ilpFooterLogo{
  object-position:-9999px 0;
  background:url("/immagini/ilovepaghe_logo_dark.png") left center / contain no-repeat;
}

html[data-lp-theme="dark"] footer#appFooter[data-ilp-footer="1"]{
  --ilp-f-bg:#0d0d0d;
  --ilp-f-ink:#ececec;
  --ilp-f-text-2:#b2b2b6;
  --ilp-f-text-3:#9a9aa0;
  --ilp-f-line:#262628;
  --ilp-f-line-strong:#3a3a3d;
  --ilp-f-hover:#1f1f21;
  --ilp-f-track:#1a1a1b;
  --ilp-f-thumb:#2e2e31;
  --ilp-f-thumb-shadow:0 0 0 1px rgba(255,255,255,.07), 0 1px 3px rgba(0,0,0,.7);
  --ilp-f-focus:#5a99f7;
  --ilp-f-badge-ring:rgba(255,255,255,.22);
  color-scheme:dark;
}

/* The header is translucent: what sits behind it must be dark too. appBase.css
   paints html, body and body::before white with !important, which the page rule
   in custom.css cannot override. */
html[data-lp-theme="dark"],
html[data-lp-theme="dark"] body{ background:#0d0d0d !important; }
html[data-lp-theme="dark"] body::before{ background:#0d0d0d; }

/* Cookie banner: it is drawn from CSS variables, so the dark palette only swaps them. */
html[data-lp-theme="dark"]{
  --ilp-cb-text: #ececec;
  --ilp-cb-muted: rgba(236, 236, 236, .62);
  --ilp-cb-line: #2c2c2f;
  --ilp-cb-bg: #1c1c1e;
  --ilp-cb-bg2: #232325;
  --ilp-cb-brand-dark: #5a99f7;
  --ilp-cb-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 16px 40px rgba(0, 0, 0, .75);
}
html[data-lp-theme="dark"] #ilpCookieBarRoot .ilp-cb-btn.ghost{ border-color: #3e3e42 !important; color: #ececec !important; }
html[data-lp-theme="dark"] #ilpCookieBarRoot .ilp-cb-btn.ghost:hover{ background: rgba(255, 255, 255, .06) !important; }
html[data-lp-theme="dark"] #ilpCookieBarRoot .ilp-cb-btn.outline{ border-color: #5a99f7; color: #82b2ff; }
html[data-lp-theme="dark"] #ilpCookieBarRoot .ilp-cb-x{ border-color: #2c2c2f; color: rgba(236, 236, 236, .7); }
html[data-lp-theme="dark"] #ilpCookieBarRoot a{ color: #82b2ff; }
html[data-lp-theme="dark"] :is(#ilpCookieBarRoot, #ilpCookieModal) .ilp-cb-x:hover{ border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #ececec; }
html[data-lp-theme="dark"] #ilpCookieModal{ background: rgba(0, 0, 0, .66); }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cm-card{ box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 32px 80px rgba(0, 0, 0, .8); }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cm-row{ background: #232325; }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cm-row:hover{ background: #29292c; }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cm-foot{ background: rgba(255, 255, 255, .02); }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cb-btn:not(.primary){ border-color: #3e3e42; background: #232325; color: #ececec; }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-cb-btn:not(.primary):hover{ background: #29292c; }
html[data-lp-theme="dark"] #ilpCookieModal a{ color: #b2b2b6; }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-track{ background: #3e3e42; }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-switch input:checked + .ilp-track{ background: var(--ilp-cb-brand); }
html[data-lp-theme="dark"] #ilpCookieModal .ilp-switch input:disabled + .ilp-track{ background: #3e3e42; }
html[data-lp-theme="dark"] #ilpCookieManage button{ border-color: #2c2c2f; background: #1c1c1e; color: #b2b2b6; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 8px 24px rgba(0, 0, 0, .65); }
html[data-lp-theme="dark"] #ilpCookieManage button:hover{ background: #232325; color: #ececec; }

/* While the theme changes, colours cross-fade instead of jumping. */
html.lpThemeSwitching,
html.lpThemeSwitching *,
html.lpThemeSwitching *::before,
html.lpThemeSwitching *::after{
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, fill .28s ease, stroke .28s ease, box-shadow .28s ease !important;
}
/* ---------- Dark theme of the hero scene and the new blocks ---------- */
html[data-lp-theme="dark"] #home .lp-hero__aura{ opacity: .55; }
html[data-lp-theme="dark"] #home .lp-stage__window{
  background: #0d0d0d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 48px -24px rgba(0, 0, 0, .8), 0 70px 120px -60px rgba(0, 0, 0, 1);
}
/* The bar has the colour of the dashboard sidebar, as in the light theme: with it, an L of black. */
html[data-lp-theme="dark"] #home .lp-stage__bar{ border-bottom-color: #1f1f21; background: #000000; }
html[data-lp-theme="dark"] #home .lp-stage__dots i{ background: #2e2e31; }
html[data-lp-theme="dark"] #home .lp-stage__address{ background: #1a1a1b; color: #9a9aa0; }
html[data-lp-theme="dark"] #home .lp-mark--yes{ background: #2f7cf0; }
html[data-lp-theme="dark"] #home .lp-store{ box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
html[data-lp-theme="dark"] #home .lp-system{ border-top: 1px solid #1f1f21; border-bottom: 1px solid #1f1f21; }
html[data-lp-theme="dark"] #home .lp-eyebrow::before{ background: #3d87f5; }
html[data-lp-theme="dark"] #home .lp-eyebrow--onblue::before{ background: #fff; }
/* The blue band and the annual plan keep the brand blue: white text stays at 4.7:1. */

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  #home .lp-band__grid,
  #home .lp-faq__grid,
  #home .lp-system__grid{ grid-template-columns: minmax(0, 1fr); }
  #home :is(.lp-faq__intro, .lp-system__sticky){ position: static; }
  #home :is(.lp-stage__dots, .lp-stage__end){ display: none; }
  #home .lp-stage__bar{ grid-template-columns: minmax(0, 1fr); padding: 0 10px; }
  #home .lp-stage__address{ width: 100%; justify-content: flex-start; margin: 0; }
}
@media (max-width: 720px){
  #home{ --lp-gutter: 16px; --lp-section: 80px; }
  #home .lp-hero{ padding-top: 28px; }
  #home .lp-hero__title{ font-size: clamp(38px, 11vw, 52px); }
  #home .lp-hero__actions{ width: 100%; flex-direction: column; }
  #home .lp-hero__actions .lp-btn{ width: 100%; }
  #home .lp-hero__hint{ min-height: 3em; }
  #home .lp-stage{ margin-top: 20px; }
  #home .lp-stage__shell{ perspective: 1400px; }
  #home .lp-stage__window{ border-radius: 16px; }
  #home .lp-stage__bar{ height: 40px; padding: 0 8px; }
  #home .lp-stage__address{ padding: 0 10px; font-size: 12.5px; }
  #home .lp-race__head{ font-size: 14.5px; }
  #home .lp-band__facts{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-fact{ padding: 22px 0; }
  #home .lp-fact + .lp-fact{ padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  #home .lp-system__step{ grid-template-columns: 44px minmax(0, 1fr); padding: 24px 0; }
  #home .lp-plans{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-plan__tagline, #home .lp-plan__note{ min-height: 0; }
  #home .lp-includes__list{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-faq__body p{ padding-right: 0; }
  #home .lp-final__actions{ flex-direction: column; }
  #home .lp-final__actions .lp-btn{ width: 100%; }
  #home .lp-final__panel{ border-radius: 24px; }
  #appFooter .lp-themebar__inner{ flex-direction: column; align-items: stretch; gap: 10px; }
  #appFooter .lp-segmented{ display: flex; }
  #appFooter .lp-segmented button{ flex: 1 1 0; height: 36px; padding: 0 8px; }
}
@media (max-width: 400px){
  #home .lp-hero__title{ font-size: 36px; }
  #home .lp-hero__actions{ gap: 8px; }
  #home .lp-hero__actions .lp-btn--lg{ height: 48px; }
}
@media (prefers-reduced-motion: reduce){
  #home .lp-final__cells i{ transition: none !important; }
}

/* Trial availability follows the authenticated application state, also after an account switch. */
#home [data-lp-trial]:disabled{ opacity: .65; cursor: wait; }

/* ---------- FAQ in three groups (after the FAQ rules above, which draw a line on top of the list) ---------- */
#home .lp-faq__list{ border-top: 0; }
#home .lp-faq__group{ padding: 40px 0 14px; color: var(--lp-ink); font-size: 14px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
#home .lp-faq__group:first-child{ padding-top: 4px; }
#home .lp-faq__group + .lp-faq__item{ border-top: 1px solid var(--lp-line-strong); }

/* =====================================================================
   The HR platform: dark theme, sizes, reduced motion (29 ottobre 2026).
   ===================================================================== */
html[data-lp-theme="dark"] #home{
  --lp-tint-blue: rgba(47, 124, 240, .2);
  --lp-tint-blue-ink: #8fb8ff;
  --lp-tint-green: rgba(25, 176, 135, .2);
  --lp-tint-green-ink: #6fdcae;
  --lp-tint-amber: rgba(242, 169, 59, .2);
  --lp-tint-amber-ink: #f5c272;
  --lp-shot-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 18px 40px -20px rgba(0, 0, 0, .8),
    0 46px 90px -48px rgba(0, 0, 0, .9);
}
html[data-lp-theme="dark"] #home .lp-shot__img--light{ display: none; }
html[data-lp-theme="dark"] #home .lp-shot__img--dark{ display: block; }
html[data-lp-theme="dark"] #home .lp-index__ico--blue{ color: #6ea6ff; }
html[data-lp-theme="dark"] #home .lp-index__ico--green{ color: #4fd19d; }
html[data-lp-theme="dark"] #home .lp-index__ico--amber{ color: #f2b04c; }
html[data-lp-theme="dark"] #home .lp-canvas{ --lp-canvas-bg: #111112; --lp-canvas-a: rgba(255, 255, 255, .035); --lp-canvas-b: rgba(47, 124, 240, .09); --lp-canvas-dot: rgba(255, 255, 255, .055); }
html[data-lp-theme="dark"] #home .lp-canvas--blue{ --lp-canvas-bg: #0c111b; --lp-canvas-a: rgba(47, 124, 240, .24); --lp-canvas-b: rgba(138, 92, 245, .14); }
html[data-lp-theme="dark"] #home .lp-canvas--green{ --lp-canvas-bg: #0b1411; --lp-canvas-a: rgba(25, 176, 135, .2); --lp-canvas-b: rgba(47, 124, 240, .08); }
html[data-lp-theme="dark"] #home .lp-canvas--amber{ --lp-canvas-bg: #15110b; --lp-canvas-a: rgba(242, 169, 59, .18); --lp-canvas-b: rgba(229, 72, 77, .06); }
html[data-lp-theme="dark"] #home .lp-canvas--violet{ --lp-canvas-bg: #110e19; --lp-canvas-a: rgba(138, 92, 245, .22); --lp-canvas-b: rgba(47, 124, 240, .08); }
html[data-lp-theme="dark"] #home .lp-months__grid i{ background: #2f7cf0; }
html[data-lp-theme="dark"] #home .lp-months__grid i.is-new{ background: #ececec; }
html[data-lp-theme="dark"] #home .lp-months__grid i.is-empty{ background: transparent; box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, .24); }
html[data-lp-theme="dark"] #home .lp-months__net{ border-top-color: rgba(255, 255, 255, .12); }
html[data-lp-theme="dark"] #home .lp-flow__steps::before{ background: linear-gradient(rgba(242, 169, 59, .5), rgba(242, 169, 59, .14)); }
html[data-lp-theme="dark"] #home .lp-flow__dot{ box-shadow: inset 0 0 0 1.6px #c98a1a; }
html[data-lp-theme="dark"] #home .lp-flow__step:last-child .lp-flow__dot{ background: #f2a93b; color: #241500; }
html[data-lp-theme="dark"] #home .lp-role:not(:last-child)::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ececec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
html[data-lp-theme="dark"] #home .lp-role--company{ background: #000000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
html[data-lp-theme="dark"] #home .lp-keys kbd{ background: #1f1f21; }

@media (max-width: 1080px){
  #home .lp-caps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #home .lp-tools{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #home .lp-tool:nth-child(3){ padding-left: 0; border-left: 0; }
  #home .lp-tool:nth-child(n + 3){ border-top: 1px solid var(--lp-line); }
}
@media (max-width: 900px){
  #home .lp-suite__grid,
  #home .lp-chapter__head{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-suite__intro{ position: static; }
  #home .lp-suite__intro .lp-h2{ max-width: 14ch; }
  #home .lp-chapter__head .lp-lead{ max-width: 58ch; }
  #home .lp-months__cols{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #home .lp-flow{ grid-template-columns: minmax(0, 1fr); row-gap: 36px; justify-items: center; }
  #home .lp-flow__steps{ justify-self: stretch; max-width: none; }
  #home .lp-flow .lp-canvas__caption{ justify-self: stretch; margin-top: 0; }
  #home .lp-trio__grid{ grid-template-columns: minmax(0, 1fr); gap: 56px; }
  #home .lp-module{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 32px; align-items: start; }
  #home .lp-module__canvas{ grid-column: 1; grid-row: 1 / -1; }
  #home .lp-module > :not(.lp-module__canvas){ grid-column: 2; }
  #home .lp-module__label{ margin-top: 0; }
  #home .lp-module .lp-link{ align-self: start; }
  #home .lp-rules__grid{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-roles__flow{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
  #home .lp-role:not(:last-child)::after{ top: auto; right: auto; bottom: -36px; left: 50%; margin-left: -16px; transform: rotate(90deg); }
}
@media (max-width: 720px){
  #home .lp-index__row{ grid-template-columns: 36px minmax(0, 1fr) 14px; grid-template-areas: "ico name go" "ico text go"; column-gap: 14px; margin: 0; padding: 18px 0; }
  #home .lp-index__num{ display: none; }
  #home .lp-index__row:hover::before{ background: transparent; }
  #home .lp-index__ico{ width: 36px; height: 36px; border-radius: 10px; }
  #home .lp-index__ico svg{ width: 18px; height: 18px; }
  #home .lp-index__name{ font-size: 16.5px; }
  #home .lp-canvas{ border-radius: 22px; }
  #home .lp-caps{ grid-template-columns: minmax(0, 1fr); gap: 0; }
  #home .lp-cap{ padding: 18px 0 20px; }
  #home .lp-cap:last-child{ padding-bottom: 0; }
  /* The card of the presences is shown from its left half, the big number and the marks of the people
     in service, large enough to read; the card of the modes follows under it, whole. */
  #home .lp-shots__stage{ display: grid; gap: 14px; aspect-ratio: auto; }
  #home .lp-shots__stage .lp-shot{ position: relative; inset: auto; }
  #home .lp-shots__stage .lp-shot--presenze{
    width: 100%;
    aspect-ratio: 515 / 386;
    overflow: hidden;
    border-radius: 3.5% / 4.663%;
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
    box-shadow: none;
  }
  #home .lp-shots__stage .lp-shot--presenze .lp-shot__img{ width: 212.8%; max-width: none; }
  #home .lp-shots__stage .lp-shot--modalita{ width: 100%; }
  #home .lp-shots--presence .lp-canvas__caption{ max-width: none; margin-top: clamp(22px, 3vw, 34px); }
  #home .lp-months__net{ font-size: 12.5px; }
  #home .lp-module{ display: flex; align-items: stretch; }
  #home .lp-module__label{ margin-top: 22px; }
  #home .lp-tools{ grid-template-columns: minmax(0, 1fr); }
  #home .lp-tool,
  #home .lp-tool + .lp-tool{ padding: 20px 0; border-left: 0; }
  #home .lp-tool + .lp-tool{ border-top: 1px solid var(--lp-line); }
  #home .lp-rules__col{ padding: 22px 20px; }
  #home .lp-role h3{ font-size: 24px; }
}
@media (max-width: 480px){
  #home .lp-months__cols{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
}
@media (prefers-reduced-motion: reduce){
  #home .lp-months.is-armed .lp-months__grid{ clip-path: none; transition: none; }
}

/* Two editorial photographs, scoped to attendance and the employees' app.
   Space is reserved before loading; scroll presentation is scoped below. */
#home .lp-chapter__head--media{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
}
#home .lp-media-copy{ display: grid; align-content: center; gap: 22px; }
#home .lp-media-copy .lp-h2{ max-width: 17ch; }
#home .lp-media-photo{
  width: 100%; aspect-ratio: 6 / 5; margin: 0;
  overflow: hidden; border-radius: 24px; background: var(--lp-soft);
}
#home .lp-media-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; }
#home .lp-media-photo--work img{ object-position: 32% center; }
#home .lp-media-photo--people img{ object-position: center 35%; }
#home .lp-chapter__head--people .lp-media-copy{ order: 2; }
#home .lp-chapter__head--people .lp-media-photo{ order: 1; }
@media (max-width: 900px){
  #home .lp-chapter__head--media{ grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #home .lp-chapter__head--people .lp-media-copy,
  #home .lp-chapter__head--people .lp-media-photo{ order: initial; }
  #home .lp-media-photo{ max-height: 480px; aspect-ratio: 4 / 3; }
}
@media (max-width: 540px){
  #home .lp-media-photo{ border-radius: 20px; }
}

/* Monthly sending: concrete actions replace the unsupported timing comparison. */
#home .lp-band--send .lp-band__grid{ align-items: center; }
#home .lp-band--send .lp-h2{ max-width: 17ch; text-wrap: balance; }
#home .lp-send-summary{
  padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: #124caa; color: #fff;
  border: 1px solid rgba(255,255,255,.24);
}
#home .lp-send-summary__title{
  margin-bottom: 24px; color: #d8e8ff;
  font-size: 13px; font-weight: 600; letter-spacing: .025em;
}
#home .lp-send-steps{ display: grid; gap: 0; }
#home .lp-send-steps li{
  display: grid; grid-template-columns: 36px minmax(0,1fr);
  align-items: start; gap: 16px; padding: 22px 0;
}
#home .lp-send-steps li:first-child{ padding-top: 0; }
#home .lp-send-steps li:last-child{ padding-bottom: 0; }
#home .lp-send-steps li + li{ border-top: 1px solid rgba(255,255,255,.22); }
#home .lp-send-steps__number{
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: #fff; color: #124caa;
  font-family: var(--lp-mono); font-size: 13px; font-weight: 600;
}
#home .lp-send-steps h3{ color: #fff; font-size: 19px; font-weight: 600; line-height: 1.3; }
#home .lp-send-steps p{ margin-top: 6px; color: #d8e8ff; font-size: 15px; line-height: 1.5; }
#home .lp-band--send .lp-band__facts{ margin-top: clamp(40px, 5vw, 64px); }
#home .lp-band--send .lp-fact__value--text{
  display: flex; align-items: center; min-height: 1.84em;
  font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.03em;
}
@media(max-width: 720px){
  #home .lp-send-summary{ border-radius: 20px; }
  #home .lp-send-steps li{ gap: 14px; padding: 20px 0; }
  #home .lp-band--send .lp-fact__value--text{ min-height: 0; }
}

/* Homepage visual balance — 29 November 2026.
   Opt-in classes keep the upload route and all other pages unchanged. */
#home .lp-faq--compact .lp-faq__list{ border-top: 1px solid var(--lp-line); }
#home .lp-faq--compact .lp-faq__intro{ position: static; }
#home .lp-faq--compact .lp-faq__item summary{ min-height: 76px; padding: 22px 0; }
@media (min-width: 901px){
  #home .lp-suite--reverse .lp-suite__grid{ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  #home .lp-suite--reverse .lp-suite__intro{ order: 2; }
  #home .lp-suite--reverse .lp-index{ order: 1; }
}
/* Photo and copy progress together with the viewport. Every pose is reversible.
   The static layout reserves all space; no timed entrance, sticky panel or hidden text. */
#home [data-lp-scroll-scene]{ position: relative; }
@media (prefers-reduced-motion: no-preference){
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-photo{
    transform: translate3d(var(--lp-photo-x, 0px), var(--lp-photo-y, 0px), 0) scale(var(--lp-photo-scale, 1));
    transform-origin: center; transition: none;
  }
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-photo img{
    transform: translate3d(0, var(--lp-image-y, 0px), 0) scale(var(--lp-image-scale, 1));
    transform-origin: center; transition: none;
  }
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-copy > *{
    transform: translate3d(var(--lp-text-x, 0px), 0, 0);
    transition: none;
  }
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-copy > .lp-chapter__label{
    transform: translate3d(var(--lp-text-x, 0px), var(--lp-label-y, 0px), 0);
  }
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-copy > .lp-h2{
    transform: translate3d(var(--lp-text-x, 0px), var(--lp-title-y, 0px), 0);
  }
  #home [data-lp-scroll-scene].is-scroll-ready .lp-media-copy > .lp-lead{
    transform: translate3d(var(--lp-text-x, 0px), var(--lp-body-y, 0px), 0);
  }
  #home [data-lp-scroll-scene].is-scroll-near .lp-media-photo,
  #home [data-lp-scroll-scene].is-scroll-near .lp-media-photo img,
  #home [data-lp-scroll-scene].is-scroll-near .lp-media-copy > *{ will-change: transform; }
}
