
  :root{
    --ink:#001B48;
    --deep:#02457A;
    --accent:#018ABE;
    --soft:#97CADB;
    --mist:#D6E8EE;
    --paper:#FAFBFC;
    --white:#ffffff;
    --line:rgba(0,27,72,.10);
    --line-2:rgba(0,27,72,.18);
    --muted:rgba(0,27,72,.62);
    --shadow-sm: 0 1px 2px rgba(0,27,72,.06), 0 2px 8px rgba(0,27,72,.04);
    --shadow-md: 0 8px 24px rgba(0,27,72,.10), 0 2px 6px rgba(0,27,72,.04);
    --shadow-lg: 0 30px 60px -20px rgba(0,27,72,.30), 0 12px 24px -16px rgba(0,27,72,.18);
    --r-sm:10px;
    --r-md:18px;
    --r-lg:28px;
    --r-xl:40px;
    --maxw:1600px;
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family: "Satoshi", system-ui, -apple-system, sans-serif;
    font-size:16px;
    line-height:1.55;
    color:var(--ink);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
    text-wrap: pretty;
    overflow-x:hidden;
  }
  ::selection{ background:var(--ink); color:var(--mist); }
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 5%; }

  /* TYPE */
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:13px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
    color:var(--deep);
  }
  .eyebrow .dot{ display:none; }
  h1,h2,h3,h4{ font-family:"Satoshi", sans-serif; font-weight:900; letter-spacing:-0.025em; line-height:1.02; margin:0; color:var(--ink); }
  h1{ font-size: clamp(44px, 6.4vw, 92px); }
  h2{ font-size: clamp(36px, 4.6vw, 64px); letter-spacing:-0.022em; line-height:1.04; }
  h3{ font-size: clamp(22px, 1.8vw, 28px); letter-spacing:-0.015em; line-height:1.15; }
  h4{ font-size: 18px; letter-spacing:-0.01em; }
  p{ margin:0; }
  .lede{ font-size:19px; line-height:1.55; color:var(--muted); max-width: 56ch;}
  .mono{ font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12px; letter-spacing:.04em; }

  /* NAV */
  .nav-wrap{
    position:sticky; top:0; z-index:50;
    backdrop-filter:saturate(140%) blur(14px);
    background: rgba(250,251,252,0.78);
    border-bottom:1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
  }
  .nav-wrap.is-stuck{ border-bottom-color: var(--line); background: rgba(250,251,252,0.92); }
  nav{
    max-width:var(--maxw); margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
    padding: 18px 5%;
  }
  .brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:-.02em; font-size:20px; }
  .nav-links{ display:flex; gap:6px; align-items:center;}
  .nav-links a{
    padding:10px 14px; border-radius:999px; font-weight:500; font-size:15px; color:var(--ink);
    transition: background .2s ease, color .2s ease;
  }
  .nav-links a:hover{ background:var(--mist); color:var(--ink); }
  .nav-cta{ display:flex; gap:10px; align-items:center; }

  /* BUTTONS */
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:14px 22px; border-radius:999px; font-weight:700; font-size:15px;
    border:1px solid transparent; cursor:pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
    line-height:1; white-space:nowrap;
  }
  .btn:active{ transform: translateY(1px); }
  .btn-primary{ background:var(--ink); color:var(--mist); }
  .btn-primary:hover{ background:var(--deep); box-shadow: var(--shadow-md);}
  .btn-secondary{ background:transparent; color:var(--ink); border-color:var(--line-2); }
  .btn-secondary:hover{ border-color:var(--ink); background:rgba(0,27,72,0.03);}
  .btn-ghost{ background:transparent; color:var(--ink); padding:10px 14px;}
  .btn-ghost:hover{ background:var(--mist);}
  .btn-light{ background:var(--white); color:var(--ink); border-color:var(--line);}
  .btn-light:hover{ background:var(--mist);}
  .btn .arr{
    width:18px; height:18px; border-radius:50%; background:rgba(255,255,255,.18);
    display:inline-flex; align-items:center; justify-content:center;
  }
  .btn-secondary .arr{ background:rgba(0,27,72,0.08);}
  .btn .arr svg{ width:10px; height:10px;}

  /* REVEAL ANIM */
  .reveal{ opacity:0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .reveal.in{ opacity:1; transform:none; }
  .reveal.delay-1{ transition-delay:.08s }
  .reveal.delay-2{ transition-delay:.16s }
  .reveal.delay-3{ transition-delay:.24s }
  .reveal.delay-4{ transition-delay:.32s }
  .reveal.delay-5{ transition-delay:.40s }
  .reveal.delay-6{ transition-delay:.48s }

  /* HERO */
  .hero{
    position:relative;
    padding: 56px 0 80px;
    overflow:hidden;
  }
  .hero-bg{
    position:absolute; inset:-10% -5% 0 -5%; z-index:-1; pointer-events:none;
    background:
      radial-gradient(60% 50% at 15% 0%, rgba(151,202,219,0.55) 0%, rgba(151,202,219,0) 60%),
      radial-gradient(50% 45% at 90% 10%, rgba(1,138,190,0.20) 0%, rgba(1,138,190,0) 60%),
      radial-gradient(70% 60% at 50% 100%, rgba(214,232,238,0.65) 0%, rgba(214,232,238,0) 65%);
  }
  .hero-grid{
    display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items:center;
  }
  .hero h1 .hl{
    background: linear-gradient(180deg, transparent 62%, rgba(1,138,190,0.38) 62%, rgba(1,138,190,0.38) 92%, transparent 92%);
    padding: 0 4px;
  }
  .hero-sub{ margin-top:24px; font-size:19px; color:var(--muted); max-width: 56ch; line-height:1.55;}
  .hero-bullets{
    margin-top:28px; display:grid; gap:10px;
    grid-template-columns:1fr 1fr;
  }
  .hero-bullets li{
    list-style:none; display:flex; gap:10px; align-items:flex-start;
    font-size:15px; line-height:1.4; color:var(--ink);
  }
  .check{
    flex:none; width:22px; height:22px; border-radius:50%;
    background: var(--ink); color:var(--mist);
    display:inline-flex; align-items:center; justify-content:center;
    margin-top:1px;
  }
  .check svg{ width:11px; height:11px;}
  .hero-actions{ margin-top:32px; display:flex; gap:12px; flex-wrap:wrap;}
  .hero-micro{ margin-top:16px; font-size:14px; color:var(--muted);}
  .hero-micro b{ color:var(--ink); font-weight:700;}

  /* HERO VISUAL */
  .hero-visual{ position:relative; height:560px; }
  .hv-photo{
    position:absolute; left:0; right:60px; top:50%;
    transform: translateY(-50%);
    aspect-ratio: 4 / 3;
    background:#E6EBF0;
    border-radius: 32px;
    overflow:hidden;
    box-shadow: var(--shadow-lg);
  }
  .ph-box{
    width:100%; height:100%;
    background:
      repeating-linear-gradient(135deg, rgba(0,27,72,0.06) 0 8px, rgba(0,27,72,0.02) 8px 16px),
      #E6EBF0;
    display:flex; align-items:flex-end; padding:18px;
    color: rgba(0,27,72,0.55);
  }
  .ph-tag{
    font-family:"JetBrains Mono", monospace; font-size:11px; letter-spacing:.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.85);
    padding:6px 10px; border-radius:999px; border:1px solid rgba(0,27,72,0.08);
  }
  /* floating cards */
  .float-card{
    position:absolute;
    background:var(--white);
    border-radius:18px; padding:14px 16px;
    box-shadow: var(--shadow-md);
    border:1px solid var(--line);
    animation: floaty 6s ease-in-out infinite;
  }
  @keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
  .fc-stats{ top: 80px; right: 0; width: 240px; animation-delay:-1s;}
  .fc-stats .row{ display:flex; justify-content:space-between; align-items:center; padding:6px 0;}
  .fc-stats .row + .row{ border-top:1px dashed var(--line);}
  .fc-stats .k{ font-size:12px; color:var(--muted); }
  .fc-stats .v{ font-weight:700; color:var(--ink); font-size:14px;}
  .fc-stats .v.green{ color:#0E8F5A; }
  .fc-rapportino{
    top: 250px; right: -10px; width: 280px; animation-delay:-2.5s;
    padding: 16px;
  }
  .fc-rapportino .head{ display:flex; align-items:center; gap:10px; }
  .mic-dot{
    width: 30px; height:30px; border-radius:50%; background:var(--ink); color:var(--mist);
    display:inline-flex; align-items:center; justify-content:center;
    position:relative;
  }
  .mic-dot::before{
    content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--accent); opacity:0;
    animation: ripple 2.2s ease-out infinite;
  }
  @keyframes ripple{
    0%{ transform:scale(.85); opacity:.7; }
    100%{ transform:scale(1.6); opacity:0; }
  }
  .fc-rapportino .title{ font-weight:700; font-size:14px;}
  .fc-rapportino .sub{ font-size:12px; color:var(--muted);}
  .wave{
    display:flex; gap:3px; align-items:flex-end; height:30px; margin-top:12px;
  }
  .wave span{
    flex:1; background:linear-gradient(180deg, var(--accent), var(--deep));
    border-radius:2px;
    animation: bar 1.2s ease-in-out infinite;
  }
  .wave span:nth-child(2){ animation-delay:.08s }
  .wave span:nth-child(3){ animation-delay:.16s }
  .wave span:nth-child(4){ animation-delay:.24s }
  .wave span:nth-child(5){ animation-delay:.32s }
  .wave span:nth-child(6){ animation-delay:.40s }
  .wave span:nth-child(7){ animation-delay:.48s }
  .wave span:nth-child(8){ animation-delay:.56s }
  .wave span:nth-child(9){ animation-delay:.64s }
  .wave span:nth-child(10){ animation-delay:.72s }
  .wave span:nth-child(11){ animation-delay:.80s }
  .wave span:nth-child(12){ animation-delay:.88s }
  @keyframes bar{
    0%,100%{ height:18%; }
    50%{ height:90%;}
  }
  .fc-margin{
    bottom: 100px; left: -16px; width: 230px; animation-delay:-0.8s;
  }
  .fc-margin .lbl{ font-size:12px; color:var(--muted); letter-spacing:.02em; }
  .fc-margin .big{ font-size:28px; font-weight:900; letter-spacing:-.02em; color:var(--deep); margin-top:2px;}
  .fc-margin .bar{ height:6px; border-radius:99px; background:var(--mist); margin-top:10px; overflow:hidden;}
  .fc-margin .bar i{ display:block; height:100%; width:64%; background: linear-gradient(90deg, var(--accent), var(--deep)); border-radius:99px;}

  /* CHIPS / TRUST */
  .trust{
    margin-top:80px; padding:24px 28px; background:var(--white);
    border:1px solid var(--line); border-radius:24px;
    display:flex; gap:24px; align-items:center; justify-content:space-between; flex-wrap:wrap;
    box-shadow: var(--shadow-sm);
  }
  .trust .label{ font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); font-weight:500;}
  .trust .badges{ display:flex; gap:14px; flex-wrap:wrap;}
  .badge{
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 14px; border-radius:999px; border:1px solid var(--line);
    font-size:14px; color:var(--ink); background:var(--paper);
  }
  .badge i{ width:6px; height:6px; border-radius:50%; background:var(--accent);}

  /* SECTIONS */
  section{ padding: 120px 0; position:relative;}
  section.tight{ padding: 96px 0;}
  .section-head{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:end; margin-bottom: 56px;}
  .section-head .right{ color:var(--muted); font-size:17px; line-height:1.6; max-width:52ch;}
  .section-head.center{ grid-template-columns: 1fr; text-align:center; justify-items:center;}
  .section-head.center .right{ text-align:center;}

  /* PROBLEM */
  .problem{ background: var(--paper); }
  .problem-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:64px; align-items:center;}
  .scatter{
    position:relative; height: 480px;
    background: var(--white); border-radius:32px; border:1px solid var(--line);
    overflow:hidden;
    box-shadow: var(--shadow-sm);
  }
  .scatter::before{
    content:""; position:absolute; inset:0;
    background:
      radial-gradient(circle at 20% 30%, rgba(151,202,219,.35), transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(1,138,190,.20), transparent 55%);
  }
  .chip{
    position:absolute; background:var(--white); border:1px solid var(--line);
    border-radius:14px; padding:10px 14px; font-size:13px;
    box-shadow: var(--shadow-sm);
    display:inline-flex; gap:8px; align-items:center;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .chip .ico{ width:22px; height:22px; border-radius:6px; background:var(--mist); color:var(--deep); display:inline-flex; align-items:center; justify-content:center;}
  .chip .ico svg{ width:13px; height:13px;}
  .chip.alt{ background:var(--ink); color:var(--mist); border-color:transparent;}
  .chip.alt .ico{ background: rgba(255,255,255,.12); color:var(--mist);}
  .scatter.chaos .c1{ top: 10%; left: 8%; transform: rotate(-6deg);}
  .scatter.chaos .c2{ top: 22%; left: 38%; transform: rotate(3deg);}
  .scatter.chaos .c3{ top: 16%; right: 6%; transform: rotate(8deg);}
  .scatter.chaos .c4{ top: 46%; left: 18%; transform: rotate(-2deg);}
  .scatter.chaos .c5{ top: 50%; right: 14%; transform: rotate(5deg);}
  .scatter.chaos .c6{ bottom: 14%; left: 8%; transform: rotate(4deg);}
  .scatter.chaos .c7{ bottom: 8%; left: 40%; transform: rotate(-3deg);}
  .scatter.chaos .c8{ bottom: 18%; right: 6%; transform: rotate(-7deg);}
  .scatter.calm{ display:none; }

  /* SOLUTION */
  .solution{ background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding-top:120px;}
  .flow{
    display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 56px;
  }
  .flow-card{
    background:var(--white); border-radius:24px; padding:28px;
    border:1px solid var(--line);
    position:relative; overflow:hidden;
    transition: transform .4s ease, box-shadow .3s ease;
  }
  .flow-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md);}
  .flow-card .step{
    font-family:"JetBrains Mono", monospace; font-size:12px; letter-spacing:.1em;
    text-transform:uppercase; color:var(--accent);
    margin-bottom:18px; display:inline-flex; align-items:center; gap:8px;
  }
  .flow-card .step .n{
    width:22px; height:22px; border-radius:50%; background:var(--ink); color:var(--mist);
    display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:700;
  }
  .flow-card h3{ margin-bottom:10px;}
  .flow-card p{ color:var(--muted); font-size:15px; line-height:1.55;}
  .flow-card .ico-big{
    width:48px; height:48px; border-radius:14px; background:var(--mist); color:var(--deep);
    display:inline-flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .flow-card .ico-big svg{ width:24px; height:24px;}

  /* FEATURES */
  .features-grid{
    display:grid; grid-template-columns: repeat(6, 1fr); gap:20px;
  }
  .feat{
    grid-column: span 2;
    background:var(--white); border:1px solid var(--line); border-radius:24px; padding:28px;
    min-height: 320px;
    position:relative; overflow:hidden;
    transition: transform .4s ease, box-shadow .3s ease;
    display:flex; flex-direction:column; justify-content:space-between;
  }
  .feat:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md);}
  .feat.lg{ grid-column: span 3;}
  .feat .top{ display:flex; align-items:center; gap:12px; margin-bottom:14px;}
  .feat .num{
    font-family:"JetBrains Mono", monospace; font-size:12px; letter-spacing:.1em;
    color:var(--muted);
  }
  .feat h3{ font-size:24px; line-height:1.15; max-width: 18ch;}
  .feat p{ color: var(--muted); font-size:15px; margin-top:10px; line-height:1.55;}
  .feat .viz, .tool-card .viz{
    margin-top:22px; flex:none; height: 140px; border-radius:18px;
    background: var(--mist);
    position:relative; overflow:hidden;
  }
  .tool-card .viz{ margin-bottom:22px; }
  /* viz 1 - rapportino vocale */
  .viz.v1{
    background: linear-gradient(135deg, #EAF3F7 0%, var(--mist) 100%);
    display:flex; align-items:center; justify-content:center; gap:18px;
  }
  .viz.v1 .mic{
    width:54px; height:54px; border-radius:50%;
    background: var(--ink); color:var(--mist);
    display:inline-flex; align-items:center; justify-content:center;
    position:relative;
  }
  .viz.v1 .mic::before, .viz.v1 .mic::after{
    content:""; position:absolute; inset:-8px; border-radius:50%;
    border:1.5px solid var(--accent); opacity:0; animation: ripple 2.4s ease-out infinite;
  }
  .viz.v1 .mic::after{ animation-delay:1.2s;}
  .viz.v1 .bars{ display:flex; gap:3px; align-items:center; height:60px;}
  .viz.v1 .bars span{ width:4px; background:var(--deep); border-radius:2px; animation: bar 1.3s ease-in-out infinite;}
  .viz.v1 .bars span:nth-child(odd){ animation-delay:.2s;}
  .viz.v1 .bars span:nth-child(3n){ animation-delay:.4s;}
  /* viz 2 - ore tracciate */
  .viz.v2{
    background: linear-gradient(180deg, #EAF3F7 0%, #fff 100%);
    padding:14px;
  }
  .viz.v2 .row{
    display:flex; justify-content:space-between; align-items:center;
    padding:8px 12px; background:var(--white); border-radius:10px;
    border:1px solid var(--line); margin-bottom:6px;
    font-size:13px;
  }
  .viz.v2 .row .pill{
    background: var(--mist); color: var(--deep); padding:2px 8px; border-radius:99px;
    font-size:11px; font-weight:700;
  }
  /* viz 4 - scadenze */
  .viz.v4{
    background:var(--white); padding:14px; border:1px solid var(--line);
  }
  .viz.v4 .cal{ display:grid; grid-template-columns: repeat(7,1fr); gap:4px;}
  .viz.v4 .cal i{ aspect-ratio:1; border-radius:5px; background:var(--mist);}
  .viz.v4 .cal i.due{ background: var(--accent);}
  .viz.v4 .cal i.late{ background: var(--ink);}
  /* viz 5 - fatture */
  .viz.v5{ padding:18px; display:flex; align-items:center; gap:18px;
    background: linear-gradient(135deg, var(--mist) 0%, #fff 100%);}
  .viz.v5 .donut{
    width:90px; height:90px; border-radius:50%;
    background:
      conic-gradient(var(--accent) 0 38%, var(--deep) 38% 62%, var(--ink) 62% 100%);
    position:relative;
  }
  .viz.v5 .donut::after{
    content:""; position:absolute; inset:14px; border-radius:50%; background:#fff;
  }
  .viz.v5 .legend{ font-size:12px; display:grid; gap:6px;}
  .viz.v5 .legend div{ display:flex; gap:8px; align-items:center;}
  .viz.v5 .legend i{ width:8px; height:8px; border-radius:2px; }
  /* viz 6 - margini */
  .viz.v6{
    background: linear-gradient(135deg, var(--ink), var(--deep));
    color: var(--mist);
    padding:18px;
    display:flex; flex-direction:column; justify-content:flex-end; gap:8px;
  }
  .viz.v6 svg{ width:100%; height:60px; }
  .viz.v6 .legend{
    display:flex; justify-content:space-between; align-items:baseline;
  }
  .viz.v6 .big{ font-size:24px; font-weight:900; letter-spacing:-.02em;}
  .viz.v6 .pos{
    font-size:12px; color: var(--soft);
    background: rgba(151,202,219,.18); padding:3px 8px; border-radius:99px;
  }

  /* viz preventivi - offerta che diventa commessa */
  .viz.vq{
    background: linear-gradient(135deg, #EAF3F7 0%, var(--mist) 100%);
    display:flex; align-items:center; justify-content:center; gap:16px; padding:0 18px;
  }
  .vq-doc{
    width:190px; max-width:52%; background:var(--white); border-radius:12px;
    padding:10px 12px; box-shadow: var(--shadow-sm); display:grid; gap:6px;
  }
  .vq-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .vq-row i{ height:6px; border-radius:3px; background:var(--mist); }
  .vq-row b, .vq-total b{ font-size:11px; color:var(--ink); white-space:nowrap; }
  .vq-total{
    display:flex; justify-content:space-between; align-items:center;
    border-top:1px dashed var(--line-2); padding-top:6px; font-size:11px; color:var(--muted);
  }
  .vq-total b{ color:var(--white); background:var(--accent); padding:2px 7px; border-radius:99px; }
  .vq-arrow{ color:var(--accent); flex:none; animation: vnudge 1.6s ease-in-out infinite; }
  .vq-job{
    background:var(--ink); color:var(--mist); border-radius:12px; padding:12px 14px;
    display:grid; gap:2px; box-shadow: var(--shadow-md);
  }
  .vq-job .mono{ font-size:10px; color:var(--soft); }
  .vq-job b{ font-size:18px; font-weight:900; color:var(--white); letter-spacing:-.02em; }
  @keyframes vnudge{ 0%,100%{ transform:translateX(0);} 50%{ transform:translateX(4px);} }

  /* viz gare - pacchetto ZIP analizzato dall'AI */
  .viz.vg{
    background: linear-gradient(135deg, var(--mist) 0%, #fff 100%);
    display:flex; align-items:center; justify-content:center; gap:18px; padding:0 18px;
  }
  .vg-zip{
    position:relative; overflow:hidden; flex:none;
    width:66px; height:84px; border-radius:12px; background:var(--ink);
    display:flex; align-items:flex-end; justify-content:center; padding-bottom:10px;
    box-shadow: var(--shadow-md);
  }
  .vg-zip .mono{ color:var(--mist); font-size:12px; }
  .vg-scan{
    position:absolute; left:8px; right:8px; top:12px; height:2px; border-radius:2px;
    background:var(--accent); box-shadow:0 0 10px 2px rgba(1,138,190,.6);
    animation: vscan 2.2s ease-in-out infinite;
  }
  @keyframes vscan{ 0%,100%{ top:12px;} 50%{ top:52px;} }
  .vg-tags{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:6px; width:230px; max-width:62%; }
  .vg-tags span{
    background:var(--white); border:1px solid var(--line); border-radius:8px;
    padding:6px 8px; display:grid; gap:5px; animation: vpop 3s ease-in-out infinite;
  }
  .vg-tags span:nth-child(2){ animation-delay:.3s; }
  .vg-tags span:nth-child(3){ animation-delay:.6s; }
  .vg-tags span:nth-child(4){ animation-delay:.9s; }
  .vg-tags em{ font-style:normal; font-size:10px; color:var(--accent); }
  .vg-tags i{ height:5px; border-radius:3px; background:var(--mist); }
  @keyframes vpop{ 0%,100%{ opacity:1;} 50%{ opacity:.55;} }
  .vg-ai{
    position:absolute; top:12px; right:12px;
    display:inline-flex; align-items:center; gap:4px;
    font-size:11px; font-weight:700; color:var(--white); background:var(--deep);
    padding:4px 8px; border-radius:99px;
  }

  /* viz pareto - costi dei materiali dalle fatture */
  .viz.vp{
    background: linear-gradient(180deg, #EAF3F7 0%, #fff 100%);
    padding:16px 20px 12px; display:flex; flex-direction:column; gap:8px;
  }
  .vp-plot{ position:relative; flex:1; }
  .vp-bars{ position:absolute; inset:0; display:grid; grid-template-columns: repeat(7,1fr); gap:8px; align-items:end; }
  .vp-bars span{ border-radius:5px 5px 2px 2px; background:var(--soft); }
  .vp-bars span:nth-child(1){ background:var(--ink); }
  .vp-bars span:nth-child(2){ background:var(--deep); }
  .vp-bars span:nth-child(3){ background:var(--accent); }
  .vp-line{ position:absolute; inset:0; width:100%; height:100%; color:var(--accent); overflow:visible; }
  .vp-legend{ display:flex; justify-content:space-between; }
  .vp-legend .mono{ font-size:10px; color:var(--deep); }

  /* viz semaforo - idoneità dei lavoratori */
  .viz.vs{
    background: linear-gradient(180deg, #EAF3F7 0%, #fff 100%);
    padding:12px 14px; display:flex; flex-direction:column; justify-content:center; gap:6px;
  }
  .vs-row{
    display:flex; align-items:center; gap:10px; height:32px; padding:0 10px;
    background:var(--white); border:1px solid var(--line); border-radius:10px;
  }
  .vs-av{
    width:22px; height:22px; border-radius:50%; flex:none;
    background:var(--mist); color:var(--deep); font-size:9px; font-weight:700;
    display:inline-flex; align-items:center; justify-content:center;
  }
  .vs-name{ height:6px; border-radius:3px; background:var(--mist); }
  .vs-tag{
    margin-left:auto; font-size:11px; font-weight:700; color:var(--deep);
    background:var(--mist); padding:2px 8px; border-radius:99px; white-space:nowrap;
  }
  .vs-dot{ width:10px; height:10px; border-radius:50%; flex:none; }
  .vs-dot.ok{ background:#0E8F5A; box-shadow:0 0 0 3px rgba(14,143,90,.15); }
  .vs-dot.warn{ background:#D9971E; box-shadow:0 0 0 3px rgba(217,151,30,.18); }
  .vs-dot.ko{ background:#D64545; box-shadow:0 0 0 3px rgba(214,69,69,.15); animation: vblink 1.6s ease-in-out infinite; }
  @keyframes vblink{ 0%,100%{ opacity:1;} 50%{ opacity:.4;} }

  /* viz documenti + QR per il coordinatore */
  .viz.vd{
    background: linear-gradient(135deg, var(--mist) 0%, #fff 100%);
    display:flex; align-items:center; justify-content:center; gap:18px;
  }
  .vd-files{ position:relative; width:74px; height:88px; flex:none; }
  .vd-files span{
    position:absolute; inset:0; border-radius:10px; background:var(--white);
    border:1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .vd-files span:nth-child(1){ transform: rotate(-9deg) translateX(-8px); }
  .vd-files span:nth-child(2){ transform: rotate(5deg) translateX(6px); }
  .vd-files span:nth-child(3){
    background:
      linear-gradient(var(--mist), var(--mist)) 12px 16px / 50px 6px no-repeat,
      linear-gradient(var(--mist), var(--mist)) 12px 30px / 38px 6px no-repeat,
      linear-gradient(var(--mist), var(--mist)) 12px 44px / 46px 6px no-repeat,
      linear-gradient(var(--accent), var(--accent)) 12px 64px / 22px 6px no-repeat,
      var(--white);
  }
  .vd-arrow{ color:var(--accent); flex:none; animation: vnudge 1.6s ease-in-out infinite; }
  .vd-share{ display:flex; flex-direction:column; align-items:center; gap:6px; }
  .vd-qr{
    background:var(--white); color:var(--ink); padding:6px; border-radius:10px;
    box-shadow: var(--shadow-md); line-height:0;
  }
  .vd-link{ font-size:10px; color:var(--deep); }

  /* viz scadenze - mezzi, visite, corsi */
  .viz.vt{
    background:var(--white); border:1px solid var(--line);
    padding:14px 16px; display:flex; flex-direction:column; justify-content:center; gap:12px;
  }
  .vt-row{ display:grid; grid-template-columns: 96px 1fr auto; align-items:center; gap:12px; }
  .vt-label{ font-size:12px; font-weight:700; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .vt-track{ height:8px; border-radius:4px; background:var(--mist); overflow:hidden; }
  .vt-track i{ display:block; height:100%; border-radius:4px; background:var(--accent); }
  .vt-row:last-child .vt-track i{ background:var(--ink); }
  .vt-badge{
    font-size:11px; font-weight:700; color:var(--deep); background:var(--mist);
    padding:3px 8px; border-radius:99px; white-space:nowrap; min-width:54px; text-align:center;
  }
  .vt-badge.late{ background:var(--ink); color:var(--white); }

  @media (prefers-reduced-motion: reduce){
    .vq-arrow, .vd-arrow, .vg-scan, .vg-tags span, .vs-dot.ko{ animation:none; }
  }

  /* TARGET */
  .target{
    background: var(--paper);
  }
  .targets{
    display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top:48px;
  }
  .t-card{
    background:var(--white); border:1px solid var(--line); border-radius:18px;
    padding: 22px; display:flex; align-items:flex-start; gap:14px;
    transition: transform .3s ease, border-color .3s ease;
  }
  .t-card:hover{ border-color: var(--accent); transform: translateY(-2px);}
  .t-card .ic{
    width:40px; height:40px; flex:none; border-radius:12px;
    background:var(--mist); color:var(--deep);
    display:inline-flex; align-items:center; justify-content:center;
  }
  .t-card .ic svg{ width:20px; height:20px;}
  .t-card .ttl{ font-weight:700; font-size:16px; line-height:1.2;}
  .t-card .sub{ font-size:13px; color:var(--muted); margin-top:2px;}

  /* PRICING */
  .pricing{ background: var(--paper); }
  h1.pricing-title{ font-size: clamp(36px, 4.6vw, 64px); letter-spacing:-0.022em; line-height:1.04; }
  .page-template-page-prezzi-php .pricing{ padding-top:160px; }
  .plans-grid{
    display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:48px;
    align-items:start;
  }
  .plan-card{
    background: var(--white); border:1px solid var(--line); border-radius:var(--r-md);
    box-shadow: var(--shadow-sm); color:var(--ink);
    display:flex; flex-direction:column;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .plan-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md);}
  .plan-top{ padding:28px 28px 24px; }
  .plan-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:26px; }
  .plan-name{ font-size:17px; font-weight:700; }
  .plan-badge{
    font-size:11px; font-weight:700; line-height:1; white-space:nowrap;
    padding:6px 10px; border-radius:999px;
    background: var(--mist); color: var(--ink);
  }
  .plan-price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; margin-top:14px;}
  .plan-price .v{ font-size:40px; font-weight:900; letter-spacing:-0.025em; line-height:1.05; }
  .plan-price .per{ font-size:14px; color:var(--muted);}
  .plan-billing{ font-size:12px; color:var(--muted); margin-top:10px; }
  .plan-desc{ font-size:14px; line-height:1.45; color:var(--muted); margin:12px 0 0; max-width:34ch; }
  .plan-cta{ margin-top:22px; }
  .plan-cta .btn{ width:100%; justify-content:center; border-radius:8px; padding:12px 16px; font-size:14px; }
  .plan-body{ border-top:1px solid var(--line); padding:22px 28px 28px; }
  .plan-features-heading{
    font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    color: var(--accent); margin-bottom:16px;
  }
  .plan-list{ list-style:none; padding:0; margin:0; display:grid; gap:12px;}
  .plan-list li{ font-size:14px; line-height:1.4; display:flex; gap:10px; align-items:flex-start;}
  .plan-list li svg{ flex:none; color: var(--deep); margin-top:3px;}
  .plan-excluded{ border-top:1px solid var(--line); padding:20px 28px 26px; }
  .plan-excluded-heading{
    font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    color: var(--muted); margin-bottom:12px;
  }
  .plan-list-excluded{ gap:10px; }
  .plan-list-excluded li{ font-size:13px; color:var(--muted); }
  .plan-list-excluded li svg{ color:var(--muted); margin-top:2px; }

  /* Card in evidenza: scura */
  .plan-card.plan-highlighted{
    background: var(--ink); border-color: var(--ink); color: var(--white);
    box-shadow: var(--shadow-lg);
  }
  .plan-highlighted .plan-badge{ background: rgba(255,255,255,.14); color: var(--white); }
  .plan-highlighted .plan-price .per,
  .plan-highlighted .plan-billing{ color: rgba(255,255,255,.62); }
  .plan-highlighted .plan-desc{ color: rgba(255,255,255,.88); }
  .plan-highlighted .plan-body{ border-top-color: rgba(255,255,255,.14); }
  .plan-highlighted .plan-features-heading,
  .plan-highlighted .plan-list li svg{ color: var(--soft); }
  .plan-highlighted .plan-excluded{ border-top-color: rgba(255,255,255,.14); }
  .plan-highlighted .plan-excluded-heading{ color: rgba(255,255,255,.9); }
  .plan-highlighted .plan-list-excluded li{ color: rgba(255,255,255,.85); }
  .plan-highlighted .plan-list-excluded li svg{ color: rgba(255,255,255,.7); }
  .plan-highlighted .plan-cta .btn-light{ border-color: transparent; }
  .plans-footnote{
    margin:32px auto 0; text-align:center; max-width:60ch;
  }

  @media (max-width: 980px){
    .plans-grid{ grid-template-columns: 1fr; max-width:520px; margin-left:auto; margin-right:auto; }
  }


  /* STORY */
  .story{ background: var(--paper);}
  .story-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items:center;}
  .story-photo{
    aspect-ratio: 4/5; border-radius:32px;
    background:
      repeating-linear-gradient(135deg, rgba(0,27,72,0.06) 0 8px, rgba(0,27,72,0.02) 8px 16px),
      var(--mist);
    display:flex; align-items:flex-end; padding:20px;
    box-shadow: var(--shadow-lg);
  }
  .story-photo .ph-tag{ background: rgba(255,255,255,0.92);}

  /* DEMO */
  .demo{
    background: linear-gradient(135deg, var(--mist) 0%, var(--paper) 100%);
  }
  .demo-card{
    background:var(--white); border-radius:32px; padding: 56px;
    border:1px solid var(--line); box-shadow: var(--shadow-md);
    display:grid; grid-template-columns: 1.2fr 1fr; gap:48px; align-items:center;
  }
  .demo-card h2{ max-width: 14ch;}
  .demo-steps{ display:grid; gap:14px;}
  .ds{
    display:flex; gap:14px; align-items:flex-start;
    padding:14px 16px; border:1px solid var(--line); border-radius:14px;
    background: var(--paper);
    transition: border-color .25s, background .25s;
  }
  .ds:hover{ border-color: var(--accent); background:#fff;}
  .ds .n{
    width:28px; height:28px; flex:none; border-radius:8px;
    background: var(--ink); color:var(--mist);
    display:inline-flex; align-items:center; justify-content:center;
    font-weight:700; font-size:13px;
  }
  .ds .t{ font-weight:700; font-size:15px; line-height:1.3;}
  .ds .s{ color: var(--muted); font-size:13px; margin-top:2px;}

  /* FAQ */
  .faq{ background: var(--mist);}
  .faq-grid{ display:grid; grid-template-columns: 0.85fr 1.6fr; gap:32px; align-items:start;}
  .faq-card{
    background:var(--white); border-radius:28px; padding:40px 32px;
    display:flex; flex-direction:column; justify-content:space-between;
    box-shadow: var(--shadow-sm);
  }
  .faq-card img{ width:56px; height:56px; border-radius:16px;}
  .faq-card h3{ font-size:34px; margin-top:28px;}
  .faq-card .cta-row{ margin-top:40px; display:flex; gap:12px; align-items:center;}
  .faq-pill{
    background:var(--ink); color:var(--white); padding:16px 26px; border-radius:999px;
    font-weight:700; font-size:14px; transition: background .2s ease;
  }
  .faq-pill:hover{ background:var(--deep);}
  .faq-round{
    width:52px; height:52px; border-radius:50%; background:var(--ink); color:var(--white);
    display:inline-flex; align-items:center; justify-content:center; flex:none;
    transition: background .2s ease, transform .2s ease;
  }
  .faq-round:hover{ background:var(--deep); transform: translateY(-2px);}
  .faq-head h2{ max-width:20ch;}
  .faq-list{ display:grid; gap:12px; margin-top:28px;}
  .faq-item{
    background: var(--white); border:1px solid var(--line); border-radius:18px;
    padding: 0; overflow:hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .faq-item[open]{ border-color: var(--accent); box-shadow: var(--shadow-sm);}
  .faq-item summary{
    list-style:none; cursor:pointer; padding: 22px 24px;
    display:flex; align-items:center; justify-content:space-between; gap:24px;
    font-weight:700; font-size:18px; line-height:1.3;
  }
  .faq-item summary::-webkit-details-marker{ display:none;}
  .faq-item .plus{
    width:36px; height:36px; flex:none; border-radius:50%; background:var(--mist); color:var(--deep);
    display:inline-flex; align-items:center; justify-content:center; transition: transform .3s ease, background .3s ease;
  }
  .faq-item[open] .plus{ transform: rotate(45deg); background:var(--ink); color:var(--mist);}
  .faq-item .ans{ padding: 0 24px 22px 24px; color:var(--muted); font-size:16px; line-height:1.6; max-width: 70ch;}
  @media (max-width: 980px){
    .faq-grid{ grid-template-columns: 1fr;}
  }

  /* FAQ pagina dedicata */
  .faq-page{ padding: 24px 0 80px; }
  .faq-list-page{ max-width: 760px; margin: 28px auto 0; }
  .faq-category-title{
    font-size:20px; margin: 36px 0 4px; padding-top: 8px;
  }
  .faq-list-page .faq-category-title:first-child{ margin-top:0; }

  /* CTA FINAL */
  .final{
    background: var(--ink); color: var(--mist);
    position:relative; overflow:hidden;
  }
  .final::before{
    content:""; position:absolute; inset:0;
    background:
      radial-gradient(40% 50% at 80% 20%, rgba(1,138,190,.4), transparent 60%),
      radial-gradient(40% 60% at 20% 80%, rgba(151,202,219,.18), transparent 60%);
  }
  .final-inner{
    position:relative;
    text-align:center; padding: 140px 0 0;
  }
  .final-headline{
    display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
    gap:0 20px; row-gap:14px; max-width:920px; margin:0 auto;
    font-weight:900; text-transform:uppercase; letter-spacing:-0.02em;
    font-size:clamp(38px, 6.2vw, 80px); line-height:0.98; color:var(--white);
  }
  .final-headline .thumb{
    width:130px; height:74px; border-radius:14px; overflow:hidden;
    display:inline-block; box-shadow: var(--shadow-lg); flex:none;
  }
  .final-headline .thumb img{ width:100%; height:100%; object-fit:cover;}
  .final-paragraph{
    margin:24px auto 0; max-width:54ch; text-align:center;
    font-size:18px; line-height:1.6; color: var(--soft);
    text-transform:none; font-weight:400; letter-spacing:normal;
  }
  .final-actions-row{
    margin-top:40px; display:flex; gap:14px; justify-content:center; align-items:center;
  }
  .final-pill{
    background:var(--white); color:var(--ink);
    padding:19px 34px; border-radius:999px;
    font-weight:700; font-size:15px; letter-spacing:.02em;
    transition: background .2s ease;
  }
  .final-pill:hover{ background:var(--mist); }
  .final-round{
    width:62px; height:62px; border-radius:50%;
    background:var(--white); color:var(--ink);
    display:inline-flex; align-items:center; justify-content:center;
    transition: background .2s ease, transform .2s ease;
    flex:none;
  }
  .final-round:hover{ background:var(--mist); transform: translateY(-2px);}
  .final-shot{
    position:relative; z-index:1; margin:64px auto 0;
    max-width:1100px; padding-bottom:100px;
  }
  .final-shot img{
    width:100%; height:auto; display:block; border-radius:24px; overflow:hidden;
    border:1px solid rgba(214,232,238,.14);
    box-shadow: var(--shadow-lg);
  }
  @media (max-width: 620px){
    .final-headline{ gap:0 12px; row-gap:10px;}
    .final-headline .thumb{ width:96px; height:56px; border-radius:10px;}
    .final-shot{ margin-top:40px; padding-bottom:64px; }
  }

  /* FOOTER */
  footer{ background: var(--paper); padding: 64px 5% 56px;}
  footer .footer-card{
    max-width:var(--maxw); margin:0 auto;
    background: var(--ink); color:var(--mist);
    border-radius: var(--r-xl);
    padding: 56px 48px 28px;
  }
  footer .footer-top{
    display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:40px;
  }
  footer .footer-brand .brand{ color:var(--white);}
  footer .footer-desc{
    margin-top:18px; font-size:14px; line-height:1.6; color: rgba(214,232,238,.65);
    max-width:34ch;
  }
  footer .footer-col-title{
    font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    color: var(--white); margin-bottom:18px;
  }
  footer .footer-col{ display:flex; flex-direction:column; gap:12px;}
  footer .footer-col a{ color: rgba(214,232,238,.7); font-size:14px;}
  footer .footer-col a:hover{ color: var(--white);}
  footer .footer-divider{
    margin-top:48px; border-top:1px solid rgba(151,202,219,.16);
  }
  footer .footer-bottom{
    margin-top:24px; display:flex; justify-content:space-between; align-items:center;
    flex-wrap:wrap; gap:12px;
  }
  footer .copy{ font-size:13px; color: rgba(214,232,238,.5);}

  @media (max-width: 980px){
    footer .footer-top{ grid-template-columns: 1fr 1fr; gap:32px;}
    footer .footer-card{ padding: 40px 28px 24px;}
  }
  @media (max-width: 620px){
    footer .footer-top{ grid-template-columns: 1fr;}
  }

  /* COMMESSA HUB */
  .commessa-hub{ background:var(--paper); }
  .hub-diagram{
    position:relative; width:min(560px,92vw); aspect-ratio:1/1; margin:56px auto 0;
  }
  .hub-diagram svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible;}
  .hub-line{ stroke:var(--line-2); stroke-width:1.4; stroke-dasharray:3 3; vector-effect:non-scaling-stroke;}
  .hub-center-node{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:120px; height:120px; border-radius:50%;
    background:var(--ink); color:var(--white);
    display:flex; align-items:center; justify-content:center; text-align:center;
    font-weight:900; font-size:16px; letter-spacing:-.01em; line-height:1.2;
    box-shadow: var(--shadow-lg); z-index:2;
  }
  .hub-node{
    position:absolute; transform:translate(-50%,-50%);
    width:132px; padding:12px 10px; border-radius:16px;
    background:var(--white); border:1px solid var(--line);
    box-shadow: var(--shadow-sm); text-align:center;
    font-size:12.5px; font-weight:700; color:var(--ink); line-height:1.25;
    letter-spacing:.01em; z-index:2;
    transition: border-color .2s ease, transform .2s ease;
  }
  .hub-node:hover{ border-color:var(--accent); transform:translate(-50%,-50%) translateY(-2px);}
  .hub-close{
    text-align:center; margin-top:48px;
    font-size:20px; font-weight:700; color:var(--ink); letter-spacing:-.01em;
    max-width:52ch; margin-left:auto; margin-right:auto; line-height:1.4;
  }
  @media (max-width:620px){
    .hub-node{ width:100px; font-size:11px; padding:9px 6px;}
    .hub-center-node{ width:96px; height:96px; font-size:13px;}
  }

  /* RESPONSIVE */
  @media (max-width: 980px){
    .hero-grid, .problem-grid, .demo-card, .story-grid, .price-card{ grid-template-columns: 1fr; gap: 40px;}
    .hero-visual{ height: 460px; max-width:520px; margin-inline:auto;}
    .flow, .features-grid, .targets{ grid-template-columns: 1fr 1fr;}
    .feat, .feat.lg{ grid-column: span 1;}
    .section-head{ grid-template-columns: 1fr;}
    section{ padding: 88px 0;}
    .nav-links{ display:none;}
    h1{ font-size: 48px;}
    .price-big .v{ font-size: 64px;}
    .hero-bullets{ grid-template-columns: 1fr;}
    .demo-card, .price-card{ padding: 32px;}
  }
  @media (max-width: 620px){
    .flow, .features-grid, .targets{ grid-template-columns: 1fr;}
    .wrap{ padding: 0 5%;}
    nav{ padding: 14px 5%;}
    .brand-text-extra{ display:none;}
    .final-inner{ padding: 88px 0;}
  }

  /* DEMO MODAL (modulo monday.com o Forminator) */
  .demo-modal{
    position:fixed; inset:0; z-index:300; /* sopra il banner cookie (200) */
    display:none; align-items:center; justify-content:center;
  }
  .demo-modal.is-open{ display:flex; }
  .demo-modal-backdrop{
    position:absolute; inset:0; background:rgba(0,27,72,.55);
    backdrop-filter: blur(2px);
  }
  .demo-modal-panel{
    position:relative; z-index:1;
    background:var(--white); border-radius:24px; padding:40px;
    max-width:560px; width:92%; max-height:86vh; overflow-y:auto;
    box-shadow: var(--shadow-lg);
  }
  .demo-modal-close{
    position:absolute; top:14px; right:14px;
    width:36px; height:36px; border-radius:50%;
    background:var(--mist); color:var(--ink); border:none;
    font-size:20px; line-height:1; cursor:pointer;
  }
  .demo-modal-close:hover{ background:var(--ink); color:var(--mist); }
  .demo-modal-close{ z-index:2; }
  .demo-modal-panel--embed{ padding:0; max-width:680px; overflow:hidden; }
  .demo-modal-iframe{
    display:block; width:100%; height:min(80vh, 760px); border:0;
  }

  /* ARTICLE (single post) */
  .article-hero{ background:var(--paper); padding:160px 0 0; }
  .page-hero{ padding-bottom:48px; }
  .article-hero-inner{ max-width:760px; margin:0 auto; text-align:center; }
  .article-title{
    margin-top:18px; font-size:clamp(32px,4.6vw,56px); line-height:1.08;
  }
  .article-excerpt{ margin:22px auto 0; text-align:center; }
  .article-cover{
    margin:48px auto 0; max-width:1040px; border-radius:var(--r-xl); overflow:hidden;
    box-shadow:var(--shadow-lg);
  }
  .article-cover img{ width:100%; height:auto; display:block; }

  .article-body{ background:var(--paper); padding:64px 0 100px; }
  .article-body-grid{ max-width:900px; margin:0 auto; }
  .article-content{ font-size:18px; line-height:1.7; color:var(--ink); }
  .article-content p{ margin:0 0 22px; }
  .article-content h2{
    font-size:clamp(26px,3vw,34px); margin:48px 0 18px; letter-spacing:-0.02em;
  }
  .article-content h3{ font-size:22px; margin:36px 0 14px; }
  .article-content ul, .article-content ol{ margin:0 0 22px; padding-left:22px; color:var(--ink); }
  .article-content li{ margin-bottom:8px; line-height:1.6; }
  .article-content img{ border-radius:var(--r-md); margin:28px 0; }
  .article-content a{ color:var(--accent); text-decoration:underline; text-decoration-color:rgba(1,138,190,.35); }
  .article-content blockquote{
    margin:32px 0; padding:4px 0 4px 24px; border-left:3px solid var(--accent);
    color:var(--muted); font-size:19px; font-style:italic;
  }
  .article-content table{
    width:100%; margin:24px 0 32px; border-collapse:collapse; font-size:15px;
  }
  .article-content th, .article-content td{
    padding:12px 14px; border:1px solid var(--line); text-align:left; vertical-align:top;
  }
  .article-content th{ background:var(--mist); font-weight:700; color:var(--ink);}
  .article-content tr:nth-child(even) td{ background: rgba(0,27,72,0.02); }
  .article-content hr{ border:none; border-top:1px solid var(--line); margin:40px 0;}
  .article-content strong{ color:var(--ink); }

  .article-related{ background:var(--white); padding:100px 0; border-top:1px solid var(--line); }
  .article-related-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; margin-top:48px; }
  .article-card{
    display:block; border-radius:var(--r-lg); overflow:hidden; background:var(--paper);
    border:1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
  }
  .article-card:hover{ transform: translateY(-4px); box-shadow:var(--shadow-md); }
  .article-card-thumb{ aspect-ratio: 4/3; overflow:hidden; background:var(--mist); }
  .article-card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
  .article-card-thumb-fallback{ width:100%; height:100%; background:linear-gradient(135deg,var(--mist),var(--soft)); }
  .article-card-body{ padding:20px; }
  .article-card-cat{ color:var(--accent); margin-bottom:8px; text-transform:uppercase; }
  .article-card h3{ font-size:18px; line-height:1.3; }
  .article-card-excerpt{ margin-top:10px; font-size:14px; line-height:1.55; color:var(--muted); }

  /* BLOG ARCHIVE */
  .blog-hero{ background:var(--paper); padding:160px 0 56px; }
  .blog-hero-inner{ max-width:680px; margin:0 auto; text-align:center; }
  .blog-hero-lede{ margin:18px auto 0; text-align:center; }
  .blog-list{ background:var(--paper); padding:0 0 100px; }
  .blog-grid{ margin-top:0; }
  .blog-pagination{ margin-top:56px; display:flex; justify-content:center; }
  .blog-pagination .nav-links{ display:flex; gap:8px; align-items:center; }
  .blog-pagination .page-numbers{
    display:inline-flex; align-items:center; justify-content:center;
    min-width:40px; height:40px; padding:0 12px; border-radius:999px;
    background:var(--white); border:1px solid var(--line); color:var(--ink);
    font-weight:600; font-size:14px; transition: border-color .2s ease, background .2s ease;
  }
  .blog-pagination .page-numbers.current{ background:var(--ink); color:var(--white); border-color:var(--ink); }
  .blog-pagination .page-numbers:hover{ border-color:var(--accent); }
  .blog-pagination .page-numbers.dots{ background:transparent; border:none; }

  @media (max-width: 980px){
    .article-related-grid{ grid-template-columns: 1fr; }
    .blog-hero{ padding-top:120px; }
    .article-hero{ padding-top:120px; }
  }

  /* CHI SIAMO */
  .about-hero{ background:var(--paper); padding:160px 0 56px; }
  .about-hero-inner{ max-width:680px; margin:0 auto; text-align:center; }

  .about-values{ background:var(--white); padding:100px 0; border-top:1px solid var(--line); }
  .about-values-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; margin-top:48px; }
  .about-value-card{
    background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg);
    padding:28px; transition: transform .3s ease, box-shadow .3s ease;
  }
  .about-value-card:hover{ transform: translateY(-4px); box-shadow:var(--shadow-md); }
  .about-value-card h3{ font-size:19px; margin-bottom:10px; }
  .about-value-card p{ font-size:14px; line-height:1.55; color:var(--muted); }

  .about-quote{ background:var(--ink); padding:100px 0; }
  .about-quote-block{ max-width:760px; margin:0 auto; text-align:center; border:none; }
  .about-quote-block p{
    font-family:"Satoshi", sans-serif; font-weight:700; font-size:clamp(24px,3vw,34px);
    line-height:1.3; color:var(--white); letter-spacing:-0.01em; margin:0;
  }
  .about-quote-block cite{
    display:block; margin-top:24px; font-style:normal; color:var(--soft); font-size:15px;
  }

  .about-team{ background:var(--paper); padding:100px 0; }
  .about-team-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:24px; margin-top:48px; }
  .about-team-card{ width:calc(33.333% - 16px); }
  .about-team-card{ text-align:center; }
  .about-team-photo{
    width:120px; height:120px; border-radius:50%; overflow:hidden; margin:0 auto 18px;
    background:var(--mist);
  }
  .about-team-photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
  .about-team-photo-fallback{ width:100%; height:100%; background:linear-gradient(135deg,var(--mist),var(--soft)); }
  .about-team-card h3{ font-size:18px; }
  .about-team-role{
    margin-top:6px; color:var(--accent); text-transform:uppercase; letter-spacing:.06em;
  }
  .about-team-bio{ margin-top:8px; font-size:14px; color:var(--muted); }

  @media (max-width: 980px){
    .about-values-grid{ grid-template-columns: 1fr 1fr; }
    .about-team-card{ width:calc(50% - 12px); }
    .about-hero{ padding-top:120px; }
  }
  @media (max-width: 620px){
    .about-values-grid{ grid-template-columns: 1fr; }
    .about-team-card{ width:100%; }
  }

  /* STRUMENTI */
  .tools-hero{ background:var(--paper); padding:160px 0 56px; }
  .tools-hero-inner{ max-width:680px; margin:0 auto; text-align:center; }
  .tools-list{ background:var(--paper); padding:0 0 100px; }
  .tools-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:24px; margin-top:0; }
  .tool-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
    padding:32px; transition: transform .3s ease, box-shadow .3s ease;
  }
  .tool-card:hover{ transform: translateY(-4px); box-shadow:var(--shadow-md); }
  .tool-card-number{ color:var(--accent); }
  .tool-card h3{ font-size:22px; margin-top:14px; line-height:1.25; }
  .tool-card p{ margin-top:12px; font-size:15px; line-height:1.55; color:var(--muted); }
  .tool-card-link{
    margin-top:20px; display:inline-flex; align-items:center; gap:8px;
    font-weight:700; font-size:14px; color:var(--ink);
  }
  .tool-card-link .arr{
    width:18px; height:18px; border-radius:50%; background:var(--mist);
    display:inline-flex; align-items:center; justify-content:center; transition: background .2s ease;
  }
  .tool-card-link:hover .arr{ background:var(--ink); color:var(--white); }

  @media (max-width: 980px){
    .tools-grid{ grid-template-columns: 1fr; }
    .tools-hero{ padding-top:120px; }
  }

  /* COOKIE BANNER */
  .cookie-banner{
    position:fixed; left:0; right:0; bottom:0; z-index:200;
    transform: translateY(110%); transition: transform .4s ease;
    padding: 0 5% 20px;
  }
  .cookie-banner.is-visible{ transform: translateY(0); }
  .cookie-banner-inner{
    max-width:980px; margin:0 auto;
    background: var(--white); border:1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px 28px;
    display:flex; align-items:center; gap:24px; flex-wrap:wrap;
  }
  .cookie-banner-text{
    flex:1 1 320px; font-size:14px; line-height:1.55; color:var(--muted);
  }
  .cookie-banner-text strong{ color:var(--ink); }
  .cookie-banner-text a{ color:var(--accent); text-decoration:underline; }
  .cookie-banner-actions{
    display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  }
  .cookie-banner-actions .btn{ padding:12px 18px; font-size:14px; white-space:nowrap; }
  .cookie-banner-prefs{
    max-width:980px; margin:10px auto 0;
    background: var(--white); border:1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px 28px;
  }
  .cookie-pref-row{
    display:flex; align-items:center; justify-content:space-between; gap:20px;
    padding:14px 0; border-bottom:1px solid var(--line);
  }
  .cookie-pref-row:last-of-type{ border-bottom:0; }
  .cookie-pref-title{ font-weight:700; font-size:14px; color:var(--ink); margin-bottom:4px;}
  .cookie-pref-row p{ font-size:13px; color:var(--muted); margin:0; max-width:48ch; line-height:1.5;}
  .cookie-toggle{ position:relative; display:inline-block; width:44px; height:26px; flex:none;}
  .cookie-toggle input{ opacity:0; width:0; height:0;}
  .cookie-toggle span{
    position:absolute; inset:0; background: var(--line-2); border-radius:999px;
    transition: background .2s ease; cursor:pointer;
  }
  .cookie-toggle span::before{
    content:""; position:absolute; width:20px; height:20px; left:3px; top:3px;
    background:var(--white); border-radius:50%; transition: transform .2s ease;
    box-shadow: var(--shadow-sm);
  }
  .cookie-toggle input:checked + span{ background: var(--accent); }
  .cookie-toggle input:checked + span::before{ transform: translateX(18px); }
  .cookie-toggle-disabled span{ opacity:.6; cursor:not-allowed; }
  .cookie-banner-prefs .cookie-banner-actions{ margin-top:18px; justify-content:flex-end; }

  @media (max-width: 620px){
    .cookie-banner-inner{ flex-direction:column; align-items:stretch; }
    .cookie-banner-actions{ justify-content:stretch; }
    .cookie-banner-actions .btn{ flex:1; justify-content:center; }
  }
