/* unhub.ch — stile comune della pagina iniziale e delle schede (dal design V21 «Attraverso la nebbia» e V20 «Scheda prodotto») */
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:300 700;src:url(fonti/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:300 700;src:url(fonti/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:400;src:url(fonti/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:400;src:url(fonti/jetbrains-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(fonti/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(fonti/jetbrains-mono-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html,body{margin:0}
html{color-scheme:light}
html[data-dark="1"]{color-scheme:dark}
a{color:inherit}a:hover{color:inherit}
.pg{background:#F6F9FC;color:#111111;font-family:'Space Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;line-height:1.5;transition:background-color .3s ease,color .3s ease;min-height:100vh}
html[data-dark="1"] .pg{background:#0B0B0C;color:#F2F2F0}
.mut{color:#5E5E5E}
html[data-dark="1"] .mut{color:#A3A3A0}
.hl{border-color:#D8DEE5}
html[data-dark="1"] .hl{border-color:#2B2B2E}
.cta{background:#111111;color:#FFFFFF}
html[data-dark="1"] .cta{background:#F2F2F0;color:#0B0B0C}
.mono{font-family:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase}
.st{background-color:#F6F9FC;background-image:radial-gradient(circle,#C3C9D1 1px,transparent 1.5px);background-size:28px 28px;background-position:center}
html[data-dark="1"] .st{background-color:#0B0B0C;background-image:radial-gradient(circle,#3A3A3E 1px,transparent 1.5px)}
.wm{fill:#111111}
html[data-dark="1"] .wm{fill:#F2F2F0}
.sk{position:absolute;left:-9999px;top:0}
.sk:focus{left:16px;top:16px;z-index:99;background:#111111;color:#FFFFFF;padding:12px 16px;border-radius:8px}

/* intestazione */
.top{padding:18px 32px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.top .sx{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;font-size:12px}
.nav a{text-decoration:none}
.tg{min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;display:flex;align-items:center;gap:8px}
.tg .pt{display:block;width:10px;height:10px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box;background:transparent}
html[data-dark="1"] .tg .pt{background:currentColor}
.cta{text-decoration:none;padding:13px 18px 13px 20px;border-radius:999px;display:flex;align-items:center;gap:10px}
.logo{display:flex;align-items:center;min-height:44px}
.logo svg{display:block;height:20px;width:auto}
.per{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}
.per a{text-decoration:none;padding:14px 0}

/* scena con le bolle */
.goo{position:absolute;left:0;top:0;width:100%;height:100%;background:#000000;filter:blur(14px) contrast(40);mix-blend-mode:difference;pointer-events:none}
.bd{position:absolute;left:0;top:0;border-radius:50%;container-type:inline-size;will-change:transform}
.bf{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:50%;box-sizing:border-box;background:#FFFFFF;border:0 solid #FFFFFF;transition:border-width .25s ease,background-color .2s ease}
.bd[data-hot="1"] .bf{background:transparent;border-width:16.67cqw}
.ov{position:absolute;left:0;top:0;border-radius:50%;container-type:inline-size;will-change:transform;touch-action:none;cursor:grab;color:#FFFFFF;mix-blend-mode:difference}
.ov[data-hot="1"]{z-index:20}
.ov[data-arrow="1"]{cursor:pointer;z-index:25}
.tx span{transition:opacity .2s ease}
a.tx{text-decoration:none}
.ov[data-arrow="1"] .tx span{opacity:0}
.ob{position:absolute;left:-7cqw;top:-7cqw;right:-7cqw;bottom:-7cqw;border-radius:50%;border:1px dashed #FFFFFF;opacity:0;transition:opacity .2s ease;animation:spin 16s linear infinite;pointer-events:none}
.ov[data-hot="1"] .ob{opacity:1}
@keyframes spin{to{transform:rotate(360deg)}}
.bk{position:absolute;left:172px;top:42px;height:44px;padding:0 8px;border:0;border-radius:8px;background:none;color:#FFFFFF;mix-blend-mode:difference;font:inherit;font-size:13px;font-weight:500;cursor:pointer;z-index:30;text-decoration:none;display:flex;align-items:center}
.bk[hidden]{display:none}
.bk:focus-visible{outline:3px solid #36a9e1;outline-offset:2px}
.tx{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:50%;box-sizing:border-box;padding:0 21cqw;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.4cqw;text-align:center;border:0;background:none;color:inherit;font:inherit;cursor:inherit}
button.tx:focus-visible,a.tx:focus-visible{outline:3px solid #36a9e1;outline-offset:4px}
.fn{font-size:max(13px,10cqw);font-weight:600;line-height:1.08;letter-spacing:-0.03em;text-wrap:balance}
.fs{font-size:max(10px,5.2cqw);line-height:1.2}
.ai{font-size:max(10px,4.4cqw);line-height:1.2}
.an{font-size:max(13px,7.8cqw);font-weight:600;line-height:1.08;letter-spacing:-0.03em;overflow-wrap:anywhere}
.ad{font-size:max(11.5px,5.4cqw);font-weight:400;line-height:1.26;text-wrap:balance}
.hud{position:absolute;font-size:11px;color:#FFFFFF;mix-blend-mode:difference;pointer-events:none;z-index:6;white-space:nowrap}
.ck{position:absolute;width:14px;height:14px;border:0 solid #FFFFFF;mix-blend-mode:difference;pointer-events:none;z-index:6}
.ck.a{left:12px;top:12px;border-left-width:1px;border-top-width:1px}
.ck.b{right:12px;top:12px;border-right-width:1px;border-top-width:1px}
.ck.c{left:12px;bottom:12px;border-left-width:1px;border-bottom-width:1px}
.ck.d{right:12px;bottom:12px;border-right-width:1px;border-bottom-width:1px}
.cx,.cy{position:absolute;left:0;top:0;background:#FFFFFF;mix-blend-mode:difference;pointer-events:none;opacity:0;z-index:5}
.cx{width:1px;height:100%}
.cy{height:1px;width:100%}
.rd{position:absolute;left:0;top:0;font-size:10px;color:#FFFFFF;mix-blend-mode:difference;pointer-events:none;opacity:0;z-index:31;white-space:pre}
.ln{position:absolute;left:0;top:0;width:1px;height:1px;background:#FFFFFF;mix-blend-mode:difference;transform-origin:0 0;transform:scale(0);pointer-events:none;z-index:2}
.tg:focus-visible,.cta:focus-visible{outline:3px solid #36a9e1;outline-offset:3px}
.dsc{display:none;position:absolute;left:20px;right:20px;bottom:56px;text-align:center;font-size:14px;line-height:1.35;color:#FFFFFF;mix-blend-mode:difference;pointer-events:none;z-index:6;text-wrap:balance}
.stg{container-type:inline-size;container-name:stg}
@container stg (max-width:1100px){.ad,.ai{display:none}.dsc{display:block}}
@container stg (max-width:700px){.fs,.hs{display:none}.tx{padding:0 9cqw}.fn{font-size:12.5px!important}.an{font-size:12px!important}}
@media (prefers-reduced-motion:reduce){.ob{animation:none}}
.wm-big{position:absolute;left:9cqw;top:50%;width:82cqw;height:auto;transform:translateY(-50%)}
.wt{position:absolute;left:0;right:0;top:50%;transform:translateY(-54%);text-align:center;font-size:19cqw;font-weight:600;letter-spacing:-0.06em;line-height:1;color:#111111;white-space:nowrap}
html[data-dark="1"] .wt{color:#F2F2F0}

/* pagina iniziale: prima schermata e resto, con lo sblocco */
.home{position:relative;height:100vh;height:100dvh;overflow:hidden}
.sc1{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;flex-direction:column;transform-origin:50% 50%}
.sc2{position:absolute;left:0;top:0;width:100%;height:100%;overflow-y:auto;overscroll-behavior:contain;background:#F6F9FC;z-index:40}
html[data-dark="1"] .sc2{background:#0B0B0C}
.home[data-s="rest"] .sc1{pointer-events:none}
.home[data-s="hero"] .sc2{pointer-events:none}
.sc1{transition:transform 1s cubic-bezier(.7,0,.3,1),filter .8s ease,opacity .65s ease .2s}
.sc2{opacity:0;transform:scale(.92);filter:blur(14px);transition:opacity .7s ease .25s,transform 1s cubic-bezier(.2,.8,.2,1) .1s,filter .8s ease .25s}
.home[data-s="rest"] .sc1{transform:scale(2.4);filter:blur(26px);opacity:0}
.home[data-s="rest"] .sc2{opacity:1;transform:none;filter:none}
.home[data-s="hero"] .sc2{visibility:hidden;transition:opacity .7s ease .25s,transform 1s cubic-bezier(.2,.8,.2,1) .1s,filter .8s ease .25s,visibility 0s linear 1s}
.scena{flex:1 1 auto;min-height:0;position:relative}
.scena>.st{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;isolation:isolate;user-select:none;-webkit-user-select:none}
@media (prefers-reduced-motion:reduce){.sc1,.sc2{transition:opacity .3s ease!important}.home[data-s="rest"] .sc1{transform:none;filter:none}.sc2{transform:none;filter:none}}
/* senza JavaScript: niente sblocco, la pagina scorre normalmente */
html:not(.js) .home{height:auto;overflow:visible}
html:not(.js) .sc1{position:relative;height:100vh}
html:not(.js) .sc2{position:relative;opacity:1;transform:none;filter:none;visibility:visible;overflow:visible;pointer-events:auto}

/* blocchi di testo */
.box{max-width:1240px;margin:0 auto;padding:72px 32px 0;box-sizing:border-box;display:flex;flex-direction:column;gap:24px}
.lead{display:flex;flex-wrap:wrap;gap:20px 72px;align-items:flex-end}
.lead h1{flex:2 1 420px;margin:0;font-size:clamp(34px,4.6vw,68px);line-height:1;font-weight:600;letter-spacing:-0.045em;text-wrap:balance}
.lead .lato{flex:1 1 300px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin:0 0 6px}
.lead p{margin:0;font-size:17px;text-wrap:pretty}
.sez{max-width:1240px;margin:0 auto;padding:104px 32px 0;box-sizing:border-box;display:flex;flex-direction:column;gap:0}
.tit{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid;padding-bottom:16px}
.tit h2{margin:0;font-size:28px;font-weight:600;letter-spacing:-0.03em}
.n12{font-size:12px}
.gr{display:flex;flex-wrap:wrap;gap:16px 48px;border-bottom:1px solid;padding:28px 0}
.gr .gt{flex:1 1 220px;display:flex;flex-direction:column;gap:6px}
.gr .gt div{display:flex;align-items:baseline;gap:14px}
.gr h3{margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;line-height:1.15}
.gr .gt p{margin:0;font-size:14px;line-height:1.4}
.gr ul{flex:3 1 520px;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:18px 32px}
.gr li{display:flex;flex-direction:column;gap:3px}
.gr li a{font-size:16px;font-weight:600;letter-spacing:-0.01em;text-underline-offset:4px}
.gr li>span{font-size:14px;line-height:1.4}
.gr li .nome{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px}
.stato{font-size:11px;font-weight:400}
.dd2{display:block;font-size:15px;font-weight:400;margin-top:2px}
.cosa{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:32px 48px;padding:32px 0 0}
.cosa div{display:flex;flex-direction:column;gap:10px}
.cosa h3{margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;line-height:1.15}
.cosa p{margin:0;font-size:15px;text-wrap:pretty}
.rw{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 48px;border-bottom:1px solid;padding:24px 0}
.rw .n{flex:0 0 48px}
.rw h3{flex:1 1 220px;margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;line-height:1.15}
.rw h3 a{text-underline-offset:5px}
.rw p{flex:2 1 360px;margin:0;font-size:16px;text-wrap:pretty}
.vuoto{padding:24px 0;margin:0;font-size:16px}
.dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:28px 48px;padding:32px 0 0}
.dl div{display:flex;flex-direction:column;gap:6px}
.dl dd{margin:0;font-size:18px;font-weight:500}
.pn{max-width:1240px;margin:0 auto;padding:104px 32px 72px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:16px}
.pn a{flex:1 1 280px;text-decoration:none;border:1px solid;border-radius:20px;padding:24px 28px;display:flex;flex-direction:column;gap:6px}
.pn a.dx{align-items:flex-end;text-align:right}
.pn .nm{font-size:26px;font-weight:600;letter-spacing:-0.03em}
.piede{max-width:1240px;margin:0 auto;padding:8px 32px 48px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;font-size:12px}
.piede svg{display:block;height:26px;width:auto}
.piede a{text-decoration:none}
.scheda-st{position:relative;height:max(46cqw,540px);overflow:hidden;isolation:isolate;user-select:none;-webkit-user-select:none}
@media (max-width:700px){.top{padding:14px 20px;flex-wrap:nowrap}.top .nav{flex-wrap:nowrap;gap:16px}.tg .tl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.top .cta{padding:11px 14px 11px 16px}.top .sx{flex-wrap:nowrap;min-width:0}.per{display:none}.box,.sez,.pn,.piede{padding-left:20px;padding-right:20px}.sez{padding-top:72px}.scheda-st{height:max(110vw,460px)}}
