/* Better Mondays — landing page
   Struttura ispirata alla landing di Studio Lancetti (sezioni a fasce alterne, headline a due toni,
   slider prima/dopo, numeri, percorso a step, offerta, FAQ, CTA flottante).
   Colori, font e regole: brand guide Better Mondays v1.8 (tema chiaro + fasce Deep Aubergine).
   Mobile first. */

:root {
  --aubergine: #0e0b1f;
  --ground: #f8f7f4;
  --raised: #ffffff;
  --hair: #e4e1ee;
  --ink: #0e0b1f;
  --ink-muted: #5a5670;
  --purple: #5b3df5;
  --purple-text: #5b3df5;
  --orange: #ff6b35;
  --on-orange: #0e0b1f;
  --orange-text: #b8461b;
  --lilac: #eeeafe;
  --tagline: #5b3df5;

  /* fasce scure */
  --d-raised: #1a1633;
  --d-hair: #2a2547;
  --d-ink: #f8f7f4;
  --d-muted: #ada7cc;
  --d-purple-text: #9c8cff;
  --d-orange-text: #ff6b35;

  --gradient-signal: linear-gradient(135deg, #5b3df5 0%, #ff6b35 100%);

  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 22px;
  --r-pill: 999px;

  --max: 1120px;
  --narrow: 760px;
  --gutter: 16px;
  --section: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink);
  background: var(--raised);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: var(--on-orange); padding: 8px 16px; border-radius: var(--r-pill); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: var(--narrow); }
