/* =====================================================================
   LexAura — landing «Fascicolo»
   CSS autonomo: nessuna dipendenza da Tailwind/DaisyUI. Tutte le classi
   hanno prefisso lx- e lo stile è confinato sotto .lx, quindi convive con
   il CSS dell'app senza conflitti.
   ===================================================================== */

/* ---------------------------------------------------------------- token */
:root {
  --lx-ink: #111418;        /* testo principale, fondi scuri */
  --lx-ink-2: #2E3440;      /* testo corrente */
  --lx-muted: #4A5260;      /* testo secondario (≥ 7:1 su bianco) */
  --lx-on-dark: #F3F4F6;
  --lx-on-dark-2: #D6DAE0;
  --lx-on-dark-3: #B8BEC8;
  --lx-paper: #FFFFFF;
  --lx-soft: #F4F5F7;
  --lx-soft-2: #F7F8FA;
  --lx-soft-3: #FAFBFC;
  --lx-line: #DADDE2;
  --lx-line-2: #C9CDD4;
  --lx-line-3: #ECEEF1;
  --lx-line-dark: #3A414C;
  --lx-input: #8A919C;
  --lx-logo-aura-dark: #CCCCCC; /* «aura» del logo su fondo scuro */
  --lx-accent: #FFD42A;     /* giallo del marchio: solo come evidenziatore o su fondo scuro */
  --lx-ok: #1F7A4D;
  --lx-warn: #9A3F00;
  --lx-warn-bg: #FFF8EB;

  --lx-font-display: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  --lx-font-body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --lx-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --lx-radius: 4px;
  --lx-radius-lg: 6px;
  --lx-wrap: 1200px;
  --lx-gutter: 24px;
  --lx-section-y: clamp(64px, 8vw, 112px);
  --lx-header-h: 72px;
  --lx-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- base */
html { scroll-behavior: smooth; }
body { margin: 0; }
[x-cloak] { display: none !important; }

.lx {
  background: var(--lx-paper);
  color: var(--lx-ink);
  font-family: var(--lx-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; }
.lx h1, .lx h2, .lx h3, .lx p, .lx figure, .lx blockquote, .lx ol, .lx ul { margin: 0; }
.lx a { color: var(--lx-ink); }
.lx a:hover { color: var(--lx-muted); }
.lx :focus-visible { outline: 2px solid var(--lx-ink); outline-offset: 3px; border-radius: 2px; }
.lx section[id] { scroll-margin-top: calc(var(--lx-header-h) + 16px); }
.lx svg { display: block; }

.lx-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lx-ink); color: #fff; padding: 10px 16px; border-radius: var(--lx-radius);
}
.lx-skip:focus { top: 12px; }

.lx-wrap { max-width: var(--lx-wrap); margin: 0 auto; padding: 0 var(--lx-gutter); }
.lx-stack { display: flex; flex-direction: column; gap: 48px; }
.lx-stack--sm { gap: 28px; }

