/* ============================================================
   /dpo/it — Legis brand layer (extends site.css)

   Brand system «Branding legis uff» (October 2026): Manrope 700/600 for
   display and headings, Inter 400/500 for body and interface, avorio
   #F9F9F9, blu #0277FD, Legis Ink #2B1511; soft blue → azure → white
   colour fields; one idea per block, the closing words of a title in blue.
   Hero: full-bleed blue field with white type and the three points; «Come
   funziona»: three steps with product mockups; security list; video. Copied
   from /it/compliance on 27.10.2026. Class prefix lg-, mk- for the mockups.
   ============================================================ */

:root {
  --ivory: #F9F9F9;
  --ink: #2B1511;
  --navy: #0A1230;

  --blue-50:  #EEF5FF;
  --blue-100: #D9E9FF;
  --blue-200: #B8D6FF;
  --blue-300: #CFE4FF;
  --blue-400: #5AA2FE;
  --blue-500: #0277FD;
  --blue-600: #0062D6;
  --blue-700: #0050B0;
  --blue-950: #2B1511;

  --n-0:   #FFFFFF;
  --n-50:  #F9F9F9;
  --n-100: #F2F2F1;
  --n-150: #ECEBEA;
  --n-200: #E2E0DE;
  --n-300: #CBC7C4;
  --n-400: #A19A96;
  --n-500: #7A716D;
  --n-600: #5F5551;
  --n-700: #463A36;
  --n-800: #33241F;
  --n-900: #2B1511;
  --n-950: #2B1511;

  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  /* The brand system has no monospace face: the demo and mockup labels that
     used one (site.css, demo.css) fall back to Inter. */
  --font-mono: 'Inter', sans-serif;
}

body { background: var(--ivory); color: var(--ink); }
::selection { background: var(--blue-100); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.035em; }
.h-section { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.lg-blue { color: var(--blue-500); }

#prenota, #framework, #come-funziona, #sicurezza, #assodpo, #video, #bookStep { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Small uppercase labels: Inter 500 (the brand's interface face), not mono. */
.lg-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-500);
}
.lg-label::before { content: ""; width: 18px; height: 1px; background: var(--n-400); display: block; }

/* ── Legis mark (inline SVG, colour from currentColor) ── */
.lg-mark { display: inline-block; line-height: 0; color: var(--blue-500); }
.lg-mark svg { width: 100%; height: 100%; display: block; }

