/* Legal center: scoped styles, no build step or new client-side dependencies. */
.fxm-legal-page{--legal-ink:var(--color-on-surface,#272e42);--legal-muted:#717589;--legal-line:var(--color-outline-variant,#e2e7ff);--legal-accent:var(--color-primary,#4f34d9);font-family:var(--font-family-app);background:var(--color-surface,#fff);color:var(--legal-ink);padding:108px 0 88px;min-height:75vh}
.fxm-legal-shell{max-width:1240px;margin:0 auto;padding:0 32px}
.fxm-legal-page a{touch-action:manipulation}
.fxm-legal-page a:focus-visible{outline:2px solid var(--legal-accent);outline-offset:5px;border-radius:4px}
.fxm-legal-skip{position:fixed;left:24px;top:80px;transform:translateY(-220px);z-index:100;background:#fff;padding:12px 20px;color:var(--legal-accent)}
.fxm-legal-skip:focus{transform:none}
.fxm-legal-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#727684}
.fxm-legal-breadcrumb a:hover{color:var(--legal-accent)}
.fxm-legal-breadcrumb>span:first-of-type{color:#bbbfc9}
.fxm-legal-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:28px 36px;border:1px solid var(--legal-line);border-radius:26px;background:linear-gradient(115deg,#ffffff 15%,#f7f5ff 68%,#f0faf9 100%);margin:24px 0 32px}
.fxm-legal-eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--legal-accent);margin:0 0 14px}
.fxm-legal-eyebrow>span{width:6px;height:6px;background:var(--legal-accent);border-radius:50%}
.fxm-legal-hero h1{font-size:clamp(30px,3.5vw,40px);line-height:1.25;font-weight:700;letter-spacing:-.045em;text-wrap:balance;margin:0}
.fxm-legal-intro{max-width:610px;font-size:14px;line-height:1.8;color:var(--legal-muted);margin:17px 0 0;text-wrap:pretty}
.fxm-legal-emblem{width:220px;height:192px;display:grid;place-items:center;flex-shrink:0;margin:0 14px 0 24px}
.fxm-legal-emblem img{display:block;width:220px;height:220px;object-fit:contain;image-rendering:auto}
.fxm-legal-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:32px;align-items:start}
.fxm-legal-sidebar-inner{position:sticky;top:102px}
.fxm-legal-sidebar{align-self:stretch}
.fxm-legal-nav-label{font-size:11px;font-weight:600;color:#747986;letter-spacing:.07em;margin:8px 0 16px;padding-left:14px}
.fxm-legal-nav{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.fxm-legal-nav a{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid transparent;border-radius:14px;font-size:14px;color:#5e6371;transition:background-color .15s,color .15s,border-color .15s}
.fxm-legal-nav a>svg{height:18px;width:18px;flex-shrink:0;color:inherit;stroke-width:1.6}
.fxm-legal-nav a>span:not(.fxm-legal-nav-arrow){min-width:0;overflow-wrap:anywhere}
.fxm-legal-nav a:hover{background:#edeff4;color:var(--legal-ink)}
.fxm-legal-nav a[aria-current=page]{background:var(--color-primary-container,#f0edff);border-color:#e3def8;color:var(--legal-accent);font-weight:600}
.fxm-legal-nav-arrow{margin-left:auto;opacity:0;font-size:17px}
.fxm-legal-nav [aria-current=page] .fxm-legal-nav-arrow{opacity:1}
.fxm-legal-help{margin:30px 14px 0;padding-top:26px;border-top:1px solid var(--legal-line);color:#858a97}
.fxm-legal-help p{font-size:12px;line-height:1.9;color:var(--legal-muted);margin:12px 0}
.fxm-legal-help a{display:inline-flex;align-items:center;gap:18px;color:var(--legal-ink);font-size:12px;font-weight:600;min-height:32px}
.fxm-legal-help a:hover{color:var(--legal-accent)}
.fxm-legal-reading{min-width:0}
.fxm-legal-document{background:#fff;border:1px solid var(--legal-line);border-radius:26px;padding:0 40px;box-shadow:0 8px 22px -12px rgba(79,52,217,.12),0 2px 8px -6px rgba(47,38,88,.08);scroll-margin-top:100px}
.fxm-legal-document:focus{outline:2px solid var(--legal-accent);outline-offset:4px}




.fxm-legal-html{font-family:var(--font-family-reading);padding:30px 0 12px;font-size:15px;line-height:1.95;color:#52586a;overflow-wrap:anywhere}
.fxm-legal-html section+section{margin-top:34px;padding-top:26px;border-top:1px solid #eff0f3}
.fxm-legal-html h1,.fxm-legal-html h2,.fxm-legal-html h3,.fxm-legal-html h4,.fxm-legal-html h5,.fxm-legal-html h6{font-weight:650;line-height:1.55;color:var(--legal-ink);scroll-margin-top:100px;text-wrap:pretty;margin:1.8em 0 .8em;letter-spacing:-.015em}
.fxm-legal-html h1{font-size:24px}.fxm-legal-html h2{font-size:19px}.fxm-legal-html h3{font-size:17px}
.fxm-legal-html> :first-child,.fxm-legal-html section> :first-child{margin-top:0}
.fxm-legal-html p,.fxm-legal-html ul,.fxm-legal-html ol,.fxm-legal-html blockquote{margin:0 0 16px}
.fxm-legal-html ul{list-style:disc;padding-left:24px}.fxm-legal-html ol{list-style:decimal;padding-left:24px}
.fxm-legal-html li{padding-left:3px;margin:6px 0}.fxm-legal-html li::marker{color:#88839b}
.fxm-legal-html strong{color:#343947;font-weight:650}
.fxm-legal-html a{color:var(--legal-accent);text-decoration:underline;text-underline-offset:3px}
.fxm-legal-html blockquote{border-left:3px solid #dcd6f5;padding:12px 20px;background:#f8f7fc}
.fxm-legal-html table{display:block;width:max-content;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:24px 0;font-size:13px}
.fxm-legal-html td,.fxm-legal-html th{border:1px solid var(--legal-line);padding:12px 16px;min-width:100px;vertical-align:top}
.fxm-legal-html th{font-family:var(--font-family-app);background:var(--color-surface,#fff);color:var(--legal-ink);font-weight:600;text-align:start}
.fxm-legal-html img{max-width:100%;height:auto;border-radius:8px}.fxm-legal-html pre{overflow:auto;max-width:100%}


.fxm-legal-notice{display:flex;gap:10px;align-items:flex-start;margin-top:20px;padding:0 5px;color:#7b8190;font-size:11px;line-height:1.9}
.fxm-legal-notice svg{flex-shrink:0;margin-top:2px}.fxm-legal-notice p{margin:0}
.fxm-legal-empty{text-align:center;padding:68px 0;max-width:430px;margin:auto}
.fxm-legal-empty-icon{width:64px;height:64px;display:grid;place-items:center;border:1px solid #e6e1f5;border-radius:16px;background:#f7f5fd;color:var(--legal-accent);margin:0 auto 24px}
.fxm-legal-empty h2{font-size:22px;font-weight:650;margin-bottom:12px}.fxm-legal-empty p{font-size:14px;color:var(--legal-muted);line-height:1.8}
.fxm-legal-home-link{display:inline-flex;align-items:center;gap:24px;margin-top:26px;background:var(--legal-accent);color:#fff;padding:12px 18px;font-size:13px;font-weight:500;border-radius:7px}
.fxm-legal-home-link:hover{background:#4127bf}
@media(min-width:1500px){.fxm-legal-shell{max-width:1240px}.fxm-legal-layout{gap:64px}.fxm-legal-document{padding:0 54px}}
@media(max-width:900px){.fxm-legal-layout{grid-template-columns:190px minmax(0,1fr);gap:25px}.fxm-legal-document{padding:0 28px}.fxm-legal-shell{padding:0 24px}.fxm-legal-nav a{padding:13px 10px;font-size:13px}}
@media(max-width:680px){.fxm-legal-page{padding:96px 0 48px}.fxm-legal-shell{padding:0 20px}.fxm-legal-hero{padding:28px 0;margin-bottom:24px;gap:16px}.fxm-legal-hero h1{font-size:32px}.fxm-legal-intro{font-size:13px;margin-top:12px}.fxm-legal-emblem{display:none}.fxm-legal-layout{display:block}.fxm-legal-sidebar-inner{position:static}.fxm-legal-nav-label,.fxm-legal-help{display:none}.fxm-legal-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:24px}.fxm-legal-nav a{font-size:12px;min-height:46px;padding:10px;border-color:var(--legal-line);background:#fff;border-radius:7px;gap:8px}.fxm-legal-nav-arrow{display:none}.fxm-legal-document{padding:0 22px;border-radius:10px}.fxm-legal-html{font-size:14px;line-height:1.95;padding-top:25px}.fxm-legal-html h2{font-size:18px}.fxm-legal-html section+section{margin-top:28px;padding-top:22px}.fxm-legal-empty{padding:44px 0}.fxm-legal-notice{font-size:10px}}
@media(prefers-reduced-motion:reduce){.fxm-legal-page *{transition:none!important;scroll-behavior:auto!important}}
@media print{.fxm-site-header,footer,.fxm-legal-sidebar,.fxm-legal-breadcrumb,.fxm-legal-emblem,.fxm-legal-skip{display:none!important}.fxm-legal-page{padding:0;background:#fff}.fxm-legal-shell{max-width:none;padding:0}.fxm-legal-hero{padding:0 0 20px}.fxm-legal-layout{display:block}.fxm-legal-document{border:0;padding:0;box-shadow:none}.fxm-legal-html{font-size:11pt;color:#222}.fxm-legal-html h2{break-after:avoid}}

.fxm-legal-page h1,.fxm-legal-page h2,.fxm-legal-page h3,.fxm-legal-page h4,.fxm-legal-page h5,.fxm-legal-page h6{font-family:var(--font-family-heading)}

/* Match broker overview cards and the shared purple/teal design tokens. */





.fxm-legal-nav a>svg{stroke-width:1.8}
.fxm-legal-help{background:linear-gradient(145deg,#f7f5ff,#f4faf9);border:1px solid var(--legal-line);border-radius:18px;padding:20px;margin:24px 0 0}
.fxm-legal-help>svg{color:var(--legal-accent)}
@media(max-width:900px){.fxm-legal-hero{padding:24px}.fxm-legal-emblem{width:170px;margin:0;height:160px}.fxm-legal-emblem img{width:190px;height:190px}}
@media(max-width:680px){.fxm-legal-hero{padding:24px;border-radius:22px;margin:20px 0 24px;position:relative;overflow:hidden}.fxm-legal-hero>div:first-child{position:relative;z-index:1}.fxm-legal-emblem{display:block;position:absolute;right:-12px;top:4px;width:112px;height:112px;opacity:.22}.fxm-legal-emblem img{width:112px;height:112px}.fxm-legal-intro{max-width:90%}.fxm-legal-document{border-radius:22px;padding:0 20px}.fxm-legal-nav a{border-radius:12px}.fxm-legal-hero h1{font-size:30px}}

.fxm-legal-updated{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid var(--legal-line);margin-top:12px;padding:22px 0 28px;color:var(--legal-muted);font-size:12px}
.fxm-legal-updated time{font-family:var(--font-family-numeric);font-variant-numeric:tabular-nums}
@media(max-width:680px){.fxm-legal-updated{font-size:11px;padding:18px 0 22px}}

/* Separate layers keep the entrance float and hover lift from competing. */
@keyframes fxm-legal-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(var(--legal-float-distance, -6px)) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .fxm-legal-emblem {
    transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
    transform-origin: 50% 65%;
  }
  .fxm-legal-emblem img {
    /* Settle after one gentle cycle so motion does not distract from reading. */
    animation: fxm-legal-float 4.8s ease-in-out 1;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fxm-legal-emblem:hover { transform: translateY(-5px) rotate(.6deg) scale(1.015); }
}
@media (max-width: 680px) {
  .fxm-legal-emblem { --legal-float-distance: -3px; }
}
@media (prefers-reduced-motion: reduce) {
  .fxm-legal-emblem, .fxm-legal-emblem img { animation: none; transition: none; transform: none; }
}