.section { padding: var(--section) 0; }
.band { background: var(--ground); }
.band-lilac { background: linear-gradient(180deg, var(--ground) 0%, var(--lilac) 100%); }
.dark { background: var(--aubergine); color: var(--d-ink); }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tagline); margin-bottom: 14px;
}
.dark .eyebrow { color: #b4aaf5; }
.h-xl, .h-l {
  font-weight: 700; letter-spacing: -0.035em; color: var(--ink);
}
.h-xl { font-size: clamp(40px, 9.4vw, 76px); line-height: 1.04; }
.h-l { font-size: clamp(32px, 6.6vw, 54px); line-height: 1.08; }
.h-l .soft, .h-xl .soft { color: var(--orange-text); }
.dark .h-l, .dark .h-xl { color: var(--d-ink); }
.dark .h-l .soft, .dark .h-xl .soft { color: var(--d-orange-text); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.dark .lead { color: var(--d-muted); }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin-top: 18px; }
.small { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.dark .small { color: var(--d-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 16px; line-height: 20px; font-weight: 500; text-decoration: none;
  padding: 16px 28px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 8px 24px -10px rgba(255,107,53,.7); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(255,107,53,.8); }
.btn-ghost { color: var(--ink); border-color: var(--hair); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { color: var(--d-ink); border-color: var(--d-hair); }
.dark .btn-ghost:hover { border-color: var(--d-ink); }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--purple-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .link-arrow { color: var(--d-purple-text); }

/* ---------- announcement bar ---------- */
.topbar { background: var(--aubergine); color: var(--d-ink); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
/* One line at every width: the type shrinks a little on small phones instead of wrapping. */
.topbar-text { margin: 0; white-space: nowrap; text-align: center; font-size: clamp(11px, 3.4vw, 14px); }
.topbar-text strong { color: var(--orange); font-weight: 600; }
.topbar a.offer { text-decoration: none; text-align: center; }
.topbar a.offer strong { color: var(--orange); font-weight: 600; }
.topbar a.offer:hover span { text-decoration: underline; text-underline-offset: 3px; }
.lang { display: none; gap: 2px; font-size: 13px; }
.lang a { text-decoration: none; padding: 2px 8px; border-radius: var(--r-pill); color: var(--d-muted); }
.lang a[aria-current] { background: var(--d-raised); color: var(--d-ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(91,61,245,.10) 0%, rgba(91,61,245,0) 70%),
    linear-gradient(180deg, var(--lilac) 0%, var(--ground) 55%, var(--raised) 100%);
  padding: 32px 0 56px;
}
.hero::before { /* dot grid: i dati */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(91,61,245,.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero > .wrap { position: relative; }
.hero-logo { display: inline-block; margin-bottom: 28px; }
.hero-logo img { height: 34px; width: auto; }
.hero h1 { max-width: 1060px; margin: 0 auto; }
/* Headline: big on phones (the second line may wrap there); from 600px exactly two lines,
   sized so "senza assumere nessuno." always fits on one. */
.hero h1 { font-size: clamp(36px, 10.4vw, 48px); max-width: none; }
@media (min-width: 600px) {
  .hero h1 { font-size: clamp(44px, 7.4vw, 84px); }
  .hero h1 .soft { white-space: nowrap; }
}
.hero .lead { margin: 24px auto 0; font-size: 16.5px; }
@media (min-width: 900px) { .hero .lead { font-size: 17.5px; line-height: 1.55; } }
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; }
.hero-proof { margin-top: 18px; font-size: 14px; color: var(--ink-muted); }
.hero-proof b { color: var(--ink); font-weight: 600; }

.feature-row {
  margin: 44px auto 0; max-width: 980px;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.75); backdrop-filter: blur(8px);
  border: 1px solid var(--hair); border-radius: var(--r-l);
  box-shadow: 0 20px 50px -30px rgba(14,11,31,.35);
}
.feature { padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.feature:nth-child(odd) { border-right: 1px solid var(--hair); }
.feature:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
.feature svg { width: 24px; height: 24px; color: var(--purple); }
.feature .eyebrow { margin: 0; font-size: 11.5px; color: var(--ink); }
.feature span { font-size: 13.5px; line-height: 1.35; color: var(--ink-muted); }

/* ---------- icons ---------- */
.i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- before / after ---------- */
.ba {
  position: relative; margin-top: 8px; border-radius: var(--r-l); overflow: hidden;
  height: 560px; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  box-shadow: 0 30px 70px -40px rgba(14,11,31,.55);
  --pos: 50%;
}
.ba-layer { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag {
  position: absolute; top: 16px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.ba-tag.before { left: 16px; background: var(--raised); color: var(--ink); border: 1px solid var(--hair); }
.ba-tag.after { right: 16px; background: var(--orange); color: var(--on-orange); }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 5; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 4;
  background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(14,11,31,.12);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%,-50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0b1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 6px 20px rgba(14,11,31,.3);
}
.ba-range:focus-visible ~ .ba-handle::after { outline: 3px solid var(--purple); outline-offset: 2px; }

/* prima: il caos */
.ba-before { background: #efece6; overflow: hidden; }
.ba-before::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(#e2ded6 1px, transparent 1px), linear-gradient(90deg, #e2ded6 1px, transparent 1px);
  background-size: 28px 28px; opacity: .6;
}
.mess { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(14,11,31,.35); font-size: 13px; color: #2b2840; padding: 12px 14px; line-height: 1.35; }
.mess .k { font-size: 11px; color: #8a8698; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 4px; }
.mess.sticky { background: #fff4a8; font-family: "Comic Sans MS", "Bradley Hand", cursive; font-size: 15px; }
.mess.wa { background: #dcf8c6; }
.mess.xls table { border-collapse: collapse; font-size: 12px; }
.mess.xls td { border: 1px solid #d9d6e0; padding: 3px 8px; white-space: nowrap; }
.mess.xls tr:first-child td { background: #eef3ea; font-weight: 600; }
.mess.mail b { display: block; }
.mess.crm b { color: #b8461b; }
.m1 { top: 70px; left: 6%; transform: rotate(-4deg); }
.m2 { top: 64px; left: 40%; transform: rotate(2deg); }
.m3 { top: 210px; left: 12%; transform: rotate(3deg); }
.m4 { top: 300px; left: 52%; transform: rotate(-3deg); }
.m5 { top: 400px; left: 4%; transform: rotate(-2deg); }
.m6 { top: 190px; left: 70%; transform: rotate(5deg); }
.m7 { top: 430px; left: 72%; transform: rotate(2deg); }

/* dopo: il sistema */
.ba-after { background: var(--aubergine); color: var(--d-ink); padding: 64px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.ba-after::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: var(--gradient-signal); filter: blur(90px); opacity: .35; pointer-events: none;
}
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.kpi { background: var(--d-raised); border: 1px solid var(--d-hair); border-radius: var(--r-m); padding: 14px; }
.kpi span { display: block; font-size: 12px; color: var(--d-muted); }
.kpi b { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.kpi b.o { color: var(--orange); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1; position: relative; min-height: 0; }
.col { background: rgba(255,255,255,.03); border: 1px solid var(--d-hair); border-radius: var(--r-m); padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.col h4 { margin: 0 0 2px; font-family: var(--text); font-size: 12px; font-weight: 500; color: var(--d-muted); display: flex; justify-content: space-between; }
.deal { background: var(--d-raised); border: 1px solid var(--d-hair); border-left: 3px solid var(--purple); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 1.3; }
.deal small { display: block; color: var(--d-muted); font-size: 11px; margin-top: 3px; }
.col.won .deal { border-left-color: var(--orange); }
.ba-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--ink-muted); }

/* ---------- testimonials ---------- */
/* Reviews carousel: one card in view, the next peeking; swipe, arrows or dots. */
.reviews.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 24px; margin-top: 8px; }
.reviews.track::-webkit-scrollbar { display: none; }
.reviews.track > .review { flex: 0 0 min(80%, 560px); scroll-snap-align: start; margin: 0; } /* figure has a 40px side margin by default */
.car-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--hair); color: var(--ink); cursor: pointer; }
.car-btn svg { width: 18px; height: 18px; }
.car-prev svg { transform: rotate(180deg); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-dots { display: flex; gap: 6px; }
.car-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--hair); cursor: pointer; transition: width .2s ease, background .2s ease; }
.car-dot[aria-current="true"] { width: 22px; background: var(--orange); }
.review {
  background: var(--raised); border: 1px solid var(--hair); border-radius: var(--r-l); padding: 28px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: 0 18px 40px -32px rgba(14,11,31,.4);
}
.review blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: -.015em; }
.review p { color: var(--ink-muted); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--hair); padding-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--purple); font-weight: 600; font-size: 14px; flex: none; }
.who b { display: block; font-weight: 600; }
.who span { font-size: 14px; color: var(--ink-muted); }
.quote-mark { width: 30px; height: 30px; color: var(--orange); }

.case {
  margin-top: 20px; border-radius: var(--r-l); background: var(--aubergine); color: var(--d-ink); padding: 28px;
  display: grid; gap: 24px; position: relative; overflow: hidden;
}
.case::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient-signal); }
.case .eyebrow { color: #b4aaf5; margin-bottom: 8px; }
.case h3 { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; }
.case p { color: var(--d-muted); margin-top: 10px; }
.case-bars { display: grid; gap: 12px; align-content: center; }
.bar-row { display: grid; grid-template-columns: 56px 1fr 64px; align-items: center; gap: 12px; font-size: 14px; color: var(--d-muted); }
.bar { height: 14px; border-radius: var(--r-pill); background: var(--d-raised); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: #4a4470; width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.bar-row.after .bar i { background: var(--orange); }
.bar-row b { color: var(--d-ink); font-family: var(--display); }
.case-bars-title { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--d-ink); }
/* Paolo's video inside the case card */
.case-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.case-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vthumb { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--aubergine); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease; }
.vthumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.vthumb:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.case-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--d-hair); grid-column: 1 / -1; }
.case-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--d-hair); font-size: 15px; }
.case-list li span { color: var(--d-muted); }
.case-list li b { font-weight: 500; }

/* ---------- problema (long form) ---------- */
.prose { display: grid; gap: 20px; font-size: 18px; line-height: 1.65; color: #2b2840; }
.prose h2 { margin-bottom: 8px; }
.prose .closing { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.prose .closing em { font-style: normal; color: var(--orange-text); }
.bracket { position: relative; padding: 4px 0 4px 22px; }
.bracket::before { /* corner bracket: struttura */
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-left: 2px solid var(--orange); border-top: 2px solid var(--orange);
}
.bracket::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 14px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
}

/* ---------- reveal: un sistema ---------- */
.reveal-grid { display: grid; gap: 28px; align-items: center; }
.callout { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--hair); }
.callout .eyebrow { margin: 0; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.callout .eyebrow svg { width: 22px; height: 22px; color: var(--purple); }
.callout p { color: var(--ink-muted); font-size: 15px; }
.device {
  position: relative; background: var(--aubergine); border-radius: var(--r-l); padding: 18px; color: var(--d-ink);
  box-shadow: 0 40px 80px -40px rgba(14,11,31,.6); overflow: hidden;
}
.device::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 300px; height: 300px; background: var(--gradient-signal); filter: blur(80px); opacity: .35; }
.device-top { display: flex; gap: 6px; margin-bottom: 14px; position: relative; }
.device-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--d-hair); }
.dealcard { position: relative; background: var(--d-raised); border: 1px solid var(--d-hair); border-radius: var(--r-m); padding: 18px; display: grid; gap: 14px; }
.dealcard .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.dealcard .row span { color: var(--d-muted); }
.dealcard h3 { font-size: 20px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(91,61,245,.25); color: #c9c0ff; }
.pill.o { background: rgba(255,107,53,.18); color: var(--orange); }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stages i { height: 6px; border-radius: 3px; background: var(--d-hair); }
.stages i.on { background: var(--purple); }
.stages i.now { background: var(--orange); }
.tasks { display: grid; gap: 8px; font-size: 13.5px; }
.tasks div { display: flex; gap: 10px; align-items: center; }
.tasks svg { width: 16px; height: 16px; flex: none; }
.tasks .done { color: var(--d-muted); text-decoration: line-through; text-decoration-color: rgba(173,167,204,.5); }
.tasks .done svg { color: var(--purple); }
.tasks .next svg { color: var(--orange); }
.auto { font-size: 12px; color: var(--d-muted); display: flex; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px dashed var(--d-hair); }
.auto svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- in 30 secondi ---------- */
.three { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.three > div { padding: 28px 4px; border-bottom: 1px solid var(--hair); display: grid; gap: 10px; }
.three .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--purple); }
.three .ic svg { width: 24px; height: 24px; }
.three h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.three p { color: var(--ink-muted); font-size: 15.5px; }
.not-for { margin-top: 40px; background: var(--raised); border: 1px solid var(--hair); border-radius: var(--r-l); padding: 24px; }
.not-for h3 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.not-for ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.not-for li { display: flex; gap: 10px; color: var(--ink-muted); font-size: 15px; }
.not-for li svg { width: 18px; height: 18px; color: var(--ink-muted); flex: none; margin-top: 3px; }

