:root {
  --brand: #16aca4;
  --brand-dark: #0f7f79;
  --brand-glow: rgba(22, 172, 164, .22);
  --ink: #e8f0f2;
  --ink-soft: rgba(232, 240, 242, .78);
  --muted: #8aa0a9;
  --line: rgba(255,255,255,.12);
  --surface: #0a1216;
  --surface-2: #0f1a20;
  --surface-3: #15242c;
  --font: "Outfit", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --radius: 2px;
  --focus: 0 0 0 2px rgba(10, 18, 22, .9), 0 0 0 4px rgba(127, 224, 216, .65);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --topbar-h: 64px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; min-height: 100%; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  /* Lock canvas color — legacy page <style> blocks (vi/th/id) used to set body to #EFF1F3
     which showed as a white seam under the fixed topbar. */
  background: var(--surface) !important;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

::selection {
  background: rgba(22, 172, 164, .35);
  color: #f4fbfa;
}

a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 2000;
  padding: 10px 14px;
  background: #16aca4;
  color: #041014;
  font-weight: 700;
  font-size: .86rem;
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  box-shadow: var(--focus);
}

/* âââ Site chrome: fixed top navigation âââ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(10, 18, 22, .88);
  /* Lighter blur — full 14px saturate over animated hero was a major GPU cost */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
  padding-top: env(safe-area-inset-top);
}
.topbar.is-solid {
  background: rgba(10, 18, 22, .96);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}
.brand img[src$=".svg"] {
  height: 36px;
  background: transparent;
  padding: 0;
}
.brand .brand-text {
  font-size: 1rem;
  letter-spacing: .02em;
  color: #e8f4f4;
}
.brand .brand-text .muted-part { color: #9fd9d4; font-weight: 600; }

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 2px;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}
.nav > .item { position: relative; flex-shrink: 0; }
.nav a, .nav .label {
  display: inline-block;
  padding: 8px 9px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  border-radius: 6px;
}
button.nav .label,
.nav button.label {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.nav a:hover, .nav .label:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.is-active,
.nav .label.is-active,
.nav > .item.is-active > a,
.nav > .item.is-active > .label {
  color: #5fd6cf;
  background: transparent;
  box-shadow: inset 0 -2px 0 #16aca4;
}
.nav .children a.is-active {
  color: #5fd6cf;
  background: transparent;
  box-shadow: none;
  font-weight: 700;
}
.nav .label::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid rgba(255,255,255,.55);
  vertical-align: middle;
}
.nav .children {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: #101c22;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  padding: 8px;
  z-index: 50;
}
.nav .item:hover > .children,
.nav .item:focus-within > .children { display: block; }
.nav .children a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: #d5e4e8;
  font-size: .84rem;
}
.nav .children a:hover { background: rgba(22,172,164,.18); color: #fff; }
.nav .children .children { left: 100%; top: 0; }

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.actions select {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  padding: 6px 8px;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: .8rem;
}
.actions select option { color: #122029; background: #fff; }
.btn {
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.28);
}
.btn.ghost:hover { border-color: var(--brand); color: #fff; }
.btn.linkish {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.55);
  padding: 6px 8px;
  font-weight: 500;
}
.btn.linkish:hover { color: #fff; }

.hero { display: none; }

.main.main-wide {
  max-width: none;
  margin: 0;
  padding: 0;
}
.content.content-legacy {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow-x: clip;
  overflow-y: visible;
  min-height: 50vh;
  max-width: 100%;
}
.content.content-legacy.is-loading {
  min-height: 70vh;
  background: #0a1216;
  padding: 120px 20px 48px;
  overflow: hidden;
}
.content.content-legacy.is-fetching {
  opacity: 0.92;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.content.content-legacy.is-revealing {
  animation: ddk-content-in .45s var(--ease) both;
}
@keyframes ddk-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.content-loading {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
}
.content-skeleton {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.content-skeleton .sk {
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04));
  background-size: 200% 100%;
  animation: ddk-shimmer 1.2s linear infinite;
}
.content-skeleton .sk-title { height: 28px; width: 42%; margin: 0 auto; }
.content-skeleton .sk-line { height: 12px; width: 100%; }
.content-skeleton .sk-line.short { width: 68%; margin: 0 auto; }
.content-skeleton .sk-block { height: 180px; width: 100%; margin-top: 10px; }
@keyframes ddk-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.content:not(.is-loading) .content-skeleton { display: none; }

.back-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1030;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(127, 224, 216, .45);
  border-radius: var(--radius);
  background: rgba(15, 26, 32, .88);
  color: #7fe0d8;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), background .2s ease;
}
.back-top:hover {
  background: rgba(22, 172, 164, .22);
  transform: translateY(-2px);
}
.back-top[hidden] { display: none !important; }
.content.content-missing .page-missing h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #f4fbfa;
  margin: 0 0 .75rem;
}
.content.content-missing .page-missing p.muted {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.content.content-missing .page-missing .btn {
  display: inline-block;
}

/* MQL5 / Tradays economic calendar â dark band matching site */
.content-legacy .legacy-content .ddk-econ-calendar,
.content-legacy .legacy-content #economicCalendarWidget {
  width: 100% !important;
  max-width: 100%;
  min-height: 560px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  background: #0b1418;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.content-legacy .legacy-content #economicCalendarWidget iframe {
  display: block;
  width: 100% !important;
  border: 0;
  background: #0b1418;
}
.content-legacy .legacy-content section.facts.section-bg:has(#economicCalendarWidget),
.content-legacy .legacy-content section.facts.section-bg:has(.ddk-econ-calendar) {
  background: #0b1418 !important;
}
.content-legacy .legacy-content .ecw-copyright,
.content-legacy .legacy-content a.ecw-copyright {
  color: var(--muted) !important;
  font-size: .78rem !important;
}
.content-legacy .legacy-content section { margin: 0; }
.content-legacy img { max-width: 100%; height: auto; }

/* MT5 store badges (Apple / Google / Huawei) â keep badge size, sit in one row */
.content-legacy .legacy-content .ddk-store-badges {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  margin: 12px 0 0;
  text-align: center;
}
.content-legacy .legacy-content .ddk-store-badges a {
  display: inline-flex;
  line-height: 0;
  flex: 0 0 auto;
}
.content-legacy .legacy-content .ddk-store-badges img,
.content-legacy .legacy-content img[src*="homepage/a.png"],
.content-legacy .legacy-content img[src*="homepage/p.png"],
.content-legacy .legacy-content img[src*="homepage/h.png"] {
  width: 120px !important;
  height: 70px !important;
  max-width: 120px !important;
  object-fit: contain;
}

/* Home / market counters (PureCounter not loaded in SPA) */
.content-legacy .legacy-content .row.counters {
  align-items: stretch;
  row-gap: 1.25rem;
  margin-top: .5rem;
}
.content-legacy .legacy-content .row.counters .purecounter,
.content-legacy .legacy-content .row.counters .ddk-counter-ready {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #7fe0d8 !important;
  margin-bottom: .35rem;
}
.content-legacy .legacy-content .row.counters p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

/* MT5 platform tiles (Windows / Android / Apple / Web) */
.content-legacy .legacy-content .ddk-platform-row {
  align-items: flex-start;
  justify-content: center;
  row-gap: 1.25rem;
  margin-bottom: .5rem;
}
.content-legacy .legacy-content .ddk-platform-tile {
  text-align: center;
}
.content-legacy .legacy-content .ddk-platform-tile p {
  margin-bottom: .35rem;
}
.content-legacy .legacy-content .ddk-platform-icon,
.content-legacy .legacy-content img[src*="/mt5/16.png"],
.content-legacy .legacy-content img[src*="/mt5/17.png"],
.content-legacy .legacy-content img[src*="/mt5/18.png"],
.content-legacy .legacy-content img[src*="/mt5/19.png"] {
  width: 72px !important;
  height: auto !important;
  max-width: 88px !important;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.15);
}
.content-legacy .legacy-content .ddk-platform-tile a {
  color: #7fe0d8 !important;
  font-weight: 600;
  text-decoration: none;
}
.content-legacy .legacy-content .ddk-platform-tile a:hover {
  color: #b7f3ee !important;
}

/* Market / partner icon chips */
.content-legacy .legacy-content .ddk-market-icon {
  width: 70px !important;
  height: 40px !important;
  max-width: 70px !important;
  object-fit: contain;
  display: inline-block;
}

/* Carousel controls shouldn't sit on top of floating art */
.content-legacy .legacy-content .carousel {
  max-width: 100%;
  overflow: hidden;
}
.content-legacy .legacy-content .carousel img {
  width: 100% !important;
  max-width: min(520px, 100%) !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}
.content-legacy .legacy-content .carousel-control-prev,
.content-legacy .legacy-content .carousel-control-next {
  width: 8%;
  opacity: .45;
}
.content-legacy .legacy-content .carousel-control-prev-icon,
.content-legacy .legacy-content .carousel-control-next-icon {
  width: 1.4rem;
  height: 1.4rem;
}
.content-legacy .legacy-content .ddk-feature-list {
  display: block;
  width: 100%;
}
.content-legacy .legacy-content .ddk-feature-list ul {
  margin: 0;
  padding-left: 0.15rem;
  list-style: none;
}
.content-legacy .legacy-content .ddk-feature-list li {
  margin: 0.35rem 0;
  line-height: 1.55;
}
.content-legacy .legacy-content .ddk-feature-list .bi-check {
  color: #7fe0d8;
  margin-right: 0.35rem;
}

