
/* Company and security pages share the Forex type scale, column grid and surfaces. */
@layer forex-edition {body[data-edge-page]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    --edge-gutter: max(var(--fx-edge), calc((100% - 1280px) / 2));
    --edge-gap: clamp(24px, 4vw, 72px);
    --edge-rule: 1px solid rgb(255 255 255 / 20%);
  }
[data-edge-page] #main .section:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { padding-block: clamp(54px, 8vw, 120px) !important; }
[data-edge-page] #main .section-content > h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    margin: 0 0 clamp(24px, 3vw, 44px) !important;
    font-size: var(--fx-heading) !important; line-height: 1.3 !important;
  }
[data-edge-page] #main .section .action:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: inline-flex !important; align-items: center; justify-content: center;
    justify-self: start; width: fit-content; max-width: 100%;
    min-height: 56px !important; padding: 10px 28px !important; border: 0 !important;
    border-radius: 999px !important; text-decoration: none !important;
    font-size: 18px !important; color: #080a09 !important; background: #33ffb5 !important;
  }
[data-edge-page] #main .section .action:is(:focus-visible,:hover):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background: #19dc95 !important; }
[data-edge-page] #main .section .action:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::after { content: none !important; }
[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid !important; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr) !important;
    gap: var(--edge-gap) !important; align-items: center !important; align-content: center !important;
    min-height: clamp(540px,47vw,770px) !important;
    padding: clamp(36px,4vw,72px) var(--edge-gutter) !important;
    background: #080808 !important;
  }
[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::before {
    content: "" !important; position: absolute; inset: -15%; z-index: -3; pointer-events: none;
    background: radial-gradient(ellipse 42% 70% at 45% 80%, rgb(255 255 255 / 17%), transparent 78%),
                radial-gradient(ellipse 32% 58% at 72% 26%, rgb(255 255 255 / 8%), transparent 82%);
  }
:is(.news-dot-grid,.news-dot-field,.news-glow-shade):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  }
.news-dot-grid:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    z-index: -2;
    background: radial-gradient(circle, #565656 .95px, transparent 1.35px) top left / 12px 12px;
    mask-image: radial-gradient(ellipse 56% 72% at 31% 48%, rgb(0 0 0 / .15), rgb(0 0 0 / .52) 55%, #000),
                linear-gradient(to bottom, rgb(0 0 0 / .30), #000 82%);
    mask-composite: intersect;
  }
.news-dot-field:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { z-index: -2; }
.news-glow-shade:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { z-index: -1; background: linear-gradient(to bottom, #000, transparent); }

  @media (prefers-reduced-motion: no-preference) {[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::before {
      animation: forex-account-light 9s ease-in-out infinite alternate;
    }

    @keyframes forex-account-light {
      from { transform: translate(-8%, 4%); }
      to { transform: translate(8%, -4%); }
    }
  }[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::after {
    content: "" !important; display: block !important; position: static !important;
    grid-column: 2; grid-row: 1; justify-self: center; align-self: center;
    width: min(100%, 660px); aspect-ratio: 1;
    background: url("hero-media/news-phone.png") center / contain no-repeat !important;
    opacity: 1 !important; pointer-events: none;
  }
[data-edge-page="news"] #main .news-photo-cover > div:first-child:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="news"] .newsroom-hero > .newsroom-container:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    grid-area: 1 / 1; width: 100% !important; align-self: center !important;
    margin: 0 !important; padding: 0 !important; text-align: start !important;
  }
[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero) :is(h1,.lead,.newsroom-subtitle):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    margin-inline: 0 !important; text-align: start !important;
  }
[data-edge-page="news"] #main .news-photo-cover .lead:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { max-width: 46ch !important; }
[data-edge-page="news"] #s2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s3:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s3:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    background: linear-gradient(180deg,#000 12%,#151515 72%,#262626) !important;
  }
[data-edge-page="news"] #s2 .section-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s3 .section-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s6 .section-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: grid !important; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    align-content: start; align-items: start; column-gap: var(--edge-gap); row-gap: 14px;
  }
[data-edge-page="news"] #s2 .section-content > *:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s3 .section-content > *:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-column: 2; margin: 0 !important; }
[data-edge-page="news"] #s2 .section-content > h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s3 .section-content > h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-area: 1 / 1 / span 4; }
[data-edge-page="news"] #s2 h3:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { font-size: clamp(24px,2.5vw,36px) !important; line-height: 1.3 !important; }
[data-edge-page="news"] #s2 .section-content > .action:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s3 .section-content > .action:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { margin-top: 12px !important; }
[data-edge-page="news"] #main .news-feed:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background: #101010 !important; }
[data-edge-page="news"] .news-feed .records:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: grid !important; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr));
    gap: clamp(20px,2vw,32px);
  }