/* ---------------------------------------------------------------- tipografia */
.lx-h1 {
  font-family: var(--lx-font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(44px, 6.4vw, 88px); line-height: 0.98;
}
.lx-h2 {
  font-family: var(--lx-font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
}
.lx-h2--sm { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; max-width: 20em; }
.lx-h3 { font-family: var(--lx-font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.lx-eyebrow { font-family: var(--lx-font-mono); font-size: 13px; letter-spacing: .04em; color: var(--lx-muted); }
.lx-eyebrow--dark { color: var(--lx-on-dark-3); }
.lx-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--lx-ink-2); max-width: 34em; }
.lx-text { font-size: 17px; color: var(--lx-ink-2); max-width: 32em; }
.lx-text--muted { font-size: 15px; color: var(--lx-muted); }
.lx-text--dark { color: var(--lx-on-dark-2); }
.lx-small { font-size: 14px; color: var(--lx-muted); }
.lx-cta-note { margin-top: 12px; font-size: 14px; color: inherit; opacity: .85; }
.lx-small--dark { color: var(--lx-on-dark-3); }

/* evidenziatore: il gesto dell'avvocato sull'atto */
.lx-hl {
  background-image: linear-gradient(transparent 60%, var(--lx-accent) 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lx-hl--hero { padding: 0 4px; margin-left: -4px; animation: lx-draw 1s .35s var(--lx-ease) both; }
.lx-tag { background: var(--lx-accent); color: var(--lx-ink); padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------------------------------------------------------------- bottoni */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--lx-radius);
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--lx-ink);
  transition: background-color .2s, color .2s, transform .2s;
}
.lx .lx-btn--primary { background: var(--lx-ink); color: #fff; }
.lx .lx-btn--primary:hover { background: #2A2F37; color: #fff; }
.lx .lx-btn--outline { background: transparent; color: var(--lx-ink); }
.lx .lx-btn--outline:hover { background: var(--lx-ink); color: #fff; }
.lx-btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.lx-btn--lg { min-height: 56px; }
.lx-btn--block { width: 100%; }
.lx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lx-icon { flex-shrink: 0; }

/* ---------------------------------------------------------------- sezioni */
.lx-section { padding: var(--lx-section-y) 0; }
.lx-section--rule { border-bottom: 1px solid var(--lx-line); }
.lx-section--soft { background: var(--lx-soft); padding: clamp(56px, 7vw, 96px) 0; }
.lx-section--dark { background: var(--lx-ink); color: var(--lx-on-dark); }
.lx-section--dark .lx-h2 { color: #fff; }
.lx-section--accent { background: var(--lx-accent); padding: clamp(56px, 7vw, 96px) 0; }

.lx-split { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; justify-content: space-between; }
.lx-split__main { flex: 1 1 460px; }
.lx-split__side { flex: 1 1 320px; max-width: 30em; }

.lx-two { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.lx-two__main { flex: 1 1 440px; min-width: 0; }
.lx-two__side { flex: 1 1 400px; min-width: 0; }

/* ---------------------------------------------------------------- header */
.lx-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lx-line);
  box-shadow: 0 6px 20px -16px rgba(17, 20, 24, .5);
}
.lx-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--lx-header-h); }
.lx-logo { display: flex; align-items: center; flex-shrink: 0; padding: 8px 0; }
.lx-logo__svg { height: 28px; width: auto; aspect-ratio: 98 / 22; overflow: visible; }
.lx-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.lx-nav__link {
  text-decoration: none; padding: 12px 2px;
  background-image: linear-gradient(transparent 62%, var(--lx-accent) 62%);
  background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size .35s ease;
}
.lx .lx-nav__link.is-active { background-size: 100% 100%; color: var(--lx-ink); }
.lx-header__actions { display: flex; align-items: center; gap: 8px; }
.lx-header__login { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 8px; }
.lx-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--lx-line-2); border-radius: var(--lx-radius);
  background: #fff; color: var(--lx-ink); cursor: pointer;
}
.lx-mnav { display: none; border-top: 1px solid var(--lx-line); background: #fff; padding: 8px var(--lx-gutter) 20px; }
.lx-mnav__link {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--lx-line-3);
  text-decoration: none; font-family: var(--lx-font-display); font-size: 20px; font-weight: 600;
}
.lx-mnav__link.is-active { box-shadow: inset 4px 0 0 var(--lx-accent); padding-left: 14px; }
.lx-mnav__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.lx-mnav .lx-btn { min-height: 48px; }

@media (max-width: 920px) {
  .lx-nav, .lx-header__login { display: none; }
  .lx-burger { display: inline-flex; }
  .lx-mnav { display: block; }          /* visibilità gestita da x-show */
  .lx { --lx-header-h: 64px; }
}
@media (max-width: 420px) {
  .lx-header .lx-btn--sm { padding: 0 12px; font-size: 14px; }
}

/* ---------------------------------------------------------------- hero */
.lx-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); }
.lx-hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lx-hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lx-checks {
  list-style: none; padding: 20px 0 0; border-top: 1px solid var(--lx-line);
  display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--lx-ink-2);
}
.lx-checks li { display: flex; align-items: center; gap: 8px; }