/* Market pages: quotes left + platform/MT5 promos right */
.content-legacy .legacy-content .ddk-markets-split {
  align-items: stretch;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.25rem;
}
.content-legacy .legacy-content .ddk-markets-quotes {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.content-legacy .legacy-content .ddk-markets-quotes .ddk-quotes-table,
.content-legacy .legacy-content .ddk-markets-quotes .ddk-quotes-table-wrap {
  width: 100%;
  max-width: none;
}
.content-legacy .legacy-content .ddk-side-promos {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 1.15rem !important;
  padding: 1.35rem 1.15rem !important;
}
.content-legacy .legacy-content .ddk-side-promo {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  text-align: center;
  padding: 1.35rem 1.15rem 1.4rem;
  margin: 0;
  border: 1px solid rgba(22, 172, 164, .22);
  background:
    linear-gradient(165deg, rgba(22, 172, 164, .08), transparent 42%),
    rgba(12, 22, 28, .82);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.content-legacy .legacy-content .ddk-side-promo + .ddk-side-promo {
  margin-top: 0;
}
.content-legacy .legacy-content .ddk-side-promo-icon,
.content-legacy .legacy-content .ddk-side-promo img,
.content-legacy .legacy-content img[src*="mt5-web-trading"],
.content-legacy .legacy-content img[src*="MT5-logo"] {
  width: 88px !important;
  height: auto !important;
  max-width: 96px !important;
  min-height: 52px;
  margin: 0 auto .7rem !important;
  display: block !important;
  object-fit: contain;
}
.content-legacy .legacy-content img[src*="mt5-web-trading"] {
  aspect-ratio: 300 / 144;
}
.content-legacy .legacy-content img[src*="MT5-logo"] {
  aspect-ratio: 242 / 300;
  max-height: 96px;
}
.content-legacy .legacy-content .ddk-side-promo h4,
.content-legacy .legacy-content .ddk-side-promo a h4 {
  font-family: var(--display) !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  margin: 0 0 .4rem !important;
  color: #7fe0d8 !important;
  line-height: 1.3;
}
.content-legacy .legacy-content .ddk-side-promo a {
  text-decoration: none;
}
.content-legacy .legacy-content .ddk-side-promo a:hover h4 {
  color: #b7f3ee !important;
}
.content-legacy .legacy-content .ddk-side-promo p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Account types: equal-width pricing cards */
.content-legacy .legacy-content .ddk-pricing-row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1.25rem;
  align-items: stretch;
}
.content-legacy .legacy-content .ddk-pricing-intro {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  margin-bottom: .35rem;
}
.content-legacy .legacy-content .ddk-pricing-row > .ddk-pricing-col {
  display: flex;
  flex-direction: column;
  flex: 0 0 25%;
  max-width: 25%;
  width: 25%;
  box-sizing: border-box;
}
.content-legacy .legacy-content .pricingTable {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(22, 172, 164, .28);
  background: rgba(10, 18, 22, .92);
  box-sizing: border-box;
}
.content-legacy .legacy-content .pricingTable .pricing_heading {
  width: 100%;
  box-sizing: border-box;
}
.content-legacy .legacy-content .pricingTable .pricing_heading:after,
.content-legacy .legacy-content .pricingTable .content:after {
  display: none !important;
}
.content-legacy .legacy-content .pricingTable .title {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  min-height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px 8px !important;
  font-size: clamp(.72rem, 1.05vw, .88rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #061014 !important;
  background: #16aca4 !important;
  word-break: break-word;
  hyphens: auto;
}
.content-legacy .legacy-content .pricingTable .value {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 4px 12px 14px !important;
  font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #061014 !important;
  background: #16aca4 !important;
}
.content-legacy .legacy-content .pricingTable .month {
  display: none;
}
.content-legacy .legacy-content .pricingTable .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 0 !important;
  position: relative;
}
.content-legacy .legacy-content .pricingTable .content > br {
  display: none !important;
}
.content-legacy .legacy-content .pricingTable .content ul {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  flex: 1 1 auto;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
}
.content-legacy .legacy-content .pricingTable .content ul li {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 14px !important;
  font-size: .8rem !important;
  line-height: 1.45 !important;
  color: var(--ink-soft) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
}
.content-legacy .legacy-content .pricingTable .content ul li:last-child {
  border-bottom: 0 !important;
}
.content-legacy .legacy-content .pricingTable .content ul li a {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content .pricingTable .content ul li br {
  display: none;
}
.content-legacy .legacy-content .pricingTable .link {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-top: auto !important;
  padding: 14px 14px 16px !important;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
}
.content-legacy .legacy-content .pricingTable .link > br {
  display: none !important;
}
.content-legacy .legacy-content .pricingTable .link a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: .7rem 0.75rem !important;
  text-align: center;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #061014 !important;
  background: #16aca4 !important;
  border: 1px solid #16aca4 !important;
  transition: filter .15s ease, background .15s ease;
}
.content-legacy .legacy-content .pricingTable .link a:hover,
.content-legacy .legacy-content .pricingTable:hover .link a {
  filter: brightness(1.08);
  color: #061014 !important;
  background: #2bc4bb !important;
  border-color: #2bc4bb !important;
}
.content-legacy .legacy-content .pricingTable:hover .title,
.content-legacy .legacy-content .pricingTable:hover .value {
  color: #061014 !important;
  background: #2bc4bb !important;
}
/* Sitewide premium dark canvas (match home hero) */
.content-legacy .legacy-content {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(22,172,164,.08), transparent 55%),
    radial-gradient(700px 380px at 90% 20%, rgba(22,172,164,.05), transparent 50%),
    linear-gradient(180deg, #0a1216 0%, #0c1519 40%, #0a1216 100%);
  color: var(--ink-soft);
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font);
}
.content-legacy .legacy-content #main {
  overflow-x: clip;
  max-width: 100%;
}
.content-legacy .legacy-content section > .row,
.content-legacy .legacy-content #main > section > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}
.content-legacy .legacy-content p,
.content-legacy .legacy-content li,
.content-legacy .legacy-content td,
.content-legacy .legacy-content .card-text {
  color: var(--ink-soft);
  font-family: var(--font);
  line-height: 1.65;
}
.content-legacy .legacy-content p.description,
.content-legacy .legacy-content .description {
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content h1,
.content-legacy .legacy-content h2,
.content-legacy .legacy-content h3,
.content-legacy .legacy-content h4,
.content-legacy .legacy-content .title,
.content-legacy .legacy-content .section-title h1,
.content-legacy .legacy-content .section-title h2 {
  font-family: var(--display) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  color: #f4fbfa !important;
}
.content-legacy .legacy-content h1[style*="color:#16aca4"],
.content-legacy .legacy-content h2[style*="color:#16aca4"],
.content-legacy .legacy-content h3[style*="color:#16aca4"],
.content-legacy .legacy-content h4[style*="color:#16aca4"],
.content-legacy .legacy-content .title[style*="color:#16aca4"],
.content-legacy .legacy-content strong[style*="color:#16aca4"],
.content-legacy .legacy-content [style*="color:#16aca4"] {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content .section-title {
  margin-bottom: 1.5rem;
}
.content-legacy .legacy-content .section-title h2::after,
.content-legacy .legacy-content .section-title h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #16aca4, transparent);
}
.content-legacy .legacy-content section.features,
.content-legacy .legacy-content section.facts:not(.bg-image):not([style*="background-image"]),
.content-legacy .legacy-content section.facts.section-bg,
.content-legacy .legacy-content section.services {
  background: transparent !important;
  color: var(--ink-soft);
  border: 0;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
/* Market Ã¢ÂÂÃ¥ÂÂÃ§ÂÂ°Ã¦ÂÂÃ¤Â»Â¬Ã§ÂÂÃ¥Â¸ÂÃ¥ÂÂºÃ¢ÂÂ bands Ã¢ÂÂ keep one dark surface (override vendor .section-bg #f3f8fa) */
.content-legacy .section-bg,
.content-legacy .legacy-content .section-bg,
.content-legacy .legacy-content section.section-bg,
.content-legacy .legacy-content section.features.section-bg,
.content-legacy .legacy-content section.facts.section-bg,
.content-legacy .legacy-content section.features.facts.section-bg {
  background: #0b1418 !important;
  background-color: #0b1418 !important;
  background-image: none !important;
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content section.features.facts.section-bg {
  border-top: 1px solid rgba(22, 172, 164, .1);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
/* Quotes table sits flush on the same dark band */
.content-legacy .legacy-content section.features.facts .ddk-quotes-table,
.content-legacy .legacy-content section.features.facts .ddk-quotes-table-wrap,
.content-legacy .legacy-content section.facts.section-bg .ddk-quotes-table-wrap {
  background: rgba(10, 18, 22, .55);
  border-color: rgba(22, 172, 164, .22);
}
/* Legacy vendor style.css white cards Ã¢ÂÂ dark glass */
.content-legacy .legacy-content .services .icon-box,
.content-legacy .legacy-content .why-us .icon-box,
.content-legacy .legacy-content .icon-box {
  background: rgba(15, 26, 32, .78) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.22) !important;
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content .services .icon-box .title,
.content-legacy .legacy-content .services .icon-box .title a,
.content-legacy .legacy-content .why-us .icon-box .title,
.content-legacy .legacy-content .why-us .icon-box .title a,
.content-legacy .legacy-content .icon-box .title,
.content-legacy .legacy-content .icon-box .title a {
  color: #f4fbfa !important;
  font-family: var(--display) !important;
}
.content-legacy .legacy-content .services .icon-box .description,
.content-legacy .legacy-content .why-us .icon-box .description,
.content-legacy .legacy-content .icon-box .description {
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content .services .icon i,
.content-legacy .legacy-content .why-us .icon-box .icon i {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content table:not(.ddk-quotes-grid) {
  color: var(--ink-soft);
}
.content-legacy .legacy-content table:not(.ddk-quotes-grid) th,
.content-legacy .legacy-content table:not(.ddk-quotes-grid) td {
  border-color: rgba(255,255,255,.1) !important;
}
.content-legacy .legacy-content .table,
.content-legacy .legacy-content .table > :not(caption) > * > * {
  background-color: transparent !important;
  color: var(--ink-soft) !important;
  border-color: rgba(255,255,255,.1) !important;
}
.content-legacy.page-broker-programme .section-bg,
.content-legacy.page-broker-programme .legacy-content .section-bg,
.content-legacy.page-broker-programme .legacy-content section.facts.section-bg {
  background: transparent !important;
  background-image: none !important;
}
/* Page banners Ã¢ÂÂ cinematic strip */
.content-legacy .legacy-content section.facts.bg-image,

.content-legacy .legacy-content section.facts[style*="background-image"],
.content-legacy .legacy-content section.ddk-page-hero {
  position: relative;
  isolation: isolate;
  background-color: #070d10 !important;
  background-size: cover !important;
  background-position: center top !important;
  min-height: min(58vh, 620px);
  color: #f2f7f8;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 64px;
}
.content-legacy .legacy-content section.facts.bg-image::before,

.content-legacy .legacy-content section.facts[style*="background-image"]::before,
.content-legacy .legacy-content section.ddk-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(6, 14, 18, .88) 0%, rgba(8, 22, 28, .62) 48%, rgba(6, 14, 18, .72) 100%),
    linear-gradient(180deg, rgba(6, 14, 18, .25) 0%, rgba(6, 14, 18, .55) 100%);
  pointer-events: none;
}
.content-legacy .legacy-content section.facts.bg-image::after,

.content-legacy .legacy-content section.facts[style*="background-image"]::after,
.content-legacy .legacy-content section.ddk-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(22, 172, 164, .14), transparent 70%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: .5;
}
.content-legacy .legacy-content section.facts.bg-image > *,

.content-legacy .legacy-content section.facts[style*="background-image"] > *,
.content-legacy .legacy-content section.ddk-page-hero > * {
  position: relative;
  z-index: 2;
}
.content-legacy .legacy-content section.facts.bg-image h1.title,
.content-legacy .legacy-content section.facts.bg-image h1,

.content-legacy .legacy-content section.facts[style*="background-image"] h1.title,
.content-legacy .legacy-content section.ddk-page-hero h1 {
  font-family: var(--display) !important;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem) !important;
  font-weight: 600 !important;
  color: #f4fbfa !important;
  text-shadow: 0 10px 36px rgba(0,0,0,.35);
  margin-bottom: .35em !important;
}
.content-legacy .legacy-content section.facts.bg-image .description,

.content-legacy .legacy-content section.facts[style*="background-image"] .description {
  font-size: clamp(.98rem, 1.4vw, 1.12rem) !important;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(232, 240, 242, .88) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.content-legacy .legacy-content section.facts.bg-image [style*="color:white"],
.content-legacy .legacy-content section.facts.bg-image [style*="color: white"],
.content-legacy .legacy-content section.facts.bg-image [style*="color:#fff"],
.content-legacy .legacy-content section.facts.bg-image [style*="color:#FFF"],
.content-legacy .legacy-content section.facts.bg-image [style*="color:#ffffff"],
.content-legacy .legacy-content section.facts.bg-image [style*="color:#FFFFFF"],




.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color:white"],
.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color: white"],
.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color:#fff"],
.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color:#FFF"],
.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color:#ffffff"],
.content-legacy .legacy-content section.facts[style*="background-image"] [style*="color:#FFFFFF"] {
  color: rgba(242, 247, 248, .92) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
/* Split panels ÃÂ¢ÃÂ?dark glass */
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#16aca4"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #16aca4"] {
  background: linear-gradient(165deg, rgba(22,172,164,.22) 0%, rgba(15,38,42,.55) 100%) !important;
  color: #e8f4f3 !important;
  border: 1px solid rgba(22, 172, 164, 0.28);
  backdrop-filter: blur(6px);
}
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0b212d"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0b212d"] {
  background: rgba(15, 26, 32, .72) !important;
  color: var(--ink-soft) !important;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 2px solid #16aca4;
}
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] .title,
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] .title,
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] h2,
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] h2,
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0b212d"] h2,
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0b212d"] .title {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] .description,
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] .description,
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] [style*="color:white"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] [style*="color:white"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] [style*="color: white"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] [style*="color: white"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color:#0d2735"] [style*="color:#fff"],
.content-legacy .legacy-content div[class*="col-"][style*="background-color: #0d2735"] [style*="color:#fff"] {
  color: var(--ink-soft) !important;
  text-shadow: none !important;
}
/* Black CTA bands stay cinematic (quote ticker excluded) */
.content-legacy .legacy-content section[style*="background-color:black"]:not(:has(> .ddk-quotes-ticker)),
.content-legacy .legacy-content section[style*="background-color: black"]:not(:has(> .ddk-quotes-ticker)),
.content-legacy .legacy-content section[style*="background-color:#000"]:not(:has(> .ddk-quotes-ticker)),
.content-legacy .legacy-content section[style*="background-color:#000000"]:not(:has(> .ddk-quotes-ticker)) {
  background: linear-gradient(180deg, #0b1418 0%, #101c22 100%) !important;
  color: var(--ink-soft) !important;
  border-top: 1px solid rgba(22, 172, 164, 0.16);
  border-bottom: 1px solid rgba(22, 172, 164, 0.1);
}
.content-legacy .legacy-content section[style*="background-color:black"] h2,
.content-legacy .legacy-content section[style*="background-color: black"] h2,
.content-legacy .legacy-content section[style*="background-color:black"] .section-title h2,
.content-legacy .legacy-content section[style*="background-color: black"] .section-title h2,
.content-legacy .legacy-content section[style*="background-color:black"] [style*="color:white"],
.content-legacy .legacy-content section[style*="background-color: black"] [style*="color:white"],
.content-legacy .legacy-content section[style*="background-color:black"] [style*="color: white"],
.content-legacy .legacy-content section[style*="background-color: black"] [style*="color: white"] {
  color: #f4fbfa !important;
}
.content-legacy .legacy-content section[style*="background-color:black"] h2[style*="color:white"],
.content-legacy .legacy-content section[style*="background-color: black"] h2[style*="color:white"],
.content-legacy .legacy-content section[style*="background-color:black"] h2[style*="color: white"],
.content-legacy .legacy-content section[style*="background-color: black"] h2[style*="color: white"] {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content section[style*="background-color:black"] .text-light,
.content-legacy .legacy-content section[style*="background-color: black"] .text-light,
.content-legacy .legacy-content section[style*="background-color:#000"] .text-light,
.content-legacy .legacy-content section[style*="background-color:#000000"] .text-light,
.content-legacy .legacy-content #containerIntro .box1,
.content-legacy .legacy-content #containerIntro h1 {
  color: #7fe0d8 !important;
}
.content-legacy .legacy-content #containerIntro .box1 {
  background: rgba(15, 26, 32, .85);
  border-color: rgba(22, 172, 164, .45);
}

/* Premium CTA buttons sitewide */
.content-legacy .legacy-content a.btn.small,
.content-legacy .legacy-content a.btn.lg,
.content-legacy .legacy-content .btn.small,
.content-legacy .legacy-content .btn-get-started,
.content-legacy .legacy-content input.btn[style*="background-color:#16aca4"],
.content-legacy .legacy-content a[style*="background-color:#16aca4"].btn {
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: .86rem !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px !important;
  border: 1px solid rgba(127, 224, 216, .65) !important;
  background: linear-gradient(180deg, rgba(22,172,164,.32), rgba(22,172,164,.14)) !important;
  color: #f4fbfa !important;
  padding: 11px 22px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: background .2s ease, transform .15s ease, border-color .2s ease !important;
}
.content-legacy .legacy-content a.btn.small:hover,
.content-legacy .legacy-content a.btn.lg:hover,
.content-legacy .legacy-content .btn.small:hover,
.content-legacy .legacy-content .btn-get-started:hover,
.content-legacy .legacy-content input.btn[style*="background-color:#16aca4"]:hover {
  background: #16aca4 !important;
  border-color: #16aca4 !important;
  color: #041014 !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.content-legacy .legacy-content a.btn.small i,
.content-legacy .legacy-content a.btn.lg i {
  color: inherit !important;
}

/* Cards / light panels ÃÂ¢ÃÂ?dark glass */
.content-legacy .legacy-content .card,
.content-legacy .legacy-content .bg-image1 .card.mb-3[style*="#e4e4e4"],
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="background-color:#e4e4e4"],
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="background-color: #e4e4e4"] {
  background: rgba(15, 26, 32, .78) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: var(--ink-soft) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.content-legacy .legacy-content .card-title,
.content-legacy .legacy-content .card-body {
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content [style*="background-color:#f3f8fa"],
.content-legacy .legacy-content [style*="background-color: #f3f8fa"],
.content-legacy .legacy-content [style*="background-color:#eff1f3"],
.content-legacy .legacy-content [style*="background-color:#ffffff"],
.content-legacy .legacy-content [style*="background-color: #ffffff"],
.content-legacy .legacy-content [style*="background-color:#fff"] {
  background: rgba(15, 26, 32, .55) !important;
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content [style*="color:#808080"],
.content-legacy .legacy-content [style*="color: #808080"] {
  color: var(--muted) !important;
}
/* Contact ÃÂ¢ÃÂÃÂWrite to usÃÂ¢ÃÂ?strip ÃÂ¢ÃÂ?dark premium plate + glass CTA */
.content-legacy .legacy-content .raw[style*="background-color:#6c757d"],
.content-legacy .legacy-content .raw[style*="background-color: #6c757d"],
.content-legacy .legacy-content .raw[style*="6c757d"] {
  background: linear-gradient(180deg, #0d181e 0%, #121f26 100%) !important;
  padding: 36px 16px 44px !important;
  border: 1px solid rgba(22, 172, 164, .18) !important;
  color: var(--ink-soft) !important;
}
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] {
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] > .btn,
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] > button {
  background: linear-gradient(180deg, rgba(22,172,164,.32), rgba(22,172,164,.14)) !important;
  border: 1px solid rgba(127, 224, 216, .65) !important;
  color: #f4fbfa !important;
  border-radius: 2px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  font-size: .86rem !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] > .btn:hover,
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] > button:hover {
  background: #16aca4 !important;
  border-color: #16aca4 !important;
  color: #041014 !important;
  transform: translateY(-1px);
}
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] .btn i,
.content-legacy .legacy-content .raw[style*="6c757d"] > div[align="center"] button i {
  color: inherit !important;
  margin-right: 8px;
}
/* Broken legacy Bootstrap modals must never block the page */
.content-legacy .legacy-content .modal:not(.show) {
  display: none !important;
  pointer-events: none !important;
}
.content-legacy .legacy-content .modal {
  z-index: 1;
}
/* About-us profile card: drop grey plate, modestly enlarge portrait */
.content-legacy .legacy-content .bg-image1 .card.mb-3[style*="#e4e4e4"],
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="background-color:#e4e4e4"],
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="background-color: #e4e4e4"] {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: 560px !important;
  max-height: none !important;
  overflow: visible !important;
}
.content-legacy .legacy-content .bg-image1 .card.mb-3[style*="#e4e4e4"] .row.no-gutters,
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="#e4e4e4"] .row.no-gutters {
  background: transparent !important;
  align-items: center;
}
.content-legacy .legacy-content .bg-image1 .card.mb-3[style*="#e4e4e4"] [class*="col-"],
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="#e4e4e4"] [class*="col-"] {
  max-width: 100%;
  flex: 0 0 100%;
}
.content-legacy .legacy-content .bg-image1 .card.mb-3[style*="#e4e4e4"] img,
.content-legacy .legacy-content section.bg-image1 .card.mb-3[style*="#e4e4e4"] img {
  width: min(100%, 480px) !important;
  max-width: 480px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
#contentPlaceholder { color: rgba(255,255,255,.75); padding: 96px 20px; }

/* Indices product tabs ÃÂ¢ÃÂ?dark premium */
.legacy-content #myTab.nav-tabs {
  border-bottom: 1px solid rgba(255,255,255,.12);
  gap: 6px;
}
.legacy-content #myTab .nav-link {
  background-color: rgba(15, 26, 32, .72) !important;
  color: var(--ink-soft) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 2px 2px 0 0 !important;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  margin-bottom: -1px;
}
.legacy-content #myTab .nav-link:hover {
  background-color: rgba(22, 172, 164, .18) !important;
  color: #7fe0d8 !important;
  border-color: rgba(22, 172, 164, .45) !important;
}
.legacy-content #myTab .nav-link.active,
.legacy-content #myTab .nav-link.active:hover,
.legacy-content #myTab .nav-link.active:focus {
  background-color: rgba(22, 172, 164, .28) !important;
  color: #f4fbfa !important;
  border-color: rgba(127, 224, 216, .55) !important;
  box-shadow: 0 2px 0 rgba(22, 172, 164, .55);
}

