/* ==========================================================================
   CORE829 Cybersecurity — foglio di stile
   Palette CORE829: Rosso #FF2743 · Nero Pista #141416 · Bianco #F8F8F8
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --red: #ff2743;
  --red-hi: #ff4d64;
  --red-lo: #c8102b;
  --red-a08: rgba(255, 39, 67, 0.08);
  --red-a16: rgba(255, 39, 67, 0.16);
  --red-a35: rgba(255, 39, 67, 0.35);
  --ink: #141416;
  --ink-deep: #0c0c0e;
  --surface: #1a1a1d;
  --surface-2: #222226;
  --text: #f8f8f8;
  --muted: #a6a6ae;
  --dim: #8c8c95;
  --line: rgba(248, 248, 248, 0.08);
  --line-2: rgba(248, 248, 248, 0.16);

  --f-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 39, 67, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 39, 67, 0.05), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--red); color: var(--ink); padding: 10px 16px; font-family: var(--f-mono); font-size: 13px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.mono { font-family: var(--f-mono); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.accent { color: var(--red); text-shadow: 0 0 32px rgba(255, 39, 67, 0.35); }

/* ---------- Atmosfera globale ---------- */
.fx-noise {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx-scan {
  position: fixed; inset: 0; z-index: 199; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 160; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red-lo), var(--red), #fff);
  box-shadow: 0 0 12px var(--red);
}

