/* The explorer uses the same brand tokens and components as the public site. */
.explore-page { color: var(--ink); }
.explore-page .fe-scene:not(.explore-motion-visible) *,
.explore-page .fe-loop-card:not(.explore-motion-visible) * { animation-play-state: paused !important; }
/* Keep the large historical SVGs out of the chart's paint/layout work until
   visitors scroll to them. Their full records and controls remain available. */
.explore-page .backtest-card { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.explore-page [id] { scroll-margin-top: 115px; }
.explore-page .section-title { max-width: 850px; }
.explore-hero { padding: 4.4rem 0 3.5rem; }
.explore-hero .hero-grid { width: min(1320px, calc(100% - 3rem)); grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(2rem, 4vw, 4.5rem); }
.explore-hero h1 { font-size: clamp(2.7rem, 4.5vw, 4.35rem); line-height: 1.04; }
.explore-hero h1 > span { color: var(--steel); }
.explore-hero .lead { max-width: 570px; margin-top: 1.35rem; }
.explore-hero .button-row { margin-top: 1.7rem; }
.explore-hero .fe-status-row { margin-top: 1.35rem; }
.explore-hero-disclosure { max-width: 540px; margin: 1rem 0 0; font-size: .79rem; }

/* An illustrative strategy terminal, with no fabricated performance numbers. */
.explore-visual { min-width: 0; width: 100%; margin: 0; }
.explore-visual-stage { position: relative; padding: 2.3rem .7rem 5.8rem .3rem; }
.explore-visual-halo { position: absolute; inset: 2% -2% 5%; border-radius: 50%; background: radial-gradient(ellipse, rgba(124,201,232,.23), rgba(228,241,251,.32) 50%, transparent 70%); pointer-events: none; }
.explore-visual-badge { position: absolute; z-index: 3; top: .1rem; right: 1.2rem; display: flex; align-items: center; gap: .5rem; padding: .7rem .95rem; color: var(--navy); background: linear-gradient(135deg, #fff, var(--blue-soft)); border: 1px solid rgba(53,121,184,.18); border-radius: 13px; box-shadow: var(--shadow-sm); font-size: .72rem; font-weight: 800; }
.explore-visual-badge > span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(53,121,184,.1); }
.explore-visual-badge i { padding-left: .5rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .65rem; font-style: normal; font-weight: 500; }
.explore-terminal { position: relative; border: 1px solid rgba(124,201,232,.25); border-radius: 23px; background: linear-gradient(145deg, var(--navy-2), var(--ink) 65%); box-shadow: 0 26px 65px rgba(7,28,49,.2), 0 4px 12px rgba(7,28,49,.1); overflow: hidden; transform: rotate(-1.2deg); }
.explore-terminal-head { display: flex; align-items: center; gap: .65rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(124,201,232,.16); }
.explore-terminal-head img { border-radius: 7px; background: #fff; }
.explore-terminal-head strong, .explore-terminal-head div > span { display: block; }
.explore-terminal-head strong { color: #fff; font-family: var(--font-heading); font-size: .9rem; }
.explore-terminal-head div > span { margin-top: .2rem; color: #b3c8dc; font-size: .61rem; }
.explore-terminal-indicator { margin-left: auto; border: 1px solid rgba(124,201,232,.25); padding: .35rem .5rem; border-radius: 6px; color: var(--cyan); font-size: .51rem; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.explore-terminal-tabs { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem .1rem; color: #a6b9ce; font-size: .59rem; }
.explore-terminal-tabs .is-selected { color: #fff; border-bottom: 2px solid var(--cyan); padding-bottom: .5rem; }
.explore-terminal-tabs b { color: #b0c8df; font-size: .48rem; margin-left: auto; white-space: nowrap; }
.explore-visual-chart { padding: .7rem 1rem 1rem; }
.explore-visual-chart-title { display: flex; align-items: center; gap: .7rem; }
.explore-visual-chart-title strong { color: #fff; font-size: .9rem; }
.explore-visual-chart-title > span { color: #a4bbd0; font-size: .6rem; }
.explore-visual-chart svg { display: block; width: 100%; height: auto; overflow: hidden; margin: .3rem 0; }
.explore-visual-grid { stroke: rgba(124,201,232,.1); stroke-width: 1; }
.explore-visual-line { stroke: var(--cyan); stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: explore-draw 9s ease-in-out infinite; }
.explore-visual-line.line-two { stroke: #6597c8; stroke-width: 2; animation-delay: .3s; }
.explore-visual-line.line-three { stroke: #b7c6d6; stroke-width: 1.8; animation-delay: .6s; }
.explore-visual-line.line-four { stroke: #3579b8; stroke-width: 1.8; animation-delay: .9s; }
.explore-visual-trade { fill: rgba(124,201,232,.15); animation: explore-marker 9s ease-in-out infinite; }
.explore-visual-trade circle + circle { fill: var(--cyan); }
.explore-visual-trade.trade-two { animation-delay: 1.2s; }
.explore-visual-scan { fill: var(--cyan); opacity: 0; animation: explore-scan 9s ease-in-out infinite; }
.explore-visual-systems { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #c9daea; font-size: .56rem; }
.explore-visual-systems span { display: inline-flex; align-items: center; gap: .3rem; }
.explore-visual-systems span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--cyan); }
.explore-visual-systems span:nth-child(2)::before { background: #6597c8; }
.explore-visual-systems span:nth-child(3)::before { background: #b7c6d6; }
.explore-visual-systems span:nth-child(4)::before { background: var(--blue); }
.explore-terminal-bottom { display: flex; justify-content: space-between; gap: .5rem; padding: .85rem 1rem; border-top: 1px solid rgba(124,201,232,.15); background: rgba(255,255,255,.03); color: #abc5db; font-size: .56rem; }
.explore-terminal-bottom i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: .35rem; }
.explore-terminal-bottom b { color: var(--cyan); margin-left: .3rem; }
.explore-visual-result { position: absolute; right: 0; bottom: .7rem; width: 67%; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.15rem; border-radius: 19px; border: 1px solid rgba(53,121,184,.18); background: linear-gradient(135deg, #fff 40%, var(--blue-soft)); box-shadow: 0 18px 44px rgba(7,28,49,.14); }
.explore-visual-result .metric-label { font-size: .5rem; color: var(--steel); }
.explore-visual-result strong { display: block; margin-top: .4rem; color: var(--ink); font-family: var(--font-heading); font-size: .91rem; line-height: 1.3; letter-spacing: -.025em; }
.explore-visual-periods { display: flex; gap: .4rem; margin-top: .8rem; }
.explore-visual-periods span { border: 1px solid rgba(53,121,184,.17); border-radius: 6px; padding: .3rem .5rem; color: var(--steel); font-size: .55rem; font-weight: 700; background: #fff; }
.explore-visual-calendar > span { display: block; font-size: .6rem; color: var(--muted); margin: .2rem 0 .7rem; }
.explore-visual-calendar > div { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.explore-visual-calendar i { aspect-ratio: 1.2; border-radius: 3px; background: #a5d8bf; animation: explore-calendar 9s ease-in-out infinite; animation-delay: calc(var(--cell) * 70ms); }
.explore-visual-calendar .is-loss { background: #edbdc2; }
.explore-visual-calendar .is-empty { background: #dce6ef; }
.explore-visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .25rem .5rem 0; color: var(--muted); font-size: .64rem; line-height: 1.7; }
.explore-visual button { flex-shrink: 0; padding: .35rem 0; min-height: 28px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; box-shadow: none; color: var(--steel); font: inherit; cursor: pointer; }
.explore-visual button[hidden] { display: none; }
.explore-visual button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[data-explore-motion][data-motion="paused"] * { animation-play-state: paused !important; }
[data-explore-motion][data-motion="reduced"] * { animation: none !important; }
@keyframes explore-draw { 0%, 16%, 84%, 100% { stroke-dashoffset: 0; opacity: 1; } 25% { stroke-dashoffset: 1; opacity: .2; } 70% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes explore-scan { 0%, 24%, 88%, 100% { opacity: 0; transform: translateX(0); } 30% { opacity: .6; transform: translateX(0); } 78% { opacity: .1; transform: translateX(450px); } }
@keyframes explore-marker { 0%, 25%, 83%, 100% { opacity: .65; } 60%, 75% { opacity: 1; } }
@keyframes explore-calendar { 0%, 24%, 85%, 100% { opacity: 1; } 34% { opacity: .25; } 68% { opacity: 1; } }

/* Section navigation and chart frame follow the platform browser/card treatment. */
.explore-section-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: .6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg,#fff,var(--surface-soft)); box-shadow: var(--shadow-sm); }
.explore-section-nav a { min-width: 0; display: flex; align-items: center; gap: .7rem; padding: 1rem .85rem; color: var(--ink); text-decoration: none; border-radius: 14px; transition: background .2s ease, transform .2s ease; }
.explore-section-nav a + a { border-left: 1px solid var(--line); }
.explore-section-nav a:hover { background: var(--blue-soft); transform: translateY(-2px); }
.explore-section-nav a > span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(53,121,184,.15); border-radius: 10px; background: var(--blue-soft); color: var(--steel); font-size: .65rem; font-weight: 800; }
.explore-section-nav strong { display: block; font-size: .78rem; font-family: var(--font-heading); }
.explore-section-nav small { display: block; color: var(--muted); font-size: .64rem; margin-top: .3rem; line-height: 1.5; }
.explore-section-nav b { color: var(--steel); font-weight: 500; margin-left: auto; }
.explore-chart-section { padding-top: 3.7rem; padding-bottom: 2rem; }
.explore-chart-guide { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.explore-chart-guide .eyebrow { flex-shrink: 0; }
.explore-chart-guide p { max-width: 730px; color: var(--muted); font-size: .85rem; line-height: 1.75; margin: 0; }
.explore-chart-frame.public-chart-page { width: min(1440px,calc(100% - 3rem)); margin: 0 auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: linear-gradient(135deg,#fff,var(--surface-soft)); overflow: hidden; }
.explore-chart-frame .mock-browser-bar { padding: .85rem 1.5rem; }
.explore-read-only { margin-left: auto; color: var(--steel); font-size: .66rem; font-weight: 700; white-space: nowrap; }
.explore-chart-content { padding: 1.6rem; }
.explore-chart-frame .page-heading { gap: 1rem; margin-bottom: 1.3rem; }
.explore-chart-frame .page-heading h2 { font-family: var(--font-heading); font-size: clamp(1.5rem,2.4vw,2.1rem); margin: .8rem 0; letter-spacing: -.04em; }
.explore-chart-frame .page-heading p { font-size: .86rem; line-height: 1.7; max-width: 820px; }
.explore-chart-frame .public-history { border-color: var(--line); border-radius: var(--radius-md); background: linear-gradient(100deg,var(--blue-soft),#fff); padding: 1rem 1.15rem; }
.explore-page .lc-body { height: 680px; min-height: 0; }
.explore-page .lc-toolbar { position: relative; z-index: 5; }
.explore-page .lc-shell { isolation: isolate; border-radius: 16px; }
.explore-chart-foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1.4rem; }
.explore-chart-foot p { color: var(--muted); font-size: .73rem; line-height: 1.8; max-width: 840px; margin: 0; }
.explore-chart-foot a { font-size: .78rem; font-weight: 800; white-space: nowrap; color: var(--steel); }

/* Real performance tools retain their shared renderer and controls. */
.explore-page .performance-hero-section { padding-top: 3.5rem; }
.explore-page .performance-hero-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: 1.5rem; }
.explore-page .performance-hero-grid > .section-header { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg,#fff 45%,var(--blue-soft)); box-shadow: var(--shadow-sm); margin: 0; }
.explore-page .performance-hero-section .page-title { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.06; }
.explore-page .performance-hero-section .lead { font-size: 1rem; }
.explore-page .performance-source-panel { border-radius: var(--radius-xl); }
.explore-page .backtest-card, .explore-page .backtest-card-header > div { min-width: 0; }
.explore-page .backtest-card-actions .button { white-space: normal; text-align: center; max-width: 100%; }
.explore-trade-history { margin: 2.5rem 0; padding: 1.8rem; min-width: 0; border-radius: var(--radius-xl); }
.explore-trade-history h2 { margin: .75rem 0; font-family: var(--font-heading); letter-spacing: -.04em; }
.explore-trade-history > .body-copy { max-width: 900px; }
.explore-history-controls { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
.explore-history-controls label { display: grid; gap: .45rem; font-size: .76rem; font-weight: 700; }
.explore-history-controls input, .explore-history-controls select { width: 100%; min-width: 0; }
.explore-table-scroll { overflow: auto; max-height: 580px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.explore-table-scroll table { width: 100%; min-width: 700px; }
.explore-table-scroll thead { position: sticky; top: 0; background: var(--surface-muted); }
.explore-table-scroll th, .explore-table-scroll td { white-space: nowrap; padding: .8rem 1rem; font-size: .8rem; }
.explore-table-scroll .positive { color: #14744b; }
.explore-table-scroll .negative { color: #ae3440; }
.explore-history-pagination { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.explore-history-pagination p { font-size: .78rem; color: var(--muted); }

/* Reuse the platform cards, how-it-works timeline, and homepage illustrations. */
.explore-platform { background: linear-gradient(180deg,rgba(228,241,251,.4),rgba(248,251,254,.2)); border-block: 1px solid var(--line); }
.explore-platform .card { border-radius: var(--radius-xl); }
.explore-platform .fe-scene { height: 135px; margin-bottom: 1.2rem; }
.explore-platform .fe-scene svg { height: 135px; }
.explore-platform .card h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.explore-process-layout { grid-template-columns: minmax(0,.43fr) minmax(0,.57fr); gap: 1.5rem; align-items: stretch; }
.explore-process-sidebar { position: static; border-radius: var(--radius-xl); }
.explore-process-sidebar h3 { font: 800 1.65rem/1.16 var(--font-heading); letter-spacing: -.04em; margin: .8rem 0 1rem; }
.explore-process-sidebar .control-list { margin: 1rem 0; }
.explore-process-sidebar .button { margin-top: .5rem; width: 100%; }
.explore-workflow .process-step { align-content: center; border-radius: var(--radius-lg); }
.explore-workflow .process-step h3 { font-family: var(--font-heading); }
.explore-compatibility { margin-top: 1.5rem; }
.explore-compatibility .journey-card { border-radius: var(--radius-xl); background: linear-gradient(135deg,#fff,var(--surface-soft)); box-shadow: var(--shadow-sm); }
.explore-plans { padding-top: 1rem; }
.explore-plans-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.5fr); gap: 2rem; align-items: center; }
.explore-plans-scene .fe-scene { height: 190px; margin: 0; }
.explore-plans-scene .fe-scene svg { height: 190px; }
.explore-plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin: 1rem 0 1.8rem; }
.explore-plan-grid article { min-width: 0; display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius-lg); }
.explore-plan-grid article:hover { border-color: rgba(53,121,184,.3); box-shadow: var(--shadow); }
.explore-plan-grid h3 { font-size: 1.45rem; margin: 1rem 0; }
.explore-plan-price { font: 800 1.8rem/1.3 var(--font-heading); color: var(--navy); letter-spacing: -.04em; }
.explore-plan-rule { height: 1px; background: var(--line); margin: 1.2rem 0; }
.explore-plan-grid ul { font-size: .84rem; margin-bottom: 1.6rem; }
.explore-plan-grid .button { margin-top: auto; font-size: .8rem; padding-inline: .8rem; }
.explore-plan-terms { padding: .5rem 1.4rem; border-left: 3px solid var(--blue); background: rgba(228,241,251,.45); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.explore-plan-terms .journey-terms { padding: .5rem 0; color: var(--muted); }
.explore-faq { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: 3rem; }
.explore-faq-list { display: grid; gap: .85rem; }
.explore-faq .faq-accordion { border-radius: var(--radius-lg); }
.explore-faq .faq-accordion summary { font-size: .95rem; }
.explore-final-cta { padding: 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; border-radius: var(--radius-xl); }
.explore-final-cta .section-title { margin-top: 1rem; }
.explore-final-cta .lead { font-size: .95rem; }
.explore-final-cta .button-row { flex-shrink: 0; }

@media (max-width: 1100px) {
  .explore-hero .hero-grid { gap: 2rem; }
  .explore-section-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .explore-section-nav a:nth-child(3) { border-left: 0; }
  .explore-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .explore-final-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 980px) {
  .explore-hero { padding-top: 3rem; }
  .explore-hero .hero-grid { grid-template-columns: minmax(0,1fr); gap: 1.75rem; }
  .explore-hero-copy { max-width: 700px; }
  .explore-hero h1 { font-size: clamp(2.7rem,6vw,4rem); }
  .explore-visual { max-width: 610px; justify-self: center; }
  .explore-page .performance-hero-grid { grid-template-columns: minmax(0,1fr); }
  .explore-process-layout { grid-template-columns: minmax(0,1fr); }
  .explore-process-sidebar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 2rem; }
  .explore-process-sidebar .fe-loop-card { grid-column: 2; grid-row: 1 / 5; margin-top: 0; align-self: center; }
  .explore-process-sidebar .button, .explore-process-sidebar .control-list { grid-column: 1; }
  .explore-chart-guide { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .explore-chart-foot { align-items: flex-start; gap: 1.2rem; }
}
@media (max-width: 700px) {
  .explore-page [id] { scroll-margin-top: 170px; }
  .explore-hero .hero-grid { width: calc(100% - 2rem); }
  .explore-hero h1 { font-size: clamp(2.5rem,8vw,3.4rem); }
  .explore-hero { padding: 2.7rem 0 2rem; }
  .explore-section-nav { padding: .4rem; border-radius: var(--radius-lg); }
  .explore-section-nav a { gap: .5rem; padding: .8rem .5rem; }
  .explore-section-nav a > span { width: 25px; height: 25px; font-size: .58rem; }
  .explore-section-nav strong { font-size: .68rem; }
  .explore-section-nav small { font-size: .58rem; }
  .explore-section-nav b { display: none; }
  .explore-chart-frame.public-chart-page { width: calc(100% - 1rem); border-radius: var(--radius-lg); }
  .explore-chart-frame .mock-browser-bar { padding: .8rem 1rem; }
  .explore-chart-frame .mock-browser-url { font-size: .55rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .explore-read-only { display: none; }
  .explore-chart-content { padding: 1.1rem .7rem .7rem; }
  .explore-page .lc-body { height: 760px; }
  .explore-chart-foot { flex-direction: column; }
  .explore-page .performance-hero-grid > .section-header { padding: 1.35rem; }
  .explore-trade-history { padding: 1.2rem; }
  .explore-history-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
  .explore-history-pagination { flex-direction: column; align-items: flex-start; }
  .explore-platform .cards-grid { grid-template-columns: minmax(0,1fr); }
  .explore-process-sidebar { display: block; }
  .explore-process-sidebar .fe-loop-card { margin-top: 1.3rem; }
  .explore-plans-heading { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .explore-plans-scene { max-width: 360px; }
  .explore-plans-scene .fe-scene { height: 140px; }
  .explore-plans-scene .fe-scene svg { height: 140px; }
  .explore-faq { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .explore-final-cta { padding: 1.6rem; }
}
@media (max-width: 440px) {
  .explore-visual-badge { padding: .55rem .7rem; font-size: .62rem; right: .4rem; }
  .explore-visual-badge i { font-size: .55rem; }
  .explore-terminal-head { padding: .8rem; }
  .explore-terminal-head strong { font-size: .8rem; }
  .explore-terminal-head div > span { font-size: .51rem; }
  .explore-terminal-indicator { font-size: .42rem; }
  .explore-terminal-tabs { gap: .65rem; padding-inline: .8rem; font-size: .53rem; }
  .explore-terminal-tabs b { font-size: .4rem; }
  .explore-visual-chart-title > span { font-size: .51rem; }
  .explore-terminal-bottom { font-size: .46rem; padding: .7rem; }
  .explore-visual-result { width: 78%; padding: .85rem; gap: .7rem; }
  .explore-visual-result strong { font-size: .79rem; }
  .explore-visual figcaption { flex-direction: column; gap: .3rem; text-align: center; }
  .explore-plan-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .explore-page *, .explore-page *::before, .explore-page *::after { scroll-behavior: auto !important; }
  .explore-visual *, .explore-section-nav a { animation: none !important; transition: none !important; }
}
