@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.policy-page { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-dark); color: var(--text); line-height: 1.7; }
body > nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(10,10,26,0.7); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--text); }
.nav-brand:hover { text-decoration: underline; }
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.lang-toggle { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); color: var(--text); padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; }
.lang-toggle:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.2); }
.page { max-width: 920px; margin: 0 auto; padding: 6rem 1.5rem 3rem; }
.page > h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; overflow-wrap: anywhere; }
.subtitle a { color: inherit; }
.subtitle { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 1.5rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.policy-links a { color: var(--text-muted); padding: 0.5rem 0.9rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-decoration: none; }
.policy-links a:hover, .policy-links a[aria-current="page"] { color: var(--text); background: var(--bg-card-hover); border-color: var(--primary); }
.policy-document { background: #ffffff; color: #2e3d52; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: 1rem; overflow-wrap: anywhere; }
.policy-document > a { color: inherit; }
.policy-fallback { margin-top: 1rem; }
.policy-page a:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 4px; }
.policy-page #iub-legalDoc [id] { scroll-margin-top: 6rem; }
/* iubenda uses viewport breakpoints; our document sits in a narrower page. */
.policy-page #iub-legalDoc .aside-main-wrapper { display: block; padding: 1.5rem; }
.policy-page #iub-legalDoc .aside-main-wrapper > main { min-width: 0; }
.policy-page #iub-legalDoc .aside-main-wrapper aside { margin-bottom: 2rem; }
.policy-page #iub-legalDoc .summary__cards-wrapper { grid-template-columns: minmax(0, 1fr); }
.policy-page #iub-legalDoc .pre-footer { box-shadow: none; padding: 1.5rem; }
.policy-page #iub-legalDoc :is(h1, h2, h3, h4, h5, h6, p, li, a) { overflow-wrap: anywhere; }
.policy-page #iub-legalDoc .legalDoc__accordion summary > div,
.policy-page #iub-legalDoc .summary__card header > div { min-width: 0; }
.policy-page #iub-legalDoc [role="dialog"] { z-index: 200; }
.policy-page #iub-legalDoc .table-of-content-btn-wrapper { top: 4.5rem; }
body > footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 0; margin-top: 3rem; }
.footer-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-inner span { display: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 768px) { .page { padding: 5.5rem 1rem 2rem; } .policy-document { padding: 0; } .footer-inner { flex-direction: column; text-align: center; } }
@media (max-width: 959px) { .policy-page #iub-legalDoc [id] { scroll-margin-top: 10rem; } }
