/* ==========================================================================
   AsbaCards — Design System
   HTML · CSS · JavaScript puri. Nessuna dipendenza.
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
  --paper: #F4F2ED;
  --paper-2: #ECE9E1;
  --paper-3: #E2DED3;
  --white: #FFFFFF;
  --ink: #0F1117;
  --ink-2: #2A2D38;
  --ink-3: #4A4D5A;
  --muted: #7A7C88;
  --line: rgba(15, 17, 23, .10);
  --line-2: rgba(15, 17, 23, .16);

  --blue: #2E4BFF;
  --blue-2: #1F36D6;
  --blue-soft: #E4E8FF;
  --coral: #FF5C39;
  --coral-soft: #FFE6DF;
  --lime: #D4F25A;
  --lime-soft: #F1FBD0;
  --green: #17A86B;
  --red: #E5383B;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(15,17,23,.06), 0 2px 8px rgba(15,17,23,.04);
  --shadow: 0 2px 4px rgba(15,17,23,.04), 0 12px 32px -8px rgba(15,17,23,.14);
  --shadow-lg: 0 4px 8px rgba(15,17,23,.04), 0 30px 70px -20px rgba(15,17,23,.30);
  --shadow-blue: 0 14px 34px -10px rgba(46,75,255,.55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* grana carta */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-sm { max-width: 860px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

/* ---------- 4. Tipografia ---------- */
.display, h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variation-settings: "opsz" 96; }
.h-hero { font-size: clamp(46px, 8.4vw, 124px); letter-spacing: -.055em; line-height: .92; font-weight: 700; }
.h-1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.05em; line-height: .95; }
.h-2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.045em; line-height: 1; }
.h-3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.08; }
.h-4 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-3); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--font-mono); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -.04em; }
.hl { color: var(--blue); }
.hl-coral { color: var(--coral); }
.mark {
  background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
  padding: 0 .06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
.eyebrow.is-coral::before { background: var(--coral); }
.eyebrow.is-lime::before { background: var(--lime); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 22px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 5. Bottoni ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 550; font-size: 15.5px; letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blue);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow-blue); }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-blue { --bg: var(--blue); }
.btn-blue::after { background: var(--ink); }
.btn-blue:hover { box-shadow: 0 14px 34px -10px rgba(15,17,23,.5); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { --fg: #fff; box-shadow: none; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light::after { background: var(--lime); }
.btn-light:hover { box-shadow: 0 14px 34px -10px rgba(212,242,90,.5); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { height: 62px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn-label { opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .3s, gap .4s var(--ease); }
.link-arrow:hover { color: var(--blue); gap: 12px; }

/* ---------- 6. Chip / badge ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(23,168,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23,168,107,.5); } 70% { box-shadow: 0 0 0 8px rgba(23,168,107,0); } 100% { box-shadow: 0 0 0 0 rgba(23,168,107,0); } }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em; background: var(--blue-soft); color: var(--blue-2); }
.badge-coral { background: var(--coral-soft); color: #C23A1C; }
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-ink { background: var(--ink); color: #fff; }

/* ---------- 7. Navigazione ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease), height .4s var(--ease);
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(244,242,237,.78);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.05em; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-mark .lm-back { transform-origin: center; transition: transform .6s var(--spring); }
.logo:hover .lm-back { transform: rotate(-14deg) translate(-2px, 1px); }
.logo b { font-weight: 700; color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(15,17,23,.05); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transform: translateX(-50%); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-login { font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .25s; }
.nav-login:hover { background: rgba(15,17,23,.05); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; z-index: 120; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink); color: #fff;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .nav .logo { color: #fff; position: relative; z-index: 120; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display); font-size: clamp(38px, 10vw, 60px); font-weight: 650; letter-spacing: -.05em; line-height: 1.15;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 6px 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease), color .2s;
}
.mobile-menu nav a small { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: 0; }
.mobile-menu nav a:hover { color: var(--lime); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .18s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .23s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .28s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .33s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .38s; }
body.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .43s; }
body.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .48s; }
.mobile-menu-foot { display: grid; gap: 10px; }

/* ---------- 8. Reveal / animazioni ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatR { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---------- 9. Business card 3D ---------- */
.bcard {
  --c1: #2E4BFF; --c2: #1A2CB8; --fg: #fff; --acc: var(--lime);
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative;
  width: 100%; aspect-ratio: 85 / 54;
  perspective: 1400px;
  container-type: inline-size;
  -webkit-tap-highlight-color: transparent;
}
.bcard-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
  border-radius: clamp(14px, 3.2cqi, 22px);
}
.bcard.is-tracking .bcard-inner { transition: transform .12s linear; }
.bcard.is-flipped .bcard-inner { transform: rotateX(var(--rx)) rotateY(calc(180deg + var(--ry))); }
.bcard-face {
  position: absolute; inset: 0;
  border-radius: inherit;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--fg);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 30px 60px -22px rgba(15,17,23,.55), 0 10px 20px -10px rgba(15,17,23,.25);
  container-type: inline-size;
}
.bcard-back { transform: rotateY(180deg); }
.bcard-face::before { /* riflesso */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.38), rgba(255,255,255,0) 45%);
  mix-blend-mode: soft-light;
  opacity: .9;
}
.bcard-face::after { /* holo */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, rgba(255,255,255,0) 52%, transparent 60%);
  background-size: 250% 100%;
  background-position: calc(var(--mx) * 1.6) 0;
  mix-blend-mode: overlay;
}
.bc-pattern { position: absolute; inset: 0; z-index: 1; opacity: .22; pointer-events: none; }
.bc-content { position: relative; z-index: 4; height: 100%; padding: 8.5cqi 8cqi; display: flex; flex-direction: column; justify-content: space-between; }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bc-logo { display: flex; align-items: center; gap: 2.4cqi; font-family: var(--font-display); font-weight: 700; font-size: 5.4cqi; letter-spacing: -.04em; }
.bc-logo i { display: grid; place-items: center; width: 8.6cqi; height: 8.6cqi; border-radius: 2.2cqi; background: var(--acc); color: var(--ink); font-style: normal; font-size: 4.6cqi; }
.bc-nfc { width: 7cqi; height: 7cqi; opacity: .85; }
.bc-name { font-family: var(--font-display); font-weight: 650; font-size: 8.4cqi; letter-spacing: -.045em; line-height: 1; }
.bc-role { font-size: 3.7cqi; opacity: .75; margin-top: 1.6cqi; }
.bc-foot { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--font-mono); font-size: 3.1cqi; opacity: .8; }
.bc-chip { width: 11cqi; height: 8.4cqi; border-radius: 1.6cqi; background: linear-gradient(135deg, #f3e4b5, #c9a75b); position: relative; overflow: hidden; }
.bc-chip::before, .bc-chip::after { content: ""; position: absolute; background: rgba(0,0,0,.18); }
.bc-chip::before { left: 33%; right: 33%; top: 0; bottom: 0; border-left: 1px solid rgba(0,0,0,.2); border-right: 1px solid rgba(0,0,0,.2); background: none; }
.bc-chip::after { top: 50%; left: 0; right: 0; height: 1px; }
.bc-back-wrap { position: relative; z-index: 4; height: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7cqi; padding: 8cqi; }
.bc-qr { width: 34cqi; height: 34cqi; background: #fff; border-radius: 3cqi; padding: 2.6cqi; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.bc-qr svg { width: 100%; height: 100%; }
.bc-back-txt b { display: block; font-family: var(--font-display); font-size: 6.6cqi; letter-spacing: -.04em; line-height: 1; margin-bottom: 2.6cqi; }
.bc-back-txt span { font-size: 3.5cqi; opacity: .8; line-height: 1.45; display: block; }
.bc-back-txt .bc-url { font-family: var(--font-mono); margin-top: 3cqi; font-size: 3.3cqi; opacity: 1; color: var(--acc); }
.bcard-hint { position: absolute; bottom: -38px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; display: flex; gap: 8px; align-items: center; }

/* varianti colore card */
.v-blue  { --c1: #3954FF; --c2: #1726A8; --fg: #fff; --acc: var(--lime); }
.v-ink   { --c1: #23262F; --c2: #08090C; --fg: #fff; --acc: var(--coral); }
.v-coral { --c1: #FF7A52; --c2: #F0401C; --fg: #fff; --acc: #fff; }
.v-paper { --c1: #FFFFFF; --c2: #ECE8DE; --fg: var(--ink); --acc: var(--blue); }
.v-lime  { --c1: #E1F873; --c2: #B9E03A; --fg: var(--ink); --acc: var(--ink); }
.v-paper .bc-logo i, .v-lime .bc-logo i { color: #fff; }
.v-coral .bc-logo i { color: var(--coral); }
.v-forest { --c1: #1F5E4A; --c2: #0C2E24; --fg: #fff; --acc: #F2C46B; }

/* ---------- 10. Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy .lead { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; font-size: 14px; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--blue); }
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero-blob.b1 { width: 520px; height: 520px; background: #C9D1FF; right: -120px; top: 40px; }
.hero-blob.b2 { width: 360px; height: 360px; background: #FFD6C9; right: 260px; bottom: -80px; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero-stage { position: relative; height: clamp(380px, 46vw, 560px); perspective: 1600px; }
.stack-card { position: absolute; width: min(440px, 88%); left: 50%; top: 50%; transition: transform 1.1s var(--ease); }
.stack-card.s1 { transform: translate(-50%, -50%) translate(0, 0) rotate(-4deg); z-index: 3; }
.stack-card.s2 { transform: translate(-50%, -50%) translate(-30px, -46px) rotate(-12deg) scale(.94); z-index: 2; }
.stack-card.s3 { transform: translate(-50%, -50%) translate(40px, -86px) rotate(6deg) scale(.88); z-index: 1; }
.hero-stage:hover .stack-card.s2 { transform: translate(-50%, -50%) translate(-120px, -120px) rotate(-18deg) scale(.92); }
.hero-stage:hover .stack-card.s3 { transform: translate(-50%, -50%) translate(130px, -150px) rotate(12deg) scale(.86); }
.float-chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow);
  font-size: 13.5px; line-height: 1.25;
  animation: float 6s var(--ease-in-out) infinite;
}
.float-chip b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.float-chip span { color: var(--muted); font-size: 12.5px; }
.float-chip .fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip.f1 { left: -2%; bottom: 10%; }
.float-chip.f2 { right: -2%; top: 8%; animation-delay: -2s; }
.float-chip.f3 { right: 4%; bottom: 0; animation-delay: -4s; }

/* ---------- 11. Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--paper); position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 14px; padding: 0 30px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--blue); }
.marquee-item .sep { width: 9px; height: 9px; background: var(--coral); border-radius: 2px; transform: rotate(45deg); }

/* ---------- 12. Card generiche ---------- */
.panel { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.panel-pad { padding: clamp(24px, 3vw, 36px); }
.spot { --x: 50%; --y: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--x) var(--y), rgba(46,75,255,.08), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* canali */
.channels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.ch { grid-column: span 4; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .6s var(--ease), box-shadow .5s; }
.ch:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.ch.wide { grid-column: span 8; }
.ch.dark { background: var(--ink); color: #fff; box-shadow: none; }
.ch.dark .small { color: rgba(255,255,255,.55); }
.ch.blue { background: var(--blue); color: #fff; box-shadow: none; }
.ch.blue .small { color: rgba(255,255,255,.72); }
.ch.lime { background: var(--lime); box-shadow: none; }
.ch.lime .small { color: rgba(15,17,23,.62); }
.ch-num { font-family: var(--font-mono); font-size: 12px; opacity: .55; }
.ch h3 { margin: 10px 0 10px; }
.ch-visual { flex: 1; display: grid; place-items: center; padding: 20px 0; min-height: 150px; }

/* mini visuals */
.mv-bio { width: 210px; background: #fff; color: var(--ink); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
.mv-bio .mvb-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mv-bio .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FFB199, #FF5C39); }
.mv-bio .ln { height: 30px; border-radius: 10px; background: var(--paper); margin-top: 7px; display: flex; align-items: center; padding: 0 10px; font-size: 11px; font-weight: 500; transition: transform .4s var(--ease), background .3s; }
.ch:hover .mv-bio .ln:nth-child(2) { transform: translateX(6px); background: var(--blue-soft); }
.ch:hover .mv-bio .ln:nth-child(3) { transform: translateX(-6px); transition-delay: .06s; }
.mv-nfc { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.mv-nfc .ring { position: absolute; inset: 30px; border: 2px solid var(--lime); border-radius: 50%; animation: ripple 2.6s var(--ease) infinite; }
.mv-nfc .ring:nth-child(2) { animation-delay: .85s; }
.mv-nfc .ring:nth-child(3) { animation-delay: 1.7s; }
.mv-nfc .core { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; position: relative; z-index: 2; }
.mv-qr { width: 130px; height: 130px; background: #fff; padding: 10px; border-radius: 16px; position: relative; overflow: hidden; }
.mv-qr .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--coral); box-shadow: 0 0 14px 3px rgba(255,92,57,.6); animation: scanline 2.4s var(--ease-in-out) infinite alternate; }
@keyframes scanline { from { top: 8%; } to { top: 92%; } }
.mv-vcf { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12); padding: 14px 18px; border-radius: 16px; backdrop-filter: blur(6px); }
.mv-vcf .file { width: 44px; height: 54px; border-radius: 8px; background: #fff; color: var(--blue); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 700; }

/* ---------- 13. Widget builder ---------- */
.builder { display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 80px); align-items: center; }
.widget-pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.wp {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; font-weight: 500;
  transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--spring);
}
.wp svg { width: 18px; height: 18px; }
.wp .tick { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.wp .tick svg { width: 11px; height: 11px; opacity: 0; transform: scale(.4); transition: .35s var(--spring); }
.wp:hover { transform: translateY(-2px); }
.wp.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.wp.is-on .tick { background: var(--lime); box-shadow: none; color: var(--ink); }
.wp.is-on .tick svg { opacity: 1; transform: none; }

.phone {
  --pw: 330px;
  width: var(--pw); height: calc(var(--pw) * 2.05);
  border-radius: 52px;
  background: #0E0F13;
  padding: 11px;
  box-shadow: 0 0 0 1.5px #2b2d35 inset, 0 50px 100px -30px rgba(15,17,23,.55), 0 20px 40px -20px rgba(15,17,23,.35);
  position: relative;
  flex-shrink: 0;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 5; }
.phone-screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); position: relative; }
.phone-scroll { height: 100%; overflow-y: auto; scrollbar-width: none; }
.phone-scroll::-webkit-scrollbar { display: none; }

/* profilo dentro telefono e pagina demo */
.prof { --brand: var(--blue); --brand-2: #1726A8; --brand-ink: #fff; }
.prof-cover { height: 140px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); position: relative; overflow: hidden; }
.prof-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.prof-body { padding: 0 18px 28px; margin-top: -42px; position: relative; }
.prof-av { width: 84px; height: 84px; border-radius: 26px; border: 4px solid var(--paper); background: linear-gradient(140deg, #FFC6B4, #FF6A47 60%, #E03A17); display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.04em; }
.prof-name { font-family: var(--font-display); font-weight: 650; font-size: 23px; letter-spacing: -.04em; margin-top: 12px; line-height: 1.05; }
.prof-role { font-size: 13px; color: var(--muted); margin-top: 4px; }
.prof-company { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-top: 10px; padding: 4px 10px 4px 4px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.prof-company i { width: 18px; height: 18px; border-radius: 6px; background: var(--brand); color: #fff; font-style: normal; font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.prof-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.prof-btn { height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.prof-btn.pri { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.wg { margin-top: 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); transform-origin: top center; }
.wg.is-entering { animation: wgIn .6s var(--spring) both; }
.wg.is-leaving { animation: wgOut .35s var(--ease) both; }
@keyframes wgIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes wgOut { to { opacity: 0; transform: scale(.94); height: 0; padding: 0; margin: 0; } }
.wg-t { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.wg-link { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--paper); font-size: 12.5px; font-weight: 550; margin-top: 6px; transition: transform .25s var(--ease); }
.wg-link:hover { transform: translateX(3px); }
.wg-link svg { width: 15px; height: 15px; color: var(--brand); }
.wg-link .go { margin-left: auto; opacity: .35; }
.wg-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wg-tags span { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper); font-weight: 500; }
.wg-skill { margin-top: 9px; font-size: 12px; }
.wg-skill .bar { height: 5px; border-radius: 4px; background: var(--paper-2); margin-top: 5px; overflow: hidden; }
.wg-skill .bar i { display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: inherit; }
.wg-exp { display: grid; grid-template-columns: 10px 1fr; gap: 10px; font-size: 12px; margin-top: 8px; }
.wg-exp::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); margin-top: 4px; box-shadow: 0 0 0 3px var(--blue-soft); }
.wg-exp b { display: block; font-weight: 600; }
.wg-exp span { color: var(--muted); font-size: 11px; }
.wg-doc { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: var(--paper); margin-top: 6px; font-size: 12px; font-weight: 550; }
.wg-doc .ext { width: 32px; height: 38px; border-radius: 7px; background: var(--coral); color: #fff; font-family: var(--font-mono); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.wg-doc small { display: block; color: var(--muted); font-weight: 400; font-size: 10.5px; }
.wg-pub { font-size: 12px; padding: 8px 0; border-top: 1px dashed var(--line-2); }
.wg-pub:first-of-type { border-top: 0; padding-top: 0; }
.wg-pub b { font-weight: 600; display: block; line-height: 1.3; }
.wg-pub span { color: var(--muted); font-size: 11px; }
.wg-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wg-contact a { aspect-ratio: 1; border-radius: 12px; background: var(--paper); display: grid; place-items: center; color: var(--brand); }
.wg-contact a svg { width: 18px; height: 18px; }
.wg-map { height: 90px; border-radius: 12px; background: #E9EEF5; position: relative; overflow: hidden; }
.wg-map::after { content: ""; position: absolute; left: 50%; top: 45%; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 4px 10px rgba(255,92,57,.5); }
.wg-video { aspect-ratio: 16/9; border-radius: 12px; background: linear-gradient(135deg, #1b1d26, #3a3f55); display: grid; place-items: center; }
.wg-video span { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--ink); }
.wg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.wg-gallery i { aspect-ratio: 1; border-radius: 9px; }
.wg-gallery i:nth-child(1) { background: linear-gradient(135deg, #C9D1FF, #6E80FF); }
.wg-gallery i:nth-child(2) { background: linear-gradient(135deg, #FFD6C9, #FF7A52); }
.wg-gallery i:nth-child(3) { background: linear-gradient(135deg, #EAF8B4, #B9E03A); }
.prof-foot { text-align: center; font-size: 10.5px; color: var(--muted); margin-top: 22px; font-family: var(--font-mono); }

/* ---------- 14. Brand consistency ---------- */
.brand-demo { display: grid; grid-template-columns: 1fr; gap: 20px; }
.swatches { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: transform .4s var(--spring), box-shadow .3s; position: relative; }
.sw:hover { transform: scale(1.1); }
.sw.is-on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.sw-label { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.team-board { position: relative; padding: clamp(20px, 3vw, 40px); background: var(--paper-2); border-radius: var(--r-xl); overflow: hidden; }
.team-board .company { max-width: 420px; margin: 0 auto 26px; }
.team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-row .bcard { transition: transform .7s var(--ease); }
.team-row .bcard:hover { transform: translateY(-8px) rotate(-1.5deg); }
.team-row .bcard:nth-child(2):hover { transform: translateY(-8px) rotate(1.5deg); }
.team-lines { position: absolute; inset: 0; pointer-events: none; }
.bcard .bcard-face { transition: background 1s var(--ease); }
.mini .bc-name { font-size: 10cqi; }
.mini .bc-role { font-size: 5cqi; }
.mini .bc-logo { font-size: 6.4cqi; }
.mini .bc-logo i { width: 10cqi; height: 10cqi; font-size: 5.4cqi; }
.mini .bc-foot { font-size: 4.4cqi; }

/* ---------- 15. Sezione scura analytics ---------- */
.dark-sec { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.4vw, 20px); overflow: hidden; position: relative; }
.dark-sec .lead { color: rgba(255,255,255,.62); }
.dark-sec .eyebrow { color: rgba(255,255,255,.6); }
.dark-sec .eyebrow::before { background: var(--lime); }
.dark-sec .muted, .dark-sec .small { color: rgba(255,255,255,.5); }
.dark-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(46,75,255,.35), transparent 65%); right: -200px; top: -200px; pointer-events: none; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); margin-top: 60px; }
.kpi { padding: 30px 26px 30px 0; }
.kpi + .kpi { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.12); }
.kpi-v { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 62px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.kpi-v small { font-size: .5em; color: var(--lime); margin-left: 4px; }
.kpi-l { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 10px; }
.an-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; }
.dpanel { background: rgba(255,255,255,.04); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: 26px; position: relative; overflow: hidden; }
.dpanel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dpanel-h h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); }
.seg button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; color: rgba(255,255,255,.6); transition: .3s; }
.seg button.is-on { background: #fff; color: var(--ink); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.62); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 3px; border-radius: 2px; }
.chart { width: 100%; height: 260px; overflow: visible; }
.chart .grid line { stroke: rgba(255,255,255,.08); }
.chart .axis text { fill: rgba(255,255,255,.4); font-size: 11px; font-family: var(--font-mono); }
.chart .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { opacity: .18; }
.chart .ln.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2s var(--ease); }
.chart.is-in .ln.draw { stroke-dashoffset: 0; }
.chart-tip { position: absolute; pointer-events: none; background: #fff; color: var(--ink); font-size: 12px; border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; white-space: nowrap; z-index: 4; }
.chart-tip b { font-family: var(--font-mono); }
.feed { display: grid; gap: 8px; max-height: 300px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.feed-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); font-size: 13px; animation: feedIn .7s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.feed-item .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.feed-item b { font-weight: 600; display: block; line-height: 1.25; }
.feed-item span { color: rgba(255,255,255,.45); font-size: 12px; }
.feed-item time { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); }
.integr { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 16px; }
.integr-flow { display: flex; align-items: center; gap: 0; }
.code { background: #07080B; border-radius: var(--r); padding: 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: #C9CCDA; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow-x: auto; white-space: pre; }
.code .k { color: #9AA8FF; }
.code .s { color: var(--lime); }
.code .n { color: #FF9C84; }
.code .c { color: #5C6070; }
.code-head { display: flex; gap: 6px; margin-bottom: 16px; }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c35; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .3s, transform .4s var(--spring); }
.pill:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.light .pill { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- 16. Confronto ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-weight: 650; font-size: 18px; letter-spacing: -.02em; background: var(--paper); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 24%; }
.compare .us { background: var(--blue-soft); }
.compare thead .us { background: var(--blue); color: #fff; }
.yes, .no, .meh { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.yes { background: var(--blue); color: #fff; }
.no { background: var(--paper-2); color: var(--muted); }
.meh { background: #FFF1D6; color: #B07A0A; font-weight: 700; font-size: 13px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ---------- 17. Stampa ---------- */
.print-stage { position: relative; height: 480px; display: grid; place-items: center; perspective: 1400px; }
.print-stage .pc { position: absolute; width: min(360px, 80%); }
.print-stage .pc.p1 { rotate: -14deg; translate: -70px 40px; animation: floatR 7s var(--ease-in-out) infinite; }
.print-stage .pc.p2 { rotate: 8deg; translate: 60px -50px; animation: floatR 8s var(--ease-in-out) infinite -3s; }
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mat { padding: 22px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .4s; cursor: pointer; text-align: left; }
.mat:hover, .mat.is-on { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--ink); }
.mat-sw { height: 90px; border-radius: 12px; margin-bottom: 16px; position: relative; overflow: hidden; }
.mat-sw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 250% 100%; animation: shimmer 4s linear infinite; }
.mat b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mat span { font-size: 13.5px; color: var(--muted); }
.mat .price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); margin-top: 10px; display: block; }

/* ---------- 18. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 34px 30px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; }
.step-n { font-family: var(--font-display); font-size: 96px; font-weight: 700; letter-spacing: -.07em; line-height: .8; color: var(--paper-2); position: absolute; right: 22px; top: 26px; z-index: 0; transition: color .5s, transform .7s var(--ease); }
.step:hover .step-n { color: var(--blue-soft); transform: translateY(-8px); }
.step > :not(.step-n) { position: relative; z-index: 1; }
.step-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 30px; }
.step p { color: var(--ink-3); margin-top: 12px; font-size: 15.5px; max-width: 30ch; }

/* ---------- 19. Pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.bill-toggle button { position: relative; z-index: 2; height: 42px; padding: 0 22px; border-radius: 999px; font-weight: 550; font-size: 14.5px; color: var(--ink-3); transition: color .4s; display: inline-flex; align-items: center; gap: 8px; }
.bill-toggle button.is-on { color: #fff; }
.bill-toggle .pillbg { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); z-index: 1; }
.bill-toggle .badge { background: var(--lime); color: var(--ink); height: 20px; font-size: 11px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; margin-top: 50px; }
.plan { background: #fff; border-radius: var(--r-xl); padding: 34px 30px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; transition: transform .6s var(--ease), box-shadow .5s; }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.plan.featured { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.plan.featured .plan-desc, .plan.featured .plan-bill { color: rgba(255,255,255,.55); }
.plan.featured .plan-feat li { color: rgba(255,255,255,.85); }
.plan.featured .plan-feat li::before { background: var(--lime); color: var(--ink); }
.plan.featured .plan-hr { background: rgba(255,255,255,.12); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-family: var(--font-display); font-size: 26px; font-weight: 650; letter-spacing: -.035em; }
.plan-desc { color: var(--muted); font-size: 15px; margin-top: 8px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 30px; }
.plan-price .cur { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.plan-price .amt { font-family: var(--font-display); font-size: 76px; font-weight: 700; letter-spacing: -.06em; line-height: .9; display: inline-block; min-width: 1.2ch; }
.plan-price .amt.flip { animation: flipNum .55s var(--ease); }
@keyframes flipNum { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-30%); opacity: 0; } 55% { transform: translateY(30%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan.featured .plan-price .per { color: rgba(255,255,255,.55); }
.plan-bill { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 22px; }
.plan-hr { height: 1px; background: var(--line); margin: 26px 0; }
.plan-feat { display: grid; gap: 13px; flex: 1; }
.plan-feat li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.plan-feat li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.plan-feat li.off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(122,124,136,.4); }
.plan-feat li.off::before { content: "–"; background: var(--paper); color: var(--muted); }
.plan .btn { margin-top: 30px; }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.addon-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; }
.addon b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.addon p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.addon .price { font-family: var(--font-mono); font-size: 13.5px; margin-top: 12px; display: block; color: var(--ink); }

/* tabella completa */
.ptable { width: 100%; border-collapse: collapse; min-width: 760px; }
.ptable th, .ptable td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14.5px; }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable thead th { font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; font-weight: 650; position: sticky; top: 64px; background: var(--paper); z-index: 2; }
.ptable .grp td { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 34px; background: transparent; }
.ptable td.col-f { background: rgba(46,75,255,.04); }
.ptable .ck { color: var(--blue); font-weight: 700; }
.ptable .x { color: var(--paper-3); }

/* ---------- 20. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-cats { display: grid; gap: 4px; margin-top: 20px; }
.faq-cats button { text-align: left; height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; transition: background .25s, color .25s; }
.faq-cats button span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.faq-cats button:hover { background: rgba(15,17,23,.05); }
.faq-cats button.is-on { background: var(--ink); color: #fff; }
.faq-cats button.is-on span { color: rgba(255,255,255,.5); }
.search { position: relative; }
.search input { width: 100%; height: 62px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px 0 58px; font-size: 17px; transition: box-shadow .3s; }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 6px rgba(46,75,255,.1); }
.search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-group-title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 34px 0 6px; }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-item.is-open { box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq-q { width: 100%; text-align: left; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; font-weight: 550; letter-spacing: -.015em; }
.faq-q .pm { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--paper); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .pm { background: var(--blue); color: #fff; transform: rotate(180deg); }
.faq-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--ink-3); font-size: 15.5px; max-width: 70ch; }
.faq-empty { display: none; padding: 50px 20px; text-align: center; color: var(--muted); }
.faq-item mark { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- 21. Form ---------- */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.field label, .label { font-size: 14px; font-weight: 550; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.field label a { font-weight: 500; color: var(--blue); font-size: 13.5px; }
.input, .select, .textarea {
  width: 100%; height: 54px; border-radius: 14px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  padding: 0 18px; font-size: 16px;
  transition: box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.textarea { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230F1117' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: #A5A7B2; }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1px rgba(15,17,23,.3); }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(46,75,255,.12); }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { box-shadow: inset 0 0 0 2px var(--red), 0 0 0 5px rgba(229,56,59,.1); }
.field.is-valid .input { box-shadow: inset 0 0 0 1.5px var(--green); }
.field-msg { font-size: 13px; color: var(--red); display: none; }
.field.is-error .field-msg { display: block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field-hint { font-size: 13px; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.input-wrap .pw-toggle:hover { background: var(--paper); color: var(--ink); }
.input-wrap .prefix { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; pointer-events: none; }
.input-wrap .prefix + .input { padding-left: 150px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-2 .field + .field { margin-top: 0; }
.row-2 + .field, .field + .row-2, .row-2 + .row-2 { margin-top: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-3); cursor: pointer; line-height: 1.45; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; flex-shrink: 0; display: grid; place-items: center; transition: .25s; margin-top: 1px; }
.check .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.4); transition: .3s var(--spring); }
.check input:checked + .box { background: var(--blue); box-shadow: none; }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 4px; }
.pw-meter i { height: 5px; border-radius: 3px; background: var(--paper-3); transition: background .4s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: #F29F05; }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: #8BC34A; }
.pw-meter[data-s="4"] i { background: var(--green); }
.pw-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pw-rules li { display: flex; gap: 6px; align-items: center; transition: color .3s; }
.pw-rules li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--paper-3); transition: background .3s; }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.ok::before { background: var(--green); }
.divider-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { height: 52px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 550; font-size: 15px; transition: box-shadow .25s, transform .3s var(--ease); }
.social-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.alert-info { background: var(--blue-soft); color: var(--blue-2); }
.alert-ok { background: #DDF5EA; color: #0E6B44; }
.alert-err { background: #FDE3E3; color: #A61F22; }

/* ---------- 22. Auth layout ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; background: var(--blue); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px clamp(30px, 4vw, 60px); }
.auth-side.ink { background: var(--ink); }
.auth-side .logo { color: #fff; }
.auth-side .logo b { color: var(--lime); }
.auth-side-stage { flex: 1; display: grid; place-items: center; position: relative; padding: 40px 0; perspective: 1400px; }
.auth-side-stage .bcard { width: min(400px, 90%); }
.auth-quote { max-width: 440px; }
.auth-quote p { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.035em; line-height: 1.15; font-weight: 550; }
.auth-quote .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; font-size: 14px; opacity: .8; }
.auth-quote .who i { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), #8FC21C); }
.auth-side .orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.auth-side .orb.o1 { width: 420px; height: 420px; background: rgba(212,242,90,.35); top: -120px; right: -120px; }
.auth-side .orb.o2 { width: 360px; height: 360px; background: rgba(255,92,57,.35); bottom: -140px; left: -100px; }
.auth-main { display: flex; flex-direction: column; padding: 30px clamp(20px, 5vw, 70px); background: var(--paper); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top .small a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--blue); }
.auth-form { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; }
.auth-form h1 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -.05em; }
.auth-form .lead { font-size: 16.5px; margin: 14px 0 32px; }
.auth-foot { font-size: 13px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.auth-foot a:hover { color: var(--ink); }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.steps-bar div { font-size: 12.5px; color: var(--muted); }
.steps-bar div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--paper-3); margin-bottom: 9px; transition: background .5s var(--ease); }
.steps-bar div.is-on { color: var(--ink); font-weight: 550; }
.steps-bar div.is-on::before, .steps-bar div.is-done::before { background: var(--blue); }
.reg-step { display: none; }
.reg-step.is-on { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.plan-radio { display: grid; gap: 10px; }
.plan-radio label { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .25s, transform .3s var(--ease); }
.plan-radio label:hover { transform: translateY(-1px); }
.plan-radio input { position: absolute; opacity: 0; }
.plan-radio .rd { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .25s; }
.plan-radio input:checked ~ .rd { box-shadow: inset 0 0 0 7px var(--blue); }
.plan-radio label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--blue); background: #FAFBFF; }
.plan-radio b { display: block; font-weight: 600; }
.plan-radio small { color: var(--muted); font-size: 13px; }
.plan-radio .pr { font-family: var(--font-display); font-weight: 650; font-size: 22px; letter-spacing: -.04em; }
.plan-radio .pr small { font-family: var(--font-body); letter-spacing: 0; font-weight: 400; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { height: 62px; text-align: center; font-family: var(--font-display); font-size: 26px; font-weight: 650; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .3s var(--spring); }
.otp input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(46,75,255,.12); transform: translateY(-2px); }
.state-ic { width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 28px; position: relative; }
.state-ic::after { content: ""; position: absolute; inset: -8px; border-radius: 30px; border: 1.5px dashed currentColor; opacity: .3; animation: spin 18s linear infinite; }
.envelope { animation: float 4s var(--ease-in-out) infinite; }
.success-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 23. Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.co-block { padding: clamp(22px, 3vw, 34px); }
.co-block + .co-block { margin-top: 16px; }
.co-block h3 { font-family: var(--font-body); font-size: 18px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.co-block h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; font-family: var(--font-mono); }
.summary { position: sticky; top: 90px; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); overflow: hidden; }
.summary .bcard { max-width: 300px; margin: 4px auto 30px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 10px 0; color: rgba(255,255,255,.72); }
.sum-row b { color: #fff; font-weight: 550; font-family: var(--font-mono); }
.sum-row.disc b { color: var(--lime); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.sum-total .amt { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.05em; }
.sum-note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 18px; display: flex; gap: 8px; align-items: center; }
.addon-check { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .25s, background .25s; }
.addon-check + .addon-check { margin-top: 10px; }
.addon-check:has(input:checked) { box-shadow: inset 0 0 0 2px var(--blue); background: #FAFBFF; }
.addon-check b { display: block; font-weight: 600; font-size: 15px; }
.addon-check small { color: var(--muted); font-size: 13px; }
.addon-check .p { font-family: var(--font-mono); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 8px; }
.qty button { width: 32px; height: 32px; font-size: 16px; }
.qty span { min-width: 34px; text-align: center; font-family: var(--font-mono); font-size: 13.5px; }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.pay-tabs button { height: 56px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; font-weight: 550; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: box-shadow .25s; }
.pay-tabs button.is-on { box-shadow: inset 0 0 0 2px var(--blue); }
.pay-pane { display: none; }
.pay-pane.is-on { display: block; animation: stepIn .5s var(--ease); }
.card-brand { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 7px; border-radius: 6px; background: var(--paper); color: var(--ink-3); }
.secure { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- 24. Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 40px; }
.cc { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.cc:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.cc b { display: block; font-weight: 600; font-size: 16px; }
.cc span { color: var(--muted); font-size: 14px; }
.cc .go { margin-left: auto; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.cc:hover .go { transform: translateX(4px); color: var(--blue); }
.topic-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pick label { cursor: pointer; }
.topic-pick input { position: absolute; opacity: 0; }
.topic-pick span { display: inline-flex; height: 40px; padding: 0 16px; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; transition: .25s; }
.topic-pick input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.topic-pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-success { display: none; text-align: center; padding: 50px 20px; }
.form-success.is-on { display: block; animation: stepIn .6s var(--ease); }

/* ---------- 25. Page hero (interne) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(50px, 8vw, 110px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 26px; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.crumbs { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }

/* features page */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(50px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.feat-row:nth-child(even) .feat-media { order: -1; }
.feat-list { display: grid; gap: 14px; margin-top: 28px; }
.feat-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-3); }
.feat-list li svg { color: var(--blue); margin-top: 3px; }
.feat-list li b { color: var(--ink); font-weight: 600; }
.feat-media { position: relative; border-radius: var(--r-xl); background: var(--paper-2); min-height: 440px; display: grid; place-items: center; overflow: hidden; padding: 40px 20px; }
.feat-media.blue { background: var(--blue); }
.feat-media.ink { background: var(--ink); }
.feat-media.lime { background: var(--lime); }
.feat-media.coral { background: var(--coral); }

/* dashboard mock */
.dash { width: 100%; max-width: 560px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; }
.dash-top { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.dash-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.dash-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.dash-nav { border-right: 1px solid var(--line); padding: 12px 8px; display: grid; align-content: start; gap: 2px; }
.dash-nav span { padding: 7px 10px; border-radius: 8px; color: var(--ink-3); font-weight: 500; }
.dash-nav span.on { background: var(--blue-soft); color: var(--blue-2); }
.dash-main { padding: 16px; }
.dash-main h5 { font-family: var(--font-display); font-size: 17px; letter-spacing: -.03em; font-weight: 650; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.dash-main h5 span { font-family: var(--font-body); font-size: 11px; background: var(--ink); color: #fff; padding: 5px 10px; border-radius: 999px; letter-spacing: 0; font-weight: 500; }
.dash-user { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.dash-user i { width: 28px; height: 28px; border-radius: 9px; }
.dash-user b { font-weight: 600; display: block; }
.dash-user small { color: var(--muted); }
.dash-user .st { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: #DDF5EA; color: #0E6B44; font-weight: 600; }
.dash-user .st.inv { background: #FFF1D6; color: #8a5d00; }
.dash-user .mt { font-family: var(--font-mono); color: var(--muted); font-size: 11px; }

/* wallet mock */
.wallet-pass { width: 260px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.wallet-pass .wp-h { background: var(--ink); color: #fff; padding: 18px; }
.wallet-pass .wp-h small { font-family: var(--font-mono); font-size: 10px; opacity: .6; text-transform: uppercase; letter-spacing: .08em; }
.wallet-pass .wp-h b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; margin-top: 4px; }
.wallet-pass .wp-b { padding: 18px; display: grid; gap: 12px; }
.wallet-pass .wp-b div small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wallet-pass .wp-b div span { font-weight: 600; font-size: 14px; }
.wallet-pass .wp-qr { width: 120px; height: 120px; margin: 4px auto 0; }

/* nfc phones */
.nfc-scene { position: relative; width: 100%; max-width: 440px; height: 380px; }
.nfc-phone { position: absolute; width: 150px; height: 300px; border-radius: 30px; background: #111; padding: 7px; box-shadow: var(--shadow-lg); }
.nfc-phone > div { width: 100%; height: 100%; border-radius: 24px; background: var(--paper); overflow: hidden; display: grid; place-items: center; text-align: center; font-size: 11px; padding: 14px; }
.nfc-phone.a { left: 8%; top: 40px; transform: rotate(-10deg); animation: tapA 4s var(--ease-in-out) infinite; }
.nfc-phone.b { right: 8%; top: 40px; transform: rotate(10deg); animation: tapB 4s var(--ease-in-out) infinite; }
@keyframes tapA { 0%, 100% { transform: rotate(-10deg) translateX(0); } 40%, 60% { transform: rotate(-4deg) translateX(46px); } }
@keyframes tapB { 0%, 100% { transform: rotate(10deg) translateX(0); } 40%, 60% { transform: rotate(4deg) translateX(-46px); } }
.nfc-waves { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; pointer-events: none; }
.nfc-waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; animation: nfcw 4s var(--ease) infinite; }
.nfc-waves i:nth-child(2) { animation-delay: .25s; }
.nfc-waves i:nth-child(3) { animation-delay: .5s; }
@keyframes nfcw { 0%, 38% { transform: scale(.3); opacity: 0; } 45% { opacity: 1; } 75%, 100% { transform: scale(1.8); opacity: 0; } }
.nfc-toast { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; animation: nfcToast 4s var(--ease) infinite; }
@keyframes nfcToast { 0%, 50% { opacity: 0; transform: translate(-50%, 14px); } 58%, 92% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* ---------- 26. Testimonianze ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.quote p { font-family: var(--font-display); font-size: 21px; line-height: 1.25; letter-spacing: -.025em; font-weight: 500; }
.quote .who { display: flex; gap: 12px; align-items: center; margin-top: 26px; font-size: 14px; }
.quote .who i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; font-family: var(--font-display); }
.quote .who b { display: block; font-weight: 600; }
.quote .who span { color: var(--muted); font-size: 13px; }
.stars { color: var(--coral); letter-spacing: 2px; font-size: 15px; margin-bottom: 18px; }

/* ---------- 27. CTA finale ---------- */
.cta-big { position: relative; border-radius: clamp(28px, 4vw, 56px); background: var(--blue); color: #fff; padding: clamp(60px, 9vw, 130px) clamp(24px, 5vw, 80px); overflow: hidden; text-align: center; margin: 0 clamp(8px, 1.4vw, 20px); }
.cta-big h2 { font-size: clamp(44px, 7.6vw, 112px); letter-spacing: -.06em; line-height: .92; font-weight: 700; }
.cta-big .lead { color: rgba(255,255,255,.75); margin: 26px auto 0; }
.cta-big .hero-actions { justify-content: center; }
.cta-big .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.cta-big .btn-ghost::after { background: #fff; }
.cta-big .btn-ghost:hover { --fg: var(--ink); }
.cta-cards { position: absolute; inset: 0; pointer-events: none; }
.cta-cards > div { position: absolute; width: 260px; opacity: .95; }
.cta-cards .c1 { left: -60px; top: 12%; rotate: -18deg; animation: floatR 8s var(--ease-in-out) infinite; }
.cta-cards .c2 { right: -70px; bottom: 10%; rotate: 14deg; animation: floatR 9s var(--ease-in-out) infinite -4s; }

/* ---------- 28. Footer ---------- */
.footer { padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.foot-col .logo { display: inline-flex; padding: 0; }
.foot-col .logo:hover { transform: none; color: inherit; }
.foot-col h5 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.foot-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); transition: color .2s, transform .3s var(--ease); }
.foot-col a:hover { color: var(--blue); transform: translateX(3px); }
.foot-news { margin-top: 24px; display: flex; max-width: 360px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: inset 0 0 0 1px var(--line); }
.foot-news input { flex: 1; border: 0; background: none; padding: 0 16px; font-size: 15px; min-width: 0; }
.foot-news input:focus { outline: none; }
.foot-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 21vw, 330px); letter-spacing: -.075em; line-height: .78; margin-top: 80px; color: var(--ink); white-space: nowrap; display: flex; justify-content: center; user-select: none; }
.foot-word span { display: inline-block; transition: transform .6s var(--spring), color .3s; }
.foot-word span:hover { transform: translateY(-6%) rotate(-3deg); color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .4s var(--spring); }
.socials a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ---------- 29. Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: toastIn .5s var(--spring); pointer-events: auto; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ---------- 30. Demo profilo pubblico ---------- */
.demo-body { background: var(--paper-2); }
.demo-wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--paper); position: relative; box-shadow: 0 0 0 1px var(--line); }
.demo-wrap .prof-cover { height: 190px; }
.demo-wrap .prof-body { padding: 0 20px 40px; margin-top: -56px; }
.demo-wrap .prof-av { width: 112px; height: 112px; border-radius: 34px; font-size: 40px; }
.demo-wrap .prof-name { font-size: 32px; }
.demo-wrap .prof-role { font-size: 15px; }
.demo-wrap .prof-btn { height: 50px; font-size: 14.5px; border-radius: 14px; transition: transform .3s var(--ease); }
.demo-wrap .prof-btn:active { transform: scale(.97); }
.demo-wrap .wg { padding: 18px; border-radius: 22px; margin-top: 14px; }
.demo-wrap .wg-t { font-size: 11.5px; }
.demo-wrap .wg-link { height: 52px; font-size: 14.5px; border-radius: 14px; }
.demo-wrap .wg-link svg { width: 18px; height: 18px; }
.demo-wrap .wg-tags span { font-size: 13px; padding: 7px 12px; }
.demo-wrap .wg-skill, .demo-wrap .wg-exp, .demo-wrap .wg-doc, .demo-wrap .wg-pub { font-size: 14px; }
.demo-wrap .wg-exp span, .demo-wrap .wg-pub span, .demo-wrap .wg-doc small { font-size: 12.5px; }
.demo-wrap .wg-map { height: 150px; }
.demo-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 5; display: flex; justify-content: space-between; }
.demo-top button, .demo-top a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; }
.demo-tabs { display: flex; gap: 6px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: .25s; }
.demo-tabs button.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.demo-banner { position: sticky; bottom: 0; z-index: 10; padding: 14px; }
.demo-banner > div { background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 12px 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; box-shadow: var(--shadow-lg); }
.demo-banner .btn { height: 40px; padding: 0 16px; font-size: 13.5px; }
.sheet-bg { position: fixed; inset: 0; background: rgba(15,17,23,.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .4s; backdrop-filter: blur(4px); }
.sheet { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 480px; background: var(--paper); border-radius: 28px 28px 0 0; z-index: 201; padding: 14px 22px 34px; transform: translate(-50%, 105%); transition: transform .6s var(--ease); }
.sheet-open .sheet-bg { opacity: 1; pointer-events: auto; }
.sheet.is-open { transform: translate(-50%, 0); }
.sheet-grab { width: 44px; height: 5px; border-radius: 4px; background: var(--paper-3); margin: 0 auto 20px; }
.sheet-qr { width: 200px; height: 200px; margin: 10px auto 20px; background: #fff; padding: 14px; border-radius: 22px; box-shadow: var(--shadow); }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.share-grid button { display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.share-grid button span { width: 54px; height: 54px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--spring); }
.share-grid button:hover span { transform: translateY(-3px); }

/* ---------- 31. Legal / 404 ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.legal-toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.legal-toc a { font-size: 14.5px; color: var(--muted); padding: 7px 12px; border-left: 2px solid var(--line); transition: .25s; }
.legal-toc a:hover, .legal-toc a.is-on { color: var(--ink); border-color: var(--blue); }
.prose h2 { font-size: 28px; letter-spacing: -.035em; margin: 50px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-3); font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 100px var(--gutter); position: relative; overflow: hidden; }
.nf-num { font-family: var(--font-display); font-size: clamp(140px, 30vw, 380px); font-weight: 700; letter-spacing: -.08em; line-height: .8; display: flex; justify-content: center; align-items: center; gap: .02em; }
.nf-num .bcard { width: .62em; display: inline-block; vertical-align: middle; transform: rotate(-12deg); }

/* ---------- 32. Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 60px; }
.mb-m { margin-bottom: 32px; }
.flex { display: flex; }
.gap-s { gap: 10px; }
.wrap { flex-wrap: wrap; }
.ai-c { align-items: center; }
.jc-sb { justify-content: space-between; }
.jc-c { justify-content: center; }
.w-full { width: 100%; }
.hide-m { }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bg-blue-soft { background: var(--blue-soft); color: var(--blue); }
.bg-coral-soft { background: var(--coral-soft); color: var(--coral); }
.bg-lime-soft { background: var(--lime-soft); color: #5E7A00; }
.bg-ink { background: var(--ink); color: #fff; }
.bg-lime { background: var(--lime); color: var(--ink); }
.bg-white-10 { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- 33. Responsive ---------- */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .materials { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta .nav-login, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .hero-grid, .grid-2, .builder, .contact-grid, .checkout, .feat-row, .integr, .an-grid { grid-template-columns: 1fr; }
  .feat-row:nth-child(even) .feat-media { order: 0; }
  .hero-stage { height: 440px; margin-top: 20px; }
  .channels .ch, .channels .ch.wide { grid-column: span 12; min-height: 280px; }
  .plans, .steps, .quotes, .addons { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .builder .phone { margin: 0 auto; }
  .faq-layout, .legal { grid-template-columns: 1fr; }
  .faq-side, .legal-toc { position: static; }
  .faq-cats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .legal-toc { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .h-hero { font-size: clamp(44px, 13.4vw, 70px); }
  .hero-stage { height: 340px; }
  .float-chip { padding: 9px 12px 9px 9px; font-size: 12px; }
  .float-chip .fc-ic { width: 30px; height: 30px; }
  .float-chip.f1 { left: 0; bottom: 4%; }
  .float-chip.f2 { right: 0; top: 0; }
  .float-chip.f3 { display: none; }
  .hero-stage:hover .stack-card.s2 { transform: translate(-50%, -50%) translate(-30px, -46px) rotate(-12deg) scale(.94); }
  .hero-stage:hover .stack-card.s3 { transform: translate(-50%, -50%) translate(40px, -86px) rotate(6deg) scale(.88); }
  .row-2 { grid-template-columns: 1fr; }
  .row-2 .field + .field { margin-top: 18px; }
  .team-row { grid-template-columns: 1fr 1fr; }
  .team-row .bcard:nth-child(3) { display: none; }
  .phone { --pw: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 22px 14px 22px 0; }
  .kpi + .kpi { padding-left: 14px; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13.5px; }
  .compare thead th { font-size: 15px; }
  .materials { grid-template-columns: 1fr; }
  .pay-tabs { grid-template-columns: 1fr; }
  .print-stage { height: 360px; }
  .social-btns { grid-template-columns: 1fr; }
  .otp input { height: 54px; font-size: 22px; }
  .cta-cards { display: none; }
  .feat-media { min-height: 360px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .nfc-phone { width: 120px; height: 240px; }
  .pw-rules { grid-template-columns: 1fr; }
  .marquee::before, .marquee::after { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .split .w > span { opacity: 1; transform: none; }
}

/* varianti materiale stampa */
.v-wood  { --c1: #C99B68; --c2: #8A5E36; --fg: #2A1A0C; --acc: #2A1A0C; }
.v-wood .bc-logo i { color: #F3E3C9; }
.v-metal { --c1: #E4E7EB; --c2: #8E959E; --fg: #15171E; --acc: #15171E; }
.v-metal .bc-logo i { color: #E4E7EB; }

/* nav sopra hero scuro */
.nav-on-dark .nav:not(.is-scrolled) .logo,
.nav-on-dark .nav:not(.is-scrolled) .nav-links a,
.nav-on-dark .nav:not(.is-scrolled) .nav-login { color: #fff; }
.nav-on-dark .nav:not(.is-scrolled) .nav-links a:hover,
.nav-on-dark .nav:not(.is-scrolled) .nav-login:hover { background: rgba(255,255,255,.1); }
.nav-on-dark .nav:not(.is-scrolled) .nav-links a.is-active::after { background: var(--lime); }
.nav-on-dark .nav:not(.is-scrolled) .btn { --bg: #fff; --fg: var(--ink); }
.nav-on-dark .nav:not(.is-scrolled) .burger { background: #fff; }
.nav-on-dark .nav:not(.is-scrolled) .burger span { background: var(--ink); }
body.nav-on-dark.menu-open .nav .burger { background: var(--ink); }
body.nav-on-dark.menu-open .nav .burger span { background: #fff; }

/* evita overflow orizzontale nelle griglie */
.grid-2 > *, .hero-grid > *, .builder > *, .contact-grid > *, .checkout > *, .feat-row > *, .integr > *, .an-grid > *, .faq-layout > *, .legal > * { min-width: 0; }
.code { max-width: 100%; }
@media (max-width: 640px) { .stack-card { width: 80%; } }
.otp input { min-width: 0; width: 100%; }
html, body { overflow-x: clip; }

/* avatar con iniziali (sito, profili pubblici, dashboard) */
.av { --av: var(--blue); width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; display: inline-grid; place-items: center; background: var(--av); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.av.sm { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
.av.lg { width: 56px; height: 56px; border-radius: 18px; font-size: 20px; }
.toast.is-err i { background: var(--coral); color: #fff; }
.toast.is-err i { background: var(--coral); color: #fff; }
.bc-logo i.has-img { background: #fff; padding: 1.2cqi; overflow: hidden; }
.bc-logo i.has-img img { width: 100%; height: 100%; object-fit: contain; }
/* etichette speciali dentro .field: pulsanti e caselle di spunta */
.field label.btn { display: inline-flex; justify-content: center; font-size: 14.5px; color: var(--fg); width: auto; }
.field label.check { justify-content: flex-start; font-weight: 400; color: var(--ink-3); }

/* ---------- Prezzi: 4 piani e piano Gratis ---------- */
.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-4 .plan { padding: 30px 24px; }
.plans-4 .plan-price .amt { font-size: 64px; }
.plan-free { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.plan-free:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.free-strip { display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-top: 16px; flex-wrap: wrap; }
.free-strip .fs-txt { flex: 1; min-width: 220px; }
.free-strip b { font-weight: 600; font-size: 16.5px; }
@media (max-width: 1180px) { .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans-4 .plan.featured { order: 0; } }
@media (max-width: 640px) { .plans-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Telefono dimostrativo: invito a scorrere ---------- */
.phone-screen { position: relative; }
.phone-screen[data-scroll-hint]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, rgba(244,242,237,0), rgba(244,242,237,.95));
  border-radius: 0 0 42px 42px; transition: opacity .5s;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 4; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 550; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(15,17,23,.5); pointer-events: none;
  animation: hintBob 2.2s var(--ease-in-out) infinite; transition: opacity .5s, transform .5s var(--ease);
}
.sh-mouse { width: 16px; height: 24px; border-radius: 9px; border: 1.8px solid rgba(255,255,255,.85); position: relative; flex-shrink: 0; }
.sh-mouse i { position: absolute; left: 50%; top: 4px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: hintWheel 1.6s var(--ease-in-out) infinite; }
@keyframes hintBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@keyframes hintWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.phone-screen.is-scrolled .scroll-hint { opacity: 0; transform: translate(-50%, 12px); animation: none; }
.phone-screen.is-scrolled::after { opacity: 0; }
@media (pointer: coarse) { .sh-mouse { border-radius: 50%; width: 18px; height: 18px; } .sh-mouse i { top: 3px; } }
/* Accesso con Google / Microsoft */
.or-sep { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: 13px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso-btns { display: grid; gap: 8px; margin-bottom: 8px; }
.sso-btns .btn { gap: 10px; }
/* Prezzi: salto alle sezioni */
.price-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.price-jump a { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 550; transition: background .2s, color .2s; }
.price-jump a:hover { background: var(--ink); color: #fff; }
section[id] { scroll-margin-top: 90px; }
.prod-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod-tile { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .3s; }
.prod-tile:hover { transform: translateY(-4px); }
.prod-tile .price { font-family: var(--font-mono); font-size: 14px; color: var(--blue-2); }
.prod-tile h3 { margin: 6px 0 0; }
.prod-tile p { margin: 0; color: var(--ink-3); }
@media (max-width: 900px) { .prod-trio { grid-template-columns: 1fr; } }
/* Pagine Bio e QR */
.bm { min-height: 100%; padding: 34px 18px 22px; display: grid; justify-items: center; align-content: start; gap: 10px; background: var(--paper); text-align: center; }
.bm-av { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 26px/1 var(--font-display); box-shadow: 0 0 0 4px #fff; }
.bm-name { font: 700 20px/1.1 var(--font-display); letter-spacing: -.02em; margin-top: 4px; }
.bm-bio { margin: 0; font-size: 12.5px; color: var(--ink-3); max-width: 30ch; }
.bm-soc { display: flex; gap: 6px; }
.bm-soc span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bm-link { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(0,0,0,.4); }
.bm-link.is-hi { background: var(--blue); color: #fff; box-shadow: none; }
.bm-foot { font: 11px var(--font-mono); color: var(--muted); margin-top: 6px; }
.qr-stack { position: relative; height: 440px; display: grid; place-items: center; }
.qr-card { position: absolute; width: 230px; padding: 16px; display: grid; gap: 10px; transform: rotate(var(--r)); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(0,0,0,.4)); }
.qr-card:nth-child(1) { left: 4%; top: 6%; }
.qr-card:nth-child(2) { right: 4%; top: 18%; }
.qr-card:nth-child(3) { left: 26%; bottom: 0; }
.qr-card svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.qr-card span { font: 12.5px var(--font-mono); color: var(--ink-3); }
.qr-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.qr-types .panel { padding: 22px; display: grid; gap: 8px; align-content: start; }
.qr-types p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .qr-types { grid-template-columns: 1fr 1fr; } .qr-stack { height: 380px; } .qr-card { width: 180px; } }