/* Promotions: bonus calculation ÃÂ¢ÃÂ?dark glass */
.legacy-content .scm-bonus-calc {
  max-width: 34rem;
  margin: 1.25rem 0 0.5rem;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(15, 26, 32, .85);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.legacy-content .scm-bonus-calc__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(22,172,164,.35), rgba(22,172,164,.18));
  color: #f4fbfa;
  border-bottom: 1px solid rgba(127, 224, 216, .25);
}
.legacy-content .scm-bonus-calc__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0.92;
  color: #7fe0d8;
}
.legacy-content .scm-bonus-calc__head strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}
.legacy-content .scm-bonus-calc__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}
.legacy-content .scm-bonus-calc__steps > li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(10, 18, 22, .35);
}
.legacy-content .scm-bonus-calc__steps > li:last-child {
  border-bottom: 0;
}
.legacy-content .scm-bonus-calc__label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.legacy-content .scm-bonus-calc__value {
  color: #e8f0f2;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.legacy-content .scm-bonus-calc__result {
  background: rgba(22, 172, 164, .12) !important;
  border-top: 1px solid rgba(22, 172, 164, .28);
}
.legacy-content .scm-bonus-calc__result .scm-bonus-calc__label {
  color: #7fe0d8;
  font-weight: 700;
}
.legacy-content .scm-bonus-calc__result .scm-bonus-calc__value {
  color: #f0d9a8;
  font-size: 1.05rem;
}
@media (max-width: 640px) {
  .legacy-content .scm-bonus-calc {
    max-width: 100%;
  }
  .legacy-content .scm-bonus-calc__steps > li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legacy-content .scm-bonus-calc__value {
    text-align: left;
  }
}

