/* Sito vetrina Beevo. Valori dalla libreria grafica (docs/design/beevo-tokens.json): stessi colori, raggi e ombre
   dell'app. Nessun font o file esterno: niente richieste a terzi, quindi nessun dato dei visitatori fuori dal nostro server. */
@font-face { font-family: "Doto"; src: url("/assets/doto-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f2f3f5; --panel: #ffffff; --line: #e7e8ec; --line-2: #f0f1f4; --soft: #f6f7f9;
  --text: #111318; --muted: #7c818c; --faint: #b8bcc5; --dark: #121417;
  --accent: #1b43fe; --accent-2: #e8edff; --ok: #2f9e5b; --warn: #e5730a; --bad: #e5484d; --ai: #8a4fe0;
  --g-violet: linear-gradient(150deg, #1b43fe, #4d6dff 55%, #a7b9ff);
  --g-blue: linear-gradient(160deg, #3f63ff, #8aa2ff 60%, #d0dbff);
  --g-ai: linear-gradient(135deg, #8a4fe0, #e8459b);
  --g-hero: radial-gradient(120% 90% at 85% 0%, rgba(232, 69, 155, .55), transparent 55%), linear-gradient(150deg, #1b43fe 0%, #4a3df0 55%, #8a4fe0 100%);
  --r-card: 22px; --r-field: 12px;
  --sh-card: 0 1px 2px rgba(17,19,24,.03), 0 8px 24px rgba(17,19,24,.05);
  --sh-menu: 0 12px 32px rgba(17,19,24,.14), 0 2px 6px rgba(17,19,24,.06);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.doto { font-family: "Doto", ui-monospace, monospace; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 16px; height: 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--panel); padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid rgba(27,67,254,.35); outline-offset: 2px; border-radius: 8px; }

/* pulsanti */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--font);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(17,19,24,.18); }
.btn-white { background: #fff; color: var(--text); }
.btn-ghost-w { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-line { background: var(--panel); color: var(--text); border-color: var(--line); }

/* testata */
.top { position: sticky; top: 0; z-index: 20; background: rgba(242,243,245,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 28px; height: 32px; }
.menu { display: flex; gap: 4px; margin-left: 12px; }
.menu a { color: var(--text); font-size: 14.5px; padding: 8px 12px; border-radius: 999px; }
.menu a:hover { background: var(--panel); text-decoration: none; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 4px 9px; border-radius: 999px; }
.langs a:hover { text-decoration: none; color: var(--text); }
.langs a[aria-current] { background: var(--dark); color: #fff; }
.burger { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--text); cursor: pointer; }

/* eroe */
.hero { padding-top: 8px; }
.hero-card { position: relative; overflow: hidden; border-radius: 28px; background: var(--g-hero); color: #fff; padding: 64px 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-card::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-hex { position: absolute; width: 560px; height: 646px; left: -120px; bottom: -260px; }
.hero-txt { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.6vw, 68px); overflow-wrap: break-word; letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 20px; }
.lead { font-size: 19px; opacity: .92; max-width: 540px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 28px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.eyebrow.light { color: rgba(255,255,255,.85); }
.eyebrow.ai { color: var(--ai); }

/* finto cruscotto */
.mock { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; color: var(--text); min-width: 0; }
.mock > *, .mock-row > * { min-width: 0; }
.mock-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
.m-card { background: var(--panel); border-radius: 20px; padding: 18px; box-shadow: 0 18px 40px rgba(10, 16, 60, .18); }
.m-card small { display: block; font-size: 12.5px; color: var(--muted); }
.m-sla { display: flex; flex-direction: column; gap: 6px; }
.m-ring { position: relative; width: 86px; height: 86px; }
.m-ring svg { width: 86px; height: 86px; transform: rotate(-90deg); }
.m-ring circle { fill: none; stroke-width: 4; }
.m-ring .r0 { stroke: var(--line-2); }
.m-ring .r1 { stroke: var(--warn); stroke-dasharray: 81 100; stroke-linecap: round; }
.m-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; }
.m-grad { background: var(--g-violet); color: #fff; }
.m-grad small { color: rgba(255,255,255,.85); }
.m-grad b { display: inline-block; font-size: 36px; margin-top: 8px; }
.m-unit { font-size: 14px; margin-left: 4px; opacity: .9; }
.m-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.m-pills span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); }
.m-list ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.m-head { display: flex; align-items: center; gap: 8px; }
.m-list li { display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: 14px; padding: 10px 12px; }
.dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); } .dot.info { background: var(--accent); }
.m-list .t { flex: 1; min-width: 0; }
.m-list .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-list .t small { font-size: 12px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.c-bad { background: #fdecec; color: var(--bad); } .c-warn { background: #fff1e6; color: var(--warn); } .c-mute { background: var(--line-2); color: var(--muted); }
.m-bee { justify-self: end; display: inline-flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 18px 18px 6px 18px; padding: 10px 14px; font-size: 13.5px; max-width: 360px; box-shadow: 0 18px 40px rgba(10,16,60,.18); }
.bee-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--g-ai); flex: none; }

/* blocchi */
.sec-block { padding-top: 96px; }
.sec-block > h2, .sec-block > .sub { max-width: 760px; }
.sec-block > h2 { margin-top: 10px; }
.sub { color: var(--muted); font-size: 18px; margin-top: 14px; }
.card { background: var(--panel); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.feat, .sec { padding: 26px; }
.feat h3, .sec h3 { margin: 18px 0 8px; }
.feat p, .sec p { color: var(--muted); font-size: 15px; }
.f-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--ok); margin-top: 4px; }
.checks.light .i { color: #8ff0c0; }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.note .i { margin-top: 3px; color: var(--accent); }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 18px; max-width: 860px; }
.hint { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Bee */
.bee { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 48px; overflow: hidden; position: relative; }
.bee::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(closest-side, rgba(138,79,224,.18), transparent); }
.bee-txt { position: relative; }
.bee-txt h2 { margin-top: 10px; }
.bee-ai { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.bee-ai small { color: var(--muted); font-size: 13px; }
.bee-ai img { height: 26px; width: auto; }
.chat { position: relative; display: flex; flex-direction: column; gap: 12px; justify-content: center; background: var(--soft); border-radius: 20px; padding: 24px; }
.msg { max-width: 88%; font-size: 14.5px; padding: 12px 14px; border-radius: 16px; }
.msg.me { align-self: flex-end; background: var(--dark); color: #fff; border-bottom-right-radius: 6px; }
.bee-msg { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); box-shadow: var(--sh-card); border-bottom-left-radius: 6px; }
.msg-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.msg-actions span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--accent-2); color: var(--accent); }
.msg-actions span + span { background: var(--line-2); color: var(--text); }

/* moduli */
.eds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ed { text-align: left; border: 0; cursor: pointer; color: #fff; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 8px; font: inherit; min-height: 210px; position: relative; transition: transform .15s, box-shadow .15s; }
.ed:hover { transform: translateY(-2px); }
.ed[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--dark); }
.g-blue { background: var(--g-blue); } .g-violet { background: var(--g-violet); } .g-ai { background: var(--g-ai); }
.g-dark { background: radial-gradient(120% 80% at 100% 0%, rgba(138,79,224,.45), transparent 60%), var(--dark); color: #fff; }
.ed-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ed-count b { font-size: 40px; line-height: 1; }
.ed-desc { font-size: 14.5px; opacity: .95; }
.ed-for { margin-top: auto; font-size: 13px; opacity: .85; }
.mgrid { columns: 3 320px; column-gap: 16px; margin-top: 24px; }
.mgroup { break-inside: avoid; padding: 20px; margin-bottom: 16px; }
.mgroup h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.mgroup ul { list-style: none; margin: 0; padding: 0; }
.mgroup li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); transition: opacity .2s; }
.mgroup li:first-child { border-top: 0; }
.m-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--text); flex: none; }
.m-txt { flex: 1; min-width: 0; }
.m-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.m-txt small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.m-vend { display: flex; gap: 4px; }
.m-vend img { height: 16px; width: auto; max-width: 40px; }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--accent); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.mgrid.filtered li.off { opacity: .45; }
.mgrid.filtered li.off .switch { background: var(--faint); }
.mgrid.filtered li.off .switch::after { left: 2px; }

