/* Sito di Segri, nello stile delle pagine prodotto Apple: bianco e grigio chiaro, titoli grandi
   e centrati, iPhone protagonisti che si muovono con lo scorrimento. Blu del marchio per le azioni,
   blu notte per le parti scure. Caratteri di sistema (SF Pro su Apple): nessuna richiesta a server
   di terzi. Animazioni solo su transform e opacity, ferme con "riduci movimento". */
:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --bg: #fff;
  --bg-2: #f5f5f7;
  --line: #d2d2d7;
  --blue: #2f80ed;
  --blue-hover: #1f6fdc;
  --navy: #15294a;
  --navy-2: #0e1d36;
  --on-navy: #c9d6ee;
  --ring: #f5a524;
  --answer: #34a853;
  --max: 1080px;
  --gutter: 22px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(47, 128, 237, 0.6); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Barra traslucida */
.localnav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.localnav.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.localnav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font: 600 21px/1 var(--font-display); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); font-size: 13px; letter-spacing: -0.01em; opacity: 0.8; }
.nav a:hover { opacity: 1; text-decoration: none; }

.pill { display: inline-block; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; padding: 12px 24px; border-radius: 980px; transition: background 0.2s, transform 0.2s var(--ease); }
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill:active { transform: scale(0.97); }
.nav .pill.small { font-size: 12px; padding: 5px 13px; opacity: 1; color: #fff; }
.more { font-size: 17px; color: var(--blue); }
.more::after { content: " ›"; font-size: 1.15em; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 32px; }

.headline { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.intro { margin-top: 22px; max-width: 34em; font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--text-2); font-weight: 500; letter-spacing: -0.02em; }

/* iPhone disegnato */
.phone { --w: 280px; position: relative; width: var(--w); padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.19); background: linear-gradient(150deg, #4b4f57, #1b1d21 38%, #2b2e33 70%, #50545c); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), 0 50px 100px -20px rgba(0, 0, 0, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.4); }
.phone::before { content: ""; position: absolute; inset: calc(var(--w) * 0.012); border-radius: calc(var(--w) * 0.178); background: #000; }
.phone::after { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * 0.068); left: 50%; width: calc(var(--w) * 0.29); height: calc(var(--w) * 0.086); transform: translateX(-50%); border-radius: 99px; background: #000; }
.screen { position: relative; z-index: 1; aspect-ratio: 660 / 1434; border-radius: calc(var(--w) * 0.155); overflow: hidden; background: var(--navy); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Apertura */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--bg-2) 100%); }
.product { font: 600 clamp(20px, 2.4vw, 28px)/1.1 var(--font-display); color: var(--blue); letter-spacing: -0.01em; text-align: center; }
.hero h1 { margin-top: 10px; text-align: center; font-size: clamp(48px, 9vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -0.032em; }
.hero .sub { margin: 24px auto 0; max-width: 32em; text-align: center; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; color: var(--text-2); font-weight: 500; }
.trio { --p: 0; position: relative; height: clamp(520px, 62vw, 700px); margin-top: clamp(48px, 7vw, 80px); display: flex; justify-content: center; }
.trio .phone { position: absolute; top: 0; left: 50%; }
.trio .center { --w: clamp(240px, 26vw, 310px); transform: translate(-50%, calc(var(--p) * -40px)); z-index: 2; }
.trio .side { --w: clamp(200px, 22vw, 262px); top: 8%; z-index: 1; filter: saturate(0.9); }
.trio .left { transform: translateX(calc(-50% - clamp(150px, 19vw, 240px) - var(--p) * 90px)) rotate(calc(var(--p) * -5deg)); }
.trio .right { transform: translateX(calc(-50% + clamp(150px, 19vw, 240px) + var(--p) * 90px)) rotate(calc(var(--p) * 5deg)); }

/* Racconto fisso: la chiamata avanza con lo scorrimento */
.pin { position: relative; background: var(--bg-2); }
.pin-inner { padding: 96px 0; }
.pin-grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.pin-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.pin-steps h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.pin-steps li:nth-child(1) h3 { color: var(--ring); }
.pin-steps li:nth-child(2) h3 { color: var(--answer); }
.pin-steps li:nth-child(3) h3 { color: var(--blue); }
.pin-steps p { margin-top: 10px; max-width: 26em; font-size: 21px; line-height: 1.4; color: var(--text-2); font-weight: 500; }
.pin-progress { display: none; }
.pin-phone .phone { --w: clamp(240px, 24vw, 300px); }
.pin .screen img { opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transform: scale(1.03); }
.pin .screen img[data-step="0"] { opacity: 1; transform: none; }
.ringwave { position: absolute; inset: 0; z-index: 0; border-radius: inherit; border: 2px solid var(--ring); opacity: 0; pointer-events: none; }

/* Funzioni a riquadri */
.highlights { padding: 120px 0; background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; background: var(--bg-2); padding: 40px 36px 0; min-height: 520px; display: flex; flex-direction: column; }
.tile.wide { grid-column: span 2; flex-direction: row; gap: 32px; padding-bottom: 0; }
.tile.wide .tile-text { flex: 1; padding-bottom: 40px; align-self: center; }
.tile h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.tile p { margin-top: 12px; color: var(--text-2); font-size: 17px; font-weight: 500; }
.peek { margin-top: auto; display: flex; justify-content: center; height: 330px; overflow: hidden; }
.tile.wide .peek { height: auto; align-self: flex-end; margin-top: 0; }
.peek .phone { --w: 230px; margin-top: 36px; transition: transform 0.9s var(--ease); }
.tile.wide .peek .phone { --w: 250px; margin-top: 48px; margin-bottom: -170px; }
.tile:hover .peek .phone { transform: translateY(-10px); }
.tile.navy { background: var(--navy); color: #fff; }
.tile.navy p { color: var(--on-navy); }
.browser { flex: 1.2; align-self: center; margin: 40px 0; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eceef2; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9ccd3; }
.browser .bar b { flex: 1; height: 18px; margin-left: 12px; border-radius: 6px; background: #fff; }
.browser .rows { display: grid; gap: 10px; padding: 18px; }
.browser .row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: #f4f6fa; }
.browser .row em { width: 30px; height: 30px; border-radius: 50%; background: #d9e3f3; flex: none; }
.browser .row u { flex: 1; height: 10px; border-radius: 5px; background: #d6dbe5; }
.browser .row s { width: 54px; height: 22px; border-radius: 11px; background: #e1e6ef; }
.browser .row.ring { background: #fff6e6; box-shadow: inset 0 0 0 1.5px rgba(245, 165, 36, 0.55); }
.browser .row.ring em { background: var(--ring); }
.browser .row.ring s { background: var(--answer); }

/* Intelligenza artificiale e gestionali */
.ai { padding: 140px 0; background: radial-gradient(800px 500px at 50% 10%, rgba(111, 140, 255, 0.22), transparent 70%), var(--navy-2); color: #fff; }
.ai .intro { color: var(--on-navy); }
.glow { background: linear-gradient(90deg, #6fb1ff 0%, #9f8cff 45%, #ff9fd0 75%, #f5b84a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.ai-tile { border-radius: 28px; padding: 44px 40px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ai-tile h3 { margin-top: 36px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.ai-tile p { margin-top: 12px; color: var(--on-navy); font-size: 17px; font-weight: 500; }
.voice { display: flex; align-items: center; gap: 7px; height: 96px; }
.voice i { width: 8px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #6fb1ff, #9f8cff 60%, #ff9fd0); transform: scaleY(0.25); transform-origin: center; }
.link { display: flex; align-items: center; height: 96px; }
.node { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; }
.node img { width: 72px; height: 72px; }
.node.app svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; }
.wire { position: relative; flex: 1; max-width: 220px; height: 2px; margin: 0 14px; background: rgba(255, 255, 255, 0.2); }
.wire b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #6fb1ff; box-shadow: 0 0 12px #6fb1ff; opacity: 0; }
.fine { margin-top: 36px; max-width: 40em; font-size: 14px; color: var(--on-navy); }

/* Per chi è */
.audience { padding: 120px 0; background: var(--bg-2); }
.audiences { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.audiences svg, .facts svg { width: 48px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.audiences h3, .facts h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.audiences p, .facts p { margin-top: 8px; font-size: 17px; color: var(--text-2); }

/* Privacy */
.privacy { padding: 140px 0; background: radial-gradient(900px 600px at 50% 0%, #1f3b6b, transparent 70%), var(--navy); color: #fff; }
.privacy .intro { color: var(--on-navy); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: 72px; }
.privacy .facts svg { stroke: #8fb8f5; }
.privacy .facts p { color: var(--on-navy); }

/* Attivazione */
.setup { padding: 120px 0; }
.steps { list-style: none; counter-reset: passo; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { counter-increment: passo; text-align: center; }
.steps li::before { content: counter(passo); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--bg-2); color: var(--blue); font: 700 28px/1 var(--font-display); }
.steps h3 { font-size: 22px; letter-spacing: -0.02em; }
.steps p { margin: 8px auto 0; max-width: 20em; color: var(--text-2); }

/* Domande */
.questions { padding: 120px 0; background: var(--bg-2); }
.faq { max-width: 760px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 24px 48px 24px 0; font: 600 21px/1.3 var(--font-display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { padding: 0 0 24px; font-size: 17px; color: var(--text-2); max-width: 40em; }

/* Finale */
.final { padding: 140px 0 150px; background: var(--bg); }
.final-icon { width: 96px; height: 96px; margin: 0 auto 32px; border-radius: 22px; box-shadow: 0 20px 40px -10px rgba(21, 41, 74, 0.4); }

/* Piè di pagina */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 22px 0 max(26px, env(safe-area-inset-bottom)); font-size: 12px; line-height: 1.5; color: var(--text-2); letter-spacing: -0.01em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.foot a { color: var(--text); }

/* Pagine di testo (privacy, supporto) */
.doc-head { padding: 80px 0 24px; text-align: center; }
.doc-head h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.doc-head p { margin-top: 12px; font-size: 19px; color: var(--text-2); }
.doc { padding: 40px 0 120px; }
.doc .wrap { max-width: 720px; }
.doc h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; margin: 52px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { margin: 0 0 12px; color: #333336; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 12px; }

/* Pagine di settore e guide */
.crumbs { padding-top: 28px; font-size: 13px; color: var(--text-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--text-2); }
.page-head { padding-top: 56px; padding-bottom: 24px; text-align: center; }
.page-head .product { margin-bottom: 12px; }
.page-title { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.032em; max-width: 16em; margin: 0 auto; }
.page-head .intro { margin-left: auto; margin-right: auto; }
.page-head .ctas { margin-top: 28px; }
.figure-phone { display: flex; justify-content: center; padding-top: 56px; padding-bottom: 24px; }
.figure-phone .phone { --w: clamp(220px, 24vw, 280px); }
.feature-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.feature-list h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.feature-list p { margin-top: 8px; color: var(--text-2); }
.block { padding: 96px 0; }
.block.alt { background: var(--bg-2); }
.prose { max-width: 680px; margin: 0 auto; padding: 48px 0 24px; font-size: 19px; line-height: 1.58; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.025em; margin: 56px 0 14px; }
.prose h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: #333336; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); color: var(--text-2); }
.prose .meta { font-size: 15px; color: var(--text-2); margin-bottom: 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--text); }
.cta-box { max-width: 880px; margin: 56px auto 0; padding: 56px 40px; border-radius: 28px; text-align: center; background: radial-gradient(600px 300px at 50% 0%, #1f3b6b, transparent 70%), var(--navy); color: #fff; }
.cta-box h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.cta-box p { margin: 12px auto 0; max-width: 32em; color: var(--on-navy); font-size: 18px; }
.cta-box .ctas { margin-top: 26px; }
.cta-box .more { color: #8fb8f5; }
.related { padding: 96px 0 120px; }
.related h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.025em; text-align: center; }
.related ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { display: block; height: 100%; padding: 28px; border-radius: 22px; background: var(--bg-2); color: var(--text); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.related a:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25); }
.related strong { display: block; font: 700 20px/1.25 var(--font-display); letter-spacing: -0.02em; }
.related span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); }
.guide-list { list-style: none; margin: 48px auto 0; padding: 0; max-width: 880px; display: grid; gap: 16px; }
.guide-list a { display: block; padding: 28px 32px; border-radius: 22px; background: var(--bg-2); color: var(--text); transition: transform 0.3s var(--ease); }
.guide-list a:hover { text-decoration: none; transform: translateY(-3px); }
.guide-list strong { display: block; font: 700 22px/1.25 var(--font-display); letter-spacing: -0.02em; }
.guide-list span { display: block; margin-top: 8px; color: var(--text-2); }
@media (max-width: 834px) {
  .feature-list, .related ul { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 24px; margin-left: var(--gutter); margin-right: var(--gutter); }
  .prose { font-size: 18px; }
}

/* Con JavaScript: racconto fisso a tre passi */
@media (scripting: enabled) {
  .pin { height: 320vh; }
  .pin-inner { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding: 0; }
  .pin-inner > .wrap { width: 100%; }
  .pin-steps { display: block; position: relative; min-height: 200px; }
  .pin-steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
  .pin[data-step="0"] .pin-steps li[data-step="0"], .pin[data-step="1"] .pin-steps li[data-step="1"], .pin[data-step="2"] .pin-steps li[data-step="2"] { opacity: 1; transform: none; }
  .pin .screen img[data-step="0"] { opacity: 0; transform: scale(1.03); }
  .pin[data-step="0"] .screen img[data-step="0"], .pin[data-step="1"] .screen img[data-step="1"], .pin[data-step="2"] .screen img[data-step="2"] { opacity: 1; transform: none; }
  .pin-progress { display: flex; gap: 8px; margin-top: 28px; }
  .pin-progress span { width: 36px; height: 4px; border-radius: 2px; background: var(--line); transition: background 0.4s, width 0.4s var(--ease); }
  .pin[data-step="0"] .pin-progress span:nth-child(1), .pin[data-step="1"] .pin-progress span:nth-child(2), .pin[data-step="2"] .pin-progress span:nth-child(3) { background: var(--text); width: 56px; }
}

/* Movimento */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise 1s var(--ease) both; }
  .hero-text h1 { animation-delay: 0.08s; }
  .hero-text .sub { animation-delay: 0.16s; }
  .hero-text .ctas { animation-delay: 0.24s; }
  .trio .center { animation: phone-in 1.2s var(--ease) 0.25s both; }
  .trio .side { animation: side-in 1.4s var(--ease) 0.45s both; }
  .voice i { animation: talk 1.2s ease-in-out infinite; }
  .voice i:nth-child(2n) { animation-duration: 0.9s; }
  .voice i:nth-child(3n) { animation-duration: 1.5s; }
  .voice i:nth-child(1) { animation-delay: -0.2s; } .voice i:nth-child(2) { animation-delay: -0.7s; }
  .voice i:nth-child(3) { animation-delay: -0.4s; } .voice i:nth-child(4) { animation-delay: -1.1s; }
  .voice i:nth-child(5) { animation-delay: -0.1s; } .voice i:nth-child(6) { animation-delay: -0.9s; }
  .voice i:nth-child(7) { animation-delay: -0.5s; } .voice i:nth-child(8) { animation-delay: -1.3s; }
  .voice i:nth-child(9) { animation-delay: -0.3s; } .voice i:nth-child(10) { animation-delay: -0.8s; }
  .voice i:nth-child(11) { animation-delay: -0.6s; }
  .wire b { animation: flow 2.4s linear infinite; }
  .wire b:nth-child(2) { animation-delay: 0.8s; }
  .wire b:nth-child(3) { animation-delay: 1.6s; }
  .pin[data-step="0"] .ringwave { animation: ring 1.8s ease-out infinite; }
  .pin[data-step="0"] .ringwave.two { animation-delay: 0.6s; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* Se lo script non parte, dopo 2,5 s si vede comunque tutto. */
  .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); animation: show 0s 2.5s forwards; }
  .reveal.in { opacity: 1; transform: none; animation: none; }
  .tile.reveal { transform: translateY(40px) scale(0.96); }
  .tile.reveal.in { transform: none; }
  .bento .reveal:nth-child(2), .audiences .reveal:nth-child(2), .facts .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.1s; }
  .bento .reveal:nth-child(3), .audiences .reveal:nth-child(3), .facts .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.2s; }
  .bento .reveal:nth-child(4), .audiences .reveal:nth-child(4), .facts .reveal:nth-child(4) { transition-delay: 0.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; translate: 0 120px; } to { opacity: 1; translate: 0 0; } }
@keyframes side-in { from { opacity: 0; translate: 0 160px; scale: 0.9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.14); opacity: 0; } }
@keyframes show { to { opacity: 1; transform: none; } }
@keyframes talk { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes flow { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

@media (max-width: 1068px) {
  .audiences, .facts { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 834px) {
  .nav a:not(.pill) { display: none; }
  .pin-grid { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .pin-copy { display: flex; flex-direction: column; align-items: center; }
  .pin-steps p { margin-left: auto; margin-right: auto; }
  .bento, .ai-grid { grid-template-columns: 1fr; }
  .ai { padding: 110px 0; }
  .ai-tile { padding: 36px 28px; }
  .tile, .tile.wide { grid-column: auto; flex-direction: column; min-height: 0; padding: 36px 28px 0; }
  .tile.wide .tile-text { padding-bottom: 0; align-self: stretch; }
  .tile.wide .peek { align-self: center; height: 330px; }
  .tile.wide .peek .phone { margin-bottom: 0; }
  .browser { align-self: stretch; margin: 28px 0 36px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .highlights, .audience, .setup, .questions { padding: 96px 0; }
  .privacy, .final { padding: 110px 0; }
}
@media (scripting: enabled) and (max-width: 834px) {
  .pin { height: 300vh; }
  .pin-grid { gap: 18px; }
  .pin-copy { order: 2; width: 100%; }
  .pin-copy .headline { display: none; }
  .pin-phone .phone { --w: min(196px, 25svh); }
  .pin-steps { min-height: 128px; width: 100%; }
  .pin-steps h3 { font-size: 26px; }
  .pin-steps p { font-size: 16px; line-height: 1.38; margin-top: 6px; max-width: 22em; }
  .pin-progress { margin-top: 8px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .headline { font-size: clamp(34px, 10vw, 48px); }
  .intro { font-size: 19px; }
  .trio { height: 480px; }
  .trio .center { --w: 228px; }
  .trio .side { --w: 184px; top: 10%; }
  .trio .left { transform: translateX(calc(-50% - 118px - var(--p) * 40px)) rotate(calc(var(--p) * -5deg)); }
  .trio .right { transform: translateX(calc(-50% + 118px + var(--p) * 40px)) rotate(calc(var(--p) * 5deg)); }
  .audiences, .facts { grid-template-columns: 1fr; gap: 36px; }
  .faq summary { font-size: 18px; }
}
.audiences .go { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.audiences .go .more { font-size: 16px; }
