/* The public top bar (owner, 2026-11-06: every page looks like the homepage;
   2026-11-10: the two actions top right on every page, «keep transparent
   background in the header»). The white logo top left, the chips «Scopri»,
   «Partner» and «Prezzi», then «Provalo gratuitamente» and «Richiedi una
   demo»; the menu, sign-in and the language live in the footer. The bar lies,
   transparent, over each page's charcoal opening and stays at the top while
   the page scrolls: once the page has moved, a translucent charcoal keeps it
   readable over light sections (`.is-scrolled`, set by configurator.js).
   `.is-solid` gives it a charcoal band of its own on the pages that open on
   white (the legal documents). */
:root{--site-header-height:0px;--topbar-clearance:clamp(112px,9vw,136px)}
html{scroll-padding-top:96px}
.site-topbar,.site-topbar *{box-sizing:border-box}
.site-topbar{position:fixed;top:0;left:0;right:0;z-index:30;margin:0;padding:0;border:0;background:transparent;color:var(--brand-on-dark);font-family:var(--font);font-size:14px;line-height:1.4;text-align:left;transition:background-color .25s ease,box-shadow .25s ease}
.site-topbar.is-scrolled{background:color-mix(in srgb,var(--brand-on-primary) 94%,transparent);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:0 1px 0 color-mix(in srgb,var(--brand-on-dark) 12%,transparent)}
.site-topbar.is-solid{position:sticky;background:var(--brand-on-primary)}
.site-topbar-inner{position:relative;display:flex;align-items:center;gap:20px;width:calc(100% - 2 * var(--site-gutter));margin:auto;padding:16px 0}
.site-topbar .preview-notice{position:absolute;top:calc(100% - 8px);left:0;display:inline-flex;align-items:center;min-height:22px;padding:4px 8px;border:1px solid color-mix(in srgb,var(--warn) 35%,transparent);border-radius:var(--r-pill);background:var(--warn-bg);color:var(--warn);font:600 11px/1.2 var(--font);text-align:left;white-space:nowrap}
.site-topbar-brand{display:block;flex-shrink:0;width:150px;line-height:0;margin-right:auto;text-decoration:none}
.site-topbar-brand img{display:block;width:100%;height:auto;border:0;border-radius:0}
.site-topbar a:focus-visible{outline:3px solid var(--brand-primary);outline-offset:4px}
.site-topbar .campaign-chips{position:static;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:8px;margin:0;padding:0;inset:auto;z-index:auto}
.campaign-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border:1px solid var(--surface);border-radius:var(--r-pill);background:var(--surface);color:var(--brand-on-primary);font:600 14px/1 var(--font);text-decoration:none;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease}
.campaign-chip:hover,.campaign-chip:focus-visible,.campaign-chip[aria-current=page]{border-color:var(--brand-primary);background:var(--brand-primary);color:var(--brand-on-primary);text-decoration:none}
.site-topbar-actions{display:flex;gap:8px;flex-shrink:0}
.site-topbar-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border-radius:var(--r-pill);font:600 13px/1.2 var(--font);text-decoration:none;white-space:nowrap}
.site-topbar-actions .primary{background:var(--brand-primary);border:1px solid var(--brand-primary);color:var(--brand-on-primary)}
.site-topbar-actions .campaign-demo{background:color-mix(in srgb,var(--brand-on-primary) 70%,transparent);border:1px solid var(--brand-on-dark);color:var(--brand-on-dark)}
/* Tablets keep one row; phones take two: logo and chips, then the two actions side by side. */
@media(max-width:900px){.site-topbar-inner{gap:10px;padding:12px 0}.site-topbar-brand{width:120px}.site-topbar .campaign-chips{gap:6px}.campaign-chip{min-height:36px;padding:8px 13px;font-size:12px}.site-topbar-actions .button{min-height:36px;padding:8px 12px;font-size:12px}}
/* A phone keeps one row up top, the logo and the chips; the two actions are
   pinned at the bottom of the screen (owner, 2026-11-10: «in mobile rimuovi le
   due CTA da sopra e tienile pinnate sotto»). No blur on a phone: it would make
   the bar the pinned actions' containing block. The cookie notice sits above them. */
@media(max-width:719px){:root{--topbar-clearance:88px}html{scroll-padding-top:72px}body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.site-topbar-inner{gap:8px;padding:10px 0}.site-topbar-brand{width:104px;margin-right:0}.site-topbar .campaign-chips{flex:0 1 auto;min-width:0;margin-left:auto;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.site-topbar .campaign-chips::-webkit-scrollbar{display:none}.campaign-chip{min-height:34px;padding:7px 11px}.site-topbar.is-scrolled{-webkit-backdrop-filter:none;backdrop-filter:none}.site-topbar-actions{position:fixed;right:0;bottom:0;left:0;z-index:31;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px var(--site-gutter) calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--brand-on-primary) 96%,transparent);box-shadow:0 -1px 0 color-mix(in srgb,var(--brand-on-dark) 14%,transparent)}.site-topbar-actions .button{min-height:44px;padding:10px;font-size:13px}body .cc-banner{bottom:calc(78px + env(safe-area-inset-bottom))}}
/* The homepage's opening keeps its payoff clear of the two-row bar on a phone. */
@media(max-width:719px){body.marketing-home .campaign-hero{padding-top:var(--topbar-clearance)}}
@media(max-width:380px){.site-topbar-brand{width:92px}.campaign-chip{padding:7px 9px}.site-topbar-actions .button{font-size:12px;padding:9px 6px}}
@media(prefers-reduced-motion:reduce){.site-topbar,.campaign-chip{transition:none}}
