/* Genesys Labs · genesyslabs.online
   Un file solo, niente framework. Colori dello studio: nero #060B08 e menta #4ADE80.
   Caratteri: Inter e JetBrains Mono (gli stessi del Listino 2026), ospitati qui. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #060B08;
  --bg-alt: #08110C;
  --card: rgba(255, 255, 255, .022);
  --line: rgba(214, 255, 228, .085);
  --line-2: rgba(214, 255, 228, .16);
  --text: #ECF3EE;
  --muted: #A3B5AA;
  --faint: #6F8277;
  --mint: #4ADE80;
  --mint-hi: #7CEBA6;
  --mint-ink: #03210E;
  --mint-soft: rgba(74, 222, 128, .12);
  --red: #F87171;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 20px;
  --header: 68px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* width/height nell'html servono solo a riservare lo spazio */
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: rgba(74, 222, 128, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 36px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.preview-banner {
  position: relative; z-index: 49; display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 18px;
  padding: 7px 18px; border-bottom: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); font: 500 10px/1.4 var(--mono);
}
.preview-banner b { margin-right: 8px; color: var(--mint); font-weight: 700; }
.preview-banner a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(74,222,128,.38); text-underline-offset: 3px; }
.preview-banner a .i { width: 12px; height: 12px; color: var(--mint); }
.small { font-size: .88rem; color: var(--faint); line-height: 1.55; }
.small .i { display: inline-block; vertical-align: -3px; margin-right: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mint);
}
.sec-head .eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; box-shadow: 0 0 12px var(--mint); }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--mint); animation: ping 2.2s var(--ease) infinite; }

/* ---------- pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--mint); color: var(--mint-ink); font-weight: 650; font-size: .98rem; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, .5), 0 12px 32px -12px rgba(74, 222, 128, .55);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover { background: var(--mint-hi); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(124, 235, 166, .7), 0 18px 40px -12px rgba(74, 222, 128, .7); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .9rem; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(74, 222, 128, .07); color: var(--text); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .55); }
.btn-ghost:hover .i[href], .btn-ghost:hover .i { transform: translate(2px, -2px); }
.btn[href="#lavori"]:hover .i, .hero-actions .btn-ghost:hover .i { transform: translateY(3px); }
.link { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); font-weight: 600; }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.link:hover { color: var(--mint-hi); }

/* ---------- testata ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.top.is-scrolled { background: rgba(6, 11, 8, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.top-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.1rem; }
.brand-mark {
  width: 24px; height: 28px; background: var(--mint); flex: none;
  -webkit-mask: url('/img/emblema-96.png') center / contain no-repeat; mask: url('/img/emblema-96.png') center / contain no-repeat;
  transition: transform .6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-name { font-weight: 760; letter-spacing: -.02em; }
.brand-name b { font-weight: 400; color: var(--muted); margin-left: 5px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); font-size: .95rem; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a[aria-current='true'] { color: var(--text); background: rgba(74, 222, 128, .09); }
.top-cta { margin-left: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; margin-left: auto;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .95rem;
}
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px; padding: 8px clamp(16px, 4vw, 36px) 32px;
  background: rgba(6, 11, 8, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.menu[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.menu-head .menu-btn { display: inline-flex; margin: 0; padding: 0; width: 40px; justify-content: center; }
.menu-nav { display: grid; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 720; letter-spacing: -.03em; }
.menu-nav a span { font: 500 12px var(--mono); color: var(--mint); }
.menu.is-open .menu-nav a { animation: rise-in .6s var(--ease) both; }
.menu.is-open .menu-nav a:nth-child(2) { animation-delay: .04s; }
.menu.is-open .menu-nav a:nth-child(3) { animation-delay: .08s; }
.menu.is-open .menu-nav a:nth-child(4) { animation-delay: .12s; }
.menu.is-open .menu-nav a:nth-child(5) { animation-delay: .16s; }
.menu.is-open .menu-nav a:nth-child(6) { animation-delay: .2s; }
.menu .btn { width: 100%; }
.menu-note { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: .92rem; }

/* ---------- apertura ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); isolation: isolate; overflow-x: clip; }
.hero-bg { position: absolute; inset: calc(var(--header) * -1) 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(214, 255, 228, .13) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ''; position: absolute; width: 900px; height: 700px; right: -220px; top: -160px;
  background: radial-gradient(closest-side, rgba(74, 222, 128, .16), transparent);
  filter: blur(20px); animation: drift 16s ease-in-out infinite alternate;
}
.hero-emblem {
  position: absolute; width: min(620px, 60vw); aspect-ratio: 759 / 876; left: -140px; bottom: -120px;
  background: linear-gradient(160deg, rgba(74, 222, 128, .09), rgba(74, 222, 128, 0) 70%);
  -webkit-mask: url('/assets/logo_white_transparent.png?v=2') center / contain no-repeat;
  mask: url('/assets/logo_white_transparent.png?v=2') center / contain no-repeat;
  animation: turn 90s linear infinite;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .94fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { padding-bottom: 12px; container-type: inline-size; }
.hero-copy .eyebrow { animation: fade-up .8s .05s var(--ease) both; }
/* Tre righe fisse: la dimensione segue la larghezza della colonna (cqi), cosi' la riga
   piu' lunga, "Il tuo lavoro merita", entra sempre intera. Sul telefono va a capo. */
