/* SPUN Menu — tema "spun-v2", SPUN Design System Beta (v2) con le regole dei siti prodotto (§15).
   Porting dell'implementazione di riferimento di spun.tel (spuntel/client/src/themes/spun-v2/spun-v2.css).
   Tutto è sotto .sx-menu: la landing di default e l'app restano intatte.
   Colore di campo SPUN Menu #25D366 con testo ink (DESIGN_SYSTEM §4). */

@font-face {
  font-family: "Instrument Sans";
  src: url("/landing/v2/assets/fonts/InstrumentSans-normal-latin.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  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";
  src: url("/landing/v2/assets/fonts/InstrumentSans-normal-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Mono";
  src: url("/landing/v2/assets/fonts/SpaceMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------------------------------------------------- */
html { background: #101013; }
html[data-theme="light"] { background: #FAFAF4; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }}
html { scroll-padding-top: 64px; }

.sx-menu {
  --sx-ink: #101013;
  --sx-ink-2: #1A1A1E;
  --sx-ink-3: #27272B;
  --sx-muted: #6D6D78;
  --sx-muted-2: #A1A1AA;
  --sx-paper: #FAFAF4;
  --sx-paper-2: #F5F4EF;
  --sx-line-light: #E4E3DE;
  --sx-cobalt: #2348FF;
  --sx-lime: #B6F36B;
  --sx-field: #25D366;
  --sx-coral: #FF6B4A;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --bg: var(--sx-ink);
  --surface: var(--sx-ink-2);
  --rule: var(--sx-ink-3);
  --text: var(--sx-paper);
  --text-2: var(--sx-muted-2);
  --btn: var(--sx-paper);
  --btn-text: var(--sx-ink);
  --soft: rgba(250, 250, 244, .07);
  --soft-2: rgba(250, 250, 244, .13);
  --focus: var(--sx-lime);
  --ok: var(--sx-lime);
  --accent-fg: var(--sx-field);

  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.sx-menu[data-theme="light"] {
  --bg: var(--sx-paper);
  --surface: var(--sx-paper-2);
  --rule: var(--sx-line-light);
  --text: var(--sx-ink);
  --text-2: var(--sx-muted);
  --btn: var(--sx-ink);
  --btn-text: var(--sx-paper);
  --soft: rgba(16, 16, 19, .05);
  --soft-2: rgba(16, 16, 19, .1);
  --focus: var(--sx-cobalt);
  --ok: var(--sx-ink);
  --accent-fg: var(--sx-ink);
}

/* Resets use :where() so component classes always win. */
:where(.sx-menu) *, :where(.sx-menu) *::before, :where(.sx-menu) *::after { box-sizing: border-box; }
:where(.sx-menu) a { color: inherit; text-decoration: none; }
:where(.sx-menu) ul, :where(.sx-menu) ol { list-style: none; margin: 0; padding: 0; }
:where(.sx-menu) h1, :where(.sx-menu) h2, :where(.sx-menu) h3, :where(.sx-menu) p { margin: 0; }
:where(.sx-menu) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.sx-menu) img, :where(.sx-menu) video { max-width: 100%; }
.sx-menu [hidden] { display: none !important; }
.sx-menu :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sx-menu .sx-px { display: block; width: 100%; height: 100%; overflow: visible; }
.sx-menu [data-px], .sx-menu [data-arrow] { display: inline-block; }

.sx-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--btn); color: var(--btn-text); padding: 8px 12px; border-radius: 6px;
}
.sx-skip:focus { top: 8px; }

/* ---------- Layout: cells separated by 1px rules --------------------- */
.sx-frame { padding-inline: 16px; }
.sx-shell { max-width: 1728px; margin-inline: auto; border-inline: 1px solid var(--rule); }
.sx-section { border-bottom: 1px solid var(--rule); }
.sx-cells { display: grid; gap: 1px; background: var(--rule); }
.sx-cells > * { background: var(--bg); }
@media (min-width: 1024px) {
  .sx-frame { padding-inline: 40px; }}

/* ---------- Type ------------------------------------------------------ */
.sx-eyebrow {
  font-family: var(--font-mono); font-size: 12px; line-height: 16px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
}
.sx-chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase;
  background: transparent; color: var(--text); padding: 5px 10px; border: 1px solid var(--rule); border-radius: 0;
}
.sx-h1 { font-size: 42px; line-height: 47px; font-weight: 500; letter-spacing: -.03em; }
.sx-h2 { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -.025em; }
.sx-h3 { font-size: 24px; line-height: 28px; font-weight: 500; letter-spacing: -.01em; }
.sx-h5 { font-size: 21px; line-height: 29px; font-weight: 500; letter-spacing: -.02em; }
.sx-lead { font-size: 17px; line-height: 26px; letter-spacing: -.015em; }
.sx-body { font-size: 16px; line-height: 24px; color: var(--text-2); }
.sx-muted { color: var(--text-2); }
@media (min-width: 768px) {
  .sx-eyebrow { font-size: 13px; line-height: 20px; }
  .sx-chip { font-size: 11px; }
  .sx-h1 { font-size: 72px; line-height: 72px; }
  .sx-h2 { font-size: 56px; line-height: 60px; }
  .sx-h3 { font-size: 44px; line-height: 52px; }
  .sx-lead { font-size: 20px; line-height: 28px; }}

/* ---------- Buttons --------------------------------------------------- */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 46px; padding: 0 18px; border-radius: 2px; white-space: nowrap;
  font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: -.005em;
  transition: background-color .2s, color .2s;
}
.sx-btn--sm { height: 32px; padding: 0 10px 0 12px; gap: 8px; font-size: 14px; line-height: 20px; letter-spacing: .02em; }
.sx-btn--primary { background: var(--btn); color: var(--btn-text); }
.sx-btn--secondary { background: var(--soft); color: var(--text); }
.sx-btn--secondary:hover { background: var(--soft-2); }
.sx-btn--ink { background: var(--sx-ink); color: var(--sx-paper); }
.sx-btn--paper { background: var(--sx-paper); color: var(--sx-ink); }
.sx-btn-arrow { display: block; width: 16px; height: 16px; overflow: hidden; }
.sx-btn-arrow .sx-px { transition: transform .3s steps(4, end); }
.sx-btn:hover .sx-btn-arrow .sx-px { transform: translateX(4px); }
.sx-btn:disabled { opacity: .4; cursor: not-allowed; }
.sx-btn:disabled .sx-btn-arrow .sx-px { transform: none; }

/* ---------- Nav (fixed, 48px) ----------------------------------------- */
.sx-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sx-nav-bar { display: flex; height: 47px; }
.sx-logo { display: flex; align-items: center; padding-inline: 16px; border-right: 1px solid var(--rule); color: var(--text); }
/* The official logo file is used as a mask: the drawing stays untouched, the colour follows the theme. */
.sx-logo-svg {
  display: block; width: 88px; aspect-ratio: 957.5 / 348.54; background-color: currentColor;
  -webkit-mask: url("/landing/v2/assets/img/spun-logo.svg") center / contain no-repeat;
  mask: url("/landing/v2/assets/img/spun-logo.svg") center / contain no-repeat;
}
.sx-nav-product {
  display: flex; align-items: center; gap: 8px; padding-inline: 12px; border-right: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.sx-sq { display: grid; place-items: center; flex: none; width: 24px; height: 24px; background: var(--sx-field); color: var(--sx-ink); border-radius: 4px; }
.sx-sq .sx-px, .sx-sq > [data-px] { width: 16px; height: 16px; }
.sx-nav-links { display: none; }
.sx-nav-links a {
  display: flex; align-items: center; padding-inline: 16px; border-right: 1px solid var(--rule);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.sx-nav-links a:hover { color: var(--text); background: var(--soft); }
.sx-nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--rule); }
.sx-nav-end .sx-btn { display: none; }
.sx-menu-btn { display: grid; place-items: center; width: 47px; height: 47px; color: var(--text); }
.sx-menu-btn .sx-px, .sx-menu-btn > [data-arrow] { width: 16px; height: 16px; }
.sx-mobile { position: fixed; inset: 48px 0 0 0; z-index: 49; overflow: auto; background: var(--bg); padding: 8px 16px 24px; }
.sx-mobile a:not(.sx-btn) {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  border-bottom: 1px solid var(--rule); font-size: 20px; line-height: 24px; font-weight: 500;
}
.sx-mobile a:not(.sx-btn) [data-arrow] { width: 16px; height: 16px; color: var(--text-2); }
.sx-mobile-actions { display: grid; gap: 8px; margin-top: 24px; }
@media (min-width: 1024px) {
  .sx-nav-links { display: flex; }
  .sx-nav-end { padding-inline: 8px; }
  .sx-nav-end .sx-btn { display: inline-flex; }
  .sx-menu-btn, .sx-mobile { display: none; }}
/* Seven links do not fit below 1280px: the secondary ones stay in the page and in the mobile menu. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .sx-nav-links a[data-nav-optional] { display: none; }
}

/* ---------- Hero: headline + live demo -------------------------------- */
.sx-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Always dark: copy on ink, cinematic loop on the right, demo floating over the media. */
.sx-hero { position: relative; overflow: hidden; background: var(--sx-ink); color: var(--sx-paper); border-bottom: 1px solid var(--rule); }
.sx-hero-grid { max-width: 1728px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); }
.sx-hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 104px 16px 32px; }
.sx-hero-visual { position: relative; padding: 230px 16px 40px; }
.sx-hero-media { position: absolute; inset: 0 0 auto 0; height: 400px; overflow: hidden; }
.sx-hero-media video, .sx-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.sx-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 16, 19, .7) 0%, rgba(16, 16, 19, 0) 28%, rgba(16, 16, 19, 0) 55%, rgba(16, 16, 19, 1) 100%); }
.sx-hero .sx-chip { background: rgba(250, 250, 244, .08); color: var(--sx-paper); border: 1px solid rgba(250, 250, 244, .14); }
.sx-hero .sx-lead { max-width: 560px; color: rgba(250, 250, 244, .8); }
.sx-hero .sx-btn--primary { background: var(--sx-paper); color: var(--sx-ink); }
.sx-hero .sx-btn--secondary { background: rgba(250, 250, 244, .12); color: var(--sx-paper); }
.sx-hero .sx-btn--secondary:hover { background: rgba(250, 250, 244, .2); }
.sx-hero .sx-trust li { color: rgba(250, 250, 244, .72); }
.sx-hero .sx-trust .sx-px { color: var(--sx-lime); }
.sx-hero :focus-visible { outline-color: var(--sx-lime); }
.sx-media-note {
  position: absolute; z-index: 2; right: 12px; top: 12px;
  font-family: var(--font-mono); font-size: 10px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(250, 250, 244, .5);
}
.sx-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip--live .sx-dot { animation: sxm-led 1.6s steps(1) infinite; }
.sx-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sx-trust li {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2);
}
.sx-trust [data-arrow] { width: 16px; height: 16px; color: var(--ok); }
@media (min-width: 1024px) {
  .sx-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(100svh, 920px); }
  .sx-hero-copy { padding: 128px 72px 88px 40px; }
  .sx-hero .sx-h1 { font-size: clamp(48px, 5vw, 76px); line-height: 1.02; }
  .sx-hero-visual { padding: 0; }
  .sx-hero-media { inset: 0; height: auto; }
  .sx-hero-media video, .sx-hero-media img { object-position: 70% center; }
  .sx-hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 16, 19, 1) 0%, rgba(16, 16, 19, .4) 20%, rgba(16, 16, 19, 0) 42%),
      linear-gradient(0deg, rgba(16, 16, 19, .9) 0%, rgba(16, 16, 19, 0) 38%),
      linear-gradient(180deg, rgba(16, 16, 19, .6) 0%, rgba(16, 16, 19, 0) 14%);
  }
  .sx-media-note { top: auto; bottom: 16px; right: 20px; }}