/* ---------- calcolatore (sezione "scanner") ---------- */
.calc-grid { display: grid; gap: 32px; align-items: center; }
.calc { background: var(--d-raised); border: 1px solid var(--d-hair); border-radius: var(--r-l); padding: 22px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--d-ink); }
.field .hint { font-size: 12.5px; color: var(--d-muted); }
.input { display: flex; align-items: center; background: var(--aubergine); border: 1px solid var(--d-hair); border-radius: var(--r-s); padding: 0 12px; }
.input:focus-within { border-color: var(--d-purple-text); }
.input span { color: var(--d-muted); font-size: 15px; }
.input input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--d-ink); font: inherit; font-size: 16px; padding: 12px 8px; outline: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 18px; border-top: 1px solid var(--d-hair); }
.out div { text-align: center; }
.out b { display: block; font-family: var(--display); font-size: 36px; line-height: 1.1; letter-spacing: -.03em; color: var(--d-ink); }
.out div:last-child b { color: var(--orange); }
.out span { font-size: 13px; color: var(--d-muted); }
.funnel { display: grid; gap: 6px; }
.funnel i { display: block; height: 10px; border-radius: var(--r-pill); margin: 0 auto; transition: width .5s ease; }
.funnel i:nth-child(1) { background: #4a4470; }
.funnel i:nth-child(2) { background: var(--purple); }
.funnel i:nth-child(3) { background: var(--orange); }
.calc-week { text-align: center; font-size: 14px; color: var(--d-muted); }
.calc-week b { color: var(--d-ink); }

/* ---------- perché noi ---------- */
.about { display: grid; gap: 28px; align-items: start; margin-bottom: 40px; }
.about-photo { width: 120px; height: 150px; border-radius: var(--r-m); object-fit: cover; }
.about-text { display: grid; gap: 14px; color: #2b2840; font-size: 17px; }
.about-text .sig { font-family: var(--display); font-weight: 600; color: var(--ink); }
.cards4 { display: grid; gap: 16px; }
.card {
  background: var(--raised); border-radius: var(--r-l); padding: 28px; border: 1px solid var(--hair);
  display: grid; gap: 10px; align-content: start; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(14,11,31,.4); }
.card .num { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 600; color: var(--purple); letter-spacing: -.03em; }
.card h3 { font-size: 19px; font-weight: 600; margin-top: 10px; }
.card p { color: var(--ink-muted); font-size: 15.5px; }

/* ---------- numeri ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
.stat { text-align: center; }
.stat b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 11vw, 84px); line-height: 1; letter-spacing: -.045em; color: var(--orange-text); }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-muted); max-width: 200px; margin-left: auto; margin-right: auto; }

/* ---------- processo ---------- */
.steps { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { padding: 24px 0; border-top: 1px solid var(--hair); display: grid; gap: 8px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.step.key .n { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.step .when { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-text); margin-top: 8px; }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--ink-muted); font-size: 15.5px; }
.timeline { display: none; }

/* ---------- offerta ---------- */
.offer { display: grid; gap: 32px; align-items: start; }
.offer-copy { display: grid; gap: 18px; }
.offer-copy .lead { color: var(--ink-muted); }
.offer-card {
  background: var(--aubergine); color: var(--d-ink); border-radius: 26px; padding: 28px; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(14,11,31,.7);
}
.offer-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 300px; height: 300px; background: var(--gradient-signal); filter: blur(90px); opacity: .45; }
.offer-card > * { position: relative; }
.offer-card h3 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.offer-card .sub { color: var(--d-muted); margin-top: 10px; font-size: 15px; }
.offer-card .eyebrow { margin: 26px 0 10px; color: var(--orange); display: flex; align-items: center; gap: 8px; }
.inc { list-style: none; padding: 0; margin: 0; }
.inc li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--d-hair); font-size: 15px; }
.inc li span { display: flex; gap: 10px; }
.inc li svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 2px; }
.inc li em { font-style: normal; font-size: 12.5px; color: var(--d-purple-text); white-space: nowrap; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.offer-card .foot { margin-top: 18px; font-size: 13px; color: var(--d-muted); }
.offer-card .btn { width: 100%; margin-top: 22px; }

.services { display: grid; gap: 16px; margin-top: 48px; }
.svc { border: 1px solid var(--hair); border-radius: var(--r-l); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--raised); position: relative; }
.svc.rec { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.svc .tag { position: absolute; top: -12px; left: 24px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: var(--r-pill); }
.svc .phase { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-text); font-weight: 500; }
.svc h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.svc p { color: var(--ink-muted); font-size: 15px; }
.svc ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.svc li { display: flex; gap: 10px; }
.svc li svg { width: 16px; height: 16px; color: var(--purple); flex: none; margin-top: 4px; }
.svc .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-muted); }
.svc .price b { color: var(--ink); font-weight: 600; }