/* Education / product pills + accordion ÃÂ¢ÃÂ?brand teal instead of Bootstrap blue */
.legacy-content .breadcrumbs h1,
.legacy-content .breadcrumbs h2,
.legacy-content #pills-tab + h1,
.legacy-content section.breadcrumbs h1 {
  font-family: var(--display);
  color: #7fe0d8 !important;
  font-weight: 600;
}
.legacy-content .nav-pills {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.legacy-content .nav-pills .nav-item {
  flex: 0 1 auto;
}
.legacy-content .nav-pills .nav-link {
  background-color: rgba(15, 26, 32, .72);
  color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  min-width: 7.5rem;
  text-align: center;
  white-space: nowrap;
}
.legacy-content .nav-pills .nav-link:hover {
  background-color: rgba(22, 172, 164, .18);
  color: #7fe0d8;
  border-color: rgba(22, 172, 164, .45);
}
.legacy-content .nav-pills .nav-link.active,
.legacy-content .nav-pills .show > .nav-link {
  background-color: rgba(22, 172, 164, .28) !important;
  color: #f4fbfa !important;
  border-color: rgba(127, 224, 216, .55) !important;
}
/* Education market tab panels */
.legacy-content #pills-tabContent > .tab-pane {
  outline: none;
}
.legacy-content #pills-tabContent .bg-image-indices,
.legacy-content #pills-tabContent .bg-image-commodities,
.legacy-content #pills-tabContent .bg-image-metal,
.legacy-content #pills-tabContent .bg-image-stock,
.legacy-content #pills-tabContent .bg-image-energy,
.legacy-content #pills-tabContent .bg-imagef,
.legacy-content #pills-tabContent .bg-image {
  min-height: min(42vh, 420px);
  display: flex;
  align-items: center;
}
.legacy-content .accordion-button {
  font-family: var(--font);
  font-weight: 600;
  color: #e8f0f2 !important;
  background: rgba(15, 26, 32, .9) !important;
  border-color: rgba(255,255,255,.08) !important;
}
.legacy-content .accordion-button:not(.collapsed) {
  color: #7fe0d8 !important;
  background: rgba(22, 172, 164, .16) !important;
  box-shadow: none;
}
.legacy-content .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 172, 164, 0.25);
  border-color: #16aca4;
}
.legacy-content .accordion-button::after {
  filter: invert(1) brightness(1.4);
}
.legacy-content .accordion-item {
  border-color: rgba(255,255,255,.1) !important;
  background: transparent !important;
}
.legacy-content .accordion-body {
  color: var(--ink-soft) !important;
  background: rgba(10, 18, 22, .72) !important;
}

/* Kill leftover chrome from imported ASPX */
.legacy-content #header,
.legacy-content header#header,
.legacy-content .back-to-top,
.legacy-content #footer,
.legacy-content footer {
  display: none !important;
}

/* ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?Premium home hero ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?*/
.legacy-content #hero-no-slider.ddk-hero,
.legacy-content #hero-no-slider {
  position: relative;
  width: 100%;
  min-height: min(92vh, 920px);
  height: auto;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 72px;
  isolation: isolate;
  background: #070d10;
}
.legacy-content #hero-no-slider.ddk-hero::before,
.legacy-content #hero-no-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(6, 14, 18, .92) 0%, rgba(8, 22, 28, .72) 42%, rgba(6, 14, 18, .55) 100%),
    linear-gradient(180deg, rgba(6, 14, 18, .35) 0%, rgba(6, 14, 18, .15) 40%, rgba(6, 14, 18, .75) 100%),
    url("/assets/img/Home.png") center / cover no-repeat;
  transform: scale(1.04);
  /* One-shot ken burns â infinite alternate kept the GPU busy the whole session */
  animation: ddk-hero-ken 18s ease-out 1 forwards;
}
.legacy-content #hero-no-slider.ddk-hero::after,
.legacy-content #hero-no-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(22, 172, 164, .16), transparent 70%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  opacity: .5;
  /* Static veil â previous infinite opacity pulse forced continuous repaints */
}
.legacy-content #hero-no-slider .ddk-hero-content,
.legacy-content #hero-no-slider > .container {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.legacy-content #hero-no-slider .ddk-hero-mark {
  margin: 0 0 14px;
  font-family: "Outfit", var(--font);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(159, 224, 219, .88);
  animation: ddk-hero-rise .9s ease both;
}
.legacy-content #hero-no-slider .ddk-hero-brand,
.legacy-content #hero-no-slider h1.ddk-hero-brand,
.legacy-content #hero-no-slider h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  color: #f4fbfa;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
  animation: ddk-hero-rise 1s .12s ease both;
}
.legacy-content #hero-no-slider .ddk-hero-brand font,
.legacy-content #hero-no-slider h2 font {
  color: #7fe0d8 !important;
  font-weight: inherit;
}
.legacy-content #hero-no-slider .ddk-hero-rule {
  width: 72px;
  height: 2px;
  margin: 0 auto 22px;
  border: 0;
  background: linear-gradient(90deg, transparent, #16aca4, transparent);
  animation: ddk-hero-rise 1s .2s ease both;
}
.legacy-content #hero-no-slider .ddk-hero-lead,
.legacy-content #hero-no-slider .ddk-hero-content > p:not(.ddk-hero-mark):not(.ddk-hero-actions),
.legacy-content #hero-no-slider .col-xl-8 > p:not(:has(a)):not(:has(h2)) {
  margin: 0 auto 28px;
  max-width: 38rem;
  font-family: "Outfit", var(--font);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(232, 240, 242, .86);
  animation: ddk-hero-rise 1s .28s ease both;
}
.legacy-content #hero-no-slider .ddk-hero-actions {
  animation: ddk-hero-rise 1s .36s ease both;
}
.legacy-content #hero-no-slider .ddk-hero-btn,
.legacy-content #hero-no-slider .btn-get-started {
  font-family: "Outfit", var(--font) !important;
  font-weight: 600 !important;
  font-size: .92rem !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 15px 34px !important;
  margin: 0 !important;
  border-radius: 2px !important;
  border: 1px solid rgba(127, 224, 216, .75) !important;
  color: #f4fbfa !important;
  background: linear-gradient(180deg, rgba(22,172,164,.28), rgba(22,172,164,.12)) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  transition: background .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease !important;
  -webkit-animation: none !important;
  animation: none !important;
  line-height: 1.2 !important;
}
.legacy-content #hero-no-slider .ddk-hero-btn:hover,
.legacy-content #hero-no-slider .btn-get-started:hover {
  background: #16aca4 !important;
  border-color: #16aca4 !important;
  color: #041014 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(22, 172, 164, .28);
  text-decoration: none !important;
}
@keyframes ddk-hero-ken {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); }
}
@keyframes ddk-hero-veil {
  from { opacity: .42; }
  to { opacity: .62; }
}
@keyframes ddk-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .legacy-content #hero-no-slider.ddk-hero,
  .legacy-content #hero-no-slider {
    min-height: 78vh;
    padding: 108px 18px 56px;
  }
  .legacy-content #hero-no-slider .ddk-hero-btn,
  .legacy-content #hero-no-slider .btn-get-started {
    width: 100%;
    max-width: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-content #hero-no-slider.ddk-hero::before,
  .legacy-content #hero-no-slider::before,
  .legacy-content #hero-no-slider.ddk-hero::after,
  .legacy-content #hero-no-slider::after,
  .legacy-content #hero-no-slider .ddk-hero-mark,
  .legacy-content #hero-no-slider .ddk-hero-brand,
  .legacy-content #hero-no-slider h2,
  .legacy-content #hero-no-slider .ddk-hero-rule,
  .legacy-content #hero-no-slider .ddk-hero-lead,
  .legacy-content #hero-no-slider .ddk-hero-actions {
    animation: none !important;
  }
}

/* Legacy hero sits under transparent topbar */
.legacy-content #hero,
.legacy-content section.hero,
.legacy-content .facts:first-of-type,
.legacy-content > section:first-of-type {
  /* original template used fixed header offset */
}

.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #071014;
  color: #c8d5db;
  margin-top: 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 16px;
  display: grid;
  gap: 22px;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer h4 { margin: 0 0 8px; color: #fff; font-size: .95rem; }
.footer a { color: #9fb4bd; }
.footer a:hover { color: var(--brand); }
.footer .muted { color: #7f939c; font-size: .85rem; line-height: 1.5; }
.footer-entity {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.footer-entity > div { margin: 0; }
.footer-entity dt {
  margin: 0 0 2px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8aa0a9;
}
.footer-entity dd {
  margin: 0;
  color: #d5e0e5;
  font-size: .86rem;
  line-height: 1.45;
}
.footer-disclosures {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 14px;
  display: grid;
  gap: 10px;
}
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 22px;
  font-size: .8rem;
  color: #6f858e;
}
.compliance,
.jurisdiction {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  font-size: .78rem;
  color: #9fb0b8;
  line-height: 1.55;
}
.err {
  max-width: 1120px;
  margin: 80px auto 24px;
  padding: 12px 16px;
  background: rgba(163, 51, 51, .16);
  color: #f0b4b0;
  border: 1px solid rgba(163,51,51,.28);
  border-radius: 2px;
}

.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    background: #101c22;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    max-height: 70vh;
    overflow: auto;
  }
  .nav.open .children {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    background: transparent;
  }
  .nav.open .item.open > .children { display: block; }
  .topbar { position: fixed; background: rgba(10, 18, 22, .96); }
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
  .brand img { height: 36px; }
}

html[dir="rtl"] .nav .children { left: auto; right: 0; }
html[dir="rtl"] .nav .children .children { right: 100%; left: auto; }
html[dir="rtl"] .actions { margin-left: 0; margin-right: auto; }

/* ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?Lead forms ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?*/
.scm-lead-wrap {
  max-width: 820px;
  margin: 32px auto 56px;
  padding: 0 16px;
}
.scm-lead-card {
  background: rgba(15, 26, 32, .88);
  color: var(--ink-soft);
  border-radius: 2px;
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  text-align: left;
}
.scm-lead-title {
  margin: 0 0 8px;
  font-family: var(--display);
  color: #7fe0d8;
  font-size: 1.45rem;
  font-weight: 600;
  text-align: center;
}
.scm-lead-hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}
.scm-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  text-align: left;
}
.scm-lead-grid .scm-field,
.scm-lead-grid label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: #7fe0d8;
  text-align: left;
}
.scm-lead-grid .scm-label {
  display: inline;
  white-space: nowrap;
}
.scm-lead-grid .scm-req {
  color: #e25555;
  margin-left: 2px;
  font-weight: 700;
}
.scm-lead-grid .span2 { grid-column: 1 / -1; }
.scm-lead-grid input,
.scm-lead-grid textarea,
.scm-lead-grid select {
  border: 1px solid rgba(22, 172, 164, .35);
  border-radius: 2px;
  padding: 8px 10px;
  font: inherit;
  font-size: .86rem;
  font-weight: 400;
  color: #e8f0f2;
  background: rgba(10, 18, 22, .72);
  width: 100%;
  box-sizing: border-box;
}
.scm-lead-grid input:focus,
.scm-lead-grid textarea:focus,
.scm-lead-grid select:focus {
  outline: none;
  border-color: #16aca4;
  box-shadow: 0 0 0 2px rgba(22, 172, 164, .18);
}
.scm-lead-privacy {
  margin: 14px 0 0;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}
.scm-lead-submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(127, 224, 216, .65);
  border-radius: 2px;
  padding: 11px 20px;
  background: linear-gradient(180deg, rgba(22,172,164,.32), rgba(22,172,164,.14));
  color: #f4fbfa;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.scm-lead-submit:hover { background: #16aca4; color: #041014; }