/* ── Buttons: interface text, Inter 500 ─────────────── */
.btn { font-weight: 500; }
.btn--primary { background: var(--blue-500); box-shadow: 0 1px 2px rgba(43,21,17,0.14), 0 10px 26px -10px rgba(2,119,253,0.6); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 1px 2px rgba(43,21,17,0.14), 0 12px 30px -10px rgba(2,119,253,0.7); }
.btn--white { background: #fff; color: var(--ink); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 10px 30px -14px rgba(4,20,60,0.45); }
.btn--white:hover { background: #F4F8FF; }
.lg-section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ── Nav: dark logo (the sky is near white top left), white button; ivory once scrolled ── */
.lg-logo { display: flex; align-items: center; text-decoration: none; }
.lg-logo img { height: 36px; width: auto; display: block; }
.nav__cta { background: #fff; color: var(--blue-500); box-shadow: 0 8px 22px -12px rgba(4,20,60,0.5); }
.nav__cta:hover { background: #F4F8FF; }
.nav.is-scrolled { background: rgba(249,249,249,0.88); border-bottom-color: var(--n-200); }
.nav.is-scrolled .nav__cta { background: var(--blue-500); color: #fff; }
.nav.is-scrolled .nav__cta:hover { background: var(--blue-600); }
@media (max-width: 980px) {
  #nav .nav__links { display: flex !important; }
}
@media (max-width: 640px) {
  #nav .nav__inner { gap: 12px; }
  #nav .nav__cta { margin-left: 0; padding: 0 16px; }
  .lg-logo img { height: 30px; }
}

/* ── Hero: the brand system's sky, white type ──────── */
/* The sky (S248's hero field, Brain asset A016) fills the first screen, stats
   and logos included (svh, so mobile browser bars do not push it past the
   fold). The picture lightens to lavender at its foot; here its last stretch is
   held at the field's blue (#2F7BFF) instead, so the whole hero stays full
   colour and the white logos sit on blue. Then, out of the first screen, the
   fade takes that blue into the white of the next section, without an edge. */
.lg-hero { position: relative; overflow: hidden; color: #fff; text-align: center; background: #fff; }
.lg-hero__sky {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 48px) 0 40px;
  background:
    linear-gradient(to bottom, rgba(47,123,255,0) 60%, #2F7BFF 86%),
    #2F7BFF url("/landing/dpo-legis/assets/hero-sky.webp") center bottom / cover no-repeat;
}
.lg-hero__sky > .container { flex: 1; display: flex; align-items: center; justify-content: center; }
.lg-hero__fade { height: 200px; background: linear-gradient(to bottom, #2F7BFF, #fff); }
.lg-hero__inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }


.lg-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 66px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.lg-hero h1 em { font-style: normal; color: #CFE4FF; }
/* The tight display tracking glues L, apostrophe, A and I together. */
.lg-hero__ai { letter-spacing: 0.02em; }
.lg-hero .lede { margin: 24px auto 0; max-width: 50ch; color: rgba(255,255,255,0.9); text-wrap: balance; }
.lg-hero .btn-row { margin-top: 36px; justify-content: center; }
.lg-hero .btn-row .btn { min-width: 240px; }

.lg-stats { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin: 56px 0 0; font-size: 15px; color: rgba(255,255,255,0.85); }
.lg-stats b { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -0.02em; }
.lg-stats__sep { width: 1px; height: 18px; background: rgba(255,255,255,0.35); display: block; }

.lg-logos { position: relative; z-index: 1; margin: 24px 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.lg-logos__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: lg-logos 52s linear infinite; }
.lg-logos:hover .lg-logos__track { animation-duration: 120s; }
@keyframes lg-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Grey logos turned white on the blue sky. */
.lg-logos__track img { height: 36px; width: auto; flex: none; object-fit: contain; opacity: 0.85; filter: brightness(0) invert(1); -webkit-user-drag: none; user-select: none; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .lg-logos__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 28px; width: auto; } .lg-logos__track img[aria-hidden] { display: none; } }

/* ── Cosa puoi fare: white band, three cards with mockups ── */
.lg-values { background: #fff; color: var(--ink); padding: 104px 0 112px; border-bottom: 1px solid var(--n-150); }
.lg-values__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.lg-values__head h2 { color: var(--ink); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -0.04em; max-width: 16ch; }
.lg-values__head h2 span { color: var(--blue-500); }
/* A filled button, not a text link: the page's main action (Gabriele Staffa, 27.10.2026). */
.lg-values__cta { flex: none; }
.lg-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lg-value > h3 { margin-top: 24px; color: var(--ink); font-size: 22px; letter-spacing: -0.025em; }
.lg-value > p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--n-600); }

.lg-value__art {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8em; padding: 6%; aspect-ratio: 4 / 3.3; border-radius: 20px;
  border: 1px solid rgba(43,21,17,0.06);
  background:
    radial-gradient(55% 45% at 20% 18%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(60% 55% at 85% 85%, rgba(2,119,253,0.9) 0%, rgba(2,119,253,0) 72%),
    linear-gradient(150deg, #8FBAF0 0%, #3E8AF0 45%, #1260D8 100%);
}
.lg-value__art--b { background:
    radial-gradient(55% 45% at 80% 15%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(60% 55% at 10% 90%, rgba(2,119,253,0.9) 0%, rgba(2,119,253,0) 72%),
    linear-gradient(200deg, #9CC2F2 0%, #3F8CF2 45%, #0E5BD2 100%); }
.lg-value__art--c { background:
    radial-gradient(50% 45% at 50% 0%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(60% 55% at 90% 95%, rgba(3,35,95,0.75) 0%, rgba(3,35,95,0) 72%),
    linear-gradient(170deg, #86B4EE 0%, #2F7FEE 50%, #0B53C6 100%); }

/* Mockups: product UI drawn in HTML, sized in em so one font-size scales them. */
.mk { position: relative; width: 100%; background: #fff; border-radius: 1.1em; color: var(--ink); font-family: var(--font-body); font-size: 12px; line-height: 1.35; text-align: left; box-shadow: 0 2em 4em -2em rgba(4,20,60,0.6); }
.mk b { font-weight: 600; }
.mk code { font-family: var(--font-mono); }
/* Panels sit centred in the card, the same margin on every side. */

.mk__bar { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.2em; border-bottom: 1px solid var(--n-150); }
.mk__bar b { font-family: var(--font-display); font-size: 1.15em; font-weight: 700; letter-spacing: -0.02em; }
.mk__bar span { font-size: 0.88em; color: var(--n-500); }
.mk__sec { display: flex; align-items: center; gap: 0.5em; margin: 0; padding: 0.9em 1.2em 0.35em; font-size: 0.8em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n-500); }
.mk-dot { width: 0.6em; height: 0.6em; border-radius: 50%; display: block; }
.mk-dot--red { background: #E5484D; }
.mk-dot--green { background: #2F9E72; }
.mk-row { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto auto; gap: 0.85em; align-items: center; padding: 0.7em 1.2em; border-top: 1px solid var(--n-100); }
.mk-av { width: 2.4em; height: 2.4em; border-radius: 0.65em; color: #fff; display: grid; place-items: center; font-size: 0.88em; font-weight: 700; }
.mk-row__name { display: flex; flex-direction: column; gap: 0.3em; min-width: 0; }
.mk-row__name b { font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tags { display: flex; gap: 0.3em; }
.mk-tags i { font-style: normal; font-family: var(--font-mono); font-size: 0.72em; color: var(--n-600); background: var(--n-100); border-radius: 0.35em; padding: 0.15em 0.45em; white-space: nowrap; }
.mk-score { font-family: var(--font-display); font-weight: 700; font-size: 1.3em; letter-spacing: -0.02em; }
.mk-score--red { color: #D93A3F; }
.mk-score--amber { color: #C08415; }
.mk-score--green { color: #22875C; }
.mk-role { font-size: 0.85em; font-weight: 600; color: var(--blue-500); background: var(--blue-50); border-radius: 0.5em; padding: 0.3em 0.7em; }

.mk-assess { padding: 1.3em 1.3em 1.1em; }
.mk__eyebrow { margin: 0; font-size: 0.8em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--n-500); }
.mk-big { margin: 0.15em 0 0; font-family: var(--font-display); font-weight: 700; font-size: 3.4em; line-height: 1; letter-spacing: -0.04em; }
.mk-big small { font-size: 0.45em; color: var(--n-500); }
.mk-meter { display: flex; gap: 0.3em; margin: 0.8em 0 0.6em; }
.mk-meter i { height: 0.5em; border-radius: 0.3em; display: block; }
.mk-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 0.8em; padding: 0.7em 0; border-top: 1px solid var(--n-100); }
.mk-ctrl__name { display: flex; flex-direction: column; gap: 0.15em; min-width: 0; }
.mk-ctrl__name code { font-size: 0.78em; color: var(--n-500); }
.mk-ctrl__name b { font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-pill { flex: none; font-size: 0.85em; font-weight: 600; border-radius: 0.5em; padding: 0.3em 0.7em; }
.mk-pill--part { color: #A9700F; background: #FBF3E2; }
.mk-pill--no { color: #C9373C; background: #FDECEC; }
.mk-source { display: inline-flex; align-items: center; gap: 0.45em; margin: 0.5em 0 0; font-size: 0.92em; font-weight: 600; color: var(--blue-500); }

.mk-ask { position: relative; align-self: flex-end; max-width: 82%; padding: 0.8em 1.1em; background: #fff; border-radius: 1em; color: var(--ink); font-size: 12px; line-height: 1.35; text-align: left; box-shadow: 0 1.5em 3em -1.5em rgba(4,20,60,0.55); }
.lg-value__art .mk-doc { padding: 1em 1.1em; }
/* Two panels in this card: a notch smaller so both fit with the same margins. */
.lg-value__art--c .mk, .lg-value__art--c .mk-ask { font-size: 11px; }
.mk-doc__head { display: flex; align-items: center; gap: 0.8em; }
.mk-doc__head > span:last-child { display: flex; flex-direction: column; }
.mk-doc__head b { font-size: 1.08em; }
.mk-doc__head small { font-size: 0.88em; color: var(--n-500); }
.mk-docx { flex: none; width: 3.6em; height: 3.6em; border-radius: 0.6em; background: #2B5CB8; color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.45em; font-size: 0.66em; font-weight: 700; letter-spacing: 0.04em; }
.mk-doc__page { margin-top: 0.9em; padding: 0.9em 1em; border: 1px solid var(--n-150); border-radius: 0.7em; display: flex; flex-direction: column; gap: 0.5em; }
.mk-doc__page > b { font-size: 1em; }
.mk-line { display: block; height: 0.45em; border-radius: 0.3em; background: var(--n-150); }
.mk-line--short { width: 70%; }
.mk-new { padding: 0.6em 0.8em; border-left: 3px solid var(--blue-500); background: var(--blue-50); border-radius: 0.4em; font-size: 0.95em; line-height: 1.4; }
.mk-new span { display: block; margin-bottom: 0.2em; font-size: 0.78em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-500); }
.mk-doc__acts { display: flex; gap: 0.5em; margin-top: 0.9em; }
.mk-btn { font-size: 0.95em; font-weight: 600; padding: 0.55em 0.9em; border-radius: 0.55em; border: 1px solid var(--n-200); }
.mk-btn--blue { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

/* ── Prenota: form first, then Calendly ────────────── */
.lg-book { background: var(--ivory); border-bottom: 1px solid var(--n-150); }
.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; max-width: 1120px; margin: 0 auto; }
.book-copy { position: sticky; top: calc(var(--nav-h) + 32px); padding-top: 12px; }
.book-copy > p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--n-600); max-width: 40ch; text-wrap: pretty; }
.lg-checks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.lg-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--n-700); }
.lg-checks li b { color: var(--ink); font-weight: 600; }
.lg-check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue-500); display: grid; place-items: center; margin-top: 1px; }

.lg-cal-step { background: #fff; border: 1px solid var(--n-200); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -36px rgba(43,21,17,0.24); }
.lg-cal-step__head { display: flex; gap: 14px; align-items: flex-start; padding: 26px 28px 20px; border-bottom: 1px solid var(--n-150); }
.lg-cal-step__ok { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #E8F6EE; color: var(--green); display: grid; place-items: center; }
.lg-cal-step__head h3 { font-size: 20px; outline: none; }
.lg-cal-step__head p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--n-600); }
#calendlyWidget { min-width: 320px; height: 700px; min-height: 660px; }
#calendlyWidget iframe { min-height: 640px; display: block; }

/* ── Thank-you pages (/…/grazie): the calendar step on its own ── */
.lg-thanks { background: var(--ivory); min-height: 100vh; padding: calc(var(--nav-h) + 48px) 0 96px; }
.lg-thanks .lg-cal-step { max-width: 760px; margin: 0 auto; }
.lg-thanks .lg-cal-step__head h1 { font-size: 24px; line-height: 1.25; outline: none; }
.lg-thanks .lg-cal-step__head p { font-size: 16px; }

.embed-form { background: #fff; border: 1px solid var(--n-200); border-radius: 20px; padding: 36px; max-width: 640px; margin: 0 auto; box-shadow: 0 20px 50px -30px rgba(43,21,17,0.2); text-align: left; }
.embed-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.embed-form .form-row label { font-size: 13px; font-weight: 500; color: var(--n-700); }
.embed-form .form-row label small { font-weight: 500; color: var(--n-500); }
.embed-form input, .embed-form select, .embed-form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--n-200); border-radius: 10px;
  padding: 11px 14px; outline: none; transition: border-color 150ms ease-out; width: 100%; box-sizing: border-box;
}
.embed-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%237A716D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.embed-form select:invalid { color: var(--n-500); }
.embed-form input:focus, .embed-form select:focus, .embed-form textarea:focus { border-color: var(--blue-400); background-color: #fff; }
.embed-form textarea { resize: vertical; min-height: 88px; }
.embed-form .form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.embed-form .form-row--2 > div { display: flex; flex-direction: column; gap: 6px; }
.embed-form #ts-demo { margin: 4px 0 12px; min-height: 65px; }
.embed-form .form-submit { width: 100%; margin-top: 6px; height: 54px; font-size: 16px; }
.embed-form .form-status { margin: 12px 0 0; font-size: 14px; line-height: 1.5; min-height: 1.5em; color: var(--n-600); }
.embed-form .form-status.is-error { color: var(--red); }
.embed-form .form-status.is-success { color: var(--green); font-weight: 500; }
.embed-form .form-privacy { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--n-500); }
.embed-form .form-privacy a { color: var(--n-600); }

/* ── Framework ─────────────────────────────────────── */
.lg-fw { padding: 96px 0; }
.lg-fw__title { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; color: var(--ink); }
.lg-fw__grid {
  margin: 30px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--n-150); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(43,21,17,0.04);
}
.lg-fw__cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 14px; text-align: center; transition: background 160ms ease-out; }
.lg-fw__cell + .lg-fw__cell { border-left: 1px solid var(--n-150); }
.lg-fw__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.lg-fw__ref { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n-500); }
.lg-fw__soon { margin: 16px auto 0; max-width: 980px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.lg-soon-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--n-600); background: var(--n-150); border-radius: var(--r-pill); padding: 5px 11px; }
.lg-fw__soon-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 18px; border: 1px dashed var(--n-300); border-radius: 14px; background: rgba(255,255,255,0.6); }
.lg-fw__soon-item b { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--n-600); white-space: nowrap; }
.lg-fw__soon-item small { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--n-500); }
.lg-fw__note { margin: 20px auto 0; text-align: center; font-size: 14px; color: var(--n-500); }

/* ── Partner ASSO DPO ──────────────────────────────── */
.lg-assodpo { padding: 0 0 104px; }
.lg-assodpo__card {
  position: relative; overflow: hidden; max-width: 1080px; margin: 0 auto; border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center;
  padding: 56px; color: #fff;
  /* Light azure behind the logo, full brand blue behind the white copy. */
  background:
    radial-gradient(55% 85% at 12% 30%, #CFE4FF 0%, rgba(207,228,255,0) 70%),
    linear-gradient(135deg, #3D93FE 0%, #0277FD 55%, #0062D6 100%);
}
/* The source logo is small: shown at about half its pixel width so it stays sharp. */
.lg-assodpo__logo { justify-self: center; display: grid; place-items: center; width: 100%; max-width: 280px; padding: 26px 30px; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(43,21,17,0.45); }
.lg-assodpo__logo img { width: 100%; max-width: 220px; height: auto; }
.lg-assodpo__copy .lg-label { color: rgba(255,255,255,0.86); }
.lg-assodpo__copy .lg-label::before { background: rgba(255,255,255,0.7); }
.lg-assodpo__copy h2 { margin-top: 16px; color: #fff; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.lg-assodpo__copy p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.92); max-width: 46ch; }
.lg-assodpo__copy .btn { margin-top: 28px; }

/* ── Demo ──────────────────────────────────────────── */
.lg-demo { background: var(--n-100); }
.lg-demo .sec-head { margin-bottom: 40px; }
.lg-demo__note { margin: 14px 0 0; font-size: 14px; color: var(--n-500); }

.lg-footer { border-top: 1px solid var(--n-150); padding: 24px 0; }
.lg-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--n-500); }
.lg-footer a { color: var(--n-500); }
.lg-footer__links { display: flex; align-items: center; gap: 20px; }
.lg-footer .consent-link { color: var(--n-500); }
.lg-footer .consent-link:hover { color: var(--ink); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1000px) {
  .lg-values__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 48px; }
  .lg-values__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; gap: 32px; }
  .book-copy { position: static; text-align: left; }
  .lg-assodpo__card { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .lg-assodpo__logo { max-width: 240px; }
}
@media (max-width: 760px) {
  .lg-fw__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-fw__cell + .lg-fw__cell { border-left: 0; }
  .lg-fw__cell:nth-child(even) { border-left: 1px solid var(--n-150); }
  .lg-fw__cell:nth-child(n+3) { border-top: 1px solid var(--n-150); }
}
@media (max-width: 640px) {
  .lg-hero__sky { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 28px; }
  .lg-hero__fade { height: 140px; }
  .lg-hero .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .lg-hero .btn-row .btn { width: 100%; justify-content: center; }
  .lg-stats { flex-direction: column; gap: 4px; margin-top: 40px; }
  .lg-stats__sep { display: none; }
  .lg-logos__track { gap: 44px; }
  .lg-logos__track img { height: 28px; }
  .lg-values { padding: 72px 0 80px; }
  .lg-values__head { margin-bottom: 36px; }
  .lg-values__cta, .lg-values__cta .btn { width: 100%; }
  .mk, .mk-ask { font-size: 10.5px; }
  .lg-value > h3 { font-size: 20px; }
  .lg-value > p { font-size: 15.5px; }
  .lg-book { padding-top: 56px; padding-bottom: 56px; }
  .book-grid { gap: 28px; }
  .book-copy { padding-top: 0; }
  .book-copy h2 { font-size: 32px; }
  .lg-checks { margin-top: 22px; gap: 12px; }
  .lg-checks li { font-size: 15px; }
  .lg-cal-step { margin-left: -22px; margin-right: -22px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .lg-cal-step__head { padding: 22px 22px 18px; }
  #calendlyWidget { min-width: 0; min-height: 640px; }
  .lg-thanks { padding-top: calc(var(--nav-h) + 24px); }
  .lg-thanks .lg-cal-step__head h1 { font-size: 20px; }
  .lg-fw { padding: 64px 0; }
  .lg-fw__cell { padding: 20px 8px; }
  .lg-fw__name { font-size: 18px; }
  .lg-fw__ref { font-size: 10px; }
  .lg-assodpo { padding-bottom: 72px; }
  .lg-assodpo__card { padding: 32px 22px; border-radius: 22px; }
  .lg-assodpo__logo { max-width: 200px; padding: 18px 22px; }
  .lg-assodpo__copy p { font-size: 16px; }
  .lg-assodpo__copy .btn { width: 100%; }
  .lg-section-cta .btn { width: 100%; }
  .embed-form { padding: 28px 16px; }
  .embed-form .form-row--2 { grid-template-columns: 1fr; gap: 16px; }
}
/* Turnstile's flexible widget is at least 300px wide: on phones the form goes
   edge to edge so the widget never spills out of the card. */
@media (max-width: 420px) {
  .embed-form { margin-left: -22px; margin-right: -22px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
}

/* Display face at the brand's 700 (demo end card shipped at 800). */
.dend h3 { font-weight: 700; }

/* «Compila il form» heading inside the form card. */
.embed-form .lg-form-title { margin: 0 0 22px; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }

/* ============================================================
   /dpo/it — sections this page adds to the /it/compliance layer
   ============================================================ */

/* ── Hero: the three points, white checks on the sky ── */
.lg-points { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.lg-points li { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; line-height: 1.4; color: #fff; }
.lg-points li b { font-weight: 600; color: #fff; }
.lg-points__check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--blue-500); display: grid; place-items: center; }

/* ── Come funziona: the value cards as numbered steps ── */
.lg-steps-grid { list-style: none; margin: 0; padding: 0; }
.lg-values__sub { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--n-600); max-width: 40ch; }
.lg-value > h3 { display: flex; align-items: center; gap: 12px; }
.lg-step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-500); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0; }

/* Step 1 mockup: several client companies, the selected one with its
   «Carica documenti» button and a pointer on it. */
.lg-value__art--a .mk { font-size: 11px; }
.mk-pick .mk-row { grid-template-columns: 2.4em minmax(0, 1fr) auto; position: relative; }
.mk-row--on { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-500); }
.mk-upload { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.55em 0.85em; border-radius: 0.55em; background: var(--blue-500); color: #fff; font-size: 0.9em; font-weight: 600; white-space: nowrap; box-shadow: 0 0.6em 1.2em -0.6em rgba(2,119,253,0.8); }
.mk-cursor { position: absolute; right: 1.1em; bottom: -0.55em; width: 1.6em; height: 1.6em; filter: drop-shadow(0 2px 3px rgba(4,20,60,0.35)); }
.mk-pick .mk-row:last-child { border-bottom-left-radius: 1.1em; border-bottom-right-radius: 1.1em; }

/* ── Sicurezza dei dati: copy on the left, five measures on the right ── */
.lg-sec { background: #fff; padding: 112px 0; border-bottom: 1px solid var(--n-150); }
.lg-sec__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; max-width: 1120px; margin: 0 auto; }
.lg-sec__copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.lg-sec__copy > p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--n-600); max-width: 40ch; }
.lg-sec__acts { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
.lg-sec__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--blue-500); text-decoration: none; }
.lg-sec__more:hover { color: var(--blue-600); }
.lg-sec__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-150); }
.lg-sec__list li { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--n-150); }
.lg-sec__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-500); display: grid; place-items: center; }
.lg-sec__list h3 { font-size: 19px; letter-spacing: -0.02em; }
.lg-sec__list p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--n-600); }

