/* =========================================================
   ArchiviauX – home page (nuova grafica, novembre 2026)
   Solo per index.html: le altre pagine continuano a usare style.css.
   Niente stili in linea nell'HTML (la Content-Security-Policy li blocca).
   ========================================================= */

:root {
  --ink: #0B1A24;
  --ink-2: #1F3340;
  --muted: #475862;
  --muted-2: #5E6E77;
  --line: #E2E7E4;
  --line-2: #ECF0EE;
  --bg: #F7F8F5;
  --surface: #FFFFFF;
  --tint: #EFF5F2;
  --accent: #0E6B5A;
  --accent-dark: #0A5246;
  --accent-2: #13A386;
  --accent-soft: #E1F1EB;
  --mint: #8FD3C2;
  --sky: #3FA9C4;
  --dark: #0B1A24;
  --dark-2: #13283A;
  --dark-3: #1A3346;
  --dark-line: rgba(255, 255, 255, .10);
  --dark-text: #F2F6F4;
  --dark-muted: #B9C8C2;
  --warn: #B26A0C;
  --warn-bg: #FCEFD6;
  --warn-ink: #6B4410;
  --field-border: #C3CDC8;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 36, .06), 0 1px 1px rgba(11, 26, 36, .04);
  --shadow: 0 1px 2px rgba(11, 26, 36, .05), 0 12px 32px -12px rgba(11, 26, 36, .18);
  --shadow-lg: 0 2px 4px rgba(11, 26, 36, .04), 0 32px 64px -24px rgba(11, 26, 36, .30);
  --grad: linear-gradient(100deg, #0E6B5A 0%, #13A386 55%, #3FA9C4 100%);
  --font-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; stroke-width: 1.7; }

.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 112px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--dark-text); overflow: hidden; isolation: isolate; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .title { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: var(--mint); }
.title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.025em;
  max-width: 780px;
  text-wrap: balance;
}
.lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.lead + .lead { margin-top: 14px; }
.section--dark .lead { color: var(--dark-muted); }
.small-note { margin-top: 20px; font-size: 14px; color: var(--muted-2); }
.vat-note { margin-top: 24px; font-size: 13.5px; color: var(--muted-2); text-align: center; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Comparsa delle sezioni ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .reveal--d1 { transition-delay: .08s; }
.js-reveal .reveal--d2 { transition-delay: .16s; }
.js-reveal .reveal--d3 { transition-delay: .24s; }
.js-reveal .reveal--d4 { transition-delay: .32s; }
.js-reveal .reveal--d5 { transition-delay: .40s; }
@media print { .js-reveal .reveal { opacity: 1; transform: none; } }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15.5px; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(14, 107, 90, .65);
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 26px -10px rgba(14, 107, 90, .75); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: rgba(11, 26, 36, .06); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 245, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(11, 26, 36, .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(14, 107, 90, .7), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.brand__testo { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.015em; }
.brand__x { color: var(--accent); }
.brand__by { display: inline-flex; align-items: center; margin-top: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--muted); padding-left: 1px; }
.auxbit-logo { display: inline-block; height: 1.15em; width: 5.65em; margin-left: .35em; vertical-align: -0.22em; background: url(/img/auxbit.png) no-repeat left center / contain; }
.brand__by .auxbit-logo { height: 12px; width: 59px; margin-left: 5px; vertical-align: 0; }
.section--dark .auxbit-logo, .site-footer .auxbit-logo { background-image: url(/img/auxbit-chiaro.png); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: rgba(11, 26, 36, .05); color: var(--ink); }
.main-nav a[aria-current="true"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lab-corto { display: none; }
.solo-telefono { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon--chiudi { display: none; }
.is-open .nav-toggle .icon--apri { display: none; }
.is-open .nav-toggle .icon--chiudi { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: -40% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 38% at 78% 30%, rgba(19, 163, 134, .20), transparent 70%),
    radial-gradient(30% 30% at 92% 70%, rgba(63, 169, 196, .18), transparent 70%),
    radial-gradient(36% 34% at 10% 20%, rgba(143, 211, 194, .28), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 26, 36, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 26, 36, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(60% 55% at 50% 45%, #000 30%, transparent 80%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); }
.badge__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent-2); opacity: 0; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hero h1 {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__text { margin-top: 24px; font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 580px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__prezzo { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero__prezzo strong { color: var(--ink); }
.hero__prezzo a { font-weight: 600; }
.hero__note { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note .icon { width: 17px; height: 17px; color: var(--accent); }

.hero__visual { position: relative; padding: 36px 0 36px 28px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 0 8% 12%; z-index: -1;
  border-radius: var(--r-xl); background: var(--grad); opacity: .14; filter: blur(40px);
}
.report {
  position: relative; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: galleggia 7s ease-in-out infinite;
}
@keyframes galleggia { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.report__chrome { display: flex; gap: 6px; padding: 14px 18px 0; }
.report__chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.report__head { padding: 22px 22px 18px; border-bottom: 1px solid var(--line-2); }
.report__meta { display: flex; justify-content: flex-end; gap: 12px; font-size: 12.5px; color: var(--muted-2); }
.report__subject { margin-top: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.report__from { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.report__list { padding: 8px 10px 12px; }
.report__item { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background-color .2s; }
.report__item:hover { background: var(--bg); }
.report__item--warn { background: #FFF9EE; }
.report__icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
.report__icon .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.report__icon--warn { background: var(--warn-bg); color: var(--warn); }
.report__file { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; line-height: 1.45; }
.report__old { color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(94, 110, 119, .5); font-size: 12.5px; }
.report__new { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.report__path { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--accent); font-size: 12.5px; font-weight: 500; }
.report__path .icon { width: 14px; height: 14px; }
.report__path--warn { color: var(--warn-ink); }

.mail-card, .float-pill {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.mail-card { top: 0; left: -8px; padding: 10px 16px 10px 10px; animation: galleggia 6s ease-in-out -2s infinite; }
.mail-card__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; }
.mail-card__icon .icon { width: 18px; height: 18px; }
.mail-card__txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; color: var(--muted); }
.mail-card__txt strong { color: var(--ink); font-size: 14px; }
.float-pill { right: -14px; bottom: 0; padding: 12px 18px 12px 12px; font-size: 14px; font-weight: 600; line-height: 1.2; animation: galleggia 8s ease-in-out -4s infinite; }
.float-pill small { font-weight: 500; color: var(--muted-2); font-size: 12.5px; }
.float-pill__n { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 700; }

/* Archivi compatibili */
.integrations {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-top: 64px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.integrations__label { margin-right: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.chip .icon { width: 16px; height: 16px; color: var(--accent-2); }
.chip--accent { padding: 0; border-color: transparent; background: var(--ink); }
.chip--accent a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; color: #fff; text-decoration: none; }
.chip--accent a .icon { color: var(--mint); transition: transform .2s; }
.chip--accent a:hover .icon { transform: translateX(3px); }

/* ---------- Metodo ---------- */
.method__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.compare__col { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare__col--before { background: #FBFBF9; transform: rotate(-1.5deg); }
.compare__col--before .tree li { color: var(--muted-2); }
.compare__col--before .tree .icon { color: #B7C0BC; }
.compare__col--after { border-color: rgba(19, 163, 134, .35); box-shadow: 0 24px 48px -24px rgba(14, 107, 90, .45); }
.compare__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.compare__col--after .compare__label { color: var(--accent); }
.compare__arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(14, 107, 90, .7); }
.tree li { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tree .icon { width: 17px; height: 17px; color: var(--accent-2); }
.tree .indent-1 { padding-left: 18px; }
.tree .indent-2 { padding-left: 36px; font-size: 14px; color: var(--muted); }

.timeline { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 88px; counter-reset: passo; }
.timeline::before { content: ""; position: absolute; z-index: -1; top: 26px; left: 26px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--accent-2), rgba(63, 169, 196, .2)); }
.timeline__step { position: relative; }
.timeline__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow); }
.timeline__num { display: block; margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-2); }
.timeline__step h3 { margin-top: 4px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.timeline__step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.callout {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 64px; padding: 26px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--accent-soft), #EAF5F8);
  border: 1px solid rgba(19, 163, 134, .2);
}
.callout__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.callout p { font-size: 16.5px; color: var(--ink-2); padding-top: 2px; }
.callout strong { color: var(--ink); }

/* ---------- Come funziona ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flow__step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(19, 163, 134, .35); }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -16px; z-index: 1;
  width: 12px; height: 12px; border-top: 2px solid var(--accent-2); border-right: 2px solid var(--accent-2);
  transform: rotate(45deg);
}
.flow__num { position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: .06em; }
.flow__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(14, 107, 90, .8); }
.flow__icon .icon { width: 24px; height: 24px; }
.flow__step h3 { margin-top: 22px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.flow__step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- Archivia da ---------- */
.sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.source {
  display: flex; flex-direction: column;
  padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.source:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.source__icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.source h3 { margin-top: 22px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.source p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.source .source__price { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; color: var(--accent); }
.source--both { position: relative; background: var(--dark); color: var(--dark-text); border-color: var(--dark); overflow: hidden; isolation: isolate; }
.source--both::before { content: ""; position: absolute; right: -30%; top: -40%; z-index: -1; width: 80%; height: 90%; border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 163, 134, .45), transparent); }
.source--both .source__icon { background: rgba(143, 211, 194, .14); color: var(--mint); }
.source--both p { color: var(--dark-muted); }
.source--both .source__price { color: var(--mint); }
.note-box {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 24px; padding: 18px 22px;
  border-radius: var(--r); border: 1px dashed #C5D3CD; background: rgba(255, 255, 255, .6);
  font-size: 15px; color: var(--muted);
}
.note-box .icon { color: var(--accent-2); margin-top: 2px; }

/* ---------- Sezioni scure: luci di sfondo ---------- */
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.glow--a { width: 720px; height: 720px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(19, 163, 134, .35), transparent); }
.glow--b { width: 820px; height: 820px; left: -320px; bottom: -380px; background: radial-gradient(closest-side, rgba(63, 169, 196, .28), transparent); }
.section--dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%);
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split--top { align-items: start; }

/* ---------- Riepilogo mensile ---------- */
.summary {
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .08) inset;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.summary__period { font-size: 14px; color: var(--dark-muted); }
.summary__total { margin-top: 10px; font-family: var(--font-display); font-size: 84px; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.summary__total span { background: linear-gradient(100deg, #fff, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.summary__label { margin-top: 8px; color: var(--dark-muted); }
.summary__bar { margin-top: 24px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.summary__fill { display: block; height: 100%; width: var(--riempi, 80%); border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--mint)); box-shadow: 0 0 18px rgba(143, 211, 194, .55); }
.anima .summary__fill { width: 0; transition: width 1.6s cubic-bezier(.2, .7, .2, 1); }
.anima.in-vista .summary__fill { width: var(--riempi, 80%); }
.summary__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.summary__stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); }
.summary__stat-lab { font-size: 13px; color: var(--dark-muted); }
.summary__stat strong { font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; }
.summary__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: 14px; color: var(--dark-muted); }
.summary__foot strong { color: var(--mint); font-weight: 600; }

/* ---------- Funzioni (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__card {
  position: relative; overflow: hidden;
  padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__card--wide { grid-column: span 2; background: linear-gradient(140deg, #fff 40%, var(--accent-soft)); }
.bento__card--full { grid-column: 1 / -1; display: flex; gap: 22px; align-items: center; background: linear-gradient(100deg, var(--accent-soft), #E8F3F7); border-color: rgba(19, 163, 134, .2); }
.bento__card--full h3 { margin-top: 0 !important; }
.bento__card--dark { background: var(--dark); border-color: var(--dark); color: var(--dark-text); }
.bento__card--dark p { color: var(--dark-muted) !important; }
.bento__card--dark .bento__icon { background: rgba(143, 211, 194, .14); color: var(--mint); }
.bento__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px; background: var(--accent-soft); color: var(--accent); }
.bento__icon--warn { background: var(--warn-bg); color: var(--warn); }
.bento__card h3 { margin-top: 22px; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.bento__card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 560px; }
.rename { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; }
.rename__old { padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--muted-2); text-decoration: line-through; }
.rename__new { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid rgba(19, 163, 134, .4); color: var(--accent-dark); font-weight: 600; box-shadow: 0 8px 18px -12px rgba(14, 107, 90, .6); }
.rename .icon { color: var(--accent-2); }
.meter { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.meter span { flex: 1; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2) 80%, var(--line-2) 80%); }
.meter em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- Calcolatore ---------- */
.calc {
  padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__label label { font-weight: 600; color: var(--ink-2); }
.calc__value { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--accent); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 14px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--sky)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--sky)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 12px rgba(14, 107, 90, .35); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 12px rgba(14, 107, 90, .35); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(19, 163, 134, .25); }
.calc__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--muted-2); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-2); }
.stat__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.stat__label .icon { width: 16px; height: 16px; color: var(--accent-2); }
.stat__value { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__result { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--dark); color: var(--dark-text); }
.stat--plain { padding: 0; background: none; border: 0; }
.stat--plain .stat__label { color: var(--dark-muted); }
.stat--plain .stat__value { font-size: 24px; }
.pill { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: 15px; }

/* ---------- Prezzi ---------- */
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.segmented { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.segmented button {
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(11, 26, 36, .5); }
.segmented--full { display: flex; width: 100%; }
.segmented--full button { flex: 1; white-space: normal; line-height: 1.25; padding: 8px 12px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan, .cloud-plan {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.plan:hover, .cloud-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3, .cloud-plan h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.plan__for, .cloud-plan__for { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan__amount, .cloud-plan__amount { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan__per { font-size: 15px; color: var(--muted); }
.plan__billing { font-size: 13px; color: var(--muted-2); min-height: 2.6em; }
.plan__quota { display: inline-flex; align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 14px; }
.checklist { display: grid; gap: 10px; margin: 6px 0 10px; }
.checklist li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checklist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-2); stroke-width: 2.6; }
.plan .btn, .cloud-plan .btn { margin-top: auto; }
.plan__tag {
  position: absolute; top: -13px; left: 28px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 6px 14px -6px rgba(14, 107, 90, .8);
}
.plan__tag .icon { width: 13px; height: 13px; fill: currentColor; stroke-width: 0; }

.plan--featured, .cloud-plan--featured {
  background: var(--dark); border-color: var(--dark); color: var(--dark-text);
  box-shadow: 0 40px 70px -36px rgba(11, 26, 36, .75);
  isolation: isolate;
}
.plan--featured::before, .cloud-plan--featured::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, var(--mint), rgba(143, 211, 194, 0) 40%, rgba(63, 169, 196, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan--featured .plan__for, .plan--featured .plan__per, .cloud-plan--featured .cloud-plan__for, .cloud-plan--featured .plan__per { color: var(--dark-muted); }
.plan--featured .plan__billing { color: var(--dark-muted); }
.plan--featured .plan__quota { background: rgba(143, 211, 194, .14); color: var(--mint); }
.plan--featured .checklist li, .cloud-plan--featured .checklist li { color: var(--dark-text); }
.plan--featured .checklist .icon, .cloud-plan--featured .checklist .icon { color: var(--mint); }
.plan--featured .btn--primary, .cloud-plan--featured .btn--primary { background: var(--mint); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(143, 211, 194, .7); }
.plan--featured .btn--primary:hover, .cloud-plan--featured .btn--primary:hover { background: #fff; color: var(--ink); }
@media (min-width: 1025px) { .plan--featured { transform: translateY(-10px); } .plan--featured:hover { transform: translateY(-14px); } }

.plans-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.plan-mini {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 14px; align-items: center;
  padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
}
.plan-mini h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.plan-mini p { font-size: 14px; color: var(--muted); }
.plan-mini__price { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink) !important; white-space: nowrap; }
.plan-mini__price small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.plan-mini__btn { grid-column: 1 / -1; }

.addons { margin-top: 56px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.addons > h3, .setup h3, .rules h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.addons__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 16px; }
.addons__item { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.addons__item h4 { font-size: 16px; font-weight: 600; }
.addons__item p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.addons__price { flex: 0 0 auto; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent) !important; margin-top: 0 !important; white-space: nowrap; text-align: right; }
.addons__price small { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--muted-2); }

.setup {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px;
  margin-top: 20px; padding: 36px;
  border-radius: var(--r-lg); background: var(--dark); color: var(--dark-text);
}
.setup::before { content: ""; position: absolute; z-index: -1; left: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 163, 134, .35), transparent); }
.setup > div > p { margin-top: 12px; color: var(--dark-muted); }
.setup__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.setup__option { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); }
.setup__option h4 { font-size: 17px; font-weight: 600; }
.setup__option p { margin-top: 8px; font-size: 14.5px; color: var(--dark-muted); }
.setup__option .setup__price { margin-top: 16px; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.setup__price small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--dark-muted); }
.setup__option .setup__incl { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: 13.5px; }
.conf__pieno { color: var(--dark-muted); font-weight: 400; margin-right: 2px; font-size: .7em; }
.conf-nota { margin-top: 8px !important; font-size: 13.5px !important; color: var(--mint) !important; font-weight: 500; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.rules > div { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.rules h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.rules h3 .icon { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); stroke-width: 2.6; }
.rules:not(.cloud-rules) > div:nth-child(2) h3 .icon { background: #FBE7E4; color: #A23A2A; }
.rules ul { display: grid; gap: 10px; margin-top: 16px; }
.rules li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.rules li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* ---------- Cloud ---------- */
.cloud-compare { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cloud-compare .compare__label { margin-bottom: 8px; }
.cloud-compare__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-2); }
.cloud-compare__row span { font-weight: 600; }
.cloud-compare__row small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.cloud-compare__row strong { font-family: var(--font-display); font-size: 26px; white-space: nowrap; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(162, 58, 42, .55); text-decoration-thickness: 2px; }
.cloud-compare__row--us { background: var(--dark); border-color: var(--dark); color: var(--dark-text); }
.cloud-compare__row--us small { color: var(--dark-muted); }
.cloud-compare__row--us strong { color: var(--mint); text-decoration: none; }
.cloud-compare__note { margin-top: 14px; font-size: 13px; color: var(--muted-2); }

.cloud-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.cloud-plan { padding: 28px 24px; gap: 10px; }
.cloud-plan__size { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.cloud-plan--featured .cloud-plan__size { color: var(--mint); }
.cloud-plan__amount { font-size: 40px; }
.cloud-plan .plan__tag { left: 24px; }
.cloud-rules { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .lead { font-size: 16.5px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: rgba(19, 163, 134, .4); box-shadow: var(--shadow); }
.faq summary {
  position: relative; display: block; list-style: none;
  padding: 20px 60px 20px 22px; cursor: pointer;
  font-weight: 600; font-size: 16.5px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--accent); transition: transform .25s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Modulo di richiesta ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact__points { display: grid; gap: 14px; margin-top: 30px; }
.contact__points li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.contact__points .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(143, 211, 194, .15); color: var(--mint); stroke-width: 2.6; }
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 34px; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); color: var(--dark-muted); }
.contact__direct strong { width: 100%; color: var(--dark-text); }
.contact__direct a { color: var(--mint); font-weight: 600; text-decoration: none; }
.contact__direct a:hover { color: #fff; }

.form-card { padding: 32px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.form-card .segmented { background: var(--bg); box-shadow: none; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.form .full, .form__group, .consent { grid-column: 1 / -1; }
.form__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--field-border); border-radius: 12px; background: var(--surface);
  font: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(19, 163, 134, .18); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--field-border);
  font-size: 14.5px; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.radio:hover { border-color: var(--accent); }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.radio input, .consent input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.form__summary { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--dark); color: var(--dark-text); font-size: 14px; }
.form__summary span { color: var(--dark-muted); }
.form__summary strong { font-size: 15.5px; color: var(--mint); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 2px; }
.form__note { grid-column: 1 / -1; text-align: center; font-size: 13.5px; color: var(--muted-2); }
.alert { padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
.form__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 12px; }
.form__done-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(14, 107, 90, .8); }
.form__done h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.form__done h3:focus { outline: none; }
.form__done p { color: var(--muted); max-width: 440px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 36px; background: #07131B; color: var(--dark-muted); font-size: 14.5px; }
.site-footer .brand, .site-footer .brand:hover { color: var(--dark-text); }
.site-footer .brand__x { color: var(--mint); }
.site-footer .brand__by { color: var(--dark-muted); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--dark-line); }
.site-footer__brand p { margin-top: 16px; max-width: 300px; }
.site-footer__col h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-text); }
.site-footer__col ul { display: grid; gap: 10px; margin-top: 16px; }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: 8px; color: var(--dark-muted); text-decoration: none; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col .icon { width: 16px; height: 16px; color: var(--mint); }
.site-footer__legal { margin-top: 28px; font-size: 13px; color: #8FA19A; }
.site-footer__legal a { color: #C7D4CF; }
.by-auxbit { white-space: nowrap; }

/* Avviso "installa l'app" (app.js) */
.app-hint { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 480px; margin: 0 auto; padding: 18px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.app-hint button { margin-top: 12px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mint); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Adattamento agli schermi ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 10px; font-size: 14.5px; }
  .cloud-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 1024px) {
  .hero__grid, .method__intro, .split, .contact, .faq { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__visual { max-width: 560px; }
  .faq__intro { position: static; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .timeline::before { display: none; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step::after { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 28px; }
  .plans-mini { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .plan-mini { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto; }
  .plan-mini__btn { grid-column: auto; }
  .setup { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 12px 16px 20px; margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 26, 36, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .header-actions { margin-left: auto; }
  .site-header.is-open { background: rgba(255, 255, 255, .97); }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding-top: 40px; }
  .hero__visual { padding: 44px 0 40px; }
  .float-pill { right: 0; }
  .sources, .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__card--wide { grid-column: auto; }
  .bento__card--full { flex-direction: column; align-items: flex-start; }
  .addons__list, .setup__options, .rules { grid-template-columns: minmax(0, 1fr); }
  .addons, .setup { padding: 26px 22px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__arrow { margin: 0 auto; transform: rotate(90deg); }
  .compare__col--before { transform: none; }
  .integrations { justify-content: flex-start; margin-top: 48px; }
  .integrations__label { width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .lab-lungo { display: none; }
  .lab-corto { display: inline; }
  .header-actions .btn--quiet { display: none; }
  .solo-telefono { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  .timeline, .flow { grid-template-columns: minmax(0, 1fr); }
  .form, .form__group { grid-template-columns: minmax(0, 1fr); }
  .form-card, .calc, .summary { padding: 22px; }
  .calc__grid, .summary__stats { grid-template-columns: minmax(0, 1fr); }
  .summary__total { font-size: 64px; }
  .plan-mini { grid-template-columns: minmax(0, 1fr) auto; }
  .plan-mini__btn { grid-column: 1 / -1; }
  .pricing__head .segmented { width: 100%; }
  .pricing__head .segmented button { flex: 1; white-space: normal; line-height: 1.2; padding: 8px 10px; }
  .cloud-compare__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .cloud-plans { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 38px; }
  .hero__actions .btn { width: 100%; }
  .mail-card { left: 0; }
}
@media (max-width: 380px) {
  .brand__by { display: none; }
}