.scm-lead-submit:disabled { opacity: .6; cursor: wait; }
.scm-lead-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 2px; font-size: .88rem; text-align: left; }
.scm-lead-msg.ok { background: rgba(22, 172, 164, .16); color: #7fe0d8; border: 1px solid rgba(22,172,164,.28); }
.scm-lead-msg.err { background: rgba(163, 51, 51, .16); color: #f0b4b0; border: 1px solid rgba(163,51,51,.28); }

/* Partner sidebar: match legacy icon-box form, keep 2-col fields */
.col-lg-4 .scm-lead-wrap,
.icon-box .scm-lead-wrap,
.services .icon-box .scm-lead-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}
.col-lg-4 .scm-lead-card,
.icon-box .scm-lead-card,
.services .icon-box .scm-lead-card {
  box-shadow: none;
  padding: 4px 2px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.col-lg-4 .scm-lead-title,
.icon-box .scm-lead-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.col-lg-4 .scm-lead-hint,
.icon-box .scm-lead-hint {
  font-size: .8rem;
  margin-bottom: 14px;
}
.col-lg-4 .scm-lead-grid,
.icon-box .scm-lead-grid,
.services .icon-box .scm-lead-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}
.col-lg-4 .scm-lead-grid .span2,
.icon-box .scm-lead-grid .span2 {
  grid-column: 1 / -1;
}
.services .icon-box .scm-lead-card,
.services .icon-box .scm-lead-grid,
.services .icon-box .scm-field {
  text-align: left !important;
}
.col-lg-4 .scm-lead-submit,
.icon-box .scm-lead-submit {
  margin-top: 14px;
  background: #16aca4;
}

@media (max-width: 640px) {
  .scm-lead-grid,
  .col-lg-4 .scm-lead-grid,
  .icon-box .scm-lead-grid {
    grid-template-columns: 1fr;
  }
  .scm-lead-grid .span2,
  .col-lg-4 .scm-lead-grid .span2,
  .icon-box .scm-lead-grid .span2 {
    grid-column: auto;
  }
}

/* ÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?Live quotes (replaces TradingView embeds) ÃÂ¢ÃÂÃÂÃÂ¢ÃÂ?*/
.ddk-quotes-empty {
  color: #6b7c80;
  text-align: center;
  padding: 24px 12px;
  font-size: .95rem;
}
.ddk-quotes-ticker {
  overflow: hidden;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(90deg, #0a1216 0%, #102026 50%, #0a1216 100%);
  color: #e8f4f3;
  border-top: 1px solid rgba(22, 172, 164, .35);
  border-bottom: 1px solid rgba(22, 172, 164, .35);
  margin: 0;
}
section.facts.section-bg:has(> .ddk-quotes-ticker) {
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
}
section.facts.section-bg:has(> .ddk-quotes-ticker) .container {
  display: none;
}
.ddk-quotes-ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 10px 0;
  /* duration set inline from JS; slow default for long symbol lists */
  animation: ddk-quotes-marquee var(--ddk-ticker-duration, 120s) linear infinite;
  will-change: transform;
  contain: layout paint;
}
html.ddk-page-hidden .ddk-quotes-ticker-track,
html.ddk-page-hidden .legacy-content #hero-no-slider.ddk-hero::before,
html.ddk-page-hidden .legacy-content #hero-no-slider::before,
html.ddk-page-hidden .content-skeleton .sk {
  animation-play-state: paused !important;
}
.ddk-quotes-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  font-size: .9rem;
  /* Keep chip width stable while live prices tick (avoids marquee jitter). */
  flex: 0 0 auto;
}
.ddk-quotes-chip b {
  color: #16aca4;
  font-weight: 600;
}
.ddk-quotes-chip .bid,
.ddk-quotes-chip .ask {
  display: inline-block;
  min-width: var(--ddk-price-ch, 8ch);
  text-align: right;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}
.ddk-quotes-chip .bid { color: #9fe0db; }
.ddk-quotes-chip .ask { color: #f0d9a8; }
.ddk-quotes-table {
  width: 100%;
  margin: 8px 0 16px;
}
.content-legacy .legacy-content section.features .ddk-quotes-table,
.content-legacy .legacy-content section.facts .ddk-quotes-table {
  margin: 0 auto;
  max-width: 920px;
}
.content-legacy .legacy-content section.features .ddk-quotes-table-wrap,
.content-legacy .legacy-content section.facts .ddk-quotes-table-wrap {
  max-height: 500px;
}
.ddk-quotes-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  /* Match legacy TradingView embed height ÃÂ¢ÃÂ?collapsed by default */
  max-height: 450px;
  border: 1px solid rgba(22, 172, 164, .28);
  border-radius: 2px;
  background: rgba(10, 18, 22, .92);
}
.ddk-quotes-table.is-expanded .ddk-quotes-table-wrap {
  max-height: none;
  overflow-y: visible;
}
.ddk-quotes-toggle {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(22, 172, 164, .35);
  border-radius: 2px;
  background: rgba(22, 172, 164, .12);
  color: #7fe0d8;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.ddk-quotes-toggle:hover {
  background: rgba(22, 172, 164, .22);
}
.ddk-quotes-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: .95rem;
}
.ddk-quotes-grid th,
.ddk-quotes-grid td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: right;
  color: var(--ink-soft);
}
.ddk-quotes-grid th:first-child,
.ddk-quotes-grid td.sym {
  text-align: left;
  font-weight: 600;
  color: #e8f0f2;
}
.ddk-quotes-grid thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(15, 26, 32, .96);
  color: #7fe0d8;
  font-weight: 600;
  border-bottom-color: rgba(22, 172, 164, .35);
}
.ddk-quotes-grid tbody tr:hover { background: rgba(22, 172, 164, .08); }
.ddk-quotes-grid td.up { color: #5dcea0; transition: color .2s; }
.ddk-quotes-grid td.down { color: #e8a0a0; transition: color .2s; }
.ddk-quotes-grid tr.indicative td.bid,
.ddk-quotes-grid tr.indicative td.ask,
.ddk-quotes-grid tr.indicative td.spr { color: var(--muted); }
.ddk-quotes-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}
@keyframes ddk-quotes-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ddk-quotes-ticker-track { animation: none; }
}

.content-legacy .legacy-content section.facts.section-bg:has(> .ddk-quotes-ticker),
.content-legacy .legacy-content section:has(> .ddk-quotes-ticker) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* Indices / promo Ã¢ÂÂskillsÃ¢ÂÂ comparison band */
.content-legacy .legacy-content section.skills,
.content-legacy .legacy-content section.skills.section-bg {
  background: linear-gradient(180deg, rgba(15, 26, 32, .78), rgba(12, 20, 24, .5)) !important;
  color: var(--ink-soft);
  border-top: 1px solid rgba(22, 172, 164, .12);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.content-legacy .legacy-content section.skills h4 {
  font-family: var(--display) !important;
  font-size: clamp(1.45rem, 2.8vw, 2rem) !important;
  color: #7fe0d8 !important;
  margin: 0 0 1rem;
}
.content-legacy .legacy-content section.skills h5 {
  font-family: var(--font) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #e8f0f2 !important;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.content-legacy .legacy-content section.skills ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.1rem;
}
.content-legacy .legacy-content section.skills ul li {
  margin: .55rem 0;
  padding-left: .15rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.content-legacy .legacy-content section.skills ul li .bi-check {
  color: #7fe0d8;
  margin-right: .4rem;
}
.content-legacy .legacy-content section.skills .p-5 {
  padding: clamp(1rem, 2.5vw, 1.75rem) !important;
}
.content-legacy .legacy-content section.skills .container .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 1.25rem !important;
}
.content-legacy .legacy-content .skills .progress {
  height: 44px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.content-legacy .legacy-content .skills .progress-bar {
  width: 0;
  height: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  transition: width .85s ease;
  background: linear-gradient(90deg, rgba(22,172,164,.92), rgba(22,172,164,.55)) !important;
}
.content-legacy .legacy-content .skills .progress-bar.bg-info {
  background: linear-gradient(90deg, rgba(96,140,158,.88), rgba(96,140,158,.5)) !important;
}
.content-legacy .legacy-content .skills .progress-bar.bg-warning {
  background: linear-gradient(90deg, rgba(176,148,86,.88), rgba(176,148,86,.48)) !important;
}
.content-legacy .legacy-content .skills .progress .skill {
  color: #f4fbfa !important;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 44px;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  text-transform: none;
}
.content-legacy .legacy-content .skills .progress .skill .val {
  float: right;
  font-style: normal;
  margin: 0;
  color: rgba(244, 251, 250, .92);
}
.content-legacy .legacy-content section.skills .accordion-item {
  background: transparent !important;
  border: 0 !important;
}
.content-legacy .legacy-content section.skills .accordion-body {
  background: transparent !important;
  padding: 1rem 0 .25rem !important;
}
.content-legacy .legacy-content section.skills .tab-content {
  margin-top: .35rem;
  padding: 1rem 0 0;
}

.content-legacy .legacy-content .container,
.content-legacy .legacy-content .container-fluid {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 24px);
  padding-right: clamp(16px, 3vw, 24px);
}
.content-legacy .legacy-content section:not(#hero-no-slider):not(.ddk-hero) {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.content-legacy .legacy-content section.facts.bg-image,
.content-legacy .legacy-content section.facts[style*="background-image"],
.content-legacy .legacy-content section.ddk-page-hero {
  padding-top: clamp(5.5rem, 10vw, 7rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
/* Mid-page decorated sections (bg-image1) Ã¢ÂÂ content band, not hero */
.content-legacy .legacy-content section.bg-image1,
.content-legacy .legacy-content section.features.section-bg.bg-image1 {
  position: relative;
  min-height: 0 !important;
  display: block !important;
  align-items: stretch;
  overflow: hidden;
  padding-top: clamp(2.75rem, 5vw, 4.25rem) !important;
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem) !important;
  background-color: #0b1418 !important;
  background-size: cover !important;
  background-position: center !important;
}
.content-legacy .legacy-content section.bg-image1::before,
.content-legacy .legacy-content section.features.section-bg.bg-image1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10,18,22,.72), rgba(10,18,22,.88));
  pointer-events: none;
}
.content-legacy .legacy-content section.bg-image1 > *,
.content-legacy .legacy-content section.features.section-bg.bg-image1 > * {
  position: relative;
  z-index: 2;
}
.content-legacy .legacy-content section.bg-image1::after {
  display: none !important;
}