/* ---------- Demo card (menu → order → kitchen) ------------------------ */
.sx-demo { position: relative; z-index: 2; display: flex; justify-content: center; }
.sx-demo-win, .sx-demo .sx-win--mini {
  position: relative; width: min(100%, 460px); font-size: 14px;
  background: rgba(16, 16, 19, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-color: rgba(37, 211, 102, .45);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85), 0 0 64px -12px rgba(37, 211, 102, .35);
}
.sx-demo-win .sx-btn--primary { background: var(--sx-paper); color: var(--sx-ink); }
.sx-demo-win .sx-btn--secondary { background: rgba(250, 250, 244, .1); color: var(--sx-paper); }
.sx-demo-win .sx-btn--secondary:hover { background: rgba(250, 250, 244, .16); }
.sx-demo-panel { display: flex; flex-direction: column; gap: 12px; min-height: 336px; padding: 14px 16px 16px; }
.sx-demo-note { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; color: rgba(250, 250, 244, .5); }
.sx-demo-note a { color: var(--sx-paper); text-decoration: underline; text-underline-offset: 2px; }
.sx-demo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-demo-actions .sx-btn { flex: 1; }
.sx-dm-foot .sx-btn { grid-column: 1 / -1; width: 100%; }
.sx-dm-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sx-dm-status li {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 10.5px; line-height: 14px; letter-spacing: .04em; text-transform: uppercase; text-align: center;
  color: rgba(250, 250, 244, .5); background: rgba(250, 250, 244, .05);
}
.sx-dm-status li[data-state="done"] { color: var(--sx-paper); background: rgba(250, 250, 244, .12); }
.sx-dm-status li[data-state="now"] { color: var(--sx-ink); background: var(--sx-field); }