[data-edge-page="news"] .news-feed .news-row:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important;
    background: #191919 !important; border: var(--edge-rule); border-radius: 0;
  }
[data-edge-page="news"] .news-feed .news-row[hidden]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { display: none !important; }
[data-edge-page="news"] .news-feed .news-thumb:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { width: 100%; border-radius: 0 !important; }
[data-edge-page="news"] .news-feed .news-copy:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { display: flex; flex: 1; flex-direction: column; padding: 20px; }
[data-edge-page="news"] .news-headline .news-category:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: block !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: transparent !important;
    font-size: 14px; color: #bababa !important;
  }
[data-edge-page="news"] .news-headline h3:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { font-weight: 400 !important; }
[data-edge-page="news"] .news-meta:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { margin-block-start: auto !important; padding-top: 20px; }
[data-edge-page="news"] .news-story-link:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::after { border-radius: 0; }
[data-edge-page="security"] #main :is(#s2,#s4) h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #main :is(#s2,#s3,#s4) h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    margin-inline: auto !important; text-align: center !important;
  }
[data-edge-page="security"] #s2 .entries:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="security"] #s4 .entries:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 !important;
    background: #171717; border: var(--edge-rule); margin: 0 !important;
  }
[data-edge-page="security"] #main :is(#s2,#s4) .entries > div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars > div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: block !important; padding: clamp(22px,3vw,44px) !important;
    border: 0 !important; background: transparent !important;
  }
[data-edge-page="security"] #main :is(#s2,#s4) .entries > div + div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars > div + div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-inline-start: var(--edge-rule) !important; }
[data-edge-page="security"] #main .entries dt:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars dt:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    font-size: clamp(20px,1.8vw,26px) !important; color: white !important;
  }
[data-edge-page="security"] #main .entries dd:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars dd:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    margin: 12px 0 0 !important; color: #c4c4c4 !important; font-size: 16px !important;
  }
[data-edge-page="security"] #main #s5:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    background: radial-gradient(ellipse at 50% 100%,#282828,#090909 73%) !important; text-align: center;
  }
[data-edge-page="security"] #main #s5 :is(h2,p):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s2 .section-lead:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    max-width: 65ch; margin-inline: auto !important; text-align: center;
  }
[data-edge-page="story"] #s4 .story-card-photo:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { width: 100%; border-radius: 0; aspect-ratio: 16 / 9; object-fit: cover; }
[data-edge-page="story"] #s3 .company-figures:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px; margin-top: 0;
  }
[data-edge-page="story"] #s3 .company-figures > div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-top: var(--edge-rule); padding-top: 18px; }
[data-edge-page="story"] #s3 .company-figures dd:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    font-size: clamp(27px,3.2vw,48px) !important; color: white !important; line-height: 1.2 !important;
  }
[data-edge-page="story"] #s5 .section-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px var(--edge-gap);
  }
[data-edge-page="story"] #s5 h2:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-column: 1 / -1; }
[data-edge-page="story"] #s5 .story-journey-photo:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    grid-column: 1; align-self: start; border-radius: 0; width: 100%;
    height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0;
  }
[data-edge-page="story"] #s5 :is(.company-timeline,.action):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-column: 2; margin: 0; }
[data-edge-page="story"] #s6 .section-content > :is(h2,.section-lead):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-column: 1; margin: 0 !important; }
[data-edge-page="story"] #s6 [data-library]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { min-width: 0; grid-area: 1 / 2 / span 3; }
[data-edge-page="story"] #s6 .docgroup:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-block-start: var(--edge-rule) !important; }
[data-edge-page="story"] #s6 .docgroup[open]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background: #191919 !important; }


  @media(max-width:760px) {[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      grid-template-columns: minmax(0,1fr) !important; gap: 8px !important;
      min-height: 0 !important; padding: 52px var(--fx-edge) 12px !important;
    }
[data-edge-page="news"] :is(#main .news-photo-cover,.newsroom-hero):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::after {
      grid-area: 2 / 1; width: min(100%,380px);
    }
[data-edge-page="security"] #main :is(#s2,#s4) .entries:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page] #main :is(#s2,#s3,#s5,#s6) > .section-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: minmax(0,1fr) !important; }
[data-edge-page] #main :is(#s2,#s3,#s5,#s6) > .section-content > *:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-area: auto !important; }
[data-edge-page="security"] #main :is(#s2,#s4) .entries > div + div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-edge-page="story"] #s4 .story-pillars > div + div:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-inline-start: 0 !important; border-block-start: var(--edge-rule) !important; }
[data-edge-page="story"] #s3 .company-figures:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: repeat(2,minmax(0,1fr)); }
[data-edge-page="news"] .news-feed .records:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: minmax(0,1fr); }

  }
}
