/* Corporate presentation for the Platform and Trading secondary pages only. */
.demo-page .home-header__links a[aria-current="location"] {
  color: #3155ce;
  background: #f3f6ff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.demo-content {
  color: #17284a;
  background: #fff;
}

.demo-content :is(p, li, .notice, .finance-note, .demo-label) {
  color: #53617b;
}

.demo-content :is(h1, h2, h3, h4) { color: #17284a; }
.demo-content .eyebrow { color: #3155ce; }
.demo-content .section { padding-block: 56px; }
.demo-content .soft { background: #f3f6ff; }
.demo-content .hero-shell {
  background: linear-gradient(125deg, #f3f6ff, #fff 50%, #eeeafa);
}

.demo-content .platformhero { padding: 48px 22px 56px; }
.demo-content .saleshero { padding-block: 40px 56px; }
.demo-content :is(.platformhero, .saleshero) h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.demo-content h1 span { color: #636dca; }
.demo-content .actions { flex-wrap: wrap; }
.demo-content :is(.actions a, .sectionnav a, .related-cta) { min-height: 44px; }
.demo-content .breadcrumbs { color: #53617b; font-size: 13px; }
.demo-content .breadcrumbs a { color: #3155ce; text-decoration: underline; }
.demo-content .demo-disclosure {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 12px 16px;
  border: 1px solid #dce2f1;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.demo-content .sectionnav { position: static; }
html.home-header-ready .demo-page .sectionnav {
  position: sticky;
  top: var(--home-header-height, 80px);
}
.demo-content .sectionnav .wrap { min-height: 52px; }
.demo-content .sectionhead { align-items: start; }
.demo-content .sectionhead h2 { font-size: clamp(28px, 3vw, 38px); }

.demo-content :is(.processnav, .tradeflow) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 24px;
}
.demo-content :is(.processnav, .tradeflow) button {
  min-width: 0;
  min-height: 76px;
  padding: 16px;
  border: 1px solid #dce2f1;
  border-radius: 10px;
  color: #243961;
  background: #fff;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.demo-content :is(.processnav, .tradeflow) button b { color: #53617b; }
.demo-content :is(.processnav, .tradeflow) button[aria-selected="true"] {
  color: #fff;
  border-color: #3155ce;
  background: #3155ce;
}
.demo-content :is(.processnav, .tradeflow) button[aria-selected="true"] b { color: #fff; }
.demo-content :is(a, button, summary):focus-visible {
  outline: 3px solid #3155ce;
  outline-offset: 4px;
  border-radius: 4px;
}
.demo-content :is(.processpanel, .salesexample) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 40, 74, .05);
}
.demo-content :is(.processpanel, .salesexample) > * { min-width: 0; }
.demo-content :is(.processpanel, .salesexample) h3 { font-size: clamp(24px, 2.5vw, 32px); }
.demo-content :is(.platformnote, .tradequestions) {
  border: 1px solid #dce2f1;
  border-radius: 12px;
  color: #53617b;
  background: #f3f6ff;
  line-height: 1.7;
}
.demo-content .tradestate { padding: 24px; }
.demo-content .statecard { color: #53617b; }
.demo-content .statecard strong { color: #3155ce; }
.demo-content :is(.traderow, .docline) { flex-wrap: wrap; }
.demo-content :is(.traderow, .docline) > * { min-width: 0; overflow-wrap: anywhere; }
.demo-content .mapnode small { color: #53617b; }

.demo-content :is(.platformbenefits, .salesroles, .modulegrid, .industrygrid, .platformgrid, .trademodules, .tradechannels) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.demo-content :is(.platformbenefits, .salesroles, .modulegrid, .industrygrid, .platformgrid, .trademodules, .tradechannels) > * {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 12px;
  background: #fff;
}
.demo-content :is(.modulegrid, .industrygrid, .trademodules) a:hover { border-color: #8fa5e3; }
.demo-content .cta { background: linear-gradient(120deg, #17284a, #3155ce); }
.demo-content .cta :is(h2, .eyebrow) { color: #fff; }
.demo-content .cta p { color: #e7edff; }

.demo-content .demo-resources {
  margin: 0 0 40px;
  padding: 20px 24px;
  border: 1px solid #dce2f1;
  border-radius: 12px;
  background: #f3f6ff;
}
.demo-content .demo-resources summary { cursor: pointer; font-weight: 600; }
.demo-content .demo-resources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.demo-content .demo-resources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #3155ce;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 700px) {
  .demo-content :is(.platformbenefits, .salesroles, .modulegrid, .industrygrid, .platformgrid, .trademodules, .tradechannels) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .demo-content .processnav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo-content .tradeflow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .demo-content :is(.processpanel, .salesexample) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding: 36px;
  }
}
@media (min-width: 1100px) {
  .demo-content :is(.platformbenefits, .salesroles, .modulegrid, .platformgrid, .trademodules, .tradechannels) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  .demo-content :is(.saleshero, .split) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .demo-content .sectionhead { flex-direction: column; }
}
@media (max-width: 480px) {
  .demo-content .section { padding-block: 40px; }
  .demo-content :is(.processpanel, .salesexample, .tradestate, .tradehero) { padding: 20px; }
  .demo-content .sectionnav .wrap { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-content *, .demo-content *::before, .demo-content *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