/* Kill vendor double-rule under titles; keep one premium accent */
.content-legacy .legacy-content .section-title h2::before,
.content-legacy .legacy-content .section-title h1::before,
.content-legacy .legacy-content .section-title h2::after,
.content-legacy .legacy-content .section-title h1::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.content-legacy .legacy-content .section-title {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
  padding-bottom: 0;
}
.content-legacy .legacy-content .section-title h1,
.content-legacy .legacy-content .section-title h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
  margin: 0 0 .65rem !important;
  padding-bottom: 0 !important;
  line-height: 1.25;
}
.content-legacy .legacy-content .section-title h1::after,
.content-legacy .legacy-content .section-title h2::after {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 2px !important;
  margin: 14px auto 0 !important;
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  background: linear-gradient(90deg, transparent, #16aca4, transparent) !important;
}
.content-legacy .legacy-content .section-title p {
  color: var(--muted) !important;
  font-size: .98rem;
  line-height: 1.65;
  margin: .75rem 0 0;
}

/* Banner copy column Ã¢ÂÂ readable measure, less empty <br> dependence */
.content-legacy .legacy-content section.facts.bg-image .container > .row,
.content-legacy .legacy-content section.ddk-page-hero .container > .row {
  align-items: center;
  row-gap: 1.5rem;
}
.content-legacy .legacy-content section.facts.bg-image .col-lg-6,
.content-legacy .legacy-content section.facts.bg-image [class*="col-lg-"] {
  max-width: 100%;
}
.content-legacy .legacy-content section.facts.bg-image .p-5 {
  padding: clamp(1rem, 3vw, 2rem) !important;
}
.content-legacy .legacy-content section.facts.bg-image .description,
.content-legacy .legacy-content section.facts.bg-image p.description {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7 !important;
}
.content-legacy .legacy-content section.facts.bg-image .row.pt-5 {
  padding-top: 1.25rem !important;
}
.content-legacy .legacy-content section.facts.bg-image .gap-2 {
  gap: .75rem !important;
  flex-wrap: wrap;
}

/* Feature / two-column content bands */
.content-legacy .legacy-content .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.25rem;
}
.content-legacy .legacy-content .card-body {
  padding: 1rem 0.25rem 1.1rem;
}
.content-legacy .legacy-content .card-title {
  font-family: var(--display) !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
  margin-bottom: .45rem !important;
  line-height: 1.35;
}
.content-legacy .legacy-content .card-text {
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: .35rem;
}
.content-legacy .legacy-content section.features .col-md-6 > .row,
.content-legacy .legacy-content section.bg-image1 .col-md-6 > .row {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.content-legacy .legacy-content section.features .col-md-2,
.content-legacy .legacy-content section.bg-image1 .col-md-2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: .35rem;
}
.content-legacy .legacy-content section.features .col-md-2 i,
.content-legacy .legacy-content section.bg-image1 .col-md-2 i,
.content-legacy .legacy-content section.features .fa,
.content-legacy .legacy-content section.bg-image1 .fa {
  color: #7fe0d8 !important;
  opacity: .92;
}
.content-legacy .legacy-content section.bg-image1 .card.mb-3 {
  margin-bottom: 0 !important;
  max-width: min(520px, 100%) !important;
  margin-left: auto;
  margin-right: auto;
}
.content-legacy .legacy-content section.bg-image1 .card.mb-3 img {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  border-radius: 2px;
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* About-us: live Company Profile copy + portrait (replaces baked-in 555a/5555b graphic) */
.content-legacy .legacy-content .ddk-company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  gap: 1.35rem 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.15rem 1.2rem 1.25rem;
  background:
    linear-gradient(145deg, rgba(22, 172, 164, .1), transparent 42%),
    rgba(10, 18, 22, .55);
  border: 1px solid rgba(127, 224, 216, .22);
  border-radius: 2px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}
.content-legacy .legacy-content .ddk-company-profile__title {
  margin: 0 0 .85rem;
  color: #7fe0d8 !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.15;
}
.content-legacy .legacy-content .ddk-company-profile__copy p {
  margin: 0 0 .75rem;
  color: rgba(232, 240, 242, .88) !important;
  font-size: .9rem;
  line-height: 1.65;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
  white-space: normal;
}
.content-legacy .legacy-content .ddk-company-profile__copy p:last-child {
  margin-bottom: 0;
}
.content-legacy .legacy-content .ddk-company-profile__portrait {
  margin: 0;
  justify-self: center;
  width: min(100%, 240px);
}
.content-legacy .legacy-content .ddk-company-profile__portrait img,
.content-legacy .legacy-content section.bg-image1 .ddk-company-profile img {
  display: block;
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 2px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .4));
}
@media (max-width: 991.98px) {
  .content-legacy .legacy-content .ddk-company-profile {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 1.1rem 1rem 1.2rem;
  }
  .content-legacy .legacy-content .ddk-company-profile__portrait {
    order: -1;
    width: min(200px, 55vw);
  }
}
.content-legacy .legacy-content .ddk-company-profile--rtl,
.content-legacy .legacy-content .ddk-company-profile[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
.content-legacy .legacy-content .ddk-company-profile--rtl .ddk-company-profile__copy p,
.content-legacy .legacy-content .ddk-company-profile[dir="rtl"] .ddk-company-profile__copy p {
  text-align: right;
}

/* Icon boxes / partner cards */
.content-legacy .legacy-content .services .icon-box,
.content-legacy .legacy-content .why-us .icon-box,
.content-legacy .legacy-content .icon-box {
  padding: 1.35rem 1.25rem !important;
  margin-bottom: 1.1rem;
  height: 100%;
  transition: border-color .2s ease, transform .15s ease;
}
.content-legacy .legacy-content .services .icon-box:hover,
.content-legacy .legacy-content .why-us .icon-box:hover,
.content-legacy .legacy-content .icon-box:hover {
  border-color: rgba(22, 172, 164, .35) !important;
  transform: translateY(-2px);
}

/* Tables & product matrices */
.content-legacy .legacy-content .table-responsive {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
  background: rgba(15, 26, 32, .55);
}
.content-legacy .legacy-content table:not(.ddk-quotes-grid) {
  width: 100%;
  margin-bottom: 0;
}
.content-legacy .legacy-content table:not(.ddk-quotes-grid) th,
.content-legacy .legacy-content table:not(.ddk-quotes-grid) td {
  padding: .75rem 1rem !important;
  vertical-align: middle;
  font-size: .92rem;
}

/* Collapse spacer noise left by legacy <br>/<p></p> */
.content-legacy .legacy-content br + br,
.content-legacy .legacy-content p:empty + br,
.content-legacy .legacy-content br + p:empty {
  display: none;
}
.content-legacy .legacy-content p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
.content-legacy .legacy-content .ddk-tight br {
  display: none;
}
.content-legacy .legacy-content .ddk-tight p:empty {
  display: none !important;
}

/* Breadcrumbs / education pills spacing */
.content-legacy .legacy-content .breadcrumbs,
.content-legacy .legacy-content section.breadcrumbs {
  background: transparent !important;
  padding: 1.25rem 0 .5rem !important;
  min-height: 0;
}
.content-legacy .legacy-content #pills-tab,
.content-legacy .legacy-content .nav-pills {
  margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
  .content-legacy .legacy-content section.facts.bg-image {
    min-height: min(52vh, 520px);
    text-align: center;
  }
  .content-legacy .legacy-content section.facts.bg-image .col-lg-6 {
    margin: 0 auto;
  }
  .content-legacy .legacy-content section.bg-image1 .col-md-6 {
    margin-bottom: 1.75rem;
  }
  .content-legacy .legacy-content section.features .col-md-2,
  .content-legacy .legacy-content section.bg-image1 .col-md-2 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-bottom: 0;
  }
}
@media (max-width: 640px) {
  .content-legacy .legacy-content section:not(#hero-no-slider):not(.ddk-hero) {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .content-legacy .legacy-content section.facts.bg-image h1.title,
  .content-legacy .legacy-content section.facts.bg-image h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem) !important;
  }
  .content-legacy .legacy-content .services .icon-box,
  .content-legacy .legacy-content .icon-box {
    padding: 1.1rem 1rem !important;
  }
  .content-legacy .legacy-content section.facts.bg-image .btn.small,
  .content-legacy .legacy-content section.facts.bg-image a.btn.small {
    width: 100%;
    max-width: 280px;
  }
}

