:root {
  --yellow: #f5c400;
  --yellow-soft: rgba(245, 196, 0, 0.16);
  --black: #0b0b0b;
  --ink: #151515;
  --muted: #5f5f5c;
  --line: #e7e7e4;
  --paper: #fbfbfa;
  --fog: #f1f1ee;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --on-dark: #f3f3f0;
  --muted-dark: #9a9a94;
  --content: 1240px;
  --title: 860px;
  --visual: 1580px;
  --nav: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.is-up {
  color: #1a9a5a;
}

.is-down {
  color: #c4554a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: var(--yellow);
  color: #111;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  background: #ffd133;
}

.btn--ghost {
  background: transparent;
  border: 1px solid #111;
  color: #111;
}

.btn--ghost:hover {
  background: rgba(17, 17, 17, 0.06);
}

.text-link {
  font-size: 14px;
  color: var(--muted);
  margin-left: 22px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: #9a8a20;
}

.section {
  padding: 132px 0 140px;
  overflow: hidden;
  scroll-margin-top: 64px;
}

.section--white {
  background: #fff;
}

.section--fog {
  background: var(--fog);
}

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section__intro {
  width: min(var(--title), calc(100% - 48px));
  margin: 0 auto 72px;
  text-align: center;
}

.section__intro h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section__intro p,
.lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
}

.section__intro--dark p {
  color: var(--muted-dark);
}

.what-intro {
  width: min(800px, calc(100% - 48px));
  margin-bottom: 56px;
}

.what-intro p {
  max-width: none;
  margin: 0 0 18px;
  font-size: 16px;
  text-align: left;
}

.what-intro p:last-child {
  margin-bottom: 0;
}

.what-note {
  width: min(760px, calc(100% - 48px));
  margin: 48px auto 0;
}

.what-note span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9a8a20;
}

.what-note p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.visual-wide {
  width: min(var(--visual), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav);
  background: transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: blur(16px);
}

.nav__inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__logo img,
.footer__logo {
  display: block;
  height: 26px;
  width: auto;
}

.footer__logo {
  height: 28px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: #3a3a38;
}

.nav__links a {
  opacity: 0.86;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__login {
  font-size: 13.5px;
  color: #3a3a38;
}

.nav__lang {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #3a3a38;
  opacity: 0.72;
}

.nav__lang:hover {
  opacity: 1;
}

.nav__cta {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.nav__menu {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav__menu span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: #111;
}

.mobile-only {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #141210;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 246, 236, 0.84) 0%,
    rgba(255, 246, 236, 0.5) 20%,
    rgba(255, 246, 236, 0.16) 38%,
    transparent 52%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav) + 152px) 0 80px;
}

.hero__copy {
  width: min(460px, 100%);
  margin: 0 0 0 -160px;
  text-align: left;
}

.hero .eyebrow {
  color: #8d6d12;
  letter-spacing: 0.32em;
  text-shadow: 0 1px 10px rgba(255, 246, 236, 0.9);
}

.hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: #111;
  text-shadow: 0 1px 0 rgba(255, 250, 242, 0.7), 0 0 22px rgba(255, 246, 236, 0.95);
}

.hero .lead {
  margin: 0;
  max-width: 400px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #2a2a28;
  text-align: left;
  text-shadow: 0 1px 12px rgba(255, 248, 240, 0.95);
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.hero .text-link {
  margin-left: 18px;
  color: #333330;
  text-shadow: 0 1px 10px rgba(255, 248, 240, 0.9);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(460px, 100%);
  margin-left: -160px;
}

.hero__stat {
  padding: 0 20px;
  border-left: 1px solid rgba(20, 16, 12, 0.14);
}

.hero__stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stat small {
  display: block;
  font-size: 12px;
  color: #3d3d3a;
  text-shadow: 0 1px 10px rgba(255, 248, 240, 0.9);
}

.hero__stat b {
  display: block;
  margin: 6px 0 4px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #111;
  text-shadow: 0 1px 0 rgba(255, 250, 242, 0.65), 0 0 18px rgba(255, 246, 236, 0.9);
}

.hero__stat span {
  font-size: 13px;
  color: #3d3d3a;
  text-shadow: 0 1px 10px rgba(255, 248, 240, 0.9);
}

.hero__visual {
  display: none;
}

.hero .terminal {
  width: 78%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero .phone {
  position: absolute;
  right: 4%;
  bottom: 78px;
  z-index: 2;
}

.float-chip {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

.float-chip span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #9a8a20;
}

.float-chip strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin: 2px 0 4px;
}

.float-chip b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.float-chip em {
  font-style: normal;
  font-size: 13px;
}

.hero__legend {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 28px;
  padding-bottom: 48px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #8a8a86;
}

/* Terminal */
.terminal {
  background: #111;
  color: #ecece8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
}

.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  background: #171717;
  border-bottom: 1px solid #242424;
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c2c2c;
}