@media (min-width: 1024px) {
  .sx-demo { position: absolute; left: -48px; bottom: 56px; width: min(440px, calc(100% - 24px)); }}

/* ---------- Capability marquee ---------------------------------------- */
.sx-marquee { display: flex; overflow: hidden; border-bottom: 1px solid var(--rule); }
.sx-marquee-label { display: none; flex: none; align-items: center; padding: 0 24px; border-right: 1px solid var(--rule); }
.sx-marquee-viewport { flex: 1; min-width: 0; overflow: hidden; }
.sx-marquee-track { display: flex; width: max-content; animation: sxm-marquee 40s linear infinite; }
.sx-marquee:hover .sx-marquee-track { animation-play-state: paused; }
.sx-marquee-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-right: 1px solid var(--rule);
  white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 500;
}
.sx-marquee-item [data-px] { width: 16px; height: 16px; color: var(--accent-fg); }
@keyframes sxm-marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .sx-marquee-label { display: flex; }}

/* ---------- Section head ---------------------------------------------- */
.sx-head { display: grid; gap: 16px; padding: 64px 16px 40px; border-bottom: 1px solid var(--rule); }
.sx-head-title { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .sx-head { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; gap: 40px; padding: 112px 40px 56px; }}
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-feature, .sx-step { display: flex; flex-direction: column; gap: 16px; padding: 32px 16px 40px; }
.sx-sq48 { flex: none; display: grid; place-items: center; width: 48px; height: 48px; background: var(--sx-field); color: var(--sx-ink); }
.sx-sq48 [data-px] { width: 32px; height: 32px; }
.sx-step-n { font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .06em; color: var(--text-2); }
@media (min-width: 1024px) {
  .sx-feature, .sx-step { padding: 40px 24px 48px; }}

/* Photo cards: horizontal snap on phones, grid from tablet. */
.sx-people {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1px; background: var(--rule);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.sx-people > li { scroll-snap-align: start; background: var(--sx-ink); }
.sx-person { position: relative; display: block; height: 100%; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sx-ink); color: var(--sx-paper); }
.sx-person:focus-visible { outline-offset: -3px; }
.sx-person-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.sx-person-cta [data-arrow] { width: 16px; height: 16px; }
.sx-person:hover .sx-person-cta { color: var(--sx-lime); }
.sx-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.sx-person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 16, 19, .94) 0%, rgba(16, 16, 19, .4) 42%, rgba(16, 16, 19, 0) 68%); }
.sx-person:hover img { transform: scale(1.05); }
.sx-person-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.sx-person-body p { color: rgba(250, 250, 244, .78); }
.sx-person--contact .sx-sq { background: var(--sx-lime); color: var(--sx-ink); }
/* The hands sit in the lower third of the photo: text goes on top so it stays visible. */
.sx-person--contact::after { background: linear-gradient(180deg, rgba(16, 16, 19, .94) 0%, rgba(16, 16, 19, .45) 40%, rgba(16, 16, 19, 0) 62%); }
.sx-person--contact .sx-person-body { top: 0; bottom: auto; }
@media (min-width: 768px) {
  .sx-people { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }}
@media (min-width: 1024px) {
  .sx-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-person-body { padding: 32px; }}
.sx-cells > .sx-illu { background: var(--f); }
@keyframes sxm-wire { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
@keyframes sxm-led { 50% { opacity: .25; } }

.sx-log { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: clamp(170px, 19vw, 250px); padding: 12px; overflow: hidden; }
.sx-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; color: rgba(250, 250, 244, .78); }
.sx-line b { padding-top: 2px; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(250, 250, 244, .5); }
.sx-line--ai { color: var(--sx-paper); }
.sx-line--ai b { color: color-mix(in srgb, var(--sx-field) 70%, white); }
.sx-handoff {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--sx-lime); border: 1px dashed color-mix(in srgb, var(--sx-lime) 50%, transparent);
}
.sx-handoff i { width: 6px; height: 6px; background: currentColor; }
.sx-typing { display: none; align-self: flex-start; gap: 4px; padding: 10px; background: rgba(250, 250, 244, .08); border-radius: 10px; }
.sx-typing.is-on { display: inline-flex; }
.sx-typing i { width: 5px; height: 5px; background: rgba(250, 250, 244, .7); animation: sxm-dot 1s steps(2, jump-none) infinite; }
.sx-typing i:nth-child(2) { animation-delay: .15s; }
.sx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sxm-dot { 50% { transform: translateY(-3px); opacity: .45; } }
.sx-line.is-on, .sx-handoff.is-on { animation: sxm-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sxm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sx-flow { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; width: min(100%, 440px); padding-top: 22px; }
.sx-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 1px; background: var(--k); }
.sx-flow span {
  position: relative; text-align: center; padding: 9px 4px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  background: var(--sx-ink); color: var(--sx-paper);
  animation: sxm-node 4.8s steps(1) infinite; animation-delay: calc(var(--n) * 1.2s);
}
.sx-flow span::before { content: ""; position: absolute; left: 50%; top: -18px; width: 7px; height: 7px; transform: translateX(-50%); background: var(--k); }
.sx-flow i { position: absolute; top: 4px; left: 10%; width: 7px; height: 7px; background: var(--sx-ink); animation: sxm-flow-dot 4.8s steps(24, end) infinite; }
@keyframes sxm-node { 0%, 24% { background: var(--sx-paper); color: var(--sx-ink); } 25%, 100% { background: var(--sx-ink); color: var(--sx-paper); } }
@keyframes sxm-flow-dot { from { left: 10%; } to { left: 88%; } }
@keyframes sxm-pulse { from { left: 0; } to { left: calc(100% - 7px); } }