/* ---------- confronto ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.compare thead th { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink-muted); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 18%; }
.compare td { color: var(--ink-muted); }
.compare .us { background: var(--lilac); color: var(--ink); font-weight: 500; }
.compare thead .us { background: var(--purple); color: #fff; border-radius: var(--r-m) var(--r-m) 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-m) var(--r-m); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 2px; font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--ink-muted), var(--ink-muted)) center/14px 1.5px no-repeat,
              linear-gradient(var(--ink-muted), var(--ink-muted)) center/1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--purple); }
.faq .ans { padding: 0 2px 22px; color: var(--ink-muted); max-width: 680px; }

/* ---------- CTA finale ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%; background: var(--gradient-signal); filter: blur(120px); opacity: .35; pointer-events: none;
}
.final > .wrap { position: relative; }
.final-card {
  margin: 36px auto 0; max-width: 560px; background: var(--d-raised); border: 1px solid var(--d-hair); border-radius: var(--r-l);
  padding: 24px; display: grid; gap: 14px; text-align: left;
}
.final-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.final-card li { display: flex; gap: 12px; font-size: 15.5px; }
.final-card li svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.final-card .btn { width: 100%; margin-top: 8px; }
.final-card .small { text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--aubergine); color: var(--d-muted); border-top: 1px solid var(--d-hair); padding: 48px 0 110px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer img { height: 40px; width: auto; }
.footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #b4aaf5; font-weight: 500; }
.footer a { text-decoration: none; color: var(--d-ink); }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--d-hair); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer button.linklike { background: none; border: 0; padding: 0; color: var(--d-ink); cursor: pointer; font-size: 14px; }
.footer button.linklike:hover { text-decoration: underline; }

/* ---------- CTA flottante ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; transform: translate(-50%, 140%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1); box-shadow: 0 14px 34px -10px rgba(14,11,31,.55);
  background: var(--aubergine); color: var(--d-ink); padding: 14px 22px; font-size: 15px;
}
.float-cta.show { transform: translate(-50%, 0); }
.float-cta:hover { background: #1f1940; }
.float-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,53,.25); }

/* ---------- cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 420px;
  background: var(--raised); color: var(--ink); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 18px;
  box-shadow: 0 24px 60px -20px rgba(14,11,31,.45); font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie b { display: block; font-family: var(--display); margin-bottom: 6px; }
.cookie p { color: var(--ink-muted); }
.cookie .row { display: flex; gap: 10px; margin-top: 14px; }
.cookie .btn { padding: 10px 18px; font-size: 14px; flex: 1; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 1; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .bar i, .funnel i { transition: none; }
}

/* =================== tablet =================== */
@media (min-width: 720px) {
  :root { --gutter: 32px; --section: 96px; }
  .lang { display: flex; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 40px 0 72px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .feature-row { grid-template-columns: repeat(4, 1fr); }
  .feature { border: 0 !important; padding: 22px 14px; }
  .feature + .feature { border-left: 1px solid var(--hair) !important; }
  .case { grid-template-columns: 1.1fr 1fr; padding: 36px; }
  /* text across the top, then video and bars side by side */
  .case > div:first-child { grid-column: 1 / -1; max-width: 720px; }
  .case-video { align-self: center; }
  .case-list { grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 0; }
  .case-list li { border-top: 1px solid var(--d-hair); border-bottom: 0; }
  .three { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 32px; }
  .three > div { border-bottom: 0; text-align: center; justify-items: center; }
  .not-for ul { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 120px 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cookie { left: 24px; bottom: 24px; }
}

/* =================== desktop =================== */
@media (min-width: 1024px) {
  :root { --section: 112px; }
  .section-head { margin-bottom: 56px; }
  .lead { font-size: 19px; line-height: 28px; }
  .hero { padding: 48px 0 88px; }
  .hero-logo img { height: 40px; }
  .reveal-grid { grid-template-columns: 1fr 1.25fr 1fr; gap: 40px; }
  .reveal-grid .callouts:first-child { text-align: right; }
  .reveal-grid .callouts:first-child .callout .eyebrow { justify-content: flex-end; }
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .offer { grid-template-columns: 1fr 1fr; gap: 64px; }
  .offer-copy { position: sticky; top: 40px; }
  .cards4 { grid-template-columns: repeat(4, 1fr); }
  .card { min-height: 280px; }
  .ba { height: 600px; }
  .ba-after { padding: 72px 36px 36px; }
  .mess { font-size: 14px; }
}

/* =================== mobile: before/after compatto =================== */
@media (max-width: 719px) {
  .ba { height: 520px; }
  .m2 { left: 46%; }
  .m4 { left: 34%; top: 330px; }
  .m6 { left: 52%; top: 180px; }
  .m7 { display: none; }
  .m3 { top: 250px; }
  .m5 { top: 420px; }
  .ba-after { padding: 60px 14px 14px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .board { grid-template-columns: 1fr 1fr; }
  .board .col:nth-child(n+3) { display: none; }
  .mess.xls table { font-size: 11px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =====================================================================
   Refinement in the spirit of Pipedrive's site: flat colour fields, no glows,
   sentence-case labels, squarer buttons, quieter cards, real product views.
   Colours and structure stay Better Mondays'. This block overrides the rules above.
   ===================================================================== */
:root { --r-l: 14px; --r-m: 10px; --r-btn: 8px; --shadow-card: 0 1px 2px rgba(14,11,31,.06), 0 8px 24px -16px rgba(14,11,31,.25); }

/* Flat backgrounds: no glows, no dot grids, no gradient stripes */
.hero { background: #f4f2fe; }
.hero::before, .ba-after::before, .device::before, .offer-card::before, .final::before, .case::after { display: none; }
.band-lilac { background: var(--ground); }

/* Headlines: a touch less compressed, closer to plain product type */
.h-xl, .h-l { letter-spacing: -0.025em; }

/* Labels in sentence case, never tracked capitals */
.eyebrow, .ba-tag, .step .when, .svc .phase, .inc li em, .footer h4, .mess .k {
  text-transform: none; letter-spacing: 0;
}
.eyebrow { font-size: 14px; font-weight: 600; }
/* Section labels become a small outlined badge, like Pipedrive's "Made by salespeople" chip */
.section-head > .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--hair);
  border-radius: var(--r-pill); background: var(--raised); color: var(--ink); font-weight: 500;
}
.section-head > .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.dark .section-head > .eyebrow, .dark > .wrap > .rv > .eyebrow { background: transparent; border-color: var(--d-hair); color: var(--d-ink); }
.step .when { font-size: 13.5px; font-weight: 600; }
.svc .phase { font-size: 13.5px; font-weight: 600; }
.ba-tag { font-size: 13px; }

/* Buttons: squarer corners, no coloured glow, no jump on hover */
.btn { border-radius: var(--r-btn); font-weight: 600; padding: 14px 24px; box-shadow: none; }
/* no jump on hover; the floating CTA keeps its own transform (it centres and slides it in) */
.btn:not(.float-cta):hover { transform: none; }
.btn-primary, .btn-primary:hover { box-shadow: none; }
.btn-primary:hover { background: #ff5a1f; }
.btn-ghost { background: var(--raised); }
.btn:hover svg { transform: none; }
.cookie .btn { padding: 10px 16px; }
.float-cta { border-radius: var(--r-btn); box-shadow: 0 14px 34px -10px rgba(14,11,31,.55); }
.car-btn { border-radius: var(--r-btn); }

/* Cards: one border, a soft shadow, no lift on hover */
.card:hover { transform: none; box-shadow: none; }
.card .num { display: none; } /* principles, not a sequence: no 01–04 */
.card h3 { margin-top: 0; }
.review, .svc, .not-for { box-shadow: var(--shadow-card); }
.ba { box-shadow: var(--shadow-card); border: 1px solid var(--hair); }
.device, .offer-card { box-shadow: 0 24px 48px -28px rgba(14,11,31,.45); }
.offer-card { border-radius: var(--r-l); }
.svc .tag { border-radius: 6px; }

/* Notes in the "before" mess: no novelty fonts */
.mess.sticky { font-family: var(--text); font-weight: 600; font-size: 14px; }

/* Closing line: a plain orange rule instead of corner brackets */
.bracket { padding-left: 18px; border-left: 3px solid var(--orange); }
.bracket::before, .bracket::after { display: none; }

/* ---------- tools strip: logos sliding horizontally ---------- */
.tools-strip { margin-top: 44px; display: grid; gap: 14px; }
.tools-label { font-size: 14px; color: var(--ink-muted); }
.marquee {
  display: flex; gap: 32px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex: none; align-items: center; }
.logos li { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 16px; color: #6e6a80; }
.logos img { width: 22px; height: 22px; opacity: .55; }
.logos .mono { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #8f8ba0; color: #fff; font-size: 12px; font-weight: 700; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .marquee .logos { animation: logos-slide 38s linear infinite; }
  .marquee:hover .logos { animation-play-state: paused; }
  /* each list moves by its own width plus the gap, so the copy lands where the first began */
  @keyframes logos-slide { to { transform: translateX(calc(-100% - 32px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee .logos[aria-hidden] { display: none; }
}

/* ---------- charts (product views, drawn in SVG) ---------- */
.chart-card { position: relative; margin-top: 12px; background: var(--d-raised); border: 1px solid var(--d-hair); border-radius: var(--r-m); padding: 16px; display: grid; gap: 10px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--d-muted); }
.chart-head b { font-family: var(--display); font-size: 20px; color: var(--d-ink); letter-spacing: -.01em; }
.chart-card svg { width: 100%; height: auto; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--d-muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.kpi .spark { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 8px; }
.kpi .spark i { flex: 1; border-radius: 2px; background: rgba(156,140,255,.45); }
.kpi .spark i:last-child { background: var(--orange); }
.chart-tag { font-style: normal; font-size: 11px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--d-muted); }
/* Roadmap steps: centred (number, when, title, text) */
.step { justify-items: center; text-align: center; }
.step p { max-width: 34ch; }

/* Offer section ("Un sistema costruito su di te"): keeps its original look, as requested.
   These rules undo the refinement layer above for #offerta only. */
#offerta, #servizi { --r-l: 22px; --r-m: 12px; }
#offerta .offer-card { border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(14,11,31,.7); }
#offerta .offer-card::before { display: block; }
#offerta .eyebrow { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
#offerta .svc .phase, #servizi .svc .phase { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
#offerta .inc li em { font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
#offerta .svc, #servizi .svc { box-shadow: none; }
#offerta .svc .tag, #servizi .svc .tag { border-radius: var(--r-pill); }
#servizi .services { margin-top: 0; }

/* One page background: every light section and the hero share the warm off-white.
   Dark sections, top bar and footer stay Deep Aubergine; cards stay white on top. */
body, .hero, .section, .band { background: var(--ground); }
.section.dark { background: var(--aubergine); }

/* About: title and photo on the same row, the bio underneath */
.about-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; margin-bottom: 32px; }
.about-head .section-head { margin-bottom: 0; }
.about-head .about-photo { width: 96px; height: 120px; }
#chi-siamo .about { grid-template-columns: 1fr; }
@media (min-width: 720px) { .about-head { gap: 40px; } .about-head .about-photo { width: 140px; height: 175px; } }
@media (min-width: 1024px) { .about-head .about-photo { width: 160px; height: 200px; } }
.about-head { max-width: 860px; }
#chi-siamo .about-text { max-width: 720px; }
/* "Chi c'è dietro" above the photo + title row, styled like the other section badges */
.about-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--raised); color: var(--ink); font-weight: 500; margin-bottom: 20px; }
.about-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
/* Colour logo files (e.g. Excel) turned grey to match the single-colour icons in the strip */
.logos img.logo-color { filter: grayscale(1) contrast(1.4); opacity: .6; object-fit: contain; mix-blend-mode: multiply; } /* multiply drops any white background in the file */

/* Comparison on phones: one card per question, Better Mondays' answer first and highlighted,
   the three alternatives below it, muted. From 720px the full table returns. */
.cmp-cards { display: grid; gap: 14px; }
.cmp-card { background: var(--raised); border: 1px solid var(--hair); border-radius: var(--r-l); padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow-card); }
.cmp-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cmp-card svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.cmp-card b { display: block; font-size: 12.5px; font-weight: 600; }
.cmp-us { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); background: var(--purple); color: #fff; font-weight: 500; font-size: 15px; line-height: 1.4; }
.cmp-us svg { color: var(--orange); }
.cmp-us b { color: #d9d2ff; }
.cmp-alts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp-alts li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--ink-muted); }
.cmp-alts svg { color: #b3afc2; }
.cmp-alts b { color: var(--ink); }
.table-scroll { display: none; }
@media (min-width: 720px) {
  .cmp-cards { display: none; }
  .table-scroll { display: block; }
}

/* Floating CTA: always easy to spot — Signal Orange (the action colour) on every background,
   bigger, a firm shadow and a slow pulse on the dot. Full-width bar on phones. */
.float-cta {
  background: var(--orange); color: var(--on-orange);
  font-size: 16px; font-weight: 600; padding: 16px 26px; gap: 12px; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(14,11,31,.08), 0 14px 32px -10px rgba(14,11,31,.55);
}
.float-cta:hover { background: #ff5a1f; }
.float-cta svg { width: 18px; height: 18px; }
.float-cta .dot { background: var(--on-orange); box-shadow: 0 0 0 4px rgba(14,11,31,.18); }
@media (prefers-reduced-motion: no-preference) {
  .float-cta.show .dot { animation: cta-pulse 2.4s ease-out infinite; }
  @keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(14,11,31,.35); } 70%, 100% { box-shadow: 0 0 0 9px rgba(14,11,31,0); } }
}
@media (max-width: 719px) {
  .float-cta { left: 12px; right: 12px; transform: translateY(160%); justify-content: center; font-size: 17px; padding: 17px 20px; }
  .float-cta.show { transform: none; }
}

/* ---------- Calculator, optimised: two short steps, quick picks, sliders on a starting estimate ---------- */
.calc-intro .lead { margin-top: 18px; }
.calc-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.calc-points li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--d-muted); }
.calc-points b { color: var(--d-ink); font-weight: 600; }
.calc-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--orange); }

