/* Design tokens derived from the reverse-brand measurements (neutral palette, pill buttons, 20px cards,
   4px spacing base, light/dark band rhythm). No third-party logos or font files are used. */
:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --type-display-size: clamp(40px, 1.6rem + 3.6vw, 80px);
  --type-display-line: 1.02;
  --type-display-tracking: -0.024em;
  --type-h2-size: clamp(32px, 1.6rem + 1.5vw, 52px);
  --type-h3-size: clamp(22px, 1.1rem + 0.8vw, 30px);
  --type-lead-size: clamp(18px, 1rem + 0.48vw, 23px);
  --type-body-size: clamp(16px, 0.95rem + 0.19vw, 18px);
  --type-small-size: 14px;
  --color-background: #ffffff;
  --color-surface: #f7f7f7;
  --color-surface-inverse: #000000;
  --color-surface-inverse-2: #191c1f;
  --color-text: #1f1f1f;
  --color-text-muted: #5f5f62;
  --color-text-inverse: #f2f2f4;
  --color-text-inverse-muted: #c9c9cd;
  --color-action: #1f1f1f;
  --color-on-action: #ffffff;
  --color-accent: #6fa0ff;
  --color-accent-strong: #2f6fe8;
  --color-border: #d9d9dc;
  --color-error: #c4302b;
  --gradient-brand: radial-gradient(110% 90% at 15% 10%, #6fa0ff 0%, transparent 55%), radial-gradient(80% 80% at 90% 95%, #2f6fe8 0%, transparent 60%), linear-gradient(#000, #000);
  --space: 4px;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --button-height: 48px;
  --button-padding-x: 24px;
  --container: 1120px;
  --gutter: 24px;
  --nav-height: 72px;
  --ease: cubic-bezier(0.15, 0.5, 0.5, 1);
  --duration: 0.3s;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 400 var(--type-body-size)/1.5 var(--font-sans); }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-accent-strong); outline-offset: 3px; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 calc(var(--space) * 8); }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--color-background) 85%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid color-mix(in oklab, var(--color-border) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: var(--nav-height); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--color-action); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--button-height); padding: 0 var(--button-padding-x); border-radius: var(--radius-pill); border: 0;
  background: var(--color-action); color: var(--color-on-action); font: 500 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease); }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #000; }
