/* Ogni Civico · landing */
:root {
  --ink: #14213D;
  --ink-2: #33415C;
  --muted: #5E6A82;
  --line: #E4DED2;
  --bg: #FBF9F5;
  --paper: #F3EEE5;
  --surface: #FFFFFF;
  --accent: #FF6B4A;
  --accent-ink: #D9472A;
  --accent-soft: #FFE9E3;
  --mint: #2BA88A;
  --mint-soft: #DDF4EC;
  --amber: #F2A93B;
  --amber-soft: #FDF0DA;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 32px rgba(20, 33, 61, .08);
  --shadow-lg: 0 2px 4px rgba(20, 33, 61, .06), 0 30px 70px rgba(20, 33, 61, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.015em; }
h1, h2 { font-family: var(--serif); font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.center { text-align: center; margin-inline: auto; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 107, 74, .35); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(217, 71, 42, .35); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 33, 61, .04); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); background: var(--paper); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }

/* Testata */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 33, 61, .05); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #FFD3C8; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(255, 107, 74, .35); }
.logo-mark svg { width: 28px; height: 28px; }
.logo-mark svg circle { fill: var(--accent); }
.logo-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-name b { color: var(--accent); font-weight: 800; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); position: relative; padding: 6px 0; }
.top-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.top-nav a:hover { color: var(--ink); }
.top-nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); background:
  radial-gradient(700px 420px at 88% 4%, rgba(255, 107, 74, .30), transparent 65%),
  radial-gradient(620px 380px at 6% 18%, rgba(242, 169, 59, .28), transparent 65%),
  radial-gradient(600px 360px at 60% 60%, rgba(43, 168, 138, .14), transparent 65%), var(--bg); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); letter-spacing: .06em; padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(255, 107, 74, .18); }