.calc { gap: 16px; padding: 22px; }
.calc-step { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--d-ink); }
.calc-step span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font-size: 13px; }
.calc-step em { font-family: var(--text); font-style: normal; font-weight: 500; font-size: 13px; color: var(--d-purple-text); }
.calc-step:not(:first-child) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--d-hair); }
.calc .field label { font-size: 14.5px; }
.input input { font-size: 18px; font-weight: 600; }

/* quick-pick chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips button { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--d-hair); background: transparent; color: var(--d-muted); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.chips button:hover { border-color: var(--d-purple-text); color: var(--d-ink); }
.chips button[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }

/* sliders */
.range-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-field output { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--orange); flex: none; }
.range-field input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; margin: 10px 0 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--purple) var(--fill, 50%), var(--d-hair) var(--fill, 50%));
}
.range-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--purple); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.range-field input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--purple); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.range-field input[type=range]:focus-visible { outline: 2px solid var(--d-purple-text); outline-offset: 6px; }

/* result */
.calc-result { margin-top: 6px; padding: 18px; border-radius: var(--r-m); background: var(--aubergine); border: 1px solid var(--d-hair); display: grid; gap: 14px; }
.calc-result-head { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; color: var(--d-ink); }
.est-tag { font-family: var(--text); font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: rgba(156,140,255,.18); color: var(--d-purple-text); }
.calc-result .out { padding-top: 0; border-top: 0; }
.calc-result .out b { font-size: 40px; }
.calc-cta { width: 100%; white-space: normal; text-align: center; }

