:root {
  color-scheme: dark;
  --ink: #07111a;
  --surface: #0e1a23;
  --surface-2: #14232e;
  --line: #2a3b49;
  --text: #f2f5f6;
  --muted: #91a1ac;
  --gold: #dfb154;
  --gold-soft: #826b3a;
  --green: #35c98f;
  --red: #f06d75;
  --radius: 14px;
  font-family: Inter, "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--text); background: radial-gradient(circle at 76% 8%, rgba(215, 173, 88, .08), transparent 33%), var(--ink); }
a { color: inherit; }
.shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--gold); border-radius: 11px; font: 850 18px/1 Georgia, serif; box-shadow: 0 9px 30px rgba(215, 173, 88, .18); }
.brand strong, .brand small { display: block; letter-spacing: .15em; }
.brand strong { font-size: 13px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 10px 12px; color: #aeb7bc; border-radius: 10px; text-decoration: none; font-size: 11px; font-weight: 700; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); background: rgba(255, 255, 255, .045); outline: none; }
.main-nav .nav-cta { margin-left: 6px; color: #17130a; background: var(--gold); }
.main-nav .nav-cta:hover, .main-nav .nav-cta:focus-visible { color: #17130a; background: #e4bd70; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(54px, 8vw, 110px); align-items: center; padding-block: 86px 96px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(52px, 6.5vw, 88px); line-height: .96; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold); }
.hero-lead { max-width: 660px; margin: 27px 0 0; color: #aeb7bc; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: 12px; font-weight: 800; transition: transform .16s ease, background-color .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #17130a; background: var(--gold); }
.button.secondary { color: var(--text); background: var(--surface-2); border-color: #3d474d; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 38px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.hero-facts div { min-width: 0; padding: 16px; background: rgba(18, 23, 25, .95); }
.hero-facts dt { color: var(--text); font: 800 18px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.hero-facts dd { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.hero-console { position: relative; overflow: hidden; background: #0f1416; border: 1px solid #333c41; border-radius: var(--radius); box-shadow: 0 35px 100px rgba(0, 0, 0, .35); }
.hero-console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(215, 173, 88, .08), transparent 30%); }
.console-topbar, .market-strip, .guard-rail, .console-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.console-topbar { padding: 18px 20px; color: #9da7ac; border-bottom: 1px solid var(--line); font: 750 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.console-state { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.console-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(80, 201, 151, .1); }
.market-strip { padding: 20px; border-bottom: 1px solid var(--line); }
.market-strip div:last-child { text-align: right; }
.market-strip span, .guard-rail span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.market-strip strong, .guard-rail strong { font: 800 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.signal-stack { display: grid; gap: 1px; padding: 1px 0; background: var(--line); }
.signal-stack article { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 20px; background: #111719; }
.set-number { color: var(--gold); font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.signal-stack strong, .signal-stack small { display: block; }
.signal-stack strong { font-size: 12px; }
.signal-stack small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.signal-stack b { padding: 5px 8px; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 6px; font-size: 8px; letter-spacing: .07em; }
.guard-rail { padding: 20px; border-top: 1px solid var(--line); }
.guard-rail strong { color: #c4cbce; text-align: right; }
.console-foot { padding: 14px 20px; color: var(--muted); background: #0c1113; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.console-foot i { flex: 1; height: 1px; background: var(--line); }

.trust-bar { border-block: 1px solid var(--line); background: rgba(18, 23, 25, .72); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { position: relative; padding: 19px 18px 19px 34px; color: #aeb7bc; border-left: 1px solid var(--line); font-size: 10px; }
.trust-grid span:first-child { border-left: 0; }
.trust-grid span::before { content: ""; position: absolute; left: 17px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green); }

.section { padding-block: 112px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .7fr); gap: 70px; align-items: end; margin-bottom: 44px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.process-grid article { min-height: 260px; padding: 27px; border-left: 1px solid var(--line); }
.process-grid article:first-child { border-left: 0; }
.process-grid article > span { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 10px; font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.process-grid h3 { margin: 46px 0 12px; font-size: 18px; }
.process-grid p, .feature-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.feature-section { background: #0e1315; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-grid article { min-height: 230px; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.feature-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--gold); border-radius: 9px; font: 850 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.feature-grid h3 { margin: 32px 0 11px; font-size: 17px; }

.activity-section { padding-top: 112px; }
.activity-heading { margin-bottom: 24px; }
.activity-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.activity-intro .activity-privacy { margin-top: 8px; color: #b9b09e; }
.activity-account { display: grid; grid-template-columns: .55fr 1fr auto; align-items: center; gap: 1px; margin-bottom: 12px; overflow: hidden; background: var(--line); border: 1px solid #354047; border-radius: 12px; }
.activity-account > div { min-width: 0; align-self: stretch; padding: 15px 18px; background: #121719; }
.activity-account span { display: block; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.activity-account strong { display: block; margin-top: 7px; overflow-wrap: anywhere; font: 800 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.activity-account .cache-badge { align-self: stretch; display: grid; min-width: 118px; place-items: center; padding: 15px; color: var(--green); background: rgba(80, 201, 151, .07); font-size: 8px; }
.activity-status { min-height: 38px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0 14px; color: #aeb7bc; background: rgba(18, 23, 25, .78); border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.activity-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(80, 201, 151, .09); }
.activity-content { display: grid; gap: 12px; }
.activity-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(410px, .94fr); gap: 12px; }
.performance-card { min-width: 0; display: flex; overflow: hidden; flex-direction: column; background: var(--surface); border: 1px solid #354047; border-radius: var(--radius); }
.activity-card-head { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.activity-card-head span { display: block; color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; }
.activity-card-head h3 { margin: 8px 0 0; font-size: 18px; }
.activity-card-head .range-badge { max-width: 52%; padding: 7px 9px; overflow-wrap: anywhere; color: #c9b47f; border: 1px solid rgba(215, 173, 88, .35); border-radius: 999px; background: rgba(215, 173, 88, .06); font-size: 7px; line-height: 1.35; text-align: right; }
.performance-summary { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.performance-summary > div { min-width: 0; padding: 20px; border-left: 1px solid var(--line); }
.performance-summary > div:first-child { border-left: 0; }
.performance-summary small { display: block; min-height: 22px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.performance-summary strong { display: block; margin-top: 10px; overflow-wrap: anywhere; font: 800 18px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.performance-summary .performance-total strong { font-size: clamp(20px, 2.2vw, 27px); }
.performance-quality { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.performance-quality > div { min-width: 0; padding: 17px 18px; border-left: 1px solid var(--line); }
.performance-quality > div:first-child { border-left: 0; }
.performance-quality small { display: block; min-height: 20px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.performance-quality strong { display: block; margin-top: 8px; overflow-wrap: anywhere; font: 750 12px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace; }
.is-profit { color: var(--green); }
.is-loss { color: var(--red); }
.is-flat { color: #aeb7bc; }
.chart-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #101618; }
.chart-summary > div { min-width: 0; padding: 14px 16px; border-left: 1px solid var(--line); }
.chart-summary > div:first-child { border-left: 0; }
.chart-summary small, .chart-summary span { display: block; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .05em; }
.chart-summary strong { display: block; margin: 8px 0 5px; overflow-wrap: anywhere; font: 800 11px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace; }
.chart-summary span { letter-spacing: 0; line-height: 1.35; }
.chart-stage { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); flex: 1; border-bottom: 1px solid var(--line); }
.chart-axis { height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 9px 42px 14px; color: #7f8a90; border-right: 1px solid var(--line); background: #0f1517; font: 700 7px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: right; }
.performance-chart { min-height: 250px; display: grid; place-items: center; overflow-x: auto; padding: 24px 18px 6px; scrollbar-color: #435058 #111719; scrollbar-width: thin; }
.performance-area { position: relative; width: 100%; min-width: 700px; height: 220px; padding-bottom: 24px; }
.daily-area-svg { position: absolute; inset: 0 0 24px; width: 100%; height: calc(100% - 24px); overflow: visible; }
.daily-area-svg .area-grid line { stroke: rgba(110, 132, 145, .22); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.daily-area-svg .area-grid .area-baseline { stroke: rgba(182, 195, 202, .5); stroke-dasharray: none; }
.daily-area-svg .area-fill.profit { fill: rgba(80, 201, 151, .2); }
.daily-area-svg .area-fill.loss { fill: rgba(240, 111, 111, .18); }
.daily-area-svg .area-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.daily-area-svg .area-point { stroke: #08151e; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.daily-area-svg .area-point.profit { fill: var(--green); }
.daily-area-svg .area-point.loss { fill: var(--red); }
.daily-area-svg .area-point.flat { fill: #71808a; }
.area-day-targets { position: absolute; inset: 0 0 24px; display: grid; }
.area-day-target { appearance: none; position: relative; min-width: 10px; margin: 0; padding: 0; color: inherit; background: transparent; border: 0; cursor: crosshair; }
.area-day-target::before { content: ""; position: absolute; z-index: 2; left: 50%; top: calc(var(--point-y) - 4px); width: 8px; height: 8px; opacity: 0; border: 2px solid #f6f7f5; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(223, 177, 84, .16); transform: translateX(-50%); }
.area-day-target::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(223, 177, 84, .65), transparent); }
.area-day-target:hover::before, .area-day-target:hover::after, .area-day-target.is-selected::before, .area-day-target.is-selected::after, .area-day-target:focus-visible::before, .area-day-target:focus-visible::after { opacity: 1; }
.area-day-target:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.area-date-tick { position: absolute; left: 50%; bottom: -19px; color: #879298; font: 700 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; transform: translateX(-50%); white-space: nowrap; }
.chart-detail { display: grid; grid-template-columns: 1.2fr 1fr .8fr; background: rgba(215, 173, 88, .035); border-bottom: 1px solid var(--line); }
.chart-detail > div { min-width: 0; padding: 13px 18px; border-left: 1px solid var(--line); }
.chart-detail > div:first-child { border-left: 0; }
.chart-detail small { display: block; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.chart-detail strong { display: block; margin-top: 6px; overflow-wrap: anywhere; font: 800 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 22px 20px; color: var(--muted); font-size: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: #657078; }
.chart-legend i.profit { background: var(--green); }
.chart-legend i.loss { background: var(--red); }
.public-set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; flex: 1; background: var(--line); }
.public-set-grid > .activity-placeholder { grid-column: 1 / -1; align-self: center; padding: 30px; background: var(--surface); }
.public-set-card { min-width: 0; padding: 17px 18px; background: #111719; }
.public-set-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.public-set-card header strong { color: var(--gold); font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.public-set-card .set-side { padding: 4px 6px; border-radius: 999px; font-size: 7px; }
.public-set-card .set-side.buy { color: var(--green); background: rgba(80, 201, 151, .09); }
.public-set-card .set-side.sell { color: #ff9a71; background: rgba(255, 154, 113, .09); }
.public-set-card > b { display: block; margin: 14px 0; font: 800 17px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.public-set-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 0; }
.public-set-card dt { margin-bottom: 4px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .05em; }
.public-set-card dd { margin: 0; overflow-wrap: anywhere; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.public-order-note { margin: 0; padding: 13px 20px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.6; }
.public-order-list { display: grid; gap: 1px; background: var(--line); }
.public-order-list > .activity-placeholder { padding: 34px 20px; background: var(--surface); }
.public-order-row { display: grid; grid-template-columns: 1.25fr .7fr 1fr .75fr 1fr .45fr; gap: 1px; background: var(--line); }
.public-order-row > div { min-width: 0; padding: 14px 16px; background: #111719; }
.public-order-row small { display: block; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.public-order-row strong { display: block; margin-top: 7px; overflow-wrap: anywhere; font: 760 10px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }
.public-order-row .order-closed { color: #aeb7bc; }
.public-order-row .order-active { color: var(--gold); }
.activity-noscript { margin: 0; padding: 16px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; line-height: 1.65; }
.activity-placeholder { color: var(--muted); font-size: 10px; text-align: center; }
.activity-noscript { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; }
.activity-error { opacity: .7; }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 800; }
.text-link span { font-size: 18px; transition: transform .15s ease; }
.text-link:hover span { transform: translateX(4px); }
.dashboard-preview { overflow: hidden; background: var(--surface); border: 1px solid #354047; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0, 0, 0, .28); }
.preview-head, .preview-account, .preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.preview-head { padding: 18px 20px; color: #adbbc3; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.preview-head b { color: var(--gold); }
.preview-brand { display: grid; gap: 4px; }
.preview-brand b { color: var(--text); font-size: 16px; letter-spacing: -.03em; }
.preview-brand b span { color: var(--gold); }
.preview-brand small { color: #91a5b1; font: 700 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.preview-session { display: inline-flex; align-items: center; gap: 6px; color: #b8c5cc; font: 750 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0; }
.preview-session i, .preview-api > i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(80, 201, 151, .08); }
.preview-context { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; background: #0b171f; border-bottom: 1px solid var(--line); }
.preview-user, .preview-api { display: flex; align-items: center; gap: 9px; }
.preview-user > b { width: 32px; height: 32px; display: grid; place-items: center; color: #17130a; background: var(--gold); border-radius: 6px; font: 850 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-user strong, .preview-user small, .preview-api b, .preview-api small { display: block; }
.preview-user strong { font-size: 12px; }
.preview-user small, .preview-api small { margin-top: 4px; color: #94a8b3; font-size: 9px; line-height: 1.35; }
.preview-api { padding: 8px 10px; border: 1px solid #2d4353; border-radius: 7px; }
.preview-api b { color: #e3e9eb; font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-account { padding: 24px; border-bottom: 1px solid var(--line); }
.preview-account small, .preview-account strong { display: block; }
.preview-account small, .preview-metrics small { color: #aab9c1; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.preview-account strong { margin-top: 8px; font: 800 17px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-account > span { padding: 6px 9px; color: var(--green); border: 1px solid rgba(80, 201, 151, .4); border-radius: 999px; background: rgba(80, 201, 151, .08); font-size: 8px; font-weight: 800; }
.preview-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.preview-metrics div { padding: 21px 23px; border-left: 1px solid var(--line); }
.preview-metrics div:first-child { border-left: 0; }
.preview-metrics strong { display: block; margin-top: 11px; font: 800 18px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.positive { color: var(--green); }
.preview-bars { height: 190px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 8px; padding: 34px 24px 0; }
.preview-bars i { min-height: 18px; background: #455058; border-radius: 4px 4px 0 0; }
.preview-bars i:nth-child(3n + 1) { height: 62%; background: rgba(80, 201, 151, .65); }
.preview-bars i:nth-child(3n + 2) { height: 88%; background: rgba(80, 201, 151, .82); }
.preview-bars i:nth-child(3n) { height: 35%; background: rgba(240, 111, 111, .68); }
.preview-foot { padding: 15px 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 9px; letter-spacing: .05em; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 68px; }
  .hero-copy { max-width: 780px; }
  .hero-console { max-width: 760px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid span:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: 1fr; }
  .performance-quality { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-quality > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .performance-quality > div:nth-child(n + 5) { border-top: 1px solid var(--line); }
  .public-order-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .operations-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-screen-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1200px); }
  .header-inner { min-height: 68px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { margin-left: 0; padding-inline: 13px; }
  .hero { min-height: auto; padding-block: 58px 70px; gap: 48px; }
  .hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-lead { font-size: 15px; }
  .hero-facts { grid-template-columns: 1fr; }
  .market-strip, .guard-rail { align-items: flex-start; flex-direction: column; }
  .market-strip div:last-child, .guard-rail strong { text-align: left; }
  .signal-stack article { grid-template-columns: auto 1fr; }
  .signal-stack b { display: none; }
  .console-foot { flex-wrap: wrap; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid span:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid span:first-child { border-top: 0; }
  .section { padding-block: 78px; }
  .process-grid, .feature-grid { grid-template-columns: 1fr; }
  .process-grid article:nth-child(n) { min-height: 220px; border-left: 0; border-top: 1px solid var(--line); }
  .process-grid article:first-child { border-top: 0; }
  .feature-grid article { min-height: 205px; }
  .activity-section { padding-top: 78px; }
  .activity-account { grid-template-columns: 1fr 1fr; }
  .activity-account .cache-badge { grid-column: 1 / -1; min-width: 0; }
  .activity-card-head { min-height: 74px; padding: 17px; }
  .activity-card-head h3 { font-size: 16px; }
  .performance-summary { grid-template-columns: 1fr 1fr; }
  .performance-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .performance-summary > div:nth-child(4) { border-top: 1px solid var(--line); }
  .performance-quality { grid-template-columns: 1fr 1fr; }
  .performance-quality > div:nth-child(odd) { border-left: 0; }
  .performance-quality > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .public-set-grid { grid-template-columns: 1fr; }
  .chart-summary { grid-template-columns: 1fr 1fr; }
  .chart-summary > div:nth-child(3) { border-left: 0; }
  .chart-summary > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .chart-stage { grid-template-columns: 58px minmax(0, 1fr); }
  .chart-axis { height: 230px; padding: 23px 6px 40px; font-size: 6px; }
  .performance-chart { min-height: 230px; padding: 22px 12px 4px; }
  .performance-area { min-width: 660px; height: 202px; }
  .chart-detail { grid-template-columns: 1fr 1fr; }
  .chart-detail > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .public-order-row { grid-template-columns: 1fr 1fr; }
  .public-order-row > div { padding: 13px 14px; }
  .preview-metrics { grid-template-columns: 1fr; }
  .preview-metrics div { border-left: 0; border-top: 1px solid var(--line); }
  .preview-metrics div:first-child { border-top: 0; }
  .preview-bars { gap: 4px; padding-inline: 16px; }
  .footer-inner { padding-block: 28px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Public product-story redesign */
body {
  background:
    radial-gradient(circle at 85% 4%, rgba(215, 173, 88, .12), transparent 28%),
    radial-gradient(circle at 12% 27%, rgba(80, 201, 151, .055), transparent 24%),
    var(--ink);
}
.site-header { position: sticky; top: 0; background: rgba(11, 15, 17, .88); backdrop-filter: blur(18px); }
.hero { min-height: 760px; grid-template-columns: 1.04fr .96fr; gap: clamp(48px, 7vw, 104px); padding-block: 96px 110px; }
.hero h1 { font-size: clamp(50px, 6vw, 82px); }
.hero h1 span { display: block; margin-top: 10px; }
.hero-lead { max-width: 630px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; color: #9fa9ae; font-size: 9px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(80, 201, 151, .08); }

.hero-cockpit { position: relative; overflow: hidden; padding: 1px; background: linear-gradient(145deg, rgba(215, 173, 88, .58), #344047 35%, #20272b 72%, rgba(80, 201, 151, .45)); border-radius: 24px; box-shadow: 0 45px 120px rgba(0, 0, 0, .42); }
.hero-cockpit::before { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -120px; border-radius: 50%; background: rgba(215, 173, 88, .13); filter: blur(4px); }
.hero-cockpit > * { position: relative; z-index: 1; }
.cockpit-head, .cockpit-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(14, 19, 21, .96); }
.cockpit-head { padding: 20px 22px; border-radius: 23px 23px 0 0; border-bottom: 1px solid var(--line); }
.cockpit-kicker, .cockpit-head strong { display: block; }
.cockpit-kicker { margin-bottom: 7px; color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.cockpit-head strong { font-size: 13px; }
.system-online { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: var(--green); border: 1px solid rgba(80, 201, 151, .27); border-radius: 999px; background: rgba(80, 201, 151, .06); font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; white-space: nowrap; }
.system-online i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(80, 201, 151, .08); }
.cockpit-focus { min-height: 230px; display: grid; grid-template-columns: 142px 1fr; align-items: center; gap: 30px; padding: 34px 30px; background: linear-gradient(145deg, #12191b, #0d1214); }
.focus-orbit { position: relative; width: 126px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(215, 173, 88, .25); border-radius: 50%; }
.focus-orbit::before, .focus-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.focus-orbit::before { inset: 14px; border: 1px dashed rgba(80, 201, 151, .28); }
.focus-orbit::after { inset: 28px; background: linear-gradient(145deg, var(--gold), #8d7137); box-shadow: 0 0 45px rgba(215, 173, 88, .2); }
.focus-orbit span { position: relative; z-index: 1; color: #151006; font: 900 27px/1 Georgia, serif; }
.cockpit-focus small, .cockpit-focus strong { display: block; }
.cockpit-focus small { color: var(--muted); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.cockpit-focus strong { margin-top: 13px; font: 800 15px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }
.cockpit-focus p { max-width: 270px; margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.cockpit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.cockpit-grid article { min-width: 0; padding: 18px; background: #111719; }
.cockpit-grid article > span { color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.cockpit-grid small, .cockpit-grid strong { display: block; }
.cockpit-grid small { margin-top: 28px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.cockpit-grid strong { margin-top: 7px; font-size: 10px; }
.cockpit-foot { padding: 14px 20px; border-radius: 0 0 23px 23px; color: #7f898e; font-size: 7px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }

.trust-grid span { display: flex; align-items: center; gap: 12px; padding-left: 20px; }
.trust-grid span::before { display: none; }
.trust-grid b { color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.story-heading { align-items: center; }
.indicator-explainer { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: 14px; align-items: stretch; }
.indicator-copy { display: grid; gap: 14px; }
.indicator-card { padding: 25px; background: #0f1c25; border: 1px solid #2d4353; border-radius: 10px; }
.indicator-card header { display: flex; align-items: center; gap: 15px; }
.indicator-card header > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: #08151e; background: var(--gold); border-radius: 7px; font: 900 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.indicator-card.macd-card header > span { background: var(--green); }
.indicator-card small { color: #8ea1ac; font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.indicator-card h3 { margin: 5px 0 0; color: #f2f5f6; font-size: 20px; }
.indicator-card > p { margin: 19px 0; color: #a6b4bc; font-size: 12px; line-height: 1.8; }
.indicator-card > p strong { color: #eef2f4; font-weight: 800; }
.indicator-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.indicator-card li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-top: 9px; color: #92a4ae; border-top: 1px solid rgba(87, 111, 126, .28); font-size: 10px; line-height: 1.55; }
.indicator-card li b { color: var(--gold); }
.macd-card li b { color: var(--green); }
.ea-logic-graphic { min-width: 0; margin: 0; overflow: hidden; background: #08151e; border: 1px solid #2d4353; border-radius: 10px; }
.graphic-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-bottom: 1px solid #2d4353; }
.graphic-head span { color: var(--gold); font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.graphic-head h3 { margin: 6px 0 0; color: #f1f4f5; font-size: 17px; }
.graphic-head > b { padding: 7px 9px; color: #8ea1ac; border: 1px solid #334d5e; border-radius: 5px; font: 800 6px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.ea-logic-graphic svg { display: block; width: 100%; height: auto; min-height: 400px; background: radial-gradient(circle at 75% 18%, rgba(223,177,84,.08), transparent 27%); }
.logic-grid path { fill: none; stroke: rgba(91, 119, 136, .14); stroke-width: 1; }
.logic-label { fill: #8ea1ac; font: 800 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.logic-candles path { stroke: #8aa0ad; stroke-width: 2; }
.logic-candles rect { stroke-width: 1; }
.logic-candles .up { fill: rgba(53, 201, 143, .72); stroke: #35c98f; }
.logic-candles .down { fill: rgba(240, 111, 111, .7); stroke: #f06f6f; }
.ema-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.ema-line.fast { stroke: #dfb154; }
.ema-line.slow { stroke: #5fc4d5; }
.logic-legend text { fill: #8fa2ad; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; }
.logic-legend circle.fast { fill: #dfb154; }
.logic-legend circle.slow { fill: #5fc4d5; }
.zero-line { fill: none; stroke: rgba(167, 187, 198, .55); stroke-width: 1; stroke-dasharray: 5 5; }
.macd-bars .positive { fill: rgba(53, 201, 143, .62); }
.macd-bars .negative { fill: rgba(240, 111, 111, .62); }
.macd-line { fill: none; stroke: #dfb154; stroke-width: 2.5; stroke-linecap: round; }
.logic-arrow { fill: none; stroke: #dfb154; stroke-width: 2; }
.logic-output rect { fill: rgba(14, 31, 42, .96); stroke: #355064; stroke-width: 1.5; }
.logic-output text { fill: #dce3e6; font: 10px "Noto Sans Thai", sans-serif; }
.logic-output .output-kicker { fill: #dfb154; font: 800 8px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.logic-output .output-index { fill: #35c98f; font: 900 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.logic-output path { stroke: #304858; stroke-width: 1; }
.logic-output .output-status { fill: #8ea1ac; font: 800 7px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.ea-logic-graphic figcaption { padding: 14px 20px 18px; color: #8397a3; border-top: 1px solid #2d4353; font-size: 9px; line-height: 1.65; }
.indicator-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 14px 0 0; padding: 1px; background: #2d4353; border: 1px solid #2d4353; border-radius: 10px; list-style: none; overflow: hidden; }
.indicator-flow li { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 17px; background: #0c1b25; }
.indicator-flow > li > span { color: var(--gold); font: 900 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.indicator-flow b, .indicator-flow small { display: block; }
.indicator-flow b { color: #e8edef; font-size: 10px; line-height: 1.45; }
.indicator-flow small { margin-top: 6px; color: #8599a5; font-size: 8px; line-height: 1.55; }

.workflow-section { background: #0e1315; border-block: 1px solid var(--line); }
.workflow-section .section-heading.compact { grid-template-columns: 1fr .7fr; }
.workflow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 28px 0 0; list-style: none; }
.workflow-track::before { content: ""; position: absolute; left: 9%; right: 9%; top: 50px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--green)); opacity: .55; }
.workflow-track li { position: relative; min-width: 0; padding-right: 24px; }
.workflow-track li > span { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; color: #151006; background: var(--gold); border: 7px solid #0e1315; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-soft); font: 900 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.workflow-track li:last-child > span { color: #07120e; background: var(--green); box-shadow: 0 0 0 1px rgba(80, 201, 151, .45); }
.workflow-track li div { padding: 24px 6px 0 0; }
.workflow-track small { color: var(--gold); font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.workflow-track h3 { margin: 11px 0 9px; font-size: 15px; }
.workflow-track p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.operations-section { position: relative; background: linear-gradient(180deg, rgba(22, 45, 60, .16), transparent 28%), #09161f; border-block: 1px solid #2a4050; }
.operations-heading { align-items: center; }
.operations-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 44px; }
.operations-capabilities article { min-width: 0; min-height: 210px; padding: 24px; background: linear-gradient(145deg, #0f202b, #0a1720); border: 1px solid #2d4353; border-radius: 10px; }
.operations-capabilities article > span { color: #e8bb5d; font: 800 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.operations-capabilities h3 { margin: 30px 0 12px; color: #f4f6f7; font-size: 20px; line-height: 1.35; }
.operations-capabilities p { margin: 0; color: #bac7ce; font-size: 14px; line-height: 1.75; }
.operations-gallery { overflow: hidden; background: #081620; border: 1px solid #385365; border-radius: 11px; box-shadow: 0 32px 90px rgba(0, 0, 0, .28); }
.operations-gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; padding: 25px 27px; background: linear-gradient(90deg, #102532, #0a1822); border-bottom: 1px solid #2c4353; }
.operations-gallery-head span { color: #e8bb5d; font: 800 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.operations-gallery-head h3 { margin: 10px 0 0; color: #f4f6f7; font-size: 25px; line-height: 1.3; }
.operations-gallery-head p { max-width: 62ch; margin: 0; color: #b3c1c9; font-size: 13px; line-height: 1.75; }
.operations-screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.system-preview-card { min-width: 0; margin: 0; overflow: hidden; background: #0a1822; border: 1px solid #2d4353; border-radius: 9px; }
.system-preview-card > figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; background: #0d1d27; border-bottom: 1px solid #2d4353; }
.system-preview-card > figcaption small, .system-preview-card > figcaption strong { display: block; }
.system-preview-card > figcaption small { color: #e8bb5d; font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.system-preview-card > figcaption strong { margin-top: 8px; color: #f1f4f5; font-size: 16px; line-height: 1.35; }
.system-preview-card > figcaption > span { padding: 7px 9px; color: #b1c0c8; border: 1px solid #416075; border-radius: 999px; font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.operations-gallery .dashboard-preview { border: 0; border-radius: 0; box-shadow: none; }
.monitor-preview { min-height: 100%; background: #081620; }
.monitor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-bottom: 1px solid #2d4353; }
.monitor-head small, .monitor-head strong { display: block; }
.monitor-head small { color: #e8bb5d; font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.monitor-head strong { margin-top: 8px; color: #f1f4f5; font-size: 17px; }
.monitor-head > span { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-head > span i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(53, 201, 143, .08); }
.monitor-tools { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 13px 16px; background: #0b1922; border-bottom: 1px solid #2d4353; }
.monitor-search { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; color: #adbdc6; border: 1px solid #3b586b; border-radius: 7px; font-size: 11px; }
.monitor-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-search b { color: var(--gold); font-size: 13px; }
.monitor-tools button { padding: 0 13px; color: #a9b9c2; background: #122632; border: 1px solid #3b586b; border-radius: 7px; font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #2d4353; }
.monitor-summary > div { min-width: 0; padding: 15px; border-left: 1px solid #2d4353; }
.monitor-summary > div:first-child { border-left: 0; }
.monitor-summary small, .monitor-summary strong, .monitor-summary span { display: block; }
.monitor-summary small { font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-summary strong { margin-top: 9px; font: 850 22px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-summary span { margin-top: 8px; color: #9dafb9; font-size: 10px; line-height: 1.5; }
.monitor-summary .online small, .monitor-summary .online strong { color: var(--green); }
.monitor-summary .warning small, .monitor-summary .warning strong { color: var(--gold); }
.monitor-summary .offline small, .monitor-summary .offline strong { color: var(--red); }
.monitor-account-list { display: grid; gap: 1px; background: #2d4353; }
.monitor-account-list article { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 16px; background: #091821; }
.monitor-account-list b, .monitor-account-list small { display: block; }
.monitor-account-list b { color: #eef2f4; font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-account-list small { margin-top: 6px; color: #95a9b4; font-size: 9px; line-height: 1.45; }
.monitor-account-list time { color: #b4c2c9; font: 750 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: right; white-space: nowrap; }
.monitor-state { display: inline-flex; align-items: center; gap: 7px; font: 850 8px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.monitor-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.monitor-state.online { color: var(--green); }
.monitor-state.warning { color: var(--gold); }
.monitor-state.offline { color: var(--red); }
.operations-gallery-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 20px; background: #07131c; border-top: 1px solid #2d4353; }
.operations-gallery-foot p { margin: 0; color: #a9bac3; font-size: 11px; line-height: 1.65; }
.operations-gallery-foot p b { color: #dbe2e5; }

.backtest-section { background: linear-gradient(180deg, rgba(215, 173, 88, .04), transparent 35%), #0c1113; border-block: 1px solid var(--line); }
.backtest-heading { align-items: center; }
.backtest-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.backtest-intro strong { display: block; margin-top: 13px; color: #f0ca7f; font-size: 11px; line-height: 1.55; }
.backtest-method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-bottom: 12px; background: var(--line); border: 1px solid #354047; border-radius: 14px; }
.backtest-method > div { min-width: 0; padding: 18px 20px; background: #111719; }
.backtest-method span, .backtest-label, .backtest-scorecard-head span, .backtest-chart-head span { display: block; color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.backtest-method strong { display: block; margin-top: 9px; overflow-wrap: anywhere; font: 800 12px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }
.backtest-results { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); gap: 12px; }
.backtest-story, .backtest-scorecard, .backtest-chart { min-width: 0; margin: 0; overflow: hidden; background: var(--surface); border: 1px solid #354047; border-radius: var(--radius); }
.backtest-story { padding: 26px; }
.backtest-story h3 { margin: 11px 0 24px; font-size: 22px; }
.backtest-story ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.backtest-story li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.backtest-story li > span { width: 30px; height: 30px; display: grid; place-items: center; color: #17130a; background: var(--gold); border-radius: 8px; font: 900 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.backtest-story b { display: block; font-size: 12px; }
.backtest-story p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.backtest-scorecard { display: flex; flex-direction: column; }
.backtest-scorecard-head, .backtest-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.backtest-scorecard-head h3, .backtest-chart-head h3 { margin: 8px 0 0; font-size: 18px; }
.backtest-scorecard-head .backtest-badge { padding: 7px 9px; color: #c9b47f; border: 1px solid rgba(215, 173, 88, .35); border-radius: 999px; background: rgba(215, 173, 88, .06); font-size: 7px; }
.backtest-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.backtest-metrics > div { min-width: 0; padding: 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.backtest-metrics > div:nth-child(3n + 1) { border-left: 0; }
.backtest-metrics > div:nth-child(-n + 3) { border-top: 0; }
.backtest-metrics small, .backtest-risk-metric small, .backtest-chart-head small { display: block; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.backtest-metrics strong { display: block; margin-top: 10px; overflow-wrap: anywhere; font: 800 17px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.backtest-metrics .primary strong { color: var(--green); font-size: 20px; }
.backtest-risk-metric { display: grid; grid-template-columns: minmax(190px, .55fr) 1fr; gap: 22px; align-items: center; margin-top: auto; padding: 22px; background: rgba(240, 111, 111, .075); border-top: 1px solid rgba(240, 111, 111, .28); }
.backtest-risk-metric strong { display: block; margin-top: 9px; color: var(--red); font: 900 31px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.backtest-risk-metric p { margin: 0; color: #c9b9b9; font-size: 10px; line-height: 1.7; }
.backtest-chart { margin-top: 12px; }
.backtest-chart-head > div:last-child { text-align: right; }
.backtest-chart-head > div:last-child strong { display: block; margin-top: 8px; color: var(--gold); font: 800 17px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.backtest-chart img { width: 100%; height: auto; display: block; padding: 14px; background: #f4f4f4; }
.backtest-chart figcaption { padding: 15px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9px; line-height: 1.65; }
.backtest-disclaimer { display: grid; grid-template-columns: 175px 1fr; gap: 24px; margin-top: 12px; padding: 19px 22px; color: #b9b09e; background: rgba(215, 173, 88, .045); border: 1px solid var(--gold-soft); border-radius: 13px; }
.backtest-disclaimer b { color: var(--gold); font-size: 11px; }
.backtest-disclaimer p { margin: 0; font-size: 10px; line-height: 1.7; }

.preview-nav { display: flex; gap: 5px; padding: 11px 14px; overflow: hidden; border-bottom: 1px solid var(--line); }
.preview-nav i { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: #a6b5bd; border: 1px solid transparent; border-radius: 7px; font: normal 750 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.preview-nav i b { min-width: 22px; height: 22px; display: grid; place-items: center; color: #b4c2c9; background: #142631; border-radius: 5px; font-size: 8px; }
.preview-nav i.active { color: #17130a; background: var(--gold); }
.preview-hero { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 24px; border-bottom: 1px solid var(--line); }
.preview-hero small, .preview-hero strong { display: block; }
.preview-hero small { color: #e8bb5d; font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.preview-hero strong { margin-top: 8px; font-size: 16px; }
.preview-hero > span { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-hero > span i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.preview-metrics em { display: block; margin-top: 9px; color: #a7b7c0; font: normal 11px/1.5 inherit; }
.preview-table { display: grid; gap: 1px; padding: 1px 0; background: var(--line); }
.preview-table span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 20px; background: #111719; }
.preview-table i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.preview-table b { color: #e8edef; font: 750 10px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace; }
.preview-table small { color: #a9b7be; font: 750 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }

@media (max-width: 1180px) {
  .operations-screen-grid { grid-template-columns: 1fr; }
}

.start-section { padding-bottom: 80px; border-bottom: 1px solid var(--line); }
.start-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.start-steps li { min-height: 275px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background: #121719; border: 1px solid var(--line); border-radius: 15px; }
.start-steps li > span { color: rgba(215, 173, 88, .35); font: 900 54px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.08em; }
.start-steps small { color: var(--gold); font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.start-steps h3 { margin: 10px 0 9px; font-size: 17px; }
.start-steps p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.faq-section { background: #0e1315; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 110px); }
.faq-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.faq-intro > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold); font: 400 22px/1 sans-serif; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -3px 0 22px; padding-right: 40px; color: var(--muted); font-size: 11px; line-height: 1.75; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cockpit { max-width: 780px; }
  .indicator-explainer { grid-template-columns: 1fr; }
  .indicator-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indicator-flow { grid-template-columns: repeat(2, 1fr); }
  .workflow-section .section-heading.compact { grid-template-columns: 1fr; }
  .workflow-track { grid-template-columns: repeat(3, 1fr); gap: 34px 12px; }
  .workflow-track::before { display: none; }
  .operations-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .backtest-method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .backtest-results { grid-template-columns: 1fr; }
  .start-steps { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { padding-block: 66px 76px; }
  .hero h1 span { margin-top: 6px; }
  .hero-tags { align-items: flex-start; flex-direction: column; }
  .cockpit-focus { grid-template-columns: 1fr; }
  .focus-orbit { width: 105px; }
  .cockpit-grid { grid-template-columns: 1fr; }
  .cockpit-grid article { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; }
  .cockpit-grid small { margin-top: 0; }
  .cockpit-grid strong { grid-column: 2; }
  .cockpit-foot { align-items: flex-start; flex-direction: column; }
  .indicator-copy, .indicator-flow { grid-template-columns: 1fr; }
  .indicator-card { padding: 21px; }
  .indicator-card li { grid-template-columns: 82px 1fr; }
  .graphic-head { align-items: flex-start; flex-direction: column; }
  .ea-logic-graphic { overflow-x: auto; }
  .ea-logic-graphic svg { width: 700px; max-width: none; }
  .workflow-track { grid-template-columns: 1fr; gap: 0; padding-top: 5px; }
  .workflow-track li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0; }
  .workflow-track li div { padding: 4px 0 28px; }
  .operations-capabilities, .start-steps { grid-template-columns: 1fr; }
  .backtest-method { grid-template-columns: 1fr; }
  .backtest-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .backtest-metrics > div:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .backtest-metrics > div:nth-child(odd) { border-left: 0; }
  .backtest-metrics > div:nth-child(-n + 2) { border-top: 0; }
  .backtest-risk-metric, .backtest-disclaimer { grid-template-columns: 1fr; gap: 12px; }
  .backtest-chart-head { align-items: flex-start; flex-direction: column; }
  .backtest-chart-head > div:last-child { text-align: left; }
  .backtest-chart img { padding: 7px; }
  .operations-capabilities { grid-template-columns: 1fr; }
  .operations-gallery-head, .operations-gallery-foot { align-items: flex-start; flex-direction: column; }
  .operations-screen-grid { padding: 12px; }
  .system-preview-card > figcaption, .monitor-head { align-items: flex-start; flex-direction: column; }
  .monitor-tools { grid-template-columns: 1fr; }
  .monitor-tools button { min-height: 34px; }
  .monitor-summary { grid-template-columns: 1fr; }
  .monitor-summary > div { border-left: 0; border-top: 1px solid #2d4353; }
  .monitor-summary > div:first-child { border-top: 0; }
  .monitor-account-list article { grid-template-columns: 72px minmax(0, 1fr); }
  .monitor-account-list time { grid-column: 2; text-align: left; }
  .preview-nav { overflow-x: auto; }
  .preview-hero { align-items: flex-start; flex-direction: column; }
  .faq-list summary { font-size: 13px; }
}

/* Institutional trading desk theme */
.institutional-theme {
  background:
    linear-gradient(rgba(42, 59, 73, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 59, 73, .06) 1px, transparent 1px),
    radial-gradient(circle at 76% 4%, rgba(223, 177, 84, .09), transparent 28%),
    var(--ink);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.institutional-theme .shell { width: min(1280px, calc(100% - 56px)); }
.institutional-theme .site-header { background: rgba(7, 17, 26, .94); border-color: #243746; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.institutional-theme .header-inner { min-height: 80px; }
.institutional-theme .brand-mark { border-radius: 7px; box-shadow: none; }
.institutional-theme .brand small { color: #8295a2; }
.institutional-theme .main-nav a { color: #9babb5; border-radius: 6px; letter-spacing: .025em; }
.institutional-theme .main-nav a:hover,
.institutional-theme .main-nav a:focus-visible { color: var(--text); background: #122331; }
.institutional-theme .main-nav .nav-cta { color: #161207; background: var(--gold); }

.institutional-theme .hero { min-height: 780px; gap: clamp(48px, 6.5vw, 96px); padding-block: 92px 104px; }
.institutional-theme .hero h1 { max-width: 760px; font-size: clamp(54px, 6.3vw, 86px); }
.institutional-theme .hero h1 span { display: block; margin-top: 11px; }
.institutional-theme .hero-lead { color: #a4b2bb; }
.institutional-theme .button { border-radius: 7px; letter-spacing: .02em; }
.institutional-theme .button.primary { box-shadow: 0 12px 26px rgba(223, 177, 84, .12); }
.institutional-theme .button.secondary { background: #12212c; border-color: #344b5c; }
.institutional-theme .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 8px; border-color: #2d4252; background: #2d4252; }
.institutional-theme .hero-facts div { padding: 17px 15px; background: #0d1a23; }
.institutional-theme .hero-facts dt { color: var(--gold); font-size: 15px; letter-spacing: -.02em; }
.institutional-theme .hero-facts dd { color: #8496a2; letter-spacing: .04em; text-transform: uppercase; }

.institutional-theme .hero-cockpit { padding: 0; background: #0b1720; border: 1px solid #304657; border-radius: 13px; box-shadow: 0 38px 90px rgba(0, 0, 0, .38); }
.institutional-theme .hero-cockpit::before { display: none; }
.institutional-theme .cockpit-head { padding: 19px 21px; background: #0d1b25; border-radius: 12px 12px 0 0; }
.institutional-theme .cockpit-kicker { color: var(--gold); }
.institutional-theme .system-online { color: var(--green); border-color: rgba(53, 201, 143, .34); background: rgba(53, 201, 143, .07); }
.institutional-theme .cockpit-focus { min-height: 252px; grid-template-columns: minmax(0, .9fr) minmax(220px, 1.1fr); gap: 28px; padding: 31px; background: linear-gradient(135deg, #101f2a, #0a151d); }
.institutional-theme .cockpit-focus-copy strong { color: #f6f7f5; font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -.02em; }
.institutional-theme .cockpit-focus-copy p { max-width: 340px; }
.institutional-theme .control-trace { padding: 17px; background: rgba(5, 13, 19, .58); border: 1px solid #2d4353; border-radius: 8px; }
.institutional-theme .control-trace > div:first-child { display: flex; align-items: center; justify-content: space-between; color: #8da0ac; font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.institutional-theme .control-trace b { color: var(--green); }
.institutional-theme .trace-bars { height: 102px; display: flex; align-items: end; gap: 6px; margin: 17px 0 12px; padding: 0 4px 9px; border-bottom: 1px solid #385064; }
.institutional-theme .trace-bars i { flex: 1; height: 24%; background: #35546a; border-top: 2px solid #68a2c2; }
.institutional-theme .trace-bars i:nth-child(2), .institutional-theme .trace-bars i:nth-child(9) { height: 42%; }
.institutional-theme .trace-bars i:nth-child(3), .institutional-theme .trace-bars i:nth-child(8) { height: 58%; }
.institutional-theme .trace-bars i:nth-child(4), .institutional-theme .trace-bars i:nth-child(11) { height: 37%; }
.institutional-theme .trace-bars i:nth-child(5) { height: 72%; border-color: var(--gold); }
.institutional-theme .trace-bars i:nth-child(6), .institutional-theme .trace-bars i:nth-child(10) { height: 63%; }
.institutional-theme .trace-bars i:nth-child(7) { height: 84%; border-color: var(--green); }
.institutional-theme .trace-bars i:nth-child(12) { height: 76%; border-color: var(--gold); }
.institutional-theme .control-trace > small { color: #718692; font: 700 7px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; }
.institutional-theme .cockpit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); background: #2a3b49; }
.institutional-theme .cockpit-grid article { min-height: 126px; padding: 17px 15px; background: #0e1b24; }
.institutional-theme .cockpit-grid small { margin-top: 24px; }
.institutional-theme .cockpit-foot { background: #09141c; border-radius: 0 0 12px 12px; }

.institutional-theme .trust-bar { background: #0a1822; border-color: #263b4a; }
.institutional-theme .trust-grid span { color: #a1b0b9; border-color: #263b4a; }
.institutional-theme .trust-grid b { margin-right: 8px; color: var(--gold); font: 800 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.institutional-theme .section-heading h2 { color: #f4f6f7; }
.institutional-theme .operations-capabilities article,
.institutional-theme .performance-card,
.institutional-theme .start-steps li { border-radius: 10px; border-color: #2b4050; }
.institutional-theme .workflow-section,
.institutional-theme .faq-section { background: #09151e; border-color: #263b4a; }
.institutional-theme .workflow-track li > span { border-radius: 7px; }
.institutional-theme .operations-capabilities article { background: #0e1b24; }
.institutional-theme .activity-account,
.institutional-theme .activity-status,
.institutional-theme .activity-card-head .range-badge { border-radius: 7px; }
.institutional-theme .final-section { background: linear-gradient(145deg, #0c1d28, #07121a); }

@media (max-width: 980px) {
  .institutional-theme .shell { width: min(100% - 40px, 1280px); }
  .institutional-theme .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institutional-theme .cockpit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .institutional-theme .shell { width: min(100% - 28px, 1280px); }
  .institutional-theme .hero { padding-block: 62px 74px; }
  .institutional-theme .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .institutional-theme .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institutional-theme .cockpit-focus { grid-template-columns: 1fr; padding: 23px; }
  .institutional-theme .cockpit-grid { grid-template-columns: 1fr; }
  .institutional-theme .cockpit-grid article { min-height: 100px; }
}

/* Reference-match composition: cinematic hero + evidence scorecards */
.institutional-theme .brand strong > span,
.institutional-theme .hero-brand em { color: var(--gold); font-style: normal; }
.institutional-theme .site-header { position: sticky; top: 0; }
.institutional-theme .header-inner { min-height: 66px; }
.institutional-theme .brand-mark { display: none; }
.institutional-theme .brand strong { font-size: 22px; letter-spacing: -.035em; }
.institutional-theme .brand small { display: none; }
.institutional-theme .main-nav { gap: 11px; }
.institutional-theme .main-nav a { position: relative; padding: 22px 5px 20px; color: #c1cbd1; background: transparent; border-radius: 0; font-size: 13px; line-height: 1.25; }
.institutional-theme .main-nav a.is-active { color: var(--gold); }
.institutional-theme .main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.institutional-theme .main-nav .nav-cta { margin-left: 8px; padding: 12px 16px; border-radius: 6px; color: #171208; background: linear-gradient(135deg, #f0c766, #cf942f); }
.institutional-theme .main-nav .nav-cta::after { display: none; }

.institutional-theme .hero-stage { position: relative; min-height: 600px; overflow: hidden; border-bottom: 1px solid #263b4a; background: #07131d; }
.institutional-theme .hero-stage::before { content: ""; position: absolute; inset: 0; background: url("/landing-investment-office?v=20261031-1") right center / auto 100% no-repeat; }
.institutional-theme .hero-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 13, 20, .98) 0%, rgba(4, 13, 20, .92) 25%, rgba(4, 13, 20, .58) 39%, rgba(4, 13, 20, .18) 57%, rgba(4, 13, 20, .03) 100%); }
.institutional-theme .hero-stage .hero { position: relative; z-index: 1; min-height: 600px; display: flex; align-items: center; padding-block: 58px 62px; }
.institutional-theme .hero-copy { width: min(620px, 50%); }
.institutional-theme .hero-copy > .eyebrow { margin-bottom: 12px; color: #8295a2; letter-spacing: .24em; }
.institutional-theme .hero h1 { max-width: none; line-height: 1; letter-spacing: 0; }
.institutional-theme .hero-brand { display: block; margin: 0; color: #f4f6f7; font-size: clamp(60px, 6.2vw, 100px); font-weight: 850; letter-spacing: -.055em; }
.institutional-theme .hero-subtitle { display: block; margin-top: 8px; color: #f4f6f7; font-size: clamp(23px, 2.2vw, 36px); font-weight: 500; letter-spacing: .16em; }
.institutional-theme .hero-promise { margin: 25px 0 0; color: #d7dde0; font-size: 15px; font-weight: 650; letter-spacing: .02em; }
.institutional-theme .hero-lead { max-width: 530px; margin-top: 4px; color: #9baab4; font-size: 13px; line-height: 1.7; }
.institutional-theme .hero-actions { margin-top: 21px; }
.institutional-theme .hero-actions .button { min-height: 48px; padding-inline: 24px; }
.institutional-theme .hero-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 610px; margin-top: 23px; }
.institutional-theme .hero-principles > span { min-width: 0; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; color: #8799a5; }
.institutional-theme .hero-principles i { color: var(--gold); font: 700 24px/1 Georgia, serif; }
.institutional-theme .hero-principles b { font-size: 8px; font-weight: 650; line-height: 1.45; }

@media (max-width: 1060px) {
  .institutional-theme .main-nav a:not(.nav-cta) { display: none; }
  .institutional-theme .hero-copy { width: min(620px, 62%); }
  .institutional-theme .hero-stage::before { background-position: 44% center; }
}

@media (max-width: 700px) {
  .institutional-theme .header-inner { min-height: 64px; }
  .institutional-theme .brand strong { font-size: 20px; }
  .institutional-theme .main-nav .nav-cta { margin-left: 0; padding: 10px 13px; font-size: 9px; }
  .institutional-theme .hero-stage { min-height: 690px; }
  .institutional-theme .hero-stage::before { background-position: 38% center; opacity: .65; }
  .institutional-theme .hero-stage::after { background: linear-gradient(180deg, rgba(4, 13, 20, .88), rgba(4, 13, 20, .72) 46%, rgba(4, 13, 20, .98)); }
  .institutional-theme .hero-stage .hero { min-height: 690px; align-items: end; padding-block: 90px 50px; }
  .institutional-theme .hero-copy { width: 100%; }
  .institutional-theme .hero-brand { font-size: clamp(52px, 16vw, 74px); }
  .institutional-theme .hero-subtitle { font-size: clamp(18px, 6vw, 28px); letter-spacing: .11em; }
  .institutional-theme .hero-promise { margin-top: 22px; }
  .institutional-theme .hero-actions { display: grid; grid-template-columns: 1fr; }
  .institutional-theme .hero-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
}

/* Theme One full-section system */
.institutional-theme main {
  overflow: clip;
}

.institutional-theme .section {
  position: relative;
  padding-block: 122px;
}

.institutional-theme .section-heading,
.institutional-theme .faq-intro {
  position: relative;
}

.institutional-theme .section-heading {
  gap: clamp(42px, 7vw, 96px);
  padding-top: 30px;
  border-top: 1px solid #2b4050;
}

.institutional-theme .section-heading::before,
.institutional-theme .faq-intro::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(223, 177, 84, .08));
}

.institutional-theme .section-heading::after {
  content: "ONEDOLLAR / INVESTMENT OPERATIONS";
  position: absolute;
  top: 8px;
  right: 0;
  color: #536b7b;
  font: 750 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .13em;
}

.institutional-theme .section-heading h2,
.institutional-theme .faq-intro h2 {
  letter-spacing: -.035em;
}

.institutional-theme .section-heading > p,
.institutional-theme .backtest-intro p,
.institutional-theme .activity-intro p,
.institutional-theme .faq-intro > p:last-child {
  color: #94a5b0;
  line-height: 1.82;
}

.institutional-theme .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font: 850 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .15em;
}

.institutional-theme .eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(223, 177, 84, .08);
}

/* EA indicator model */
.institutional-theme #overview {
  padding-top: 88px;
}

.institutional-theme .indicator-card,
.institutional-theme .ea-logic-graphic,
.institutional-theme .indicator-flow {
  box-shadow: 0 18px 52px rgba(0, 0, 0, .16);
}

.institutional-theme .ema-card {
  background: linear-gradient(145deg, rgba(223, 177, 84, .07), transparent 52%), #0d1c26;
}

.institutional-theme .macd-card {
  background: linear-gradient(145deg, rgba(53, 201, 143, .06), transparent 52%), #0d1c26;
}

/* Operating workflow */
.institutional-theme .workflow-section {
  background:
    linear-gradient(90deg, rgba(42, 64, 80, .08) 1px, transparent 1px),
    #08151e;
  background-size: 96px 100%, auto;
}

.institutional-theme .workflow-track {
  margin-top: 12px;
  padding: 38px 22px 30px;
  background: rgba(10, 27, 38, .72);
  border: 1px solid #2a4050;
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .17);
}

.institutional-theme .workflow-track::before {
  left: 7%;
  right: 7%;
  top: 59px;
  background: linear-gradient(90deg, var(--gold) 0 72%, var(--green));
}

.institutional-theme .workflow-track li {
  padding-inline: 12px;
}

.institutional-theme .workflow-track li > span {
  width: 43px;
  height: 43px;
  border: 6px solid #0a1b26;
  box-shadow: 0 0 0 1px rgba(223, 177, 84, .5), 0 0 24px rgba(223, 177, 84, .1);
}

.institutional-theme .workflow-track li div {
  padding-top: 27px;
}

/* Operations dashboard and account monitor */
.institutional-theme .operations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(65, 91, 108, .045) 1px, transparent 1px),
    radial-gradient(circle at 82% 55%, rgba(45, 82, 105, .18), transparent 32%);
  background-size: 100% 56px, auto;
}

.institutional-theme .operations-section > .shell {
  position: relative;
}

.institutional-theme .operations-capabilities article {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .14);
}

.institutional-theme .operations-capabilities article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(77, 105, 123, .2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 22px rgba(77, 105, 123, .025);
}

/* Historical research terminal */
.institutional-theme .backtest-section {
  background:
    linear-gradient(rgba(42, 64, 80, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 64, 80, .055) 1px, transparent 1px),
    radial-gradient(circle at 80% 15%, rgba(223, 177, 84, .07), transparent 25%),
    #07131c;
  background-size: 72px 72px, 72px 72px, auto, auto;
  border-color: #2a4050;
}

.institutional-theme .backtest-method,
.institutional-theme .backtest-story,
.institutional-theme .backtest-scorecard,
.institutional-theme .backtest-chart {
  border-color: #2d4556;
  border-radius: 9px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.institutional-theme .backtest-method > div,
.institutional-theme .backtest-story,
.institutional-theme .backtest-scorecard,
.institutional-theme .backtest-chart {
  background: #0b1a24;
}

.institutional-theme .backtest-method > div {
  position: relative;
  padding-top: 24px;
}

.institutional-theme .backtest-method > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 2px;
  background: var(--gold);
}

.institutional-theme .backtest-scorecard-head,
.institutional-theme .backtest-chart-head,
.institutional-theme .activity-card-head {
  background: linear-gradient(90deg, #0f2230, #0a1822);
}

.institutional-theme .backtest-metrics > div,
.institutional-theme .performance-summary > div,
.institutional-theme .performance-quality > div,
.institutional-theme .chart-summary > div {
  background: rgba(8, 21, 29, .68);
  border-color: #263c4b;
}

.institutional-theme .backtest-risk-metric {
  background: linear-gradient(90deg, rgba(240, 111, 111, .12), rgba(240, 111, 111, .035));
}

.institutional-theme .backtest-chart img {
  padding: 22px;
  background: #f2f0e9;
}

/* Cached performance and order ledger */
.institutional-theme .activity-section {
  padding-top: 126px;
  background: linear-gradient(180deg, rgba(9, 25, 35, .75), transparent 22%);
}

.institutional-theme .activity-account {
  border-color: #2d4556;
  background: #2d4556;
  box-shadow: 0 16px 46px rgba(0, 0, 0, .14);
}

.institutional-theme .activity-account > div,
.institutional-theme .public-set-card,
.institutional-theme .public-order-row > div {
  background: #0b1a24;
}

.institutional-theme .activity-account > div:first-child {
  border-left: 3px solid var(--gold);
}

.institutional-theme .activity-status {
  color: #9dafba;
  background: #091720;
  border-color: #2b4252;
}

.institutional-theme .performance-card {
  background: #0a1822;
  border-color: #2d4556;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .19);
}

.institutional-theme .performance-chart,
.institutional-theme .chart-axis {
  background-color: #08151e;
}

.institutional-theme .daily-area-svg .area-line { stroke: #e0ad44; }
.institutional-theme .daily-area-svg .area-fill.profit { fill: rgba(53, 201, 143, .2); }
.institutional-theme .daily-area-svg .area-fill.loss { fill: rgba(240, 111, 111, .17); }

.institutional-theme .public-set-card {
  border-top: 2px solid rgba(223, 177, 84, .38);
}

.institutional-theme .public-order-row > div:first-child {
  border-left: 2px solid rgba(53, 201, 143, .32);
}

/* Embedded real-structure UI examples */
.institutional-theme .dashboard-preview {
  position: relative;
  background: #081620;
  border-color: #385365;
  border-radius: 0;
}

.institutional-theme .preview-head,
.institutional-theme .preview-hero {
  background: linear-gradient(90deg, #102532, #0a1822);
}

.institutional-theme .preview-nav i.active {
  color: var(--gold);
  background: transparent;
  box-shadow: inset 0 -2px var(--gold);
}

.institutional-theme .preview-table span {
  background: #0a1922;
}

/* Onboarding sequence */
.institutional-theme .start-steps {
  position: relative;
  gap: 0;
  overflow: hidden;
  background: #2d4353;
  border: 1px solid #2d4353;
  border-radius: 10px;
}

.institutional-theme .start-steps li {
  position: relative;
  min-height: 300px;
  padding: 28px;
  background: linear-gradient(145deg, #0f202b, #091720);
  border: 0;
  border-left: 1px solid #2d4353;
  border-radius: 0;
}

.institutional-theme .start-steps li:first-child {
  border-left: 0;
}

.institutional-theme .start-steps li::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(223, 177, 84, .08));
}

.institutional-theme .start-steps li:last-child::after {
  background: linear-gradient(90deg, var(--green), rgba(53, 201, 143, .08));
}

.institutional-theme .start-steps li > span {
  color: rgba(223, 177, 84, .2);
  font-size: 68px;
}

.institutional-theme .start-steps li > div {
  padding-bottom: 27px;
}

/* Questions and risk */
.institutional-theme .faq-section {
  background:
    linear-gradient(90deg, rgba(43, 66, 82, .07) 1px, transparent 1px),
    #08151e;
  background-size: 80px 100%, auto;
}

.institutional-theme .faq-intro {
  padding-top: 30px;
  border-top: 1px solid #2b4050;
}

.institutional-theme .faq-list {
  overflow: hidden;
  background: rgba(10, 27, 38, .72);
  border: 1px solid #2d4353;
  border-radius: 9px;
}

.institutional-theme .faq-list details {
  border-color: #293f4e;
}

.institutional-theme .faq-list details:last-child {
  border-bottom: 0;
}

.institutional-theme .faq-list summary {
  padding: 22px 24px;
}

.institutional-theme .faq-list details[open] summary {
  color: #f4f6f7;
  background: #0f2230;
}

.institutional-theme .faq-list details p {
  margin: 0;
  padding: 0 64px 24px 24px;
  background: #0f2230;
}

.institutional-theme .site-footer {
  background: #050f16;
  border-color: #263a48;
}

.institutional-theme .footer-inner {
  min-height: 108px;
  color: #718693;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.institutional-theme :where(a, button, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .institutional-theme .section {
    padding-block: 96px;
  }

  .institutional-theme .section-heading::after {
    display: none;
  }

  .institutional-theme .workflow-track {
    padding: 30px 22px 8px;
  }

  .institutional-theme .start-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .institutional-theme .start-steps li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #2d4353;
  }

  .institutional-theme .start-steps li:nth-child(4) {
    border-top: 1px solid #2d4353;
  }

}

@media (max-width: 700px) {
  .institutional-theme .section {
    padding-block: 76px;
  }

  .institutional-theme #overview,
  .institutional-theme .activity-section {
    padding-top: 84px;
  }

  .institutional-theme .section-heading,
  .institutional-theme .faq-intro {
    padding-top: 24px;
  }

  .institutional-theme .workflow-track {
    padding: 26px 20px 4px;
  }

  .institutional-theme .workflow-track li {
    padding-inline: 0;
  }

  .institutional-theme .backtest-chart img {
    padding: 8px;
  }

  .institutional-theme .dashboard-preview {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32), 0 0 0 4px rgba(25, 48, 63, .16);
  }

  .institutional-theme .start-steps {
    grid-template-columns: 1fr;
  }

  .institutional-theme .start-steps li:nth-child(n) {
    min-height: 250px;
    border-left: 0;
    border-top: 1px solid #2d4353;
  }

  .institutional-theme .start-steps li:first-child {
    border-top: 0;
  }

  .institutional-theme .faq-list summary {
    padding: 19px;
  }

  .institutional-theme .faq-list details p {
    padding: 0 48px 20px 19px;
  }

}

/* Public reading hierarchy */
.institutional-theme main :where(p, li, figcaption) { text-wrap: pretty; }
.institutional-theme main :where(h1, h2, h3) { text-wrap: balance; }
.institutional-theme .section-heading > p,
.institutional-theme .backtest-intro p,
.institutional-theme .activity-intro p,
.institutional-theme .faq-intro > p:last-child {
  max-width: 64ch;
  color: #a9b7bf;
  font-size: 14px;
  line-height: 1.9;
}
.institutional-theme .indicator-card p,
.institutional-theme .workflow-track p,
.institutional-theme .operations-capabilities p,
.institutional-theme .backtest-story p,
.institutional-theme .backtest-risk-metric p,
.institutional-theme .public-order-note,
.institutional-theme .start-steps p,
.institutional-theme .faq-list details p {
  color: #9eafb9;
  font-size: 11px;
  line-height: 1.8;
}
.institutional-theme .indicator-card h3,
.institutional-theme .workflow-track h3,
.institutional-theme .operations-capabilities h3,
.institutional-theme .backtest-story h3,
.institutional-theme .start-steps h3 {
  color: #f1f4f5;
  line-height: 1.35;
}
.institutional-theme .backtest-chart figcaption,
.institutional-theme .backtest-disclaimer p {
  color: #a8b6be;
  font-size: 10px;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .institutional-theme .preview-head { align-items: flex-start; }
  .institutional-theme .preview-session { max-width: 120px; justify-content: flex-end; text-align: right; }
  .institutional-theme .preview-context { align-items: stretch; flex-direction: column; }
  .institutional-theme .preview-api { justify-content: flex-start; }
  .institutional-theme .section-heading > p,
  .institutional-theme .backtest-intro p,
  .institutional-theme .activity-intro p,
  .institutional-theme .faq-intro > p:last-child { font-size: 13px; line-height: 1.85; }
}

@media (max-width: 1280px) {
  .institutional-theme .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-block: 10px;
  }
  .institutional-theme .main-nav {
    order: 2;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 7px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }
  .institutional-theme .main-nav a,
  .institutional-theme .main-nav a:not(.nav-cta) {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid #2d4353;
    border-radius: 6px;
    background: #0c1b25;
    font-size: 12px;
  }
  .institutional-theme .main-nav a.is-active {
    color: var(--gold);
    border-color: #6d592f;
    background: rgba(223, 177, 84, .07);
  }
  .institutional-theme .main-nav a.is-active::after { display: none; }
  .institutional-theme .main-nav .nav-cta {
    margin-left: 0;
    color: #171208;
    border-color: transparent;
    background: linear-gradient(135deg, #f0c766, #cf942f);
    font-size: 12px;
  }
}