/* ---------- Navigazione ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 150; height: var(--nav-h);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(20, 20, 22, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a:not(.btn) {
  position: relative; text-decoration: none; font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color .25s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle i {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle i:nth-of-type(1) { top: 17px; }
.nav__toggle i:nth-of-type(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; color: var(--red); filter: drop-shadow(0 0 10px rgba(255, 39, 67, 0.45)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__mark .mark { width: 100%; height: auto; fill: currentColor; }
.brand__word { font-weight: 700; font-size: 20px; letter-spacing: 0.22em; line-height: 1; }
.brand__by {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); padding-left: 12px; border-left: 1px solid var(--line-2);
}
.brand--lg .brand__mark { width: 52px; }
.brand--lg .brand__word { font-size: 28px; }

/* ---------- Bottoni ---------- */
.btn {
  --cut: 12px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; overflow: hidden;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; isolation: isolate;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; --cut: 9px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--red); color: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { background: var(--red-hi); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost, .btn--line { border: 1px solid var(--line-2); color: var(--text); background: rgba(248, 248, 248, 0.02); border-radius: 2px; }
.btn--ghost:hover, .btn--line:hover { border-color: var(--red); background: var(--red-a08); }
.btn__arrow { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn > span { position: relative; }
.btn:hover > span { animation: glitch .35s steps(2) 1; }
@keyframes glitch {
  0% { text-shadow: 2px 0 rgba(255, 255, 255, .8), -2px 0 #0ff0; transform: translateX(1px); }
  50% { text-shadow: -2px 0 rgba(0, 0, 0, .5), 2px 0 rgba(255, 255, 255, .6); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}

/* ---------- Etichette HUD e titoli ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.display {
  font-size: clamp(2.1rem, 5vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .label { justify-content: center; }
.section__lead { margin-top: 24px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 620px; text-wrap: pretty; }
.section__head--center .section__lead { margin-inline: auto; }
.section__lead a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }

.hud {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(20, 20, 22, .6);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--muted);
}
.hud__dot, .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 var(--red-a35); animation: ping 2s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 39, 67, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 39, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 39, 67, 0); } }
.hud__sep { color: var(--dim); }
.hud__ok { color: var(--text); }

/* ---------- Card con luce che segue il cursore ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0.04), rgba(248, 248, 248, 0.012));
  border: 1px solid var(--line); border-radius: var(--radius);
}
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 39, 67, 0.12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
[data-spotlight]::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 39, 67, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
[data-spotlight]:hover::before, [data-spotlight]:hover::after { opacity: 1; }

.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--red); pointer-events: none; z-index: 2; }
.corner--tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Comparsa allo scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); animation: reveal-fallback 0s 2.5s forwards; }
.js .reveal { animation: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 120px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 0; perspective: 420px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero__grid {
  position: absolute; left: -60%; right: -60%; top: 0; height: calc(200% + 64px); transform-origin: 50% 0;
  background-image:
    linear-gradient(rgba(255, 39, 67, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 39, 67, 0.42) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotateX(64deg);
  animation: floor 2.6s linear infinite;
}
@keyframes floor { to { transform: rotateX(64deg) translateY(64px); } }
.hero__glow {
  position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 520px; transform: translateX(-50%); z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 39, 67, 0.35), transparent); filter: blur(30px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__lead { margin-top: 28px; max-width: 560px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--muted); }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.hero__demo { position: relative; justify-self: center; width: 100%; max-width: 420px; --d: .25s; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 1; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; color: var(--dim); text-decoration: none;
}
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--red), transparent); animation: drip 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px;
  border: 1px solid var(--line-2); border-radius: 4px; background: rgba(20, 20, 22, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 11px; letter-spacing: .06em; color: var(--muted); white-space: nowrap;
  box-shadow: 0 18px 40px -18px #000; animation: float 6s ease-in-out infinite;
}
.chip b { color: var(--red); font-weight: 700; }
.chip--a { top: -58px; left: 4%; }
.chip--b { bottom: -60px; right: -4%; animation-delay: -2s; }
.chip--c { bottom: -60px; left: -2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Console di attacco (demo) ---------- */
.demo-frame { position: relative; }







.widget__tag { margin-left: auto; padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 9.5px; letter-spacing: .16em; color: var(--dim); }




@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

















/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-deep); padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(248, 248, 248, .45);
}
.marquee span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { width: 34px; color: var(--red); flex: none; }
.marquee .mark { fill: currentColor; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ==========================================================================
   VALORE
   ========================================================================== */
.value .display { max-width: 1040px; }
.strike { position: relative; color: var(--dim); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .08em; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .5s;
}
.is-in .strike::after, .strike.is-in::after { transform: scaleX(1); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 34px 30px 32px; }
.stat:nth-child(2) { --d: .1s; }
.stat:nth-child(3) { --d: .2s; }
.stat__num { display: flex; align-items: baseline; gap: 6px; font-size: clamp(3.2rem, 6vw, 5.2rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.stat__num small { font-family: var(--f-mono); font-size: 16px; font-weight: 500; letter-spacing: .04em; color: var(--red); }
.stat h3 { margin-top: 26px; font-size: 19px; letter-spacing: -.01em; }
.stat p:last-child { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   COME FUNZIONA
   ========================================================================== */
.how { background: linear-gradient(180deg, transparent, var(--ink-deep) 20%, var(--ink-deep) 80%, transparent); }
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; list-style: none; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 79px; left: 28px; right: 28px; height: 1px; background: var(--line-2);
}
.steps::after {
  background: linear-gradient(90deg, var(--red-lo), var(--red)); box-shadow: 0 0 14px var(--red);
  transform-origin: left; transform: scaleX(var(--p));
}
.step { position: relative; z-index: 1; }
.step:nth-child(2) { --d: .1s; } .step:nth-child(3) { --d: .2s; } .step:nth-child(4) { --d: .3s; }
.step__num { display: block; margin-bottom: 18px; font-size: 12px; letter-spacing: .2em; color: var(--dim); transition: color .4s; }
.step__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: 4px;
  background: var(--ink); border: 1px solid var(--line-2); transform: rotate(45deg); transition: all .5s var(--ease);
}
.step__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: stroke .4s; }
.step.is-lit .step__icon { background: var(--red); border-color: var(--red); box-shadow: 0 0 34px rgba(255, 39, 67, .55); }
.step.is-lit .step__icon svg { stroke: #fff; }
.step.is-lit .step__num { color: var(--red); }
.step h3 { font-size: 22px; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   INSTALLAZIONE
   ========================================================================== */
.install__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; }
.platforms li {
  padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 100px; font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  transition: border-color .3s, color .3s;
}
.platforms li:hover { border-color: var(--red); color: var(--text); }
.platforms li:last-child { border-style: dashed; border-color: rgba(255, 39, 67, .5); color: #ff8a9a; }
.terminal {
  position: relative; border-radius: 12px; overflow: hidden; background: #0a0a0c; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(255, 39, 67, .35), 0 30px 60px -30px #000;
}
.terminal__bar { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #111114; }
.terminal__dots { display: flex; gap: 7px; }
.terminal__dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2f; }
.terminal__dots i:first-child { background: var(--red); }
.terminal__tabs { display: flex; gap: 4px; overflow-x: auto; }
.terminal__tabs button {
  padding: 6px 12px; border-radius: 4px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); transition: color .25s, background-color .25s;
}
.terminal__tabs button:hover { color: var(--text); }
.terminal__tabs button[aria-selected="true"] { background: var(--red-a16); color: var(--text); }
.terminal__body { position: relative; padding: 26px 22px 24px; min-height: 252px; font-size: 13.5px; line-height: 1.7; }
.terminal__hint { color: var(--dim); }
.terminal__hint::before { content: "# "; color: var(--red); }
.terminal__code { margin-top: 10px; white-space: pre-wrap; word-break: break-all; color: var(--text); font-family: inherit; outline-offset: 6px; }
.terminal__code code { font-family: inherit; }
.terminal__code .t-tag { color: #ff8a9a; }
.terminal__code .t-attr { color: var(--muted); }
.terminal__code .t-str { color: var(--text); }
.caret { display: inline-block; width: .55em; height: 1.15em; margin-left: 2px; vertical-align: text-bottom; background: var(--red); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.terminal__out { margin-top: 22px; display: grid; gap: 4px; color: var(--muted); }
.terminal__out p { animation: msg-in .35s var(--ease) both; }
.terminal__out b { color: var(--red); font-weight: 600; }
.terminal__copy {
  position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line-2);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #111114; transition: all .25s;
}
.terminal__copy:hover { color: var(--text); border-color: var(--red); }
.terminal__copy.is-done { color: var(--ink); background: var(--red); border-color: var(--red); }

/* ==========================================================================
   FUNZIONI — BENTO
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento .card { padding: 30px; overflow: hidden; }
.bento__a { grid-column: span 6; grid-row: span 2; }
.bento__b { grid-column: span 6; --d: .08s; }
.bento__c { grid-column: span 3; --d: .12s; }
.bento__d { grid-column: span 3; --d: .16s; }
.bento__e { grid-column: span 5; }
.bento__f { grid-column: span 7; --d: .08s; }
.card__kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.bento h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.15; letter-spacing: -.02em; }
.bento h3 + p, .bento p + p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }



 
 












.lang { display: flex; align-items: center; margin-top: 18px !important; font-size: 40px !important; font-weight: 700; color: var(--text) !important; letter-spacing: -.02em; min-height: 1.3em; }
.handoff { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.handoff i { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.handoff i::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 12px var(--red); animation: hand 2.6s var(--ease-io) infinite alternate;
}
@keyframes hand { to { left: calc(100% - 7px); } }





.bars__note { margin-top: 10px !important; font-size: 10.5px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--dim) !important; }

/* ==========================================================================
   CONFORMITÀ — RADAR
   ========================================================================== */
.compliance { overflow-x: clip; }
.compliance__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.radar { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; }
.radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); }
.radar__ring:nth-child(2) { inset: 17%; }
.radar__ring:nth-child(3) { inset: 34%; border-color: rgba(255, 39, 67, .35); }
.radar::before, .radar::after { content: ""; position: absolute; background: var(--line); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 39, 67, .55), rgba(255, 39, 67, .12) 12%, transparent 26%);
  animation: sweep 6s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__core {
  position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); color: var(--red);
  filter: drop-shadow(0 0 22px rgba(255, 39, 67, .7));
}
.radar__core .mark { fill: currentColor; width: 100%; height: auto; }
.radar__node {
  position: absolute; padding: 6px 10px; border-radius: 3px; border: 1px solid var(--line-2); background: var(--ink);
  font-size: 11px; letter-spacing: .14em; color: var(--muted); transform: translate(-50%, -50%); white-space: nowrap;
  animation: node-ping 6s linear infinite;
}
/* posizione = angolo; il ritardo è sincronizzato con il passaggio del fascio */
.radar__node--1 { left: 75%; top: 12%; animation-delay: -5.5s; }
.radar__node--2 { left: 92%; top: 62%; animation-delay: -4.2s; }
.radar__node--3 { left: 38%; top: 92%; animation-delay: -2.6s; }
.radar__node--4 { left: 10%; top: 34%; animation-delay: -0.7s; }
@keyframes node-ping {
  0%, 12%, 100% { color: var(--muted); border-color: var(--line-2); box-shadow: none; }
  2% { color: #fff; border-color: var(--red); box-shadow: 0 0 22px rgba(255, 39, 67, .6); }
}
.checks { display: grid; gap: 18px; margin-top: 40px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 38px; color: var(--muted); font-size: 16px; }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 3px; background: var(--red-a16); border: 1px solid var(--red);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checks li:nth-child(2) { --d: .06s; } .checks li:nth-child(3) { --d: .12s; } .checks li:nth-child(4) { --d: .18s; }
.checks li:nth-child(5) { --d: .24s; } .checks li:nth-child(6) { --d: .3s; }

/* ==========================================================================
   SETTORI
   ========================================================================== */
.sectors { background: linear-gradient(180deg, transparent, var(--ink-deep) 25%, var(--ink-deep) 75%, transparent); }
.sectors__grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sectors__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sectors__tabs button {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; text-align: left;
  padding: 22px 20px; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--dim); transition: color .3s, background-color .3s;
}
.sectors__tabs button span { font-size: 12px; letter-spacing: .14em; color: inherit; }
.sectors__tabs button small { grid-column: 2; margin-top: 4px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.sectors__tabs button::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--red); box-shadow: 0 0 14px var(--red);
  transform: scaleY(0); transition: transform .4s var(--ease);
}
.sectors__tabs button:hover { color: var(--text); }
.sectors__tabs button[aria-selected="true"] { color: var(--text); background: linear-gradient(90deg, var(--red-a08), transparent); }
.sectors__tabs button[aria-selected="true"] span { color: var(--red); }
.sectors__tabs button[aria-selected="true"] small { color: var(--muted); }
.sectors__tabs button[aria-selected="true"]::before { transform: scaleY(1); }