/* "In 30 secondi": centred at every width, with Better Mondays' own icons:
   line icons in Electric Purple with one Signal Orange accent each, on a Warm Lilac tile
   marked by the brand's corner bracket. */
.three > div { text-align: center; justify-items: center; }
.three p { max-width: 36ch; }
.three .ic { position: relative; width: 56px; height: 56px; border-radius: 14px; background: var(--lilac); }
.three .ic .bm-icon { width: 36px; height: 36px; }
.three .ic::after { content: ""; position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); border-top-right-radius: 3px; }

/* Section spacing, about a quarter tighter: 48 / 72 / 84px top and bottom (was 64 / 96 / 112) */
:root { --section: 48px; }
@media (min-width: 720px) { :root { --section: 72px; } }
@media (min-width: 1024px) { :root { --section: 84px; } }
#chi-siamo .about { margin-bottom: 0; } /* the bio now closes the section */
/* Review cards: the client's logo in place of the initials */
.logo-avatar { width: 48px; height: 48px; overflow: hidden; background: var(--aubergine); }
.logo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.logo-avatar.is-light { background: #fff; border: 1px solid var(--hair); }
.logo-avatar.is-light img { width: 64%; height: 64%; object-fit: contain; }

/* Roadmap: a 6-week track under the steps that fall inside the six weeks */
.wk-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; max-width: 264px; margin-top: 10px; }
.wk { height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; background: #efedf6; color: #9a95b0; }
.wk.on { background: var(--purple); color: #fff; }
.wk.marker { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 2px var(--orange); }
.wk.open { background: linear-gradient(90deg, var(--orange) 55%, rgba(255,107,53,.35)); color: var(--on-orange); }
/* each box says it is a week ("Sett. 3"), so it can't be mistaken for the step number */
.wk-track { max-width: 336px; gap: 5px; }
.wk { height: 38px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; line-height: 1; font-size: 13px; }
.wk small { font-size: 9.5px; font-weight: 500; opacity: .8; }

/* Roadmap: five steps, centred rows on wide screens (3 + 2), support as a note, not a step */
@media (min-width: 720px) {
  .steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
  .steps > .step { flex: 0 0 calc((100% - 56px) / 3); }
}
.after-launch { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 640px; margin: 28px auto 0; padding: 16px 20px; border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--raised); font-size: 15px; color: var(--ink-muted); text-align: left; }
.after-launch b { color: var(--ink); font-weight: 600; }
.after-launch svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--purple); }

/* Language switch on phones: top right of the hero (the top-bar switch shows from 720px) */
.lang-hero { position: absolute; top: 0; right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lang-hero a { color: var(--ink-muted); font-weight: 600; padding: 5px 10px; }
.lang-hero a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 719px) { .lang.lang-hero { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--raised); } }
@media (min-width: 720px) { .lang.lang-hero { display: none; } }
.marquee .logos { animation-duration: 54s; } /* 23 tools: same speed as before (was 38s for 16) */
/* Logos on a coloured square (Apollo, Granola): push the square to white so only the mark stays, grey like the others */
.logos img.logo-badge { filter: grayscale(1) contrast(3) brightness(1.2); border-radius: 5px; }

/* Official partner: a small badge under the tools strip, closing the hero */
.partner-badge { display: inline-flex; align-items: center; gap: 10px; margin: 24px auto 0; padding: 8px 16px 8px 8px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--raised); box-shadow: var(--shadow-card); }
.partner-badge img { width: 32px; height: 32px; border-radius: 8px; }
.partner-badge b { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
.partner-label { order: -1; font-size: 13px; font-weight: 500; color: var(--ink-muted); padding: 4px 10px; border-radius: var(--r-pill); background: var(--lilac); }
/* Less empty space between the hero and "Prima e dopo" */
.hero { padding-bottom: 32px; }
#prima-dopo { padding-top: 32px; }
@media (min-width: 1024px) { .hero { padding-bottom: 40px; } #prima-dopo { padding-top: 48px; } }
.hero { padding-bottom: 20px; }
#prima-dopo { padding-top: 24px; }
@media (min-width: 1024px) { .hero { padding-bottom: 28px; } #prima-dopo { padding-top: 36px; } }

/* =====================================================================
   "Cosa ottieni" — features with product mockups (HTML/CSS, fake data)
   ===================================================================== */
.feats { display: grid; gap: 56px; }
.feat { display: grid; gap: 24px; align-items: center; }
.feat-copy h3 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.feat-copy ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.feat-copy li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.5; color: var(--ink-muted); }
.feat-copy li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--lilac); color: var(--purple); margin-top: 1px; }
@media (min-width: 900px) {
  .feats { gap: 104px; }
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; }
  .feat.is-reverse .feat-copy { order: 2; } /* feature 2: image on the left */
}