.hero-title { font-size: clamp(2rem, 11.6cqi, 5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 760; margin: 20px 0 24px; }
.hero-title .line > span { white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; animation: line-up 1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.hero-title .line:nth-child(3) > span { animation-delay: .2s; }
.hero-title em {
  position: relative; font-style: normal; color: transparent;
  background: linear-gradient(90deg, #4ADE80, #B8F5CE 55%, #4ADE80); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; animation: shine 6s 1.2s ease-in-out infinite;
}
.hero-title em::after {
  content: ''; position: absolute; left: 0; right: .12em; bottom: -.02em; height: .075em; border-radius: 99px;
  background: linear-gradient(90deg, var(--mint), rgba(74, 222, 128, .15));
  transform: scaleX(0); transform-origin: left; animation: draw .9s 1s var(--ease) forwards;
}
.hero-lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--muted); max-width: 35em; animation: fade-up .9s .3s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: fade-up .9s .4s var(--ease) both; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-size: .93rem; color: var(--muted); animation: fade-up .9s .5s var(--ease) both; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--mint); }

.stage { position: relative; padding: 34px 0 64px 60px; animation: stage-in 1.2s .15s var(--ease) both; }
.stage::before {
  content: ''; position: absolute; inset: 12% -6% 0 18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(74, 222, 128, .22), transparent); filter: blur(30px);
  animation: breathe 7s ease-in-out infinite;
}
.stage-note { position: absolute; top: 2px; right: 4px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.stage-browser { animation: float 9s ease-in-out infinite; }
.stage-phone { position: absolute; left: 0; bottom: 0; width: 30%; min-width: 132px; animation: float 7s -2s ease-in-out infinite; }
.stage-chip {
  position: absolute; right: 0; bottom: 8px; max-width: 62%;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 999px;
  background: rgba(11, 19, 14, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); font-size: .88rem; line-height: 1.3; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
}
.stage-chip [data-caption] { transition: opacity .35s; }
.stage-chip.is-changing [data-caption] { opacity: 0; }

.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #0B120E;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 30px 120px -50px rgba(74, 222, 128, .35);
}
.browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #0E1712; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A2A28; }
.dots i:nth-child(1) { background: #E5534B; opacity: .85; }
.dots i:nth-child(2) { background: #D9A23A; opacity: .85; }
.dots i:nth-child(3) { background: #3FB950; opacity: .85; }
.url {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; max-width: 72%; height: 22px; margin: 0 auto;
  border-radius: 7px; background: rgba(255, 255, 255, .045); font: 12px var(--mono); color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-26px);
}
.url .i { width: 11px; height: 11px; color: var(--faint); }
.browser-view { position: relative; aspect-ratio: 16 / 10; }
.browser > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.025); transition: opacity .9s ease, transform 1.4s var(--ease); }
.slide.is-on { opacity: 1; transform: none; }
.phone {
  padding: 6px; border-radius: 30px; background: #0A0F0C;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.phone-screen { position: relative; aspect-ratio: 560 / 1212; border-radius: 24px; overflow: hidden; background: #000; }
.phone-screen > img:not(.slide) { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.ticker {
  margin-top: clamp(48px, 7vw, 96px); padding: 18px 0; border-block: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: .75; }

/* ---------- sezioni ---------- */
.sec { position: relative; padding: clamp(64px, 7.5vw, 108px) 0; }
.sec-alt { background: linear-gradient(180deg, var(--bg), var(--bg-alt) 10%, var(--bg-alt) 90%, var(--bg)); }
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec h2 { font-size: clamp(2.1rem, 1.25rem + 2.7vw, 3.55rem); line-height: 1.05; letter-spacing: -.038em; font-weight: 740; margin: 16px 0 18px; }
.sec-lead { font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); color: var(--muted); max-width: 40em; }

.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(28px); }