.btn-glass { background: #ffffff1f; color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px #ffffff33; }
.btn-outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* bands */
section { padding: calc(var(--space) * 24) 0; }
@media (max-width: 600px) { section { padding: calc(var(--space) * 14) 0; } }
.dark { background: var(--color-surface-inverse); color: var(--color-text-inverse); }
.dark .muted { color: var(--color-text-inverse-muted); }
.soft { background: var(--color-surface); }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--color-accent-strong); margin: 0 0 12px; }
.dark .kicker { color: var(--color-accent); }
h1, h2, h3 { font-weight: 500; margin: 0; }
h1 { font-size: var(--type-display-size); line-height: var(--type-display-line); letter-spacing: var(--type-display-tracking); }
h2 { font-size: var(--type-h2-size); line-height: 1.05; letter-spacing: -0.012em; margin-bottom: 20px; }
h3 { font-size: var(--type-h3-size); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 10px; }
.lead { font-size: var(--type-lead-size); line-height: 1.4; max-width: 44ch; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--type-small-size); }
p { margin: 0 0 16px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--gradient-brand); color: #fff; padding: calc(var(--space) * 28) 0 calc(var(--space) * 22); }
.hero .lead { color: #e9eefb; margin: 24px 0 32px; }
.hero h1 { max-width: 15ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.glass { background: #ffffff1a; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid #ffffff2e; border-radius: var(--radius-card); }
.hero-facts .glass { padding: 14px 18px; font-size: 15px; }
.hero-facts b { display: block; font-size: 22px; font-weight: 600; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); margin-top: 40px; }
.num { border-top: 2px solid var(--color-text); padding-top: 20px; }
.num b { display: block; font-size: clamp(36px, 1.6rem + 2vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
@media (max-width: 960px) { .nums { grid-template-columns: repeat(2, 1fr); } }

/* cards */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--color-surface); border-radius: var(--radius-card); padding: 28px; }
.soft .card { background: var(--color-background); }
.dark .card { background: #ffffff12; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 32px; }
.step { position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: #000; font-weight: 700; margin-bottom: 16px; }
.step .when { display: inline-block; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.doclist { list-style: none; padding: 0; margin: 16px 0 0; }
.doclist li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-border); }
.doclist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--color-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* form */
.tabs { display: inline-flex; padding: 4px; background: var(--color-surface); border-radius: var(--radius-pill); margin: 8px 0 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; height: 44px; padding: 0 22px; border-radius: var(--radius-pill); font: 500 16px/1 var(--font-sans); color: var(--color-text); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--color-action); color: var(--color-on-action); }
.panel[hidden] { display: none; }
form { display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
legend { font-weight: 600; font-size: 18px; margin-bottom: 8px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.opt { font-weight: 400; color: var(--color-text-muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-background);
  font: 400 16px/1.2 var(--font-sans); color: var(--color-text); }
textarea { height: 110px; padding: 12px 16px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--color-accent-strong); outline: 2px solid color-mix(in oklab, var(--color-accent) 40%, transparent); }
.file { border: 1.5px dashed var(--color-border); border-radius: var(--radius-card); padding: 16px; background: var(--color-background); }
.file input { font: 400 14px var(--font-sans); width: 100%; }
.file small { display: block; font-weight: 400; color: var(--color-text-muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-note { font-size: 14px; color: var(--color-text-muted); }
.err { color: var(--color-error); font-size: 14px; min-height: 1em; }
.hp { position: absolute; left: -9999px; }

/* faq */
details { border-top: 1px solid #ffffff2e; padding: 20px 0; }
details:last-child { border-bottom: 1px solid #ffffff2e; }
summary { cursor: pointer; font-size: var(--type-lead-size); font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 28px; line-height: 1; transition: transform var(--duration) var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; max-width: 70ch; }

/* contacts + footer */
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
footer { background: var(--color-surface-inverse-2); color: var(--color-text-inverse-muted); padding: 48px 0; font-size: 14px; }
footer a { color: var(--color-text-inverse); }
footer .wrap { display: grid; gap: 12px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px #0000004d; }
.wa-float svg { width: 30px; height: 30px; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 480px) { .brand-sub { display: none; } .nav .wrap { gap: 12px; } .nav .btn-sm { padding: 0 14px; font-size: 14px; } }
label:not(.check) { display: block; }
label:not(.check) > input, label:not(.check) > textarea { display: block; margin-top: 6px; }
.file small { margin-top: 6px; }
.brand-sub { margin-left: -10px; white-space: pre; }
.nums6 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
@media (max-width: 860px) { .nums6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nums6 { grid-template-columns: 1fr; } }
.notice { background: #fff; border-left: 4px solid var(--color-accent-strong); border-radius: 12px; padding: 14px 18px; max-width: 70ch; }
.gdpr { display: grid; gap: 14px; background: var(--color-surface); border-radius: 16px; padding: 18px; font-size: 14px; }
.gdpr p { margin: 0; color: var(--color-text-muted); }
.gdpr .check { font-size: 15px; }
select { appearance: auto; }
label:not(.check) > select { display: block; margin-top: 6px; }

/* ---------- motion (scroll animations, measured brand easing) ---------- */
.hero { isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -25%; z-index: -1; pointer-events: none;
  background: radial-gradient(35% 40% at 30% 35%, #6fa0ffb3 0%, transparent 70%), radial-gradient(30% 35% at 70% 70%, #2f6fe8cc 0%, transparent 70%);
  animation: drift 18s var(--ease) infinite alternate; }
@keyframes drift { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.15); } }
.hero .wrap { will-change: transform, opacity; }
.nav { transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease); }
.nav.scrolled { box-shadow: 0 8px 30px #0000000f; }
/* word-by-word title reveal */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }
/* staggered reveal */
.js .reveal { transition-delay: var(--d, 0ms); }
/* number cards */
.num b { font-variant-numeric: tabular-nums; }
/* steps progress line */
.steps { position: relative; }
.steps-line { position: absolute; left: 20px; right: calc((100% - 3 * var(--gutter)) / 4 - 20px); top: 19px; height: 2px; background: #ffffff26; z-index: 0; border-radius: 2px; }
.steps-line i { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.step { z-index: 1; }
.step::before { transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); background: #2b2e33; color: #fff; }
.step.on::before { background: var(--color-accent); color: #000; transform: scale(1.1); box-shadow: 0 0 0 8px #6fa0ff26; }
.step h3, .step p { transition: opacity .5s var(--ease); }
.js .step:not(.on) h3, .js .step:not(.on) p { opacity: .45; }
@media (max-width: 960px) { .steps-line { display: none; } }
/* cards */
.card, .num { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
#documenti .card:hover, #caratteristiche .num:hover { transform: translateY(-6px); }
#documenti .card:hover { box-shadow: 0 18px 40px #0000001a; }
.doclist li { transition: transform .35s var(--ease); }
.doclist li:hover { transform: translateX(6px); }
.tab { transition: background var(--duration) var(--ease), color var(--duration) var(--ease); }
.panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wa-float { transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .panel:not([hidden]) { animation: none; }
  .w > span { transform: none; transition: none; }
  .card, .num, .doclist li, .step::before { transition: none; }
  .js .step:not(.on) h3, .js .step:not(.on) p { opacity: 1; }
  .steps-line i { transform: none; }
}

/* ---------- visuals: product mockups, service cards, network band ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
@media (max-width: 960px) { .hero-visual { min-height: 520px; margin-top: 8px; } }
.phone { width: 292px; height: 584px; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a2d33, #0b0c0e); box-shadow: 0 40px 80px #00000066, inset 0 0 0 1px #ffffff26;
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); animation: phoneIn 1.1s var(--ease) both .2s; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotateY(-18deg) rotateX(10deg) scale(.92); } }
.screen { height: 100%; border-radius: 36px; background: #f5f6f8; color: #111; padding: 22px 18px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.live { font-size: 12px; font-weight: 600; color: #0f7a3e; background: #dff5e7; padding: 4px 10px; border-radius: 99px; }
.app-amount { background: #fff; border-radius: 18px; padding: 14px 16px; }
.app-amount small { display: block; color: #6b6f76; font-size: 12px; }
.app-amount b { font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.app-ring { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.app-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.app-ring circle { fill: none; stroke-width: 12; }
.ring-bg { stroke: #e6ebf5; }
.ring-fg { stroke: #2f6fe8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.6s var(--ease) forwards .9s; }
@keyframes ring { to { stroke-dashoffset: 20; } }
.app-ring b { display: block; font-size: 26px; font-weight: 600; }
.app-ring small { color: #6b6f76; font-size: 12px; line-height: 1.25; }
.app-list { list-style: none; margin: 0; padding: 4px 16px; background: #fff; border-radius: 18px; }
.app-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; font-weight: 500; border-top: 1px solid #eef0f3; opacity: 0; transform: translateX(16px); animation: liIn .6s var(--ease) forwards; }
.app-list li:first-child { border-top: 0; }
.app-list li:nth-child(1) { animation-delay: 1.1s; } .app-list li:nth-child(2) { animation-delay: 1.3s; } .app-list li:nth-child(3) { animation-delay: 1.5s; } .app-list li:nth-child(4) { animation-delay: 1.7s; }
@keyframes liIn { to { opacity: 1; transform: none; } }
.app-list small { display: block; font-weight: 400; color: #6b6f76; font-size: 12px; }
.app-list i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d3d7de; }
.app-list .ok i { border: 0; background: #2f6fe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.app-list .wait i { border-color: #2f6fe8; border-top-color: transparent; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.device { position: relative; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 500; color: #fff; width: max-content; max-width: 210px;
  background: #0e1626d9; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid #ffffff2e; box-shadow: 0 20px 40px #00000059; animation: float 6s ease-in-out infinite; }
.chip i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #6fa0ff; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.chip b { font-size: 22px; font-weight: 600; margin-right: 2px; white-space: nowrap; }
.chip-a { right: calc(100% - 26px); top: 150px; }
.chip-b { left: calc(100% - 26px); bottom: 150px; animation-delay: -3s; }
@media (max-width: 1200px) { .chip-a { right: auto; left: -40px; top: -18px; } .chip-b { left: auto; right: -40px; bottom: -14px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 600px) { .phone { width: 252px; height: 504px; } .chip-a { left: -28px; } .chip-b { right: -28px; } .chip { max-width: 190px; font-size: 13px; padding: 10px 12px; } }

/* guarantee bar (cos'è) */
#cosa-e .grid2 { align-items: start; }
.guarantee { grid-column: 1 / -1; margin: 24px 0 0; background: var(--color-surface); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.g-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.g-head span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--color-accent-strong); margin-right: 8px; }
.g-head b { font-size: clamp(36px, 1.6rem + 2vw, 56px); font-weight: 500; letter-spacing: -.02em; }
.g-bar { height: 64px; border-radius: 20px; background: #dfe3ea; overflow: hidden; }
.g-bar i { display: flex; align-items: center; height: 100%; width: var(--w); padding: 0 20px; border-radius: 20px; background: linear-gradient(90deg, #2f6fe8, #6fa0ff); color: #fff; font-style: normal; font-weight: 600; white-space: nowrap;
  transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.g-bar i span { opacity: 0; transition: opacity .6s var(--ease) 1.2s; }
.guarantee.in .g-bar i { transform: none; } .guarantee.in .g-bar i span { opacity: 1; }
.g-legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.g-legend span { display: flex; align-items: center; gap: 8px; }
.g-legend i { width: 12px; height: 12px; border-radius: 4px; } .g-legend .c1 { background: #2f6fe8; } .g-legend .c2 { background: #dfe3ea; }
@media (max-width: 600px) { .g-bar i { padding: 0 12px; font-size: 13px; } }

/* service cards: sticky stack */
.stack { display: grid; gap: 24px; margin-top: 40px; }
.scard { position: sticky; top: calc(var(--nav-height) + 24px + var(--i) * 18px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; min-height: 380px;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px; color: #fff; box-shadow: 0 -10px 40px #0000001a; transform-origin: top center; will-change: transform; }
.scard h3 { font-size: clamp(28px, 1.2rem + 1.6vw, 44px); letter-spacing: -.02em; margin: 14px 0 14px; }
.scard p { font-size: var(--type-lead-size); line-height: 1.45; max-width: 36ch; color: #ffffffe0; margin: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #ffffff2e; }
.scard .art { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 24px 30px #00000033); }
.c-blue { background: radial-gradient(120% 120% at 100% 0%, #6fa0ff 0%, #2f6fe8 45%, #1747b8 100%); }
.c-violet { background: radial-gradient(120% 120% at 100% 0%, #a99bff 0%, #6b55e6 45%, #3d2bb0 100%); }
.c-teal { background: radial-gradient(120% 120% at 100% 0%, #5fe0c4 0%, #0f9d8a 50%, #07665a 100%); }
.c-orange { background: radial-gradient(120% 120% at 100% 0%, #ffc08a 0%, #ff7a3d 50%, #d4471a 100%); }
.scard .bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.2); transition: transform 1s var(--ease); }
.scard.in .bar { transform: none; } .scard.in .bar:nth-of-type(2) { transition-delay: .1s; } .scard.in .bar:nth-of-type(3) { transition-delay: .2s; } .scard.in .bar:nth-of-type(4) { transition-delay: .3s; }
@media (max-width: 760px) { .scard { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; } .scard .art { max-width: 240px; order: -1; justify-self: start; } }

/* network band */
.rete { overflow: hidden; background: radial-gradient(80% 120% at 85% 0%, #1d3f8f 0%, transparent 60%), #000; }
.rete .grid2 { align-items: end; }
.marquee { margin-top: 64px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.track span { padding: 14px 22px; border-radius: 99px; background: #ffffff14; border: 1px solid #ffffff24; font-size: 18px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* image reveal on scroll (clip + scale) */
.js .unveil { clip-path: inset(12% 8% 12% 8% round 32px); transform: scale(.94); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js .unveil.in { clip-path: inset(0 0 0 0 round 32px); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .phone, .chip, .app-list li, .ring-fg, .track, .app-list .wait i { animation: none; }
  .app-list li { opacity: 1; transform: none; } .ring-fg { stroke-dashoffset: 20; }
  .phone { transform: none; }
  .scard { position: static; }
  .g-bar i, .g-bar i span, .scard .bar { transition: none; transform: none; opacity: 1; }
  .js .unveil { clip-path: none; transform: none; }
}

/* pulsante Scarica l'app nell'header */
.nav-app { white-space: nowrap; }
.nav-app .corto { display: none; }
.nav .nav-app + .btn { margin-left: 0; }
@media (max-width: 1340px) { .nav-links { gap: 18px; font-size: 14px; } .nav-app .lungo { display: none; } .nav-app .corto { display: inline; } }
@media (max-width: 1180px) { .nav-links { display: none; } .nav .nav-app { margin-left: auto; } .nav-app .lungo { display: inline; } .nav-app .corto { display: none; } }
@media (max-width: 560px) { .nav-app .lungo { display: none; } .nav-app .corto { display: inline; } .nav .wrap { gap: 8px; } .nav .brand { font-size: 0; gap: 0; } .nav .brand .brand-mark { font-size: 14px; } .nav .btn-sm { padding: 0 12px; } }

.nav-links a { white-space: nowrap; }
@media (max-width: 1340px) { .brand-sub { display: none; } }
@media (max-width: 760px) { .nav-app .lungo { display: none; } .nav-app .corto { display: inline; } }

@media (max-width: 1520px) and (min-width: 1181px) { .brand-sub { display: none; } .nav-app .lungo { display: none; } .nav-app .corto { display: inline; } }