@media (max-width: 767px) {
  .sx-log { height: 200px; }
  .sx-flow span { font-size: 9px; padding: 8px 2px; }}

/* ---------- CTA band -------------------------------------------------- */
/* Green instead of cobalt, as asked by the owner for SPUN Menu (D-019): ink text on the product field colour. */
.sx-cta {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 360px;
  color: var(--sx-ink); border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, var(--sx-field) 0%, var(--sx-field) 36%, rgba(37, 211, 102, .82) 58%, rgba(37, 211, 102, .3) 100%),
    var(--sx-ink) url("/landing/v2/assets/media/cta-banco.jpg") right center / cover no-repeat;
}
.sx-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sx-cta-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; max-width: 920px; padding: 120px 16px 40px; }
.sx-cta .sx-eyebrow { color: var(--sx-ink); }
.sx-cta :focus-visible { outline-color: var(--sx-ink); }
.sx-cta .sx-actions { margin-top: 8px; }
@media (min-width: 1024px) {
  .sx-cta { min-height: 440px; }
  .sx-cta-in { padding: 56px 40px; }}

/* ---------- Footer ---------------------------------------------------- */
.sx-compat .sx-marquee-track { animation-duration: 60s; }
.sx-compat .sx-marquee-item { gap: 10px; padding: 14px 24px; }
.sx-compat .sx-marquee-item b { font-weight: 500; }
.sx-compat .sx-marquee-item span { font-family: var(--font-mono); font-size: 10px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Cliente / locale / canali, flusso passo passo -------------- */
.sx-inout { grid-template-columns: minmax(0, 1fr); }
.sx-inout-col { display: flex; flex-direction: column; gap: 16px; padding: 32px 16px 40px; }
.sx-checklist { display: flex; flex-direction: column; gap: 11px; }
.sx-checklist li { display: flex; align-items: flex-start; gap: 11px; padding-bottom: 11px; border-bottom: 1px solid var(--rule); color: var(--text-2); }
.sx-checklist [data-arrow] { flex: none; width: 15px; height: 15px; margin-top: 5px; color: var(--sx-field); }
.sx-note { font-family: var(--font-mono); font-size: 11.5px; line-height: 19px; color: var(--text-2); }
.sx-footnote { padding: 16px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 20px; color: var(--text-2); }
.sx-flowsteps { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
.sx-flowstep { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 16px 40px; }
.sx-flowstep-top { display: flex; align-items: center; justify-content: space-between; align-self: stretch; }
.sx-flowstep .sx-sq48 { animation: sxm-step 7.5s steps(1) infinite; animation-delay: calc(var(--n) * 1.5s); }
@keyframes sxm-step { 0%, 19% { background: var(--sx-lime); } 20%, 100% { background: var(--sx-field); } }
@media (min-width: 768px) {
  .sx-inout, .sx-flowsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 5 steps on 2 columns: the last one spans the row, no empty cell. */
  .sx-flowsteps > li:last-child:nth-child(odd) { grid-column: 1 / -1; }}
@media (min-width: 1024px) {
  .sx-inout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-inout--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-inout-col { padding: 40px 24px 48px; }
  .sx-flowsteps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sx-flowsteps > li:last-child:nth-child(odd) { grid-column: auto; }
  .sx-flowstep { padding: 40px 24px 48px; }
  .sx-flowstep:not(:last-child)::after {
    content: ""; position: absolute; z-index: 1; top: 56px; right: -8px; width: 15px; height: 15px;
    background: var(--bg); border-top: 1px solid var(--sx-field); border-right: 1px solid var(--sx-field); transform: rotate(45deg);
  }
  .sx-footnote { padding: 16px 40px; }}

/* ---------- Prezzi ------------------------------------------------------ */
.sx-plans { grid-template-columns: minmax(0, 1fr); }
.sx-plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 16px 40px; }
.sx-plan--featured { box-shadow: inset 0 3px 0 var(--sx-field); }
.sx-plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sx-plan-price { display: flex; align-items: baseline; gap: 6px; }
.sx-plan-price b { font-size: 40px; line-height: 48px; font-weight: 500; letter-spacing: -.02em; }
.sx-plan-price span { color: var(--text-2); }
.sx-plan-volume { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; }
.sx-plan .sx-checklist { flex: 1; }
.sx-plan .sx-btn { width: 100%; }
.sx-chip--lime { background: var(--sx-lime); color: var(--sx-ink); }
@media (min-width: 1024px) {
  .sx-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-plan { padding: 40px 32px 48px; }
  .sx-plan-price b { font-size: 48px; line-height: 56px; }}

/* ---------- Pagine soluzione -------------------------------------------- */
.sx-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.sx-hero .sx-crumbs { color: rgba(250, 250, 244, .62); }
.sx-hero--solution .sx-hero-media img { object-position: center 30%; }
.sx-hero--solution .sx-log--mini { height: 176px; }
.sx-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 16px 32px; }
@media (min-width: 1024px) {
  .sx-links { padding: 32px 40px 40px; }}

/* ---------- WhatsApp-style chat and catalog (D-019) --------------------
   Colours of the WhatsApp dark interface, scoped to these mockups only. The wallpaper is a SPUN pixel motif. */