.terminal__dots span:first-child {
  background: #3a3a3a;
}

.terminal__title {
  font-size: 12px;
  color: #8d8d88;
}

.terminal__tabs {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #666;
}

.terminal__body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 430px;
}

.terminal--mt5 .terminal__body,
.terminal--connect .terminal__body {
  grid-template-columns: 200px 1fr 200px;
}

.terminal__watch,
.terminal__side {
  border-right: 1px solid #222;
  padding: 14px 12px;
  background: #101010;
}

.terminal__side {
  border-right: 0;
  border-left: 1px solid #222;
}

.terminal__pane-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #6d6d68;
  margin-bottom: 10px;
}

.terminal__watch ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terminal__watch li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  font-size: 11.5px;
  padding: 8px 8px;
  border-radius: 6px;
}

.terminal__watch li.is-active {
  background: #1b1b1b;
  outline: 1px solid rgba(245, 196, 0, 0.28);
}

.terminal__chart {
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
}

.terminal__chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.terminal__chart-head strong {
  font-size: 15px;
}

.terminal__chart-head em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #777;
}

.terminal__quote b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.terminal__quote span {
  font-size: 12px;
}

.terminal__svg {
  width: 100%;
  height: 250px;
  color: #242424;
}

.terminal__footer {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #6a6a66;
  padding: 10px 4px 14px;
}

.terminal__footer .is-on {
  color: var(--yellow);
}

.terminal__ticket {
  padding: 8px 4px;
}

.terminal__ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  color: #8a8a86;
}

.terminal__ticket-row b {
  color: #eee;
  font-weight: 500;
}

.terminal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.terminal__actions div {
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: 6px;
}

.sell {
  background: #2a1b1b;
  color: #d36a62;
}

.buy {
  background: #17261d;
  color: #3db876;
}

/* Phone */
.phone {
  width: 168px;
  height: 320px;
  background: #121212;
  border-radius: 28px;
  border: 3px solid #2a2a2a;
  padding: 22px 14px 16px;
  color: #eee;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.phone__notch {
  width: 54px;
  height: 6px;
  border-radius: 99px;
  background: #2b2b2b;
  margin: 0 auto 18px;
}

.phone__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #888;
}

.phone__price {
  font-size: 22px;
  margin: 6px 0 2px;
  letter-spacing: -0.04em;
}

.phone__chg {
  font-size: 12px;
}

.phone__chart {
  margin: 18px 0 20px;
}

.phone__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone__btns span {
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 10px;
  border-radius: 6px;
  background: #1c1c1c;
}

.phone__btns span:last-child {
  background: var(--yellow);
  color: #111;
}

/* Ecosystem */
.ecosystem {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 8px;
}

.eco-grid {
  position: absolute;
  inset: -40px 0 -20px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
}

.eco-center {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
}

.ecosystem.is-shown .eco-center {
  animation: rise 0.8s var(--ease) forwards;
}

.eco-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 8px var(--yellow-soft);
}

.eco-center strong {
  display: block;
  margin-top: 12px;
  letter-spacing: 0.28em;
  font-size: 22px;
}

.eco-stem,
.eco-bar {
  position: relative;
  z-index: 2;
  background: #d8d8d3;
  opacity: 0;
}

.eco-stem {
  width: 1px;
  height: 56px;
}

.eco-bar {
  width: min(780px, 86%);
  height: 1px;
  display: flex;
  justify-content: space-between;
}

.eco-bar i {
  width: 1px;
  height: 48px;
  background: #d8d8d3;
  display: block;
}

.ecosystem.is-shown .eco-stem,
.ecosystem.is-shown .eco-bar {
  animation: rise 0.7s 0.28s var(--ease) forwards;
}

