/* =====================================================================
   OVIA — Design system del sito (homepage, servizi, blog, FAQ, Chi siamo)
   Chiaro istituzionale: carta bianca, inchiostro blu notte, un solo blu.
   Font: Instrument Sans (SIL OFL), ospitato sul sito.
   ===================================================================== */
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ffffff;
  --mist: #f5f6f8;
  --ink: #0b0c10;
  --body: #3c4350;
  --muted: #5b6270;
  --faint: #6b717d;
  --line: #e1e4e9;
  --line-strong: #c9cdd4;
  --accent: #0033ff;
  --accent-ink: #0029cc;
  --accent-soft: #e8edff;
  --night: #0a1626;
  --night-text: #c4ccd8;
  --night-dot: #2e5bff;
  --ok: #1d7a57;
  --ok-soft: #e8f4ee;
  --warn: #8a5a00;
  --warn-soft: #fbf3e2;
  --radius: 8px;
  --radius-sm: 4px;
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: var(--font);
  /* compatibilità con i template esistenti */
  --bg: var(--paper); --text: var(--ink); --panel: var(--mist); --panel-2: var(--mist);
  --violet: var(--accent); --violet-soft: var(--accent-soft);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' 0; overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
#ov-constellation { display: none; }
.ov-page { position: relative; }
.ov-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.ov-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ov-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ov-logo { display: inline-flex; align-items: center; color: var(--ink); line-height: 0; padding: 6px 0; }
.ov-mark { display: block; height: 19px; width: auto; overflow: visible; }
.ov-mark-dot { fill: var(--logo-dot, var(--accent)); }
.ov-mark-ring { fill: none; stroke: var(--logo-dot, var(--accent)); stroke-width: 60; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ov-mark-ping 2.8s ease-out infinite; }
@keyframes ov-mark-ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
.ov-sign { font-size: 13.5px; line-height: 1.25; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.ov-nav { display: flex; align-items: center; gap: 28px; }
.ov-nav > a, .ov-dd > button {
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--body);
  background: none; border: 0; cursor: pointer; padding: 6px 0; transition: color .15s;
}
.ov-nav > a:hover, .ov-dd > button:hover { color: var(--ink); }
.ov-nav > a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ov-dd { position: relative; }
.ov-dd-menu {
  position: absolute; top: calc(100% + 18px); left: -18px; min-width: 340px; padding: 8px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 12, 16, .12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.ov-dd:hover .ov-dd-menu, .ov-dd:focus-within .ov-dd-menu, .ov-dd.open .ov-dd-menu { opacity: 1; visibility: visible; transform: none; }
.ov-dd-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--ink); }
.ov-dd-menu a small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; margin-top: 1px; }
.ov-dd-menu a:hover { background: var(--mist); }
.ov-dd-menu a:last-child { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.ov-burger { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; font: 600 14px var(--font); cursor: pointer; }

/* ---------- Bottoni ---------- */
.ov-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: inherit;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 15.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.ov-btn:hover { background: var(--accent); border-color: var(--accent); }
.ov-btn .circ { display: none; }
.ov-btn.sm { padding: 10px 16px; font-size: 14.5px; }
.ov-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 15.5px/1.2 var(--font); cursor: pointer; transition: border-color .15s, background .15s;
}
.ov-btn-ghost:hover { border-color: var(--ink); }

/* ---------- Layout ---------- */
.ov-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.ov-narrow { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.ov-narrow > .rv, .ov-narrow > p, .ov-narrow > .ov-faq, .ov-narrow > div[data-faq] { max-width: 860px; }
.ov-section { padding: clamp(64px, 8vw, 104px) 0; }
.ov-eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: 0; }
.ov-h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 18px; max-width: 22ch; }
.ov-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--body); max-width: 64ch; }
.ov-center { text-align: left; }
.ov-breadcrumb { font-size: 14px; color: var(--muted); padding-top: 28px; }
.ov-breadcrumb a { display: inline-block; padding: 10px 4px; margin: -10px -4px; }
.ov-breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ov-breadcrumb span { margin: 0 8px; color: var(--line-strong); }
.ov-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
sup.ov-ref a { color: var(--accent); font-size: 12px; font-weight: 600; margin-left: 2px; display: inline-block; padding: 2px 3px; }

/* ---------- Hero servizio ---------- */
.sv-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sv-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.028em; margin-bottom: 20px; }
.sv-hero .claim { font-size: clamp(20px, 2.2vw, 24px); font-weight: 500; color: var(--ink); margin-bottom: 14px; line-height: 1.35; max-width: 34ch; }
.sv-hero .sub { font-size: 17.5px; color: var(--body); margin-bottom: 32px; max-width: 60ch; }
.sv-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sv-hero-visual { position: relative; aspect-ratio: 1; max-width: 360px; justify-self: end; width: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 14%; }
.sv-hero-visual .halo { display: none; }
.sv-hero-visual svg { width: 100%; height: 100%; display: block; }
.sv-hero-visual .g-line, .ov-svc-card .g-line, .ar-prod .g-line { stroke: var(--ink); stroke-width: 1.3; fill: none; }
.sv-hero-visual .g-node, .ov-svc-card .g-node, .ar-prod .g-node { fill: var(--ink); }
.sv-hero-visual .g-core, .ov-svc-card .g-core, .ar-prod .g-core { fill: var(--accent); }
.sv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.sv-stat { padding-top: 18px; border-top: 1px solid var(--ink); }
.sv-stat .big { font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--ink); line-height: 1.05; margin-bottom: 10px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sv-stat .desc { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Pilastri ---------- */
.sv-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.sv-pillar.ov-card { border: 0; border-radius: 0; padding: 28px 28px 8px 0; background: none; }
.sv-pillar + .sv-pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.sv-pillar .num { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; }
.sv-pillar h3 { font-size: 21px; margin: 8px 0 10px; letter-spacing: -.01em; }
.sv-pillar p { color: var(--body); font-size: 16px; }
.sv-pillar.is-tool h3 { color: var(--muted); }
.sv-pillar .weight { margin-top: 20px; height: 3px; background: var(--line); overflow: hidden; }
.sv-pillar .weight i { display: block; height: 100%; background: var(--ink); width: 0; transition: width .9s ease; }
.sv-pillar.is-tool .weight i { background: var(--faint); }
.sv-pillar .weight-label { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- Flow interattivo ---------- */
.sv-flow { display: grid; grid-template-columns: 300px 1fr; gap: 24px; margin-top: 40px; }
.sv-flow-steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.sv-flow-step {
  display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; cursor: pointer; font-family: inherit;
  padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font-size: 16px; font-weight: 500; transition: color .15s;
}
.sv-flow-step .n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sv-flow-step:hover { color: var(--ink); }
.sv-flow-step[aria-selected="true"] { color: var(--ink); }
.sv-flow-step[aria-selected="true"] .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.sv-flow-panel { min-height: 300px; display: flex; flex-direction: column; justify-content: center; background: var(--mist); border-color: var(--line); }
.sv-flow-panel .tag { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.sv-flow-panel h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; margin-bottom: 14px; }
.sv-flow-panel p { color: var(--body); font-size: 17px; margin-bottom: 16px; max-width: 60ch; }
.sv-flow-panel .human { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ok); background: var(--ok-soft); padding: 7px 12px; border-radius: var(--radius-sm); align-self: flex-start; }
.sv-flow-panel .fade { animation: ov-fade .25s ease; }
@keyframes ov-fade { from { opacity: 0; } to { opacity: 1; } }
.sv-flow-progress { height: 2px; background: var(--line); margin-top: 22px; overflow: hidden; }
.sv-flow-progress i { display: block; height: 100%; background: var(--ink); width: 0; transition: width .4s ease; }

/* ---------- Calcolatore ---------- */
.sv-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
.sv-field { margin-bottom: 24px; }
.sv-field label { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; color: var(--ink); margin-bottom: 10px; }
.sv-field label output { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sv-field .hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
input[type=range].sv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--line); outline: none; }
input[type=range].sv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: pointer; }
input[type=range].sv-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: pointer; }
.sv-result { display: flex; flex-direction: column; gap: 14px; justify-content: center; background: var(--mist); }
.sv-result .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sv-result .row:last-of-type { border-bottom: 0; }
.sv-result .row span { color: var(--body); font-size: 15px; }
.sv-result .row strong { font-size: 22px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sv-result .row.hero strong { font-size: clamp(30px, 3.6vw, 40px); color: var(--ink); }
.sv-result .note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sv-result .ov-btn { align-self: flex-start; }

/* ---------- Prima / Dopo ---------- */
.sv-toggle { display: inline-flex; padding: 3px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); margin: 28px 0 24px; }
.sv-toggle button { font-family: inherit; border: 0; background: none; color: var(--body); padding: 9px 20px; border-radius: 2px; font-size: 15px; font-weight: 600; cursor: pointer; }
.sv-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sv-ba-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.sv-ba-list li { padding: 16px 0 16px 28px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.sv-ba-list li::before { content: ''; position: absolute; left: 4px; top: 27px; width: 10px; height: 1px; background: var(--faint); }
.sv-ba[data-state="dopo"] .sv-ba-list li { color: var(--ink); }
.sv-ba[data-state="dopo"] .sv-ba-list li::before { width: 8px; height: 8px; top: 23px; border-radius: 50%; background: var(--accent); }

/* ---------- Sicurezza ---------- */
.sv-sec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 36px; border-top: 1px solid var(--line); }
.sv-sec-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sv-sec-item .ic { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 14px; font-weight: 700; }
.sv-sec-item h3 { font-size: 17px; margin-bottom: 4px; }
.sv-sec-item p { font-size: 15.5px; color: var(--body); }

