/* MetaTrader 4 根域名站点：深色机构风，无框架 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #081526;
  color: #e8eef6;
  font: 17px/1.85 "Microsoft YaHei", "PingFang SC", sans-serif;
}

img,
svg {
  vertical-align: middle;
}

a {
  color: #d4b45a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
.site-header__brand {
  font-family: "Palatino Linotype", "Songti SC", "SimSun", serif;
  font-weight: 600;
  line-height: 1.35;
  color: #e8eef6;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.7em;
}

h2 {
  font-size: 1.45rem;
  margin: 0 0 0.75em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 64px;
  background: #081526;
  border-bottom: 1px solid #2a4568;
}

.site-header__bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  font-size: 1.15rem;
  color: #e8eef6;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand:hover {
  color: #d4b45a;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #b7c4d6;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #e8eef6;
}

.site-nav a.is-current {
  color: #d4b45a;
  border-bottom-color: #d4b45a;
}

.page {
  padding: 88px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 42px;
}

.hero__panel,
.hero__aside,
.card,
.feat-grid article,
.tri-grid article,
.dl-band,
.risk-box,
.news-list,
.faq-item,
.step-list li,
.req-box,
.cta-band {
  background: #10243f;
  border: 1px solid #2a4568;
  border-radius: 6px;
}

.hero__panel {
  padding: 32px 34px 28px;
}

.hero__lede {
  color: #b7c4d6;
  margin-bottom: 1.15em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  background: #d4b45a;
  color: #1a1406;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: #d4b45a;
  border: 1px solid #d4b45a;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero__aside {
  padding: 22px 22px 18px;
}

.hero__aside h3,
.aside-kicker {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: #d4b45a;
  font-family: "Palatino Linotype", "Songti SC", "SimSun", serif;
}

.dl-stack {
  display: grid;
  gap: 10px;
}

.dl-stack a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #081526;
  border: 1px solid #2a4568;
  border-radius: 6px;
  color: #e8eef6;
  text-decoration: none;
}

.dl-stack a:hover {
  border-color: #d4b45a;
  color: #d4b45a;
}

.dl-stack svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #d4b45a;
}

.aside-note {
  margin: 12px 0 0;
  color: #b7c4d6;
  font-size: 0.92rem;
}

.section {
  margin: 0 0 36px;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feat-grid article,
.tri-grid article {
  padding: 20px 20px 12px;
}

.feat-grid h3,
.tri-grid h3 {
  margin: 0 0 0.5em;
  font-size: 1.08rem;
  color: #d4b45a;
}

.muted {
  color: #b7c4d6;
}

.dl-band {
  padding: 26px 28px 16px;
}

.dl-band .hero__actions {
  margin-bottom: 10px;
}

.tri-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #10243f;
  border: 1px solid #2a4568;
  border-radius: 6px;
  overflow: hidden;
}

.cmp-table th,
.cmp-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #2a4568;
  text-align: left;
  vertical-align: top;
}

.cmp-table th {
  background: #0c1c33;
  color: #d4b45a;
  font-weight: 600;
}

.cmp-table tr:last-child td {
  border-bottom: 0;
}

.risk-box {
  padding: 22px 24px 10px;
  background: #3a1c1c;
  border-color: #6a3434;
}

.risk-box h2 {
  color: #f0d0d0;
}

.news-list {
  padding: 8px 0;
  list-style: none;
}

.news-list li {
  padding: 16px 22px;
  border-bottom: 1px solid #2a4568;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list strong {
  display: block;
  font-family: "Palatino Linotype", "Songti SC", "SimSun", serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.news-list time {
  display: inline-block;
  color: #d4b45a;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.faq-item {
  padding: 16px 20px 8px;
  margin-bottom: 12px;
}

.faq-item dt {
  font-weight: 700;
  color: #d4b45a;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0 0 8px;
  color: #e8eef6;
}

.step-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding: 16px 18px 8px 58px;
  margin-bottom: 12px;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #d4b45a;
  color: #1a1406;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.req-box {
  padding: 18px 20px 8px;
}

.req-box h3 {
  margin: 0 0 0.4em;
  color: #d4b45a;
  font-size: 1.05rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-grid article {
  padding: 18px 20px 10px;
  background: #10243f;
  border: 1px solid #2a4568;
  border-radius: 6px;
}

.platform-grid h3 {
  margin: 0 0 0.45em;
  color: #d4b45a;
  font-size: 1.05rem;
}

.cta-band {
  padding: 22px 24px;
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cta-band p {
  margin: 0;
  max-width: 46em;
}

.prose h2 {
  padding-top: 6px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #2a4568;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #d4b45a;
}

.site-footer {
  border-top: 1px solid #2a4568;
  padding: 28px 0 36px;
  color: #b7c4d6;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.75em;
}

.icon-win,
.icon-mac,
.icon-ios,
.icon-and {
  display: inline-block;
}

@media (max-width: 900px) {
  .hero,
  .feat-grid,
  .tri-grid,
  .req-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.65rem;
  }

  .hero__panel,
  .hero__aside {
    padding: 22px 18px 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    position: sticky;
  }

  .site-header__bar {
    height: auto;
    min-height: 64px;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page {
    padding-top: 18px;
  }

  .cta-band {
    display: block;
  }

  .cta-band .btn {
    margin-top: 10px;
  }
}