/* ==========================================================================
   PREZZI
   ========================================================================== */
.billing {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 40px; padding: 5px;
  border: 1px solid var(--line-2); border-radius: 100px; background: rgba(0, 0, 0, .3);
}
.billing button {
  position: relative; z-index: 1; padding: 10px 22px; border-radius: 100px; font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .06em; color: var(--muted); transition: color .3s; white-space: nowrap;
}
.billing button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.billing button[aria-pressed="true"] em { background: rgba(20, 20, 22, .18); }
.billing em { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 100px; background: rgba(255, 255, 255, .12); font-size: 10.5px; }
.billing__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 100px; background: var(--red);
  box-shadow: 0 0 22px rgba(255, 39, 67, .5); transition: transform .45s var(--ease);
}
.billing.is-yearly .billing__thumb { transform: translateX(100%); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 26px 26px; }
.plan:nth-child(2) { --d: .08s; } .plan:nth-child(3) { --d: .16s; } .plan:nth-child(4) { --d: .24s; }
.plan--featured {
  border-color: rgba(255, 39, 67, .6);
  background: linear-gradient(180deg, rgba(255, 39, 67, .12), rgba(255, 39, 67, .02) 60%), var(--ink);
  box-shadow: 0 40px 90px -40px rgba(255, 39, 67, .55);
}
.plan__badge {
  position: absolute; top: -12px; left: 26px; padding: 4px 10px; border-radius: 3px; background: var(--red); color: var(--ink); font-weight: 600;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
}
.plan__name { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.plan__for { margin-top: 6px; min-height: 3em; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin-top: 22px; }
.plan__num { font-size: 58px; font-weight: 700; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan__cur { font-size: 26px; font-weight: 600; margin-left: 2px; }
.plan__per { margin-left: 6px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.plan__note { margin-top: 6px; font-size: 11.5px; letter-spacing: .04em; color: var(--dim); min-height: 1.6em; }
.plan__list { display: grid; gap: 11px; margin: 24px 0 30px; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); flex: 1; }
.plan__list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.enterprise { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; margin-top: 18px; padding: 28px 30px; }
.enterprise h3 { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.enterprise p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 640px; }
.enterprise__price { font-family: var(--f-mono); color: var(--muted) !important; white-space: nowrap; }
.enterprise__price b { font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; color: var(--text); }
.pricing__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 40px; padding: 0; list-style: none; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.pricing__notes li { display: inline-flex; align-items: center; gap: 8px; }
.pricing__notes li::before { content: "+"; color: var(--red); font-weight: 700; }
.pricing__def { margin-top: 16px; text-align: center; font-size: 14px; color: var(--dim); }
.pricing__def strong { color: var(--muted); }
[data-price].is-rolling { animation: roll .45s var(--ease); }
@keyframes roll { 0% { opacity: 1; transform: none; filter: none; } 45% { opacity: 0; transform: translateY(-14px); filter: blur(4px); } 55% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }

/* ==========================================================================
   AGENZIE
   ========================================================================== */
.agency { padding-top: 0; }
.agency__box {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 56px; align-items: center; overflow: hidden;
  padding: clamp(32px, 5vw, 64px); border: 1px solid rgba(255, 39, 67, .45); border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 39, 67, .05) 0 2px, transparent 2px 14px),
    radial-gradient(600px 300px at 100% 0%, rgba(255, 39, 67, .22), transparent 70%),
    var(--ink-deep);
}
.agency__copy p:last-child { margin-top: 20px; color: var(--muted); max-width: 560px; }
.agency__perks { display: grid; gap: 14px; padding: 0; list-style: none; }
.agency__perks li { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.agency__perks b { min-width: 7.5em; font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; color: var(--text); }
.agency__perks span { font-size: 13px; color: var(--muted); }
.agency__box .btn { grid-column: 1 / -1; justify-self: start; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; padding: 24px 52px 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--red); transition: transform .4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 48px 26px 0; color: var(--muted); animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   RICHIESTA — MODULO
   ========================================================================== */
.request { background: radial-gradient(900px 500px at 80% 40%, rgba(255, 39, 67, .09), transparent 70%); }
.request__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.next { display: grid; gap: 22px; margin-top: 44px; padding: 0; list-style: none; }
.next li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: baseline; }
.next span { font-size: 12px; letter-spacing: .14em; color: var(--red); padding-top: 3px; border-top: 1px solid var(--red); }
.next p { color: var(--muted); }
.next b { color: var(--text); font-weight: 600; }

