/* Generato da tools/extract-shared-assets.py - non modificare a mano.
   Ogni regola e' identica, byte per byte, a quella che stava inline
   nelle pagine; le regole che esistevano solo in alcune varianti sono
   racchiuse in una guardia :where(html[data-css-profile=...]) a
   specificita' zero, nella loro posizione originale.
   Profili di questo foglio:
     legal                  14 pagine  lingue: de,en,es,fr,it,pt,ru
     legal-ar                2 pagine  lingue: ar
     legal-zh                2 pagine  lingue: zh
*/
:root:where([data-css-profile="legal-ar"]){
  --midnight:#0B0E14;
  --surface-2:#1A1F2A;
  --line: rgba(212,184,124,0.16);
  --line-strong: rgba(212,184,124,0.32);
  --ivory:#F6F2E8;
  --ivory-dim:#C7C2B6;
  --ivory-faint:#8A8A86;
  --gold:#C6A15B;
  --gold-bright:#E4C888;
  --gold-deep:#8A6C34;
  --font-display:'Cairo', 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:'Cairo', 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
:root:where([data-css-profile="legal"]){
  --midnight:#0B0E14;
  --surface-2:#1A1F2A;
  --line: rgba(212,184,124,0.16);
  --line-strong: rgba(212,184,124,0.32);
  --ivory:#F6F2E8;
  --ivory-dim:#C7C2B6;
  --ivory-faint:#8A8A86;
  --gold:#C6A15B;
  --gold-bright:#E4C888;
  --gold-deep:#8A6C34;
  --font-display:'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
:root:where([data-css-profile="legal-zh"]){
  --midnight:#0B0E14;
  --surface-2:#1A1F2A;
  --line: rgba(212,184,124,0.16);
  --line-strong: rgba(212,184,124,0.32);
  --ivory:#F6F2E8;
  --ivory-dim:#C7C2B6;
  --ivory-faint:#8A8A86;
  --gold:#C6A15B;
  --gold-bright:#E4C888;
  --gold-deep:#8A6C34;
  --font-display:'Fraunces', 'Noto Serif SC', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:'Manrope', 'Noto Sans SC', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
*,*::before,*::after{box-sizing:border-box;}
body{margin:0;background:var(--midnight);color:var(--ivory-dim);font-family:var(--font-body);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
.nav{position:sticky;top:0;z-index:100;background:rgba(11,14,20,0.92);border-bottom:1px solid var(--line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.nav__inner{max-width:1240px;margin:0 auto;padding:1.1rem 1.75rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--ivory);}
.brand__mark{color:var(--gold);display:inline-flex;}
.brand__word{font-family:var(--font-display);font-weight:500;font-size:1.05rem;letter-spacing:.14em;color:var(--ivory);}
.backlink{color:var(--gold-bright);font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border:1px solid var(--gold-deep);border-radius:2px;padding:.55rem 1.1rem;white-space:nowrap;}
.backlink:hover{border-color:var(--gold);}
main{max-width:760px;margin:0 auto;padding:4rem 1.75rem 5rem;}
h1{font-family:var(--font-display);color:var(--ivory);font-weight:500;font-size:clamp(1.8rem, 1.3rem + 2vw, 2.6rem);line-height:1.15;margin:0 0 1.6rem;}
h2{font-family:var(--font-display);color:var(--ivory);font-weight:500;font-size:1.45rem;margin:3rem 0 1rem;}
main p{margin:0 0 1rem;font-size:.95rem;}
.footer{border-top:1px solid var(--line);padding:1.6rem 1.75rem;text-align:center;color:var(--ivory-faint);font-size:.8rem;}
/* ---------- Rifiniture estetiche ---------- */
::selection{background:rgba(198,161,91,0.35);color:#F6F2E8;}
html{scrollbar-color:#8A6C34 #0B0E14;}
::-webkit-scrollbar{width:12px;background:#0B0E14;}
::-webkit-scrollbar-thumb{background:#8A6C34;border-radius:6px;border:3px solid #0B0E14;}
::-webkit-scrollbar-thumb:hover{background:#C6A15B;}
.hairline{position:relative;}
.hairline::after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;transform:translate(-50%,-50%) rotate(45deg);background:var(--midnight,#0B0E14);border:1px solid var(--gold,#C6A15B);}
.card{transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;}
.card:hover{transform:translateY(-4px);border-color:var(--gold-deep,#8A6C34);box-shadow:0 18px 50px -20px rgba(0,0,0,0.6);}
.route-card{transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;}
.route-card:hover{transform:translateY(-4px);border-color:var(--gold-deep,#8A6C34);}
.btn--gold{position:relative;overflow:hidden;}
.btn--gold::after{content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;background:linear-gradient(105deg,transparent,rgba(255,255,255,0.35),transparent);transform:skewX(-20deg);transition:left .55s ease;}
.btn--gold:hover::after{left:125%;}
.guide-illustration{max-width:540px;margin:2.4rem auto 0;color:var(--gold,#C6A15B);opacity:.9;}
.guide-illustration svg{width:100%;height:auto;display:block;}
h1,h2,h3{text-wrap:balance;}
.brand__logo{height:40px;width:auto;display:block;}
.hero__logo{height:132px;width:auto;display:block;margin:0 auto 1.4rem;filter:drop-shadow(0 8px 28px rgba(0,0,0,0.6));}
.footer__logo{width:190px;height:auto;display:block;border-radius:2px;}
/* mobile: bottoni a capo */
@media (max-width:640px){.btn{white-space:normal;max-width:100%;text-align:center;}}
/* mobile: barra rapida */
@media (max-width:900px){.mobile-bar a{flex:1 1 0;min-width:0;text-align:center;letter-spacing:0;padding:0 .15rem;} .mobile-bar a span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}}
/* Lotto 33: barra mobile anche sulle pagine legali (stesse regole di site.css) */
.mobile-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:180;
  background:rgba(11,14,20,0.96);backdrop-filter:blur(10px);
  border-top:1px solid var(--line);
  padding:.6rem .5rem calc(.6rem + env(safe-area-inset-bottom));
}
@media (max-width:900px){.mobile-bar{display:flex;justify-content:space-around;}}
.mobile-bar a{
  display:flex;flex-direction:column;align-items:center;gap:.25rem;
  color:var(--ivory-dim);font-size:.68rem;letter-spacing:.03em;text-transform:uppercase;
}
.mobile-bar a:first-child{color:var(--gold-bright);}
@media (max-width:900px){.mobile-bar a{flex:1 1 0;min-width:0;text-align:center;letter-spacing:0;padding:0 .15rem;} .mobile-bar a span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}}
