.legal-page { background: #f4f5f8; }
.legal-topbar { position: sticky; z-index: 30; top: 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 76px; padding: 0 max(22px, calc((100% - 1080px) / 2)); background: rgb(255 255 255 / 95%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.legal-topbar nav { display: flex; gap: 8px; align-items: center; }.legal-topbar nav a { padding: 10px 13px; color: #5f6170; border-radius: 99px; font-size: 12px; font-weight: 800; }.legal-topbar nav a:hover, .legal-topbar nav a[aria-current="page"] { color: var(--purple); background: #efeaff; }
.content-shell.legal-shell { max-width: 1280px; }
.legal-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 42px; align-items: center; min-height: 280px; padding: 48px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #25213b, #5b2bb6); border-radius: 25px; }.legal-hero.privacy { background: linear-gradient(135deg, #193e68, #326dbe); }.legal-hero.cookies { background: linear-gradient(135deg, #413057, #9a4a78); }.legal-hero.author { background: radial-gradient(circle at 82% 16%, rgb(255 116 105 / 35%), transparent 30%), linear-gradient(135deg, #251054, #6435c8 62%, #ff625b); }
.legal-hero h1 { max-width: 760px; margin: 15px 0 13px; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -2.8px; }.legal-hero p { max-width: 720px; margin: 0; color: rgb(255 255 255 / 72%); line-height: 1.7; }.legal-hero-mark { display: grid; place-items: center; width: 130px; height: 130px; color: #4b2587; background: #fff; border: 10px solid rgb(255 255 255 / 18%); border-radius: 35px; background-clip: padding-box; font-size: 42px; font-weight: 950; transform: rotate(5deg); }.privacy .legal-hero-mark { color: #245d9d; }.cookies .legal-hero-mark { color: #86416a; }
.legal-update { margin: 14px 4px 0; color: var(--muted); font-size: 11px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 22px; }.legal-toc { position: sticky; top: 98px; display: grid; gap: 5px; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 8px 28px rgb(26 28 39 / 4%); }.legal-toc b { padding: 7px 9px 10px; font-size: 12px; }.legal-toc a { padding: 10px 11px; color: #666979; border-radius: 11px; font-size: 11px; font-weight: 750; }.legal-toc a:hover { color: var(--purple); background: #f3effd; }
.legal-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.legal-document { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 32px rgb(26 28 39 / 4%); }.legal-section { padding: 34px 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }.legal-section:last-child { border-bottom: 0; }.legal-section h2 { margin: 0 0 15px; font-size: 28px; line-height: 1.12; letter-spacing: -1.2px; }.legal-section h3 { margin: 25px 0 9px; font-size: 17px; }.legal-section p, .legal-section li { color: var(--muted); font-size: 13px; line-height: 1.75; }.legal-section p { margin: 0 0 14px; }.legal-section ul, .legal-section ol { margin: 14px 0 0; padding-left: 21px; }.legal-section li + li { margin-top: 7px; }.legal-section a { color: var(--purple); font-weight: 800; text-decoration: underline; text-decoration-color: rgb(91 8 239 / 25%); text-underline-offset: 3px; }
.legal-callout { margin: 18px 0; padding: 20px; background: #f6f2ff; border-left: 4px solid var(--purple); border-radius: 14px; }.legal-callout.warning { background: #fff3f4; border-left-color: #f04c64; }.legal-callout p:last-child { margin-bottom: 0; }.legal-callout strong { color: var(--ink); }
.principle-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }.principle-grid article, .contact-card { padding: 20px; background: #f7f6fa; border-radius: 16px; }.principle-grid span { display: grid; place-items: center; width: 37px; height: 37px; color: #fff; background: var(--purple); border-radius: 12px; font-size: 12px; font-weight: 900; }.principle-grid h3, .contact-card h3 { margin: 17px 0 7px; }.principle-grid p, .contact-card p { margin: 0; font-size: 11px; }.contact-card { display: flex; flex-direction: column; }.contact-card > a:last-child { width: max-content; margin-top: auto; padding-top: 15px; }
.policy-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 12px; }.policy-table th, .policy-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }.policy-table th { color: #fff; background: #292a3a; }.policy-table td { color: var(--muted); }.status-none { display: inline-flex; padding: 4px 8px; color: #217853; background: #e8f7ef; border-radius: 99px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.author-profile { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; align-items: start; }.author-photo { width: 210px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #ece8f5; border: 6px solid #fff; border-radius: 30px; box-shadow: 0 18px 38px rgb(66 27 133 / 18%); }.author-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }.author-profile h2 { margin-top: 0; }.author-link { display: inline-flex; align-items: center; width: max-content; margin-top: 8px; padding: 12px 17px; color: #fff !important; background: var(--purple); border-radius: 999px; text-decoration: none !important; }
.legal-footer { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 30px 6px 4px; color: var(--muted); font-size: 11px; }.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }.legal-footer nav a { color: #555867; font-weight: 750; }.legal-footer nav a[aria-current="page"] { color: var(--purple); }

.footer-copy { display: grid; gap: 7px; }.footer-copy p { margin: 0; }.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 12px; }.footer-legal-links a { color: #666979; font-size: 10px; font-weight: 750; }

@media (max-width: 760px) {
  .legal-topbar { min-height: 68px; padding: 0 16px; }.legal-topbar .brand img { width: 78px; }.legal-topbar nav a:not(.legal-home) { display: none; }
  .legal-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 28px 22px; border-radius: 19px; }.legal-hero h1 { font-size: 38px; letter-spacing: -2px; }.legal-hero-mark { width: 86px; height: 86px; border-width: 7px; border-radius: 25px; font-size: 29px; }
  .legal-layout { grid-template-columns: 1fr; margin-top: 14px; }.legal-toc { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding: 10px; border-radius: 15px; scrollbar-width: none; }.legal-toc::-webkit-scrollbar { display: none; }.legal-toc b { display: none; }
  .legal-document { border-radius: 18px; }.legal-section { padding: 27px 20px; scroll-margin-top: 77px; }.legal-section h2 { font-size: 25px; }.principle-grid, .contact-grid { grid-template-columns: 1fr; }.policy-table { min-width: 560px; }.policy-table-wrap { overflow-x: auto; }
  .legal-footer { grid-template-columns: 1fr; }.legal-footer nav { justify-content: flex-start; }.author-profile { grid-template-columns: 1fr; }.author-photo { width: min(210px, 100%); border-radius: 24px; }
}
