@import "tailwindcss";
:root{--navy:#0d1d30;--orange:#ff6b1a;--ink:#182333;--muted:#657385;--line:#dce3e8;--green:#168a62}*{box-sizing:border-box}html{background:#eef2f4}body{margin:0;color:var(--ink);background:linear-gradient(180deg,#fff 0,#fff 390px,#eef2f4 390px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.topbar{height:76px;padding:0 clamp(22px,6vw,92px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ecef;background:#fff}.brand{display:flex;align-items:center;gap:11px;color:var(--navy);text-decoration:none}.brand-nicsa{font-size:24px;font-weight:900;font-style:italic;letter-spacing:-1.5px}.brand-rule{width:3px;height:25px;border-radius:3px;background:var(--orange);transform:skew(-12deg)}.brand-product{font-size:11px;font-weight:800;letter-spacing:1.8px}.secure{color:#516174;font-size:13px;display:flex;gap:8px;align-items:center}.secure>span{width:8px;height:8px;background:#1bb77d;border-radius:50%;box-shadow:0 0 0 4px #e6f8f1}.hero{max-width:1190px;margin:0 auto;padding:58px 28px 46px;display:flex;justify-content:space-between;align-items:flex-end;gap:40px}.eyebrow,.panel-kicker{color:var(--orange);font-size:11px;font-weight:900;letter-spacing:2px;margin:0 0 16px}.hero h1{margin:0;color:var(--navy);font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-2.6px;max-width:760px}.hero h1 em{color:var(--orange);font-style:normal}.intro{color:var(--muted);font-size:17px;line-height:1.65;max-width:650px;margin:20px 0 0}.trust-card{flex:none;width:260px;border:1px solid var(--line);border-radius:17px;padding:18px;display:flex;gap:13px;align-items:center;background:#fff;box-shadow:0 12px 35px rgba(15,35,55,.07)}.trust-card>b{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#fff;background:var(--navy)}.trust-card strong,.trust-card span{display:block}.trust-card strong{font-size:13px;color:var(--navy)}.trust-card span{font-size:11px;color:var(--muted);margin-top:3px}.workspace{max-width:1190px;margin:0 auto 40px;padding:0 28px;display:grid;grid-template-columns:285px 1fr;align-items:start;gap:24px}.progress-panel,.form-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 60px rgba(16,34,52,.08)}.progress-panel{padding:28px 24px 22px}.progress-panel ol{list-style:none;padding:0;margin:0}.progress-panel li{min-height:50px;display:flex;align-items:center;gap:13px;color:#99a4af;font-size:13px;font-weight:650;position:relative}.progress-panel li:not(:last-child)::after{content:"";position:absolute;left:14px;top:38px;height:25px;border-left:1px dashed #d4dce2}.step-dot{width:29px;height:29px;border:1px solid #d7dfe5;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;background:#fff;z-index:1}.progress-panel li.active{color:var(--navy)}.progress-panel li.active .step-dot{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 0 0 5px #fff1e8}.progress-panel li.done{color:#3d5368}.progress-panel li.done .step-dot{border-color:#9cd8c0;color:var(--green);background:#eef9f5}.help-card{border-top:1px solid #e7ecef;margin-top:20px;padding-top:20px;display:flex;gap:11px;align-items:center}.help-card>span{width:32px;height:32px;border-radius:9px;background:#edf2f5;display:grid;place-items:center;font-weight:800;color:var(--navy)}.help-card strong,.help-card a{display:block;font-size:11px}.help-card a{color:var(--orange);margin-top:2px;text-decoration:none;font-weight:750}.form-card{min-height:570px;overflow:hidden}.stage{padding:50px clamp(28px,6vw,72px) 46px;animation:reveal .32s ease both}.stage.compact,.complete-stage{text-align:center;max-width:650px;margin:0 auto}@keyframes reveal{from{opacity:0;transform:translateY(8px)}}.mark{color:var(--orange);background:#fff0e7;border-radius:30px;display:inline-flex;padding:7px 11px;font-size:10px;font-weight:900;letter-spacing:1.4px}.stage h2{color:var(--navy);margin:17px 0 7px;font-size:clamp(28px,4vw,40px);letter-spacing:-1.2px}.stage-intro{color:var(--muted);line-height:1.65;margin:0 0 29px;font-size:14px}.fields{display:grid;gap:18px}.two-col{grid-template-columns:1fr 1fr}.fields label{color:#344457;font-size:11px;font-weight:800}.fields input,.fields select{width:100%;margin-top:8px;border:1px solid #d6dee5;border-radius:10px;background:#fbfcfd;padding:14px 15px;color:var(--navy);outline:none}.fields input:focus,.fields select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #fff0e7;background:#fff}.info-line{margin:21px 0;padding:12px 14px;border-radius:10px;background:#f1f6f8;color:#587083;display:flex;align-items:center;gap:10px;font-size:12px}.info-line span{width:20px;height:20px;display:grid;place-items:center;color:#fff;background:#7490a7;border-radius:50%;font-weight:900}.primary{width:100%;border:0;border-radius:11px;color:#fff;background:linear-gradient(135deg,#ff721f,#f15b0f);padding:16px 19px;font-weight:850;box-shadow:0 10px 24px rgba(255,101,20,.22);display:flex;align-items:center;justify-content:center;gap:10px}.primary:hover{transform:translateY(-1px)}.primary:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}.primary span{font-size:18px}.text-button{border:0;background:transparent;color:#647488;font-size:12px;font-weight:750;padding:14px}.mail-icon{width:64px;height:64px;display:grid;place-items:center;margin:24px auto 17px;border-radius:20px;color:var(--orange);background:#fff0e7;font-size:28px}.demo-note{border:1px dashed #f7ad81;background:#fff8f3;color:#8a4b28;border-radius:9px;padding:10px;font-size:12px;margin:-10px auto 22px;max-width:390px}.otp-row{display:flex;justify-content:center;gap:9px;margin:24px 0 28px}.otp-row input{width:49px;height:58px;text-align:center;border:1px solid #ccd6dd;border-radius:10px;font-size:24px;color:var(--navy);outline:none}.otp-row input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #fff0e7}.title-row{display:flex;justify-content:space-between;gap:25px;align-items:start}.outline{border:1px solid #d4dde3;background:#fff;border-radius:9px;padding:10px 13px;color:#4d6072;font-size:11px;font-weight:750}.notice-box{border:1px solid #dbe3e8;border-radius:13px;max-height:305px;overflow:auto;padding:22px;background:#fbfcfd}.notice-lead{margin:0 0 21px;color:#4e5e6e;font-size:12px;line-height:1.65}.notice-item{display:flex;gap:13px;padding:15px 0;border-top:1px solid #e5eaed}.notice-item>span{color:var(--orange);font-size:10px;font-weight:900}.notice-item strong{display:block;font-size:12px;color:var(--navy)}.notice-item p{margin:4px 0 0;color:#647386;font-size:11px;line-height:1.55}.check-row{margin:19px 0;padding:16px;display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe3e8;border-radius:11px;font-size:12px;color:#44586b;line-height:1.5;cursor:pointer}.check-row input{accent-color:var(--orange);width:18px;height:18px;flex:none}.signature-wrap{border:1px solid #d5dee4;border-radius:13px;overflow:hidden;background:repeating-linear-gradient(0deg,#fff,#fff 31px,#f5f7f8 32px);position:relative}.signature-head{display:flex;justify-content:space-between;padding:11px 14px;background:#f4f7f8;border-bottom:1px solid #dce3e7;color:#536679;font-size:11px;font-weight:750}.signature-head button{border:0;background:transparent;color:var(--orange);font-size:11px;font-weight:800}.signature-wrap canvas{width:100%;height:190px;display:block;touch-action:none}.sign-hint{position:absolute;inset:54px 0 0;display:grid;place-items:center;color:#a8b1b9;font-family:cursive;font-size:27px;pointer-events:none}.legal-summary{display:flex;gap:12px;margin:18px 0;padding:14px;border-radius:11px;background:#eef8f4;color:#557064;font-size:11px;line-height:1.55}.legal-summary>span{width:23px;height:23px;flex:none;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--green)}.legal-summary p{margin:2px 0 0}.success-ring{width:83px;height:83px;margin:0 auto 22px;border-radius:50%;display:grid;place-items:center;background:#e9f8f2;color:var(--green);border:9px solid #f5fcf9;font-size:31px;font-weight:900}.receipt-card{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:1px;background:#dce4e8;border:1px solid #dce4e8;border-radius:12px;overflow:hidden;margin:26px 0 20px;text-align:left}.receipt-card>div{background:#f8fafb;padding:16px}.receipt-card span,.receipt-card strong{display:block}.receipt-card span{font-size:8px;letter-spacing:1.2px;color:#84909b;font-weight:900}.receipt-card strong{font-size:11px;color:var(--navy);margin-top:6px}.receipt-card .green{color:var(--green)}.sent-note{font-size:10px;color:#87929d;line-height:1.55;margin:13px auto 0;max-width:470px}footer{max-width:1134px;margin:0 auto;padding:19px 0 32px;color:#7d8993;display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #d9e0e4}footer a{color:var(--orange);text-decoration:none}
@media(max-width:820px){body{background:linear-gradient(180deg,#fff 0,#fff 340px,#eef2f4 340px)}.hero{padding-top:38px}.trust-card{display:none}.workspace{grid-template-columns:1fr}.progress-panel{padding:15px 18px}.progress-panel .panel-kicker,.help-card{display:none}.progress-panel ol{display:flex;justify-content:space-between}.progress-panel li{min-height:auto;gap:6px;font-size:0}.progress-panel li:not(:last-child)::after{height:0;width:calc(20vw - 30px);border-left:0;border-top:1px dashed #d4dce2;left:31px;top:14px}.step-dot{font-size:10px}.form-card{min-height:0}.stage{padding:36px 24px}.two-col{grid-template-columns:1fr}.title-row{display:block}.title-row .outline{margin-bottom:14px}.receipt-card{grid-template-columns:1fr}.secure{font-size:0}.secure::after{content:"Protetto";font-size:11px}footer{margin:0 28px;gap:10px;flex-wrap:wrap}.hero h1{letter-spacing:-1.7px}.otp-row{gap:5px}.otp-row input{width:41px;height:52px}.brand-product{display:none}}
@media print{.topbar,.hero,.progress-panel,footer,.primary,.outline,.check-row{display:none!important}.workspace{display:block;margin:0;padding:0}.form-card{box-shadow:none;border:0}.notice-box{max-height:none;overflow:visible}.stage{padding:20px}}
.brand-logo{width:150px;height:45px;object-fit:contain;object-position:left center}.vat-lookup{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin:24px 0 12px}.vat-lookup label{color:#344457;font-size:11px;font-weight:800}.vat-lookup input{display:block;width:100%;margin-top:8px;border:1px solid #d6dee5;border-radius:10px;background:#fbfcfd;padding:14px 15px;color:var(--navy);outline:none}.vat-lookup input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #fff0e7;background:#fff}.vat-lookup .outline{height:47px;padding-inline:18px}.vat-message{padding:11px 13px;border-radius:9px;font-size:11px;margin:0 0 18px;background:#f1f6f8;color:#587083}.vat-message.valid{background:#eef8f4;color:#176b50}.vat-message.invalid,.vat-message.error{background:#fff2ed;color:#9a4728}.company-confirm{background:#fffaf6;margin-bottom:12px}@media(max-width:820px){.brand-logo{width:120px;height:38px}.vat-lookup{grid-template-columns:1fr}.vat-lookup .outline{width:100%}}
