/* ===== Sentinel landing v2 — G Tech Group · tema CHIARO alpino ===== */
/* Palette UFFICIALE (solo 5 colori brand) + bianco/neutri per leggibilità:
   Blu G Tech #5D91CF · Blu Notte #264573 · Blu Profondo #000222
   Grigio Tech #898B96 · Oro Dinamico #EAB940 (solo accenti "raggio di sole").
   Font UNICO: Poppins. */
:root {
  /* brand */
  --blue: #5D91CF;
  --night: #264573;
  --deep: #000222;
  --grey: #898B96;
  --gold: #EAB940;
  /* superfici (chiaro) */
  --bg: #F6F8FC;          /* off-white alpino */
  --surface: #FFFFFF;
  --surface-2: #EDF2F9;
  /* testo */
  --title: #264573;       /* Blu Notte */
  --text: #3A4152;        /* ink neutro */
  --muted: #48506A;
  --accent: #5D91CF;
  --accent-strong: #3E6FA8; /* blu leggibile su bianco (AA) */
  --gold-ink: #8A6410;
  /* linee/ombre (blu notte in opacità, mai nero) */
  --line: rgba(38, 69, 115, 0.12);
  --line-strong: rgba(38, 69, 115, 0.22);
  --shadow-sm: 0 2px 12px rgba(38, 69, 115, 0.08);
  --shadow-md: 0 12px 32px rgba(38, 69, 115, 0.10);
  --shadow-lg: 0 24px 60px rgba(38, 69, 115, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; }
html { scroll-padding-top: 84px; }
body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  overflow-wrap: anywhere;
}
button, input, select, textarea { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
strong { color: var(--title); font-weight: 600; }
em { color: var(--accent-strong); font-style: normal; font-weight: 500; }

/* Foto hero (Dolomiti, © Gianluca Gentile / Pexels): sfondo della sola sezione
   hero, con velo chiaro a sinistra per la leggibilità del testo blu notte. */
.hero-photo { position: absolute; inset: -8% -4%; z-index: 0; overflow: hidden;
  background: #dbe6f3 url(hero-lg.webp) center 30% / cover no-repeat; will-change: transform; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(246,248,252,0.96) 0%, rgba(246,248,252,0.78) 36%, rgba(246,248,252,0.30) 62%, rgba(246,248,252,0) 86%),
    linear-gradient(0deg, var(--bg) 2%, rgba(246,248,252,0) 26%); }

/* ---- nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 48px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .16em; font-size: 15px; color: var(--title); }
/* simbolo UFFICIALE G Tech (esagono G + vetta Dolomiti) */
.brand-mark { width: 27px; height: 27px; background: url(logo/brand-mark.png) center/contain no-repeat; flex: none; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--title); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.nav-links .language-switch { display: inline-grid; place-items: center; min-width: 38px; height: 29px; padding: 0 7px; border: 1px solid rgba(77,91,255,.24); border-radius: 999px; background: rgba(255,255,255,.78); color: var(--accent-strong); box-shadow: 0 3px 12px rgba(21,52,93,.08); }
.nav-links .language-switch:hover, .nav-links .language-switch:focus-visible { border-color: rgba(77,91,255,.5); background: #fff; color: var(--accent); }
.language-flag { display: block; width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(21,52,93,.14); }
/* Mega menu Funzionalità */
.nav-dd { position: relative; }
.nav-dd::before { content: ""; position: absolute; z-index: 1; top: 100%; left: -12px; width: calc(100% + 24px); height: 22px; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-trigger::after { content: "▾"; font-size: 10px; opacity: .7; transition: transform .2s ease; }
.nav-dd-menu {
  position: fixed; top: 62px; left: 50vw; width: min(960px, calc(100vw - 32px));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px;
  padding: 14px; background: rgba(255,255,255,.98); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 22px 60px rgba(12, 29, 56, .18);
  max-height: calc(100vh - 78px); overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -8px); transform-origin: top center;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-dd:hover .nav-dd-trigger::after, .nav-dd:focus-within .nav-dd-trigger::after { transform: rotate(180deg); }
.nav-dd-menu .mega-item {
  display: block; min-width: 0; padding: 11px 13px; border: 1px solid transparent;
  border-radius: 11px; white-space: normal; transition: background .18s, border-color .18s, transform .18s;
}
.nav-dd-menu .mega-item span { display: block; margin-bottom: 4px; color: var(--title); font-size: 14px; font-weight: 650; line-height: 1.25; }
.nav-dd-menu .mega-item small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; line-height: 1.4; }
.nav-dd-menu .mega-item:hover,
.nav-dd-menu .mega-item:focus-visible,
.nav-dd-menu .mega-item[aria-current="page"] { background: var(--surface-2); border-color: var(--line); transform: translateY(-1px); }
.nav-dd-menu .mega-item-overview { background: linear-gradient(135deg, rgba(77, 91, 255, .09), rgba(38, 199, 169, .07)); border-color: rgba(77, 91, 255, .16); }

@media (max-width: 1180px) and (min-width: 861px) {
  .nav { padding-left: 22px; padding-right: 22px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 12.5px; }
  .nav-cta { padding-left: 15px; padding-right: 15px; }
}

/* Database pubblico delle minacce: solo dati aggregati, mai indirizzi IP. */
.database-hero .page-hero-inner { max-width: 980px; }
.database-live-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 13px; border: 1px solid rgba(38,199,169,.28); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--title); font-size: 13px; }
.database-live-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #21b690; box-shadow: 0 0 0 5px rgba(33,182,144,.12); }
.section.database-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 0; padding-top: 44px; padding-bottom: 34px; position: relative; z-index: 2; }
.database-summary + .section { padding-top: 46px; }
.database-stat { position: relative; overflow: hidden; padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.database-stat::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg,var(--accent),#27c7a9); transform: scaleX(.42); transform-origin: left; transition: transform .3s ease; }
.database-stat:hover { transform: translateY(-4px); border-color: rgba(77,91,255,.25); box-shadow: 0 18px 42px rgba(21,52,93,.12); }
.database-stat:hover::before { transform: scaleX(1); }
.database-stat span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.database-stat strong { display: block; margin: 7px 0 3px; color: var(--title); font-size: clamp(1.8rem,3vw,2.55rem); line-height: 1; }
.database-stat small { color: var(--muted); font-size: 11px; }
.database-command-section { padding-top: 18px; padding-bottom: 54px; }
.database-command { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.48fr) minmax(290px,.52fr); gap: clamp(28px,5vw,72px); min-height: 460px; overflow: hidden; padding: clamp(32px,5vw,68px); border: 1px solid rgba(140,184,255,.2); border-radius: 30px; background: radial-gradient(circle at 85% 18%,rgba(68,205,255,.18),transparent 27%), radial-gradient(circle at 60% 115%,rgba(38,199,169,.16),transparent 34%), linear-gradient(135deg,#071b3c 0%,#0c2d5d 55%,#071a36 100%); box-shadow: 0 32px 80px rgba(7,27,60,.22); color: #fff; }
.database-command::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .24; background-image: linear-gradient(rgba(138,184,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(138,184,255,.12) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,#000,transparent 78%); }
.database-command-copy { position: relative; z-index: 2; align-self: center; }
.database-command-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #9ce9da; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.database-command-kicker span { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #41e0bc; box-shadow: 0 0 0 6px rgba(65,224,188,.12),0 0 25px rgba(65,224,188,.8); }
.database-command-kicker span::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(65,224,188,.48); border-radius: 50%; animation: database-pulse 2s ease-out infinite; }
.section .database-command h2 { max-width: 740px; margin: 0 0 15px; color: #fff; font-size: clamp(2rem,4.2vw,3.55rem); line-height: 1.04; letter-spacing: -.04em; }
.database-command-copy > p:not(.database-command-kicker) { max-width: 760px; margin: 0; color: rgba(231,241,255,.76); font-size: clamp(.93rem,1.5vw,1.08rem); line-height: 1.75; }
.database-command-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 30px; }
.database-command-metrics article { min-width: 0; padding: 17px 18px; border: 1px solid rgba(173,208,255,.16); border-radius: 15px; background: rgba(255,255,255,.065); backdrop-filter: blur(8px); }
.database-command-metrics span,.database-command-metrics small { display: block; color: rgba(215,230,249,.62); font-size: 10px; line-height: 1.35; }
.database-command-metrics strong { display: block; overflow: hidden; margin: 7px 0 5px; color: #fff; font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.15; text-overflow: ellipsis; }
.database-radar { position: relative; align-self: center; justify-self: center; width: min(29vw,340px); aspect-ratio: 1; border: 1px solid rgba(119,208,255,.18); border-radius: 50%; background: radial-gradient(circle,rgba(56,224,190,.12) 0 2%,transparent 3%),repeating-radial-gradient(circle,transparent 0 20%,rgba(116,190,255,.12) 20.5% 21%,transparent 21.5% 40%); box-shadow: inset 0 0 70px rgba(32,161,213,.09),0 0 80px rgba(19,121,190,.12); }
.database-radar::before,.database-radar::after { content: ""; position: absolute; background: rgba(115,194,255,.15); }
.database-radar::before { top: 50%; left: 3%; width: 94%; height: 1px; }
.database-radar::after { top: 3%; left: 50%; width: 1px; height: 94%; }
.database-radar-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(135,209,255,.14); border-radius: 50%; transform: translate(-50%,-50%); }
.database-radar-ring-one { width: 34%; height: 34%; }
.database-radar-ring-two { width: 65%; height: 65%; }
.database-radar-ring-three { width: 92%; height: 92%; }
.database-radar-sweep { position: absolute; inset: 4%; overflow: hidden; border-radius: 50%; background: conic-gradient(from 25deg,transparent 0 76%,rgba(67,224,192,.03) 82%,rgba(67,224,192,.32) 99%,transparent 100%); animation: database-radar-spin 5.5s linear infinite; }
.database-radar-sweep::after { content: ""; position: absolute; top: 50%; left: 50%; width: 47%; height: 1px; background: linear-gradient(90deg,rgba(68,232,198,.9),transparent); box-shadow: 0 0 12px rgba(68,232,198,.8); transform-origin: left; }
.database-radar-core { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-content: center; width: 88px; height: 88px; border: 1px solid rgba(123,237,215,.38); border-radius: 50%; background: rgba(7,30,62,.88); box-shadow: 0 0 0 8px rgba(59,216,188,.05),0 0 40px rgba(59,216,188,.18); text-align: center; transform: translate(-50%,-50%); }
.database-radar-core b { color: #63e3c7; font-size: 14px; letter-spacing: .15em; }
.database-radar-core small { margin-top: 2px; color: rgba(222,238,255,.58); font-size: 8px; letter-spacing: .12em; }
.database-radar-dot { position: absolute; z-index: 3; width: 8px; height: 8px; border: 2px solid #aaf6e7; border-radius: 50%; background: #36d8b6; box-shadow: 0 0 0 5px rgba(54,216,182,.11),0 0 18px #36d8b6; animation: database-dot 2.4s ease-in-out infinite; }
.database-radar-dot-one { top: 21%; left: 61%; }
.database-radar-dot-two { top: 67%; left: 24%; animation-delay: -.8s; }
.database-radar-dot-three { top: 73%; left: 71%; animation-delay: -1.5s; }
@keyframes database-radar-spin { to { transform: rotate(360deg); } }
@keyframes database-pulse { 0% { opacity: 1; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes database-dot { 50% { opacity: .48; transform: scale(.75); } }
.database-section-tight { padding-top: 46px; }
.database-overview-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,.75fr); gap: 22px; align-items: stretch; }
.database-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(270px,.8fr); gap: 22px; align-items: start; }
.database-signal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.database-panel { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.database-panel-head { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 18px; align-items: flex-start; min-height: 92px; padding: 24px 25px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.database-panel-head > div { min-width: 0; flex: 1 1 220px; }
.section .database-panel-head h2 { margin: 4px 0 0; color: var(--title); font-size: clamp(1.22rem,2vw,1.6rem); line-height: 1.18; letter-spacing: -.01em; }
.database-panel-head p { margin: 0; color: var(--muted); font-size: 12px; }
.database-window { flex: none; padding: 7px 10px; border-radius: 999px; background: var(--surface-2); color: var(--accent-strong); font-size: 11px; font-weight: 650; }
.database-country-podium { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: end; min-height: 230px; padding: 35px 24px 24px; background: radial-gradient(circle at 50% 0,rgba(77,91,255,.11),transparent 50%),linear-gradient(180deg,#fbfdff,#f6f9fe); border-bottom: 1px solid var(--line); }
.database-podium-card { position: relative; display: grid; justify-items: center; min-width: 0; padding: 20px 13px 17px; border: 1px solid rgba(99,129,177,.16); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(25,64,111,.08); text-align: center; }
.database-podium-card.is-rank-1 { grid-column: 2; grid-row: 1; padding-top: 26px; border-color: rgba(77,91,255,.3); background: linear-gradient(145deg,#fff,#f2f5ff); box-shadow: 0 18px 42px rgba(77,91,255,.14); transform: translateY(-12px); }
.database-podium-card.is-rank-2 { grid-column: 1; grid-row: 1; }
.database-podium-card.is-rank-3 { grid-column: 3; grid-row: 1; }
.database-podium-position { position: absolute; top: 10px; left: 11px; display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 6px; border-radius: 8px; background: var(--surface-2); color: var(--accent-strong); font-size: 10px; font-weight: 750; }
.is-rank-1 .database-podium-position { color: #fff; background: linear-gradient(135deg,var(--accent),#6f87ff); }
.database-podium-flag { display: block; width: 64px; height: 48px; margin-bottom: 11px; border: 1px solid rgba(105,136,182,.16); border-radius: 10px; background: #fff; box-shadow: 0 9px 22px rgba(26,66,110,.13); object-fit: cover; }
.is-rank-1 .database-podium-flag { width: 76px; height: 57px; }
.database-podium-card h3 { overflow: hidden; width: 100%; margin: 0; color: var(--title); font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.database-podium-card strong { margin: 7px 0 2px; color: var(--title); font-size: 1.45rem; line-height: 1; }
.database-podium-card small { color: var(--muted); font-size: 9.5px; line-height: 1.4; }
.database-table-wrap { position: relative; z-index: 1; clear: both; overflow-x: auto; background: #fff; }
.database-table { width: 100%; border-collapse: collapse; }
.database-table th, .database-table td { padding: 15px 25px; text-align: left; border-bottom: 1px solid var(--line); }
.database-table thead { position: static; }
.database-table th { position: static; color: var(--muted); background: #fbfcfe; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.database-table td { color: var(--title); font-size: 13px; }
.database-table tbody tr:last-child td { border-bottom: 0; }
.database-country { display: flex; align-items: center; gap: 11px; min-width: 155px; font-weight: 600; }
.database-flag { display: block; flex: 0 0 auto; width: 40px; height: 30px; border: 1px solid rgba(86,118,164,.15); border-radius: 6px; background: #fff; box-shadow: 0 5px 15px rgba(26,66,110,.1); object-fit: cover; }
.database-country-identity { display: grid; min-width: 0; }
.database-country-identity > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.database-country-identity small,.database-number-cell small { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.database-number-cell strong,.database-number-cell small { display: block; }
.database-number-cell strong { color: var(--title); font-size: 13px; }
.database-inline-country { display: flex !important; align-items: center; gap: 9px; }
.database-inline-flag { display: block; flex: 0 0 auto; width: 32px; height: 24px; border: 1px solid rgba(178,210,245,.22); border-radius: 5px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.database-volume { min-width: 130px; }
.database-volume-track { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.database-volume-bar { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),#6aa3df); }
.duration-list { padding: 8px 24px 16px; }
.duration-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.duration-item:last-child { border-bottom: 0; }
.duration-item h3 { margin: 0; color: var(--title); font-size: 14px; }
.duration-item strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent-strong); font-size: 1.45rem; }
.duration-item p { margin: 0; color: var(--muted); font-size: 11px; }
.database-metric-list { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 24px 18px; }
.database-metric-list > div { padding: 15px 10px; border-bottom: 1px solid var(--line); }
.database-metric-list > div:nth-last-child(-n+2) { border-bottom: 0; }
.database-metric-list span, .database-metric-list small { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.database-metric-list strong { display: block; margin-top: 5px; color: var(--title); font-size: 1.35rem; line-height: 1.1; }
.database-metric-list .database-metric-wide { grid-column: 1 / -1; padding-top: 17px; }
.database-timeline-wrap { position: relative; z-index: 1; padding: 25px 25px 22px; overflow-x: auto; background: #fff; }
.database-timeline { display: grid; grid-template-columns: repeat(7,minmax(54px,1fr)); gap: 12px; min-width: 520px; height: 245px; align-items: end; }
.database-day { display: grid; grid-template-rows: auto 170px auto; gap: 8px; height: 100%; text-align: center; }
.database-day strong { color: var(--title); font-size: 12px; }
.database-day-track { display: flex; align-items: end; height: 170px; padding: 0 8px; border-bottom: 1px solid var(--line); background: linear-gradient(to top,rgba(231,236,245,.5) 1px,transparent 1px) 0 0 / 100% 34px; }
.database-day-bar { display: block; width: 100%; min-height: 4px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg,#6da4df,var(--accent)); box-shadow: 0 7px 18px rgba(77,91,255,.16); }
.database-day time { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.database-ranked-list { position: relative; z-index: 1; padding: 9px 24px 17px; background: #fff; }
.database-ranked-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.database-ranked-item:last-child { border-bottom: 0; }
.database-ranked-item h3 { margin: 0; color: var(--title); font-size: 13px; }
.database-ranked-item strong { color: var(--accent-strong); font-size: 14px; }
.database-ranked-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.database-ranked-bar { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg,var(--accent),#78b1e8); }
.database-privacy { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border: 1px solid rgba(77,91,255,.2); border-radius: 18px; background: linear-gradient(135deg,rgba(77,91,255,.07),rgba(38,199,169,.05)); }
.database-privacy-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--accent-strong); font-weight: 700; box-shadow: var(--shadow-sm); }
.section .database-privacy h2 { margin: 0 0 7px; color: var(--title); font-size: 18px; line-height: 1.25; }
.database-privacy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.database-empty { padding: 28px; color: var(--muted); text-align: center; }
.database-freshness.is-error { color: #a33b3b; }
.database-methodology-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.database-methodology-grid .card { min-height: 100%; }
.database-source-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 22px; margin-top: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.database-source-bar div { display: grid; gap: 3px; }
.database-source-bar strong { color: var(--title); font-size: 15px; }
.database-source-bar span, .database-source-bar small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.database-source-bar small { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
.about-facts .card a, .database-privacy a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.about-principles { padding: clamp(24px,4vw,38px); }
.about-principles h3 { margin-bottom: 18px; color: var(--title); font-size: 1.25rem; }
.about-principles .check-list { margin: 0; }

@media (max-width: 900px) {
  .section.database-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .database-overview-grid, .database-layout, .database-signal-grid { grid-template-columns: 1fr; }
  .database-command { grid-template-columns: 1fr; }
  .database-radar { position: absolute; right: -80px; bottom: -95px; width: 310px; opacity: .38; }
  .database-command-copy { padding-right: 5%; }
  .database-methodology-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section.database-summary { grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 0; padding-top: 26px; padding-bottom: 24px; }
  .database-stat { padding: 17px 15px; }
  .database-command-section { padding-top: 8px; padding-bottom: 36px; }
  .database-command { min-height: 0; padding: 29px 20px 110px; border-radius: 23px; }
  .section .database-command h2 { font-size: 1.9rem; }
  .database-command-copy > p:not(.database-command-kicker) { font-size: .88rem; line-height: 1.65; }
  .database-command-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .database-command-metrics article { padding: 14px 12px; }
  .database-command-metrics strong { font-size: 1rem; white-space: normal; }
  .database-radar { right: -74px; bottom: -155px; width: 285px; opacity: .48; }
  .database-panel-head { min-height: 0; align-items: start; padding: 20px 18px 15px; }
  .database-panel-head > div { flex-basis: 180px; }
  .database-timeline-wrap { padding: 20px 17px; }
  .database-metric-list { padding-left: 13px; padding-right: 13px; }
  .database-ranked-list { padding-left: 18px; padding-right: 18px; }
  .database-table th, .database-table td { padding: 13px 10px; }
  .database-table th:nth-child(4), .database-table td:nth-child(4) { display: none; }
  .database-table th:first-child, .database-table td:first-child { padding-left: 16px; }
  .database-table th:last-child, .database-table td:last-child { padding-right: 16px; }
  .database-country-podium { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(165px,72%); grid-template-columns: none; justify-content: start; min-height: 0; overflow-x: auto; padding: 31px 16px 19px; scroll-snap-type: x proximity; }
  .database-podium-card,.database-podium-card.is-rank-1,.database-podium-card.is-rank-2,.database-podium-card.is-rank-3 { grid-column: auto; grid-row: auto; min-height: 178px; transform: none; scroll-snap-align: start; }
  .database-podium-card.is-rank-1 { order: -1; }
  .database-country { min-width: 134px; gap: 8px; }
  .database-flag { width: 36px; height: 27px; }
  .database-table th:nth-child(2), .database-table td:nth-child(2) { width: 58px; }
  .database-table th:nth-child(3), .database-table td:nth-child(3) { width: 82px; }
  .database-privacy { grid-template-columns: 1fr; }
  .database-methodology-grid { grid-template-columns: 1fr; }
  .database-source-bar { grid-template-columns: 1fr; }
  .database-source-bar .btn { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .database-radar-sweep,.database-radar-dot,.database-command-kicker span::after { animation: none; }
}
/* blocco "Funzionalità correlate" (fondo pagine feature) */
.feat-related-title { font-size: clamp(20px, 2.4vw, 26px); color: var(--title); text-align: center; margin: 0 0 28px; }
.feat-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-related a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat-related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feat-related h3 { font-size: 16px; color: var(--title); margin: 0 0 6px; }
.feat-related p { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .feat-related { grid-template-columns: 1fr; } }

/* legal pages */
.legal-page { max-width: 900px; margin: 24px auto 72px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-md); padding: 145px clamp(24px, 6vw, 72px) 64px; }
.legal-page::before { content: "INFORMAZIONI LEGALI"; display: inline-block; color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.legal-page h1 { color: var(--title); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.1; margin: 18px 0; }
.legal-page h2 { color: var(--title); font-size: 1.35rem; margin: 34px 0 10px; }
.legal-page p { max-width: 78ch; margin: 0 0 14px; }
.legal-page a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-page .lead { font-size: 1.08rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 22px; }
.cookie-notice { position: fixed; left: 18px; bottom: 18px; z-index: 100; max-width: min(390px, calc(100vw - 36px)); }
.cookie-panel { background: rgba(255,255,255,.98); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 18px 48px rgba(0,2,34,.20); padding: 18px; }
.cookie-panel[hidden], .cookie-launcher[hidden] { display: none; }
.cookie-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.cookie-panel h2 { color: var(--title); font-size: 16px; margin: 0; }
.cookie-icon, .cookie-launcher-icon { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); }
.cookie-icon svg, .cookie-launcher-icon svg { width: 22px; height: 22px; display: block; }
.cookie-icon svg path, .cookie-launcher-icon svg path { fill: var(--accent-strong); stroke: var(--night); stroke-width: 1.2; }
.cookie-icon svg circle, .cookie-launcher-icon svg circle { fill: var(--gold); }
.cookie-panel p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 13px; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cookie-actions .btn { border: 0; padding: 9px 15px; font-size: 13px; }
.cookie-actions a { color: var(--accent-strong); font-size: 12px; text-decoration: underline; }
.cookie-launcher { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255,255,255,.98); color: var(--title); box-shadow: var(--shadow-md); padding: 7px; font-family: inherit; font-size: 12px; line-height: 1.2; font-weight: 600; cursor: pointer; }
.cookie-launcher > span:last-child { display: none; }
.cookie-launcher-icon { width: 26px; height: 26px; }
.cookie-launcher-icon svg { width: 23px; height: 23px; }
.cookie-launcher:focus-visible, .cookie-actions .btn:focus-visible, .cookie-actions a:focus-visible { outline: 3px solid rgba(93,145,207,.45); outline-offset: 3px; }
.cookie-launcher:hover { border-color: var(--accent); transform: translateY(-1px); }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,.35); transition: transform .2s, box-shadow .2s, background .2s; }
.whatsapp-float:hover { color: #fff; background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,211,102,.45); }
.whatsapp-float:focus-visible { outline: 3px solid rgba(37,211,102,.45); outline-offset: 4px; }
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }
@media (max-width: 600px) { .legal-page { padding: 125px 20px 40px; border-radius: 16px; margin: 0 12px 44px; } .cookie-notice { left: calc(12px + env(safe-area-inset-left)); bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); max-width: 390px; } }
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.consent-check input { margin-top: 4px; accent-color: var(--accent-strong); }
.consent-check a { color: var(--accent-strong); text-decoration: underline; }

/* ---- buttons ---- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; will-change: transform; }
.btn-primary { color: #fff; background: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); background: var(--night); box-shadow: var(--shadow-lg); }
.btn-ghost { color: var(--night); background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.nav-cta { padding: 9px 18px; font-size: 14px; }

/* ---- content sopra le montagne ---- */
main { position: relative; z-index: 1; }
/* hero trasparente → si vedono le montagne dietro */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  padding: 140px clamp(18px, 5vw, 48px) 80px; background: var(--bg); }
.stats, .section, .cta, .footer { position: relative; z-index: 1; background: var(--bg); }

.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: 12px; font-weight: 500; color: var(--accent-strong); margin-bottom: 20px; }
.hero-title { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.02em; color: var(--title); margin-bottom: 22px; }
.grad { background: linear-gradient(120deg, var(--night), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 400; color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--night);
  background: rgba(93, 145, 207, 0.08); border: 1px solid rgba(93, 145, 207, 0.20); padding: 6px 12px; border-radius: 999px; }
.hero-badges span::before { content: "▲"; color: var(--gold); font-size: 9px; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px;
  border: 2px solid var(--line-strong); border-radius: 14px; background: none; cursor: pointer; display: flex; justify-content: center; padding-top: 8px; z-index: 1; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(8px); } }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--maxw); margin: 0 auto; padding: 56px clamp(18px, 5vw, 48px); }
.stats-five { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { text-align: center; padding: 28px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.stat-num { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 6px; }
.stats-freshness { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -6px; color: var(--muted); font-size: 12px; text-align: center; }
.stats-freshness::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(93,145,207,.12); }
.stats-freshness.is-error::before { background: var(--grey); box-shadow: none; }

/* ---- prova operativa reale ---- */
.field-proof { padding-top: clamp(3.5rem, 7vw, 6rem); }
.field-proof-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.field-proof-story { min-width: 0; }
.proof-live { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--accent-strong); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.proof-live > span, .proof-dashboard figcaption > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(93,145,207,.12); }
.proof-steps { list-style: none; display: grid; gap: 0; margin-bottom: 26px; }
.proof-steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding-bottom: 22px; }
.proof-steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 36px; bottom: 4px; width: 1px; background: var(--line-strong); }
.proof-steps li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--accent-strong); font-size: 11px; font-weight: 700; }
.proof-steps h3 { margin: 1px 0 5px; color: var(--title); font-size: 1.12rem; }
.proof-steps p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.proof-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 24px; }
.proof-metrics > div { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.proof-metrics strong { display: block; color: var(--accent); font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1; }
.proof-metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.proof-dashboard { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.proof-dashboard img { display: block; width: 100%; height: auto; }
.proof-dashboard figcaption { display: flex; align-items: center; gap: 9px; padding: 14px 17px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.proof-dashboard figcaption > span { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(93,145,207,.12); }

/* ---- tour dashboard ---- */
.dashboard-tour { padding-top: clamp(3.5rem, 7vw, 6rem); }
.tour-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); }
.tour-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px; gap: 8px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tour-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.tour-tabs button span { color: var(--accent); font-size: 11px; }
.tour-tabs button:hover { color: var(--title); background: rgba(255,255,255,.65); }
.tour-tabs button[aria-selected="true"] { border-color: var(--line-strong); background: var(--surface); color: var(--title); box-shadow: var(--shadow-sm); }
.tour-tabs button:focus-visible { outline: 3px solid rgba(93,145,207,.28); outline-offset: 2px; }
.tour-panel[hidden] { display: none; }
.tour-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); align-items: stretch; animation: tour-in .28s ease-out; }
.tour-panel img { display: block; width: 100%; height: auto; border-right: 1px solid var(--line); }
.tour-panel figcaption { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 44px); background: linear-gradient(145deg, var(--surface), var(--surface-2)); }
.tour-panel figcaption strong { margin-bottom: 10px; color: var(--title); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.tour-panel figcaption span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.tour-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@keyframes tour-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- compatibilità ---- */
.compat-ok { color: #26724a; }
.compat-check { color: var(--gold-ink); }
.compat-project { color: var(--grey); }
.compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compat-grid-two { grid-template-columns: repeat(2, 1fr); }
.compat-card { padding: 30px 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.compat-card h3 { margin: 15px 0 9px; color: var(--title); font-size: 1.2rem; }
.compat-card p { color: var(--muted); font-size: 14px; }
.compat-card ul { display: grid; gap: 7px; margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.compat-status { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.compat-status.is-ok { color: #1e6741; background: #e6f5ed; }
.compat-status.is-check { color: #79580d; background: #fff5d9; }
.compat-status.is-project { color: #5d6270; background: #eceef3; }
.compat-flow { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 250px; padding: 28px; }
.compat-flow > div { flex: 1; padding: 20px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; box-shadow: var(--shadow-sm); }
.compat-flow b, .compat-flow small { display: block; }
.compat-flow b { color: var(--title); font-size: 14px; }
.compat-flow small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.compat-flow i { color: var(--gold); font-style: normal; font-size: 20px; }
.compat-note { max-width: 820px; margin: 25px auto 0; padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 13px; text-align: center; }
.compat-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.compat-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compat-table th, .compat-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 13px; }
.compat-table th { color: var(--title); background: var(--surface-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.compat-table td { color: var(--muted); }
.compat-table td:first-child { color: var(--title); font-weight: 600; }
.compat-table tr:last-child td { border-bottom: 0; }

/* ---- attivazione ---- */
.activation-timeline { position: relative; list-style: none; display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }
.activation-timeline::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 31px; width: 1px; background: var(--line-strong); }
.activation-timeline li { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.activation-number { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 700; }
.activation-copy { padding: 24px 27px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); }
.activation-label { margin-bottom: 6px; color: var(--accent-strong); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.activation-copy h3 { margin-bottom: 8px; color: var(--title); font-size: 1.2rem; }
.activation-copy > p:not(.activation-label) { color: var(--muted); font-size: 14px; }
.activation-copy > strong { display: block; margin-top: 13px; color: var(--title); font-size: 12px; }
.activation-architecture { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 270px; padding: 28px; }
.activation-architecture > div { flex: 1; padding: 22px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; box-shadow: var(--shadow-sm); }
.activation-architecture > div.is-accent { border-color: rgba(93,145,207,.45); background: #f1f6fc; }
.activation-architecture b, .activation-architecture small { display: block; }
.activation-architecture b { color: var(--title); font-size: 13px; }
.activation-architecture small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.activation-architecture i { color: var(--gold); font-size: 20px; font-style: normal; }
.activation-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.activation-scope .scope-card:not(.scope-yes) { border-color: var(--line); background: var(--surface); }

/* ---- sicurezza e fiducia ---- */
.trust-flow { display: flex; align-items: stretch; gap: 12px; }
.trust-flow > div { flex: 1; display: flex; flex-direction: column; padding: 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.trust-flow > div span { color: var(--accent); font-size: 11px; font-weight: 700; }
.trust-flow > div b { margin-top: 11px; color: var(--title); font-size: 14px; }
.trust-flow > div small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.trust-flow > i { display: grid; place-items: center; color: var(--gold); font-size: 20px; font-style: normal; }
.trust-note { max-width: 900px; margin: 24px auto 0; padding: 16px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 12px; line-height: 1.65; text-align: center; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-card { padding: 26px 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); }
.trust-card > span { color: var(--accent-strong); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.trust-card h3 { margin: 11px 0 8px; color: var(--title); font-size: 1.08rem; }
.trust-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-caveat { margin-top: 19px; padding: 13px 15px; border-left: 3px solid var(--gold); background: var(--surface-2); color: var(--muted); font-size: 12px !important; }
.trust-locks { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; min-height: 290px; padding: 30px; }
.trust-locks > div:not(.trust-lock):not(.trust-vault) { padding: 22px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; box-shadow: var(--shadow-sm); }
.trust-locks b, .trust-locks small { display: block; }
.trust-locks b { color: var(--title); font-size: 14px; }
.trust-locks small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.trust-lock { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--night); color: #fff; font-size: 11px; font-weight: 700; }
.trust-vault { grid-column: 1 / -1; padding: 18px; border: 1px solid rgba(93,145,207,.35); border-radius: 14px; background: #f0f6fc; text-align: center; }
.trust-retention { align-self: center; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md); }
.trust-retention h3 { margin-bottom: 17px; color: var(--title); font-size: 1.2rem; }
.trust-retention > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trust-retention > div span { color: var(--muted); font-size: 13px; }
.trust-retention > div strong { font-size: 13px; }
.trust-retention > p { margin-top: 17px; color: var(--muted); font-size: 11px; }
.disclosure-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(30px, 5vw, 52px); border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(145deg, #fff, #edf3fa); box-shadow: var(--shadow-lg); }
.disclosure-card h2 { margin-bottom: 13px; }
.disclosure-card p { max-width: 760px; color: var(--muted); }
.disclosure-card p a { color: var(--accent-strong); font-weight: 600; }
.disclosure-links { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 24px; }
.disclosure-mark { display: grid; place-items: center; width: 118px; height: 118px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--night); }
.disclosure-mark span, .disclosure-mark small { grid-column: 1; }
.disclosure-mark span { align-self: end; font-size: 1.5rem; font-weight: 700; }
.disclosure-mark small { align-self: start; color: var(--accent-strong); font-size: 10px; letter-spacing: .12em; }

/* ---- soluzioni per settore ---- */
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.audience-card { grid-column: span 2; display: flex; flex-direction: column; min-height: 270px; padding: 29px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s, box-shadow .25s; }
.audience-card:nth-child(4) { grid-column: 2 / span 2; }
.audience-card:hover { transform: translateY(-4px); border-color: rgba(93,145,207,.5); box-shadow: var(--shadow-md); }
.audience-card > span { color: var(--accent); font-size: 12px; font-weight: 700; }
.audience-card h3 { margin: 18px 0 10px; color: var(--title); font-size: 1.3rem; }
.audience-card p { color: var(--muted); font-size: 14px; }
.audience-card b { margin-top: auto; padding-top: 22px; color: var(--accent-strong); font-size: 12px; }
.audience-fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-fit .card { min-height: 210px; }
.audience-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.audience-path > div { padding: 22px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.audience-path span { color: var(--accent); font-size: 11px; font-weight: 700; }
.audience-path h3 { margin: 12px 0 7px; color: var(--title); font-size: 1rem; }
.audience-path p { color: var(--muted); font-size: 12px; }
.audience-price-note { max-width: 900px; margin: 28px auto 0; padding: 18px 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 13px; text-align: center; }

/* ---- confronto ---- */
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md); }
.comparison-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.comparison-table th, .comparison-table td { padding: 16px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 12px; line-height: 1.5; }
.comparison-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); color: var(--title); font-size: 11px; }
.comparison-table tbody th { width: 175px; background: #fafbfd; color: var(--title); font-weight: 600; }
.comparison-table td { color: var(--muted); }
.comparison-table .is-sentinel { background: #f1f6fc; color: var(--title); }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.compare-yes, .compare-var, .compare-no { font-weight: 600; }
.compare-yes { color: #1e6741; }
.compare-var { color: #79580d; }
.compare-no { color: #6b7080; }
.compare-legend { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 11px; }
.compare-legend span { display: inline-flex; align-items: center; gap: 7px; }
.compare-legend i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.choice-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.choice-card > span { color: var(--accent-strong); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.choice-card h3 { margin: 12px 0 8px; color: var(--title); font-size: 1.15rem; }
.choice-card p { color: var(--muted); font-size: 13px; }
.compare-summary { align-self: center; padding: 32px; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(145deg, #fff, #edf3fa); box-shadow: var(--shadow-md); }
.compare-summary h3 { color: var(--title); font-size: 1.35rem; }
.compare-summary p { margin: 13px 0 23px; color: var(--muted); }
.compare-cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- sezioni ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) clamp(18px, 5vw, 48px); }
/* nota: max-width + margin auto + background su .section richiede wrapper full-bleed; qui il bg copre comunque il canvas nella colonna centrale, i lati mostrano --bg del body-sky: aggiungo un fondo pieno via box-shadow esteso */
.section {  }
.stats {  }
.cta {  }
.footer {  }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.kicker { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; font-weight: 500; color: var(--accent-strong); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; color: var(--title); }
.section-lead { color: var(--muted); font-size: 1.125rem; font-weight: 400; margin-top: 16px; }

/* ---- feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .25s, border-color .25s, box-shadow .25s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(93, 145, 207, 0.5); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-ico { margin-bottom: 16px; color: var(--accent); line-height: 0; }
.card-ico svg, .why-item svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-ico svg { width: 30px; height: 30px; }
.why-item > span { color: var(--accent); line-height: 0; display: inline-flex; }
.why-item svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.1875rem; font-weight: 600; color: var(--title); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; font-weight: 400; }

/* ---- flow ---- */
.flow { display: flex; align-items: stretch; gap: 18px; flex-wrap: wrap; justify-content: center; }
.flow-step { flex: 1 1 280px; max-width: 340px; padding: 32px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.flow-n { font-size: 40px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.flow-step h3 { font-size: 1.25rem; font-weight: 600; color: var(--title); margin-bottom: 10px; }
.flow-step p { color: var(--muted); font-size: 15px; font-weight: 400; }
.flow-arrow { display: flex; align-items: center; font-size: 26px; color: var(--gold); }

/* ---- why ---- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.why-item { display: flex; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.why-item span { font-size: 26px; }
.why-item h3 { font-size: 1.125rem; font-weight: 600; color: var(--title); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; font-weight: 400; }

/* ---- cta ---- */
.cta { padding: clamp(4rem, 9vw, 7rem) clamp(18px, 5vw, 48px); }
.cta-card { max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 26px;
  border: 1px solid var(--line-strong); background: linear-gradient(160deg, #FFFFFF, #EEF3FA); box-shadow: var(--shadow-lg); }
.cta-card h2 { font-size: clamp(1.75rem, 4vw, 2.875rem); font-weight: 700; color: var(--title); margin-bottom: 14px; }
.cta-card p { color: var(--muted); font-size: 1.125rem; font-weight: 400; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- spiegazione rapida ---- */
.plain-explainer { padding: 0 clamp(18px, 5vw, 48px); background: var(--bg); }
.plain-explainer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.plain-item { position: relative; padding: clamp(24px, 3vw, 34px); }
.plain-item + .plain-item { border-left: 1px solid var(--line); }
.plain-label { display: block; margin-bottom: 10px; color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plain-item h2 { margin-bottom: 9px; color: var(--title); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.25; }
.plain-item p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); padding: 0 clamp(18px,5vw,48px); color: var(--muted); font-size: 14px; font-weight: 400; background: linear-gradient(180deg, #F4F7FC 0%, #EDF2F9 100%); }
.footer-main { max-width: var(--maxw); margin: 0 auto; padding: 58px 0 42px; display: grid; grid-template-columns: minmax(250px, 1.45fr) repeat(3, minmax(140px, .75fr)); gap: clamp(28px, 5vw, 68px); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .16em; color: var(--title); margin-bottom: 16px; }
.footer-about { max-width: 340px; line-height: 1.7; }
.footer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-pills span { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.65); color: var(--night); font-size: 11px; font-weight: 600; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-group h2 { margin-bottom: 5px; color: var(--title); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-group a { color: var(--muted); transition: color .2s, transform .2s; }
.footer-group a:hover { color: var(--accent-strong); transform: translateX(2px); }
.footer-contact a { color: var(--accent-strong); font-weight: 500; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-strong); }

/* ============ PAGINE INTERNE ============ */
/* page-hero: banner compatto con foto + velo chiaro */
.page-hero { position: relative; overflow: hidden; padding: 160px clamp(18px, 5vw, 48px) 70px;
  background: var(--bg); z-index: 1; }
.page-hero .hero-photo { position: absolute; inset: -8% -4%; }
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--title); line-height: 1.08; margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.3rem); font-weight: 400; color: var(--muted); max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent-strong); }

/* feature-block: righe alternate testo + mockup */
.feature-block { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background: var(--bg);  }
.feature-block.reverse .feature-text { order: 2; }
.feature-block .kicker { color: var(--accent-strong); }
.feature-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--title); letter-spacing: -0.015em; margin: 12px 0 16px; line-height: 1.12; }
.feature-block p { color: var(--muted); font-size: 1.0625rem; font-weight: 400; margin-bottom: 20px; }
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.feature-list li::before { content: "▲"; color: var(--gold); font-size: 10px; margin-top: 5px; flex: none; }
.feature-list strong { color: var(--title); }

/* ---- mockup "finestra browser" (finti screenshot on-brand) ---- */
.mockup { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EDF2F9; border-bottom: 1px solid var(--line); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C3D0E4; }
.mockup-bar .mockup-url { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 400; }
.mockup-body { padding: 18px; font-size: 13px; overflow-x: auto; }
.mk-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 9px; background: #F7FAFD; border: 1px solid var(--line); margin-bottom: 8px; }
.mk-row:last-child { margin-bottom: 0; }
.mk-ip { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--title); font-weight: 500; }
.mk-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.mk-block { background: rgba(38,69,115,0.10); color: var(--night); }
.mk-warn  { background: rgba(234,185,64,0.18); color: var(--gold-ink); }
.mk-ok    { background: rgba(93,145,207,0.14); color: var(--accent-strong); }
.mk-title { font-weight: 600; color: var(--title); font-size: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 6px; }
.mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 8px; }
.mk-bars i { flex: 1; background: linear-gradient(180deg, var(--blue), #a9c6e8); border-radius: 5px 5px 0 0; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.mk-chip { font-size: 12px; padding: 5px 11px; border-radius: 8px; background: #EDF2F9; color: var(--night); border: 1px solid var(--line); }
.mk-chip.on { background: var(--night); color: #fff; border-color: var(--night); }

/* ---- pagina WordPress Security ---- */
.wp-product-hero .page-hero-inner { max-width: 930px; }
.wp-product-hero .lead { max-width: 770px; }
.wp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 15px; color: var(--accent-strong); font-size: 13px; font-weight: 650; letter-spacing: .05em; }
.wp-mark { display: inline-block; width: 30px; height: 30px; flex: none; border-radius: 50%; filter: drop-shadow(0 7px 12px rgba(38,69,115,.16)); }
.wp-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wp-product-badges { margin-top: 25px; }
.wp-product-hero .hero-cta { justify-content: flex-start; margin-top: 24px; }
.wp-requirements { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wp-architecture-section { padding-bottom: clamp(3.75rem,7vw,5.5rem); }
.wp-stack { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1.08fr) auto minmax(0,1fr); gap: 14px; align-items: stretch; }
.wp-stack-card { position: relative; min-width: 0; padding: 30px 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); overflow: hidden; }
.wp-stack-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg,var(--accent),var(--blue)); }
.wp-stack-card small { display: inline-block; margin: 2px 0 16px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-2); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wp-stack-card h3 { margin-bottom: 10px; color: var(--title); font-size: 1.18rem; }
.wp-stack-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.wp-stack-number { float: right; color: rgba(77,91,255,.16); font-size: 2.4rem; font-weight: 750; line-height: 1; }
.wp-stack-plugin { transform: translateY(-10px); border-color: rgba(77,91,255,.28); box-shadow: 0 18px 42px rgba(38,69,115,.12); }
.wp-stack-plugin::before { background: linear-gradient(90deg,var(--night),var(--accent),var(--gold)); }
.wp-stack-arrow { display: grid; place-items: center; color: var(--gold-ink); font-size: 24px; }
.wp-feature-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.wp-feature-card { padding: 28px 24px; }
.wp-feature-icon { display: inline-flex; margin-bottom: 18px; padding: 6px 9px; border: 1px solid rgba(77,91,255,.18); border-radius: 7px; background: linear-gradient(135deg,rgba(77,91,255,.10),rgba(38,199,169,.08)); color: var(--accent-strong); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.wp-feature-card ul { display: grid; gap: 7px; margin: 17px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.wp-feature-card li { position: relative; padding-left: 15px; color: var(--text); font-size: 12px; line-height: 1.55; }
.wp-feature-card li::before { content: ""; position: absolute; top: .55em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.wp-console { padding: 18px; border: 1px solid rgba(77,91,255,.18); border-radius: 22px; background: linear-gradient(160deg,#142d50,#0c1d38); color: #fff; box-shadow: 0 24px 60px rgba(12,29,56,.22); }
.wp-console-top,.wp-console-meta,.wp-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wp-console-top { padding: 5px 3px 16px; }
.wp-console-top > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.wp-console-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.wp-console-dot { width: 9px; height: 9px; border-radius: 50%; background: #35d8a5; box-shadow: 0 0 0 5px rgba(53,216,165,.12); }
.wp-console-online { padding: 4px 9px; border-radius: 999px; background: rgba(53,216,165,.13); color: #76f0c7; font-size: 10px; font-weight: 700; }
.wp-console-meta { justify-content: flex-start; flex-wrap: wrap; margin: 0 -4px 15px; padding: 11px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.04); color: #aebed5; font-size: 10px; }
.wp-console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp-console-grid > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 8px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.055); }
.wp-console-grid small { grid-column: 1/-1; color: #91a6c4; font-size: 10px; }
.wp-console-grid strong { font-size: 13px; }
.wp-pill { padding: 3px 7px; border-radius: 999px; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.wp-pill.is-blue { color: #b9c9ff; background: rgba(112,129,255,.16); }
.wp-pill.is-green { color: #76f0c7; background: rgba(53,216,165,.13); }
.wp-pill.is-gold { color: #ffe09b; background: rgba(234,185,64,.14); }
.wp-console-chart { margin-top: 10px; padding: 15px 14px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.04); }
.wp-chart-head strong { font-size: 11px; }
.wp-chart-head span { color: #91a6c4; font-size: 9px; }
.wp-chart-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; margin-top: 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
.wp-chart-bars i { flex: 1; height: var(--h); min-height: 9px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg,#7f8fff,#37cbae); opacity: .88; }
.wp-scan-panel { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.wp-scan-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.wp-scan-head > div:first-child { display: grid; gap: 4px; }
.wp-scan-head small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.wp-scan-head strong { color: var(--title); font-size: 17px; }
.wp-score { display: flex; align-items: baseline; justify-content: center; width: 76px; height: 76px; padding-top: 18px; border: 7px solid rgba(38,199,169,.2); border-top-color: #26c7a9; border-right-color: #26c7a9; border-radius: 50%; color: var(--title); }
.wp-score span { font-size: 22px; font-weight: 750; }
.wp-score small { font-size: 9px; }
.wp-scan-progress { height: 6px; margin: 20px 0; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.wp-scan-progress i { display: block; width: 92%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),#26c7a9); }
.wp-scan-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wp-scan-summary div { display: grid; gap: 3px; padding: 13px 8px; border-radius: 11px; background: var(--surface-2); text-align: center; }
.wp-scan-summary strong { color: var(--title); font-size: 16px; }
.wp-scan-summary span { color: var(--muted); font-size: 9px; }
.wp-scan-results { display: grid; gap: 8px; margin-top: 17px; }
.wp-scan-results > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.wp-scan-results p { display: grid; margin: 0; }
.wp-scan-results p strong { color: var(--title); font-size: 11px; }
.wp-scan-results p small { color: var(--muted); font-size: 9px; }
.wp-scan-results b { color: var(--muted); font-size: 9px; }
.wp-result-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; font-size: 11px; font-weight: 800; }
.wp-result-icon.is-ok { color: #15866f; background: rgba(38,199,169,.12); }
.wp-result-icon.is-warn { color: var(--gold-ink); background: rgba(234,185,64,.18); }
.wp-product-shot { align-self: center; margin: 0; border-radius: 22px; border-color: rgba(38,69,115,.16); background: #fff; box-shadow: 0 24px 60px rgba(12,29,56,.16); }
.wp-product-shot img { aspect-ratio: 36 / 25; object-fit: cover; object-position: top left; background: #f0f0f1; }
.wp-product-shot img:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.wp-product-shot figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 48px; padding: 12px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.45; }
.wp-product-shot figcaption > span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #26c7a9; box-shadow: 0 0 0 4px rgba(38,199,169,.12); }
.wp-product-shot figcaption strong { color: var(--title); font-size: 11px; }
.wp-data-section { padding-top: 2rem; }
.wp-data-card { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(30px,6vw,76px); padding: clamp(30px,5vw,58px); border-radius: 26px; background: linear-gradient(145deg,#102947,#1a416d); box-shadow: 0 24px 70px rgba(12,29,56,.2); color: #fff; }
.wp-data-copy .kicker { color: #9aabff; }
.wp-data-copy h2 { color: #fff; font-size: clamp(1.7rem,3.1vw,2.6rem); }
.wp-data-copy p:last-child { margin-top: 18px; color: #b9c8db; line-height: 1.75; }
.wp-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp-data-grid article { display: grid; gap: 6px; padding: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.055); }
.wp-data-grid strong { font-size: 12px; }
.wp-data-grid span { color: #adbed3; font-size: 11px; line-height: 1.55; }

@media (max-width: 1020px) {
  .wp-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wp-stack { grid-template-columns: 1fr; }
  .wp-stack-plugin { transform: none; }
  .wp-stack-arrow { transform: rotate(90deg); height: 18px; }
}

@media (max-width: 860px) {
  .wp-data-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wp-eyebrow { margin-bottom: 12px; font-size: 11px; }
  .wp-mark { width: 27px; height: 27px; }
  .wp-product-hero .hero-cta { display: grid; grid-template-columns: 1fr; }
  .wp-product-hero .hero-cta .btn { width: 100%; text-align: center; }
  .wp-feature-grid,.wp-console-grid,.wp-data-grid { grid-template-columns: 1fr; }
  .wp-feature-card { padding: 24px 21px; }
  .wp-stack-card { padding: 25px 21px; }
  .wp-console,.wp-scan-panel { padding: 15px; border-radius: 17px; }
  .wp-scan-summary { grid-template-columns: 1fr; }
  .wp-scan-summary div { grid-template-columns: auto 1fr; text-align: left; align-items: center; }
  .wp-data-card { padding: 26px 20px; border-radius: 20px; }
}

/* ---- form contatti ---- */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--title); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn-primary { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); }

/* ============ SCREENSHOT REALI (cornice) ============ */
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; transition: transform .25s; }
.shot img, .mockup img { max-width: 100%; }
.shot:hover img { transform: scale(1.015); }
/* lightbox ingrandimento screenshot */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw; background: rgba(0, 2, 34, 0.88); backdrop-filter: blur(5px); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.lightbox-close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; opacity: .8; }
.lightbox-close:hover { opacity: 1; }

/* ============ "SCOPRI DI PIÙ" ============ */
.feature-cta { margin-top: 4px; align-self: start; }
.card-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent-strong); transition: color .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover .card-more, .card-more:hover { color: var(--night); }

/* ============ PREZZI / SERVIZIO GESTITO ============ */
.pricing-hero .page-hero-inner { max-width: 900px; }
.pricing-section { padding-bottom: clamp(4rem, 8vw, 7rem); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: var(--maxw); margin: 0 auto; align-items: stretch; }
.billing-switch { width: fit-content; max-width: 100%; margin: -12px auto 34px; padding: 5px; display: flex; gap: 4px; border: 1px solid var(--line-strong); border-radius: 15px; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.billing-switch button { min-width: 130px; padding: 11px 17px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s; }
.billing-switch button[aria-pressed="true"] { background: var(--surface); color: var(--title); box-shadow: 0 3px 12px rgba(38,69,115,.12); }
.billing-switch button span { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: rgba(234,185,64,.2); color: var(--gold-ink); font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.billing-status { margin: -23px auto 28px; color: var(--muted); text-align: center; font-size: 13px; }
.customer-included { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 5rem) clamp(18px, 5vw, 48px) 0; background: var(--bg); }
.customer-included-card { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 38px); padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(93,145,207,.32); border-radius: 22px; background: linear-gradient(135deg, #fff 35%, #eaf2fb 100%); box-shadow: var(--shadow-md); }
.customer-included-card .kicker { margin-bottom: 8px; }
.customer-included-card h2 { margin-bottom: 10px; color: var(--title); font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.15; }
.customer-included-card p { color: var(--text); line-height: 1.7; }
.customer-included-card .included-detail { margin-top: 8px; color: var(--muted); font-size: 13px; }
.included-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--night); color: #fff; box-shadow: var(--shadow-sm); }
.included-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.customer-included-card .btn { white-space: nowrap; }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.price-card:hover { border-color: rgba(93,145,207,.45); box-shadow: var(--shadow-md); }
.price-featured { border: 2px solid var(--blue); background: linear-gradient(160deg, #fff 45%, #f0f5fb 100%); box-shadow: var(--shadow-md); }
.price-ribbon { position: absolute; top: 17px; right: -35px; width: 140px; padding: 6px 0; transform: rotate(36deg); text-align: center; background: var(--gold); color: var(--deep); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-eyebrow { margin-bottom: 12px; color: var(--accent-strong); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { max-width: 520px; min-height: 3.2em; color: var(--title); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.3; }
.price { margin: 26px 0 2px; color: var(--title); font-size: clamp(2.35rem, 5vw, 3.7rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.price-value { color: inherit; font-size: inherit; font-weight: inherit; }
.price-value.is-changing { animation: price-pop .28s ease-out; }
@keyframes price-pop { 50% { opacity: .45; transform: translateY(-3px); } }
.price > span { margin-right: 3px; color: var(--accent-strong); font-size: .45em; vertical-align: top; }
.price small { margin-left: 8px; color: var(--muted); font-size: .28em; font-weight: 500; letter-spacing: 0; }
.price-custom { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; }
.price-vat { margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.price-list { display: grid; gap: 11px; margin: 0 0 28px; list-style: none; }
.price-list li { position: relative; padding-left: 25px; color: var(--text); font-size: 14px; }
.price-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-strong); font-weight: 700; }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.pricing-note { max-width: 900px; margin: 30px auto 0; padding: 20px 24px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(234,185,64,.1); color: var(--text); font-size: 14px; line-height: 1.7; }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%; background: var(--surface-2); color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.scope-section { background: var(--surface-2); }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.scope-card { padding: clamp(26px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.scope-card h3 { margin-bottom: 20px; color: var(--title); font-size: 1.3rem; }
.scope-card ul { display: grid; gap: 13px; list-style: none; }
.scope-card li { position: relative; padding-left: 25px; color: var(--text); font-size: 14px; line-height: 1.65; }
.scope-card li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.scope-yes { border-top: 4px solid var(--blue); }
.scope-yes li::before { content: "\2713"; color: var(--accent-strong); }
.scope-no { border-top: 4px solid var(--grey); }
.scope-no li::before { content: "\2014"; color: var(--grey); }
.faq-cards .card { transform-style: flat; }

/* ============ FOCUS VISIBILE (a11y) ============ */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: 6px;
}

/* ============ MENU MOBILE (hamburger) ============ */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--title); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ MOCKUP PREMIUM ".app" (finestra applicazione, on-brand) ============ */
.app { display: grid; grid-template-columns: 172px 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7); font-size: 13px; line-height: 1.45; }
.app-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: linear-gradient(180deg, #F4F7FC, #EDF2F9); border-right: 1px solid var(--line); }
.app-logo { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-size: 12px; letter-spacing: .14em; color: var(--title); font-weight: 700; }
.app-logo-mark { width: 16px; height: 16px; background: var(--blue); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.an-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-weight: 500; }
.an-item svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.an-item.is-active { background: var(--surface); color: var(--title); box-shadow: var(--shadow-sm); }
.an-item.is-active svg { stroke: var(--accent); }
.an-count { margin-left: auto; font-size: 11px; font-weight: 600; background: rgba(38,69,115,.10); color: var(--night); padding: 1px 7px; border-radius: 999px; }
.app-side-foot { margin-top: auto; padding: 10px 8px 4px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.app-side-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 6px rgba(93,145,207,0); } 100% { box-shadow: 0 0 0 0 rgba(93,145,207,0); } }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.ah-crumb { font-size: 11px; color: var(--muted); }
.ah-title h4 { font-size: 14px; font-weight: 600; color: var(--title); display: flex; align-items: center; gap: 9px; }
.ah-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); }
.ah-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 1.8s infinite; }
.ah-tools { display: flex; align-items: center; gap: 8px; }
.ah-search { font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.ah-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: var(--night); }
.app-body { padding: 16px; display: grid; gap: 14px; background: radial-gradient(60% 40% at 100% 0, rgba(234,185,64,.05), transparent 60%), var(--surface); }
/* KPI */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { position: relative; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.kpi-l { font-size: 11px; color: var(--muted); }
.kpi-v { display: block; font-size: 22px; font-weight: 700; color: var(--title); letter-spacing: -.02em; }
.kpi-d { font-size: 11px; font-weight: 600; color: var(--accent-strong); }
.kpi .spark { position: absolute; right: 8px; bottom: 8px; width: 70px; height: 22px; }
.kpi .spark path { fill: none; stroke: var(--blue); stroke-width: 2; }
/* tabella eventi */
.ev { width: 100%; border-collapse: collapse; font-size: 12px; }
.ev th { text-align: left; font-weight: 500; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.ev td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.ev tr:last-child td { border-bottom: 0; }
.ev tbody tr:hover { background: var(--surface-2); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--title); }
.dim { color: var(--muted); }
.sev { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sev.crit { background: var(--night); } .sev.warn { background: var(--gold); } .sev.ok { background: var(--blue); }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.tag.block { background: rgba(38,69,115,.12); color: var(--night); }
.tag.warn { background: rgba(234,185,64,.22); color: var(--gold-ink); }
.tag.ok { background: rgba(93,145,207,.16); color: var(--accent-strong); }
/* grafico area SVG */
.chart { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--title); font-weight: 600; margin-bottom: 8px; }
.area { width: 100%; height: 88px; display: block; }
.chart-x { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 6px; }
/* lista flotta / progress */
.fleet { list-style: none; display: grid; gap: 6px; }
.fleet li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 12px; }
.fleet .up { margin-left: auto; font-size: 11px; color: var(--accent-strong); font-weight: 600; }
.chip-canary { font-size: 10px; font-weight: 600; color: var(--gold-ink); background: rgba(234,185,64,.16); padding: 1px 7px; border-radius: 6px; }
.prog { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--night), var(--blue)); }
/* toast / geo */
.toast { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; background: linear-gradient(90deg, rgba(234,185,64,.06), var(--surface)); box-shadow: var(--shadow-sm); }
.toast b { font-size: 13px; color: var(--title); } .toast-sub { display: block; font-size: 11px; color: var(--muted); }
.geo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: center; }
.geo-list { list-style: none; display: grid; gap: 8px; }
.geo-list li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.geo-list li b { text-align: right; } .geo-bar { grid-column: 1 / -1; height: 4px; border-radius: 3px; background: var(--surface-2); position: relative; }
.geo-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 20%); border-radius: 3px; background: linear-gradient(90deg, var(--night), var(--blue)); }
@media (max-width: 860px) {
  .app { grid-template-columns: 52px 1fr; }
  .app-logo b, .an-item span:not(.an-count), .app-side-foot span { display: none; }
  .an-item { justify-content: center; }
  .kpi-row { grid-template-columns: 1fr 1fr; } .geo { grid-template-columns: 1fr; } .ah-search { display: none; }
}

/* ---- reveal: nascosto SOLO se il JS è attivo (html.js). Senza JS/errore → visibile ---- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 8px clamp(18px,5vw,48px) 16px; display: none; max-height: calc(100vh - 62px); overflow-y: auto; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .language-switch { display: flex; justify-content: center; width: 100%; height: 42px; margin-top: 8px; padding: 0 14px; border: 1px solid rgba(77,91,255,.24); }
  .nav-links .language-switch .language-flag { width: 27px; height: 18px; }
  /* mega menu → elenco leggibile nel menu hamburger */
  .nav-dd { width: 100%; }
  .nav-dd-trigger { width: 100%; }
  .nav-dd-menu { position: static; width: 100%; display: grid; grid-template-columns: 1fr; gap: 2px;
    padding: 4px 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; background: transparent;
    max-height: none; overflow: visible; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { transform: none; }
  .nav-dd::before, .nav-dd-menu::before { display: none; }
  .nav-dd-menu .mega-item { padding: 9px 10px; border-bottom: 1px solid var(--line); border-radius: 8px; }
  .nav-dd-menu .mega-item span { font-size: 14px; }
  .nav-dd-menu .mega-item small { font-size: 11px; }
  .nav-dd-trigger::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-five { grid-template-columns: repeat(2, 1fr); }
  .field-proof-grid { grid-template-columns: 1fr; }
  .proof-dashboard { max-width: 720px; margin: 0 auto; }
  .tour-panel { grid-template-columns: 1fr; }
  .tour-panel img { border-right: 0; border-bottom: 1px solid var(--line); }
  .compat-grid { grid-template-columns: 1fr; }
  .activation-impact { grid-template-columns: 1fr; }
  .trust-flow { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-flow > i { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-card, .audience-card:nth-child(4) { grid-column: auto; }
  .audience-fit { grid-template-columns: 1fr 1fr; }
  .audience-path { grid-template-columns: 1fr 1fr; }
  .compare-cost-grid { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .hero-photo { background-image: url(hero-sm.webp); } /* variante leggera per mobile */
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-block.reverse .feature-text { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 132px; }
  .section { padding-left: clamp(18px, 5vw, 36px); padding-right: clamp(18px, 5vw, 36px); }
  .cta-card { padding: 34px 24px; }
  .plain-explainer-inner { grid-template-columns: 1fr; }
  .plain-item + .plain-item { border-left: 0; border-top: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .pricing-grid, .scope-grid { grid-template-columns: 1fr; }
  .customer-included-card { grid-template-columns: auto 1fr; }
  .customer-included-card .btn { grid-column: 1 / -1; justify-self: start; }
  .price-card h3 { min-height: 0; }
}
@media (max-width: 600px) {
  .nav { padding: 10px 14px; gap: 8px; }
  .brand { font-size: 13px; letter-spacing: .12em; gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-cta { padding: 8px 11px; font-size: 12px; }
  .nav-toggle { width: 38px; height: 38px; padding: 8px; }
  .hero { min-height: auto; padding-top: 126px; padding-bottom: 70px; }
  .hero-title { font-size: clamp(2.25rem, 13vw, 3.4rem); }
  .hero-sub { font-size: 1rem; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; text-align: center; }
  .hero-badges { gap: 8px; }
  .hero-badges span { font-size: 12px; }
  .hero-badges { max-width: 100%; }
  .hero-photo { inset: -4% -12%; }
  .page-hero .hero-photo::after { background: linear-gradient(100deg, rgba(246,248,252,.96) 0%, rgba(246,248,252,.90) 68%, rgba(246,248,252,.72) 100%), linear-gradient(0deg, var(--bg) 1%, rgba(246,248,252,0) 22%); }
  .stats { gap: 10px; padding-top: 34px; padding-bottom: 34px; }
  .stat-label { font-size: 12px; }
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .tour-tabs { grid-template-columns: 1fr; }
  .tour-tabs button { justify-content: flex-start; }
  .tour-panel figcaption { padding: 22px; }
  .tour-cta { display: grid; grid-template-columns: 1fr; }
  .tour-cta .btn { width: 100%; text-align: center; }
  .compat-flow { flex-direction: column; }
  .compat-flow > div { width: 100%; }
  .compat-flow i { transform: rotate(90deg); }
  .activation-architecture { flex-direction: column; }
  .activation-architecture > div { width: 100%; }
  .activation-architecture i { transform: rotate(90deg); }
  .activation-timeline::before { left: 23px; }
  .activation-timeline li { grid-template-columns: 48px 1fr; gap: 13px; }
  .activation-number { width: 48px; height: 48px; font-size: 12px; }
  .activation-copy { padding: 21px 19px; }
  .trust-flow, .trust-grid { grid-template-columns: 1fr; }
  .trust-locks { grid-template-columns: 1fr; }
  .trust-lock { margin: 0 auto; }
  .trust-vault { grid-column: 1; }
  .disclosure-card { grid-template-columns: 1fr; }
  .disclosure-mark { display: none; }
  .disclosure-links { display: grid; grid-template-columns: 1fr; }
  .disclosure-links .btn { width: 100%; text-align: center; }
  .audience-grid, .audience-fit, .audience-path { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .page-hero .lead, .section-lead { font-size: 1rem; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .feature-block { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  .feature-block h2 { font-size: 1.7rem; }
  .feature-block p { font-size: 1rem; }
  .feature-list li { font-size: 14px; }
  .why-item { padding: 20px; }
  .flow-step { padding: 24px 20px; }
  .form { width: 100%; }
  .field input, .field select, .field textarea { width: 100%; }
  .consent-check { font-size: 12px; }
  .footer { padding-bottom: 72px; }
  .footer-main { padding: 42px 0 30px; grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-group:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom-links { justify-content: flex-start; }
  .whatsapp-float { right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
  .price-card { padding: 26px 22px; }
  .billing-switch { width: 100%; }
  .billing-switch button { flex: 1; min-width: 0; padding: 10px 8px; }
  .billing-switch button span { display: block; width: fit-content; margin: 4px auto 0; }
  .price { font-size: 2.75rem; }
  .price-card .btn { width: 100%; text-align: center; }
  .pricing-note { padding: 17px 18px; }
  .scope-card { padding: 25px 22px; }
  .customer-included-card { grid-template-columns: 1fr; text-align: center; }
  .included-icon { margin: 0 auto; }
  .customer-included-card .btn { width: 100%; text-align: center; }
}
@media (max-width: 380px) {
  .nav-cta { display: none; }
  .nav { justify-content: space-between; }
  .stats { grid-template-columns: 1fr; }
  .stats-five { grid-template-columns: 1fr; }
  .proof-metrics { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.15rem; }
  .cookie-panel { padding: 15px; }
  .cookie-actions { align-items: stretch; flex-direction: column; gap: 9px; }
  .cookie-actions .btn { width: 100%; }
  .cookie-actions a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero-scenery .layer { transform: none !important; } /* montagne statiche ma visibili */
}
/* Accessibilità: visibile solo quando riceve il focus da tastiera. */
.skip-link{position:fixed;top:.75rem;left:.75rem;z-index:10000;padding:.7rem 1rem;border-radius:.55rem;background:#fff;color:#172f52;font-weight:700;box-shadow:0 8px 30px rgba(0,0,0,.25);transform:translateY(-180%);transition:transform .15s ease}
.skip-link:focus{transform:translateY(0);outline:3px solid #d8a842;outline-offset:2px}
.error-page{min-height:72vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-top:9rem}
.error-page h1{max-width:780px}
.error-page::before{display:none}
.error-page .btn{text-decoration:none}
.error-page .btn-primary{color:#fff}

/* Documentazione tecnica: indice stabile, procedure e comandi leggibili. */
.docs-hero .page-hero-inner { max-width: 940px; }
.docs-hero .lead { max-width: 760px; }
.docs-intro.section { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-top: 42px; padding-bottom: 28px; }
.docs-intro-card { display: flex; gap: 17px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.docs-intro-card > span { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: var(--surface-2); color: var(--accent-strong); font-size: 11px; font-weight: 750; }
.section .docs-intro-card h2 { margin: 1px 0 6px; font-size: 1rem; letter-spacing: 0; }
.docs-intro-card p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.docs-shell.section { display: grid; grid-template-columns: 248px minmax(0,1fr); gap: clamp(24px,4vw,50px); align-items: start; padding-top: 42px; }
.docs-toc { position: sticky; top: 94px; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); }
.docs-toc > p { margin-bottom: 12px; color: var(--title); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.docs-toc nav { display: grid; }
.docs-toc nav a { padding: 8px 10px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.35; transition: color .18s,border-color .18s,background .18s; }
.docs-toc nav a:hover,.docs-toc nav a:focus-visible { border-left-color: var(--accent); background: var(--surface-2); color: var(--title); }
.docs-toc-cta { display: block; margin-top: 17px; padding: 10px 12px; text-align: center; }
.docs-content { display: grid; gap: 24px; }
.docs-chapter { scroll-margin-top: 100px; padding: clamp(26px,4vw,42px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.docs-chapter > header { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 21px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.docs-chapter-number { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(93,145,207,.24); border-radius: 13px; background: linear-gradient(145deg,#f7faff,#e9f1fa); color: var(--accent-strong); font-size: 11px; font-weight: 750; }
.docs-chapter header .kicker { margin-bottom: 5px; font-size: 10px; }
.section .docs-chapter h2 { font-size: clamp(1.55rem,2.8vw,2.15rem); }
.docs-chapter > p { margin: 0 0 20px; color: var(--text); font-size: 14px; line-height: 1.8; }
.docs-chapter > p:last-child { margin-bottom: 0; }
.docs-chapter > h3 { margin: 28px 0 10px; color: var(--title); font-size: 1.08rem; }
.docs-chapter a:not(.btn) { color: var(--accent-strong); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.docs-chapter code { font-family: ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace; }
.docs-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.docs-check-grid > div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.docs-check-grid strong,.docs-check-grid span { display: block; }
.docs-check-grid strong { margin-bottom: 5px; color: var(--title); font-size: 13px; }
.docs-check-grid span { color: var(--muted); font-size: 11px; line-height: 1.6; }
.docs-callout { margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(93,145,207,.28); border-left: 4px solid var(--blue); border-radius: 14px; background: #f3f8fd; }
.docs-callout strong { display: block; margin-bottom: 5px; font-size: 13px; }
.docs-callout p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.docs-callout-warning { border-color: rgba(234,185,64,.34); border-left-color: var(--gold); background: #fffaf0; }
.docs-callout-support { border-color: rgba(38,69,115,.25); border-left-color: var(--night); background: #f2f5fa; }
.docs-steps { display: grid; gap: 11px; margin: 5px 0 24px; list-style: none; }
.docs-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.docs-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--night); color: #fff; font-size: 11px; font-weight: 700; }
.docs-steps strong { display: block; margin: 2px 0 4px; font-size: 13px; }
.docs-steps p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.docs-steps-compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
.docs-steps-compact li:last-child { grid-column: 1 / -1; }
.docs-code { overflow: hidden; margin: 21px 0; border: 1px solid rgba(134,175,223,.24); border-radius: 15px; background: #071a36; box-shadow: 0 18px 40px rgba(7,26,54,.16); }
.docs-code-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 11px 14px; border-bottom: 1px solid rgba(167,202,240,.13); background: rgba(255,255,255,.045); }
.docs-code-head span { color: rgba(222,236,252,.72); font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.docs-code-head button { flex: none; padding: 6px 10px; border: 1px solid rgba(147,204,244,.26); border-radius: 8px; background: rgba(255,255,255,.07); color: #cfe6ff; font: inherit; font-size: 10px; font-weight: 650; cursor: pointer; }
.docs-code-head button:hover,.docs-code-head button:focus-visible { border-color: rgba(112,225,201,.6); color: #8af0d7; }
.docs-code pre { overflow-x: auto; padding: 19px; color: #d9eaff; font-size: 12px; line-height: 1.7; white-space: pre; }
.docs-code code { color: inherit; }
.docs-paths { display: grid; gap: 1px; overflow: hidden; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.docs-paths > div { display: grid; grid-template-columns: minmax(190px,.8fr) minmax(0,1.2fr); gap: 18px; align-items: center; padding: 14px 17px; background: #fff; }
.docs-paths code { color: var(--title); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.docs-paths span { color: var(--muted); font-size: 11px; }
.docs-mode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.docs-mode-grid > section { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; }
.docs-mode-status { display: inline-flex; margin-bottom: 15px; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.docs-mode-status.is-observe { background: rgba(93,145,207,.13); color: var(--accent-strong); }
.docs-mode-status.is-block { background: rgba(38,69,115,.12); color: var(--night); }
.docs-mode-grid h3 { margin-bottom: 8px; color: var(--title); font-size: 1.05rem; }
.docs-mode-grid p,.docs-mode-grid li { color: var(--muted); font-size: 12px; line-height: 1.65; }
.docs-mode-grid ul { display: grid; gap: 5px; margin: 13px 0 0 17px; }
.docs-link-panel { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg,#f7faff,#eef4fa); }
.docs-link-panel strong { display: block; margin-bottom: 4px; font-size: 14px; }
.docs-link-panel p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.docs-link-panel .btn { flex: none; }
.docs-decision-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; margin: 24px 0; }
.docs-decision-flow > div { min-height: 142px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.docs-decision-flow span,.docs-decision-flow strong,.docs-decision-flow small { display: block; }
.docs-decision-flow span { color: var(--accent-strong); font-size: 10px; font-weight: 750; }
.docs-decision-flow strong { margin: 12px 0 5px; font-size: 13px; }
.docs-decision-flow small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.docs-decision-flow i { color: var(--gold-ink); font-style: normal; }
.docs-command-list { display: grid; gap: 10px; margin: 22px 0; }
.docs-command-list section { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.8fr); gap: 20px; align-items: center; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.docs-command-list strong,.docs-command-list span { display: block; }
.docs-command-list strong { margin-bottom: 4px; font-size: 13px; }
.docs-command-list span { color: var(--muted); font-size: 10px; }
.docs-command-list code { overflow-x: auto; padding: 10px 12px; border-radius: 9px; background: #071a36; color: #d9eaff; font-size: 10px; white-space: nowrap; }
.docs-table-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 15px; }
.docs-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.docs-table th,.docs-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-table th { background: var(--surface-2); color: var(--title); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.docs-table td { color: var(--muted); font-size: 11px; line-height: 1.65; }
.docs-table td:first-child { width: 22%; color: var(--title); font-weight: 650; }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table code { color: var(--night); font-size: 10px; }
@media (max-width: 900px) {
  .docs-intro.section { grid-template-columns: 1fr; }
  .docs-shell.section { grid-template-columns: 1fr; }
  .docs-toc { position: static; }
  .docs-toc nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .docs-steps-compact { grid-template-columns: 1fr; }
  .docs-steps-compact li:last-child { grid-column: auto; }
  .docs-decision-flow { grid-template-columns: 1fr 1fr; }
  .docs-decision-flow i { display: none; }
}
@media (max-width: 600px) {
  .docs-toc nav { grid-template-columns: 1fr; }
  .docs-chapter { padding: 22px 18px; }
  .docs-chapter > header { gap: 12px; }
  .docs-chapter-number { width: 38px; height: 38px; }
  .docs-check-grid,.docs-mode-grid { grid-template-columns: 1fr; }
  .docs-paths > div,.docs-command-list section { grid-template-columns: 1fr; gap: 7px; }
  .docs-link-panel { align-items: stretch; flex-direction: column; }
  .docs-link-panel .btn { width: 100%; text-align: center; }
  .docs-decision-flow { grid-template-columns: 1fr; }
  .docs-decision-flow > div { min-height: 0; }
  .docs-code pre { font-size: 10.5px; }
}

/* Caso studio: prova tecnica con metriche e timeline, senza identificatori. */
.case-hero .page-hero-inner { max-width: 980px; }
.case-hero .lead { max-width: 740px; }
.case-proof.section { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding-top: 42px; padding-bottom: 34px; }
.case-proof-card { position: relative; overflow: hidden; padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); }
.case-proof-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg,var(--accent),#39c8aa); }
.case-proof-card strong,.case-proof-card span,.case-proof-card small { display: block; }
.case-proof-card strong { margin-bottom: 10px; color: var(--title); font-size: clamp(2rem,4vw,3.1rem); line-height: 1; letter-spacing: -.04em; }
.case-proof-card span { min-height: 48px; color: var(--title); font-size: 12px; font-weight: 650; line-height: 1.5; }
.case-proof-card small { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.5; }
.case-context { padding-top: 56px; }
.case-context-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.case-context-card { position: relative; min-height: 235px; padding: 29px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-sm); }
.case-context-card::after { content: ""; position: absolute; right: -38px; bottom: -48px; width: 130px; height: 130px; border: 18px solid rgba(93,145,207,.06); border-radius: 50%; }
.case-context-card > span { color: var(--accent-strong); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.case-context-card h3 { margin: 17px 0 9px; color: var(--title); font-size: 1.22rem; }
.case-context-card p { position: relative; z-index: 1; color: var(--muted); font-size: 13px; line-height: 1.75; }
.case-challenge { padding-top: 48px; padding-bottom: 64px; }
.case-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.7fr); gap: clamp(28px,5vw,64px); align-items: center; }
.case-split-copy h2 { margin-bottom: 19px; }
.case-split-copy > p:not(.kicker) { margin-bottom: 15px; color: var(--muted); font-size: 14px; line-height: 1.82; }
.case-split-copy code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--night); font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 12px; }
.case-risk-card { padding: 27px; border: 1px solid rgba(234,185,64,.32); border-radius: 20px; background: linear-gradient(150deg,#fffdf7,#fff8e9); box-shadow: var(--shadow-md); }
.case-risk-card > p { margin-bottom: 15px; color: var(--gold-ink); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.case-risk-card ul { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(138,100,16,.13); border-radius: 14px; background: rgba(138,100,16,.12); list-style: none; }
.case-risk-card li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 16px; background: rgba(255,255,255,.78); }
.case-risk-card li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(234,185,64,.17); color: var(--gold-ink); font-size: 9px; font-weight: 750; }
.case-risk-card strong,.case-risk-card small { display: block; }
.case-risk-card strong { margin: 1px 0 4px; font-size: 12px; }
.case-risk-card small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.case-implementation { padding-top: 66px; }
.case-timeline { position: relative; display: grid; gap: 15px; max-width: 940px; margin: 0 auto; list-style: none; }
.case-timeline::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 30px; width: 1px; background: linear-gradient(var(--accent),rgba(93,145,207,.12)); }
.case-timeline li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; }
.case-timeline-n { position: relative; z-index: 1; display: grid; place-items: center; width: 61px; height: 61px; border: 1px solid rgba(93,145,207,.32); border-radius: 18px; background: #f4f8fd; color: var(--accent-strong); font-size: 11px; font-weight: 750; box-shadow: 0 0 0 8px var(--bg); }
.case-timeline li > div { padding: 25px 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.case-timeline-label { margin-bottom: 6px; color: var(--accent-strong); font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.case-timeline h3 { margin-bottom: 8px; color: var(--title); font-size: 1.12rem; }
.case-timeline li > div > p:not(.case-timeline-label) { color: var(--muted); font-size: 12px; line-height: 1.75; }
.case-timeline code { color: var(--night); font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 11px; }
.case-evidence { margin-top: 15px; padding: 12px 14px; border-radius: 11px; background: var(--surface-2); color: var(--title); font-size: 11px; line-height: 1.55; }
.case-evidence span { margin-right: 8px; color: var(--accent-strong); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.case-result-band { padding: clamp(4rem,8vw,7rem) clamp(18px,5vw,48px); background: radial-gradient(circle at 15% 0,rgba(93,145,207,.19),transparent 35%),linear-gradient(135deg,#071a36,#102f59); }
.case-result-inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.72fr); gap: clamp(34px,6vw,80px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.case-result-copy .kicker { color: #8fe3d0; }
.case-result-copy h2 { max-width: 690px; margin-bottom: 18px; color: #fff; font-size: clamp(2rem,4vw,3.35rem); line-height: 1.08; letter-spacing: -.025em; }
.case-result-copy > p:not(.kicker) { max-width: 690px; color: rgba(226,237,250,.74); font-size: 14px; line-height: 1.8; }
.case-status { overflow: hidden; border: 1px solid rgba(159,198,238,.2); border-radius: 20px; background: rgba(255,255,255,.075); box-shadow: 0 24px 60px rgba(0,2,34,.22); backdrop-filter: blur(9px); }
.case-status-head { display: grid; grid-template-columns: 11px 1fr auto; gap: 10px; align-items: center; padding: 17px 19px; border-bottom: 1px solid rgba(179,211,244,.13); }
.case-status-head > span { width: 9px; height: 9px; border-radius: 50%; background: #51d5b7; box-shadow: 0 0 0 5px rgba(81,213,183,.12); }
.case-status-head strong { color: #fff; font-size: 12px; }
.case-status-head small { color: rgba(219,234,250,.58); font-size: 9px; }
.case-status dl { padding: 8px 19px 14px; }
.case-status dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(179,211,244,.1); }
.case-status dl > div:last-child { border-bottom: 0; }
.case-status dt { color: rgba(219,234,250,.64); font-size: 10px; }
.case-status dd { color: #fff; font-size: 10px; font-weight: 650; text-align: right; }
.case-lessons-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.case-lessons-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.case-lessons-grid span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; background: var(--surface-2); color: var(--accent-strong); font-size: 10px; font-weight: 750; }
.case-lessons-grid h3 { margin-bottom: 8px; color: var(--title); font-size: 1.07rem; }
.case-lessons-grid p { color: var(--muted); font-size: 12px; line-height: 1.72; }
.case-method { padding-top: 24px; }
.case-method-card { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.1fr); gap: clamp(26px,5vw,62px); padding: clamp(28px,5vw,52px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg,#fff,#eff4fa); box-shadow: var(--shadow-md); }
.section .case-method-card h2 { font-size: clamp(1.65rem,3vw,2.4rem); }
.case-method-copy { display: grid; gap: 13px; }
.case-method-copy p { color: var(--muted); font-size: 12px; line-height: 1.75; }
@media (max-width: 920px) {
  .case-proof.section { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .case-context-grid { grid-template-columns: 1fr; }
  .case-context-card { min-height: 0; }
  .case-split,.case-result-inner,.case-method-card { grid-template-columns: 1fr; }
  .case-result-inner { max-width: 760px; }
}
@media (max-width: 600px) {
  .case-proof.section,.case-lessons-grid { grid-template-columns: 1fr; }
  .case-proof-card span { min-height: 0; }
  .case-timeline::before { left: 20px; }
  .case-timeline li { grid-template-columns: 42px 1fr; gap: 13px; }
  .case-timeline-n { width: 41px; height: 41px; border-radius: 13px; box-shadow: 0 0 0 5px var(--bg); }
  .case-timeline li > div { padding: 20px 17px; }
  .case-status-head { grid-template-columns: 11px 1fr; }
  .case-status-head small { grid-column: 2; }
  .case-status dl > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .case-status dd { text-align: left; }
}

/* Stato pubblico e changelog: controlli puntuali, versioni e cronologia. */
.status-hero .page-hero-inner { max-width: 990px; }
.status-hero .lead { max-width: 760px; }
.status-shell { position: relative; z-index: 2; padding-top: 42px; }
.status-console { overflow: hidden; border: 1px solid rgba(154,196,238,.22); border-radius: 25px; background: radial-gradient(circle at 84% 0,rgba(57,200,170,.13),transparent 35%),linear-gradient(145deg,#06172f,#0c284c 64%,#10345d); color: #fff; box-shadow: 0 28px 80px rgba(2,20,44,.2); }
.status-console-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border-bottom: 1px solid rgba(178,211,244,.13); }
.status-summary { display: flex; align-items: center; gap: 18px; }
.status-summary p { margin-bottom: 4px; color: rgba(218,233,249,.63); font-size: 10px; font-weight: 650; letter-spacing: .075em; text-transform: uppercase; }
.status-summary h2 { color: #fff; font-size: clamp(1.15rem,2.4vw,1.8rem); line-height: 1.25; }
.status-beacon { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; background: #90a1b7; box-shadow: 0 0 0 8px rgba(144,161,183,.12); }
.status-beacon.is-checking { animation: status-pulse 1.35s ease-in-out infinite; }
.status-beacon.is-operational { background: #54dbba; box-shadow: 0 0 0 8px rgba(84,219,186,.12),0 0 24px rgba(84,219,186,.24); }
.status-beacon.is-degraded { background: #f0c75e; box-shadow: 0 0 0 8px rgba(240,199,94,.12); }
.status-beacon.is-unavailable { background: #ff7884; box-shadow: 0 0 0 8px rgba(255,120,132,.12); }
@keyframes status-pulse { 50% { opacity: .42; transform: scale(.82); } }
.status-actions { display: flex; align-items: center; gap: 16px; }
.status-actions p { color: rgba(218,233,249,.6); font-size: 9px; text-align: right; }
.status-actions time { display: block; margin-top: 3px; color: #fff; font-size: 10px; font-weight: 650; }
.btn-status-refresh { min-height: 42px; padding: 10px 15px; border: 1px solid rgba(194,220,246,.22); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 10px; font-weight: 650; cursor: pointer; }
.btn-status-refresh:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.btn-status-refresh:disabled { cursor: wait; opacity: .66; }
.btn-status-refresh.is-loading span { display: inline-block; animation: status-rotate .8s linear infinite; }
@keyframes status-rotate { to { transform: rotate(360deg); } }
.status-components { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; background: rgba(178,211,244,.12); }
.status-component { min-height: 190px; padding: 24px 21px; background: rgba(4,22,45,.56); }
.status-component-top { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; }
.status-component-top strong { color: #dceafb; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #90a1b7; }
.status-component[data-status-state="checking"] .status-dot { animation: status-pulse 1.35s ease-in-out infinite; }
.status-component[data-status-state="operational"] .status-dot { background: #54dbba; box-shadow: 0 0 0 4px rgba(84,219,186,.09); }
.status-component[data-status-state="degraded"] .status-dot { background: #f0c75e; }
.status-component[data-status-state="unavailable"] .status-dot { background: #ff7884; }
.status-component[data-status-state="internal"] .status-dot { background: #7db5ee; }
.status-component h3 { margin-bottom: 9px; color: #fff; font-size: 13px; }
.status-component p { color: rgba(213,230,248,.62); font-size: 10px; line-height: 1.65; }
.status-component.is-internal { background: rgba(15,50,88,.68); }
.status-scope,.status-noscript { margin: 0; padding: 18px 30px; border-top: 1px solid rgba(178,211,244,.12); color: rgba(213,230,248,.6); font-size: 9px; line-height: 1.65; }
.status-noscript { color: #ffe39b; }
.release-current { padding-top: 72px; }
.release-current .section-head { max-width: 820px; }
.release-version-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.release-version-card { position: relative; display: flex; min-height: 258px; padding: 29px 27px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); flex-direction: column; }
.release-version-card::after { content: ""; position: absolute; top: -55px; right: -50px; width: 160px; height: 160px; border: 26px solid rgba(93,145,207,.055); border-radius: 50%; }
.release-version-primary { background: linear-gradient(145deg,#fafdff,#eef5fc); border-color: rgba(93,145,207,.3); }
.release-product { position: relative; z-index: 1; color: var(--accent-strong); font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.release-version-card > strong { position: relative; z-index: 1; margin: 21px 0 13px; color: var(--title); font-size: clamp(2.8rem,6vw,4.4rem); line-height: .9; letter-spacing: -.06em; }
.release-version-card > p { position: relative; z-index: 1; color: var(--muted); font-size: 11px; line-height: 1.65; }
.release-version-card code,.release-entry code { color: var(--night); font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .92em; }
.release-version-card footer { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.release-version-card footer span { color: var(--title); font-weight: 650; }
.release-log { padding-top: 76px; }
.release-log-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.release-log-head > div:first-child { max-width: 720px; }
.release-log-head h2 { margin-bottom: 0; }
.release-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.release-filters button { min-height: 34px; padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 9px; font-weight: 650; cursor: pointer; }
.release-filters button:hover { color: var(--title); background: var(--surface-2); }
.release-filters button.is-active { background: var(--night); color: #fff; box-shadow: 0 5px 14px rgba(5,25,52,.16); }
.release-timeline { position: relative; display: grid; gap: 15px; }
.release-timeline::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 44px; width: 1px; background: linear-gradient(var(--accent),rgba(93,145,207,.08)); }
.release-entry { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 25px; align-items: start; }
.release-entry[hidden] { display: none !important; }
.release-date { position: relative; z-index: 1; display: grid; place-items: center; width: 89px; min-height: 89px; border: 1px solid rgba(93,145,207,.25); border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 8px var(--bg); text-align: center; }
.release-date strong,.release-date span { display: block; }
.release-date strong { color: var(--title); font-size: 1.6rem; line-height: 1; }
.release-date span { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.release-entry-body { padding: 26px 28px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-sm); }
.release-entry-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 9px; }
.release-tag { padding: 5px 8px; border-radius: 999px; font-weight: 700; }
.release-tag.is-agent { background: #eaf3ff; color: #2b68a7; }
.release-tag.is-wordpress { background: #eff0fb; color: #4c4f9d; }
.release-tag.is-website { background: #e8f8f4; color: #167d68; }
.release-entry h3 { margin-bottom: 8px; color: var(--title); font-size: 1.15rem; }
.release-entry-body > p { color: var(--muted); font-size: 12px; line-height: 1.72; }
.release-entry ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; list-style: none; }
.release-entry li { position: relative; padding-left: 13px; color: var(--title); font-size: 9px; }
.release-entry li::before { content: ""; position: absolute; top: 5px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #39c8aa; }
.release-note { display: grid; grid-template-columns: minmax(180px,.35fr) minmax(0,1fr); gap: 26px; margin-top: 22px; padding: 22px 25px; border: 1px solid rgba(93,145,207,.2); border-radius: 16px; background: var(--surface-2); }
.release-note strong { color: var(--title); font-size: 11px; }
.release-note p { color: var(--muted); font-size: 10px; line-height: 1.65; }
.status-incident { padding-top: 42px; padding-bottom: 34px; }
.status-incident-card { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 25px; align-items: center; padding: 31px 34px; border: 1px solid rgba(57,200,170,.28); border-radius: 21px; background: linear-gradient(135deg,#fafffd,#edf9f6); box-shadow: var(--shadow-sm); }
.status-incident-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 19px; background: rgba(57,200,170,.13); }
.status-incident-icon span { width: 18px; height: 10px; border-bottom: 3px solid #188773; border-left: 3px solid #188773; transform: rotate(-45deg) translate(2px,-2px); }
.status-incident-card h2 { margin: 5px 0 8px; font-size: clamp(1.45rem,3vw,2.15rem); }
.status-incident-card > div:last-child > p:not(.kicker) { color: var(--muted); font-size: 11px; line-height: 1.7; }
.status-method { padding-top: 55px; }
.status-method-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.status-method-grid article { min-height: 230px; padding: 25px 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.status-method-grid span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 11px; background: var(--surface-2); color: var(--accent-strong); font-size: 9px; font-weight: 750; }
.status-method-grid h3 { margin-bottom: 9px; color: var(--title); font-size: 1.03rem; }
.status-method-grid p { color: var(--muted); font-size: 11px; line-height: 1.68; }
@media (max-width: 1080px) {
  .status-components { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .status-component:last-child { grid-column: 1 / -1; min-height: 150px; }
  .status-method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .status-console-head,.release-log-head { align-items: stretch; flex-direction: column; }
  .status-actions { justify-content: space-between; }
  .status-actions p { text-align: left; }
  .release-version-grid { grid-template-columns: 1fr; }
  .release-version-card { min-height: 235px; }
  .release-filters { align-self: flex-start; }
}
@media (max-width: 600px) {
  .status-hero h1 { font-size: 2.12rem; line-height: 1.08; }
  .status-console { border-radius: 20px; }
  .status-console-head { padding: 23px 19px; }
  .status-summary { align-items: flex-start; }
  .status-components { grid-template-columns: 1fr; }
  .status-component,.status-component:last-child { grid-column: auto; min-height: 0; padding: 22px 19px; }
  .status-component-top { margin-bottom: 17px; }
  .status-scope,.status-noscript { padding: 16px 19px; }
  .status-actions { align-items: stretch; flex-direction: column; }
  .btn-status-refresh { width: 100%; }
  .release-filters { width: 100%; }
  .release-filters button { flex: 1 1 42%; }
  .release-timeline::before { left: 24px; }
  .release-entry { grid-template-columns: 50px 1fr; gap: 13px; }
  .release-date { width: 49px; min-height: 62px; border-radius: 13px; box-shadow: 0 0 0 5px var(--bg); }
  .release-date strong { font-size: 1.18rem; }
  .release-date span { max-width: 35px; font-size: 7px; line-height: 1.2; }
  .release-entry-body { padding: 20px 17px; }
  .release-entry-meta { align-items: flex-start; flex-direction: column; }
  .release-note { grid-template-columns: 1fr; gap: 7px; }
  .status-incident-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .status-method-grid { grid-template-columns: 1fr; }
  .status-method-grid article { min-height: 0; }
}
