/* THERA shared visual system. Opt-in via .thera-page; no global site resets.
   Standalone pages use a .thera-site wrapper. The approved home remains isolated. */
.thera-site{container-type:inline-size}
:is(#thera-hero-tracciati,.thera-site) .thera-page{
 --tp-paper:#f4f2ed;--tp-ink:#152c35;--tp-muted:#536166;--tp-line:#d2d4cf;
 --tp-accent:#ff751f;--tp-accent-deep:#a34008;--tp-accent-soft:#f3e2d2;
 --tp-inverse:#f4f2ed;--tp-font:Manrope,Arial,sans-serif;
 --tp-body-size:clamp(16px,1.55cqw,18px);--tp-body-leading:1.8;
 --tp-title-size:clamp(34px,4.2cqw,50px);--tp-section-space:clamp(64px,9cqw,120px);
 --tp-gutter:clamp(20px,4.4cqw,58px);--tp-ease:cubic-bezier(.16,1,.3,1);
 --tp-fast:240ms;--tp-duration:800ms;
 color:var(--tp-ink);font:500 var(--tp-body-size)/var(--tp-body-leading) var(--tp-font);
 width:100%;overflow-wrap:break-word;isolation:isolate;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page[data-thera-theme="industrial"]{
 --tp-accent:#3345ff;--tp-accent-deep:#293bce;--tp-accent-soft:#e4e6f9;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page *,
:is(#thera-hero-tracciati,.thera-site) .thera-page *::before,
:is(#thera-hero-tracciati,.thera-site) .thera-page *::after{box-sizing:border-box}
:is(#thera-hero-tracciati,.thera-site) .thera-page [hidden]{display:none!important}
:is(#thera-hero-tracciati,.thera-site) .thera-page :is(h1,h2,h3,h4){
 font-family:var(--tp-font);font-weight:800;letter-spacing:-.055em;line-height:1.08;
 color:var(--tp-ink);text-wrap:balance;margin:0 0 22px;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page p{
 font-size:var(--tp-body-size);line-height:var(--tp-body-leading);color:var(--tp-muted);max-width:66ch;margin:0 0 22px;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page p:last-child{margin-bottom:0}
:is(#thera-hero-tracciati,.thera-site) .thera-page h3{font-size:clamp(28px,3.5cqw,44px)}
:is(#thera-hero-tracciati,.thera-site) .thera-page h4{font-size:clamp(22px,2.4cqw,30px);letter-spacing:-.035em;line-height:1.22}
:is(#thera-hero-tracciati,.thera-site) .thera-page strong{font-weight:800;color:inherit}
:is(#thera-hero-tracciati,.thera-site) .thera-page a{color:inherit;text-decoration:none}
:is(#thera-hero-tracciati,.thera-site) .thera-page :is(a,button,summary,input,select,textarea){touch-action:manipulation}
:is(#thera-hero-tracciati,.thera-site) .thera-page :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--tp-accent-deep);outline-offset:5px}
:is(#thera-hero-tracciati,.thera-site) .thera-page [id]{scroll-margin-top:28px}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-kicker{
 display:block;font-size:11px;font-weight:800;letter-spacing:.12em;line-height:1.5;text-transform:uppercase;color:var(--tp-accent-deep);margin:0 0 20px;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-chapter{position:relative;min-width:0;margin:0 0 var(--tp-section-space)}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-chapter:last-child{margin-bottom:0}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-section-title{
 display:grid;grid-template-columns:64px minmax(0,1fr);gap:24px;align-items:start;
 font-size:var(--tp-title-size);line-height:1.02;width:100%;max-width:100%;padding:30px 0 0;
 border-top:1px solid var(--tp-line);margin:0 0 clamp(36px,5.5cqw,72px);letter-spacing:-.065em;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-section-title>span{
 font-size:13px;letter-spacing:.03em;font-weight:600;line-height:1.5;padding-top:9px;color:var(--tp-accent-deep);
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-button{
 display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;
 padding:15px 24px;border:1px solid var(--tp-ink);background:var(--tp-ink);color:var(--tp-inverse);
 font:800 14px/1.4 var(--tp-font);text-decoration:none;border-radius:0;
 transition:background var(--tp-fast),color var(--tp-fast),transform var(--tp-fast) var(--tp-ease);
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-button:hover{background:var(--tp-paper);color:var(--tp-ink);transform:translateY(-3px)}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-disclosure{border-block:1px solid var(--tp-line);padding:8px 0}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-disclosure summary{
 display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:52px;
 font:700 14px/1.5 var(--tp-font);list-style:none;
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-disclosure summary::-webkit-details-marker{display:none}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-disclosure[open] summary{margin-bottom:16px}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice{
 position:relative;appearance:none;text-align:left;padding:24px 0;min-height:100px;min-width:0;
 border:0;border-bottom:1px solid var(--tp-line);border-radius:0;background:transparent;color:var(--tp-muted);
 font-family:var(--tp-font);transition:color var(--tp-fast);
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice::after{
 content:'';position:absolute;left:0;bottom:-2px;width:100%;height:4px;background:var(--tp-accent);
 transform:scaleX(0);transform-origin:left;transition:transform .65s var(--tp-ease);
}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice[aria-pressed="true"]{color:var(--tp-ink)}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice[aria-pressed="true"]::after{transform:scaleX(1)}
:is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice:hover{color:var(--tp-ink)}
/* Reveal is enhancement only: the unenhanced page is fully visible. */
:is(#thera-hero-tracciati,.thera-site) .thera-page.tp-motion-ready [data-tp-reveal]{
 opacity:0;transform:translateY(34px);transition:opacity var(--tp-duration) var(--tp-ease),transform var(--tp-duration) var(--tp-ease);
}
:is(#thera-hero-tracciati,.thera-site) .thera-page.tp-motion-ready [data-tp-reveal].tp-in-view{opacity:1;transform:translateY(0)}
:is(#thera-hero-tracciati,.thera-site) .thera-page.tp-motion-ready [data-tp-reveal]:focus-within{opacity:1;transform:none}
@container(max-width:620px){
 :is(#thera-hero-tracciati,.thera-site) .thera-page{--tp-title-size:clamp(28px,7.7cqw,34px);--tp-section-space:68px}
 :is(#thera-hero-tracciati,.thera-site) .thera-page .tp-section-title{grid-template-columns:26px minmax(0,1fr);gap:14px;padding-top:22px;margin-bottom:32px}
 :is(#thera-hero-tracciati,.thera-site) .thera-page .tp-section-title>span{font-size:11px;padding-top:5px}
 :is(#thera-hero-tracciati,.thera-site) .thera-page .tp-choice{padding:17px 0;min-height:104px}
}
@media(prefers-reduced-motion:reduce){
 :is(#thera-hero-tracciati,.thera-site) .thera-page.tp-motion-ready [data-tp-reveal]{opacity:1;transform:none;transition:none}
 :is(#thera-hero-tracciati,.thera-site) .thera-page :is(.tp-choice,.tp-choice::after,.tp-button){transition:none;transform:none}
}
:is(#thera-hero-tracciati,.thera-site) .motion-paused .thera-page [data-tp-reveal]{opacity:1;transform:none;transition:none}
:is(#thera-hero-tracciati,.thera-site) .motion-paused .thera-page :is(.tp-choice,.tp-choice::after,.tp-button){transition:none}