/* âââ Mobile adaptive (sitewide) âââ */
@media (max-width: 991px) {
  .topbar-inner {
    padding: 8px 12px;
    gap: 8px;
    min-height: 56px;
  }
  .actions {
    gap: 6px;
  }
  .actions .btn {
    padding: 7px 10px;
    font-size: .82rem;
  }
  .content-legacy .legacy-content .container,
  .content-legacy .legacy-content .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }
  .content-legacy .legacy-content section.facts.bg-image,
  .content-legacy .legacy-content section.facts[style*="background-image"],
  .content-legacy .legacy-content section.ddk-page-hero {
    min-height: min(48vh, 460px);
    padding-top: 88px !important;
    padding-bottom: 40px !important;
    background-position: center center !important;
  }
  .content-legacy .legacy-content .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .content-legacy .legacy-content [class*="col-lg-"],
  .content-legacy .legacy-content [class*="col-md-"],
  .content-legacy .legacy-content [class*="col-sm-"] {
    max-width: 100%;
  }
  /* Spacer columns used in legacy layouts */
  .content-legacy .legacy-content .row > .col-md-1:empty,
  .content-legacy .legacy-content .row > .col-1:empty {
    display: none !important;
  }
  .content-legacy .legacy-content .p-5 {
    padding: 1.15rem !important;
  }
  .content-legacy .legacy-content .pt-5 {
    padding-top: 1.25rem !important;
  }
  .content-legacy .legacy-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .content-legacy .legacy-content .ddk-store-badges img,
  .content-legacy .legacy-content img[src*="homepage/a.png"],
  .content-legacy .legacy-content img[src*="homepage/p.png"],
  .content-legacy .legacy-content img[src*="homepage/h.png"] {
    width: 110px !important;
    height: 64px !important;
    max-width: 110px !important;
  }
  .content-legacy .legacy-content .ddk-platform-row > [class*="col-"] {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
  .content-legacy .legacy-content .ddk-platform-icon,
  .content-legacy .legacy-content img[src*="/mt5/16.png"],
  .content-legacy .legacy-content img[src*="/mt5/17.png"],
  .content-legacy .legacy-content img[src*="/mt5/18.png"],
  .content-legacy .legacy-content img[src*="/mt5/19.png"] {
    width: 64px !important;
    max-width: 72px !important;
    height: auto !important;
  }
  .content-legacy .legacy-content .ddk-market-icon {
    width: 64px !important;
    height: 36px !important;
    max-width: 64px !important;
  }
  .content-legacy .legacy-content .ddk-side-promo-icon,
  .content-legacy .legacy-content .ddk-side-promo img,
  .content-legacy .legacy-content img[src*="mt5-web-trading"],
  .content-legacy .legacy-content img[src*="MT5-logo"] {
    width: 80px !important;
    max-width: 88px !important;
    height: auto !important;
    min-height: 48px;
  }
  .content-legacy .legacy-content .ddk-markets-split {
    flex-direction: column;
  }
  .content-legacy .legacy-content .ddk-markets-quotes,
  .content-legacy .legacy-content .ddk-side-promos {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .content-legacy .legacy-content .ddk-side-promos {
    flex-direction: column !important;
    padding-top: .5rem !important;
  }
  .content-legacy .legacy-content .ddk-side-promo {
    width: 100%;
    flex: 0 0 auto;
  }
  .content-legacy .legacy-content .ddk-pricing-row > .ddk-pricing-col {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
  .content-legacy .legacy-content .row.counters .purecounter,
  .content-legacy .legacy-content .row.counters .ddk-counter-ready {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
  .content-legacy .legacy-content .carousel-control-prev,
  .content-legacy .legacy-content .carousel-control-next {
    display: none;
  }
  .content-legacy .legacy-content iframe {
    max-width: 100% !important;
  }
  .content-legacy .legacy-content .d-sm-flex,
  .content-legacy .legacy-content .d-grid.gap-2.d-sm-flex {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .content-legacy .legacy-content table:not(.ddk-quotes-grid) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .scm-lead-grid {
    grid-template-columns: 1fr;
  }
  .scm-lead-card {
    padding: 20px 16px;
  }
  .ddk-quotes-table,
  .content-legacy .legacy-content section.features .ddk-quotes-table,
  .content-legacy .legacy-content section.facts .ddk-quotes-table {
    max-width: 100%;
  }
  .ddk-quotes-table-wrap,
  .content-legacy .legacy-content section.features .ddk-quotes-table-wrap,
  .content-legacy .legacy-content section.facts .ddk-quotes-table-wrap {
    max-height: 420px;
  }
  .content-legacy .legacy-content .ddk-econ-calendar,
  .content-legacy .legacy-content #economicCalendarWidget {
    min-height: 480px;
  }
  .content-legacy .legacy-content .nav-pills .nav-link,
  .content-legacy .legacy-content #myTab .nav-link {
    font-size: .82rem;
    padding: 0.45rem 0.8rem;
  }
  .footer-disclosures {
    font-size: .72rem;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }
  .brand .brand-text {
    font-size: .9rem;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .actions select {
    max-width: 72px;
    padding: 6px 4px;
    font-size: .78rem;
  }
  #btnClientRegister {
    display: none;
  }
  .content-legacy .legacy-content section:not(#hero-no-slider):not(.ddk-hero) {
    padding-top: 1.65rem !important;
    padding-bottom: 1.65rem !important;
  }
  .content-legacy .legacy-content section.facts.bg-image,
  .content-legacy .legacy-content section.facts[style*="background-image"],
  .content-legacy .legacy-content section.ddk-page-hero {
    min-height: min(58vh, 420px);
    padding-top: 80px !important;
    padding-bottom: 32px !important;
  }
  .content-legacy .legacy-content section.facts.bg-image .description,
  .content-legacy .legacy-content section.facts.bg-image p.description,
  .content-legacy .legacy-content section.facts.bg-image p {
    font-size: .95rem !important;
    line-height: 1.6 !important;
  }
  .content-legacy .legacy-content .section-title {
    margin-bottom: 1.25rem;
    max-width: 100%;
  }
  .content-legacy .legacy-content .section-title h1,
  .content-legacy .legacy-content .section-title h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem) !important;
  }
  .content-legacy .legacy-content h1,
  .content-legacy .legacy-content h2 {
    word-break: break-word;
  }
  .content-legacy .legacy-content a.btn.small,
  .content-legacy .legacy-content a.btn.lg,
  .content-legacy .legacy-content .btn.small,
  .content-legacy .legacy-content .btn-get-started,
  .content-legacy .legacy-content .d-sm-flex > .btn,
  .content-legacy .legacy-content .d-sm-flex > a.btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  .content-legacy .legacy-content [align="justify"],
  .content-legacy .legacy-content [style*="text-align:justify"],
  .content-legacy .legacy-content [style*="text-align: justify"] {
    text-align: left !important;
  }
  .content-legacy .legacy-content .ddk-platform-row > [class*="col-"] {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-legacy .legacy-content p.description,
  .content-legacy .legacy-content .description {
    padding-left: 2px;
    padding-right: 2px;
  }
  .content-legacy .legacy-content .p-5 {
    padding: 1rem .85rem !important;
  }
  .content-legacy .legacy-content .ddk-pricing-row > .ddk-pricing-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .content-legacy .legacy-content img[src*="/mt5/20.png"],
  .content-legacy .legacy-content img[src*="/mt5/"][height],
  .content-legacy .legacy-content .ddk-platform-row + .row img.d-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .content-legacy .legacy-content .d-sm-flex,
  .content-legacy .legacy-content .gap-2 {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .content-legacy .legacy-content section.bg-image1 .card.mb-3 img,
  .content-legacy .legacy-content section.bg-image1 img {
    max-width: 100% !important;
    width: 100% !important;
  }
  .content-legacy .legacy-content .skills .progress {
    height: 40px;
  }
  .content-legacy .legacy-content .skills .progress .skill {
    font-size: .78rem;
    line-height: 40px;
    padding: 0 10px;
  }
  .content-legacy .legacy-content .carousel,
  .content-legacy .legacy-content .carousel-inner,
  .content-legacy .legacy-content .carousel-item img {
    max-width: 100%;
  }
  .content-legacy .legacy-content [style*="width:"] img,
  .content-legacy .legacy-content img[width],
  .content-legacy .legacy-content img[style*="width"] {
    width: auto !important;
    max-width: 100% !important;
  }
  .content-legacy .legacy-content .ddk-store-badges img,
  .content-legacy .legacy-content img[src*="homepage/a.png"],
  .content-legacy .legacy-content img[src*="homepage/p.png"],
  .content-legacy .legacy-content img[src*="homepage/h.png"] {
    width: 110px !important;
    height: 64px !important;
    max-width: 110px !important;
  }
  .content-legacy .legacy-content .ddk-platform-icon,
  .content-legacy .legacy-content img[src*="/mt5/16.png"],
  .content-legacy .legacy-content img[src*="/mt5/17.png"],
  .content-legacy .legacy-content img[src*="/mt5/18.png"],
  .content-legacy .legacy-content img[src*="/mt5/19.png"] {
    width: 64px !important;
    max-width: 72px !important;
    height: auto !important;
  }
  .content-legacy .legacy-content .ddk-market-icon {
    width: 64px !important;
    height: 36px !important;
    max-width: 64px !important;
  }
  .content-legacy .legacy-content .ddk-side-promo-icon,
  .content-legacy .legacy-content .ddk-side-promo img,
  .content-legacy .legacy-content img[src*="mt5-web-trading"],
  .content-legacy .legacy-content img[src*="MT5-logo"] {
    width: 80px !important;
    max-width: 88px !important;
    height: auto !important;
  }
  /* Inline fixed widths that break phones */
  .content-legacy .legacy-content [style*="width:1920"],
  .content-legacy .legacy-content [style*="width: 1920"],
  .content-legacy .legacy-content [style*="max-width:1920"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  .ddk-quotes-grid {
    min-width: 360px;
    font-size: .86rem;
  }
  .ddk-quotes-grid th,
  .ddk-quotes-grid td {
    padding: 8px 10px;
  }
  .ddk-quotes-ticker {
    min-height: 44px;
  }
  .ddk-quotes-chip {
    font-size: .82rem;
    gap: 8px;
  }
  .content-legacy .legacy-content .ddk-econ-calendar,
  .content-legacy .legacy-content #economicCalendarWidget {
    min-height: 420px;
    border-radius: 0;
  }
  .content-legacy .legacy-content #economicCalendarWidget iframe {
    height: 420px !important;
  }
  .legacy-content .scm-bonus-calc__head strong {
    font-size: 1.05rem;
  }
  .footer-inner {
    padding: 28px 16px 12px;
    gap: 18px;
  }
  .footer-bottom {
    padding: 0 16px 18px;
  }
  .compliance,
  .jurisdiction {
    font-size: .72rem;
    padding: 10px 12px;
  }
  .page-missing {
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content.content-legacy.is-revealing,
  .content-skeleton .sk,
  .back-top {
    animation: none !important;
    transition: none !important;
  }
}

/* High-standard CTA / surface polish */
.btn {
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.footer {
  padding-bottom: env(safe-area-inset-bottom);
}
.footer a {
  transition: color .15s ease;
}

