/* Section colours follow the people behind each part of HEXIS. */
html[data-theme] body{--area-accent:#c7ad74;--area-rgb:199,173,116;--surface-accent:#c7ad74;--surface-rgb:199,173,116;--interaction-rgb:199,173,116}
html[data-theme] body:is([data-page="live-trading.html"],[data-page="sala-live.html"],[data-page="registrazioni.html"],[data-page="mercati.html"]){--area-accent:#c7ad74;--area-rgb:199,173,116;--surface-accent:#c7ad74;--surface-rgb:199,173,116}
html[data-theme] body:is([data-page="formazione.html"],[data-page="corsi.html"],[data-page="lezione.html"],[data-page="prenota.html"],[data-page="samuela.html"],[data-page="le-mie-sessioni.html"]){--area-accent:#b39bc3;--area-rgb:179,155,195;--surface-accent:#b39bc3;--surface-rgb:179,155,195}
html[data-theme] body:is([data-page="membership.html"],[data-page="acquisto.html"],[data-page="area-personale.html"],[data-page="journal.html"],[data-page="journal-live.html"],[data-page="strumenti.html"]){--area-accent:#92a4b6;--area-rgb:146,164,182;--surface-accent:#92a4b6;--surface-rgb:146,164,182}
html[data-theme="light"] body{--area-accent:#785a26;--surface-accent:#785a26}
html[data-theme="light"] body:is([data-page="live-trading.html"],[data-page="sala-live.html"],[data-page="registrazioni.html"],[data-page="mercati.html"]){--area-accent:#785a26;--area-rgb:120,90,38;--surface-accent:#785a26;--surface-rgb:120,90,38}
html[data-theme="light"] body:is([data-page="formazione.html"],[data-page="corsi.html"],[data-page="lezione.html"],[data-page="prenota.html"],[data-page="samuela.html"],[data-page="le-mie-sessioni.html"]){--area-accent:#6b4d7a;--area-rgb:107,77,122;--surface-accent:#6b4d7a;--surface-rgb:107,77,122}
html[data-theme="light"] body:is([data-page="membership.html"],[data-page="acquisto.html"],[data-page="area-personale.html"],[data-page="journal.html"],[data-page="journal-live.html"],[data-page="strumenti.html"]){--area-accent:#405d78;--area-rgb:64,93,120;--surface-accent:#405d78;--surface-rgb:64,93,120}
html[data-theme] body .page-hero{border-color:rgba(var(--area-rgb),.3)}
html[data-theme] body .page-hero :is(.eyebrow,h1 em){color:var(--area-accent)}
html[data-theme] body .button.gold{background:var(--area-accent);border-color:var(--area-accent);color:#101714}
html[data-theme="light"] body .button.gold{background:var(--area-accent);border-color:var(--area-accent);color:#fff3dc}
html[data-theme] body .feature-1{background:radial-gradient(ellipse at 100% 0%,rgba(179,155,195,.24),transparent 75%),#d6c8d5;border-color:#a78eae}
html[data-theme="light"] body .feature-1{background:radial-gradient(ellipse at 100% 0%,rgba(107,77,122,.18),transparent 75%),#d0bdcc;border-color:#9d819e}
html[data-theme] body :is(.team-card,.journey-card,.lab-path):nth-child(2){--card-accent:#92a4b6;--card-rgb:146,164,182;--team-accent:146,164,182}
html[data-theme] body :is(.team-card,.journey-card,.lab-path):nth-child(3){--card-accent:#b39bc3;--card-rgb:179,155,195;--team-accent:179,155,195}
html[data-theme="light"] body :is(.team-card,.journey-card,.lab-path):nth-child(2){--card-accent:#405d78;--card-rgb:64,93,120;--team-accent:64,93,120}
html[data-theme="light"] body :is(.team-card,.journey-card,.lab-path):nth-child(3){--card-accent:#6b4d7a;--card-rgb:107,77,122;--team-accent:107,77,122}
html[data-theme] body .study-route-links>a:nth-of-type(1){--related-rgb:199,173,116}
html[data-theme] body .study-route-links>a:nth-of-type(2){--related-rgb:146,164,182}
html[data-theme] body .study-route-links>a:nth-of-type(3){--related-rgb:179,155,195}
html[data-theme="light"] body .study-route-links>a:nth-of-type(1){--related-rgb:120,90,38}
html[data-theme="light"] body .study-route-links>a:nth-of-type(2){--related-rgb:64,93,120}
html[data-theme="light"] body .study-route-links>a:nth-of-type(3){--related-rgb:107,77,122}

/* All clickable surfaces share a visible hover and keyboard focus treatment. */
html[data-theme] body :is(a.button,a.btn,a.quick,a.lesson,a.journey-card,a.lab-path,a.explore-feature,a.profile,.area-tile,.preview-replay-grid>a,.study-route-links>a,.footer-links>a,.footer-top>nav>a,.sidebar>a,.student-shortcuts>a,.home-deep-links>a,.community-grid>a,.social-link,.mini-event>a,.account-tabs button,.filters button,.slot,.day,.bt-opt,summary,button:not(:disabled)) {--interaction-rgb:var(--card-rgb,var(--area-rgb,199,173,116));transition:filter .18s,box-shadow .18s,border-color .18s,background .18s}
html[data-theme] body .study-route-links>a{--interaction-rgb:var(--related-rgb)}
html[data-theme] body a:is([href*="formazione"],[href*="corsi"],[href*="lezione"],[href*="prenota"],[href*="samuela"],[href*="le-mie-sessioni"]){--interaction-rgb:179,155,195}
html[data-theme] body a:is([href*="membership"],[href*="acquisto"],[href*="journal"],[href*="strumenti"]){--interaction-rgb:146,164,182}
html[data-theme] body a:is([href*="live-trading"],[href*="sala-live"],[href*="registrazioni"]){--interaction-rgb:199,173,116}
@media(hover:hover){
 html[data-theme] body :is(a.button,a.btn,a.quick,a.lesson,a.journey-card,a.lab-path,a.explore-feature,a.profile,.area-tile,.preview-replay-grid>a,.study-route-links>a,.footer-links>a,.footer-top>nav>a,.sidebar>a,.student-shortcuts>a,.home-deep-links>a,.community-grid>a,.social-link,.mini-event>a,.account-tabs button,.filters button,.slot:not(:disabled),.day:not(:disabled),.bt-opt,summary,button:not(:disabled)):hover{filter:brightness(1.09);border-color:rgba(var(--interaction-rgb,var(--area-rgb)),.8);box-shadow:inset 0 0 0 1000px rgba(var(--interaction-rgb,var(--area-rgb)),.09),0 8px 24px -14px rgba(var(--interaction-rgb,var(--area-rgb)),.5)}
 html[data-theme="light"] body :is(a.button,a.btn,a.quick,a.lesson,a.journey-card,a.lab-path,a.explore-feature,a.profile,.area-tile,.preview-replay-grid>a,.study-route-links>a,.footer-links>a,.footer-top>nav>a,.sidebar>a,.student-shortcuts>a,.home-deep-links>a,.community-grid>a,.social-link,.mini-event>a,.account-tabs button,.filters button,.slot:not(:disabled),.day:not(:disabled),.bt-opt,summary,button:not(:disabled)):hover{filter:brightness(1.02);box-shadow:inset 0 0 0 1000px rgba(var(--interaction-rgb,var(--area-rgb)),.14),0 7px 20px -13px rgba(var(--interaction-rgb,var(--area-rgb)),.5)}
}
html[data-theme] body :is(a,button,summary):focus-visible{outline:2px solid var(--area-accent,var(--gold));outline-offset:4px}
html[data-theme] body .app-shell>.hexis-member-footer{grid-column:1/-1;width:calc(100% - 80px);max-width:1400px;margin:25px auto 0;padding-top:20px}
@media(max-width:640px){html[data-theme] body .app-shell>.hexis-member-footer{width:calc(100% - 40px)}}
@media(prefers-reduced-motion:reduce){html[data-theme] body :is(a,button,summary){transition:none!important}}
html[data-theme] body :is(.team-card,.journey-card,.lab-path):nth-child(1){--card-accent:#c7ad74;--card-rgb:199,173,116;--team-accent:199,173,116}
html[data-theme="light"] body :is(.team-card,.journey-card,.lab-path):nth-child(1){--card-accent:#785a26;--card-rgb:120,90,38;--team-accent:120,90,38}
html[data-theme] body .feature-1::before{color:#6b4d7a}.feature-1 .feature-kicker i{background:#6b4d7a}
html[data-theme] body[data-page="membership.html"] .price-card{background:radial-gradient(ellipse at 0 0,rgba(var(--area-rgb),.15),transparent 80%),var(--panel);border-color:rgba(var(--area-rgb),.4)}
html[data-theme] body :is(.workspace-routine>a,.languages>a){--interaction-rgb:var(--area-rgb);transition:background .18s,box-shadow .18s}
@media(hover:hover){html[data-theme] body :is(.workspace-routine>a,.languages>a):hover{background:rgba(var(--interaction-rgb),.14);box-shadow:0 4px 18px -9px rgba(var(--interaction-rgb),.4)}}
html[data-theme] body :is(a.journey-card,a.lab-path){--interaction-rgb:var(--card-rgb,var(--area-rgb))}
/* Keep the navigation usable in medium-width desktop windows. */
@media(min-width:1001px) and (max-width:1180px){
 html[data-theme] body :is(.header,.hexis-site-header){height:82px;padding-inline:22px}
 html[data-theme] body :is(.header,.hexis-site-header) .menu-toggle{display:block}
 html[data-theme] body :is(.header,.hexis-site-header) .nav{display:none;position:absolute;top:81px;left:0;right:0;padding:18px 24px;background:#101715;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0!important}
 html[data-theme="light"] body :is(.header,.hexis-site-header) .nav{background:#e9dfcb}
 html[data-theme] body :is(.header,.hexis-site-header) .nav.is-open{display:flex}
 html[data-theme] body :is(.header,.hexis-site-header) .nav a{padding:13px 0;border-bottom:1px solid var(--line)}
 html[data-theme] body :is(.header,.hexis-site-header) .nav .member-nav{display:block}
 html[data-theme] body :is(.header,.hexis-site-header) .header-actions>.btn{display:inline-flex;white-space:nowrap}
}