/* ---------- Per chi è ---------- */
.sv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 20px; }
.sv-tabs button { font-family: inherit; cursor: pointer; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: none; color: var(--body); font-size: 15px; font-weight: 500; }
.sv-tabs button[aria-selected="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.sv-tabpanel h3 { font-size: 22px; margin-bottom: 10px; }
.sv-tabpanel p { color: var(--body); font-size: 16.5px; margin-bottom: 14px; }
.sv-tabpanel ul { list-style: none; display: grid; gap: 10px; }
.sv-tabpanel li { padding-left: 24px; position: relative; font-size: 16px; color: var(--ink); }
.sv-tabpanel li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Timeline ---------- */
.sv-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.sv-tl { position: relative; padding-top: 28px; }
.sv-tl::before { content: ''; position: absolute; top: 6px; left: 0; right: -24px; height: 1px; background: var(--line-strong); }
.sv-tl:last-child::before { right: 0; }
.sv-tl::after { content: ''; position: absolute; top: 2px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.sv-tl .when { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.sv-tl h3 { font-size: 18px; margin-bottom: 6px; }
.sv-tl p { font-size: 15.5px; color: var(--body); }

/* ---------- FAQ ---------- */
.ov-faq { border-top: 1px solid var(--line); margin-top: 32px; }
.ov-faq details { border-bottom: 1px solid var(--line); }
.ov-faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.4; }
.ov-faq summary::-webkit-details-marker { display: none; }
.ov-faq summary::before, .ov-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.ov-faq summary::after { transform: rotate(90deg); }
.ov-faq details[open] summary::after { transform: rotate(0); }
.ov-faq .ans { padding: 0 48px 24px 0; color: var(--body); font-size: 16.5px; max-width: 72ch; }
.ov-faq .ans p + p { margin-top: 10px; }
.ov-faq .ans a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ov-faq .ans strong { color: var(--ink); }
.ov-faq details { scroll-margin-top: 96px; }

/* ---------- Altri servizi ---------- */
.ov-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ov-svc-card { display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.ov-svc-card:hover { border-color: var(--ink); }
.ov-svc-card .k { font-size: 14px; font-weight: 600; color: var(--accent); }
.ov-svc-card h3 { font-size: 20px; letter-spacing: -.01em; }
.ov-svc-card p { color: var(--body); font-size: 15.5px; flex: 1; }
.ov-svc-card .go { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.ov-svc-card svg { width: 40px; height: 40px; }

/* ---------- Banda di chiusura ---------- */
.ov-cta-band { text-align: left; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius); background: var(--night); color: var(--night-text); }
.ov-cta-band .ov-eyebrow { color: var(--night-dot); }
.ov-cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; max-width: 24ch; }
.ov-cta-band p { color: var(--night-text); font-size: 17.5px; max-width: 58ch; margin: 0 0 28px; }
.ov-cta-band .ov-btn { background: #fff; color: var(--ink); border-color: #fff; }
.ov-cta-band .ov-btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.ov-cta-band .small { font-size: 14px; color: #8d98aa; margin: 16px 0 0; }
.ov-cta-band .ov-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.ov-cta-band .ov-btn-ghost:hover { border-color: #fff; }

/* ---------- Fonti ---------- */
.ov-sources { margin-top: 28px; font-size: 14px; color: var(--muted); }
.ov-sources h4 { font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.ov-sources ol { padding-left: 20px; display: grid; gap: 6px; }
.ov-sources a { color: var(--body); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.ov-sources a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.ov-footer { background: var(--night); color: var(--night-text); margin-top: 96px; padding: 64px 0 40px; font-size: 15px; }
.ov-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ov-footer .ft-h { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ov-footer a { display: block; padding: 4px 0; color: var(--night-text); }
.ov-footer a:hover { color: #fff; }
.ov-footer a.ov-logo { display: inline-flex; color: #fff; padding: 0; --logo-dot: var(--night-dot); }
.ov-footer .ov-mark { height: 22px; }
.ov-footer .ov-mark-ring { display: none; }
.ov-footer .sign { color: #fff; font-size: 15px; margin-top: 14px; }
.ov-footer p { max-width: 36ch; }
.ov-footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(196, 204, 216, .18); font-size: 13.5px; color: #8d98aa; max-width: none; }

/* ---------- Nessuna animazione di comparsa ---------- */
.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   BLOG
   ===================================================================== */
.bl-hero { padding: clamp(48px, 7vw, 88px) 0 32px; }
.bl-hero h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.028em; line-height: 1.05; margin-bottom: 18px; max-width: 20ch; }
.bl-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 28px 0; }
.bl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-filters button { font-family: inherit; cursor: pointer; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: none; color: var(--body); font-size: 14.5px; font-weight: 500; }
.bl-filters button:hover { border-color: var(--ink); }
.bl-filters button[aria-pressed="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.bl-search { flex: 0 1 320px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-family: inherit; font-size: 15px; }
.bl-search::placeholder { color: var(--faint); }
.bl-search:focus { border-color: var(--ink); outline: none; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bl-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: border-color .15s; }
.bl-card:hover { border-color: var(--ink); }
.bl-card .cover { aspect-ratio: 16/9; border-bottom: 1px solid var(--line); background: var(--mist); }
.bl-card .cover svg { width: 100%; height: 100%; display: block; aspect-ratio: 16/9; }
.bl-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bl-card h2, .bl-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.bl-card p { color: var(--body); font-size: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card .meta { font-size: 13.5px; color: var(--muted); }
.bl-card.featured { grid-column: span 3; flex-direction: row; }
.bl-card.featured .cover { aspect-ratio: auto; flex: 0 0 50%; border-bottom: 0; border-right: 1px solid var(--line); min-height: 300px; }
.bl-card.featured h2 { font-size: clamp(22px, 2.6vw, 30px); }
.bl-empty { color: var(--muted); padding: 60px 0; display: none; }
.ov-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--mist); border: 1px solid var(--line); }
.ov-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Articolo */
.ar { max-width: 780px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.ar-cover { margin: 30px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--mist); }
.ar-cover svg { width: 100%; height: 100%; display: block; }
.ar h1 { font-size: clamp(34px, 4.8vw, 52px); letter-spacing: -.025em; line-height: 1.08; margin: 22px 0 20px; }
.ar-lead { font-size: clamp(19px, 2vw, 21px); color: var(--body); line-height: 1.55; }
.ar-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 28px; font-size: 15px; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ar-meta strong { color: var(--ink); font-weight: 600; }
.ar-meta .dot { color: var(--line-strong); }
.ar-body { font-size: 18px; line-height: 1.75; color: var(--body); }
.ar-body > p, .ar-body section > p { margin: 0 0 22px; }
.ar-body a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(0, 51, 255, .35); text-underline-offset: 3px; }
.ar-body a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.ar-body strong { color: var(--ink); }
.ar-body h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.18; margin: 56px 0 18px; }
.ar-box { border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 30px 0; border-left: 3px solid var(--accent); background: var(--mist); }
.ar-box .t { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.ar-box ul { list-style: none; display: grid; gap: 12px; font-size: 17px; line-height: 1.6; }
.ar-box li { padding-left: 24px; position: relative; }
.ar-box li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ar-box.warn { border-left-color: #c28a1a; background: var(--warn-soft); }
.ar-box.warn li::before { background: #c28a1a; }
.ar-box.ovia { border-left-color: var(--ink); background: var(--mist); }
.ar-box.ovia p { font-size: 17px; line-height: 1.7; margin-bottom: 12px; }
.ar-box.ovia p:last-child { margin-bottom: 0; }
.ar-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.ar-compare .col { border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); background: #fff; font-size: 16px; line-height: 1.55; }
.ar-compare .col.good { border-color: var(--ink); }
.ar-compare .head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.ar-compare .head h3 { font-size: 18px; line-height: 1.3; }
.ar-compare .row { padding: 12px 0; border-top: 1px solid var(--line); }
.ar-compare .row .l { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.ar-steps { margin: 30px 0; display: grid; }
.ar-step { display: grid; grid-template-columns: 40px 1fr; gap: 20px; position: relative; padding-bottom: 28px; }
.ar-step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 1px; background: var(--line-strong); }
.ar-step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; color: var(--ink); }
.ar-step h3 { font-size: 18px; margin: 7px 0 6px; line-height: 1.4; }
.ar-step h3 small { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 8px; }
.ar-step p { font-size: 17px; line-height: 1.65; margin: 0; }
.ar-check { list-style: none; border-top: 1px solid var(--line); margin: 30px 0; }
.ar-check li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.ar-check .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.ar-check .ic.ok { background: var(--ok-soft); color: var(--ok); }
.ar-check .ic.no { background: #fbeceb; color: #b3261e; }
.ar-check small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.ar-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 30px 0; }
.ar-stats div { padding-top: 16px; border-top: 1px solid var(--ink); }
.ar-stats b { display: block; font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.05; margin-bottom: 8px; letter-spacing: -.02em; }
.ar-stats span { font-size: 15px; color: var(--muted); line-height: 1.45; display: block; }
.ar-products { margin: 60px 0 10px; }
.ar-products h2 { border: 0 !important; margin-top: 0 !important; padding-bottom: 0 !important; }
.ar-products > p { color: var(--body); font-size: 16.5px; margin: 0; }
.ar-products .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.ar-prod { display: flex; flex-direction: column; gap: 10px; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: #fff; transition: border-color .15s; }
.ar-prod:hover { border-color: var(--ink); }
.ar-prod .k { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.ar-prod h3 { font-size: 19px; }
.ar-prod p { font-size: 15px; color: var(--body); line-height: 1.55; flex: 1; margin: 0; }
.ar-prod .go { font-size: 15px; font-weight: 600; color: var(--ink); }
.ar-prod svg { width: 40px; height: 40px; }
.ar-products .ov-pills { margin-top: 18px; }
.ar-body a.ar-prod, .ar-body a.ov-pill, .ar-share a { text-decoration: none; color: inherit; }
.ar-body a.ar-prod p { color: var(--body); }
.ar-body a.ov-pill { color: var(--ink); }
.ar-related { margin-top: 72px; }
.ar-related h2 { font-size: 26px; margin-bottom: 20px; }
.ar-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.ar-share a, .ar-share button { font-family: inherit; cursor: pointer; font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: none; color: var(--ink); }
.ar-share a:hover, .ar-share button:hover { border-color: var(--ink); }
.ar-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: var(--accent); }
.ar-toc { margin: 0 0 30px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--mist); }
.ar-toc summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink); }
.ar-toc ol { margin: 14px 0 0 20px; display: grid; gap: 6px; font-size: 16px; color: var(--body); }
.ar-toc a:hover { color: var(--accent); text-decoration: underline; }
.ar-disclosure { margin-top: 34px; font-size: 14px; color: var(--muted); line-height: 1.6; padding: 16px 0 0; border-top: 1px solid var(--line); }

/* ---------- Pagina FAQ ---------- */
.fq-search { width: 100%; flex: none; margin-bottom: 16px; padding: 14px 16px; font-size: 16px; }
.fq-filters { margin-bottom: 8px; }
.fq-group { margin-top: 48px; scroll-margin-top: 96px; }
.fq-h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; margin-bottom: -12px; }

/* ---------- Selettore lingua ---------- */
.ov-header-right { display: flex; align-items: center; gap: 10px; order: 3; }
.ov-nav { order: 2; margin-left: auto; }
.ov-lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.ov-lang a { font-size: 13.5px; font-weight: 600; padding: 0 10px; min-width: 38px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.ov-lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.ov-lang a:not([aria-current="true"]):hover { color: var(--ink); }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */
/* ---------- Il pallino: "in attesa" ---------- */
@keyframes ov-ping { 0% { box-shadow: 0 0 0 0 rgba(0, 51, 255, .4); } 70%, 100% { box-shadow: 0 0 0 6px rgba(0, 51, 255, 0); } }
@keyframes hx-wave { from { transform: scale(1); opacity: .5; } to { transform: scale(1.75); opacity: 0; } }
@keyframes hx-burst { from { transform: scale(1); opacity: .5; } to { transform: scale(2.6); opacity: 0; } }
@keyframes hx-go { 0% { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(.9); } 55% { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(1.05); } 100% { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(1); } }
@keyframes hx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hx-caret { 50% { opacity: 0; } }

/* Hero */
.hx { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hx-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hx-grid { position: relative; z-index: 1; }
/* La coda è un pannello di vetro sopra il campo di puntini */
.hx .hx-stage { background-color: rgba(255, 255, 255, .78); background-image: none; -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(11, 12, 16, .02), 0 24px 60px -24px rgba(11, 12, 16, .14); }
.hx .hx-bar { background: rgba(255, 255, 255, .6); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: 'copy stage' 'ctas stage'; gap: 0 clamp(32px, 6vw, 96px); align-content: center; align-items: center; min-height: min(calc(100svh - 72px), 860px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hx-copy h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.01; letter-spacing: -.035em; max-width: 14ch; margin-bottom: 28px; }
.hx-copy { grid-area: copy; align-self: end; }
.hx-copy .ov-lead { font-size: clamp(18px, 1.7vw, 20.5px); max-width: 44ch; margin-bottom: 36px; }
.hx-ctas { grid-area: ctas; align-self: start; }
.hx-grid > .hx-stage { grid-area: stage; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hx-stage {
  position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; padding-bottom: 26px;
  background-color: #fff; background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0); background-size: 22px 22px; background-position: 11px 11px;
  -webkit-user-select: none; user-select: none;
}
.hx-bar { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hx-n { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.hx-n::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.hx-n b { color: var(--ink); font-weight: 600; }
.hx-stage.is-empty .hx-n::before { background: var(--line-strong); animation: none; }

.hx-queue { list-style: none; position: relative; width: calc(100% - 48px); max-width: 400px; height: 124px; margin: 30px auto 0; }
.hx-queue::after { content: attr(data-empty); position: absolute; inset: 0 0 auto; padding: 28px 16px; text-align: center; font-size: 14px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, .9); opacity: 0; transition: opacity .3s .2s; }
.hx-stage.is-empty .hx-queue::after { opacity: 1; }
.hx-card {
  --i: 0; position: absolute; left: 0; right: 0; top: 0; z-index: calc(10 - var(--i));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 16px;
  background: #fff;
  border: .5px solid rgba(11, 12, 16, .10); border-radius: 16px;
  box-shadow: 0 0 0 .5px rgba(11, 12, 16, .03), 0 1px 2px rgba(11, 12, 16, .04), 0 6px 16px rgba(11, 12, 16, .05), 0 18px 40px rgba(11, 12, 16, .07);
  transform-origin: 50% 0; transform: translateY(calc(var(--i) * 13px)) scale(calc(1 - var(--i) * .05));
  opacity: calc(1 - var(--i) * .3);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .45s, box-shadow .3s;
}
.hx-card .k { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card strong { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hx-card .m { grid-column: 1; font-size: 14px; color: var(--body); }
.hx-card .st { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--accent-ink); background: var(--accent-soft); transition: background .2s, color .2s; }
.hx-card .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hx-card.is-top { box-shadow: 0 0 0 .5px rgba(11, 12, 16, .04), 0 2px 4px rgba(11, 12, 16, .04), 0 10px 24px rgba(11, 12, 16, .07), 0 26px 56px rgba(11, 12, 16, .10); }
.hx-card.is-top .st::before { background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.hx-card.is-in { opacity: 0; transform: translateY(calc(var(--i) * 13px + 26px)) scale(calc(1 - var(--i) * .05)); }
.hx-card.is-ok .st { background: var(--ink); color: #fff; }
.hx-card.is-ok .st::before { animation: none; background: #fff; }
.hx-card.is-done { z-index: 11; }
.hx-card.is-out { opacity: 0; transform: translate(40px, 0) scale(.98); transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .2s; }

.hx-press { position: relative; display: grid; place-items: center; width: 196px; height: 196px; margin-top: 46px; }
.hx-press::before { content: ''; position: absolute; left: 50%; bottom: calc(100% - 10px); width: 1px; height: 56px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 4px, transparent 4px 8px); }
.hx-dot {
  --mx: 0px; --my: 0px; --s: 1;
  position: relative; width: 148px; height: 148px; padding: 0; border: 0; border-radius: 50%;
  background: var(--accent); cursor: pointer; touch-action: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  transform: translate(var(--mx), var(--my)) scale(var(--s));
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .2s;
}
.hx-dot::before, .hx-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); pointer-events: none; animation: hx-wave 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.hx-dot::after { animation-delay: 1.6s; }
.hx-dot:hover { background: var(--accent-ink); }
.hx-dot:focus-visible { outline-offset: 22px; border-radius: 50%; }
.hx-dot.is-holding { --s: .94; background: var(--accent-ink); }
.hx-dot.is-holding::before, .hx-dot.is-holding::after { animation: none; opacity: 0; }
.hx-dot.is-go { animation: hx-go .5s cubic-bezier(.2, .7, .2, 1); }
.hx-dot[aria-disabled="true"] { background: var(--line-strong); cursor: default; }
.hx-dot[aria-disabled="true"]::before, .hx-dot[aria-disabled="true"]::after { animation: none; opacity: 0; }
.hx-ring { max-width: none; position: absolute; left: -20px; top: -20px; width: calc(100% + 40px); height: calc(100% + 40px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.hx-ring circle { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.hx-burst { position: absolute; width: 148px; height: 148px; border-radius: 50%; border: 2px solid var(--accent); pointer-events: none; animation: hx-burst .9s cubic-bezier(.2, .6, .3, 1) forwards; }
.hx-hint { margin-top: 22px; padding: 0 20px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hx-hint span { font-weight: 400; color: var(--muted); }
.hx-count { min-height: 1.5em; margin-top: 4px; padding: 0 20px; text-align: center; font-size: 13.5px; color: var(--muted); }
@media (hover: none) { .hx-hint span { display: none; } }

/* Manifesto */
.mf { padding: clamp(80px, 11vw, 160px) 0; }
.mf-text { font-size: clamp(30px, 4.3vw, 58px); font-weight: 600; line-height: 1.12; letter-spacing: -.028em; color: var(--ink); max-width: 21ch; }
.mf.is-live .mf-w { color: #848e9d; transition: color .4s; }
.mf.is-live .mf-w.on { color: var(--ink); }
.mf .mf-em, .mf.is-live .mf-em.on { color: var(--accent); }
.mf-dot { position: relative; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--accent); vertical-align: .02em; }
.mf-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: hx-wave 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.mf-sub { margin-top: 32px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 44ch; }


.sx-hold {
  --p: 0; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; font: 600 15px var(--font);
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.sx-hold::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p)); transform-origin: left; }
.sx-hold > * { position: relative; }
.sx-hold i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: ov-ping 2.4s ease-out infinite; }
.sx-btn2 { padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer; font: 600 15px var(--font); }
.sx-btn2:hover { border-color: var(--ink); }
.sx-note { margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.is-new { animation: hx-in .45s cubic-bezier(.2, .7, .2, 1) both; }

/* Numeri e clienti */
.hm-clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.hm-clients .ov-wrap { display: grid; gap: 28px; }
.hm-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.hm-facts div { padding: 0 28px 0 0; }
.hm-facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hm-facts dt { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hm-facts dd { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 20ch; line-height: 1.45; }
.hm-cl { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.hm-cl p { font-size: 14.5px; color: var(--muted); }
.hm-logos { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; list-style: none; }
.hm-logos img { width: auto; display: block; opacity: .9; }
.hm-logos img.mono { filter: brightness(0); opacity: .72; }

/* Punto di controllo umano nei servizi */
.hx-check { grid-column: 1; display: flex; align-items: baseline; gap: 9px; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.hx-check::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }

/* Chiusura: il pallino aspetta te */
.hx-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hx-cta-side { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-left: clamp(0px, 2vw, 24px); }
.ov-cta-band .hx-cta-side p { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--night-dot); text-align: center; }
.hx-cta-dot {
  --p: 0; position: relative; width: clamp(96px, 13vw, 168px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--accent); box-shadow: 0 0 0 calc(var(--p) * 10px) rgba(255, 255, 255, .9);
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.hx-cta-dot.is-holding { transform: scale(.94); }
.hx-cta-dot.is-holding::before, .hx-cta-dot.is-holding::after { animation: none; opacity: 0; }
.hx-cta-dot::before, .hx-cta-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--night-dot); animation: hx-wave 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.hx-cta-dot::after { animation-delay: 1.6s; }
.ov-cta-band .hx-cta-tag { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--night-dot); }
.ov-cta-band .hx-cta-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--night-dot); }

@media (max-width: 980px) {
  .hx-grid { grid-template-columns: 1fr; grid-template-areas: 'copy' 'stage' 'ctas'; min-height: 0; }
  .hx-copy .ov-lead { margin-bottom: 28px; }
  .hx-ctas { margin-top: 24px; }
  .hx-stage { max-width: 560px; width: 100%; }
}
@media (max-width: 760px) {
  .hx-grid { padding-top: 28px; padding-bottom: 36px; }
  .hx-copy h1 { font-size: clamp(33px, 9.2vw, 44px); line-height: 1.04; margin-bottom: 16px; }
  .hx-copy .ov-lead { font-size: 17px; line-height: 1.55; margin-bottom: 22px; }
  .hx-bar { padding: 11px 14px; font-size: 13px; }
  .hx-queue { width: calc(100% - 28px); height: 112px; margin-top: 18px; }
  .hx-card { padding: 12px 14px; }
  .hx-card strong { font-size: 15.5px; }
  .hx-press { width: 150px; height: 150px; margin-top: 30px; }
  .hx-press::before { height: 40px; }
  .hx-dot, .hx-burst { width: 112px; height: 112px; }
  .hx-ring { left: -16px; top: -16px; width: calc(100% + 32px); height: calc(100% + 32px); }
  .hx-hint { margin-top: 14px; font-size: 14px; }
  .hx-stage { padding-bottom: 16px; }
  .hm-facts { grid-template-columns: 1fr; }
  .hm-facts div, .hm-facts div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hm-facts dd { max-width: none; }
  .hx-cta { grid-template-columns: 1fr; gap: 28px; }
  .hx-cta-side { flex-direction: row; margin-left: 0; }
  .hx-cta-dot { width: 72px; }
}

/* Due sistemi */
.hm-sys { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 48px; }
.hm-sys h3 { font-size: 24px; letter-spacing: -.015em; margin-bottom: 6px; }
.hm-sys .goal { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.hm-svc { list-style: none; border-top: 1px solid var(--ink); }
.hm-svc li { border-bottom: 1px solid var(--line); }
.hm-svc a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; align-items: baseline; }
.hm-svc strong { font-size: 18px; font-weight: 600; color: var(--ink); }
.hm-svc span { grid-column: 1; font-size: 15.5px; color: var(--body); }
.hm-svc em { grid-row: 1 / span 3; grid-column: 2; align-self: center; font-style: normal; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hm-svc a:hover strong, .hm-svc a:hover em { color: var(--accent); text-decoration-color: currentColor; }

/* Metodo */
.hm-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; counter-reset: st; }
.hm-steps li { counter-increment: st; padding: 24px 28px 0 0; border-top: 1px solid var(--ink); position: relative; }
.hm-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.hm-steps li::before { content: counter(st); display: block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.hm-steps h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.hm-steps p { font-size: 16px; color: var(--body); }

/* Origine e fondatore */
.hm-origin { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-origin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hm-origin .big { font-size: clamp(64px, 9vw, 120px); font-weight: 600; letter-spacing: -.04em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.hm-origin .ov-lead { margin-bottom: 18px; }
.hm-founder { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: end; }
.hm-founder img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius-sm); display: block; background: #d9dee6; }
.hm-founder strong { display: block; font-size: 18px; color: var(--ink); }
.hm-founder span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.hm-link { font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hm-link:hover { color: var(--accent); text-decoration-color: currentColor; }

/* Sicurezza */
.hm-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); margin-top: 40px; border-top: 1px solid var(--line); }
.hm-trust div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.hm-trust h3 { font-size: 18px; margin-bottom: 6px; }
.hm-trust p { font-size: 16px; color: var(--body); max-width: 52ch; }

/* FAQ in homepage (blocco generato) */
.home-faq { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 8vw, 104px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.home-faq .hf-eyebrow { display: none; }
.home-faq .hf-title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); max-width: 16ch; }
.home-faq .hf-list { grid-column: 2; grid-row: 1 / span 2; border-top: 1px solid var(--line); }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 17.5px; color: var(--ink); line-height: 1.4; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::before, .home-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.home-faq summary::after { transform: rotate(90deg); }
.home-faq details[open] summary::after { transform: rotate(0); }
.home-faq .hf-ans { padding: 0 44px 22px 0; font-size: 16.5px; color: var(--body); }
.home-faq .hf-ans a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.home-faq .hf-more { grid-column: 1; margin-top: 4px; }
.home-faq .hf-more a { font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }

/* =====================================================================
   ASSISTENTE OVIA
   ===================================================================== */
.oa-launch {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: var(--radius);
  background: var(--ink); color: #fff; border: 0; cursor: pointer; font: 600 15px var(--font);
  box-shadow: 0 10px 30px rgba(11, 12, 16, .22); transition: background .15s;
}
.oa-launch:hover { background: var(--accent); }
.oa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--night-dot); }
.oa-overlay[hidden] { display: none; }
.oa-overlay { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; align-items: flex-end; padding: clamp(0px, 3vw, 28px); }
.oa-backdrop { position: absolute; inset: 0; background: rgba(11, 12, 16, .28); }
.oa-panel {
  position: relative; width: min(440px, 100%); height: min(680px, 100%); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 64px rgba(11, 12, 16, .24); overflow: hidden;
}
.oa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.oa-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.oa-role { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.oa-close { background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); cursor: pointer; flex: 0 0 auto; }
.oa-close:hover { border-color: var(--ink); }
.oa-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.oa-msg { max-width: 88%; padding: 11px 14px; border-radius: var(--radius); font-size: 15.5px; line-height: 1.5; }
.oa-msg.bot { background: var(--mist); color: var(--ink); align-self: flex-start; }
.oa-msg.user { background: var(--ink); color: #fff; align-self: flex-end; }
.oa-msg.typing { color: var(--muted); }
.oa-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.oa-chips[hidden] { display: none; }
.oa-chip { font: 500 14px var(--font); padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.oa-chip:hover { border-color: var(--ink); }
.oa-chip-book { background: var(--ink); color: #fff; border-color: var(--ink); }
.oa-chip-book:hover { background: var(--accent); border-color: var(--accent); }
.oa-input-row { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
.oa-input { flex: 1; min-width: 0; font: 400 15.5px var(--font); color: var(--ink); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.oa-input:focus { outline: none; border-color: var(--ink); }
.oa-send { font: 600 15px var(--font); padding: 0 16px; border-radius: var(--radius-sm); border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.oa-send:disabled { opacity: .5; cursor: default; }
.oa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.oa-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.oa-card-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.oa-card-sum { font-size: 14px; color: var(--body); line-height: 1.5; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.oa-card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.oa-card-form .oa-full { grid-column: 1 / -1; }
.oa-field { font: 400 15px var(--font); color: var(--ink); padding: 10px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); min-width: 0; }
.oa-field:focus { outline: none; border-color: var(--ink); }
.oa-submit { width: 100%; font: 600 15px var(--font); padding: 12px; border-radius: var(--radius-sm); border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.oa-submit:disabled { opacity: .55; }
.oa-note { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 1em; }
html.oa-open { overflow: hidden; }

/* ---------- Cookie ---------- */
.ov-cookie { position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 80; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 44px rgba(11, 12, 16, .16); padding: 20px 22px; }
.ov-cookie[hidden] { display: none; }
.ov-cookie p { font-size: 14.5px; color: var(--body); line-height: 1.5; margin-bottom: 14px; }
.ov-cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ov-cookie div { display: flex; gap: 8px; flex-wrap: wrap; }
.ov-cookie button { font: 600 14.5px var(--font); padding: 10px 16px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.ov-cookie button + button { background: #fff; color: var(--ink); border-color: var(--line-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .ov-sign { display: none; } }
@media (max-width: 1024px) {
  .ov-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px, 4vw, 40px) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11, 12, 16, .08); }
  .ov-nav.open { display: flex; }
  .ov-nav > a, .ov-dd > button { padding: 14px 0; text-align: left; border-bottom: 1px solid var(--line); width: 100%; font-size: 16px; }
  .ov-nav > a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .ov-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; padding: 0 0 8px; min-width: 0; display: none; }
  .ov-dd.open .ov-dd-menu { display: block; }
  .ov-nav .ov-btn { margin-top: 16px; }
  .ov-burger { display: block; }
  .ov-header-right { margin-left: auto; }
}
@media (max-width: 980px) {
  .sv-hero, .hm-origin-grid { grid-template-columns: 1fr; }
  .sv-hero-visual { max-width: 220px; justify-self: start; order: -1; }
  .sv-flow, .sv-calc { grid-template-columns: 1fr; }
  .sv-flow-steps { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; }
  .sv-flow-step { flex: 0 0 auto; width: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
  .sv-timeline, .hm-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hm-steps li + li { padding-left: 0; border-left: 0; }
  .hm-steps li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .ov-grid-3, .bl-grid { grid-template-columns: 1fr 1fr; }
  .bl-card.featured { grid-column: span 2; flex-direction: column; }
  .bl-card.featured .cover { flex: none; min-height: 0; aspect-ratio: 16/9; border-right: 0; border-bottom: 1px solid var(--line); }
  .ov-footer .cols { grid-template-columns: 1fr 1fr; }
  .home-faq { grid-template-columns: 1fr; }
  .home-faq .hf-list { grid-column: 1; grid-row: auto; }
  .home-faq .hf-more { grid-column: 1; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .ov-header { height: 64px; }
  .sv-stats, .sv-sec, .sv-ba-list, .ov-grid-3, .bl-grid, .ar-compare, .hm-sys, .hm-trust { grid-template-columns: 1fr; }
  .sv-pillars { grid-template-columns: 1fr; }
  .sv-pillar + .sv-pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .sv-pillar.ov-card { padding-right: 0; }
  .bl-card.featured { grid-column: span 1; }
  .sv-timeline, .hm-steps { grid-template-columns: 1fr; }
  .hm-steps li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .hm-steps li + li { border-top: 1px solid var(--line); }
  .sv-tl::before { display: none; }
  .ar-body { font-size: 17px; }
  .ar-cover { aspect-ratio: 16/9; }
  .ov-footer .cols { grid-template-columns: 1fr; }
  .bl-search { flex: 1 1 100%; }
  .hm-ctas .ov-btn, .hm-ctas .ov-btn-ghost { width: 100%; }
  .oa-launch { padding: 11px 14px; font-size: 14px; }
  .oa-overlay { padding: 0; }
  .oa-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .ov-cookie { right: 14px; max-width: none; }
}

/* =====================================================================
   IL PALLINO SU TUTTO IL SITO
   ===================================================================== */
/* Pipeline del servizio (hero delle pagine servizio) */
.sv-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.pp { align-items: stretch; padding-bottom: 22px; }
.pp-list { list-style: none; padding: 22px 24px 6px; }
.pp-list li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 9px 0; }
.pp-list li::before { content: ''; position: absolute; left: 10.5px; top: 30px; bottom: -12px; width: 1px; background: var(--line-strong); }
.pp-list li:last-child::before { display: none; }
.pp-list li i { position: relative; z-index: 1; width: 14px; height: 14px; margin: 4px 0 0 4px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); transition: background .3s, border-color .3s; }
.pp-list strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; transition: color .3s; }
.pp-list span { display: block; font-size: 14px; color: var(--body); line-height: 1.4; transition: color .3s; }
.pp-list li.me i { width: 22px; height: 22px; margin: 0; border: 2px solid var(--accent); background: var(--accent); }
.pp-list li.me strong { color: var(--accent-ink); }
.pp.is-live .pp-list li i { border-color: var(--line-strong); background: #fff; }
.pp.is-live .pp-list li strong { color: var(--faint); }
.pp.is-live .pp-list li span { color: var(--faint); }
.pp.is-live .pp-list li.on i, .pp.is-live .pp-list li.cur i { background: var(--ink); border-color: var(--ink); }
.pp.is-live .pp-list li.on strong, .pp.is-live .pp-list li.cur strong { color: var(--ink); }
.pp.is-live .pp-list li.on span, .pp.is-live .pp-list li.cur span { color: var(--body); }
.pp.is-live .pp-list li.me i { border-color: var(--accent); background: #fff; }
.pp.is-live .pp-list li.me strong { color: var(--accent-ink); }
.pp.is-live .pp-list li.me.cur i { background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.pp.is-live .pp-list li.me.on i { background: var(--ink); border-color: var(--ink); }
.pp.is-live .pp-list li.me.on strong { color: var(--ink); }
.pp-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 24px 0 60px; min-height: 96px; }
.pp-foot .hx-check { margin: 0; }
.pp[data-state="wait"] .hx-n b, .pp[data-state="wait"] .hx-n { color: var(--accent-ink); }
.pp[data-state="done"] .hx-n::before { background: var(--ok); animation: none; }
.pp:focus { outline: none; }

/* "Cosa ci distingue": manifesto + pilastri */
.sv-pill-sec { padding-top: 0; }
.sv-pill-sec .sv-pillars { margin-top: 0; }

/* Come funziona: traccia orizzontale, il pallino blu sul passaggio umano */
.sv-flow { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.sv-flow-steps {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); flex-direction: row; gap: 0; border-top: 0; border-bottom: 1px solid var(--line); padding: 30px 0 22px; overflow: visible;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0); background-size: 22px 22px;
}
.sv-flow-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 44px; height: 1px; background: var(--line-strong); }
.sv-flow-step {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; width: auto;
  padding: 0 4px; border: 0; background: none; text-align: center; font: 600 14.5px var(--font); color: var(--faint); cursor: pointer;
}
.sv-flow-step .n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-strong); font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s, color .2s; }
.sv-flow-step:hover { color: var(--ink); }
.sv-flow-step:hover .n { border-color: var(--ink); }
.sv-flow-step[aria-selected="true"] { color: var(--ink); }
.sv-flow-step[aria-selected="true"] .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.sv-flow-step.me { color: var(--accent-ink); }
.sv-flow-step.me .n { border: 2px solid var(--accent); color: var(--accent-ink); }
.sv-flow-step.me[aria-selected="true"] .n { background: var(--accent); border-color: var(--accent); color: #fff; animation: ov-ping 2.4s ease-out infinite; }
.sv-flow-panel { min-height: 240px; border: 0; border-radius: 0; background: #fff; padding: clamp(24px, 3.4vw, 40px); }
.sv-flow-panel .tag { color: var(--muted); }
.sv-flow-panel .hx-check { margin-top: 2px; font-size: 15px; }

/* Lettura articolo: la barra avanza sotto la testata, il pallino ne è la punta */
.ar-progress { top: 72px; height: 2px; background: var(--ink); z-index: 49; }
.ar-progress::after { content: ''; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

@media (max-width: 980px) {
  .sv-hero { grid-template-columns: 1fr; }
  .sv-hero .pp { max-width: 560px; width: 100%; }
  .sv-flow-steps { flex-direction: row; overflow: visible; border-top: 0; gap: 0; }
  .sv-flow-step { flex: initial; width: auto; border: 0; border-radius: 0; padding: 0 2px; }
}
@media (max-width: 760px) {
  .ar-progress { top: 64px; }
  .sv-hero-ctas .ov-btn, .sv-hero-ctas .ov-btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .sv-timeline { gap: 0; }
  .sv-tl { padding: 0 0 26px 30px; }
  .sv-tl::before { top: 14px; left: 4px; right: auto; bottom: -6px; width: 1px; height: auto; }
  .sv-tl:last-child::before { display: none; }
  .sv-tl::after { top: 6px; }
  .sv-flow-step { font-size: 12px; }
  .pp-foot { padding-left: 24px; }
}
.sx-hold[hidden], [data-pipe-hold][hidden] { display: none; }
.oa-launch { transition: background .15s, transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s; }
.oa-launch.oa-away { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }

/* Video "come funziona" */
.hx-film { flex: 1 0 100%; display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 6px 0; border: 0; background: none; cursor: pointer; font: 600 15.5px var(--font); color: var(--ink); width: auto !important; justify-content: flex-start; }
.hx-film-i { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.hx-film-i::after { content: ''; margin-left: 3px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: border-left-color .2s; }
.hx-film:hover .hx-film-i { background: var(--accent); border-color: var(--accent); }
.hx-film:hover .hx-film-i::after { border-left-color: #fff; }
.hx-film-t { font-weight: 500; color: var(--muted); }
.ov-film { margin: auto; width: min(1120px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; box-shadow: 0 40px 120px -20px rgba(11, 12, 16, .5); }
.ov-film::backdrop { background: rgba(11, 12, 16, .55); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.ov-film video { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; }
.ov-film-x { position: absolute; right: 0; top: -48px; padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.ov-film-x:hover { background: #fff; }
.ov-film[open] { animation: ov-film-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes ov-film-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* =====================================================================
   COLORE: IL BLU HA UN SIGNIFICATO
   Criterio 60-30-10: carta bianca, inchiostro, e il blu #0033FF solo dove
   significa qualcosa: il pallino, le approvazioni, le azioni, e un solo
   momento "a tutto colore" per pagina (la chiusura). Sul blu il pallino è bianco.
   ===================================================================== */
:root { --blue: #0033ff; --on-blue-2: rgba(255, 255, 255, .86); --on-blue-3: rgba(255, 255, 255, .8); --blue-line: rgba(255, 255, 255, .22); }
.ar-progress { background: var(--ink); }
.ar-progress::after { background: var(--blue); }

/* Chiusura: l'unico momento blu pieno della pagina */
.ov-cta-band { background: var(--blue); color: #fff; }
.ov-cta-band h2 { color: #fff; }
.ov-cta-band p { color: var(--on-blue-2); }
.ov-cta-band .small { color: var(--on-blue-3); }
.ov-cta-band .ov-btn { background: #fff; color: var(--blue); border-color: #fff; }
.ov-cta-band .ov-btn:hover { background: #e8edff; border-color: #e8edff; color: var(--blue); }
.ov-cta-band .ov-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.ov-cta-band .ov-btn-ghost:hover { border-color: #fff; }
.ov-cta-band .hx-cta-tag, .ov-cta-band .hx-cta-side p { color: #fff; }
.ov-cta-band .hx-cta-tag::before { background: #fff; }
.hx-cta-dot { background: #fff; box-shadow: 0 0 0 calc(var(--p) * 10px) rgba(255, 255, 255, .45); }
.hx-cta-dot::before, .hx-cta-dot::after { border-color: rgba(255, 255, 255, .7); }

/* Piè di pagina: inchiostro, il pallino resta blu */
.ov-footer { background: var(--ink); color: rgba(255, 255, 255, .78); }
.ov-footer a { color: rgba(255, 255, 255, .78); }
.ov-footer a:hover { color: #fff; }
.ov-footer a.ov-logo { --logo-dot: #2e5bff; }
.ov-footer .legal { color: rgba(255, 255, 255, .62); border-top-color: rgba(255, 255, 255, .14); }

/* Apertura: a chi parliamo */
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hx-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: ov-ping 2.4s ease-out infinite; }

/* =====================================================================
   LA MATTINA DI UNO STUDIO: racconto guidato dallo scroll.
   La sezione resta ferma mentre si scorre; lo sfondo (canvas) mostra il lavoro
   che arriva, viene collegato ai clienti, preparato e messo in attesa del pallino.
   ===================================================================== */
.st-sec { position: relative; height: 340vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-pin { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); overflow: hidden; background: #fff; }
.st-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 400px) 1fr; align-items: center; pointer-events: none; }
.st-copy { pointer-events: auto; }
.st-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.st-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--line-strong); }
.st-steps { list-style: none; position: relative; min-height: 270px; }
.st-steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.st-steps li.is-on { opacity: 1; transform: none; pointer-events: auto; }
.st-k { font-size: 15px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.st-steps h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.03em; color: var(--ink); margin-bottom: 16px; }
.st-p { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 34ch; margin-bottom: 18px; }
.st-bar { display: flex; gap: 6px; margin-top: 8px; }
.st-bar i { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.st-bar i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--f, 0)); transform-origin: left; }
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.st-legend li { display: inline-flex; align-items: center; gap: 7px; }
.st-legend li::before { content: ''; width: 7px; height: 7px; background: var(--ink); }
.st-legend .lg-email::before { border-radius: 50%; }
.st-legend .lg-call::before { width: 0; height: 0; background: none; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid var(--ink); }
.st-legend .lg-pec::before { transform: rotate(45deg) scale(.85); }
@media (max-width: 860px) {
  .st-sec { height: 380vh; }
  .st-grid { grid-template-columns: 1fr; align-items: start; padding-top: 26px; }
  .st-steps { min-height: 210px; }
  .st-steps h2 { font-size: 30px; }
  .st-p { font-size: 16.5px; }
  .st-legend { display: none; }
}
@media (max-width: 760px) { .st-pin { top: 64px; height: calc(100svh - 64px); } }
@media (prefers-reduced-motion: reduce) {
  .st-sec { height: auto; }
  .st-pin { position: relative; top: 0; height: auto; padding: 64px 0; display: flex; flex-direction: column; gap: 40px; }
  .st-cv { position: relative; height: 440px; order: 2; }
  .st-grid { height: auto; }
  .st-steps { min-height: 0; display: grid; gap: 28px; }
  .st-steps li { position: static; opacity: 1; transform: none; }
  .st-bar { display: none; }
}

/* Clienti: una riga che scorre di continuo, in ordine, piena */
.hm-cl { flex-wrap: nowrap; overflow: hidden; }
.hm-cl > p { flex: 0 0 auto; }
.hm-clients .ov-wrap > * { min-width: 0; }
.hm-marquee { position: relative; flex: 1 1 auto; min-width: 0; width: 100%; 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); }
.hm-marquee .hm-logos { flex-wrap: nowrap; width: max-content; gap: 0; animation: hm-marq var(--marq-d, 40s) linear infinite; }
.hm-marquee .hm-logos li { padding: 0 clamp(24px, 3vw, 44px); flex: 0 0 auto; }
.hm-marquee:hover .hm-logos { animation-play-state: paused; }
@keyframes hm-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .hm-cl { flex-direction: column; align-items: flex-start; gap: 16px; } .hm-marquee { width: 100%; } }

/* ---------- Monta il tuo sistema (percorso guidato) ----------
   In alto i cinque pezzi: sagome tratteggiate finché non li monti, poi pieni.
   A sinistra la guida, a destra il banco di lavoro. Il pallino blu indica cosa fare. */
.kit-sec { padding-top: 0; }
.kit { --kf: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.kit-parts {
  list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 0 20px; border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0); background-size: 22px 22px;
}
.kit-parts li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kit-parts .kit-line { position: absolute; z-index: 0; left: 10%; right: 10%; top: 49px; height: 1px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0); background-size: 7px 1px; }
.kit-parts .kit-line::after { content: ''; position: absolute; inset: -.5px 0; background: var(--ink); transform: scaleX(var(--kf)); transform-origin: left; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.kit-slot {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: #fff;
  border: 1.5px dashed var(--line-strong); color: var(--line-strong); transition: border-color .3s, color .3s, background .3s;
}
.kit-slot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.kit-lab { font-size: 13.5px; font-weight: 600; color: var(--faint); transition: color .3s; }
.kit-parts li.is-cur .kit-slot { border-color: var(--accent); }
.kit-parts li.is-cur .kit-slot svg { opacity: 0; }
.kit-parts li.is-cur .kit-slot::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.kit-parts li.is-cur .kit-lab { color: var(--ink); }
.kit-parts li.is-on .kit-slot { border-style: solid; border-color: var(--ink); color: var(--ink); animation: kit-snap .5s cubic-bezier(.2, .8, .2, 1.2); }
.kit-parts li.is-on .kit-lab { color: var(--ink); }
.kit-parts li.me .kit-slot svg { color: var(--accent); }
.kit-parts li.me.is-on .kit-slot { border-color: var(--accent); }
@keyframes kit-snap { 0% { transform: translateY(-10px) scale(1.12); } 60% { transform: translateY(1px) scale(.98); } 100% { transform: none; } }

.kit-body { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); min-height: 440px; }
.kit-guide { display: flex; flex-direction: column; padding: 32px clamp(20px, 3vw, 34px); border-right: 1px solid var(--line); background: var(--mist); }
.kit-n { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.kit-h { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.kit-p { font-size: 16px; line-height: 1.55; color: var(--body); }
.kit-reset { align-self: flex-start; margin-top: auto; padding: 18px 0 0; border: 0; background: none; cursor: pointer; font: 600 14px var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.kit-reset:hover { color: var(--ink); }
.kit-bench { position: relative; padding: 32px clamp(20px, 3vw, 36px); }
.kit-stage { position: relative; }

/* la guida */
.kit-cue { position: absolute; left: 0; top: 0; z-index: 4; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); pointer-events: none; box-shadow: 0 0 0 4px rgba(0, 51, 255, .14); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.kit-cue::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); animation: hx-wave 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.kit-cue[hidden] { display: none; }

/* 1. studio */
.kit-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kit-choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 138px; padding: 20px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-family: var(--font); transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.kit-choice strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.kit-choice span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.kit-choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.kit-choices.is-picked .kit-choice:not(.is-pick) { opacity: .35; }
.kit-choice.is-pick { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }


.kit-fields { border-top: 1px solid var(--line); }
.kit-fields div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kit-fields dt { color: var(--muted); }
.kit-fields dd { color: var(--ink); font-weight: 500; min-height: 1.4em; }
.kit-fields dd:empty::before { content: ''; display: block; width: 70%; height: 9px; margin-top: 6px; border-radius: 3px; background: var(--mist); }
.kit-fields div.is-hit dd { animation: hx-in .4s cubic-bezier(.2, .7, .2, 1) both; }
.kit-ok { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ok); }
.kit-ok::before { content: ''; width: 10px; height: 6px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

.kit-okpill { display: flex; width: fit-content; align-items: center; gap: 7px; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.kit-okpill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* 5. decidi tu */
.kit-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
.kit-hold {
  display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 15.5px var(--font); color: var(--ink);
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.kit-hold-dot { position: relative; display: block; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.kit-hold-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: hx-wave 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.kit-hold-dot svg { position: absolute; inset: -6px; width: 68px; height: 68px; transform: rotate(-90deg); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.kit-hold.is-holding .kit-hold-dot { transform: scale(.92); }
.kit-hold.is-holding .kit-hold-dot::after { animation: none; opacity: 0; }
.kit-hold:focus-visible { outline: none; }
.kit-hold:focus-visible .kit-hold-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.kit-log { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.kit-log li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink); }
.kit-log li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.kit-out { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.kit-out p { margin-bottom: 16px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.kit-out-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.kit.is-done .kit-parts li .kit-slot { animation: kit-lit .6s calc(var(--d, 0) * 1s) both; }
.kit.is-done .kit-parts li:nth-child(1) { --d: .05; } .kit.is-done .kit-parts li:nth-child(2) { --d: .17; } .kit.is-done .kit-parts li:nth-child(3) { --d: .29; }
.kit.is-done .kit-parts li:nth-child(4) { --d: .41; } .kit.is-done .kit-parts li:nth-child(5) { --d: .53; }
@keyframes kit-lit { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }

@media (max-width: 900px) {
  .kit-body { grid-template-columns: 1fr; min-height: 0; }
  .kit-guide { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .kit-reset { margin-top: 14px; padding-top: 0; }
  .kit-bench { padding: 22px 20px 26px; }
  .kit-choices { grid-template-columns: 1fr; gap: 10px; }
  .kit-choice { min-height: 0; padding: 16px 18px; gap: 4px; }
}
@media (max-width: 600px) {
  .kit-parts { padding: 18px 0 14px; }
  .kit-parts .kit-line { top: 37px; }
  .kit-slot { width: 38px; height: 38px; border-radius: 9px; }
  .kit-slot svg { width: 19px; height: 19px; }
  .kit-lab { font-size: 11.5px; }
  .kit-fields div { grid-template-columns: 6em minmax(0, 1fr); font-size: 14.5px; }
  .kit-out-row .ov-btn { width: 100%; }
}

/* Monta il tuo sistema: i pezzi del flusso reale */
.kit-call { max-width: 640px; }
.kit-call-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.kit-who { display: flex; align-items: center; gap: 14px; }
.kit-ini { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.kit-who strong { display: block; font-size: 17px; color: var(--ink); }
.kit-who span { font-size: 14px; color: var(--muted); }
.kit-play { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; font: 600 15px var(--font); transition: background .2s, color .2s; }
.kit-play:hover { background: #22242b; }
.kit-play.is-live, .kit-play.is-done { background: #fff; color: var(--ink); }
.kit-play.is-done { border-color: var(--line-strong); color: var(--muted); cursor: default; }
.kit-wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.kit-wave i { width: 3px; height: 6px; border-radius: 2px; background: currentColor; }
.kit-wave i:nth-child(2) { height: 12px; } .kit-wave i:nth-child(3) { height: 18px; } .kit-wave i:nth-child(4) { height: 10px; } .kit-wave i:nth-child(5) { height: 7px; }
.kit-play.is-live .kit-wave i { animation: kit-wave .9s ease-in-out infinite; }
.kit-play.is-live .kit-wave i:nth-child(2) { animation-delay: .12s; } .kit-play.is-live .kit-wave i:nth-child(3) { animation-delay: .24s; }
.kit-play.is-live .kit-wave i:nth-child(4) { animation-delay: .36s; } .kit-play.is-live .kit-wave i:nth-child(5) { animation-delay: .48s; }
@keyframes kit-wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1.15); } }
.kit-tr { list-style: none; display: grid; gap: 14px; padding-top: 20px; }
.kit-tr li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 14px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.kit-tr b { font-size: 13.5px; font-weight: 600; color: var(--muted); padding-top: .2em; }
.kit-tr li.is-s span { color: var(--body); }

.kit-sheet { max-width: 680px; padding: 18px 22px 6px; border: 1.5px dashed var(--line-strong); border-radius: 12px; }
.kit-sheet-h { margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.kit-sheet .kit-fields { border-top: 0; }
.kit-sheet .kit-fields div:last-child { border-bottom: 0; }
.kit-sheet .kit-fields div { grid-template-columns: 9.2em minmax(0, 1fr); }
.kit-nq { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink); }
.kit-fields dd small { font-size: 14px; font-weight: 400; color: var(--muted); }
.kit-diff { display: block; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--warn); }
.kit-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-family: var(--font); transition: border-color .2s, opacity .3s, box-shadow .2s; }
.kit-pick b { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kit-pick strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.kit-pick small { font-size: 13px; color: var(--muted); }
.kit-pick:hover:not(:disabled) { border-color: var(--ink); }
.kit-picks.is-made .kit-pick:not(.is-on) { opacity: .35; }
.kit-pick.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kit-pick:disabled { cursor: default; }

.kit-eval { max-width: 680px; }
.kit-light { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; cursor: pointer; font-family: var(--font); transition: border-color .2s; }
.kit-light:hover { border-color: var(--ink); }
.kit-light i { width: 14px; height: 14px; border-radius: 50%; background: #d39a12; box-shadow: 0 0 0 4px rgba(211, 154, 18, .16); }
.kit-light.is-high i { background: #c8372d; box-shadow: 0 0 0 4px rgba(200, 55, 45, .14); }
.kit-light strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.kit-why { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.kit-light.is-open { cursor: default; }
.kit-light.is-open .kit-why { display: none; }
.kit-reasons { list-style: none; display: grid; gap: 8px; margin: 16px 0 0; }
.kit-reasons li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--ink); }
.kit-reasons li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.kit-next { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.kit-next span, .kit-docs-h { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.kit-next strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.kit-docs-h { margin-top: 18px; }
.kit-docs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kit-docs li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1.5px dashed var(--line-strong); border-radius: 8px; font-size: 14.5px; color: var(--muted); transition: border-color .3s, color .3s, background .3s; }
.kit-docs em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; background: var(--mist); color: var(--muted); }
.kit-docs li.is-made { border-style: solid; border-color: var(--ink); color: var(--ink); animation: kit-snap .45s cubic-bezier(.2, .8, .2, 1.2); }
.kit-docs li.is-made em { background: var(--ink); color: #fff; }
.kit-pending { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.kit-pending::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.kit-okpill { margin-top: 18px; }

@media (max-width: 600px) {
  .kit-tr li { grid-template-columns: 1fr; gap: 2px; font-size: 16px; }
  .kit-sheet { padding: 14px 14px 4px; }
  .kit-sheet .kit-fields div { grid-template-columns: 1fr; gap: 2px; }
  .kit-picks { grid-template-columns: 1fr 1fr; }
  .kit-play { width: 100%; justify-content: center; }
}

/* Caso reale: dove nasce Ovia */
.hm-case { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.case-tag img { height: 30px; width: auto; }
.case-flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--line-strong); }
.case-flow li { position: relative; padding: 26px 18px 6px 0; }
.case-flow li::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.case-flow li.me::before { left: -3px; top: -8px; width: 15px; height: 15px; background: var(--accent); animation: ov-ping 2.4s ease-out infinite; }
.case-n { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.case-flow h3 { font-size: 17.5px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; }
.case-flow li.me h3 { color: var(--accent-ink); }
.case-flow p { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.case-rules-h { margin-top: 64px; font-size: 22px; letter-spacing: -.015em; color: var(--ink); }
.case-rules { margin-top: 20px; }
.case-rules h4 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.case-rules p { font-size: 15.5px; line-height: 1.55; color: var(--body); }
.case-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; margin-top: 48px; }
.case-bridge { max-width: 24ch; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 1000px) {
  .case-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; border-top: 0; }
  .case-flow li { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 600px) {
  .case-flow { grid-template-columns: 1fr; margin-top: 32px; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .case-flow li { border-top: 0; padding: 0 0 22px 24px; }
  .case-flow li::before { left: -5px; top: 4px; }
  .case-flow li.me::before { left: -8px; top: 1px; }
  .case-rules-h { margin-top: 44px; }
}

/* Racconto: un invito a scorrere, che sparisce appena si comincia */
.st-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink); transition: opacity .4s, transform .4s; }
.st-hint::before { content: ''; width: 1.5px; height: 22px; background: linear-gradient(var(--ink) 50%, var(--line-strong) 0) 0 0 / 100% 200%; animation: st-hint 1.6s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes st-hint { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.st-sec.is-started .st-hint { opacity: 0; transform: translateY(6px); }
@media (max-width: 860px) { .st-hint { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .st-hint { display: none; } }

/* Caso reale: il fondatore scontornato, appoggiato sul bordo della sezione */
.hm-case { padding-bottom: 0; }
.case-foot { align-items: flex-end; margin-top: 56px; }
.case-bridge { padding-bottom: clamp(56px, 7vw, 96px); }
.case-founder { display: flex; align-items: flex-end; gap: 22px; margin: 0; }
.case-founder img { display: block; width: 260px; height: auto; }
.case-founder figcaption { padding-bottom: clamp(56px, 7vw, 96px); }
.case-founder strong { display: block; font-size: 18px; color: var(--ink); }
.case-founder span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 600px) {
  .case-foot { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 40px; }
  .case-bridge { padding-bottom: 8px; }
  .case-founder img { width: 190px; }
  .case-founder figcaption { padding-bottom: 32px; }
}

/* Blocco pacchetti pronti in homepage */
.hm-pk { padding: 0 0 clamp(56px, 7vw, 96px); }
.hm-pk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-pk-in { border: 1px solid var(--ink); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--mist); }
.hm-pk-mo { background: var(--night); border-color: var(--night); }
.hm-pk-mo .case-tag { color: #8fb0ff; }
.hm-pk-mo .ov-h2 { color: #fff; }
.hm-pk-mo .ov-lead { color: var(--night-text); }
.hm-pk-mo .ov-btn { background: #fff; border-color: #fff; color: var(--night); }
.hm-pk-mo .ov-btn:hover { background: var(--night-dot); border-color: var(--night-dot); color: #fff; }
.hm-pk-in .ov-h2 { margin-top: 10px; max-width: 24ch; font-size: clamp(24px, 2.6vw, 32px); }
.hm-pk-in .ov-lead { margin-bottom: 0; }
.hm-pk-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-pk-cta .ov-btn { text-align: center; }
.hm-pk-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.hm-pk-list li a { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: baseline; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s; }
.hm-pk-list li a:hover { border-color: var(--ink); transform: translateX(2px); }
.hm-pk-list li a strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.hm-pk-list li a span { font-size: 14px; }
.hm-pk-ra { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(24px, 5vw, 64px); background: var(--accent); border-color: var(--accent); }
.hm-pk-ra .case-tag { color: rgba(255, 255, 255, .85); }
.hm-pk-ra .ov-h2 { color: #fff; max-width: 30ch; }
.hm-pk-ra .ov-lead { color: rgba(255, 255, 255, .92); max-width: 68ch; }
.hm-pk-ra .hm-pk-cta { flex-shrink: 0; }
.hm-pk-ra .ov-btn { background: #fff; border-color: #fff; color: var(--ink); white-space: nowrap; }
.hm-pk-ra .ov-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 860px) { .hm-pk-grid { grid-template-columns: 1fr; } .hm-pk-ra { flex-direction: column; align-items: stretch; } }
@media (max-width: 520px) { .hm-pk-list li a { grid-template-columns: 1fr; gap: 2px; } }
.pk-suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.pk-suite > a { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s; }
.pk-suite > a:hover { border-color: var(--ink); transform: translateY(-2px); }
.pk-suite h3 { margin: 0; color: var(--ink); font-size: 20px; letter-spacing: -.01em; }
.pk-suite .when { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pk-suite p { margin: 0; font-size: 15px; line-height: 1.5; }
.pk-suite .pr { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .pk-suite { grid-template-columns: 1fr; } }