.sx-menu {
  --wa-bg: #0B141A;
  --wa-bar: #202C33;
  --wa-in: #202C33;
  --wa-out: #005C4B;
  --wa-text: #E9EDEF;
  --wa-meta: #8696A0;
  --wa-tick: #53BDEB;
  --wa-teal: #00A884;
  --wa-chip: #0A332C;
}
/* Official WhatsApp glyph (Meta Brand Resource Center, Digital_Glyph_Green_RGB_2026.svg), unmodified and never
   the most prominent element. The official pack has no separate WhatsApp Business logo. */
.sx-wa-logo { display: inline-block; flex: none; width: 20px; height: 20px; background: url("/landing/v2/assets/img/whatsapp-glyph.svg") center / contain no-repeat; }
.sx-chip .sx-wa-logo { width: 16px; height: 16px; }

.sx-wa {
  position: relative; display: flex; flex-direction: column; width: min(100%, 400px); overflow: hidden;
  background: var(--wa-bg); color: var(--wa-text); border: 1px solid rgba(250, 250, 244, .14); border-radius: 10px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); font-size: 13.5px; line-height: 1.35; letter-spacing: 0;
}
.sx-wa-frame {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid rgba(233, 237, 239, .08);
  font-family: var(--font-mono); font-size: 10.5px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--wa-meta);
}
.sx-wa-frame .sx-wa-logo { width: 16px; height: 16px; }
.sx-wa-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--wa-bar); }
.sx-wa-back { flex: none; width: 16px; height: 16px; color: var(--wa-text); }
.sx-wa-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #6B7C85; color: var(--wa-bg); font-size: 15px; font-weight: 600; }
.sx-wa-avatar--venue { background: var(--sx-field); color: var(--sx-ink); }
.sx-wa-avatar [data-px] { width: 16px; height: 16px; }
.sx-wa-id { display: flex; flex-direction: column; min-width: 0; }
.sx-wa-id b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-weight: 500; color: var(--wa-text); }
.sx-wa-id span { font-size: 12px; color: var(--wa-meta); }
.sx-wa-head > .sx-wa-logo { margin-left: auto; }

.sx-wa-log {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: clamp(190px, 18vw, 250px); padding: 12px 14px; overflow: hidden;
  background-color: var(--wa-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='%23E9EDEF' fill-opacity='.06'%3E%3Crect x='4' y='6' width='2' height='2'/%3E%3Crect x='30' y='18' width='2' height='2'/%3E%3Crect x='16' y='34' width='2' height='2'/%3E%3Crect x='40' y='40' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
}
.sx-wa-msg { position: relative; max-width: 84%; padding: 6px 8px 5px 9px; border-radius: 8px; color: var(--wa-text); white-space: pre-line; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.sx-wa-msg time { float: right; display: inline-flex; align-items: center; gap: 2px; margin: 8px 0 -4px 12px; font-size: 10.5px; line-height: 12px; color: var(--wa-meta); white-space: nowrap; }
.sx-wa-msg time [data-arrow] { width: 20px; height: 20px; margin: -6px -4px -6px -3px; color: var(--wa-tick); }
.sx-wa-msg--in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.sx-wa-msg--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0; }
.sx-wa-msg--in::before { content: ""; position: absolute; top: 0; left: -7px; border-top: 8px solid var(--wa-in); border-left: 8px solid transparent; }
.sx-wa-msg--out::before { content: ""; position: absolute; top: 0; right: -7px; border-top: 8px solid var(--wa-out); border-right: 8px solid transparent; }
.sx-wa-msg.is-on { animation: sxm-in .32s cubic-bezier(.2, .7, .2, 1) both; }
.sx-wa-log .sx-typing { background: var(--wa-in); border-radius: 8px; }
/* SPUN event inside the chat mockup: clearly ours, not a WhatsApp message. */
.sx-wa-event {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 8px; border: 0; border-radius: 4px;
  font-family: var(--font-mono); font-size: 10.5px; line-height: 14px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--sx-ink); background: var(--sx-lime);
}
.sx-wa-event i { width: 6px; height: 6px; background: currentColor; }
.sx-wa-input { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; background: var(--wa-bg); }
.sx-wa-input > span:first-child { flex: 1; padding: 7px 12px; border-radius: 18px; background: var(--wa-bar); color: var(--wa-meta); font-size: 13px; }
.sx-wa-send { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wa-teal); color: var(--wa-bg); }
.sx-wa-send [data-arrow] { width: 16px; height: 16px; }
.sx-demo .sx-wa { width: min(100%, 420px); border-color: rgba(37, 211, 102, .45); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85), 0 0 64px -12px rgba(37, 211, 102, .35); }
.sx-hero--solution .sx-wa-log { height: 260px; }
.sx-wa--phone { width: min(100%, 360px); border-radius: 18px; border-color: rgba(16, 16, 19, .5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.sx-wa--phone .sx-wa-log { height: 300px; }
.sx-demo-win--wa .sx-wa-head { border-bottom: 0; }
.sx-demo-win--wa .sx-demo-panel { padding: 12px 14px 14px; }
.sx-dm-chat { overflow: hidden; border-radius: 8px; border: 1px solid rgba(233, 237, 239, .08); }
.sx-dm-chat .sx-wa-log { height: 190px; }
.sx-dm-panel-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--wa-meta); }

/* Live location in the chat: drawn map (no third-party tiles), rider moving along the route in steps.
   In the product the rider shares it with WhatsApp's own live location; nothing is sent automatically. */