/* ---------- servizi ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 2; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); }
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(74, 222, 128, .11), transparent 45%);
}
.tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(74, 222, 128, .7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile-wide { grid-column: span 4; flex-direction: row; gap: 28px; }
.tile-band { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 36px; }
.tile-text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 50%; min-width: 0; }
.tile-band .tile-text { flex: 1 1 46%; }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); border: 1px solid rgba(74, 222, 128, .28); color: var(--mint); }
.tile-icon .i { width: 22px; height: 22px; }
.tile h3 { font-size: 1.3rem; letter-spacing: -.02em; font-weight: 680; margin-top: 6px; }
.tile p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.tile .tile-meta { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tile .link { margin-top: auto; padding-top: 6px; }
.tile .tile-price { margin-top: auto; font-size: .92rem; }
.tile .tile-price b { color: var(--text); font-weight: 700; font-size: 1.05rem; }

.mini { position: relative; margin-top: auto; min-height: 120px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); overflow: hidden; font-size: 12px; }
.tile-wide .mini, .tile-band .mini { flex: 1 1 48%; margin-top: 0; }
.mini *, .mini::before, .mini::after { animation-play-state: paused !important; }
.tile.play .mini *, .tile.play .mini::before, .tile.play .mini::after { animation-play-state: running !important; }

/* bacheca ordini */
.mini-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; min-height: 236px; align-content: start; }
.mb-col { display: flex; flex-direction: column; gap: 6px; }
.mb-col b { display: flex; justify-content: space-between; font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 2px 2px 4px; }
.mb-col em { font-style: normal; color: var(--mint); }
.mb-card { padding: 9px 10px; border-radius: 9px; background: #101B15; border: 1px solid var(--line); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-card.dim { color: var(--muted); }
.mb-move {
  position: absolute; top: 118px; left: 12px; width: calc((100% - 40px) / 3);
  padding: 9px 10px; border-radius: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(74, 222, 128, .15); border: 1px solid rgba(74, 222, 128, .6); color: var(--text);
  box-shadow: 0 10px 30px -10px rgba(74, 222, 128, .5);
  animation: board-move 8s var(--ease) infinite;
}
.mb-toast {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 11px; background: #0F1B14; border: 1px solid rgba(74, 222, 128, .35); color: var(--text);
  animation: toast 8s var(--ease) infinite;
}
.mb-toast .i { color: var(--mint); width: 15px; height: 15px; }

/* sito */
.mini-site { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ms-bar { display: flex; gap: 5px; margin-bottom: 4px; }
.ms-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ms-h { height: 11px; width: 62%; border-radius: 6px; background: linear-gradient(90deg, rgba(74, 222, 128, .55), rgba(74, 222, 128, .15)); }
.ms-l { height: 7px; width: 88%; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.ms-l.short { width: 58%; }
.ms-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 11px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 11px; animation: pulse-ring 2.6s ease-out infinite; }
.ms-btn .i { width: 12px; height: 12px; }

/* prenotazioni */
.mini-cal { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mc-grid i { aspect-ratio: 1.3; border-radius: 6px; background: rgba(255, 255, 255, .055); }
.mc-grid i.on { background: var(--mint); animation: pick 5s var(--ease) infinite; }
.mc-slot { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 7px 11px; border-radius: 9px; background: var(--mint-soft); border: 1px solid rgba(74, 222, 128, .35); color: var(--text); animation: slot-in 5s var(--ease) infinite; }
.mc-slot .i { color: var(--mint); width: 13px; height: 13px; }

/* gestionale */
.mini-table { display: flex; flex-direction: column; }
.mini-table::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(90deg, transparent, rgba(74, 222, 128, .09), transparent); animation: scan 4.5s ease-in-out infinite; }
.mini-table span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.mini-table span:last-child { border-bottom: 0; }
.mini-table i { height: 7px; width: 46%; border-radius: 9px; background: rgba(255, 255, 255, .09); }
.mini-table b { font: 600 10.5px var(--mono); padding: 4px 8px; border-radius: 99px; }
.mini-table .ok { background: rgba(74, 222, 128, .15); color: var(--mint); }
.mini-table .wip { background: rgba(250, 204, 21, .12); color: #FACC15; }
.mini-table .new { background: rgba(96, 165, 250, .14); color: #93C5FD; }

/* app */
.mini-app { display: flex; justify-content: center; }
.ma-phone { position: relative; width: 104px; height: 150px; margin-top: 16px; border-radius: 18px 18px 0 0; border: 2px solid rgba(255, 255, 255, .16); border-bottom: 0; background: linear-gradient(180deg, rgba(74, 222, 128, .08), transparent); }
.ma-notif {
  position: absolute; top: 16px; left: 50%; width: 178px; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 11px; background: #16241B; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .8); animation: notif 5s var(--ease) infinite;
}
.ma-notif b { width: 16px; height: 16px; border-radius: 5px; background: var(--mint); flex: none; }

/* classifica */
.mini-rank { padding: 12px; min-height: 236px; }
.mr-head { display: flex; align-items: center; gap: 9px; margin: 2px 2px 12px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.mr-head .live-dot { width: 7px; height: 7px; }
.mr-row { position: relative; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; height: 36px; padding: 0 12px; margin-bottom: 7px; border-radius: 9px; background: rgba(255, 255, 255, .04); color: var(--text); overflow: hidden; }
.mr-row b { font: 700 12px var(--mono); color: var(--mint); }
.mr-row i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); background: linear-gradient(90deg, var(--mint), rgba(74, 222, 128, .1)); animation: grow 8s var(--ease) infinite; transform-origin: left; }
.mr-row.r2 { animation: swap-down 8s var(--ease) infinite; }
.mr-row.r3 { animation: swap-up 8s var(--ease) infinite; }

/* automazioni */
.mini-flow { display: flex; align-items: center; padding: 18px 12px; }
.mf-node { padding: 8px 10px; border-radius: 9px; background: #111C16; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.mf-line { position: relative; flex: 1; min-width: 18px; height: 1px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 4px, transparent 4px 8px); }
.mf-line i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: travel 2.4s linear infinite; }
.mf-line + .mf-node + .mf-line i { animation-delay: 1.2s; }

/* hosting */
.mini-pulse { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px; min-height: 120px; }
.mini-pulse svg { width: 100%; height: 48px; overflow: visible; }
.mini-pulse path { fill: none; stroke: var(--mint); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: dash 3.2s linear infinite; filter: drop-shadow(0 0 6px rgba(74, 222, 128, .6)); }
.mp-label { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px var(--mono); color: var(--muted); }
.mp-label .live-dot { width: 7px; height: 7px; }

/* ---------- lavori ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.case + .case { border-top: 1px solid var(--line); margin-top: clamp(24px, 4vw, 48px); padding-top: clamp(48px, 6vw, 88px); }
.case-flip .case-visual { order: 2; }
.case-visual { position: relative; padding: 0 44px 64px 0; }
.case-flip .case-visual { padding: 0 44px 64px 0; }
.case-browser { transition: transform .8s var(--ease); }
.case:hover .case-browser { transform: translateY(-4px); }
.case-phone { position: absolute; right: 0; bottom: 0; width: 27%; min-width: 108px; transition: transform .8s var(--ease); }
.case:hover .case-phone { transform: translateY(-10px) rotate(-1.5deg); }
.case-visual-app .case-phone { z-index: 2; }
.case-visual-app .case-phone-2 { right: 27%; bottom: 34px; width: 23%; z-index: 1; }
.case:hover .case-phone-2 { transform: translateY(-6px) rotate(1.5deg); }
.case-screen { position: absolute; left: -18px; bottom: 12px; width: 42%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .95); }
.case-screen img { width: 100%; }
.case-screen figcaption { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .7); font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.case-kind { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.case-text h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.035em; font-weight: 740; margin: 12px 0 14px; }
.case-text > p:not([class]) { color: var(--muted); font-size: 1.04rem; }
.ticks { display: grid; gap: 11px; margin: 22px 0; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.55; font-size: .98rem; }
.ticks .i { color: var(--mint); width: 18px; height: 18px; margin-top: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 12px var(--mono); color: var(--text); }
/* "In evidenza": i due lavori in primo piano */
.case-flag { margin-left: 10px; padding: 2px 10px; border-radius: 999px; font-size: 10.5px; vertical-align: 1px; color: var(--mint);
  border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent); background: color-mix(in srgb, var(--mint) 14%, transparent); }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }

.products { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.products-title { font-size: 1.4rem; font-weight: 680; letter-spacing: -.02em; margin-bottom: 24px; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: transform .4s var(--ease), border-color .3s; }
.product:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, .38); }
.product-shot { aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 8px; background: #0B120E; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.product:hover .product-shot img { transform: scale(1.04); }
.product-name { display: flex; align-items: center; gap: 7px; font-size: 1.12rem; font-weight: 680; padding-inline: 4px; }
.product-name .i { width: 15px; height: 15px; color: var(--faint); transition: transform .3s var(--ease), color .3s; }
.product:hover .product-name .i { color: var(--mint); transform: translate(2px, -2px); }
.product-desc { color: var(--muted); font-size: .95rem; padding-inline: 4px; }
.product-by { margin-top: auto; padding: 6px 4px 0; font: 500 11.5px var(--mono); color: var(--faint); }

/* ---------- chi siamo ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.reasons li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.reasons .i { width: 24px; height: 24px; color: var(--mint); margin-bottom: 8px; }
.reasons b { font-size: 1.06rem; font-weight: 660; }
.reasons span { color: var(--muted); font-size: .95rem; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%), var(--card);
}
.person::before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.person-mono {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex: none;
  font: 700 15px var(--mono); color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}
.person-mono.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.person h3 { font-size: 1.22rem; letter-spacing: -.02em; margin: 20px 0 6px; }
.person-role { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.person > p:not([class]) { color: var(--muted); font-size: .98rem; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 20px; }
.person-tags span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: .8rem; }
.person .link { margin-top: auto; color: var(--text); }
.person .link:hover { color: var(--accent); }

/* ---------- metodo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ''; position: absolute; top: 26px; left: 26px; right: 12%; height: 1px; background: linear-gradient(90deg, rgba(74, 222, 128, .7), rgba(74, 222, 128, .08)); }
.step { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid rgba(74, 222, 128, .55); color: var(--mint); font: 600 14px var(--mono);
  box-shadow: 0 0 0 8px var(--bg-alt), 0 0 30px -6px rgba(74, 222, 128, .5);
}
.step h3 { font-size: 1.25rem; letter-spacing: -.02em; margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: .98rem; }
.timing { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding: 16px 20px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: .98rem; }
.timing .i { color: var(--mint); }
.timing b { color: var(--text); font-weight: 600; }

/* ---------- prezzi ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.plan-top { border-color: transparent; background: linear-gradient(180deg, rgba(74, 222, 128, .11), rgba(74, 222, 128, .02) 45%, rgba(255, 255, 255, .02)); }
.plan-top::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(74, 222, 128, .95), rgba(74, 222, 128, .12) 25%, rgba(74, 222, 128, .12) 75%, rgba(74, 222, 128, .95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-ang 7s linear infinite;
}
.plan-badge { position: absolute; top: -12px; left: 24px; padding: 5px 11px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan-kind { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 14px; }
.plan-price b { font-size: 2.7rem; line-height: 1; letter-spacing: -.045em; font-weight: 760; }
.plan-price span { color: var(--muted); font-size: .93rem; }
.plan-custom .plan-price b { font-size: 2.05rem; }
.plan-fee { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.plan-fee b { color: var(--text); }
.plan-desc { margin: 18px 0 2px; font-size: .99rem; }
.plan .ticks { margin: 16px 0 18px; gap: 9px; }
.plan .ticks li { font-size: .92rem; color: var(--muted); }
.plan-for { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .87rem; color: var(--faint); }
.plan-btn { width: 100%; margin-top: 18px; }
.terms { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.terms-box { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.terms-box h3 { font-size: 1.18rem; letter-spacing: -.01em; margin-bottom: 6px; }
.terms-box .ticks li { font-size: .95rem; color: var(--muted); }
.conds { margin: 12px 0 18px; }
.conds div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.conds dt { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); padding-top: 4px; }
.conds dd { color: var(--muted); font-size: .96rem; }

/* ---------- domande ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-in .sec-head { position: sticky; top: calc(var(--header) + 32px); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 620; letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mint-hi); }
.faq summary .i { color: var(--mint); transition: transform .35s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { color: var(--muted); padding: 0 44px 24px 0; line-height: 1.7; }

/* ---------- contatti ---------- */
.sec-contact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 18% 34%, rgba(74, 222, 128, .09), transparent 70%); pointer-events: none; }
.sec-contact { isolation: isolate; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.form { position: relative; display: grid; gap: 20px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line-2); background: rgba(10, 18, 13, .75); }
.field { display: grid; gap: 9px; min-width: 0; border: 0; }
.field > span, .field legend { font-size: .93rem; font-weight: 600; color: var(--text); }
.field legend { margin-bottom: 10px; }
.field small { font-weight: 400; color: var(--faint); margin-left: 6px; }
.field em { font-style: normal; color: var(--mint); }
.form input[type='text'], .form input[type='tel'], .form input[type='email'], .form textarea {
  width: 100%; height: 50px; padding: 0 15px; border-radius: 12px; font-size: 16px;
  background: #08100B; border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { height: auto; min-height: 120px; padding: 13px 15px; resize: vertical; line-height: 1.55; }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form textarea:focus { outline: none; border-color: rgba(74, 222, 128, .75); box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); background: #0A140E; }
.form.tried input:invalid, .form.tried .needs-contact input { border-color: rgba(248, 113, 113, .7); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 99px; cursor: pointer; user-select: none;
  border: 1px solid var(--line-2); color: var(--muted); font-size: .93rem; transition: all .2s;
}
.chip span::before { content: ''; width: 0; height: 12px; background: var(--mint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; transition: width .2s var(--ease); margin-right: -7px; }
.chip span:hover { color: var(--text); border-color: rgba(74, 222, 128, .4); }
.chip input:checked + span { color: var(--text); background: rgba(74, 222, 128, .13); border-color: rgba(74, 222, 128, .65); }
.chip input:checked + span::before { width: 12px; margin-right: 0; }
.chip input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #08100B; border: 1px solid var(--line-2); justify-self: start; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 15px; border-radius: 10px; color: var(--muted); font-size: .93rem; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: rgba(74, 222, 128, .16); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--mint); }
.hint { margin-top: -10px; font-size: .85rem; color: var(--faint); }
.hint.bad { color: #FCA5A5; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--mint); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form.tried .consent input:invalid + span { color: #FCA5A5; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-foot .small { flex: 1 1 220px; }
.i-spin { display: none; animation: spin 1s linear infinite; }
.is-sending .i-spin { display: block; }
.is-sending .i-send { display: none; }
.is-sending { pointer-events: none; opacity: .85; }
.form-msg { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 18px; border-radius: 14px; font-size: .97rem; color: var(--muted); }
.form-msg b { display: block; color: var(--text); font-size: 1.02rem; margin-bottom: 2px; }
.form-msg .i { width: 24px; height: 24px; }
.form-msg.ok { background: rgba(74, 222, 128, .09); border: 1px solid rgba(74, 222, 128, .45); }
.form-msg.ok .i { color: var(--mint); }
.form-msg.err { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .45); }
.form-msg.err .i { color: var(--red); }
.form.sent > :not(.form-msg):not(.form-done) { display: none; }
.form-done { display: none; }
.form.sent .form-done { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-side { display: grid; gap: 16px; }
.side-box { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.side-box h3 { font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: 6px; }
.side-box > p { color: var(--muted); font-size: .96rem; display: flex; align-items: center; gap: 8px; }
.side-box > p .i { color: var(--mint); }
.side-box > p.small { display: block; margin-top: 6px; }
.people { display: grid; gap: 8px; margin-top: 16px; }
.people a { display: grid; grid-template-columns: 36px 1fr 16px; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.people a:hover { border-color: rgba(74, 222, 128, .45); background: rgba(74, 222, 128, .04); }
.people b { display: block; font-size: .98rem; font-weight: 620; }
.people small { color: var(--faint); font-size: .82rem; }
.people .i { color: var(--faint); width: 15px; height: 15px; }

/* ---------- piede ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 28px; background: #050906; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--muted); margin: 14px 0 20px; max-width: 30em; font-size: .96rem; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h4 { font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.foot-col a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .87rem; }
.foot-bottom-wrap { padding-inline: clamp(16px, 4vw, 36px); max-width: 1220px; margin: 0 auto; }
.foot-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pagine interne (privacy, 404) ---------- */
.page { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.04em; margin: 16px 0 22px; }
.page h2 { font-size: 1.3rem; letter-spacing: -.02em; margin: 40px 0 10px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.page a:not(.btn) { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.page .lead { font-size: 1.15rem; }
.page .btn { margin-top: 28px; }

/* ---------- casella delle richieste (/richieste/) ---------- */
.inbox .wrap { max-width: 980px; }
.inbox-login { display: grid; gap: 18px; max-width: 420px; margin: 4vh auto 0; }
.inbox-login h1 { margin: 0; font-size: 2.2rem; }
.inbox-login input { width: 100%; height: 50px; padding: 0 15px; border-radius: 12px; font-size: 16px; background: #08100B; border: 1px solid var(--line-2); color: var(--text); }
.inbox-login input:focus { outline: none; border-color: rgba(74, 222, 128, .75); box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); }
.inbox-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.inbox-bar h1 { margin: 0 auto 0 0; font-size: 2.2rem; }
.inbox-bar .seg b { font: 600 12px var(--mono); color: var(--mint); margin-left: 4px; }
.inbox [data-updated] { margin: 10px 0 24px; }
.leads { display: grid; gap: 14px; }
.lead-card { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); }
.lead-card.is-done { opacity: .55; border-color: var(--line); }
.lead-head { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 12px var(--mono); color: var(--faint); }
.lead-id { color: var(--mint); }
.lead-pref { margin-left: auto; color: var(--muted); }
.lead-card h2 { font-size: 1.35rem; margin: 10px 0 8px; letter-spacing: -.02em; }
.lead-card h2 small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lead-tags span { padding: 4px 10px; border-radius: 99px; background: var(--mint-soft); color: var(--text); font-size: .82rem; }
.lead-msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .25); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.lead-contacts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font: 500 13px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lead-done { margin-left: auto; }
.inbox-empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- animazioni ---------- */
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-120px, 80px); } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-ang { to { --ang: 360deg; } }
@keyframes board-move {
  0%, 16% { transform: translateX(0); opacity: 0; }
  6%, 16% { opacity: 1; }
  30%, 46% { transform: translateX(calc(100% + 8px)); opacity: 1; }
  60%, 88% { transform: translateX(calc(200% + 16px)); opacity: 1; }
  96%, 100% { transform: translateX(calc(200% + 16px)); opacity: 0; }
}
@keyframes toast { 0%, 60% { opacity: 0; transform: translateY(10px); } 66%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(6px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
@keyframes pick { 0%, 20% { background: rgba(255, 255, 255, .055); } 30%, 90% { background: var(--mint); box-shadow: 0 0 14px rgba(74, 222, 128, .7); } 100% { background: rgba(255, 255, 255, .055); } }
@keyframes slot-in { 0%, 30% { opacity: 0; transform: translateY(8px); } 40%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(84px); } 100% { transform: translateY(0); } }
@keyframes notif { 0% { opacity: 0; transform: translate(-50%, -26px); } 12%, 78% { opacity: 1; transform: translate(-50%, 0); } 90%, 100% { opacity: 0; transform: translate(-50%, 0) scale(.96); } }
@keyframes grow { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
@keyframes swap-down { 0%, 40% { transform: none; } 50%, 88% { transform: translateY(43px); } 98%, 100% { transform: none; } }
@keyframes swap-up { 0%, 40% { transform: none; } 50%, 88% { transform: translateY(-43px); background: rgba(74, 222, 128, .12); } 98%, 100% { transform: none; } }
@keyframes travel { from { left: 0; } to { left: calc(100% - 7px); } }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ---------- schermi ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 760px; width: 100%; margin: 8px auto 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile-wide { grid-column: span 1; }
  .tile-wide, .tile-band { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .case, .case-flip { grid-template-columns: minmax(0, 1fr); }
  .case-flip .case-visual { order: 0; }
  .case-visual { max-width: 680px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .person { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; }
  .person > :not(.person-mono) { grid-column: 2; }
  .person-mono { grid-row: 1 / span 2; }
  .person h3 { margin-top: 2px; }
  .products-grid { grid-template-columns: minmax(0, 1fr); }
  .product { display: grid; grid-template-columns: 38% 1fr; column-gap: 16px; align-content: start; }
  .product-shot { grid-row: 1 / span 3; margin: 0; }
  .terms, .faq-in, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-in .sec-head { position: static; }
}
@media (max-width: 640px) {
  .preview-banner { justify-content: space-between; gap: 8px; padding-inline: 12px; font-size: 9px; }
  .preview-banner b { margin-right: 4px; }
  .preview-banner a { flex: none; }
  body { font-size: 1rem; }
  .top-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .stage { padding: 0 0 52px 22px; margin-top: 16px; }
  .stage-note { display: none; }
  .stage-phone { width: 34%; min-width: 0; }
  .stage-chip { position: relative; right: auto; bottom: auto; max-width: none; margin: 22px 0 0 calc(34% - 12px); padding: 8px 12px; font-size: .82rem; border-radius: 14px; }
  .browser-bar { height: 28px; gap: 8px; padding: 0 9px; }
  .dots i { width: 8px; height: 8px; }
  .url { height: 18px; font-size: 10.5px; transform: none; }
  .phone { padding: 4px; border-radius: 20px; }
  .phone-screen { border-radius: 16px; }
  .tile { padding: 22px; }
  .tile-wide, .tile-band { flex-direction: column; }
  .tile-wide .mini, .tile-band .mini { width: 100%; }
  .mini-board { min-height: 224px; gap: 6px; padding: 10px; }
  .mb-card, .mb-move { padding: 8px; font-size: 11px; }
  .mb-move { left: 10px; width: calc((100% - 32px) / 3); }
  .mb-col b { letter-spacing: .02em; font-size: 10px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile-wide, .tile-band { grid-column: 1 / -1; }
  .case-visual, .case-flip .case-visual { padding: 0 24px 48px 0; }
  .case-screen { left: -8px; width: 46%; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-shot { grid-row: auto; margin-bottom: 8px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .step h3 { margin-top: 12px; }
  .step p { grid-column: 2; }
  .timing { align-items: flex-start; }
  .conds div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .seg { width: 100%; }
  .seg label { flex: 1; }
  .seg span { text-align: center; padding-inline: 8px; }
  .form-foot .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .reveal.pre { opacity: 1; transform: none; }
  .mb-move, .mb-toast, .ma-notif, .mc-slot { opacity: 1 !important; }
}
