body{min-height:100dvh;display:flex;flex-direction:column}
body>main{width:100%;flex:1;margin-block:0}
.shell-header{width:100%;max-width:1176px;gap:16px;margin:0 auto;padding-block:14px}
.shell-header .nova-header{position:static;inset:auto;z-index:auto;min-height:44px;padding:8px 12px;white-space:nowrap;box-shadow:inset 0 1px 2px #c3e2f53b}
.shell-header .nova-header[hidden]{display:none}
main>.hero{min-height:0;align-items:start;padding-top:clamp(16px,2.4vw,32px)}
main>.subhero{padding-top:clamp(16px,2.4vw,32px)}
.gravity-atom-orbits{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gravity-atom-orbits ellipse{fill:none;stroke:#8db7d533;stroke-width:1;stroke-dasharray:1 5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.gravity-atom-orbits g:nth-child(even) ellipse{stroke:#d8b58033}
.gravity-atom-orbits .atom-particle{fill:#e4f8ff;filter:drop-shadow(0 0 5px #a7e2ff)}
.gravity-atom-orbits g:nth-child(even) .atom-particle{fill:#ffe2ab;filter:drop-shadow(0 0 5px #e0b27c)}
.visual-route{margin:16px 0 clamp(28px,5vw,56px);max-width:900px;padding:20px clamp(10px,3vw,32px)}
.visual-route ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0}
.visual-route li{position:relative;display:grid;justify-items:center;align-content:start;text-align:center;gap:10px;padding-inline:4px;font-size:15px;font-weight:800;line-height:1.3}
.visual-route li:not(:last-child)::after{content:"";position:absolute;top:24px;right:-4px;width:8px;height:8px;border-top:1px solid var(--gold);border-right:1px solid var(--gold);transform:rotate(45deg)}
.route-glyph{width:60px;height:60px;display:grid;place-items:center;border-radius:17px;color:var(--gold);background:radial-gradient(ellipse at 20% 3%,#f4dbad22,transparent 72%);box-shadow:inset 0 1px 2px #eef4ff26}
.route-glyph svg{width:43px;height:43px}
.visual-route li:nth-child(2) .route-glyph{color:var(--blue)}
.visual-route figcaption{text-align:center;color:var(--muted);font-size:14px;line-height:1.5;margin:14px 0 0}
.route-return{display:block;width:68%;height:28px;margin:4px auto 0;stroke:var(--gold);stroke-opacity:.6;stroke-width:1.3;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:480px){
 .visual-route{padding:15px 8px}
 .visual-route li{font-size:13px;gap:7px}
 .route-glyph{width:45px;height:45px;border-radius:12px}
 .route-glyph svg{width:36px;height:36px}
 .visual-route li:not(:last-child)::after{top:17px}
}
.shell-header nav{gap:17px}
.shell-header nav a,.footer-links a{display:flex;gap:8px;align-items:center;min-height:44px}
.shell-header nav svg,.footer-links svg,.footer-links img{width:17px;height:17px;color:var(--gold);flex:none}
.shell-header nav a{position:relative}
.nav-name{font-weight:800}
.nav-description{color:var(--muted);font-size:15px;font-weight:400;line-height:1.45}
@media(min-width:1101px){
  .shell-header .nav-description{position:absolute;z-index:12;inset:auto auto auto 0;top:100%;width:max-content;max-width:265px;padding:12px 16px;white-space:normal;background:#152539;color:#e1e9f1;border-radius:12px;box-shadow:0 10px 26px #0005;opacity:0;visibility:hidden;pointer-events:none}
  .shell-header .nav-description::before{content:"— ";color:var(--gold)}
  .shell-header nav a:is(:hover,:focus-visible) .nav-description{opacity:1;visibility:visible}
  .shell-header nav a:nth-last-child(-n+2) .nav-description{left:auto;right:0}
}
@media(max-width:1100px){
  .shell-header .nova-header{margin-left:auto}
  .shell-header .menu-toggle{margin-left:0}
  .shell-header #navigation a::before{content:none}
  .shell-header #navigation a{align-items:start;white-space:normal;gap:12px;padding:12px}
  .shell-header #navigation svg{width:21px;height:21px;margin-top:2px}
  .shell-header .nav-copy{display:grid;gap:3px;min-width:0}
  .shell-header .nav-name{font-size:18px;line-height:1.25}
  .shell-header .nav-description{display:block}
}
@media(max-width:480px){
  .shell-header{gap:8px;padding-inline:14px}
  .shell-header .brand{gap:6px;font-size:21px}
  .shell-header .brand img{width:34px;height:34px}
  .shell-header .nova-header{gap:5px;padding-inline:8px}
  .shell-header .nova-header img{width:20px;height:20px}
  .shell-header .nova-header-prefix{display:none}
  .shell-header .menu-toggle{gap:6px;padding-inline:8px}
}
.shell-header .nav-context,.shell-header nav [aria-current=page]{color:var(--gold)}
.shell-header .menu-toggle svg{width:19px;height:19px;color:var(--gold)}
.site-footer.shell-footer,.factory-page .site-footer.shell-footer{width:100%;margin:clamp(52px,7vw,96px) auto 0;padding-top:32px;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1.25fr) 1fr 1fr;gap:36px;align-items:start}
.shell-footer .footer-links{display:grid}
.shell-footer .footer-links a{padding:3px 0;color:var(--text);font-size:15px}
.shell-footer .footer-links a[href^="https://wa.me/"] img{filter:invert(89%) sepia(23%) saturate(581%) hue-rotate(88deg) brightness(105%)}
.shell-footer a:hover,.shell-footer summary:hover{color:var(--gold)}
.shell-footer .footer-brand p{line-height:1.65}
.site-footer .footer-base{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:16px 28px}
.footer-base small{font-size:14px;color:var(--muted)}
.footer-legal{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 22px}
.footer-legal .measurement-control{margin:0;max-width:380px}
.footer-legal .measurement-control summary{padding:0;font-size:14px}
.footer-legal .measurement-control[open]{padding:0 0 12px}
.footer-legal .measurement-control p{margin-top:10px}
.measurement-banner{position:fixed;z-index:28;inset:auto 16px max(12px,env(safe-area-inset-bottom)) 16px;margin-inline:auto;max-width:840px;border-radius:18px;padding:16px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;color:var(--text);background:linear-gradient(135deg,#1a2f45,#112338);border:1px solid #adc9e35c;box-shadow:0 12px 42px #0009}
.measurement-banner[hidden]{display:none}
.measurement-banner h2{font-size:19px;letter-spacing:0;margin:0 0 5px}
.measurement-banner p{font-size:14px;color:#d0dceb;line-height:1.45;margin:0}
.measurement-banner a{color:#c6e7ff;text-decoration:underline;text-underline-offset:3px}
.measurement-banner-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.measurement-banner-actions button{min-height:44px;padding:8px 13px;border:1px solid #a2c6e477;border-radius:12px;background:#c6e7ff12;color:#e4f2ff;font:inherit;font-weight:800;font-size:15px}
.measurement-banner-actions button:hover,.measurement-banner-actions button:focus-visible{background:#c6e7ff2b}
@media(max-width:760px){
 .measurement-banner{inset-inline:10px;grid-template-columns:1fr;gap:12px;padding:13px 14px;border-radius:15px}
 .measurement-pending .whatsapp-direct,.measurement-pending .nova-launch:not(.nova-header){visibility:hidden}
}
.step-symbol{display:grid;justify-items:center;gap:8px}
.step-symbol .tile{width:44px;height:44px;border-radius:13px}
.step-symbol svg{width:21px;height:21px}
.step-index{font-size:13px;font-weight:800;color:var(--gold)}
@media(max-width:820px){.site-footer.shell-footer,.factory-page .site-footer.shell-footer{grid-template-columns:1fr 1fr;gap:28px}.site-footer.shell-footer .footer-brand{grid-column:1/-1}}
@media(max-width:480px){.step-symbol .tile{width:35px;height:35px}.step-symbol svg{width:18px;height:18px}.site-footer.shell-footer,.factory-page .site-footer.shell-footer{gap:24px 16px}.site-footer.shell-footer>div:nth-child(3){grid-column:auto}}
.hero-legacy-cycle{display:flex;align-items:center;gap:12px;color:var(--gold);font-size:14px;margin-top:18px}
.hero-legacy-cycle svg{width:22px;height:22px}
.hero-cycle-ring{display:grid;place-items:center;position:relative;border:1px dashed #a3c4dc65;border-radius:50%;width:54px;height:54px;flex:none}
.hero-cycle-ring i{position:absolute;inset:0;width:5px;height:5px;border-radius:50%;background:var(--gold);offset-path:ellipse(50% 50%);animation:legacy-trace 5s linear}
.hero-legacy-cycle p{font-size:14px;line-height:1.45;margin:2px 0 0}
.legacy-instrument{max-width:900px;margin:0 auto;padding:18px clamp(16px,3vw,36px) 22px;text-align:center}
.legacy-wheel{position:relative;height:430px}
.legacy-core,.legacy-orbit,.legacy-rings{position:absolute;left:50%;top:50%;translate:-50% -50%;pointer-events:none}
.legacy-core{display:grid;justify-items:center;gap:8px;color:var(--gold);font-size:27px}
.legacy-core svg{width:42px;height:42px}
.legacy-orbit{width:76%;height:80%;border:1px dashed #a3c4dc38;border-radius:50%}
.legacy-orbit i{position:absolute;inset:0;border-radius:50%;offset-path:ellipse(50% 50%);width:7px;height:7px;background:#ffe5bd;box-shadow:0 0 16px #f0ba78;animation:legacy-trace 20s linear infinite}
@keyframes legacy-trace{to{offset-distance:100%}}
.legacy-rings{width:min(48%,290px);height:160px}
.legacy-rings i{position:absolute;inset:20px 0;border:1px solid #94c3e64d;border-radius:50%;rotate:-32deg}
.legacy-rings i:nth-child(2){rotate:32deg;border-color:#e0b27c66}
.legacy-rings i:nth-child(3){rotate:90deg;scale:.8}
#evoluzione .legacy-rings{animation:legacy-atom 36s linear infinite}
@keyframes legacy-atom{to{rotate:360deg}}
.legacy-paused *{animation-play-state:paused!important}
.gravity-legacy-node.glass{position:absolute;left:var(--nx);top:var(--ny);translate:-50% -50%;display:flex;align-items:center;gap:8px;padding:8px 14px;min-height:48px;border-radius:14px;white-space:nowrap;font-size:15px;font-weight:800;color:var(--text);background:radial-gradient(ellipse at top left,#ecd4ae23,transparent 65%),#17283be8}
.gravity-legacy-node svg{color:var(--gold);width:20px;height:20px}
.gravity-legacy-node:is(:hover,:focus-visible){box-shadow:inset 0 1px 1px #fff5,0 0 20px #e0b27c30}
.legacy-library .legacy-article,.legacy-dialog-content .legacy-article{text-align:left;scroll-margin-top:32px}
.legacy-article h3{margin-bottom:14px}
.legacy-answer{color:var(--text);font-size:18px;font-weight:750}
.legacy-dialog-content{margin:16px 0 24px}
.gravity-static>summary.chapter-disclosure{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 0;list-style:none;color:var(--text)}
.gravity-static>summary.chapter-disclosure::-webkit-details-marker{display:none}
.gravity-static>summary.chapter-disclosure::marker{content:""}
.chapter-symbol.tile{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:var(--gold)}
.chapter-symbol svg{width:21px;height:21px}
.chapter-copy{display:grid;gap:4px;line-height:1.35}
.chapter-copy strong{font-size:17px;font-weight:800}
.chapter-copy>span{font-size:14px;font-weight:400;color:var(--muted)}
.chapter-chevron{width:20px;height:20px;color:var(--blue);transition:transform .2s ease}
.gravity-static[open]>summary .chapter-chevron{transform:rotate(180deg)}
.chapter-disclosure:is(:hover,:focus-visible) .chapter-chevron{color:var(--gold)}
@media(max-width:480px){.gravity-static>summary.chapter-disclosure{gap:10px}.chapter-symbol.tile{width:36px;height:36px}.chapter-copy strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.chapter-chevron{transition:none}}
.strategy-faq-group{margin-top:clamp(30px,5vw,56px);scroll-margin-top:24px}
.strategy-faq-group h3{display:flex;align-items:center;gap:12px;margin-bottom:20px;font-size:clamp(22px,3vw,28px)}
.strategy-faq-group h3 svg{color:var(--gold);width:23px;height:23px}
#domande > .editorial{margin-top:36px}
.legacy-anatomy{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;list-style:none;padding:26px;margin:0}
.legacy-anatomy h3{margin:14px 0 8px;font-size:20px}.legacy-anatomy p{font-size:16px}
@media(max-width:820px){.legacy-anatomy{grid-template-columns:repeat(2,minmax(0,1fr))}}
#portfolio .portfolio-dots{width:max-content;max-width:100%;gap:0;margin-inline:auto}
#portfolio .portfolio-dots button{width:12px}
#portfolio .portfolio-dots button[aria-current=true]::before{width:9px;height:9px;border-radius:50%}
#portfolio .portfolio-motion-icon{display:grid;place-items:center;width:44px;min-height:44px;margin:2px auto 0;padding:0}
#portfolio .portfolio-motion-icon[hidden]{display:none}
#portfolio .portfolio-motion-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#portfolio .portfolio-topics{color:var(--gold);text-transform:uppercase;letter-spacing:.1em;font-weight:800}
#portfolio .portfolio-summary{color:#c9d2df;font-weight:400}
@media(max-width:700px){
 #contatto-factory .brief-form{padding:18px 6px;gap:8px}
 #contatto-factory .brief-form h2{margin-bottom:6px}
 #contatto-factory .brief-form label{margin-top:4px}
 #contatto-factory .brief-form .button{margin-top:4px}
 #contatto-factory .brief-form .micro{font-size:14px;line-height:1.5}
}
@media(max-width:700px){
 .legacy-wheel{height:auto;padding-top:150px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .legacy-core,.legacy-orbit,.legacy-rings{top:70px}
 .legacy-orbit{width:min(74%,240px);height:108px}
 .legacy-rings{height:100px}
 .gravity-legacy-node.glass{position:relative;inset:auto;translate:none;white-space:normal;justify-content:flex-start;min-width:0;padding:8px;gap:6px;font-size:14px;text-align:left}
 .legacy-instrument>.micro{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){.legacy-orbit i,.hero-cycle-ring i,#evoluzione .legacy-rings{animation:none}}