.sx-wa-msg--loc { padding: 3px 3px 5px; white-space: normal; }
.sx-wa-map {
  position: relative; display: block; width: 240px; height: 132px; overflow: hidden; border-radius: 6px;
  background: #1D2A30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='132'%3E%3Cg fill='%23233238'%3E%3Crect width='56' height='26'/%3E%3Crect x='64' width='102' height='26'/%3E%3Crect x='174' width='66' height='26'/%3E%3Crect y='34' width='56' height='52'/%3E%3Crect x='64' y='34' width='102' height='52'/%3E%3Crect x='174' y='34' width='66' height='52'/%3E%3Crect y='94' width='56' height='38'/%3E%3Crect x='64' y='94' width='102' height='38'/%3E%3C/g%3E%3Crect x='174' y='94' width='66' height='38' fill='%2325D366' fill-opacity='.16'/%3E%3Cpath d='M20 90H60V30H170V66' fill='none' stroke='%2325D366' stroke-width='3' stroke-dasharray='6 4'/%3E%3C/svg%3E") 0 0 / 240px 132px no-repeat;
}
.sx-wa-map-dest { position: absolute; left: 170px; top: 68px; width: 14px; height: 14px; transform: translate(-50%, -100%); color: var(--sx-coral); }
.sx-wa-map-rider {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sx-field); color: var(--sx-ink); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25);
  offset-path: path("M 20 90 H 60 V 30 H 170 V 66"); offset-rotate: 0deg; offset-distance: 58%;
  animation: sxm-ride 9s steps(45, end) infinite;
}
.sx-wa-map-rider .sx-px, .sx-wa-map-rider [data-px] { width: 16px; height: 16px; }
@keyframes sxm-ride { from { offset-distance: 0%; } 85%, to { offset-distance: 100%; } }
.sx-wa-loc-text { display: flex; flex-direction: column; gap: 1px; padding: 6px 6px 0; }
.sx-wa-loc-text b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--wa-text); }
.sx-wa-loc-text b::before { content: ""; width: 6px; height: 6px; background: var(--sx-lime); animation: sxm-led 1.6s steps(1) infinite; }
.sx-wa-loc-text > span { font-size: 12px; color: var(--wa-meta); }
.sx-wa-msg--loc time { margin-right: 4px; }
.sx-dm-chat .sx-wa-log.sx-wa-log--track { height: 250px; }
@media (min-width: 1024px) {
  .sx-wa-band--reverse .sx-wa-stage { order: -1; }}

/* WhatsApp band on the home page */
.sx-wa-band { grid-template-columns: minmax(0, 1fr); }
.sx-wa-copy { display: flex; flex-direction: column; gap: 20px; padding: 48px 16px; }
.sx-wa-copy .sx-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.sx-wa-copy .sx-eyebrow .sx-wa-logo { width: 24px; height: 24px; }
.sx-wa-zero { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sx-wa-zero b { padding: 0 .1em; font-size: 88px; line-height: 88px; font-weight: 500; letter-spacing: -.035em; background: var(--sx-field); color: var(--sx-ink); }
.sx-wa-zero span { max-width: 20ch; font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.sx-cells > .sx-wa-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 40px 16px; overflow: hidden; background: var(--sx-field); }
.sx-wa-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(16, 16, 19, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 16, 19, .16) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.sx-wa-stage .sx-wa { position: relative; z-index: 1; }
.sx-feature .sx-wa-logo { width: 48px; height: 48px; }
.sx-feat .sx-wa { width: min(100%, 340px); font-size: 12.5px; }
.sx-feat .sx-wa-log { height: clamp(120px, 12vw, 170px); padding: 8px 12px; }
.sx-pk-node .sx-wa-logo { width: 32px; height: 32px; }
.sx-channels .sx-wa-logo { width: 24px; height: 24px; }
.sx-marquee-item .sx-wa-logo { width: 16px; height: 16px; }
@media (min-width: 1024px) {
  .sx-wa-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sx-wa-copy { justify-content: center; padding: 96px 40px; }
  .sx-wa-zero b { font-size: 120px; line-height: 112px; }
  .sx-cells > .sx-wa-stage { min-height: 640px; }}

/* Scena dietro il telefono di "Segui l'ordine": foto tinta nel verde del campo */
.sx-wa-stage--media .sx-wa-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% center; opacity: .88; mix-blend-mode: luminosity;
}
.sx-wa-stage--media::before { z-index: 1; opacity: .3; }
.sx-wa-stage--media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16, 16, 19, .3), rgba(16, 16, 19, .66));
}
.sx-wa-stage--media .sx-wa { z-index: 2; }
.sx-wa-stage--media .sx-media-note { top: auto; right: 16px; bottom: 12px; }

/* ---------- Hero "la tavola": la carta sul video della cucina (D-051) --- */
.sx-tavola { display: block; padding: 96px 0 64px; }
.sx-tavola-media { position: absolute; inset: 0; z-index: 0; }
.sx-tavola-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 0%; }
.sx-tavola-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 19, .5) 0%, rgba(16, 16, 19, .72) 38%, rgba(16, 16, 19, .9) 100%);
}
.sx-tavola > .sx-media-note { z-index: 3; top: auto; bottom: 16px; right: 20px; }
.sx-tavola-in {
  position: relative; z-index: 2; display: grid; gap: 32px;
  width: min(1480px, calc(100% - 32px)); margin-inline: auto;
}
.sx-tavola-say { display: flex; flex-direction: column; gap: 18px; max-width: 580px; }
.sx-tavola-set { display: grid; gap: 14px; align-items: start; }