.lx-doc {
  flex: 1 1 520px; min-width: 0; display: flex; flex-wrap: wrap;
  border: 1px solid var(--lx-line-2); border-radius: var(--lx-radius-lg); overflow: hidden;
  background: #fff; box-shadow: 0 30px 60px -30px rgba(17, 20, 24, .35);
}
.lx-doc__bar {
  flex: 1 1 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-bottom: 1px solid var(--lx-line); background: var(--lx-soft);
  font-family: var(--lx-font-mono); font-size: 12px; color: var(--lx-muted);
}
.lx-doc__badge { border: 1px solid var(--lx-muted); padding: 2px 8px; border-radius: 3px; }
.lx-doc__body { flex: 3 1 300px; min-width: 0; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.lx-doc__h { font-family: var(--lx-font-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.lx-doc__p { font-size: 15px; line-height: 1.7; color: var(--lx-ink-2); }
.lx-doc__line { height: 8px; background: var(--lx-line-3); border-radius: 2px; }
.lx-doc__line--a { width: 92%; }
.lx-doc__line--b { width: 74%; }
.lx-cite { font-family: var(--lx-font-mono); font-size: 11px; font-weight: 500; }
.lx-cite--ok { color: var(--lx-ok); }
.lx-cite--warn { color: var(--lx-warn); }

.lx-notes {
  flex: 2 1 200px; min-width: 0; border-left: 1px solid var(--lx-line); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px; background: var(--lx-soft-3);
  font-family: var(--lx-font-mono); font-size: 12px; line-height: 1.5;
}
.lx-note { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px dashed var(--lx-line-2); transition: opacity .35s ease, transform .35s ease; }
.lx-note--box { padding: 10px; border: 1.5px solid var(--lx-ink); border-radius: 3px; background: #fff; }
.lx-note__title { font-weight: 500; }
.lx-note__title--ok { color: var(--lx-ok); }
.lx-note__title--warn { color: var(--lx-warn); }
.lx-note__title--box { color: var(--lx-ink); }
.lx-note__meta { color: var(--lx-muted); }
@media (max-width: 560px) { .lx-notes { border-left: 0; border-top: 1px solid var(--lx-line); } }

/* scrittura a macchina: il testo finale occupa già lo spazio, quello «vivo» ci scrive sopra */
.lx-type { position: relative; display: block; }
.lx-type__live { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
.lx-type__live--muted { color: var(--lx-muted); font-style: italic; }
.lx-type.is-typing .lx-type__full { color: transparent; }
.is-hidden { opacity: 0; transform: translateY(6px); }

/* ---------------------------------------------------------------- prodotto */
.lx-articles { list-style: none; padding: 0; border-top: 2px solid var(--lx-ink); display: flex; flex-direction: column; }
.lx-article { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 36px 0; border-bottom: 1px solid var(--lx-line); }
.lx-article__num { flex: 0 0 64px; font-family: var(--lx-font-mono); font-size: 14px; color: var(--lx-muted); padding-top: 6px; }
.lx-article__title { flex: 1 1 280px; font-family: var(--lx-font-display); font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.lx-article__text { flex: 2 1 380px; font-size: 16px; color: var(--lx-ink-2); }

.lx-maxim { padding: clamp(32px, 4vw, 48px); background: var(--lx-soft); border-radius: var(--lx-radius-lg); display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.lx-maxim__label { flex: 0 0 auto; font-family: var(--lx-font-mono); font-size: 13px; color: var(--lx-muted); }
.lx-maxim__quote { flex: 1 1 520px; font-family: var(--lx-font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }

/* ---------------------------------------------------------------- supporto */
.lx-steps { list-style: none; padding: 0; border-top: 1px solid var(--lx-line-dark); }
.lx-step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--lx-line-dark); }
.lx-step strong { color: #fff; font-weight: 600; }
.lx-step__num { flex: 0 0 28px; font-family: var(--lx-font-mono); font-size: 14px; color: var(--lx-accent); }
.lx-step__text { color: var(--lx-on-dark-3); font-size: 15px; }

.lx-chat { background: #fff; color: var(--lx-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.lx-chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--lx-line); }
.lx-chat__head strong { font-family: var(--lx-font-display); font-size: 16px; }
.lx-chat__head span { font-family: var(--lx-font-mono); font-size: 12px; color: var(--lx-muted); }
.lx-chat__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--lx-soft-2); }
.lx-chat__foot { padding: 12px 20px; border-top: 1px solid var(--lx-line); font-size: 12px; color: var(--lx-muted); }
.lx-chat [data-chat-step] { transition: opacity .35s ease, transform .35s ease; }
.lx-msg { font-size: 14px; }
.lx-msg--user { align-self: flex-end; max-width: 80%; background: var(--lx-ink); color: #fff; padding: 12px 14px; border-radius: 10px 10px 2px 10px; }
.lx-msg--bot, .lx-msg--human { align-self: flex-start; max-width: 86%; display: flex; flex-direction: column; gap: 6px; }
.lx-msg__who { font-family: var(--lx-font-mono); font-size: 11px; color: var(--lx-muted); }
.lx-msg__bubble { background: #fff; border: 1px solid var(--lx-line); padding: 12px 14px; border-radius: 10px 10px 10px 2px; }
.lx-msg--human .lx-msg__bubble { border: 1.5px solid var(--lx-ink); }
.lx-chat__fallback {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1.5px dashed var(--lx-warn); border-radius: var(--lx-radius-lg); background: var(--lx-warn-bg); font-size: 13px;
}

/* ---------------------------------------------------------------- fondatori */
.lx-perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--lx-line); border: 1px solid var(--lx-line); }
.lx-perk { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.lx-perk strong { font-family: var(--lx-font-display); font-size: 18px; }
.lx-perk span { font-size: 15px; color: var(--lx-muted); }
.lx-terms { font-size: 13px; line-height: 1.55; color: var(--lx-muted); border-top: 1px solid var(--lx-line); padding-top: 14px; }

.lx-form { border: 2px solid var(--lx-ink); border-radius: var(--lx-radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; background: #fff; }
.lx-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lx-fieldset[disabled] .lx-input { opacity: .6; cursor: not-allowed; }
.lx-btn[disabled] { opacity: .55; cursor: not-allowed; }
.lx-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; flex: 1 1 160px; }
.lx-input {
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; min-height: 48px; width: 100%;
  border: 1px solid var(--lx-input); border-radius: var(--lx-radius); background: #fff; color: var(--lx-ink);
}
.lx-input:focus { outline: 2px solid var(--lx-ink); outline-offset: 1px; }
.lx-row { display: flex; flex-wrap: wrap; gap: 14px; }
.lx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- griglie senza righe orfane */
.lx-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.lx-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1020px) { .lx-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .lx-grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px)  { .lx-grid4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- sicurezza */
.lx-pillar { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--lx-ink); padding-top: 18px; }
.lx-pillar strong { font-family: var(--lx-font-display); font-size: 18px; }
.lx-pillar span { font-size: 15px; color: var(--lx-ink-2); }
.lx-pillar a { font-size: 14px; font-weight: 600; }

/* ---------------------------------------------------------------- piani */
.lx-plan { position: relative; border: 1px solid var(--lx-line-2); border-radius: var(--lx-radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.lx-plan--featured { border: 2px solid var(--lx-ink); }
.lx-plan__badge { position: absolute; top: -13px; left: 28px; background: var(--lx-accent); color: var(--lx-ink); font-family: var(--lx-font-mono); font-size: 12px; font-weight: 500; padding: 3px 10px; }
.lx-plan__price { font-family: var(--lx-font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.lx-plan__price span { font-size: 16px; font-weight: 500; color: var(--lx-muted); letter-spacing: 0; }
.lx-plan__price--text { font-size: 36px; line-height: 1.2; }
.lx-plan__list { padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--lx-ink-2); flex: 1; }
.lx-plan__support { background: var(--lx-soft); border-radius: var(--lx-radius); padding: 14px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.lx-plan__support strong { font-weight: 600; }
.lx-plan__support span { color: var(--lx-ink-2); }
.lx-plan__support--dark { background: var(--lx-ink); color: #fff; }
.lx-plan__support--dark span { color: var(--lx-on-dark-2); }

/* ---------------------------------------------------------------- faq */
.lx-faq { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.lx-faq__title { flex: 1 1 280px; }
.lx-faq__list { flex: 2 1 560px; min-width: 0; border-top: 2px solid var(--lx-ink); }
.lx-faq__item { border-bottom: 1px solid var(--lx-line); padding: 20px 0; }
.lx-faq__q { cursor: pointer; list-style: none; font-family: var(--lx-font-display); font-size: 19px; font-weight: 600; min-height: 28px; display: flex; justify-content: space-between; gap: 16px; }
.lx-faq__q::-webkit-details-marker { display: none; }
.lx-faq__q::after { content: '+'; font-family: var(--lx-font-mono); font-weight: 400; color: var(--lx-muted); transition: transform .25s ease; }
.lx-faq__item[open] .lx-faq__q::after { transform: rotate(45deg); }
.lx-faq__a { margin-top: 12px; font-size: 16px; color: var(--lx-ink-2); max-width: 40em; }

/* ---------------------------------------------------------------- chiusura e footer */
.lx-closing { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.lx-closing__title { flex: 1 1 520px; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.035em; color: var(--lx-ink); }

.lx-footer { background: var(--lx-ink); color: var(--lx-on-dark-3); padding: 56px 0 32px; font-size: 14px; }
.lx-footer .lx-stack { gap: 40px; }
.lx-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.lx-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.lx-footer__brand .lx-logo__svg { height: 28px; width: auto; align-self: flex-start; }
.lx-footer__col { display: flex; flex-direction: column; gap: 8px; }
.lx-footer__col strong { color: #fff; font-weight: 600; }
.lx .lx-footer__col a { color: var(--lx-on-dark-3); text-decoration: none; }
.lx .lx-footer__col a:hover { color: #fff; }
.lx-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--lx-line-dark); font-size: 13px; }
.lx-footer__signoff { font-family: var(--lx-font-mono); color: var(--lx-on-dark-2); }

/* ---------------------------------------------------------------- comparsa sezioni */
.lx-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--lx-ease); }
.lx-rv.lx-in { opacity: 1; transform: none; }
.lx-rv:not(.lx-in) .lx-hl { background-size: 0% 100%; }
.lx-rv.lx-in .lx-hl { animation: lx-draw .9s .3s var(--lx-ease) both; }

@keyframes lx-draw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* ---------------------------------------------------------------- movimento ridotto e stampa */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lx *, .lx *::before, .lx *::after { animation: none !important; transition: none !important; }
  .lx-rv, .is-hidden { opacity: 1 !important; transform: none !important; }
  .lx-rv .lx-hl { background-size: 100% 100% !important; }
}
@media print {
  .lx-header, .lx-chat, .lx-form, .lx-skip { display: none !important; }
  .lx-section--dark, .lx-footer { background: #fff; color: #000; }
}
