:root {
  --ink: #16231f;
  --muted: #52615a;
  --green: #087e47;
  --bright: #5bea83;
  --line: #dfe8e1;
  --mist: #f3f7f3;
  --dark: #10271f;
  --radius: 22px;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #035e33; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
button, summary { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #009953; outline-offset: 4px; }
h1, h2, h3, h4 { line-height: 1.09; margin: 0 0 .52em; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.1vw, 5.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.22rem, 2.1vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.shell { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(46px, 7vw, 100px); }
.skip { position: fixed; z-index: 50; top: 8px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 20; top: 0; background: white; border-bottom: 1px solid var(--line); }
.header-inner, #site-nav, .nav-actions { display: flex; align-items: center; }
.header-inner { min-height: 78px; gap: clamp(22px, 4.6vw, 72px); }
.brand { flex: 0 0 auto; }
.brand img { width: 180px; height: auto; }
#site-nav { flex: 1; gap: clamp(14px, 2.4vw, 37px); }
#site-nav a:not(.button), .nav-menu > summary { font-weight: 650; text-decoration: none; color: var(--ink); font-size: .91rem; }
#site-nav a:hover:not(.button), #site-nav a[aria-current="page"] { color: var(--green); }
.nav-actions { margin-left: auto; gap: 9px; }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; display: flex; align-items: center; gap: 9px; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-top: -4px; }
.nav-menu[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.dropdown { position: absolute; top: calc(100% + 19px); left: -14px; min-width: 220px; padding: 9px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 15px 35px #192a2016; background: white; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--mist); }
.locale { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.nav-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; gap: 8px; background: var(--bright); color: #10291b; border: 1px solid transparent; border-radius: 50px; font-weight: 750; padding: 12px 24px; text-align: center; text-decoration: none; }
.button:hover { background: #39d76a; color: #0d2015; }
.button.outline { color: inherit; background: transparent; border-color: currentColor; }
.button.outline:hover { background: #6cbd8d22; }
.nav-actions .button { padding: 8px 16px; font-size: .87rem; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.home-hero { padding-block: 0; color: white; overflow: hidden; background: radial-gradient(ellipse at 74% 49%, #275a49 0%, #142d27 37%, #0d1d19 78%); }
.hero-grid { display: grid; grid-template-columns: 1fr .96fr; gap: 10px; align-items: center; min-height: clamp(480px, 47vw, 680px); padding-block: 48px; }
.hero-copy { z-index: 1; }
.home-hero .hero-copy p, .inner-hero .hero-copy p { max-width: 530px; font-size: clamp(1rem, 1.55vw, 1.27rem); opacity: .87; }
.hero-visual img { width: min(100%, 615px); margin-inline: auto; filter: drop-shadow(0 22px 40px #07141065); }
.proof { padding-block: 25px 30px; border-bottom: 1px solid var(--line); }
.proof-head { display: flex; align-items: baseline; gap: 15px; margin-bottom: 15px; }
.proof-head h2 { font-size: 1.38rem; margin: 0; }
.proof-head a { font-weight: 700; font-size: .88rem; }
.proof-head svg { width: 12px; }
.proof-grid, .education-grid, .footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.proof-item { display: grid; grid-template-columns: 46px 1fr; column-gap: 11px; align-content: start; padding-right: 14px; border-right: 1px solid var(--line); font-weight: 700; line-height: 1.25; }
.proof-item:last-child { border: 0; }
.proof-item img { grid-row: span 3; width: 43px; aspect-ratio: 1; object-fit: contain; filter: hue-rotate(295deg); }
.proof-item img + *, .proof-item p { margin: 0; }
.proof-item > :last-child { font-weight: 400; color: var(--muted); margin-top: 5px; font-size: .85rem; }
.proof-item br { display: none; }
.split, .inner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(24px, 5vw, 72px); }
.instrument-copy > div { margin-top: 16px; }
.instrument-copy svg { display: none; }
.instrument-copy h3 { margin-top: 8px; }
.instrument-copy p, .quote-panel p, .support-copy p { color: var(--muted); }
.quote-panel { background: var(--mist); padding: clamp(15px, 3vw, 29px); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-status { font-size: .85rem; }
.quote-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 15px; }
.quote-card { background: white; padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .75rem; }
.quote-card h2 { font-size: 1rem; text-wrap: nowrap; }
.quote-card span { margin-right: 3px; }
.quote-card a { display: inline-block; font-weight: 700; margin-top: 8px; }
.quote-panel > p:last-child { font-size: .77rem; margin-bottom: 0; }
.platform-section { padding-top: 0; }
.feature-panel, .index-panel { border-radius: var(--radius); padding: clamp(22px, 5vw, 70px); background: radial-gradient(ellipse at 87% 32%, #23513d, var(--dark) 70%); color: white; }
.platform-visual { max-height: 390px; object-fit: contain; margin: auto; }
.feature-panel p { color: #d7e9dd; }
.markets-section { background: var(--mist); text-align: center; }
.markets-section h2 { margin-bottom: 27px; }
.market-grid, .index-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.market-card { padding: 20px 13px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; text-align: center; text-decoration: none; color: var(--ink); background: white; transition: background .2s, transform .2s; }
.market-card:hover { transform: translateY(-3px); background: #e9faed; }
.market-card svg { width: 37px; height: 37px; color: var(--green); }
.market-card [stroke="#1976D2"], .market-card [stroke="#7DD3FC"] { stroke: var(--green); }
.market-card [fill="#1976D2"], .market-card [fill="#7DD3FC"] { fill: var(--green); }
.market-card h3 { margin: 0; }
.index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.indices-section { padding-bottom: 0; }
.index-panel a:not(.market-card) { color: var(--bright); font-weight: 700; }
.education-section { text-align: center; }
.education-grid { margin-top: 24px; }
.education-card { display: flex; align-items: flex-end; text-align: left; min-height: 180px; padding: 20px; border-radius: 15px; color: white; background: linear-gradient(0deg,#0a241f 5%,#0b2d2359 100%),var(--tile-image) center/cover,#1b4b3a; }
.education-card h3 { margin: 0; }
.support-section { padding-top: 0; }
.support-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; border-radius: var(--radius); background: var(--mist); padding: clamp(22px, 5vw, 65px); }
.support-gallery { grid-area: 1/2/span 2; display: flex; align-items: center; justify-content: center; gap: 8px; }
.support-gallery img { width: 31%; border-radius: 50%; }
.support-copy img { width: 47px; margin: 7px 0; }
.support-actions { margin: 0; }
.inner-hero { background: #eaf5ed; padding-block: clamp(54px, 8vw, 105px); }
.inner-hero h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.inner-art { width: 100%; max-height: 370px; object-fit: cover; border-radius: var(--radius); }
.interior-section:nth-child(even), .account-section { background: var(--mist); }
.interior-section p { color: var(--muted); }
.interior-section img { border-radius: 15px; }
.interior-section img[src$=".svg"] { width: 43px; margin-bottom: 12px; }
.interior-section h3, .interior-section h4 { margin-top: 12px; }
.interior-section .button + .button { margin: 8px; }
.grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { display: grid; gap: clamp(15px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.grid-5, .grid-6 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.account-section .grid-3 > div, .interior-section .grid-4 > div { background: white; padding: 24px; border: 1px solid var(--line); border-radius: 15px; }
.account-section .grid-3 { margin: 24px 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin-block: 24px; }
table { border-collapse: collapse; width: 100%; background: white; min-width: 760px; }
th, td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); }
th { background: #e2f2e7; }
.center { text-align: center; }
.ticker { min-height: 46px; border-bottom: 1px solid var(--line); }
.tradingview-widget-container { width: 100%; overflow: hidden; }
.interior-section .tradingview-widget-container, #tradingview_forex { min-height: 375px; }
.faq-section details { padding: 13px 17px; background: white; border: 1px solid var(--line); border-radius: 11px; margin: 0 0 10px; }
.faq-section summary { font-weight: 750; }
.faq-section details p { margin: 8px 0 0; }
.legal-layout { display: grid; grid-template-columns: minmax(170px,240px) 1fr; gap: clamp(24px, 5vw, 70px); padding-block: 56px; }
.legal-layout nav a { display: block; text-decoration: none; font-weight: 700; padding: 11px 14px; border-radius: 8px; }
.legal-layout nav [aria-current], .legal-layout nav a:hover { background: var(--mist); }
.legal-copy { max-width: 800px; }
.legal-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-top: 1.25em; }
.legal-copy section:first-child h2 { margin-top: 0; }
.site-footer { padding: 45px 0 22px; border-top: 1px solid var(--line); background: #edf4ee; }
.site-footer img { width: 164px; margin-bottom: 14px; }
.site-footer p { color: var(--muted); font-size: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer .shell > div + div { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 17px; font-size: .88rem; }
.site-footer .shell > div + div a { margin-right: 15px; }
@media (max-width: 1070px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { justify-content: space-between; min-height: 66px; }
  .nav-toggle { display: grid; gap: 5px; align-content: center; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; }
  .nav-toggle span { height: 2px; width: 100%; background: var(--ink); }
  #site-nav { display: none; align-items: stretch; flex-direction: column; position: absolute; top: 100%; inset-inline: 0; gap: 0; padding: 8px 24px 22px; background: white; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 66px); overflow: auto; }
  #site-nav[data-open] { display: flex; }
  #site-nav > a, .nav-menu > summary { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; border: 0; box-shadow: none; padding: 4px 0; }
  .nav-actions { margin: 15px 0 0; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof-item:nth-child(even) { border: 0; }
}
@media (max-width: 730px) {
  .shell { width: calc(100% - 34px); }
  .hero-grid, .inner-grid, .split, .legal-layout, .support-panel, .grid-2 { grid-template-columns: minmax(0,1fr); }
  .hero-grid { gap: 12px; min-height: 0; padding-block: 42px 23px; }
  .hero-visual img { width: min(100%,390px); }
  .home-hero h1 { max-width: 530px; }
  .brand img { width: 160px; }
  .market-grid, .education-grid, .footer-grid, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .support-gallery { grid-area: auto; }
  .education-card { min-height: 133px; padding: 11px; }
  .inner-art { max-height: 235px; }
  .legal-layout { padding-block: 25px; }
  .legal-layout nav { display: flex; flex-wrap: wrap; }
  .market-card { padding-inline: 8px; }
}
@media (max-width: 360px) {
  .quote-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proof-item { grid-template-columns: 1fr; }
}
.quote-card > div:first-child > div > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
.quote-card > div:first-child > div > div > * { display: flex; flex-direction: column; }
.proof > .shell > a { display: none; }
.site-footer a img { max-width: 100%; }
[id] { scroll-margin-top: 90px; }
.history-image { display: none; }

/* Photo-led landing page and market tiles */
:root {
  --ink: #1a201e;
  --dark: #142721;
  --bright: #59eb81;
  --mist: #f4f7f5;
}
.home-hero {
  background: linear-gradient(90deg, #101917f2 0%, #13201bcc 38%, #15231a26 80%), url(images/abouts-back.webp) 65% center / cover no-repeat;
}
.hero-grid {
  display: flex;
  min-height: clamp(520px, 72vh, 780px);
}
.home-hero .hero-copy { max-width: 730px; }
.home-hero h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.055em; text-wrap: initial; }
.home-hero .button { padding-inline: 31px; }
.proof { background: var(--mist); }
.proof-head { margin-bottom: 20px; }
.markets-section .market-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.markets-section .market-card {
  min-height: 188px;
  grid-column: span 2;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 25px;
  background: #fff;
}
.markets-section .market-card:nth-child(n+4) { grid-column: span 3; background: #e7f5eb; }
.markets-section .market-card:hover { background: #d9f4e1; }
.markets-section .market-card svg { margin-bottom: auto; }
.inner-hero { background: linear-gradient(118deg, #f2f8f3, #e4f5e9); }
@media (max-width: 730px) {
  .home-hero {
    background-image: linear-gradient(90deg, #101917ed, #15231a75), url(images/abouts-back.webp);
    background-position: 62% center;
  }
  .hero-grid { min-height: 530px; }
  .home-hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .markets-section .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .markets-section .market-card, .markets-section .market-card:nth-child(n+4) { grid-column: auto; padding: 16px; min-height: 150px; }
  .markets-section .market-card:last-child { grid-column: 1 / -1; }
}

:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --muted: #b8bcb9;
  --green: #00d54b;
  --bright: #00d54b;
  --dark: #101110;
  --line: #343734;
  --mist: #181a18;
  background: #101110;
}
body, .site-header { background: #101110; }
a:hover { color: #79ff9f; }
.dropdown, .skip, .nav-toggle, #site-nav { background: #101110; }
.nav-toggle span { background: white; }
.button:hover { background: #23ed64; }
.brand, .site-footer .footer-grid > div:first-child > a:first-child { display: inline-block; }
.brand img, .site-footer img[src$="/brand/logo.png"], main img[src$="/brand/logo.png"] { filter: grayscale(1) brightness(0) invert(1); }
.home-hero {
  background: linear-gradient(90deg,#000c 0%,#0008 38%,transparent 78%), url(visuals/hero.webp) 58% center / cover no-repeat;
}
.hero-grid { min-height: clamp(520px, 76svh, 840px); }
.home-hero .hero-copy { max-width: 650px; }
.home-hero h1 { font-size: clamp(3.2rem,6vw,6rem); }
.proof { background: #101110; padding-block: 24px; }
.proof-item img { filter: none; }
.feature-panel, .index-panel, .support-panel { background: #1c1f1c; }
.platform-visual, .inner-art { width: 100%; border-radius: 18px; object-fit: cover; }
.quote-card, .faq-section details, .account-section .grid-3 > div, .interior-section .grid-4 > div, table { background: #222522; }
th, .site-footer { background: #171917; }
.market-card, .markets-section .market-card, .markets-section .market-card:nth-child(n+4) { background: #222522; }
.market-card:hover, .markets-section .market-card:hover { background: #263c2b; }
.education-card {
  background: linear-gradient(0deg,#090b09e8,#141a1452), url(visuals/platform.webp) center / cover;
  min-height: 210px;
}
.education-card:nth-child(even) { background-position: right center; }
.support-gallery img { width: min(80%,280px); border-radius: 0; }
.inner-hero { background: #191b19; }
@media (max-width: 730px) {
  .home-hero {
    background-image: linear-gradient(0deg,#000d 2%,#0008 56%,#0005 100%), url(visuals/hero.webp);
    background-position: 62% center;
  }
  .hero-grid { min-height: 560px; align-items: flex-end; padding-bottom: 42px; }
  .home-hero h1 { font-size: clamp(2.7rem,10vw,4rem); }
}

/* Editorial photography and motion */
:root {
  --ink: #f3fff7;
  --muted: #b5c9bf;
  --green: #48ef8e;
  --bright: #32ef79;
  --line: #264337;
  --mist: #0d211a;
  --dark: #071610;
}
body, .site-header, #site-nav, .dropdown { background: #081611; }
.editorial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding-block: clamp(58px,8vw,105px);
  background: #071911;
  min-height: clamp(380px,55svh,620px);
}
.home-hero.editorial-hero { padding-block: 0; }
.editorial-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.editorial-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,#03120ef5 0%,#03120eb8 37%,#03120e18 78%), linear-gradient(0deg,#071610 0%,transparent 30%);
}
.editorial-hero .hero-copy { max-width: 640px; }
.editorial-hero h1 { text-shadow: 0 4px 28px #00120e; }
.legal-hero.editorial-hero { min-height: clamp(300px,43svh,470px); }
.motion-section { position: relative; }
.motion-section > .shell { position: relative; }
main > .motion-section, main > .interior-section:nth-child(even) {
  background: radial-gradient(ellipse at 95% 4%,#123b2a 0%,transparent 56%),#091a14;
}
main > .motion-section:nth-child(odd) {
  background: radial-gradient(ellipse at 4% 95%,#0d3022 0%,transparent 60%),#071510;
}
main > .legal-layout { padding-inline: clamp(15px, 3vw, 38px); border-radius: 24px; }
.legal-copy section { padding: 13px 19px; border-left: 2px solid var(--line); }
.motion-card {
  --glow-x: 50%;
  --glow-y: 50%;
  background-image: radial-gradient(240px circle at var(--glow-x) var(--glow-y),#2cf58a00,transparent);
  transition: border-color .25s, box-shadow .3s, transform .3s, background-color .25s;
}
.motion-card:hover, .motion-card:focus-within {
  border-color: #4aab7a;
  box-shadow: 0 10px 30px #0003, inset 0 0 24px #28f37c0c;
}
.motion-card[data-glow] {
  background-image: radial-gradient(240px circle at var(--glow-x) var(--glow-y),#2cf58a29,transparent);
}
.feature-panel, .index-panel, .support-panel, .quote-panel {
  background-color: #0c2a1e;
  border: 1px solid #276044;
}
.education-card, .education-card[data-glow] {
  background-image: linear-gradient(0deg,#020e0bea,transparent),var(--tile-image);
  background-size: cover;
}
.market-card svg, .proof-item img { transition: transform .35s, filter .35s; }
.market-card:hover svg, .proof-item:hover img { transform: translateY(-5px); filter: drop-shadow(0 2px 10px #30f88475); }
.button:not(.outline) {
  background: linear-gradient(108deg,#26e76b 15%,#9effae 47%,#25e779 80%);
  background-size: 230% 100%;
  transition: background-position .45s, box-shadow .35s, transform .3s;
}
.button:hover, .button:focus-visible { background-position: right; box-shadow: 0 0 22px #26f57965; transform: translateY(-2px); }
.market-ticker { background: #091e15; border-block: 1px solid #24543c; }
.ticker-track { display: flex; align-items: center; gap: 10px; padding-block: 10px; overflow-x: auto; scrollbar-width: thin; }
.ticker-track a {
  flex: 1 0 auto;
  border-radius: 50px;
  padding: 5px 14px;
  background: #112f22;
  color: #d7ffe6;
  white-space: nowrap;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 650;
}
.ticker-track a:hover { background: #22523a; }
.ticker-track a::before { content: ""; display: inline-block; border-radius: 50%; width: 6px; height: 6px; margin: 0 8px 2px 0; background: var(--green); box-shadow: 0 0 10px #39f78b90; }
.market-analysis { padding-top: clamp(30px,5vw,66px); }
.market-analysis > .shell {
  display: grid;
  gap: clamp(20px,4vw,52px);
  grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);
  align-items: center;
}
.market-analysis > .shell > :has(.market-chart) { grid-column: 2; grid-row: 1; }
.market-analysis > .shell > :not(:has(.market-chart)) { grid-column: 1; grid-row: 1; }
.market-analysis .market-chart { position: relative; min-height: 0; background: #10261c; border: 1px solid #29503e; border-radius: 18px; }
.market-chart.is-ready .tradingview-widget-container__widget,
.market-chart.is-ready #tradingview_forex { height: clamp(290px,40vw,470px); min-height: 0; }
.market-chart iframe { max-width: 100%; border: 0; }
.market-chart:not(.is-ready) > :is(.tradingview-widget-container__widget,#tradingview_forex) { height: 0; min-height: 0; overflow: hidden; }
.chart-fallback { display: block; padding: 14px 18px; font-weight: 650; }
.milestone { border-left: 1px solid #2b8a59; padding: 18px 25px; }
.milestone + .milestone { margin-top: 12px; }
.milestone > svg { color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .editorial-photo { animation: photo-enter 1.8s ease-out both; }
  .editorial-hero h1 { animation: copy-enter .65s ease-out both; }
  .motion-section[data-entered] { animation: section-enter .8s ease-out both; }
  .editorial-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: 0;
    background: radial-gradient(ellipse at 75% 80%,#11ff7940,transparent 58%);
    animation: emerald-breathe 9s ease-in-out infinite alternate;
  }
  @keyframes photo-enter { from { transform: scale(1.055); } to { transform: scale(1); } }
  @keyframes copy-enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
  @keyframes section-enter { from { opacity: .78; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes emerald-breathe { from { opacity: .25; } to { opacity: .88; } }
}
@media (max-width: 730px) {
  .editorial-hero::after { background: linear-gradient(0deg,#04120ef8 0%,#04120ea1 48%,#04120e12 100%); }
  .editorial-photo { object-position: 68% center; }
  .editorial-hero { align-items: end; min-height: 420px; }
  .market-analysis > .shell { grid-template-columns: minmax(0,1fr); }
  .market-analysis > .shell > :has(.market-chart) { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.market-ticker { position: relative; overflow: hidden; }
.ticker-widget { position: absolute; visibility: hidden; inset: 0; }
.market-ticker.is-ready .ticker-widget { position: relative; visibility: visible; }
.market-ticker.is-ready .ticker-track { display: none; }
.market-chart:not(.is-ready) > :is(.tradingview-widget-container__widget,#tradingview_forex) {
  position: absolute;
  visibility: hidden;
  width: 100%;
  height: 375px;
}
.market-chart.is-ready .chart-fallback { border-top: 1px solid var(--line); }
.motion-card:focus-within { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .market-ticker.is-ready .ticker-widget { display: none; }
  .market-ticker.is-ready .ticker-track { display: flex; }
}
.brand img, .site-footer img[src$="/brand/logo.png"], main img[src$="/brand/logo.png"] { filter: none; }
.market-chart.is-ready > iframe { display: block; width: 100%; height: clamp(290px,40vw,470px) !important; }
.ticker-widget iframe { display: block; }
.motion-section h2 { color: #ecfff3; }
.motion-section h3, .motion-section h4 { color: #d3fbe1; }
.motion-card:hover h3, .motion-card:hover h4 { color: #a2ffc1; }
.faq-section details[open] { border-color: #2d6b4d; background: #10281e; }
.table-scroll tbody tr:hover { background: #153829; }
.legal-layout nav a[aria-current], .legal-layout nav a:hover { color: #b0ffce; }
.market-analysis > .shell > div:first-child > div:last-child:has(h4) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
}
.market-analysis > .shell > div:first-child > div:last-child:has(h4) > div {
  padding: 14px;
  background: #10291e;
  border: 1px solid #264a38;
  border-radius: 12px;
}
.market-analysis > .shell > div:first-child > div:last-child:has(h4) p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .motion-section[data-entered] h2 { animation: copy-enter .7s ease-out both; }
  .editorial-hero h1 { animation-name: title-enter; }
  @keyframes title-enter { from { transform: translateY(10px); } to { transform: none; } }
}
.detail-panel { padding: clamp(16px,3vw,30px); border: 1px solid var(--line); border-radius: 18px; background-color: #10271d; }
.detail-panel + .detail-panel { margin-top: 14px; }
.grid-2 > .detail-panel + .detail-panel, .grid-3 > .detail-panel + .detail-panel { margin-top: 0; }

/* Full-bleed imagery for the five asset classes */
.markets-section .shell { max-width: 1240px; }
.markets-section h2 {
  text-align: left;
  margin-bottom: clamp(24px,4vw,44px);
  max-width: 780px;
}
.markets-section .market-grid {
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 14px;
}
.markets-section .market-card[data-market], .index-grid .market-card[data-market] {
  display: flex;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: clamp(16px,2.5vw,30px);
  gap: 5px;
  min-height: 235px;
  border: 1px solid #2c473c;
  border-radius: 16px;
  background: #0b1c15;
  color: #f0fff5;
}
.markets-section .market-card[data-market] { grid-column: span 4; }
.markets-section .market-card[data-market="stocks"] {
  grid-column: 1 / span 7;
  grid-row: 1;
  min-height: clamp(250px,28vw,375px);
}
.markets-section .market-card[data-market="forex"] { grid-column: 8 / span 5; grid-row: 1; }
.market-card[data-market] .market-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  z-index: -2;
  transition: transform .6s ease, filter .5s ease;
}
.market-card[data-market]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg,#020b08f0, #020b0855 52%, transparent 85%);
}
.market-card[data-market] > div, .market-card[data-market] > span { position: relative; }
.market-card[data-market] h3 {
  font-size: clamp(1.4rem,2.7vw,2.3rem);
  color: #fff;
}
.market-card[data-market] > :last-child { color: #bdf8d2; }
.market-card[data-market]:is(:hover,:focus-visible) {
  transform: translateY(-3px);
  border-color: #68b487;
  box-shadow: 0 14px 34px #0006;
}
.market-card[data-market]:is(:hover,:focus-visible) .market-art { transform: scale(1.05); filter: brightness(1.14); }
.index-grid .market-card[data-market] { min-height: 145px; padding: 15px; }
.index-grid .market-card[data-market] h3 { font-size: clamp(1.05rem,1.8vw,1.35rem); }
@media (max-width: 730px) {
  .markets-section .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .markets-section .market-card[data-market] { grid-column: auto; grid-row: auto; min-height: 150px; padding: 13px; }
  .markets-section .market-card[data-market="stocks"] { grid-column: 1 / -1; grid-row: 1; min-height: 205px; }
  .market-card[data-market] h3 { font-size: clamp(1rem,4.4vw,1.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .market-card[data-market]:is(:hover,:focus-visible), .market-card[data-market]:is(:hover,:focus-visible) .market-art { transform: none; }
}
.market-card[data-market] .market-name {
  font-size: clamp(1.4rem,2.7vw,2.3rem);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.market-card[data-market] .market-action { font-size: .86rem; font-weight: 650; }
.index-grid .market-card[data-market] .market-name { font-size: clamp(1rem,1.8vw,1.35rem); }
@media (max-width: 730px) {
  .market-card[data-market] .market-name { font-size: clamp(1rem,4.4vw,1.5rem); }
}

/* Alternating editorial surfaces */
main > .motion-section {
  padding-block: clamp(60px, 7.2vw, 112px);
}
main > .motion-section[data-surface] {
  color-scheme: light;
  --ink: #152c22;
  --muted: #42584d;
  --green: #185a3c;
  --line: #b9cec1;
  --mist: #e3eee4;
  --paper: #edf6ed;
  color: var(--ink);
  background: radial-gradient(ellipse at 88% 3%, #fff9, transparent 65%), var(--paper);
}
main > .motion-section[data-surface="sand"] {
  --paper: #f6f2e8;
  --mist: #ede9dc;
  --line: #cbcbbd;
}
main > .motion-section[data-surface] :is(h2,h3,h4),
main > .motion-section[data-surface] .interior-section p { color: var(--ink); }
[data-surface] a:not(.market-card):hover { color: #124b33; }
[data-surface] .legal-layout nav a[aria-current], .legal-layout[data-surface] nav a[aria-current],
.legal-layout[data-surface] nav a:hover { color: #174f37; }
[data-surface] :is(.quote-panel,.quote-card,.detail-panel,.market-chart,.table-scroll table,.faq-section details),
[data-surface].faq-section details, [data-surface] .grid-4 > div, [data-surface] .grid-3 > div {
  background: #ffffffa8;
  border-color: var(--line);
}
[data-surface] .faq-section details[open], [data-surface].faq-section details[open],
[data-surface] th, [data-surface] .table-scroll tbody tr:hover { background: var(--mist); }
[data-surface] :is(.feature-panel,.index-panel,.support-panel,.education-card,.market-card) {
  color-scheme: dark;
  --ink: #f3fff7;
  --muted: #b5c9bf;
  --green: #9bf5bc;
  --line: #3e6754;
  color: var(--ink);
}
main > .motion-section[data-surface] :is(.feature-panel,.index-panel,.support-panel,.education-card,.market-card) :is(h2,h3,h4) {
  color: var(--ink);
}
main > .legal-layout.motion-section {
  margin-block: clamp(24px,5vw,70px);
  padding: clamp(20px,4vw,62px);
}
.interior-section > .shell + .shell { margin-top: 20px; }
.interior-section :is(h2,h3) + p { margin-top: .7em; }
.interior-section .grid-3, .interior-section .grid-4 { row-gap: 18px; }
.interior-section .grid-3 > *, .interior-section .grid-4 > *, .account-section .grid-3 > * { min-width: 0; overflow-wrap: anywhere; }

.button:not(.outline), .button.outline {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
  min-height: 42px;
  transition: background-color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.button:not(.outline) { color: var(--green); }
.button:not(.outline):is(:hover,:focus-visible), .button.outline:is(:hover,:focus-visible) {
  background-color: #36c77b24;
  box-shadow: 0 5px 18px #14563818;
}
.market-ticker {
  isolation: isolate;
  padding-block: 14px;
  background: radial-gradient(ellipse at 25% 80%,#30745299,transparent 65%),
              linear-gradient(110deg,#173a2e,#122921 65%,#325544);
  border-color: #5f8e74;
}
.market-ticker::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #d3fbe519;
  backdrop-filter: blur(16px);
}
.market-ticker :is(.ticker-track,.ticker-widget) {
  width: min(1260px,calc(100% - 34px));
  margin-inline: auto;
  background: #0a271f8c;
  border: 1px solid #b3e7c64d;
  border-radius: 14px;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 #dcffeb24, 0 8px 20px #06160e30;
}
.ticker-track { padding: 8px; }
.market-ticker .ticker-widget { overflow: hidden; }
.market-ticker.is-ready .ticker-widget { min-height: 58px; }
main > .market-analysis.motion-section { padding-top: clamp(44px,6vw,82px); }

@media (max-width: 730px) {
  main > .motion-section { padding-block: 46px; }
  main > .legal-layout.motion-section { padding-block: 28px; }
  .interior-section .grid-4, .account-section .grid-3 { gap: 12px; }
  .account-section .grid-3 > div, .interior-section .grid-4 > div { padding: 15px; }
  .interior-section .button + .button { margin: 8px 0; }
}
@media (max-width: 420px) {
  .account-section .grid-3, .interior-section .grid-4 { grid-template-columns: minmax(0,1fr); }
}
.faq-section .grid-2 { align-items: start; }
[data-surface] .market-analysis > .shell > div:first-child > div:last-child:has(h4) > div,
.market-analysis[data-surface] > .shell > div:first-child > div:last-child:has(h4) > div {
  background: #ffffff94;
  border-color: var(--line);
}
[data-surface] .milestone > svg { color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  main > .motion-section[data-entered] { animation: none; }
  .motion-section[data-entered] h2 { animation-name: title-enter; }
}

/* Keep hero copy above the artwork and its animated overlays. */
.editorial-hero > .shell {
  position: relative;
  z-index: 1;
  color: #f7fff9;
}
.editorial-hero .hero-copy,
.editorial-hero .hero-copy p,
.editorial-hero h1 {
  opacity: 1;
}
.editorial-hero .hero-copy p { color: #f0f6f1; }
.editorial-hero::after {
  background: linear-gradient(90deg, #04110efa 0%, #04110ee8 34%, #04110e9e 57%, #04110e1c 82%),
              linear-gradient(0deg,#071610b3,transparent 35%);
}
.editorial-hero .hero-copy .button { color: #f4fff6; }
.editorial-hero .hero-copy .button:not(.outline) { color: #a0ffbd; }
.proof-head { flex-wrap: wrap; gap: 10px 16px; }
.proof-head a { display: inline-flex; align-items: center; gap: 5px; }
.benefit-icon {
  display: block;
  width: 42px;
  height: 42px;
  background: #dfc9a3;
  mask: var(--icon) center / contain no-repeat;
  margin-bottom: 14px;
}
.proof-item .benefit-icon { grid-row: span 3; margin: 0; }
[data-surface] .benefit-icon { background: #8b663e; }
@media (max-width: 730px) {
  .editorial-hero::after {
    background: linear-gradient(0deg,#04110efc 5%,#04110ee6 49%,#04110e45 90%);
  }
  .proof-item { overflow-wrap: anywhere; }
}