/* La carta: fondo carta, filetti sottili, prezzi a destra. */
.sx-carta { background: var(--sx-paper); color: var(--sx-ink); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8); }
.sx-carta-head { padding: 18px 20px 14px; border-bottom: 1px solid rgba(16, 16, 19, .18); }
.sx-carta-name { font-size: 21px; line-height: 27px; font-weight: 500; letter-spacing: -.02em; }
.sx-carta-meta, .sx-carta-foot {
  font-family: var(--font-mono); font-size: 10.5px; line-height: 16px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(16, 16, 19, .5);
}
.sx-carta-cats { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 16px; border-bottom: 1px solid rgba(16, 16, 19, .12); }
.sx-carta-cats button {
  padding: 5px 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(16, 16, 19, .58);
}
.sx-carta-cats button:hover { color: var(--sx-ink); }
.sx-carta-cats button[aria-pressed="true"] { background: var(--sx-ink); color: var(--sx-paper); }
.sx-carta-list { max-height: 364px; overflow-y: auto; overscroll-behavior: contain; }
.sx-carta-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 28px; gap: 12px; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid rgba(16, 16, 19, .09);
}
.sx-carta-row.is-picked { background: rgba(37, 211, 102, .12); }
.sx-carta-row img { display: block; width: 52px; height: 52px; object-fit: cover; }
.sx-carta-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sx-carta-txt b { font-size: 15px; line-height: 21px; font-weight: 500; }
.sx-carta-txt > span { font-size: 13px; line-height: 18px; color: rgba(16, 16, 19, .6); }
.sx-carta-txt em {
  font-family: var(--font-mono); font-size: 9.5px; line-height: 14px; letter-spacing: .06em;
  text-transform: uppercase; font-style: normal; color: rgba(16, 16, 19, .42);
}
.sx-carta-n { font-family: var(--font-mono); font-size: 12px; font-style: normal; color: #0E7A3C; }
.sx-carta-price { font-family: var(--font-mono); font-size: 13px; }
.sx-carta-row button { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(16, 16, 19, .22); color: var(--sx-ink); }
.sx-carta-row button:hover { background: var(--sx-field); border-color: var(--sx-field); }
.sx-carta-row [data-arrow] { width: 14px; height: 14px; }
.sx-carta-foot { padding: 12px 16px 14px; }

/* La comanda: lo scontrino che si riempie. */
.sx-comanda { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--sx-paper); color: var(--sx-ink); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8); }
.sx-comanda-head {
  display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed rgba(16, 16, 19, .32);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.sx-comanda-head [data-px] { width: 16px; height: 16px; }
.sx-comanda-list { display: flex; flex-direction: column; gap: 7px; min-height: 92px; font-family: var(--font-mono); font-size: 12.5px; line-height: 18px; }
.sx-comanda-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 18px; gap: 6px; align-items: center; }
.sx-comanda-list .sx-comanda-empty { display: block; color: rgba(16, 16, 19, .45); }
.sx-comanda-d { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sx-comanda-p { text-align: right; }
.sx-comanda-list button { display: grid; place-items: center; width: 18px; height: 18px; color: rgba(16, 16, 19, .45); }
.sx-comanda-list button:hover { color: var(--sx-coral); }
.sx-comanda-list [data-arrow] { width: 12px; height: 12px; }
.sx-comanda-type { display: flex; gap: 4px; }
.sx-comanda-type button {
  flex: 1; padding: 7px; border: 1px solid rgba(16, 16, 19, .22);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(16, 16, 19, .62);
}
.sx-comanda-type button[aria-pressed="true"] { background: var(--sx-ink); border-color: var(--sx-ink); color: var(--sx-paper); }
.sx-comanda-tot { padding-top: 10px; border-top: 1px dashed rgba(16, 16, 19, .32); font-family: var(--font-mono); font-size: 13px; }
.sx-comanda-send {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 14px; border-radius: 6px;
  background: var(--sx-field); color: var(--sx-ink); font-size: 15px; font-weight: 500;
}
.sx-comanda-send:hover { filter: brightness(1.06); }
.sx-comanda-send[disabled] { background: rgba(16, 16, 19, .1); color: rgba(16, 16, 19, .4); cursor: not-allowed; }
.sx-comanda-send .sx-btn-arrow { width: 16px; height: 16px; }
.sx-comanda-note { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(16, 16, 19, .45); }

@media (min-width: 900px) {
  .sx-tavola-set { grid-template-columns: minmax(0, 1.55fr) minmax(250px, .85fr); gap: 16px; }}
@media (min-width: 1240px) {
  .sx-tavola { padding: 80px 0 60px; }
  .sx-tavola-media video { object-position: 0% 42%; }
  .sx-tavola .sx-trust { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
  .sx-tavola-say { gap: 14px; max-width: 640px; }
  .sx-tavola-in { width: min(880px, calc(100% - 64px)); margin-left: max(32px, calc((100% - 1480px) / 2)); gap: 28px; }
  .sx-tavola-shade {
    background:
      linear-gradient(90deg, rgba(16, 16, 19, .9) 0%, rgba(16, 16, 19, .8) 42%, rgba(16, 16, 19, .22) 72%, rgba(16, 16, 19, .3) 100%),
      linear-gradient(180deg, rgba(16, 16, 19, 0) 70%, rgba(16, 16, 19, .6) 100%);
  }
  .sx-carta-list { max-height: 420px; }}

/* ---------- "Ricevi": dalla comanda alla porta ------------------------- */
.sx-sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; padding: 56px 16px 20px; }
.sx-sec-head .sx-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.sx-sec-head .sx-eyebrow .sx-wa-logo { width: 20px; height: 20px; }
.sx-ricevi { display: grid; gap: 14px; padding: 0 16px 56px; }
.sx-ricevi-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sx-ricevi-tabs button {
  padding: 9px 14px; border: 1px solid var(--rule); color: var(--text-2);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.sx-ricevi-tabs button:hover { color: var(--text); }
.sx-ricevi-tabs button[aria-selected="true"] { background: var(--sx-field); border-color: var(--sx-field); color: var(--sx-ink); }
.sx-ricevi .sx-demo-panel { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--rule); background: var(--surface); }
@media (min-width: 900px) {
  .sx-ricevi .sx-demo-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; column-gap: 24px; }
  .sx-ricevi .sx-dm-chat { grid-row: span 5; }}

/* ---------- Cucina e cassa: due schermi veri --------------------------- */
.sx-schermi { display: grid; gap: 14px; padding: 0 16px; }
.sx-schermo {
  /* Uno schermo resta scuro anche con il tema chiaro: i colori qui sono fissi. */
  border: 1px solid rgba(250, 250, 244, .14); background: #16161A; color: #FAFAF4;
}
.sx-schermo-top {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid rgba(250, 250, 244, .14);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(250, 250, 244, .6);
}
.sx-schermo-led { width: 8px; height: 8px; background: var(--sx-lime); animation: sxm-led 1.6s steps(1) infinite; }
.sx-schermo--cassa .sx-schermo-led { background: var(--sx-field); }
.sx-schermo-list li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid rgba(250, 250, 244, .1);
}
.sx-schermo-list b { font-family: var(--font-mono); font-size: 13px; }
.sx-schermo-list > li > span { font-size: 14px; line-height: 20px; color: rgba(250, 250, 244, .68); }
.sx-schermo-list em {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  font-style: normal; color: rgba(250, 250, 244, .55); white-space: nowrap;
}
.sx-schermo-list em.is-now { padding: 4px 7px; background: var(--sx-field); color: var(--sx-ink); }
.sx-schermo-list em.is-done { color: var(--sx-lime); }
.sx-schermo-foot {
  padding: 13px 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(250, 250, 244, .42);
}
.sx-schermi-note { padding: 24px 16px 56px; }