.eco-cols {
  position: relative;
  z-index: 2;
  width: min(780px, 86%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
  text-align: center;
}

.eco-col {
  opacity: 0;
  transform: translateY(18px);
}

.ecosystem.is-shown .eco-col--a {
  animation: rise 0.8s 0.7s var(--ease) forwards;
}
.ecosystem.is-shown .eco-col--p {
  animation: rise 0.8s 0.85s var(--ease) forwards;
}
.ecosystem.is-shown .eco-col--m {
  animation: rise 0.8s 1s var(--ease) forwards;
}

.eco-col h3 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #9a8a20;
}

.eco-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

/* Platforms */
.platforms-intro {
  width: min(800px, calc(100% - 48px));
}

.platforms-intro p {
  max-width: none;
}

.platform-head {
  text-align: center;
  margin-bottom: 28px;
}

.platform-kicker {
  letter-spacing: 0.22em;
  font-size: 13px;
  color: #8a8a20;
}

.platform-head__title {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.platform-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.platform-visual {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

.platform-visual.is-shown {
  animation: riseScale 1s var(--ease) forwards;
}

.platform-stage {
  position: relative;
}

.platform-phone {
  position: absolute;
  right: 6%;
  bottom: 40px;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-top: 56px;
  text-align: center;
}

.platform-list a {
  color: inherit;
}

.platform-list a:hover h3 {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.platform-list h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.platform-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #3a3a38;
}

.platform-list span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8a8a86;
}

.platform-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Markets */
.markets {
  padding-bottom: 80px;
}

.market-stage {
  width: min(1680px, 100%);
  margin: 0 auto;
}

.market-hero-copy {
  text-align: center;
}

.market-kicker {
  letter-spacing: 0.32em;
  font-size: 14px;
  color: var(--yellow);
}

.market-symbol {
  font-size: clamp(64px, 12vw, 148px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 8px 0 6px;
}

.market-price {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.market-chg {
  margin-top: 6px;
  font-size: 18px;
}

.market-line {
  width: 100%;
  height: 280px;
  margin: 12px 0 8px;
}

.market-line__path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
}

.market-stage.is-shown .market-line__path {
  animation: draw 1.8s 0.2s var(--ease) forwards;
}

.market-strip {
  width: min(var(--content), calc(100% - 48px));
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
}

.market-stage.is-shown .market-strip {
  animation: rise 0.8s 0.9s var(--ease) forwards;
}

.market-strip div {
  text-align: center;
}

.market-strip b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.market-strip span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8a8a88;
}

/* Accounts */
.account-split {
  width: min(var(--visual), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: start;
}

.account-col {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.account-split.is-shown .account-col:first-child {
  animation: rise 0.8s var(--ease) forwards;
}

.account-split.is-shown .account-col:last-child {
  animation: rise 0.8s 0.12s var(--ease) forwards;
}

.account-giant {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.05em;
  font-weight: 650;
  margin-bottom: 28px;
}

.account-col ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 18px;
  line-height: 2;
  color: #444;
}

.account-col p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.account-rule {
  width: 1px;
  background: var(--line);
  min-height: 280px;
}

.account-meta {
  width: min(var(--content), calc(100% - 48px));
  margin: 72px auto 0;
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #8a8a86;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  opacity: 0;
}

.account-meta.is-shown {
  animation: rise 0.8s 0.25s var(--ease) forwards;
}

/* Conditions */
.cond-stack {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.cond-item {
  opacity: 0;
  transform: translateY(28px);
}

.cond-stack.is-shown .cond-item:nth-child(1) {
  animation: rise 0.8s var(--ease) forwards;
}
.cond-stack.is-shown .cond-item:nth-child(2) {
  animation: rise 0.8s 0.18s var(--ease) forwards;
  text-align: center;
}
.cond-stack.is-shown .cond-item:nth-child(3) {
  animation: rise 0.8s 0.36s var(--ease) forwards;
  text-align: left;
  padding-left: 18%;
}
.cond-stack.is-shown .cond-item:nth-child(4) {
  animation: rise 0.8s 0.54s var(--ease) forwards;
  text-align: right;
  padding-right: 4%;
}

.cond-en {
  font-size: clamp(48px, 10vw, 112px);
  letter-spacing: -0.055em;
  font-weight: 650;
  line-height: 0.92;
  color: #f2f2ee;
}

.cond-zh {
  margin: 8px 0 36px;
  color: var(--yellow);
  letter-spacing: 0.16em;
  font-size: 14px;
}

.cond-note {
  width: min(var(--title), calc(100% - 48px));
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted-dark);
  font-size: 15px;
  opacity: 0;
}

.cond-note.is-shown {
  animation: rise 0.8s 0.8s var(--ease) forwards;
}

/* MT5 flow */
.mt5-flow {
  width: min(420px, calc(100% - 48px));
  margin: 0 auto 48px;
  text-align: center;
}

.mt5-node {
  opacity: 0;
}

.mt5-flow.is-shown .mt5-node:first-child {
  animation: rise 0.7s var(--ease) forwards;
}

.mt5-flow.is-shown .mt5-node--term {
  animation: rise 0.7s 0.35s var(--ease) forwards;
}

.mt5-node strong {
  display: block;
  letter-spacing: 0.22em;
  font-size: 18px;
}

.mt5-node span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.18em;
}

.mt5-pipe {
  height: 88px;
  position: relative;
  opacity: 0;
}

.mt5-flow.is-shown .mt5-pipe {
  animation: rise 0.6s 0.18s var(--ease) forwards;
}

.mt5-pipe::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #ddd;
}