.form { padding: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, rgba(26, 26, 29, .9), rgba(17, 17, 19, .9)); border-color: var(--line-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field abbr { color: var(--red); text-decoration: none; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 14px 15px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(8, 8, 10, .6);
  font-size: 16px; line-height: 1.4; transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field ::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(248, 248, 248, .28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 39, 67, .2); background: rgba(8, 8, 10, .85); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: rgba(255, 39, 67, .06); }
.field__err { min-height: 0; font-size: 13px; color: #ff7a8c; }
.field__err:empty { display: none; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.select select { padding-right: 40px; cursor: pointer; }
.select option { background: var(--surface); color: var(--text); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-family: var(--f-display) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.5; color: var(--muted) !important; }
.check input {
  appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 4px; border: 1px solid var(--line-2);
  background: rgba(8, 8, 10, .6); display: grid; place-items: center; cursor: pointer; transition: all .2s;
}
.check input::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.field.is-invalid .check input { border-color: var(--red); }
.form__foot { margin-top: 28px; }
.form__status { margin-top: 14px; min-height: 1.5em; font-size: 14px; color: var(--muted); text-align: center; }
.form__status.is-error { color: #ff7a8c; }
.btn[data-submit].is-loading { pointer-events: none; }
.btn[data-submit].is-loading .btn__arrow { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__done {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; border-radius: inherit; background: radial-gradient(500px 300px at 50% 35%, rgba(255, 39, 67, .22), transparent 70%), #111113;
  animation: msg-in .6s var(--ease);
}
.form__done[hidden] { display: none; }
.form__done:focus { outline: none; }
.form__done-mark { width: 92px; color: var(--red); margin-bottom: 28px; filter: drop-shadow(0 0 26px rgba(255, 39, 67, .7)); animation: spin-slow 8s linear infinite; }
.form__done-mark .mark { fill: currentColor; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.form__done h3 { font-size: 34px; letter-spacing: -.03em; }
.form__done p:last-child { margin-top: 12px; max-width: 380px; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding: 40px 0 32px; border-top: 1px solid var(--line); background: var(--ink-deep); }
.footer__giant {
  font-size: clamp(96px, 24vw, 380px); font-weight: 700; line-height: .8; letter-spacing: -.06em; text-align: center; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(248, 248, 248, .1);
  background: linear-gradient(180deg, transparent 35%, rgba(255, 39, 67, .5) 100%); -webkit-background-clip: text; background-clip: text;
  margin: 24px 0 56px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.footer__brand p { margin-top: 18px; max-width: 320px; color: var(--muted); font-size: 15px; }
.footer__payoff { font-family: var(--f-mono); font-size: 11.5px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--red) !important; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col h2 { margin-bottom: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.footer__col a { color: var(--muted); text-decoration: none; transition: color .25s; width: fit-content; }
.footer__col a:hover { color: var(--red); }
.footer__col p { color: var(--muted); line-height: 1.6; }
.footer__col p.mono { font-size: 12px; color: var(--dim); }
.footer__col strong { color: var(--text); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11.5px; letter-spacing: .06em; color: var(--dim); }

/* ==========================================================================
   PAGINE SECONDARIE
   ========================================================================== */
.legal { padding-top: calc(var(--nav-h) + 80px); }
.legal h1 { margin-bottom: 12px; }
.legal__meta { font-size: 12px; color: var(--dim); margin-bottom: 48px; }
.legal h2 { margin: 44px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.legal p { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.nav__links--static { display: flex !important; position: static !important; }
.lost { min-height: 88vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.lost__code { font-size: clamp(120px, 26vw, 320px); line-height: .9; letter-spacing: -.06em; color: var(--red); text-shadow: 0 0 60px rgba(255, 39, 67, .45); }
.lost__text { margin: 18px 0 36px; font-size: 20px; color: var(--muted); max-width: 520px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .bento__a { grid-column: span 12; grid-row: auto; }
  .bento__b { grid-column: span 12; }
  .bento__c, .bento__d { grid-column: span 6; }
  .bento__e { grid-column: span 12; }
  .bento__f { grid-column: span 12; }
}
@media (max-width: 1180px) {
  :root { --nav-h: 64px; }
  .nav__toggle { display: block; }
  .nav__links:not(.nav__links--static) {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: rgba(14, 14, 16, .97); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links:not(.nav__links--static) a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav__links:not(.nav__links--static) a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; min-height: 50px; }
}
@media (max-width: 980px) {
  .hero { padding-bottom: 100px; }
  .hero__inner, .install__grid, .compliance__grid, .sectors__grid, .faq__grid, .request__grid { grid-template-columns: 1fr; }
  .hero__demo { max-width: 440px; }
  .compliance__grid .radar { max-width: 360px; order: 2; }
  .faq__grid > div:first-child { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .stats { grid-template-columns: 1fr; }
  .agency__box { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sectors__demo { justify-self: center; width: 100%; max-width: 440px; }
}
@media (max-width: 640px) {
  .brand__by { display: none; }
  body { font-size: 16px; }
  .plans { grid-template-columns: 1fr; }
  .bento__c, .bento__d { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .enterprise { grid-template-columns: 1fr; gap: 18px; }
  .chip { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .billing button { padding: 10px 14px; }
  .terminal__body { font-size: 12.5px; }
  .sectors__tabs button { padding: 18px 12px; }
  .hud { font-size: 10px; gap: 7px; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .fx-noise { display: none; }
}

/* Altezze del grafico di esempio nel resoconto */
  
  
  
  

/* ==========================================================================
   CONSOLE DI ATTACCO
   ========================================================================== */
.console {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, #17171a, #0e0e10);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 50px 120px -40px rgba(255, 39, 67, 0.45), 0 30px 60px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .06);
}
.console__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.console__live {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 3px;
  background: var(--red-a16); color: #ff8a9a; font-size: 10px; letter-spacing: .16em; font-weight: 600;
}
.console__live .dot { width: 6px; height: 6px; }
.console__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.console__who strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__who small { font-size: 11.5px; color: var(--muted); }
.console__sev { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.sev { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sev + .sev { border-left: 1px solid var(--line); }
.sev b { font-family: var(--f-display); font-size: 22px; line-height: 1; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.sev--crit b { color: var(--red); }
.sev--high b { color: #ff8a9a; }
.sev.is-hit { animation: sev-hit .9s var(--ease); }
@keyframes sev-hit { 0% { background: rgba(255, 39, 67, .35); } 100% { background: transparent; } }
.console__log {
  height: 372px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden;
  font-size: 11.5px; line-height: 1.45;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px); mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
}
.cl { display: grid; grid-template-columns: 38px 54px 1fr; gap: 8px; align-items: baseline; animation: msg-in .35s var(--ease) both; }
.cl__t { color: var(--dim); }
.cl__a { padding: 1px 0; border-radius: 2px; text-align: center; font-size: 9.5px; letter-spacing: .08em; color: var(--muted); background: rgba(248, 248, 248, .06); }
.cl__m { color: var(--muted); overflow-wrap: anywhere; }
.cl--ok .cl__m { color: var(--text); }
.cl--find .cl__a { background: var(--red); color: var(--ink); font-weight: 700; }
.cl--find .cl__m { color: #ff8a9a; font-weight: 600; }
.finding {
  margin: 2px 0 6px 46px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line-2);
  background: rgba(248, 248, 248, .03); animation: msg-in .45s var(--ease) both;
}
.finding--crit { border-color: var(--red); background: rgba(255, 39, 67, .1); box-shadow: 0 0 30px -10px rgba(255, 39, 67, .6); }
.finding--high { border-color: rgba(255, 39, 67, .55); background: rgba(255, 39, 67, .05); }
.finding__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.finding__ok { font-size: 10px; color: var(--muted); white-space: nowrap; }
.finding__title { margin-top: 6px; font-family: var(--f-display); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--text); }
.finding__pocline { margin-top: 4px; font-size: 10.5px; color: var(--muted); overflow-wrap: anywhere; }
.sev-pill { display: inline-block; padding: 2px 7px; border-radius: 3px; border: 1px solid var(--line-2); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.sev-pill--crit { background: var(--red); border-color: var(--red); color: var(--ink); }
.sev-pill--high { border-color: var(--red); color: #ff8a9a; }
.sev-pill--med { border-color: rgba(248, 248, 248, .45); color: var(--text); }
.console__foot { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: .08em; color: var(--dim); }
.console__foot > span { display: inline-flex; align-items: center; gap: 8px; }
.console__spin { display: inline-block; width: 8px; height: 8px; border: 1.5px solid var(--red); border-right-color: transparent; border-radius: 50%; animation: spin .9s linear infinite; }

/* ==========================================================================
   COSA TROVA — griglia delle vulnerabilità
   ========================================================================== */
.vulns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vuln { padding: 26px 24px 28px; }
.vuln:nth-child(4n+2) { --d: .06s; } .vuln:nth-child(4n+3) { --d: .12s; } .vuln:nth-child(4n+4) { --d: .18s; }
.vuln__tag { display: inline-block; margin-bottom: 18px; padding: 3px 8px; border: 1px solid rgba(255, 39, 67, .45); border-radius: 3px; font-size: 10.5px; letter-spacing: .16em; color: #ff8a9a; }
.vuln h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.2; }
.vuln p:last-child { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ==========================================================================
   REPORT
   ========================================================================== */
.finding--static { margin: 6px 0 0; padding: 22px; border-color: var(--red); background: linear-gradient(180deg, rgba(255, 39, 67, .1), rgba(255, 39, 67, .02)); }
.finding--static h3 { margin-top: 14px; font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.finding--static > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.finding__id { font-size: 11px; color: var(--dim); }
.finding__label { margin-top: 20px !important; font-size: 10.5px !important; letter-spacing: .16em; text-transform: uppercase; color: #ff8a9a !important; }
.finding__poc {
  margin-top: 8px; padding: 14px 16px; border-radius: 6px; background: #09090b; border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere;
}
.finding__poc mark { background: rgba(255, 39, 67, .25); color: #fff; padding: 0 3px; border-radius: 2px; }
.sevbars { display: grid; gap: 10px; margin-top: 24px; }
.sevbars p { display: grid; grid-template-columns: 62px 1fr 18px; align-items: center; gap: 12px; margin: 0 !important; font-size: 11.5px !important; color: var(--muted) !important; }
.sevbars b { color: var(--text); text-align: right; }
.sevbars__bar { height: 8px; border-radius: 2px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.sevbars__bar--crit { width: 17%; background: var(--red); box-shadow: 0 0 14px rgba(255, 39, 67, .6); }
.sevbars__bar--high { width: 33%; background: #ff8a9a; }
.sevbars__bar--med { width: 67%; background: rgba(248, 248, 248, .55); }
.sevbars__bar--low { width: 100%; background: rgba(248, 248, 248, .2); }
.is-in .sevbars__bar { transform: scaleX(1); }
.diff { margin-top: 20px; padding: 14px; border-radius: 6px; background: #09090b; border: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff__del { display: block; color: #ff8a9a; background: rgba(255, 39, 67, .1); text-decoration: line-through; text-decoration-color: rgba(255, 39, 67, .6); }
.diff__add { display: block; color: var(--text); background: rgba(248, 248, 248, .06); }
.pipe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.pipe span { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 3px; }
.pipe i { position: relative; flex: 1 1 18px; min-width: 18px; height: 1px; background: var(--line-2); }
.pipe i::after { content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: hand 1.8s linear infinite; }
.pipe .pipe__sec { border-color: var(--red); background: var(--red-a16); color: var(--text); box-shadow: 0 0 20px -6px rgba(255, 39, 67, .7); }

/* ---------- Varianti di layout ---------- */
.steps--5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.plans--3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin-inline: auto; }
.plans--3 + .enterprise { max-width: 1080px; margin-inline: auto; }
.plan__from { margin-right: 6px; font-size: 13px; color: var(--muted); align-self: center; }
.handoff span:last-child { color: var(--text); }
.radar__node { font-size: 10px; }

@media (max-width: 1100px) {
  .vulns { grid-template-columns: repeat(2, 1fr); }
  .plans--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .steps--5 { grid-template-columns: 1fr 1fr; }
  .plans--3 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .vulns { grid-template-columns: 1fr; }
  .steps--5 { grid-template-columns: 1fr; }
  .console__log { height: 340px; }
  .finding { margin-left: 0; }
  .cl { grid-template-columns: 34px 50px 1fr; gap: 6px; }
}

/* ==========================================================================
   SITO MULTIPAGINA — intestazioni, componenti delle pagine interne
   ========================================================================== */

/* ---------- Menu: pagina attiva ---------- */
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav { view-transition-name: nav; }

/* ---------- Transizioni tra pagine (View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; }
.section__head--split > div { max-width: 760px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: none;
  transition: border-color .3s, color .3s;
}
.link-arrow i { font-style: normal; color: var(--red); transition: transform .35s var(--ease); }
.link-arrow:hover { border-color: var(--red); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Intestazione delle pagine interne ---------- */
.phead { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phead__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: linear-gradient(rgba(255, 39, 67, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 39, 67, .16) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 10%, transparent 70%);
  animation: grid-drift 18s linear infinite;
}
@keyframes grid-drift { to { background-position: 56px 56px; } }
.phead__glow { position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 39, 67, .22), transparent); filter: blur(20px); pointer-events: none; }
.phead__inner { position: relative; }
.phead__title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; text-wrap: balance; max-width: 980px; }
.phead__lead { margin-top: 26px; max-width: 640px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); text-wrap: pretty; animation: rise .9s var(--ease) .25s both; }
.phead .label { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.crumbs { display: flex; gap: 10px; margin-bottom: 30px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .25s; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Home: servizi, tag, duo ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 30px; text-decoration: none; color: inherit; min-height: 260px; transition: transform .45s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-4px); border-color: rgba(255, 39, 67, .5); }
.svc--featured { border-color: rgba(255, 39, 67, .55); background: linear-gradient(180deg, rgba(255, 39, 67, .1), rgba(255, 39, 67, .02)); }
.svc__idx { font-size: 12px; letter-spacing: .2em; color: var(--red); }
.svc h3 { font-size: 26px; letter-spacing: -.02em; }
.svc > p { color: var(--muted); font-size: 15px; }
.svc__price { margin-top: auto; font-size: 13px; color: var(--muted) !important; }
.svc__price b { font-family: var(--f-display); font-size: 24px; color: var(--text); letter-spacing: -.02em; }
.svc__go { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

.tagcloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; list-style: none; }
.tagcloud li { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(248, 248, 248, .02); font-size: 15px; color: var(--muted); transition: border-color .3s, color .3s; }
.tagcloud li:hover { border-color: rgba(255, 39, 67, .5); color: var(--text); }
.tagcloud b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--red); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.4vw, 40px); }
.duo__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.duo .link-arrow { margin-top: auto; align-self: flex-start; }
.finding--compact { margin: 0; }
.finding--compact h3 { font-size: 18px; }
.checks--compact { margin-top: 0; gap: 14px; }

/* ---------- Fascia finale ---------- */
.cta-band { padding-top: 0; }
.cta-band__box {
  position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center; overflow: hidden;
  padding: clamp(32px, 5vw, 64px); border: 1px solid rgba(255, 39, 67, .5); border-radius: var(--radius);
  background: radial-gradient(700px 300px at 0% 100%, rgba(255, 39, 67, .22), transparent 70%), var(--ink-deep);
}
.cta-band__box p:not(.label) { margin-top: 18px; color: var(--muted); max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 39, 67, .12), transparent); transform: translateX(-100%); animation: band-scan 5s var(--ease-io) infinite; }
@keyframes band-scan { 60%, 100% { transform: translateX(100%); } }

/* ---------- Servizi ---------- */
.svc-detail { display: grid; gap: 18px; }
.svc-row { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 24px 56px; padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(248, 248, 248, .02); scroll-margin-top: calc(var(--nav-h) + 24px); }
.svc-row--featured { border-color: rgba(255, 39, 67, .55); background: linear-gradient(135deg, rgba(255, 39, 67, .1), transparent 60%); }
.svc-row__head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.svc-row__head h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; }
.svc-row__lead { font-size: 17px; color: var(--text); max-width: 680px; }
.svc-row__body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-width: 0; }
.plan__badge--inline { position: static; }
.specs { display: grid; width: 100%; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.specs dd { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Metodo ---------- */
.phases { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 80px 1.4fr 1fr; gap: 20px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.phase__n { font-size: 30px; font-weight: 600; color: var(--red); line-height: 1; }
.phase h3 { font-size: 22px; letter-spacing: -.02em; }
.phase p { margin-top: 10px; color: var(--muted); }
.phase__meta { display: grid; gap: 10px; align-content: start; margin: 0; }
.phase__meta > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(248, 248, 248, .02); }
.phase__meta dt { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.phase__meta dd { margin: 4px 0 0; font-size: 13px; color: var(--text); }
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent { padding: 24px; }
.agent__id { display: inline-block; margin-bottom: 16px; padding: 3px 8px; border-radius: 3px; background: rgba(248, 248, 248, .06); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.agent h3 { font-size: 18px; letter-spacing: -.01em; }
.agent p:last-child { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.agent--human { border-color: rgba(255, 39, 67, .55); }
.agent--human .agent__id { background: var(--red); color: var(--ink); font-weight: 700; }
.standards, .datahandling { display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); }
.standards h2, .datahandling h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 500; }
.standards ul, .datahandling ul { display: grid; gap: 0; padding: 0; list-style: none; }
.standards li, .datahandling li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.standards li:last-child, .datahandling li:last-child { border-bottom: 0; }
.standards b, .datahandling b { font-weight: 600; }
.standards span, .datahandling span { color: var(--muted); font-size: 15px; }

/* ---------- Vulnerabilità ---------- */
.vuln h2 { font-size: 19px; letter-spacing: -.015em; line-height: 1.2; }
.vuln > p:not(.vuln__tag) { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.vuln .vuln__impact { margin-top: 18px !important; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 11px !important; letter-spacing: .06em; color: #ff8a9a !important; }
.compare { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 64px; align-items: start; }
.compare__table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.compare__row:last-child { border-bottom: 0; }
.compare__row b { color: var(--text); font-weight: 600; }
.compare__row--head { background: rgba(248, 248, 248, .03); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.compare__row--head span:last-child { color: var(--red); }

/* ---------- Report ---------- */
.sevscale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sevscale__item { position: relative; padding: 28px 24px; border-left: 1px solid var(--line); }
.sevscale__item:first-child { border-left: 0; }
.sevscale__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.sevscale__item--crit { --c: var(--red); } .sevscale__item--high { --c: #ff8a9a; }
.sevscale__item--med { --c: rgba(248, 248, 248, .6); } .sevscale__item--low { --c: rgba(248, 248, 248, .25); }
.sevscale__item span { font-size: 12px; color: var(--muted); }
.sevscale__item h3 { margin-top: 10px; font-size: 24px; letter-spacing: -.02em; }
.sevscale__item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.toc__list { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.toc__list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; letter-spacing: .02em; color: var(--text); }
.toc__list span { color: var(--red); }

/* ---------- Prezzi ---------- */
.factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.factor { padding-top: 20px; border-top: 1px solid var(--red); }
.factor span { font-size: 12px; color: var(--red); letter-spacing: .14em; }
.factor h3 { margin-top: 12px; font-size: 20px; letter-spacing: -.015em; }
.factor p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.enterprise h2 { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Conformità ---------- */
.laws { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.law { padding: 28px; }
.law__ref { font-size: 11px; letter-spacing: .1em; color: #ff8a9a; }
.law h3 { margin-top: 12px; font-size: 21px; letter-spacing: -.015em; }
.law p:last-child { margin-top: 8px; color: var(--muted); font-size: 15px; }
.note { margin-top: 24px; font-size: 13.5px; color: var(--dim); max-width: 760px; }

/* ---------- FAQ ---------- */
.faq-groups { display: grid; gap: 56px; max-width: 920px; }
.faq-group__title { display: flex; gap: 14px; margin-bottom: 8px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.faq-group__title span { color: var(--red); }

/* ---------- Chi siamo ---------- */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 72px; align-items: start; }
.story__text { display: grid; gap: 20px; }
.story__text p { color: var(--muted); font-size: 17px; max-width: 640px; }
.story__text a, .faq a, .agency a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.idcard { position: sticky; top: calc(var(--nav-h) + 32px); padding: 32px; overflow: hidden; }
.idcard__mark { position: absolute; right: -40px; top: -30px; width: 180px; color: var(--red); opacity: .12; }
.idcard__mark .mark, .legalbox__mark .mark { width: 100%; height: auto; fill: currentColor; }
.idcard__name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.idcard__list, .legalbox dl { display: grid; margin: 20px 0 0; }
.idcard__list > div, .legalbox dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.idcard__list dt, .legalbox dt { color: var(--dim); letter-spacing: .06em; }
.idcard__list dd, .legalbox dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.idcard__list a { color: var(--text); text-decoration-color: var(--red); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { padding: 28px 24px; }
.value-card span { font-size: 12px; color: var(--red); letter-spacing: .14em; }
.value-card h3 { margin-top: 14px; font-size: 22px; letter-spacing: -.02em; }
.value-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 16px; }
.person { display: flex; align-items: center; gap: 20px; padding: 24px; }
.person__avatar { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 0 30px -6px rgba(255, 39, 67, .7); }
.person h3 { font-size: 20px; letter-spacing: -.015em; }
.person p { margin-top: 2px; font-size: 12px; color: var(--muted); }

/* ---------- Contatti ---------- */
.booking { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px; text-decoration: none; color: inherit; transition: border-color .3s; }
.booking:hover { border-color: rgba(255, 39, 67, .55); }
.booking__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--red-a16); }
.booking__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; }
.booking span:not(.booking__icon) { display: flex; flex-direction: column; }
.booking small { color: var(--muted); font-size: 14px; }
.booking i { margin-left: auto; font-style: normal; color: var(--red); }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 6px; padding: 24px; text-decoration: none; color: inherit; transition: border-color .3s, transform .45s var(--ease); }
.channel:hover { border-color: rgba(255, 39, 67, .5); transform: translateY(-3px); }
.channel__label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.channel__value { font-size: 17px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.channel__note { font-size: 13.5px; color: var(--muted); }
.legalbox { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; margin-top: 40px; padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.legalbox__mark { color: var(--red); }
.legalbox dl { margin: 0; grid-template-columns: 1fr 1fr; column-gap: 32px; }

/* ---------- Footer ---------- */
.footer__brand a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.footer__brand .brand__by { display: inline; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.footer__social a { display: inline-block; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 100px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-decoration: none; transition: border-color .25s, color .25s; }
.footer__social a:hover { border-color: var(--red); color: var(--text); }
.footer__col small { color: var(--dim); font-size: 11px; }

/* ---------- 404 ---------- */
.lost { position: relative; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .agents, .values, .channels { grid-template-columns: repeat(2, 1fr); }
  .tagcloud { grid-template-columns: repeat(2, 1fr); }
  .factors { grid-template-columns: repeat(2, 1fr); }
  .sevscale { grid-template-columns: repeat(2, 1fr); }
  .sevscale__item:nth-child(3) { border-left: 0; }
  .sevscale__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .svc-grid, .duo, .compare, .toc, .story, .laws, .cta-band__box { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 56px 1fr; }
  .phase__meta { grid-column: 2; grid-template-columns: 1fr 1fr; }
  .standards, .datahandling { grid-template-columns: 1fr; }
  .idcard { position: relative; top: auto; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .agents, .values, .channels, .tagcloud, .factors, .sevscale, .people { grid-template-columns: 1fr; }
  .sevscale__item { border-left: 0; border-top: 1px solid var(--line); }
  .sevscale__item:first-child { border-top: 0; }
  .specs > div, .standards li, .datahandling li { grid-template-columns: 1fr; gap: 4px; }
  .phase { grid-template-columns: 1fr; }
  .phase__meta { grid-column: auto; grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; color: var(--text); }
  .compare__row--head > span:first-child { display: none; }
  .legalbox { grid-template-columns: 1fr; }
  .legalbox__mark { width: 80px; }
  .legalbox dl { grid-template-columns: 1fr; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .phead__grid, .cta-band__scan { animation: none; }
}

