.legal-header { position: sticky; inset-block-start: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface), transparent 6%); backdrop-filter: blur(18px); }
.legal-header-row { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-brand { min-width: 3.4rem; min-height: 3.4rem; display: inline-flex; align-items: center; font-size: 1.65rem; font-weight: 950; letter-spacing: -.05em; }
.legal-brand img { width: 4.4rem; height: 3.4rem; display: block; object-fit: contain; transition: transform .3s cubic-bezier(.2,.75,.25,1.25), filter .3s ease; }
.legal-brand:hover img, .legal-brand:focus-visible img { transform: translateY(-2px) rotate(-2deg) scale(1.055); filter: drop-shadow(0 7px 14px color-mix(in srgb, var(--accent), transparent 66%)); }
.legal-actions { display: flex; align-items: center; gap: .5rem; }
.legal-actions button { min-height: 2.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface); cursor: pointer; }
.legal-theme { width: 2.6rem; display: grid; place-items: center; }.legal-language { min-width: 2.6rem; padding-inline: .7rem; font-weight: 800; }
.legal-theme .moon, [data-theme="dark"] .legal-theme .sun { display: none; }[data-theme="dark"] .legal-theme .moon { display: block; }
.legal-main { padding-block: clamp(2rem, 5vw, 4.5rem); }
.legal-breadcrumbs { margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .88rem; }
.legal-breadcrumbs a:hover { color: var(--brand); }
.legal-card { max-width: 62rem; margin-inline: auto; padding: clamp(1.3rem, 4vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 12px 38px rgba(63, 45, 105, .06); }
.legal-kicker { color: var(--brand); font-size: .84rem; font-weight: 850; }.legal-card h1 { margin: .35rem 0 .75rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }.legal-updated { margin: 0 0 2rem; color: var(--muted); font-size: .88rem; }
.legal-intro { margin-bottom: 2rem; padding: 1rem 1.1rem; border-inline-start: 4px solid var(--brand); border-radius: .55rem; background: var(--brand-soft); }
.legal-section { padding-block: 1.15rem; border-top: 1px solid var(--line); }.legal-section:first-of-type { border-top: 0; }.legal-section h2 { margin: 0 0 .6rem; font-size: 1.18rem; }.legal-section p { margin: 0; color: var(--muted); }.legal-section p + p { margin-top: .65rem; }.legal-section strong { color: var(--text); font-weight: 850; }.legal-section ul { margin: .65rem 0 0; padding-inline-start: 1.3rem; color: var(--muted); }.legal-section li + li { margin-top: .4rem; }
.legal-contact-button { width: fit-content; margin-top: 1rem; padding: .72rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--brand); border-radius: 999px; color: var(--surface); background: var(--brand); font-size: .92rem; font-weight: 800; }
.legal-contact-button[aria-disabled="true"] { color: var(--muted); border-color: var(--line); background: var(--surface-2); cursor: not-allowed; opacity: .72; }
.legal-nav { margin-top: 2rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .65rem; border-top: 1px solid var(--line); }.legal-nav a { padding: .62rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); font-size: .88rem; font-weight: 750; }.legal-nav a[aria-current="page"] { color: var(--surface); border-color: var(--brand); background: var(--brand); }
.legal-footer { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .85rem; }
@media (max-width: 560px) { .legal-header-row { min-height: 4rem; }.legal-card { border-radius: 1.2rem; }.legal-actions .back-label { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