.mt5-pipe span {
  position: relative;
  top: 32px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #9a8a20;
  background: #fff;
  padding: 0 10px;
}

.mt5-ui {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
}

.mt5-ui.is-shown {
  animation: riseScale 1s 0.25s var(--ease) forwards;
}

.mt5-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #8a8a86;
}

/* Tools */
.workbench {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
  opacity: 0;
  transform: translateY(28px);
}

.workbench.is-shown {
  animation: rise 0.9s var(--ease) forwards;
}

.calc,
.calendar {
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: 18px;
}

.calc {
  padding: 32px 36px 28px;
}

.calc__title,
.calendar__title {
  letter-spacing: 0.2em;
  font-size: 12px;
  color: #9a8a20;
  margin-bottom: 24px;
}

.calc__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid #f1f1ee;
}

.calc__row span {
  color: #777;
}

.calc hr {
  border: 0;
  border-top: 1px solid #ecece8;
  margin: 10px 0 6px;
}

.calendar {
  padding: 28px 24px;
  margin-top: 48px;
}

.calendar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calendar li {
  display: grid;
  grid-template-columns: 54px 40px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0ec;
  font-size: 13px;
}

.calendar time {
  color: #888;
}

.calendar em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.is-high {
  color: #c4554a;
}

.is-mid {
  color: #9a8a20;
}

.tools-legend {
  text-align: center;
  margin-top: 36px;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: #8a8a86;
}

/* Legal */
.legal-chain {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.legal-name {
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.16em;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
}

.legal-chain.is-shown .legal-step:nth-child(1) .legal-name {
  animation: rise 0.6s var(--ease) forwards;
}
.legal-chain.is-shown .legal-step:nth-child(2) .legal-name {
  animation: rise 0.6s 0.15s var(--ease) forwards;
}
.legal-chain.is-shown .legal-step:nth-child(3) .legal-name {
  animation: rise 0.6s 0.3s var(--ease) forwards;
}
.legal-chain.is-shown .legal-step:nth-child(4) .legal-name {
  animation: rise 0.6s 0.45s var(--ease) forwards;
}

.legal-arrow {
  width: 1px;
  height: 48px;
  margin: 8px auto;
  background: #ddd;
}

.legal-note {
  text-align: center;
  color: var(--muted);
  margin: 40px auto 0;
  max-width: 520px;
  font-size: 15px;
}

/* FAQ */
.faq {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e4e4e0;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  cursor: pointer;
}

.faq-item i {
  font-style: normal;
  color: #9a8a20;
  font-size: 22px;
  font-weight: 400;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  overflow: hidden;
  margin: 0 0 26px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15.5px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #d8d8d4;
  padding: 72px 0 40px;
}

.footer__top {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 0.8fr 1.8fr;
  gap: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8a8a86;
  font-weight: 500;
}

.footer__cols a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  color: #c8c8c4;
}

.footer__legal {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid #222;
}

.footer__legal p {
  font-size: 12.5px;
  line-height: 1.75;
  color: #8d8d88;
  max-width: 920px;
}

.footer__legal a {
  color: var(--yellow);
}

.footer__links {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  font-size: 12px;
  color: #7a7a76;
}

/* Motion */
.fade-in,
.fade-up {
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
}

.fade-up {
  transform: translateY(40px) scale(0.97);
}