/* app window */
.mk { min-width: 0; background: #fff; border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(14,11,31,.05), 0 24px 48px -28px rgba(14,11,31,.35); font-family: var(--text); color: var(--ink); }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--ground); border-bottom: 1px solid var(--hair); }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcd8e8; }
.mk-bar span { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.mk strong, .mk b { font-family: var(--display); }

/* image 1: board */
.mk-board { --cp: 7px; --cg: 7px; }
.mk-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cg); padding: 12px; }
.mk-col { display: grid; gap: 6px; align-content: start; padding: var(--cp); border-radius: 10px; background: #f6f4ff; min-height: 214px; }
.mk-col-head { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin: 0 0 2px; font-size: 10.5px; font-weight: 600; color: var(--ink-muted); line-height: 1.2; }
.mk-col-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-col-head b { font-family: var(--text); flex: none; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 999px; background: #fff; font-size: 10px; color: var(--ink); }
.mk-card { position: relative; display: grid; gap: 3px; padding: 7px 7px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--hair); border-left: 3px solid #c9c0fb; min-width: 0; }
.mk-card span { font-size: 10.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-card strong { font-size: 12px; font-weight: 700; }
.mk-card i { display: block; height: 4px; width: 70%; border-radius: 3px; background: #ece9f5; } /* placeholder detail line */
.mk-col.is-won .mk-card { border-left-color: var(--orange); }
/* the card that moves: its resting (and reduced-motion) state is already in "Chiuso" */
.mk-moving { z-index: 2; border-left-color: var(--orange); transform: translateX(calc(100% + var(--cp) * 2 + var(--cg))); box-shadow: 0 8px 18px -10px rgba(14,11,31,.35); }

/* image 2: automation */
.mk-flow { display: flex; align-items: center; padding: 22px 18px; }
.mk-step { flex: 1 1 0; min-width: 0; display: grid; gap: 6px; justify-items: start; padding: 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--hair); }
.mk-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lilac); color: var(--purple); }
.mk-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mk-step-tag { font-size: 10.5px; font-weight: 600; color: #9a95b0; }
.mk-step b { font-size: 13px; font-weight: 600; line-height: 1.25; }
.mk-step i { display: block; height: 4px; width: 60%; border-radius: 3px; background: #ece9f5; }
.mk-link { flex: 0 0 20px; height: 2px; background: var(--hair); position: relative; }
.mk-link::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: #cfcadf; border-right: 0; }
/* resting / reduced-motion state: all three lit, the last one orange */
.mk-step { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,61,245,.12); }
.mk-step .mk-ic { background: var(--purple); color: #fff; }
.mk-step-3 { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.16); }
.mk-step-3 .mk-ic { background: var(--orange); color: var(--on-orange); }
@media (max-width: 599px) {
  .mk-flow { flex-direction: column; align-items: stretch; padding: 18px; }
  .mk-step { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .mk-step .mk-ic { grid-row: span 3; }
  .mk-link { flex: 0 0 18px; width: 2px; height: 18px; margin-left: 31px; }
  .mk-link::after { right: auto; top: auto; left: -3px; bottom: -1px; border: 4px solid transparent; border-top-color: #cfcadf; border-bottom: 0; }
}

/* image 3: dashboard */
.mk-dash-body { padding: 14px; display: grid; gap: 12px; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-tile { min-width: 0; padding: 11px 10px; border-radius: 10px; background: var(--ground); display: grid; gap: 4px; align-content: space-between; }
.mk-tile span { font-size: 10.5px; color: var(--ink-muted); line-height: 1.25; }
.mk-tile strong { font-size: clamp(16px, 4.6vw, 22px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mk-tile.is-accent strong { color: var(--orange); }
.mk-chart { padding: 12px; border-radius: 10px; border: 1px solid var(--hair); }
.mk-chart p { margin: 0 0 10px; font-size: 11px; font-weight: 600; color: var(--ink-muted); }
.mk-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.mk-bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.mk-bar-col i { display: block; width: 100%; max-width: 38px; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--purple); opacity: .85; transform-origin: bottom; }
.mk-bar-col i.is-now { background: var(--orange); opacity: 1; }
.mk-bar-col span { font-size: 10.5px; color: #9a95b0; }

/* ---------- animations: slow, subtle, only once the mockup is in view (.is-live), never with reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .mk-board.is-live .mk-moving { animation: mk-move 9s ease-in-out infinite; }
  @keyframes mk-move {
    0%, 22%   { transform: translateX(calc(100% + var(--cp) * 2 + var(--cg))); opacity: 1; border-left-color: var(--orange); }
    28%       { transform: translateX(calc(100% + var(--cp) * 2 + var(--cg))); opacity: 0; }
    30%       { transform: translateX(0); opacity: 0; border-left-color: #c9c0fb; }
    36%, 52%  { transform: translateX(0); opacity: 1; border-left-color: #c9c0fb; }
    72%, 100% { transform: translateX(calc(100% + var(--cp) * 2 + var(--cg))); opacity: 1; border-left-color: var(--orange); }
  }

  .mk-auto.is-live .mk-step { animation: mk-lit 6s ease-in-out infinite; }
  .mk-auto.is-live .mk-step .mk-ic { animation: mk-lit-ic 6s ease-in-out infinite; }
  .mk-auto.is-live .mk-step-3 { animation-name: mk-lit-o; }
  .mk-auto.is-live .mk-step-3 .mk-ic { animation-name: mk-lit-ic-o; }
  .mk-auto.is-live .mk-step-2, .mk-auto.is-live .mk-step-2 .mk-ic { animation-delay: 1.2s; }
  .mk-auto.is-live .mk-step-3, .mk-auto.is-live .mk-step-3 .mk-ic { animation-delay: 2.4s; }
  @keyframes mk-lit    { 0%, 100% { border-color: var(--hair); box-shadow: none; } 8%, 55% { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,61,245,.12); } 68% { border-color: var(--hair); box-shadow: none; } }
  @keyframes mk-lit-o  { 0%, 100% { border-color: var(--hair); box-shadow: none; } 8%, 35% { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.16); } 48% { border-color: var(--hair); box-shadow: none; } }
  @keyframes mk-lit-ic   { 0%, 100% { background: var(--lilac); color: var(--purple); } 8%, 55% { background: var(--purple); color: #fff; } 68% { background: var(--lilac); color: var(--purple); } }
  @keyframes mk-lit-ic-o { 0%, 100% { background: var(--lilac); color: var(--purple); } 8%, 35% { background: var(--orange); color: var(--on-orange); } 48% { background: var(--lilac); color: var(--purple); } }

  .mk-dash .mk-bar-col i { transform: scaleY(0); }
  .mk-dash.is-live .mk-bar-col i { animation: mk-grow 1.1s cubic-bezier(.2,.7,.2,1) var(--d) forwards; }
  @keyframes mk-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@media (max-width: 599px) {
  .mk-card span { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; } /* names wrap instead of being cut */
  .mk-col { min-height: 236px; }
}
/* every board card has the same height, so the moving card lands exactly on the free slot in "Chiuso" */
.mk-card { height: 54px; align-content: start; }
@media (max-width: 599px) { .mk-card { height: 66px; } .mk-col { min-height: 248px; } }
.mk-col { grid-template-columns: minmax(0, 1fr); } /* cards never grow wider than their column */
@media (max-width: 599px) {
  .mk-col-head { align-items: flex-start; min-height: 26px; }
  .mk-col-head span { white-space: normal; overflow: visible; font-size: 10px; line-height: 1.2; } /* column names wrap on phones */
}
/* board cards: tight line-height so name, value and detail line fit the fixed card height */
.mk-card { line-height: 1.2; gap: 4px; padding: 8px 8px 9px; height: 58px; }
.mk-card span, .mk-card strong { line-height: 1.2; }
@media (max-width: 599px) { .mk-card { height: 68px; } .mk-col { min-height: 254px; } }
/* board on phones: tighter padding, one-line names (ellipsis) and values that never wrap */
@media (max-width: 599px) {
  .mk-board { --cp: 5px; --cg: 5px; }
  .mk-cols { padding: 8px; }
  .mk-col { min-height: 216px; }
  .mk-card { height: 52px; padding: 6px 6px 7px; gap: 3px; }
  .mk-card span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; }
  .mk-card strong { white-space: nowrap; font-size: 11px; }
}

/* Validation row under the tools strip: who already chose us + the (smaller) official partner */
.proof-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 24px; }
.proof-clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; }
.proof-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.proof-logo-oh { height: 20px; width: auto; }
.proof-client { display: inline-flex; align-items: center; gap: 8px; }
.proof-client img { width: 26px; height: 26px; border-radius: 7px; }
.proof-client b { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
/* partner badge: smaller than before */
.proof-row .partner-badge { margin: 0; gap: 7px; padding: 4px 11px 4px 4px; box-shadow: none; }
.proof-row .partner-badge img { width: 22px; height: 22px; border-radius: 6px; }
.proof-row .partner-badge b { font-size: 13px; }
.proof-row .partner-label { font-size: 11.5px; padding: 3px 8px; }
@media (min-width: 720px) {
  .proof-clients { padding-right: 20px; border-right: 1px solid var(--hair); }
}
@media (max-width: 719px) { .proof-label { flex-basis: 100%; text-align: center; } } /* label above, both logos on one line */
/* Labels of the trust area: bold and dark, so they read as headings for the logos */
.tools-label, .proof-label { font-weight: 700; color: var(--ink); }
.tools-label { font-size: 15px; }
.proof-label { font-size: 14px; }

/* ---------- copy update: new text elements, in the existing styles ---------- */
/* "← Trascina →" on the slider handle, under the round grip */
.ba-hint { position: absolute; top: calc(50% + 34px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); background: #fff; padding: 4px 10px; border-radius: var(--r-pill); box-shadow: 0 4px 14px rgba(14,11,31,.25); }
/* the paragraph under the illustration (existing .prose / .closing styles) */
.ba-problem { max-width: var(--narrow); margin: 36px auto 0; }
/* founder quote */
.about-quote { margin: 0; display: grid; gap: 14px; }
.about-quote p { margin: 0; }
/* Hero headline after the copy update: from 600px each of the two lines stays whole,
   sized so the longer one ("Un sistema di vendita su misura,") fits the column */
@media (min-width: 600px) {
  .hero h1 { font-size: clamp(30px, 5.1vw, 62px); white-space: nowrap; }
}

/* ---- final copy: fit line, case attribution, principles strip, steps title ---- */
.svc .fit { margin-top: auto; padding-top: 6px; font-size: 14.5px; color: var(--ink-muted); }
.svc .fit b { color: var(--ink); font-weight: 600; }
.svc .fit + .price { margin-top: 14px; }
#servizi .not-for { margin-top: 32px; }
.case-bars-by { margin-top: 6px; font-size: 14px; color: var(--ink-muted); }
.principles { list-style: none; margin: 8px auto 0; padding: 0; max-width: 960px; display: grid; gap: 14px; }
.principles li { display: flex; align-items: center; gap: 14px; }
.principles .ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); }
.principles .ic .bm-icon { width: 28px; height: 28px; }
.principles .ic::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); border-top-right-radius: 2px; }
.principles p { font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.principles p b { display: block; color: var(--ink); font-weight: 600; }
.steps-title { margin: 48px 0 20px; text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 768px) {
  .principles { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .principles li { flex-direction: column; text-align: center; gap: 12px; }
  .steps-title { margin-top: 64px; font-size: 26px; }
}
/* problem paragraph now sits above the slider */
.ba-problem { margin: 8px auto 44px; }

/* tighter rhythm between same-colour sections; dark blocks keep their own breathing room */
:root { --section: 40px; }
@media (min-width: 720px) { :root { --section: 56px; } }
@media (min-width: 1024px) { :root { --section: 64px; } }
.section.dark { padding: 64px 0; }
@media (min-width: 1024px) { .section.dark { padding: 88px 0; } }
/* final CTA: centred lead, calmer headline */
.final .lead { margin: 18px auto 0; max-width: 640px; }
.final h2.h-l { font-size: clamp(30px, 4.2vw, 46px); }
.final-card { margin-top: 36px; }

/* ---- prima/dopo: the diagnosis. Each scene is marked with the colour of its note in the slider's "Prima" side ---- */
.dx { max-width: 960px; margin: 8px auto 0; padding: 28px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: grid; gap: 20px; }
.dx-claim { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.dx-claim span { color: var(--ink-muted); }
.dx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dx-list li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; line-height: 1.5; color: #2b2840; }
.dx-chip { flex: none; width: 14px; height: 14px; border-radius: 3px; transform: translateY(2px) rotate(-6deg); box-shadow: 0 3px 6px -3px rgba(14,11,31,.45); }
.dx-chip.mail { background: #fff; border: 1px solid var(--hair); }
.dx-chip.wa { background: #dcf8c6; transform: translateY(2px) rotate(5deg); }
.dx-chip.sticky { background: #fff4a8; }
.dx-result { margin-top: 18px; padding-left: 28px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.ba-title { margin: 44px auto 22px; max-width: 760px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.ba-title em { font-style: normal; color: var(--orange-text); }
@media (min-width: 860px) {
  .dx { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 36px 0; }
  .dx-claim { font-size: 30px; }
  .ba-title { font-size: 26px; }
}
.dx-chip { width: 16px; height: 16px; box-shadow: 0 4px 8px -3px rgba(14,11,31,.4); }
.dx-chip.mail { border-color: #cfcadd; }
.dx-chip.wa { border: 1px solid #b4e08f; }
.dx-chip.sticky { border: 1px solid #e9d35c; }
.ba-title { max-width: 980px; }
@media (min-width: 860px) { .dx-claim { font-size: 28px; } .dx { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* automation mockup: switch to the stacked layout based on the mockup's own width, so labels never spill out of the boxes */
.mk-auto { container-type: inline-size; }
.mk-step b { overflow-wrap: break-word; hyphens: auto; }
@container (min-width: 441px) { .mk-step { padding: 12px; } .mk-step b { font-size: 12.5px; } .mk-link { flex-basis: 16px; } }
@container (max-width: 440px) {
  .mk-flow { flex-direction: column; align-items: stretch; padding: 18px; }
  .mk-step { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .mk-step .mk-ic { grid-row: span 3; }
  .mk-link { flex: 0 0 18px; width: 2px; height: 18px; margin-left: 31px; }
  .mk-link::after { right: auto; top: auto; left: -3px; bottom: -1px; border: 4px solid transparent; border-top-color: #cfcadf; border-bottom: 0; }
}

/* diagnosis: centred like the rest of the page, markers in brand colours */
.dx, .dx { grid-template-columns: 1fr !important; max-width: 780px; text-align: center; gap: 22px; }
.dx-list { justify-items: center; }
.dx-list li { justify-content: center; text-align: center; }
.dx-result { padding-left: 0; margin-top: 6px; }
.dx-chip, .dx-chip.mail, .dx-chip.wa, .dx-chip.sticky { width: 12px; height: 12px; border: 0; border-radius: 3px; box-shadow: none; transform: translateY(-1px) rotate(45deg); }
.dx-chip.mail { background: var(--lilac); box-shadow: inset 0 0 0 1.5px var(--purple); }
.dx-chip.wa { background: var(--purple); }
.dx-chip.sticky { background: var(--orange); }

/* hero: more air between headline, CTA, tools and proof */
.hero .lead { margin-top: 28px; }
.hero-ctas { margin-top: 44px; }
.hero-proof { margin-top: 14px; }
.tools-strip { margin-top: 88px; }
.proof-row { margin-top: 48px; }
.hero { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .hero { padding-top: 80px; padding-bottom: 72px; } .tools-strip { margin-top: 112px; } }
.dx-body { text-align: center; }
.dx-list { display: inline-grid; justify-items: start; text-align: left; gap: 12px; }
.dx-list li { justify-content: flex-start; text-align: left; }
.dx-result { margin-top: 20px; }
/* hero: even rhythm between CTA, tools and proof */
.tools-strip, .tools-strip { margin-top: 56px; }
.proof-row { margin-top: 44px; }
@media (min-width: 1024px) { .tools-strip { margin-top: 64px; } }
.tools-strip { margin-top: 48px; }
@media (min-width: 1024px) { .tools-strip { margin-top: 48px; } }