/* ---------- Il QR al tavolo ------------------------------------------- */
.sx-qr { display: grid; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sx-qr-shot { position: relative; min-height: 300px; overflow: hidden; background: var(--sx-ink-2); }
.sx-qr-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.sx-qr-shot .sx-media-note { top: auto; right: 14px; bottom: 12px; }
.sx-qr-copy { display: flex; flex-direction: column; gap: 16px; padding: 48px 16px; }

/* ---------- Le pagine della carta ------------------------------------- */
.sx-pagine { padding: 8px 16px 0; border-top: 1px solid var(--rule); }
.sx-pagina { border-bottom: 1px solid var(--rule); }
.sx-pagina a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; color: var(--text); }
.sx-pagina img { width: 48px; height: 60px; object-fit: cover; }
.sx-pagina-n { display: none; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.sx-pagina-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sx-pagina-txt b { font-size: 19px; line-height: 25px; font-weight: 500; letter-spacing: -.02em; }
.sx-pagina-txt > span { font-size: 14px; line-height: 20px; color: var(--text-2); }
.sx-pagina-go {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
}
.sx-pagina-go [data-arrow] { width: 14px; height: 14px; }
.sx-pagina a:hover { background: var(--soft); }
.sx-pagina a:hover .sx-pagina-go { color: var(--sx-field); }
.sx-pagine-more { padding: 20px 16px 56px; color: var(--text-2); }
.sx-pagine-more a { color: var(--sx-field); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 720px) {
  .sx-pagina a { grid-template-columns: 56px 40px minmax(0, 1fr) auto; padding: 16px 0; }
  .sx-pagina img { width: 56px; height: 70px; }
  .sx-pagina-n { display: block; }
  .sx-pagina-txt b { font-size: 21px; line-height: 28px; }}
@media (min-width: 900px) {
  .sx-schermi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-schermi-note { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }}
@media (min-width: 1024px) {
  .sx-qr { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .sx-qr-copy { justify-content: center; padding: 72px 48px; }}

/* ---------- Le domande dei locali ------------------------------------- */
.sx-domande { padding: 0 16px 56px; border-top: 1px solid var(--rule); }
.sx-domande details { border-bottom: 1px solid var(--rule); }
.sx-domande summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  cursor: pointer; list-style: none; font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -.015em;
}
.sx-domande summary::-webkit-details-marker { display: none; }
.sx-domande summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--rule); font-family: var(--font-mono); font-size: 14px; color: var(--text-2);
}
.sx-domande details[open] summary::after { content: "\2212"; background: var(--sx-field); border-color: var(--sx-field); color: var(--sx-ink); }
.sx-domande details p { max-width: 640px; padding: 0 44px 20px 0; color: var(--text-2); }
.sx-fiducia {
  padding: 0 16px 20px; font-family: var(--font-mono); font-size: 10.5px; line-height: 17px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text-2);
}
@media (min-width: 900px) {
  .sx-domande { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
}

/* ---------- Pagine legali: privacy, termini, cookie --------------------- */
.sx-legale { display: grid; gap: 28px; padding: 88px 16px 64px; }
.sx-legale-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sx-legale .sx-crumbs { color: var(--text-2); }
.sx-legale .sx-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.sx-legale-meta {
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2);
}
.sx-legale-toc { align-self: start; padding: 16px; border: 1px solid var(--rule); }
.sx-legale-toc ol { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.sx-legale-toc a { font-size: 14px; line-height: 20px; color: var(--text-2); }
.sx-legale-toc a:hover { color: var(--text); }
.sx-legale-body { max-width: 720px; }
.sx-legale-body section { padding: 28px 0; border-top: 1px solid var(--rule); scroll-margin-top: 72px; }
.sx-legale-body h2 { margin-bottom: 12px; font-size: 21px; line-height: 29px; font-weight: 500; letter-spacing: -.02em; }
.sx-legale-body p, .sx-legale-body li { font-size: 16px; line-height: 26px; }
.sx-legale-body p + p { margin-top: 12px; }
.sx-legale-body ul { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; padding-left: 20px; list-style: disc; }
.sx-legale-body li::marker { color: var(--sx-field); }
.sx-legale-body b { font-weight: 500; }
.sx-legale-body a { text-decoration: underline; text-underline-offset: 3px; }
.sx-legale-body code { font-family: var(--font-mono); font-size: 13px; }
.sx-legale-table { margin: 12px 0; overflow-x: auto; }
.sx-legale-table table { width: 100%; min-width: 520px; border-collapse: collapse; }
.sx-legale-table th, .sx-legale-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.sx-legale-table th {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2);
}
.sx-legale-table td { font-size: 15px; line-height: 23px; }
.sx-legale-altre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sx-legale-altre .sx-eyebrow { flex-basis: 100%; }
@media (min-width: 1024px) {
  .sx-legale { grid-template-columns: 240px minmax(0, 720px); column-gap: 64px; padding: 120px 32px 96px; }
  .sx-legale-head, .sx-legale-altre { grid-column: 1 / -1; }
  .sx-legale-toc { position: sticky; top: 72px; }
}

/* ---------- Reduced motion: everything visible and still -------------- */
@media (prefers-reduced-motion: reduce) {
  .sx-menu *, .sx-menu *::before, .sx-menu *::after { animation: none !important; transition: none !important; }
  .sx-tag::after { transform: none; }
  .sx-flow i { left: 48%; }
  .sx-pk-line i { left: calc(50% - 3px); }
  .sx-person:hover img { transform: none; }
  .sx-marquee-viewport { overflow-x: auto; }
}