@font-face {
  font-family: Anton;
  src: url("assets/fonts/anton.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b1710;
  --muted: #4c5b51;
  --lime: #deed98;
  --rule: #d8ddd8;
  --gutter: clamp(24px, 5vw, 76px);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
/* Le frecce restano caratteri di testo: su iPhone non diventano emoji. */
body { margin: 0; font-variant-emoji: text; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(100% - var(--gutter) * 2, 1360px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 18px; background: var(--lime); z-index: 5; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--rule); }
.identity { display: flex; align-items: center; gap: 18px; }
.name { font: 400 32px/1 Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; white-space: nowrap; }
.descriptor, .eyebrow, .area-number { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-weight: 400; }
.descriptor { font-size: 12px; text-transform: uppercase; letter-spacing: .035em; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
nav .lang-switch { align-self: center; min-height: 30px; padding: 0 9px; border: 1px solid currentColor; font: 400 12px/1 "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .06em; }
nav .lang-switch:hover { text-decoration: none; background: var(--lime); }
.hero { padding-top: 40px; padding-bottom: 85px; }
.eyebrow { margin: 0; font-size: 13px; line-height: 1.5; letter-spacing: .045em; text-transform: uppercase; }
.eyebrow span { padding-inline: 3px; }
.hero-stage { position: relative; isolation: isolate; margin-top: 21px; }
.hero-scene { position: absolute; z-index: -1; width: 64%; max-width: 870px; height: auto; right: -1.4%; top: 5px; pointer-events: none; }
h1 { margin: 0; font: 400 clamp(88px, 10.4vw, 162px)/1.04 Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: -.025em; }
h1 > span { display: block; width: fit-content; }
h1 mark { color: inherit; background: linear-gradient(transparent 28%, var(--lime) 28%, var(--lime) 92%, transparent 92%); padding-inline: .035em; margin-inline: -.035em; }
.hero-introduction { margin-top: 38px; }
.offer { max-width: 660px; margin: 0; font-size: 21px; line-height: 1.55; letter-spacing: -.015em; }
.explore { margin-top: 26px; min-height: 48px; display: inline-flex; align-items: center; gap: 17px; font-size: 20px; }
.explore > span { border-bottom: 1px solid var(--muted); padding-bottom: 4px; }
.explore svg { fill: none; stroke: var(--muted); stroke-width: 1.3; }
.explore:hover > span { border-bottom-color: var(--ink); background: linear-gradient(transparent 60%, var(--lime) 60%); }
h2 { margin: 0; font: 400 42px/1.2 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }

@media (min-width: 1600px) {
  .hero-scene { top: -20px; }
}

@media (max-width: 1150px) {
  .descriptor { display: none; }
  nav { gap: 26px; }
  .hero-scene { width: 67%; top: 35px; right: -2%; }
  .offer { max-width: 610px; font-size: 19px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 26px; padding-bottom: 9px; }
  .name { font-size: 29px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; }
  nav a { font-size: 14px; }
  .hero { padding-top: 28px; padding-bottom: 53px; }
  .eyebrow { font-size: 10px; letter-spacing: .015em; }
  .eyebrow span { padding-inline: 1px; }
  .hero-stage { margin-top: 21px; padding-bottom: 92px; }
  h1 { font-size: clamp(43px, 14.8vw, 105px); line-height: 1.04; letter-spacing: -.024em; }
  .hero-scene { top: 26%; right: -1%; width: 100%; max-width: none; }
  .hero-introduction { margin-top: 15px; }
  .offer { max-width: 520px; font-size: 17px; line-height: 1.6; }
  .explore { margin-top: 22px; gap: 13px; font-size: 16px; }
  .explore svg { width: 20px; height: 26px; }
  h2 { margin-top: 14px; font-size: 31px; }
}

@media (min-width: 500px) and (max-width: 760px) {
  .hero-stage { padding-bottom: 120px; }
  .hero-scene { top: 22%; width: 88%; }
}

/* Con la voce Demo il menu ha sei elementi: sui telefoni più stretti si stringe un poco per restare su una riga. */
@media (max-width: 400px) {
  nav { gap: 8px; }
  nav a { font-size: 13px; }
  nav .lang-switch { padding: 0 7px; }
}

@media (max-width: 359px) {
  :root { --gutter: 20px; }
  nav { gap: 6px; }
  nav a { font-size: 12px; }
  .hero-stage { padding-bottom: 70px; }
  .eyebrow { font-size: 9px; }
  .offer { font-size: 16px; }
}


/* Full site: shared editorial structure and the selected Claude explorer. */
:root { --mist: #f0f3ed; --night: #15231b; --ease: cubic-bezier(.2,.7,.2,1); }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
.header-frame { position: sticky; top: 0; z-index: 10; background: #fffffff5; backdrop-filter: blur(12px); }
.site-header { min-height: 88px; }
.site-header nav a { transition: color .2s; }
.site-header nav a[aria-current="location"] { text-decoration: underline; text-decoration-color: #8ca149; text-underline-offset: 6px; }
.hero { padding-top: 38px; padding-bottom: 66px; }
.hero-scene { width: 66%; top: 12%; right: 0; transform: translate3d(0,var(--scene-shift,0px),0); animation: scene-arrive 1.4s var(--ease) both; }
.hero h1 { animation: title-arrive .8s var(--ease) both; }
.hero-introduction { display: flex; justify-content: space-between; align-items: center; gap: 50px; border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 30px; }
.hero-introduction .offer { max-width: 670px; }
.hero-introduction .explore { flex-shrink: 0; margin-top: 0; font-size: 17px; }
.explore svg { transition: transform .3s var(--ease); }
.explore:hover svg { transform: translateY(4px); }
.band { padding-block: clamp(64px,7vw,105px); }
.band.light { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 9%; align-items: end; margin-bottom: 40px; }
.band h2 { font-size: clamp(44px,5.5vw,80px); line-height: 1.02; letter-spacing: -.025em; }
.sec-head p { font-size: 18px; line-height: 1.65; margin: 0; max-width: 45ch; }
.sec-head p + p { margin-top: 18px; }
.D, .stations h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; }
.mono { font: 400 11px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; text-transform: uppercase; letter-spacing: .035em; }
.board { aspect-ratio: 800/490; position: relative; overflow: hidden; border-radius: 4px; background: radial-gradient(ellipse at 55% 42%, #24382d 0%, #111b15 68%); box-shadow: 0 30px 60px -30px #0b171070, inset 0 0 0 1px #ffffff10; }
.board::before { content: ""; position: absolute; inset: 0; background: radial-gradient(#ffffff12 1px, transparent 1.4px) 0 0 / 18px 18px; }
.board canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.board::after { content: ""; position: absolute; inset: 0 0 auto; height: 64px; background: linear-gradient(#111b15f0, #111b1500); pointer-events: none; }
.board-top { z-index: 1; }
.step-map::after { display: none; }
.route:not(.is-live) { grid-template-columns: 1fr; }
.route:not(.is-live) .route-map { display: none; }
.board-top { position: absolute; inset: 15px 17px auto; color: #c3cec2; display: flex; justify-content: space-between; gap: 14px; font-size: 10px; }
.board-top b { font-weight: 400; color: var(--lime); }
/* Ambiti: percorso in quattro passaggi con la mappa che inquadra il passaggio letto. */
.route { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(32px,5vw,76px); align-items: start; border-top: 2px solid var(--ink); padding-top: 36px; }
.route-map { position: sticky; top: 112px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 0 0 46px 32px; border-left: 2px solid var(--rule); transition: border-color .35s var(--ease); }
.step:last-child { padding-bottom: 8px; }
.step::before { content: ""; position: absolute; left: -9px; top: 2px; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mist); transition: background .35s var(--ease); }
.step .n { color: var(--muted); }
.step h3 { font-size: clamp(28px,2.7vw,42px); line-height: 1.08; letter-spacing: -.015em; margin: 8px 0 16px; text-wrap: balance; color: var(--muted); transition: color .35s var(--ease); }
.step p { font-size: 16px; line-height: 1.7; margin: 0 0 18px; }
.step .out { display: grid; grid-template-columns: auto 1fr; gap: 14px; border-block: 1px solid var(--rule); padding-block: 14px; font-size: 14px; color: var(--muted); }
.step .out b { padding-top: 4px; color: var(--ink); }
.step .out + .arrow { margin-top: 4px; }
.step .arrow { display: flex; width: fit-content; }
.step .arrow + .arrow { margin-top: -6px; }
/* Passo 04: rimando alla demo interattiva, lo stesso blocco lime delle pagine AI integrata e Sviluppo software, in piccolo. */
.step-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; max-width: 560px; margin-top: 14px; padding: 16px 20px; background: var(--lime); color: var(--ink); transition: background-color .3s var(--ease); }
.step-demo-label { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.step-demo strong { grid-column: 1; font: 400 clamp(20px,1.7vw,24px)/1.15 Anton,Impact,sans-serif; text-transform: uppercase; }
.step-demo-arrow { grid-column: 2; grid-row: 1 / 3; font-size: 26px; transition: transform .3s var(--ease); }
.step-demo:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.step-demo:hover .step-demo-arrow, .step-demo:focus-visible .step-demo-arrow { transform: translate(4px,-4px); }
.step-demo:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
html:not(.js) .step h3, .step.is-active h3 { color: var(--ink); }
.step.is-active { border-left-color: var(--ink); }
.step.is-active::before { background: var(--lime); }
.step-map { display: none; }
.side-offer { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) auto; gap: 12px 48px; align-items: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--rule); }
.side-offer .mono { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.side-offer h3 { margin: 0; font-size: clamp(28px,2.7vw,42px); line-height: 1.08; }
.side-offer p:not(.mono) { margin: 0; font-size: 16px; line-height: 1.7; }
.arrow { position: relative; display: inline-flex; align-items: center; gap: 14px; padding-block: 13px; min-height: 48px; color: var(--ink); font-size: 14px; font-weight: 600; }
.arrow::after { content: ""; position: absolute; left: 0; right: 32px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.arrow svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }
.arrow:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.arrow:is(:hover, :focus-visible) svg { transform: translateX(4px); }
@media (hover: none) { .arrow::after { transform: scaleX(1); } }
.method { background: var(--lime); }
.stations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); }
.stations li { position: relative; padding: 40px 32px 0 0; border-top: 1px solid var(--ink); }
.stations li::before { content: ""; position: absolute; top: -8px; left: 0; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.stations li:last-child::before { background: var(--ink); }
.stations h3 { margin: 13px 0; font-size: clamp(26px,2.4vw,38px); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.stations p { font-size: 16px; line-height: 1.7; margin: 0; }
.method-note { border-top: 1px solid #17231940; margin-top: 42px; padding-top: 22px; }
.method-note p { max-width: 650px; margin: 0; font: 400 clamp(26px,3vw,40px)/1.18 Anton, Impact, sans-serif; text-transform: uppercase; }
.profile-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 12%; }
.profile-identity h2 { font-size: clamp(65px,8.5vw,124px); margin: 25px 0; line-height: .99; }
.profile-identity > p:not(.eyebrow) { font-size: 20px; line-height: 1.65; }
.underlined { display: inline-block; text-decoration: underline; text-underline-offset: 6px; font-size: 14px; min-height: 44px; padding-block: 12px; }
.profile-story h3 { font-size: clamp(23px,2.5vw,34px); font-weight: 500; line-height: 1.38; letter-spacing: -.025em; margin: 0 0 24px; }
.profile-story > p { font-size: 17px; line-height: 1.8; }
.experience { border-top: 1px solid var(--rule); margin-top: 25px; padding-top: 22px; }
.experience-logos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: center; gap: 20px 28px; margin: 22px 0; padding: 0; }
.experience-logos li { display: flex; align-items: center; justify-content: center; height: 64px; min-width: 0; }
.experience-logos img { display: block; max-width: 100%; height: auto; max-height: 54px; object-fit: contain; object-position: center; filter: grayscale(1) brightness(0); opacity: .58; }
.experience-logos .logo-ey { width: 38px; }
.experience-logos .logo-espedia { filter: grayscale(1); mix-blend-mode: multiply; }
@media (max-width: 420px) { .experience-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 25px; } }
.experience small { display: block; color: var(--muted); font-size: 13px; line-height: 1.7; }
.independent { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; border-block: 1px solid var(--rule); padding: 36px 0; margin-top: 55px; }
.independent > span:nth-child(2) { font: 400 32px/1.2 Anton,Impact,sans-serif; text-transform: uppercase; }
.independent-link { justify-self: end; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.independent:hover .independent-link { text-decoration-color: #8ca149; }
.boundaries { padding-block: 20px 0; color: var(--muted); font-size: 14px; }
.boundaries summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.boundaries summary::-webkit-details-marker { display: none; }
.boundaries summary span { font-size: 25px; transition: transform .2s; }
.boundaries[open] summary span { transform: rotate(45deg); }
.boundaries p { max-width: 820px; line-height: 1.8; }
.contact-band { color: #f7faf2; background: var(--night); }
.contact-band .sec-head p { color: #d1d9ce; font-size: 17px; }
.contact-links a { display: grid; grid-template-columns: .5fr 1.8fr 24px; gap: 24px; align-items: center; border-top: 1px solid #a4b69a45; padding-block: 26px; }
.contact-links a:last-child { border-bottom: 1px solid #a4b69a45; }
.contact-links a > span:nth-child(2) { font-size: clamp(23px,3vw,44px); letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-links a > span:last-child { color: var(--lime); font-size: 28px; transition: transform .3s; }
.contact-links a:hover > span:last-child { transform: translate(4px,-4px); }
.contact-band a:focus-visible { outline-color: var(--lime); }
.site-footer { background: var(--night); color: #d1d9ce; padding-block: 28px; border-top: 1px solid #a4b69a30; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 32px; }
.site-footer .name { font-size: 24px; color: #f7faf2; }
.site-footer p { margin: 0 0 7px; font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; justify-content: end; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-size: 12px; }
.footer-links :is(a, button) { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; white-space: nowrap; }
.footer-links :is(a, button)::after { content: ''; position: absolute; inset: auto 0 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.footer-links :is(a, button):is(:hover, :focus-visible)::after { transform: scaleX(1); }
.site-footer a:focus-visible { outline-color: var(--lime); }

/* Service pages retain verified content, with the same typography and spacing. */
/* Service detail pages: illustrated introduction and distinct reading chapters. */
.service-page, .privacy-page { padding-bottom: 64px; }
.service-page h1 { font-size: clamp(46px,5.5vw,82px); line-height: 1.09; letter-spacing: -.025em; }
.service-breadcrumb { margin: 26px 0 40px; }
.service-breadcrumb ol { list-style: none; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.service-breadcrumb a { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.offering-heading { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 6%; }
.offering-copy .eyebrow { margin-bottom: 22px; color: var(--muted); }
.offering-lead { margin-top: 34px; max-width: 850px; }
.offering-lead p { font-size: 18px; line-height: 1.8; margin: 0; }
.offering-lead .text-link { display: none; }
.offering-brief { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 36px 0 40px; border-top: 1px solid var(--rule); padding-top: 24px; gap: 32px; }
.offering-brief > div + div { padding-left: 26px; border-left: 1px solid var(--rule); }
.offering-brief dt { font: 400 11px/1.5 "SFMono-Regular",Consolas,monospace; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.offering-brief dd { margin: 0; font-size: 16px; line-height: 1.6; }
.chapter-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-block: 1px solid var(--rule); padding-block: 10px; }
.chapter-nav a { min-height: 44px; font-size: 13px; }
.chapter-nav small { display: none; }
.offering-chapter { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8%; padding-block: 76px; border-bottom: 1px solid var(--rule); }
.service-page h2 { font-size: clamp(32px,3.5vw,50px); line-height: 1.13; }
.chapter-heading p { font-size: 16px; line-height: 1.8; margin-top: 22px; }
.chapter-heading .eyebrow { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.chapter-heading a { text-decoration: underline; text-underline-offset: 4px; }
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-list li { display: flex; gap: 22px; padding-block: 0 25px; margin-bottom: 25px; border-bottom: 1px solid var(--rule); }
.chapter-list li:last-child { margin: 0; padding-bottom: 0; border-bottom: 0; }
.chapter-number { font: 400 28px/1 Anton,Impact,sans-serif; padding-top: 4px; color: #4a613b; min-width: 32px; }
.chapter-list h3 { font-size: 20px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; }
.chapter-list p { font-size: 15px; line-height: 1.8; margin: 0; }
.offering-chapter--mist { background: var(--mist); padding: 48px; gap: 6%; border: 0; }
#perimetro.offering-chapter { grid-template-columns: 1fr; gap: 38px; }
#perimetro .chapter-heading { max-width: 790px; }
#perimetro .chapter-list { counter-reset: deliverable; }
#perimetro .chapter-list li { counter-increment: deliverable; align-items: baseline; gap: 30px; }
#perimetro .chapter-list li::before { content: "0" counter(deliverable) " /"; font: 12px "SFMono-Regular",Consolas,monospace; color: var(--muted); flex: 0 0 45px; }
#perimetro .chapter-list li > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5%; width: 100%; }
.offering-related { padding-block: 40px; border-bottom: 1px solid var(--rule); }
.offering-related h2 { font-size: 30px; }
.offering-related p { line-height: 1.8; max-width: 800px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.service-link::after { content: "↗"; margin-left: 18px; }
.service-page .contact { padding-block: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10%; }
.service-page .contact p { font-size: 16px; line-height: 1.8; }
.contact-phone { align-self: center; justify-self: start; display: grid; grid-template-columns: auto auto; gap: 12px 20px; padding-block: 18px; }
.contact-phone > span:first-child { grid-column: 1/-1; font-size: 12px; }
.contact-phone strong { font-size: clamp(25px,2.7vw,38px); font-weight: 500; letter-spacing: -.035em; white-space: nowrap; }
.contact-arrow { font-size: 30px; }
.other-services { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-top: 30px; border-top: 1px solid var(--rule); }
.other-services .eyebrow { width: 100%; }
.other-services a { font-size: 15px; gap: 15px; }
.service-link, .contact-phone, .other-services a, .chapter-nav a { position: relative; text-decoration: none; }
.service-link::before, .contact-phone::before, .other-services a::before, .chapter-nav a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
:is(.service-link,.contact-phone,.other-services a,.chapter-nav a):is(:hover,:focus-visible) { text-decoration: none; }
:is(.service-link,.contact-phone,.other-services a,.chapter-nav a):is(:hover,:focus-visible)::before { transform: scaleX(1); }
.privacy-page { max-width: 960px; padding-top: 32px; }
.privacy-page .privacy-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
.privacy-page .label { font: 11px/1.7 "SFMono-Regular",Consolas,monospace; color: var(--muted); margin-top: 32px; text-transform: uppercase; }
.privacy-page h1 { font-size: clamp(45px,7vw,84px); margin: 20px 0 30px; }
.privacy-page h2 { font: 500 24px/1.4 Manrope,Arial,sans-serif; text-transform: none; margin: 0 0 20px; }
.privacy-page p { font-size: 16px; line-height: 1.9; }
.privacy-page a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.privacy-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; background: var(--mist); padding: 22px 28px; margin: 32px 0 12px; }
.privacy-index a { font-size: 13px; text-decoration: none; gap: 15px; }
.privacy-index span { font: 11px monospace; color: var(--muted); }
.privacy-page section { padding-block: 32px; border-bottom: 1px solid var(--rule); }
.privacy-page section p:last-child { margin-bottom: 0; }
@media (hover: none) {
 .service-link::before, .contact-phone::before, .other-services a::before, .chapter-nav a::before { transform: scaleX(1); opacity: .45; }
}
@media (max-width: 1000px) {
 .offering-heading { gap: 4%; }
 .service-page h1 { font-size: clamp(42px,5.5vw,60px); }
}

@media (max-width: 1100px) {
 .hero-introduction { display: block; }
 .hero-introduction .explore { margin-top: 18px; }
 .board-top > span:last-child { display: none; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-links { grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 760px) {
 html { scroll-padding-top: 20px; }
 .header-frame { position: relative; backdrop-filter: none; }
 .hero { padding-top: 28px; padding-bottom: 42px; }
 .hero-stage { display: flex; flex-direction: column; padding-bottom: 0; }
 .hero h1 { order: 1; }
 .hero-scene { position: relative; order: 2; z-index: 0; width: 86%; top: auto; right: auto; margin: -12px 0 0 auto; }
 main:has(canvas.hero-scene) { overflow-x: clip; }
 .hero-stage:has(> canvas.hero-scene) { padding-bottom: calc(var(--hero-type)*2.1); }
 canvas.hero-scene { position: absolute; z-index: -1; width: min(calc((100% + var(--gutter)*2)*.92), 480px, calc(var(--hero-type)*6.2)); max-width: none; top: auto; bottom: 0; right: calc(var(--gutter)*-1); margin: 0; }
 .hero-introduction { margin-top: 15px; padding-top: 0; border: 0; }
 .hero-introduction .offer { font-size: 17px; }
 .hero-introduction .explore { font-size: 16px; margin-top: 22px; }
 .band { padding-block: 49px; }
 .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
 .band h2 { font-size: 44px; }
 .sec-head p { font-size: 16px; }
 .board { aspect-ratio: 800/490; }
 .board-top { font-size: 8px; inset: 12px 12px auto; }
 .arrow { font-size: 13px; }
 .stations { grid-template-columns: 1fr; gap: 29px; }
 .stations li { padding: 23px 0 0; }
 .stations h3 { font-size: 32px; margin-block: 10px; }
 .stations p { font-size: 15px; }
 .method-note { margin-top: 30px; }
 .method-note p { font-size: 27px; }
 .profile-grid { grid-template-columns: 1fr; gap: 32px; }
 .profile-identity h2 { font-size: 76px; margin-block: 22px; }
 .profile-identity > p:not(.eyebrow) { font-size: 18px; }
 .profile-story h3 { font-size: 25px; }
 .profile-story > p { font-size: 16px; }
 .independent { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; padding-block: 27px; }
 .independent-link { justify-self: start; }
 .contact-band .sec-head p { font-size: 16px; }
 .contact-links a { grid-template-columns: 1fr 22px; gap: 12px; padding-block: 22px; }
 .contact-links a > span:first-child { grid-column: 1/-1; }
 .contact-links a > span:nth-child(2) { font-size: clamp(19px,5.7vw,27px); }
 .footer-grid { grid-template-columns: 1fr; gap: 22px; }
 .footer-links { font-size: 12px; }
 .service-page h1 { font-size: clamp(40px,8.5vw,60px); }
 .offering-heading { grid-template-columns: 1fr; gap: 26px; }
 .offering-copy .eyebrow { margin-bottom: 18px; }
 .service-breadcrumb { margin-block: 22px 26px; }
 .service-breadcrumb ol { gap: 10px; align-items: start; flex-direction: column; }
 .offering-lead { margin-top: 22px; }
 .offering-lead p { font-size: 16px; }
 .offering-brief { grid-template-columns: 1fr; gap: 20px; padding: 22px 0 0; margin-bottom: 28px; }
 .offering-brief > div + div { border-left: 0; padding-left: 0; }
 .offering-brief dd { font-size: 15px; }
 .chapter-nav { gap: 4px 18px; justify-content: start; }
 .chapter-nav a { font-size: 12px; }
 .offering-chapter { grid-template-columns: 1fr; gap: 28px; padding-block: 38px; }
 .offering-chapter--mist { padding: 28px 22px; margin-top: 12px; }
 #perimetro .chapter-list li { gap: 10px; }
 #perimetro .chapter-list li::before { flex-basis: 30px; }
 #perimetro .chapter-list li > div { grid-template-columns: 1fr; gap: 0; }
 .service-page h2 { font-size: 31px; }
 .chapter-heading p { font-size: 15px; }
 .chapter-list h3 { font-size: 18px; }
 .chapter-list p { font-size: 14px; }
 .service-page .contact { grid-template-columns: 1fr; gap: 16px; padding-block: 38px; }
 .privacy-index { grid-template-columns: 1fr; padding: 18px 22px; }
 .privacy-page h1 { font-size: 46px; }
 .privacy-page p { font-size: 15px; }
}
/* La hero entra per intero al primo caricamento: il titolo, e con lui la scena,
   si adattano anche all'altezza disponibile (svh esclude le barre del browser). */
.hero { --hero-type: clamp(64px, min(10.4vw, calc((100svh - 310px)/4.16)), 162px); }
.hero h1 { font-size: var(--hero-type); }
.hero h1 mark { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1s cubic-bezier(.65,0,.35,1); }
.hero h1 mark.mark-pending { background-size: 0% 100%; }
/* La scena poggia sulla base del titolo e, sugli schermi bassi, può salire fino alla riga sopra: così è più ampia. */
.hero-scene { --scene-w: min(66%, 870px, calc(var(--hero-type)*6.24 + 100px)); width: var(--scene-w); max-width: none; top: auto; bottom: -24px; left: min(calc(100% + (100vw - 100%)/2 - 24px - var(--scene-w)), calc(var(--hero-type)*5.5 - var(--scene-w)*.15)); right: auto; }
@media (max-width: 1100px) {
 .hero { --hero-type: clamp(56px, min(10.4vw, calc((100svh - 400px)/4.16)), 162px); }
}
@media (max-width: 760px) {
 .hero { --hero-type: clamp(38px, min(14.8vw, calc((100svh - 344px)/6.26)), 105px); padding-top: 18px; }
 .hero-stage { margin-top: 14px; }
 .hero-introduction { margin-top: 10px; }
 .hero-introduction .explore { margin-top: 10px; min-height: 44px; }
 img.hero-scene { width: 86%; left: auto; top: auto; bottom: auto; }
}
/* Ambiti e Come lavoro su schermi medi e piccoli. */
@media (max-width: 1100px) {
 .route { gap: 32px; }
 .stations { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
 .side-offer { grid-template-columns: 1fr; }
 .side-offer .arrow { justify-self: start; }
}
@media (max-width: 760px) {
 .route { display: block; padding-top: 0; border-top: 0; }
 /* Su telefono un'unica scena resta ferma in alto mentre scorrono i quattro passaggi. */
 .route-map { top: 0; z-index: 3; margin: 0 calc(var(--gutter)*-1) 26px; padding: 10px var(--gutter); background: var(--mist); border-bottom: 1px solid var(--rule); }
 .step { padding: 0 0 36px 24px; }
 .step h3 { font-size: 30px; }
 .step p { font-size: 15px; }
 .step .out { font-size: 13px; }
 .side-offer { margin-top: 36px; }
 .side-offer h3 { font-size: 30px; }
 .side-offer p:not(.mono) { font-size: 15px; }
 .stations { grid-template-columns: 1fr; row-gap: 29px; }
}
/* Hero in 3D: i blocchi entrano ed escono sfumando con i bordi della scena, lungo la diagonale del flusso. */
.scene-3d canvas.hero-scene { -webkit-mask-image: linear-gradient(to bottom right, transparent 3%, #000 19%, #000 80%, transparent 95%); mask-image: linear-gradient(to bottom right, transparent 3%, #000 19%, #000 80%, transparent 95%); }
/* Hero su telefono: scena larga quanto lo schermo, dietro le ultime righe del titolo e sotto di esse. */
@media (max-width: 760px) {
 /* L'immagine statica (in attesa della scena 3D, o con "riduci movimento") occupa lo stesso posto della scena. */
 .hero:has(img.hero-scene), .scene-3d .hero { --hero-type: clamp(30px, min(13vw, calc((100svh - 360px)/7.4)), 105px); }
 .hero-stage:has(> img.hero-scene), .scene-3d .hero-stage:has(> canvas.hero-scene) { padding-bottom: min(32vw, calc(var(--hero-type)*3.6)); }
 img.hero-scene, .scene-3d canvas.hero-scene { position: absolute; z-index: -1; order: 0; margin: 0; top: auto; width: calc(100% + var(--gutter)*2); max-width: none; left: calc(var(--gutter)*-1); right: auto; bottom: 0; }
 .scene-3d canvas.hero-scene { -webkit-mask-image: linear-gradient(to bottom right, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom right, transparent 0%, #000 12%, #000 88%, transparent 100%); }
}
/* Come lavoro in 3D: la scena resta ferma accanto ai principi che scorrono (la struttura la crea scene3d.js). */
#metodo .method-scroll { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(32px,5vw,80px); align-items: start; }
#metodo .method-stage { position: sticky; top: 110px; height: min(72vh, 620px); }
#metodo .method-stage canvas { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
#metodo .method-scroll .stations { display: block; }
#metodo .method-scroll .stations li { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 28px; border-top: 0; border-left: 2px solid #17231933; transition: opacity .4s, border-color .4s; opacity: .35; }
#metodo .method-scroll .stations li::before { top: calc(50% - 60px); left: -9px; }
#metodo .method-scroll .stations li.is-current { opacity: 1; border-left-color: var(--ink); }
#metodo .method-scroll .stations li:first-child { min-height: 48vh; }
#metodo .method-scroll .stations h3 { font-size: clamp(30px,3.2vw,48px); }
#metodo .method-scroll .stations p { font-size: 18px; max-width: 34ch; }
@media (max-width: 760px) {
 #metodo .method-scroll { display: block; }
 #metodo .method-stage { top: 0; height: 42vh; margin: 0 calc(var(--gutter)*-1); background: var(--lime); z-index: 2; }
 #metodo .method-scroll .stations li { min-height: 52vh; padding-left: 22px; }
 #metodo .method-scroll .stations li:first-child { min-height: 40vh; }
 #metodo .method-scroll .stations p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
 .hero-scene { transform: none; }
 .js .reveal { opacity: 1; translate: none; }
}
/* Software AI ready: la torre che si costruisce passo dopo passo. Senza 3D resta l'immagine statica. */
.agents-page h1 mark { color: inherit; }
.agents-figure { margin: 0; min-width: 0; }
.agents-figure img { display: block; width: 100%; height: auto; }
.agents-page .offering-heading { grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); gap: 0; margin-right: min(0px, calc((100% - 100vw)/2 + 8px)); }
.agents-page .offering-copy { position: relative; z-index: 1; }
.agents-page h1 { font-size: clamp(52px, 6.2vw, 108px); line-height: 1.02; }
.agents-page h1 mark { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1s cubic-bezier(.65,0,.35,1); }
.scene-3d .agents-page h1 mark:not(.is-painted) { background-size: 0% 100%; }
/* La scena sta sul bianco della pagina, accanto al titolo, fino al bordo destro: niente riquadro. */
.agents-hero { container-type: inline-size; position: relative; margin: 0 0 0 -4%; min-width: 0; }
.agents-hero > .agents-hero-scene { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3/2; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent); }
.agents-hero-notes { position: absolute; inset: 0; pointer-events: none; }
.agents-hero-note { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-4px, -50%); white-space: nowrap; color: #5d6e62; font: 400 11px/1.3 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; transition: color .3s; }
.agents-hero-note::before { content: ""; order: -1; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; transition: background .3s; }
.agents-hero-note i { flex: none; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.agents-hero-note b { font-weight: 400; color: var(--ink); padding: 2px 4px; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0% 100%; transition: background-size .45s cubic-bezier(.65,0,.35,1); }
.agents-hero-note small { font: 400 12px/1.3 Manrope, Arial, sans-serif; text-transform: none; letter-spacing: 0; color: #5d6e62; }
.agents-hero-note.is-active::before { background: var(--lime); }
.agents-hero-note.is-active b { background-size: 100% 100%; }
/* Le annotazioni seguono la larghezza della scena: sotto i 640px restano solo i nomi, più piccoli. */
@container (max-width: 640px) {
 .agents-hero-note { font-size: 10px; gap: 6px; }
 .agents-hero-note i { width: 14px; }
 .agents-hero-note small { display: none; }
}
@container (max-width: 440px) {
 .agents-hero-note { font-size: 9px; gap: 4px; }
 .agents-hero-note i { width: 10px; }
 .note-long { display: none; }
}
.agents-problem { align-items: center; }
.agents-problem .chapter-heading p + p { margin-top: 14px; }
.agents-steps { padding-block: 76px; border-bottom: 1px solid var(--rule); }
.agents-steps > .chapter-heading { max-width: 760px; }
.tower-scroll { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,80px); align-items: start; margin-top: 24px; }
.tower-stage { position: sticky; top: 110px; height: min(70vh, 600px); margin: 0; display: grid; place-items: center; }
.tower-stage img { width: min(100%, 460px); height: auto; }
.tower-stage canvas { display: block; width: 100%; height: 100%; }
.tower-steps { list-style: none; padding: 0; margin: 0; }
.tower-steps li { display: flex; flex-direction: column; justify-content: center; padding: 30px 0 30px 28px; border-left: 2px solid var(--rule); }
.scene-3d .tower-steps li { min-height: 62vh; padding-block: 0; }
.scene-3d .tower-steps li:first-child { min-height: 46vh; }
.tower-steps h3 { margin: 14px 0; font: 400 clamp(30px,3.2vw,48px)/1.08 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: -.015em; }
.tower-steps p { margin: 0; font-size: 18px; line-height: 1.7; max-width: 36ch; }
.scene-3d .tower-steps li { opacity: .35; transition: opacity .4s, border-color .4s; }
.scene-3d .tower-steps li.is-current { opacity: 1; border-left-color: var(--ink); }
.agents-control { align-items: center; grid-template-columns: 1fr 1.1fr; }
.agents-rules { margin: 26px 0 0; padding: 0; list-style: none; }
.agents-rules li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.7; }
.agents-rules li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 14px; background: var(--lime); border: 2px solid var(--ink); }
.agents-versus { padding-block: 76px; border-bottom: 1px solid var(--rule); }
.agents-versus > .eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.versus-table { overflow-x: auto; margin-top: 36px; }
.versus-table table { width: 100%; min-width: 480px; border-collapse: collapse; }
.versus-table th { text-align: left; padding: 0 24px 18px 0; font: 400 clamp(28px,3vw,40px)/1.1 Anton, Impact, sans-serif; text-transform: uppercase; }
.versus-table th:first-child { color: #93a197; }
.versus-table th span { background: linear-gradient(transparent 22%, var(--lime) 22%, var(--lime) 92%, transparent 92%); padding-inline: .05em; }
.versus-table td { width: 50%; padding: 20px 24px 20px 0; border-top: 1px solid var(--rule); font-size: clamp(17px,1.6vw,22px); font-weight: 600; line-height: 1.4; }
.versus-table td:first-child { color: #85948a; text-decoration: line-through; text-decoration-thickness: 2px; }
.versus-table th:last-child, .versus-table td:last-child { padding-left: 24px; border-left: 2px solid var(--ink); }
.agents-faq details { border-top: 1px solid var(--rule); }
.agents-faq details:last-child { border-bottom: 1px solid var(--rule); }
.agents-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; font-size: 18px; font-weight: 600; }
.agents-faq summary::-webkit-details-marker { display: none; }
.agents-faq summary span { font-size: 26px; font-weight: 400; transition: transform .2s; }
.agents-faq details[open] summary span { transform: rotate(45deg); }
.agents-faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.8; max-width: 62ch; }
@media (max-width: 760px) {
 .agents-page .offering-heading { grid-template-columns: 1fr; margin-right: 0; }
 .agents-page h1 { font-size: clamp(44px, 12vw, 64px); }
 .agents-hero { margin: -8px calc(var(--gutter)*-1) 0; }
 .agents-hero > .agents-hero-scene { -webkit-mask-image: none; mask-image: none; }
 .agents-steps, .agents-versus { padding-block: 38px; }
 .tower-scroll { display: block; }
 .tower-stage { position: static; height: auto; margin-bottom: 28px; }
 .tower-stage img { width: min(100%, 300px); }
 .tower-steps li { padding: 0 0 30px 22px; }
 /* Con il 3D, su telefono la torre resta ferma in alto mentre scorrono i passi. */
 .scene-3d .tower-stage { position: sticky; top: 0; height: 40vh; margin: 0 calc(var(--gutter)*-1); background: #fff; z-index: 2; border-bottom: 1px solid var(--rule); }
 .scene-3d .tower-steps li { min-height: 50vh; padding: 0 0 0 22px; }
 .scene-3d .tower-steps li:first-child { min-height: 38vh; }
 .tower-steps h3 { font-size: 32px; }
 .tower-steps p { font-size: 16px; }
 .agents-control { grid-template-columns: 1fr; }
 .agents-control .agents-figure { max-width: 340px; }
 .agents-rules li { font-size: 15px; }
 .agents-faq summary { font-size: 16px; }
 .agents-faq details p { font-size: 15px; }
}

/* Pagina Demo: l'indice delle demo interattive, su una fascia verde notte come il banco delle demo. */
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #8ca149; text-underline-offset: 6px; }
.demo-hub-hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 56px; }
.demo-hub-hero .eyebrow { margin-bottom: 22px; color: var(--muted); }
.demo-hub h1 { font-size: clamp(50px, 6.4vw, 104px); line-height: 1.02; }
.demo-hub-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8%; margin-top: 34px; align-items: start; }
.demo-hub-intro p { margin: 0; font-size: 18px; line-height: 1.75; max-width: 68ch; }
.demo-hub-intro .demo-hub-note { font-size: 14px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.demo-hub-band { color: #f0f3ed; padding-block: clamp(52px, 6vw, 96px); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); overflow-x: clip; }
.demo-hub-band h2 { margin: 0; font-size: clamp(42px, 5.2vw, 84px); line-height: 1; letter-spacing: -.015em; color: #f0f3ed; }
.demo-hub-band h2 mark { color: var(--ink); background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 94%, transparent 94%); padding-inline: .04em; margin-inline: -.04em; }
.demo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; }
.demo-card a { display: flex; flex-direction: column; height: 100%; background: #1c2d23; border: 1px solid #a4b69a3d; color: #f0f3ed; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.demo-card img { display: block; width: 100%; height: auto; aspect-ratio: 1368 / 739; border-bottom: 1px solid #a4b69a3d; }
.demo-card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(20px, 2.4vw, 32px); }
.demo-card-meta { font: 400 11px/1.5 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; color: var(--lime); }
.demo-card-title { font: 400 clamp(28px, 2.6vw, 40px)/1.05 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.demo-card-text { font-size: 16px; line-height: 1.7; color: #d1d9ce; }
.demo-card-for { font-size: 14px; line-height: 1.6; color: #c3cdc0; padding-top: 12px; border-top: 1px solid #a4b69a3d; }
.demo-card-for b { display: block; font: 400 11px/1.5 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; color: #f0f3ed; margin-bottom: 2px; }
.demo-card-cta { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: auto; min-height: 52px; padding: 10px 22px; background: var(--lime); color: var(--ink); font-size: 16px; font-weight: 700; transition: background-color .25s var(--ease); }
.demo-card a:hover { border-color: var(--lime); transform: translateY(-3px); }
.demo-card a:hover .demo-card-cta { background: #f0f3ed; }
.demo-card a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.demo-hub-real { border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) {
  .demo-cards { grid-template-columns: 1fr; }
  .demo-hub-intro { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .demo-hub h1 { font-size: clamp(40px, 12vw, 64px); }
  .demo-hub-hero { padding-top: 32px; padding-bottom: 36px; }
  .demo-hub-intro { margin-top: 22px; }
  .demo-hub-intro p { font-size: 16px; }
  .demo-hub-band { padding-block: 44px 52px; }
  .demo-hub-band h2 { font-size: clamp(38px, 11vw, 54px); }
  .demo-card-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .demo-card a:hover { transform: none; } }

/* Pagine servizio, nuovo template (sv-): scena sul bianco accanto al titolo, esempio sul banco notturno,
   confini come domande, contatto in fascia notte. Il vecchio template resta finché tutte le pagine non sono passate. */
.sv-hero { padding-bottom: clamp(36px, 4vw, 64px); }
.sv-hero .service-breadcrumb { margin: 26px 0 30px; }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 0; margin-right: min(0px, calc((100% - 100vw)/2 + 8px)); }
.sv-hero-copy { position: relative; z-index: 1; padding-block: 12px; }
.sv-hero-copy .eyebrow { margin-bottom: 20px; color: var(--muted); }
.sv-page h1 { font-size: clamp(46px, 5.1vw, 84px); line-height: 1.03; }
.sv-page h1 mark { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1s cubic-bezier(.65,0,.35,1); }
.scene-3d .sv-page h1 mark:not(.is-painted) { background-size: 0% 100%; }
.sv-lead { margin: 28px 0 0; max-width: 54ch; font-size: 18px; line-height: 1.7; }
.sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.sv-call { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 22px; background: var(--ink); color: #f0f3ed; font-size: 17px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.sv-call small { font: 400 11px/1 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; color: var(--lime); }
.sv-call span[aria-hidden] { color: var(--lime); transition: transform .3s var(--ease); }
.sv-call:hover { background: var(--lime); color: var(--ink); }
.sv-call:hover small, .sv-call:hover span[aria-hidden] { color: var(--ink); }
.sv-call:hover span[aria-hidden] { transform: translate(3px,-3px); }
.sv-jump { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sv-jump span { transition: transform .3s var(--ease); }
.sv-jump:hover span { transform: translateY(3px); }
/* La scena sta sul bianco della pagina fino al bordo destro, come in Software AI ready: niente riquadro. */
.sv-scene { container-type: inline-size; position: relative; margin: 0 0 0 -3%; min-width: 0; }
.sv-scene > .sv-scene-img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3/2; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent); }
.sv-notes { position: absolute; inset: 0; pointer-events: none; transition: opacity .4s; }
/* Mentre la scena si ricompone (Analisi) le annotazioni si fanno da parte; sotto la scena, come legenda, restano. */
@container (min-width: 561px) { .sv-scene.is-quiet .sv-notes { opacity: 0; } }
.sv-note { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-4px, -50%); white-space: nowrap; color: #5d6e62; font: 400 11px/1.3 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; }
.sv-note::before { content: ""; order: -1; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; transition: background .3s; }
.sv-note i { flex: none; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.sv-note b { font-weight: 400; color: var(--ink); padding: 2px 4px; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0% 100%; transition: background-size .45s cubic-bezier(.65,0,.35,1); }
.sv-note.is-active::before { background: var(--lime); }
.sv-note.is-active b { background-size: 100% 100%; }
/* Sul telefono le annotazioni diventano una legenda sotto la scena: si accendono comunque al loro passaggio. */
.sv-note--left { flex-direction: row-reverse; transform: translate(calc(-100% + 4px), -50%); }
@container (max-width: 560px) {
 .sv-notes { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 4px var(--gutter) 0; }
 .sv-note, .sv-note--left { position: static; flex-direction: row; transform: none; white-space: normal; font-size: 12px; }
 .sv-note i { display: none; }
}

/* Indice della pagina: una riga, la sezione in lettura sottolineata. */
.sv-index { position: relative; display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: none; border-block: 1px solid var(--rule); padding-block: 4px; }
.sv-index::-webkit-scrollbar { display: none; }
.sv-index a { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 14px; color: var(--muted); text-decoration: underline transparent; text-underline-offset: 7px; text-decoration-thickness: 2px; transition: color .2s, text-decoration-color .2s; }
.sv-index a small { font: 400 11px/1 "SFMono-Regular", Consolas, monospace; }
.sv-index a:hover, .sv-index a.is-current { color: var(--ink); text-decoration-color: var(--lime); }

/* Quando serve: tre condizioni affiancate, aperte. */
.sv-chapter { padding-block: 76px; border-bottom: 1px solid var(--rule); }
.sv-chapter > .chapter-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 8%; align-items: end; }
.sv-chapter > .chapter-heading .eyebrow { grid-column: 1 / -1; }
.sv-chapter > .chapter-heading p { margin: 0; max-width: 60ch; }
.sv-cols { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(28px, 3.4vw, 56px); margin: 44px 0 0; padding: 0; counter-reset: sv; }
.sv-cols li { counter-increment: sv; border-top: 2px solid var(--ink); padding-top: 18px; }
.sv-cols li::before { content: "0" counter(sv); display: block; margin-bottom: 14px; font: 400 12px/1 "SFMono-Regular", Consolas, monospace; color: var(--muted); }
.sv-cols h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.sv-cols p { margin: 0; font-size: 15px; line-height: 1.75; }

/* Metodo: cinque passi su una fila, uniti da una linea; su telefono in colonna. */
.sv-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 44px 0 0; padding: 0; }
.sv-steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--rule); }
.sv-steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); }
.sv-steps .chapter-number { display: block; margin-bottom: 14px; font-size: 40px; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.sv-steps h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.sv-steps p { margin: 0; font-size: 15px; line-height: 1.7; }

/* Esempio: fascia notte a tutta larghezza con le demo e un caso come foglio annotato. */
.sv-band { scroll-margin-top: 88px; color: #f0f3ed; padding-block: clamp(56px, 6vw, 100px); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); overflow-x: clip; }
.sv-band .eyebrow { color: var(--lime); font-size: 12px; margin-bottom: 20px; }
.sv-band h2 { margin: 0; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; color: #f0f3ed; }
.sv-band h2 mark { color: var(--ink); background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 94%, transparent 94%); padding-inline: .04em; margin-inline: -.04em; }
.sv-band-note { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: #c3cdc0; max-width: 62ch; }
.sv-case { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid #a4b69a3d; }
.sv-case h3 { margin: 0; font: 400 clamp(30px, 3vw, 46px)/1.05 Anton, Impact, sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.sv-case-tag { display: inline-block; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid #deed9866; font-size: 13px; color: var(--lime); }
.sv-keep { margin: 30px 0 0; padding-left: 18px; border-left: 2px solid var(--lime); }
.sv-keep dt { font: 400 11px/1.5 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; color: #c3cdc0; margin-bottom: 6px; }
.sv-keep dd { margin: 0; font-size: 16px; line-height: 1.7; }
.sv-sheet { position: relative; margin: 0; background: #fff; color: var(--ink); box-shadow: 0 34px 60px -24px #000000a6, 0 3px 8px #00000040; padding: clamp(22px, 2.6vw, 36px); }
.sv-sheet-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 400 12px/1.4 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; }
.sv-sheet-head span:last-child { color: var(--muted); }
.sv-sheet ol { list-style: none; margin: 0; padding: 0; counter-reset: sheet; }
.sv-sheet li { counter-increment: sheet; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.sv-sheet li:last-child { border-bottom: 0; padding-bottom: 4px; }
.sv-sheet li::before { content: "0" counter(sheet); grid-row: 1 / 3; padding-top: 6px; font: 400 12px/1 "SFMono-Regular", Consolas, monospace; color: var(--muted); }
.sv-sheet h4 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font: 400 24px/1.1 Anton, Impact, sans-serif; text-transform: uppercase; }
.sv-sheet h4 small { font: 400 11px/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; color: var(--muted); }
.sv-sheet li p { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.7; }
.sv-sheet li.is-flag h4 span { background: linear-gradient(transparent 14%, var(--lime) 14%, var(--lime) 92%, transparent 92%); padding-inline: .05em; }
.sv-stamp { position: absolute; right: clamp(14px, 3vw, 36px); top: -26px; display: grid; justify-items: center; gap: 3px; margin: 0; padding: 9px 20px 7px; border: 3px solid var(--ink); background: var(--lime); color: var(--ink); transform: rotate(-7deg); pointer-events: none; }
.sv-stamp b { font: 400 clamp(26px, 2.6vw, 36px)/1 Anton, Impact, sans-serif; text-transform: uppercase; }
.sv-stamp small { font: 400 10px/1.2 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.js .sv-sheet .sv-stamp { opacity: 0; }
.js .sv-sheet.is-visible .sv-stamp { animation: sv-stamp .5s .5s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes sv-stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); filter: blur(3px); } to { opacity: 1; transform: rotate(-7deg); } }

/* Contatto: la fascia notte della home, dentro la pagina. */
.sv-contact { color: #f7faf2; padding-block: clamp(64px, 7vw, 105px); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); overflow-x: clip; }
.sv-contact .sec-head h2 { margin: 0; font-size: clamp(44px, 5.2vw, 80px); line-height: 1.02; }
.sv-contact .sec-head p { color: #d1d9ce; font-size: 17px; }
.sv-contact a:focus-visible { outline-color: var(--lime); }
.sv-page .other-services { margin-top: 0; border-top: 0; padding-top: 44px; }

@media (max-width: 1100px) {
  .sv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sv-hero-grid { grid-template-columns: 1fr; margin-right: 0; }
  .sv-scene { margin: 6px calc(var(--gutter)*-1) 0; }
  .sv-scene > .sv-scene-img { -webkit-mask-image: none; mask-image: none; }
  .sv-chapter > .chapter-heading { grid-template-columns: 1fr; }
  .sv-chapter > .chapter-heading p { margin-top: 18px; }
  .sv-case { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sv-hero .service-breadcrumb { margin: 18px 0 22px; }
  .sv-hero .service-breadcrumb ol { flex-direction: row; align-items: baseline; gap: 18px; }
  .sv-page h1 { font-size: clamp(38px, 10.6vw, 58px); }
  .sv-lead { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .sv-actions { margin-top: 22px; gap: 10px 22px; }
  .sv-call { font-size: 16px; padding: 10px 18px; }
  .sv-chapter { padding-block: 44px; }
  .sv-cols { grid-template-columns: 1fr; margin-top: 28px; gap: 26px; }
  .sv-cols h3, .sv-steps h3 { font-size: 18px; }
  .sv-steps { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .sv-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 20px 0; }
  .sv-steps li > div { grid-column: 2; }
  .sv-steps .chapter-number { grid-row: 1; margin: 0; font-size: 32px; }
  .sv-band { padding-block: 44px 52px; }
  .sv-band h2 { font-size: clamp(36px, 10.4vw, 52px); }
  .sv-case { margin-top: 44px; padding-top: 32px; }
  .sv-sheet { padding: 20px 16px 26px; }
  .sv-sheet-head { flex-direction: column; gap: 4px; }
  .sv-sheet h4 { font-size: 21px; }
  .sv-sheet li p { font-size: 14px; }
  .sv-stamp { top: -20px; right: 12px; padding: 7px 14px 5px; }
  .sv-sheet { margin-top: 28px; padding-top: 50px; }
  .sv-contact { padding-block: 49px; }
  .sv-contact .sec-head h2 { font-size: clamp(40px, 11.5vw, 56px); }
  .sv-contact .sec-head p { font-size: 16px; }
}
@media (max-width: 760px) {
  .sv-page .eyebrow, .sv-page .sv-index a small, .sv-page .sv-call small, .sv-page .sv-cols li::before, .sv-page .demo-card-meta, .sv-page .sv-keep dt, .sv-page .sv-sheet-head, .sv-page .sv-sheet h4 small, .sv-page .sv-sheet li::before, .sv-page .sv-stamp small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .sv-sheet .sv-stamp { opacity: 1; }
  .sv-page h1 mark { transition: none; }
}
/* L'esempio come primo blocco della fascia (AI integrata): niente filetto sopra; una sola demo nella colonna. */
.sv-band > .sv-case-tag { margin-top: 18px; }
.sv-case--first { margin-top: clamp(32px, 4vw, 52px); padding-top: 0; border-top: 0; }
.sv-case--first .sv-keep { margin-top: 0; }
.sv-demo-one { grid-template-columns: 1fr; margin-top: 24px; }
/* Analisi: la mappa del processo come foglio, con gli attriti in lime e il timbro della scelta. */
.sv-map { margin-top: clamp(32px, 4vw, 52px); }
.sv-map .sv-sheet-head { justify-content: space-between; }
.sv-map .sv-sheet-head span:last-child { background: var(--lime); color: var(--ink); padding: 0 6px; }
.sv-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; margin: 28px 0 0; padding: 0; }
.sv-flow li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.sv-flow li + li::before { content: ""; position: absolute; left: -27px; top: -7px; width: 11px; height: 11px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.sv-flow b { font: 400 26px/1.05 Anton, Impact, sans-serif; text-transform: uppercase; font-weight: 400; margin-bottom: 4px; }
.sv-flow span { font-size: 15px; line-height: 1.5; color: #334038; }
.sv-flow em { font: 400 12px/1.4 "SFMono-Regular", Consolas, monospace; font-style: normal; text-transform: uppercase; letter-spacing: .03em; background: var(--lime); padding: 5px 8px; }
.sv-map .sv-stamp { position: relative; top: auto; right: auto; display: inline-grid; justify-items: start; margin: 30px 0 0 6px; }
.sv-trail { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; counter-reset: trail; }
.sv-trail li { counter-increment: trail; border-top: 1px solid #a4b69a3d; padding-top: 18px; }
.sv-trail li::before { content: "0" counter(trail); display: block; margin-bottom: 12px; font: 400 12px/1 "SFMono-Regular", Consolas, monospace; color: var(--lime); }
.sv-trail h4 { margin: 0 0 6px; font: 400 24px/1.1 Anton, Impact, sans-serif; text-transform: uppercase; }
.sv-trail small { display: block; margin-bottom: 10px; font: 400 11px/1.4 "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; color: #c3cdc0; }
.sv-trail p { margin: 0; font-size: 15px; line-height: 1.7; color: #d9e0d6; }
.sv-band > .sv-keep { margin-top: 40px; max-width: 70ch; }
@media (max-width: 900px) {
  .sv-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
  .sv-flow li:nth-child(3)::before { display: none; }
  .sv-trail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sv-map { padding-top: 22px; }
  .sv-map .sv-sheet-head { flex-direction: column; align-items: flex-start; }
  .sv-flow { grid-template-columns: 1fr; gap: 30px; }
  .sv-flow li + li::before, .sv-flow li:nth-child(3)::before { display: block; left: 2px; top: -21px; transform: rotate(135deg); }
  .sv-flow b { font-size: 23px; }
  .sv-map .sv-stamp { top: auto; right: auto; margin-left: 4px; }
  .sv-trail { grid-template-columns: 1fr; gap: 22px; }
  .sv-trail small { font-size: 12px; }
  .sv-trail h4 { font-size: 22px; }
}