.eyebrow-pill span { color: var(--mint); font-size: 10px; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
mark { background: linear-gradient(transparent 58%, rgba(242, 169, 59, .55) 58%); color: inherit; padding: 0 2px; }
.hero-in { text-align: center; }
.hero h1 { font-size: clamp(48px, 8.4vw, 112px); line-height: .98; letter-spacing: -.03em; max-width: 12ch; margin: 0 auto; font-weight: 450; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 720px; margin: 28px auto 0; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.hero-facts { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%232BA88A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.street { margin: clamp(48px, 7vw, 80px) 0 0; overflow: hidden; }
.street-svg { width: min(1320px, 100%); margin: 0 auto; height: auto; }
.street-legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px 0 clamp(56px, 7vw, 88px); text-align: center; }
.street-legend div { display: flex; flex-direction: column; gap: 2px; }
.street-legend b { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.street-legend span { font-size: 14px; color: var(--muted); }
.street { background: linear-gradient(to bottom, transparent 0, transparent 82%, var(--bg) 82%); }

/* animazioni dell'illustrazione */
.pin-drop { animation: drop 1s cubic-bezier(.2, .9, .3, 1.3) .6s both; transform-origin: 600px 218px; }
.bub { animation: pop .5s cubic-bezier(.2, .9, .3, 1.4) both; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 4px 8px rgba(20, 33, 61, .18)); }
.b1 { animation-delay: 1.3s; } .b2 { animation-delay: 1.55s; } .b3 { animation-delay: 1.8s; }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sezioni */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-paper { background: var(--paper); }
.section h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; max-width: 18ch; }
.section h2.center { max-width: 20ch; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 560px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.big { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.65; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.trio article { padding: 36px 36px 0 0; }
.trio article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.num { font-family: var(--serif); font-size: 15px; color: var(--accent-ink); font-weight: 500; }
.trio h3 { font-size: 21px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -.01em; }
.trio p { color: var(--muted); }

/* Racconto */
.story { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.story li { background: var(--surface); border-radius: var(--r); padding: 32px 30px 34px; box-shadow: var(--shadow); position: relative; }
.story li::before { content: ''; position: absolute; top: 0; left: 30px; right: 30px; height: 6px; border-radius: 0 0 4px 4px; background: var(--c, var(--accent)); }
.story li:nth-child(1) { --c: #C9A47A; background: linear-gradient(180deg, #FBF1E3, #fff 55%); }
.story li:nth-child(2) { --c: var(--amber); background: linear-gradient(180deg, var(--amber-soft), #fff 55%); }
.story li:nth-child(3) { --c: var(--accent); background: linear-gradient(180deg, var(--accent-soft), #fff 55%); }
.story-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.story-tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.story h3 { font-family: var(--serif); font-size: 34px; margin: 18px 0 12px; font-weight: 500; }
.story p { color: var(--ink-2); }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-live { background: var(--mint-soft); color: #13664F; }
.pill-soon { background: var(--amber-soft); color: #8A5A0F; }

/* Passi */
.steps { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); position: relative; transition: transform .2s, box-shadow .2s; }
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps li::after { content: counter(s, decimal-leading-zero); position: absolute; top: 26px; right: 26px; font-family: var(--serif); color: color-mix(in srgb, var(--ink) 25%, transparent); font-size: 15px; }
.step-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; }
.step-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 21px; font-weight: 700; margin: 22px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Anteprima */
.shots { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; margin-top: clamp(48px, 6vw, 72px); }
.shot-browser, .shot-wide { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(20, 33, 61, .08); }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F1EEE9; border-bottom: 1px solid var(--line); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #D9D3C9; }
.chrome span { margin-left: 14px; flex: 1; max-width: 340px; height: 24px; border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; font-weight: 500; }
.shot-browser img, .shot-wide img { width: 100%; height: auto; }
.shot-phone { margin: 0; }
.phone { border-radius: 44px; padding: 10px; background: #0E1729; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 34px; width: 100%; height: auto; }
.shot-notes { display: grid; grid-template-columns: 1fr 280px; gap: 40px; margin-top: 22px; color: var(--muted); font-size: 15.5px; }
.shot-notes b, .shot-notes.single b { color: var(--ink); }
.shot-wide { margin-top: clamp(56px, 7vw, 88px); }
.shot-notes.single { display: block; max-width: 760px; }
.disclaimer { margin-top: 40px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* Per chi */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
.who article { padding: 30px 26px; border-radius: var(--r); background: var(--paper); transition: transform .2s; }
.who article:hover { transform: translateY(-4px) rotate(-.4deg); }
.who article:nth-child(1) { background: var(--accent-soft); }
.who article:nth-child(2) { background: #E3ECF8; }
.who article:nth-child(3) { background: var(--amber-soft); }
.who article:nth-child(4) { background: var(--mint-soft); }
.who-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.who-ic svg { width: 26px; height: 26px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c1 svg { stroke: var(--accent-ink); } .c2 svg { stroke: var(--ink); } .c3 svg { stroke: #B7791F; } .c4 svg { stroke: var(--mint); }
.who h3 { font-size: 20px; font-weight: 700; margin: 22px 0 8px; }
.who p { color: var(--muted); font-size: 16px; }

/* Per i Comuni */
.section-ink { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section-ink::before { content: ''; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(255, 107, 74, .22), transparent); pointer-events: none; }
.section-ink .eyebrow { color: #FFB4A3; }
.section-ink .big { color: #C7CEDB; }
.feats { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.feats li { padding: 32px 32px 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.feats li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
.feats h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feats p { color: #AEB7C8; font-size: 16px; }

.pilot { margin-top: clamp(56px, 7vw, 88px); background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px clamp(32px, 5vw, 72px); align-items: start; position: relative; }
.pilot .eyebrow { color: var(--accent-ink); }
.pilot h3 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; font-weight: 500; }
.pilot-head p:last-child { color: var(--muted); margin-top: 16px; }
.pilot-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-row: span 2; }
.pilot-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.pilot-steps span { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--serif); font-size: 19px; display: grid; place-items: center; }
.pilot-steps b { font-size: 18px; }
.pilot-steps p { color: var(--muted); font-size: 16px; margin-top: 2px; }
.pilot > .btn { justify-self: start; align-self: end; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-weight: 700; font-size: 18.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.2px solid var(--accent-ink); border-bottom: 2.2px solid var(--accent-ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); }

/* CTA finale */
.final { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.final-in { text-align: center; padding: clamp(88px, 11vw, 140px) 0; position: relative; }
.final-arch { position: absolute; left: 50%; bottom: -26%; width: min(820px, 130%); transform: translateX(-50%); fill: rgba(255, 255, 255, .09); pointer-events: none; }
.final h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -.03em; position: relative; }
.final h2 em { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; text-decoration-color: rgba(255, 255, 255, .5); }
.final p { font-size: clamp(18px, 1.6vw, 21px); max-width: 600px; margin: 24px auto 0; color: #FFF1EC; position: relative; }
.final .btn-primary { background: var(--ink); box-shadow: 0 12px 28px rgba(20, 33, 61, .3); }
.final .btn-primary:hover { background: #0B1426; }

/* Piè di pagina */
.foot { background: var(--bg); padding: 48px 0 40px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 32px; align-items: center; }
.foot-in > p:first-of-type { color: var(--muted); font-size: 15px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--accent-ink); }
.foot-legal { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* Comparsa */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.trio .reveal:nth-child(2), .story .reveal:nth-child(2), .steps .reveal:nth-child(2), .who .reveal:nth-child(2), .feats .reveal:nth-child(3n+2) { transition-delay: .08s; }
.trio .reveal:nth-child(3), .story .reveal:nth-child(3), .steps .reveal:nth-child(3), .who .reveal:nth-child(3), .feats .reveal:nth-child(3n) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .who .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pin-drop, .bub { animation: none; }
  .btn, .steps li { transition: none; }
}

/* Responsivo */
@media (max-width: 1040px) {
  .top-nav { display: none; }
  .top-in .btn { margin-left: auto; }
  .steps, .who { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .feats li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feats li:nth-child(even) { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .story { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .pilot { grid-template-columns: 1fr; }
  .pilot-steps { grid-row: auto; }
}
@media (max-width: 860px) {
  .split, .faq-wrap { grid-template-columns: 1fr; align-items: start; }
  .trio { grid-template-columns: 1fr; border-top: 0; }
  .trio article, .trio article + article { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .shots { grid-template-columns: 1fr; }
  .shot-phone { width: min(300px, 78%); margin: 0 auto; }
  .shot-notes { grid-template-columns: 1fr; gap: 12px; }
  .street-legend { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .street-legend div:last-child { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 64px; }
  .logo-name { font-size: 17px; }
  .logo-mark { width: 34px; height: 34px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { flex-direction: column; align-items: center; }
  .street-svg { width: 128%; max-width: none; margin-left: -14%; }
  .steps, .who, .feats { grid-template-columns: 1fr; }
  .feats li, .feats li:nth-child(even) { padding: 26px 0; border-left: 0; }
  .story li { padding: 28px 22px 30px; }
  .pilot { border-radius: 22px; }
  .pilot > .btn { width: 100%; }
  .faq summary { font-size: 17px; }
}

/* Passi a colori */
.steps li:nth-child(2) .step-ic { background: var(--amber-soft); } .steps li:nth-child(2) .step-ic svg { stroke: #B7791F; }
.steps li:nth-child(3) .step-ic { background: #E3ECF8; } .steps li:nth-child(3) .step-ic svg { stroke: #2F5DA8; }
.steps li:nth-child(4) .step-ic { background: var(--mint-soft); } .steps li:nth-child(4) .step-ic svg { stroke: #13805F; }
.steps li { border-top: 4px solid var(--accent); }
.steps li:nth-child(2) { border-top-color: var(--amber); } .steps li:nth-child(3) { border-top-color: #4A7BD0; } .steps li:nth-child(4) { border-top-color: var(--mint); }

/* Banda "cosa vorresti" */
.wish { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.wish-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.wish h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; }
.wish h2 em { color: var(--amber); }
.wish-head p { color: #C7CEDB; font-size: 18px; }
.marquee { padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; font-weight: 700; font-size: 18px; padding: 14px 22px; border-radius: 999px; white-space: nowrap; color: var(--ink); }
.t1 { background: var(--accent); color: #fff !important; } .t2 { background: var(--amber); } .t3 { background: #FFD3C8; } .t4 { background: var(--mint); color: #fff !important; } .t5 { background: #fff; }
.marquee-track span:nth-child(odd) { transform: rotate(-1.5deg); } .marquee-track span:nth-child(even) { transform: rotate(1.2deg); }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; } .marquee-track span:nth-child(n+13) { display: none; } .eyebrow-pill span { animation: none; } }

/* Comuni: accenti colorati sulle funzioni */
.feats h3::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; background: var(--accent); vertical-align: 2px; }
.feats li:nth-child(2) h3::before { background: var(--amber); } .feats li:nth-child(3) h3::before { background: var(--mint); }
.feats li:nth-child(4) h3::before { background: #7FA6E8; } .feats li:nth-child(5) h3::before { background: #FFB4A3; } .feats li:nth-child(6) h3::before { background: #F7D488; }

/* Ritaglio della schermata Opportunità sulla parte essenziale */
.shot-wide img { aspect-ratio: 2000 / 900; object-fit: cover; object-position: top; }
/* Numeri del "Perché" a colori */
.trio .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); font-size: 16px; }
.trio article:nth-child(2) .num { background: var(--amber-soft); color: #8A5A0F; }
.trio article:nth-child(3) .num { background: var(--mint-soft); color: #13664F; }

.section-ink h2 em { color: #FF8F73; }

/* Torna su */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(255, 107, 74, .4); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s, background-color .18s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-ink); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .to-top { width: 46px; height: 46px; right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