/* integrazioni */
.logos { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos li { background: var(--panel); border-radius: 18px; box-shadow: var(--sh-card); height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; text-align: center; }
.logos img { height: 34px; width: auto; max-width: 80%; }
.logos .wide img { height: 24px; }
.logos li > span { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--text) !important; }

/* app e kiosk */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.apps, .kiosk { padding: 40px; }
.apps h2 { margin-top: 10px; }
.kiosk h3 { font-size: 28px; margin: 12px 0 12px; }
.kiosk p { opacity: .85; }
.plats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plats li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 14.5px; }

/* MSP */
.msp { color: #fff; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.msp p { opacity: .92; margin-top: 14px; font-size: 17px; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 18px; }
.stats b { display: block; font-size: 40px; line-height: 1; }
.stats span { display: block; font-size: 14px; margin-top: 8px; opacity: .92; }

/* demo e modulo */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 48px; }
.demo-txt h2 { margin-top: 10px; }
.demo-txt .btn { margin-top: 28px; }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form label small, .form legend small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]), .form textarea { font: 15px var(--font); color: var(--text); background: var(--panel); border: 1px solid #dfe2e8; border-radius: var(--r-field); padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.form input:hover, .form textarea:hover { border-color: #c7ccd6; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(27,67,254,.12); }
.form .bad-field { border-color: var(--bad) !important; }
.form textarea { resize: vertical; min-height: 84px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 3px; gap: 2px; }
.seg-i input { position: absolute; opacity: 0; pointer-events: none; }
.seg-i span { display: block; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 12px; cursor: pointer; }
.seg-i input:checked + span { background: var(--panel); box-shadow: 0 1px 3px rgba(17,19,24,.1); font-weight: 600; }
.seg-i input:focus-visible + span { outline: 3px solid rgba(27,67,254,.35); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form .btn { justify-self: start; }
.form-msg { font-size: 14px; min-height: 1px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--bad); }

/* piede */
.foot { margin-top: 110px; background: var(--panel); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand p { color: var(--muted); margin-top: 14px; max-width: 340px; font-size: 15px; }
.foot-brand .small { display: flex; gap: 6px; align-items: center; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--text); font-size: 15px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 20px; padding-bottom: 28px; font-size: 13.5px; color: var(--muted); }
.made { display: inline-flex; align-items: center; gap: 5px; }
.made b { color: var(--text); }
.heart { width: 15px; height: 15px; }

/* pagine legali */
.legal { padding-top: 24px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.toc { padding: 20px; position: sticky; top: 88px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.toc a { color: var(--text); }
.doc { padding: 44px 48px; max-width: 860px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 15.5px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.doc th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.doc .box { background: var(--soft); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.doc .ph { background: #fff1e6; color: #a8530a; border-radius: 6px; padding: 0 4px; }
.table-scroll { overflow-x: auto; }

/* scelta lingua e 404 */
.chooser { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.choose { padding: 48px; text-align: center; display: grid; gap: 24px; justify-items: center; }
.brand.big { font-size: 30px; }
.brand.big .logo, .big-logo { width: 44px; height: 50px; }
.choose h1 { font-size: 72px; }
.choose-langs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.choose-langs a { padding: 10px 18px; border-radius: 999px; background: var(--soft); color: var(--text); font-weight: 600; }

/* apparizione */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* larghezze */
@media (max-width: 1080px) {
  .menu { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; background: var(--panel); border-radius: 18px; box-shadow: var(--sh-menu); padding: 8px; margin: 0; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; }
  .burger { display: inline-flex; }
  .hero-card { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
  .hero-card > *, .bee > *, .demo > *, .msp > *, .split > * { min-width: 0; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .bee, .demo, .msp { grid-template-columns: 1fr; padding: 32px; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top .langs, .top .btn { display: none; }
  .hero-card { padding: 36px 22px; border-radius: 24px; }
  .lead { font-size: 17px; }
  .mock-row { grid-template-columns: minmax(0, 1fr); }
  .m-sla { display: none; }
  .grid3, .grid4, .eds { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .bee, .demo, .msp, .apps, .kiosk { padding: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .sec-block { padding-top: 72px; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .doc { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .ed { min-height: 0; }
}

/* loghi piattaforme e badge degli store (file ufficiali, mai modificati) */
.plat-logo { width: 22px; height: auto; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store-badges img { height: 40px; width: auto; }
.apps .fine { margin-top: 16px; }
.acme { display: inline-flex; height: 18px; }
.acme svg { height: 100%; width: auto; }
.acme { height: 20px; color: var(--text); opacity: .85; transition: opacity .2s; }
.acme:hover { opacity: 1; }
.acme svg { overflow: visible; }
/* triangolo animato ACME Studio: ricostruzione SVG della Lottie ufficiale (Triangle.json, 500x500, 30 fps, 60 fotogrammi):
   tre segmenti a tratto pieno che si disegnano (trim 0-15) mentre il gruppo ruota a -135 gradi e si assesta a -120 (5-35) */
.acme-rot { transform-box: view-box; transform-origin: 250px 297.4px; animation: acmeRot 2s infinite both; }
.acme-seg { animation: acmeSeg 2s infinite both; }
@keyframes acmeSeg {
  0% { stroke-dasharray: 0 100; stroke-dashoffset: -100; animation-timing-function: cubic-bezier(.333, 0, .667, 1); }
  25%, 100% { stroke-dasharray: 40 60; stroke-dashoffset: -60; }
}
@keyframes acmeRot {
  0%, 8.333% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.422, .008, .493, .978); }
  45% { transform: rotate(-135deg); animation-timing-function: cubic-bezier(.31, -.043, .642, .736); }
  58.333%, 100% { transform: rotate(-120deg); }
}
@media (prefers-reduced-motion: reduce) { .acme-rot, .acme-seg { animation: none; } }

/* Menu in alto come nel portale clienti Beevo: marchio a sinistra, pillola di vetro al centro con la voce attiva in
   capsula bianca, lingua e demo a destra. Su telefono la pillola scende in basso, icone sopra le etichette. */
.top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.top > * { pointer-events: auto; }
.top::before { content: ""; position: absolute; inset: 0 0 -18px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(242,243,245,.82) 55%, rgba(242,243,245,0) 100%); }
.top-in { height: 76px; gap: 16px; }
.brand, .top-right { flex: 1 1 0; }
.top-right { justify-content: flex-end; }
.menu { display: flex; position: static; flex: 0 0 auto; flex-direction: row; margin: 0; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 10px 30px rgba(15,23,42,.10), 0 1px 2px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.9); }
.menu a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; color: #3c4257;
  font-size: 14px; font-weight: 550; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.menu a .lu { display: none; }
.menu a:hover { background: rgba(255,255,255,.7); color: var(--text); text-decoration: none; }
.menu a.on { background: #fff; color: var(--accent); box-shadow: 0 2px 8px rgba(15,23,42,.10), 0 0 0 .5px rgba(15,23,42,.06); }
.top .langs { background: rgba(255,255,255,.62); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border-color: rgba(255,255,255,.85); box-shadow: 0 6px 18px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.9); }
.top .btn { height: 44px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .menu a { padding: 0 11px; font-size: 13.5px; }
  .top .btn { display: none; }
}
@media (max-width: 900px) {
  .top-in { height: 64px; }
  .top .btn { display: none; }
  .top .langs { display: inline-flex; }
  .menu { position: fixed; z-index: 30; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 6px; background: rgba(255,255,255,.82); overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { flex: 1 0 64px; min-width: 64px; flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 0 4px;
    font-size: 10.5px; letter-spacing: -.01em; }
  .menu a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .menu a .lu { display: block; width: 21px; height: 21px; opacity: .85; }
  .foot { padding-bottom: 92px; }
}

/* Eroe animato: sfondo che respira, schede che entrano una dopo l'altra, numeri che salgono, anello SLA che si riempie,
   ticket nuovi che arrivano in cima alla lista, Bee che scrive. Tutto fermo con la riduzione del movimento. */
@media (prefers-reduced-motion: no-preference) {
  .hero-card { background-size: 160% 160%; animation: heroBg 16s ease-in-out infinite alternate; }
  @keyframes heroBg { from { background-position: 0% 0%; } to { background-position: 100% 60%; } }
  .hero-hex { animation: hexFloat 12s ease-in-out infinite alternate; }
  @keyframes hexFloat { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(30px, -24px) rotate(6deg); } }
  .anim .hero-txt > * { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .anim .hero-txt > :nth-child(2) { animation-delay: .08s; } .anim .hero-txt > :nth-child(3) { animation-delay: .18s; }
  .anim .hero-txt > :nth-child(4) { animation-delay: .28s; } .anim .hero-txt > :nth-child(5) { animation-delay: .38s; }
  .anim .mock .m-card, .anim .mock .m-bee { opacity: 0; transform: translateY(24px) scale(.98); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .anim .mock .m-sla { animation-delay: .25s; } .anim .mock .m-grad { animation-delay: .4s; } .anim .mock .m-list { animation-delay: .55s; }
  .anim .mock .m-bee { animation-delay: 1.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .anim .m-ring .r1 { stroke-dasharray: 0 100; animation: ring 1.6s cubic-bezier(.3,.7,.2,1) .5s forwards; }
  @keyframes ring { to { stroke-dasharray: 81 100; } }
  .anim .mock .mock-row .m-card { animation-name: rise, bob; animation-duration: .8s, 6s; animation-timing-function: cubic-bezier(.2,.7,.2,1), ease-in-out;
    animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-fill-mode: forwards, none; }
  .anim .mock .mock-row .m-sla { animation-delay: .25s, 1.2s; } .anim .mock .mock-row .m-grad { animation-delay: .4s, 2.4s; }
  @keyframes bob { from { translate: 0 0; } to { translate: 0 -6px; } }
  .m-list li.in { animation: slideIn .6s cubic-bezier(.2,.7,.2,1); }
  @keyframes slideIn { from { opacity: 0; transform: translateY(-14px) scale(.98); max-height: 0; } 40% { max-height: 80px; } to { opacity: 1; transform: none; max-height: 80px; } }
  .m-list li.in .dot { animation: pulse 1.6s ease-out 2; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); } 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); } }
  .m-count.bump { animation: bump .5s ease; }
  @keyframes bump { 40% { transform: scale(1.25); background: var(--accent-2); color: var(--accent); } }
  .m-live i { animation: live 1.4s ease-in-out infinite; }
  @keyframes live { 50% { opacity: .25; } }
  .m-dots i { animation: dots 1s ease-in-out infinite; } .m-dots i:nth-child(2) { animation-delay: .15s; } .m-dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes dots { 50% { transform: translateY(-3px); opacity: .4; } }
}
.m-head { align-items: center; }
.m-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }
.m-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.m-list ul { overflow: hidden; }
.m-dots { display: none; gap: 4px; align-items: center; height: 18px; }
.m-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ai); display: block; }
.m-bee.typing .m-dots { display: inline-flex; }
.m-bee.typing .m-bee-txt { display: none; }
.m-count { transition: background .2s; }

/* Consenso cookie (solo con BEEVO_GTM_ID) */
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.cc { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); }
.consent-in { background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 20px; padding: 20px 22px; box-shadow: 0 20px 60px rgba(15, 23, 42, .18); }
.cc h2 { font-size: 17px; margin: 0 0 6px; }
.cc p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.consent-opts { display: grid; gap: 10px; margin: 0 0 14px; }
.c-cat { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.c-cat input { margin-top: 3px; accent-color: #1b43fe; }
.c-cat small { display: block; color: var(--muted); font-size: 13px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 900px) { .cc { bottom: 88px; } }
.cc[hidden], .cc [hidden] { display: none !important; }
.legal-grid > * { min-width: 0; } .table-scroll { max-width: 100%; overflow-x: auto; }