.d1 {
  animation-delay: 0.05s;
}
.d2 {
  animation-delay: 0.18s;
}
.d3 {
  animation-delay: 0.32s;
}
.d4 {
  animation-delay: 0.46s;
}
.d5 {
  animation-delay: 0.62s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes riseScale {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-in,
  .fade-up,
  .eco-center,
  .eco-col,
  .platform-visual,
  .mt5-ui,
  .workbench {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: #fbfbfa;
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .nav__links.is-open,
  .nav__links.is-open .mobile-only {
    display: flex;
  }

  .nav__menu {
    display: block;
  }

  .nav__login:not(.mobile-only) {
    display: none;
  }

  .hero__bg {
    object-position: 72% center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 248, 240, 0.88) 0%,
      rgba(255, 248, 240, 0.55) 32%,
      rgba(255, 248, 240, 0.12) 58%,
      transparent 74%
    );
  }

  .hero__inner {
    padding: calc(var(--nav) + 28px) 0 32px;
  }

  .hero__copy,
  .hero__stats {
    width: 100%;
    margin-left: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__stat b {
    font-size: 26px;
  }

  .terminal__body,
  .terminal--mt5 .terminal__body,
  .terminal--connect .terminal__body {
    grid-template-columns: 1fr;
  }

  .terminal__watch,
  .terminal__side {
    display: none;
  }

  .eco-cols {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 28px;
  }

  .eco-bar,
  .eco-stem {
    display: none;
  }

  .eco-col:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    margin: 16px auto 0;
    background: #ddd;
  }

  .platform-phone {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .platform-list {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .market-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .account-split {
    grid-template-columns: 1fr;
  }

  .account-rule {
    width: 48px;
    height: 1px;
    min-height: 0;
    margin: 8px auto;
  }

  .account-meta {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .cond-stack.is-shown .cond-item:nth-child(n) {
    text-align: left;
    padding: 0;
  }

  .workbench {
    grid-template-columns: 1fr;
  }

  .calendar {
    margin-top: 0;
  }

  .footer__top,
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .footer__top,
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

/* Inner pages */
.nav.is-page {
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(16px);
}

.page-hero {
  padding: calc(var(--nav) + 72px) 0 64px;
  background: #fff;
}

.page-hero .section__intro {
  margin-bottom: 0;
}

.page-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.legal {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 96px;
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.legal ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
}

.dl-list {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.group-kicker {
  text-align: center;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #9a8a20;
}

.dl-copy {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 48px;
  text-align: left;
}

.dl-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 650;
  letter-spacing: -0.04em;
  text-align: center;
}

.dl-tag {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #9a8a20;
}

.dl-sub {
  margin: 0 0 22px !important;
  text-align: center;
  font-size: 16px;
  color: var(--ink);
}

.dl-copy p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.dl-copy .btn {
  display: inline-flex;
  margin-top: 8px;
}

.dl-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.web-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 16px;
  background: #171717;
  border-bottom: 1px solid #242424;
}

.web-url {
  flex: 1;
  height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  background: #101010;
  color: #8d8d88;
  font-size: 12px;
  line-height: 28px;
}

.terminal--web .terminal__body {
  min-height: 480px;
}

.visual-mid {
  width: min(1280px, calc(100% - 48px));
}

.visual-mid .terminal__body {
  min-height: 340px;
}

.visual-mid .terminal__svg {
  height: 180px;
}

.trade-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  width: min(var(--visual), calc(100% - 32px));
  margin: 0 auto;
}

.phone--lg {
  width: 240px;
  height: 500px;
  padding: 24px 16px 16px;
}

.phone--lg .phone__price {
  font-size: 28px;
}

.phone--lg .phone__chart {
  margin: 28px 0 24px;
}

.phone__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 18px;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #888;
  text-align: center;
}

.phone__nav .is-on {
  color: var(--yellow);
}

.trade-labels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #8a8a86;
}

.cmp {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  overflow-x: auto;
}

.cmp table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cmp th,
.cmp td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #ecece8;
  vertical-align: top;
}

.cmp thead th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8a8a86;
}

.cmp tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.cmp td {
  color: var(--muted);
}

.dl-note {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.dl-note p + p {
  margin-top: 14px;
}

.error-page {
  min-height: calc(100vh - 220px);
}

.error-page .error-code {
  margin: 0 0 8px;
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--yellow);
}

.error-page .error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .trade-stage {
    flex-direction: column;
    gap: 24px;
  }

  .cmp th,
  .cmp td {
    font-size: 13px;
    padding: 12px 8px;
  }
}