/* ── Framework: right under the hero, on the white the hero fades into ── */
.lg-fw { background: #fff; padding: 8px 0 0; }
/* Names only, small: a compact strip, not a section (Gabriele Staffa, 27.10.2026). */
.lg-fw__grid { margin-top: 24px; max-width: 680px; border-radius: 14px; }
.lg-fw__cell { padding: 13px 10px; }
.lg-fw__name { font-size: 16px; font-weight: 600; }

/* ── ASSO DPO follows the white security band here, not the framework grid ── */
.lg-assodpo { padding-top: 104px; }

/* ── Video: the YouTube cover, with the brand field behind it while it loads ── */
.lg-video { background: var(--n-100); }
.lg-video .sec-head { margin-bottom: 40px; }
.lg-video__note { margin: 14px 0 0; font-size: 17px; color: var(--n-600); }
.lg-video__frame { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -48px rgba(4,20,60,0.6); }
.lg-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.lg-video__poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-decoration: none; text-align: center; padding: 24px;
  background:
    radial-gradient(55% 60% at 18% 20%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(60% 60% at 85% 90%, rgba(3,35,95,0.7) 0%, rgba(3,35,95,0) 72%),
    linear-gradient(150deg, #8FBAF0 0%, #2F7FEE 48%, #0B53C6 100%);
}
/* The cover has black bands on both sides (a screen recording): a slight zoom crops them. */
.lg-video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.15); }
.lg-video__poster::after { content: ""; position: absolute; inset: 0; background: rgba(4,20,60,0.12); transition: background 180ms ease-out; }
.lg-video__poster:hover::after { background: rgba(4,20,60,0.04); }
.lg-video__play { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--blue-500); display: grid; place-items: center; padding-left: 4px; box-shadow: 0 20px 40px -18px rgba(4,20,60,0.6); transition: transform 180ms ease-out; }
.lg-video__poster:hover .lg-video__play, .lg-video__poster:focus-visible .lg-video__play { transform: scale(1.06); }
.lg-video__poster:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.lg-video__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .lg-sec__grid { grid-template-columns: 1fr; gap: 36px; }
  .lg-sec__copy { position: static; }
}
@media (max-width: 640px) {
  .lg-points { flex-direction: column; align-items: flex-start; width: fit-content; gap: 12px; margin-top: 26px; }
  .lg-points li { font-size: 16px; text-align: left; }
  .lg-values__sub { font-size: 16px; }
  .lg-value__art--a .mk { font-size: 10px; }
  .lg-sec { padding: 72px 0; }
  .lg-assodpo { padding-top: 72px; }
  .lg-fw { padding: 28px 0 0; }
  .lg-fw__grid { margin-top: 0; }
  .lg-fw__cell { padding: 11px 8px; }
  .lg-fw__name { font-size: 15px; }
  .lg-sec__copy h2 { font-size: 32px; }
  .lg-sec__acts .btn { width: 100%; }
  .lg-sec__list li { gap: 14px; padding: 20px 0; }
  .lg-sec__ico { width: 40px; height: 40px; }
  .lg-sec__list h3 { font-size: 18px; }
  .lg-sec__list p { font-size: 15.5px; }
  .lg-video__frame { border-radius: 16px; margin-left: -6px; margin-right: -6px; }
  .lg-video__play { width: 64px; height: 64px; }
  }
