/* Root site — dark trading terminal, gold accent, split hero */
:root {
  --bg: #070b14;
  --panel: #101826;
  --line: #243044;
  --gold: #d4a017;
  --gold-dim: #8a6a12;
  --text: #e8edf5;
  --muted: #93a0b5;
  --danger: #f0b429;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}
img, svg { display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #05080f;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 8px; }
.nav a {
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid transparent;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(212, 160, 23, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 18px;
}
.lead { color: var(--muted); margin-bottom: 16px; }
.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
}
.hero-panel h2 { font-size: 18px; margin-bottom: 10px; color: var(--gold); }
.notice {
  border-left: 3px solid var(--danger);
  background: rgba(240, 180, 41, 0.08);
  padding: 12px 14px;
  color: #f3d48a;
  margin: 14px 0;
  font-size: 14px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button.dl {
  appearance: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1203;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
}
button.dl.ghost {
  background: transparent;
  color: var(--gold);
}
button.dl:hover { filter: brightness(1.08); }
button.dl:disabled { opacity: 0.7; cursor: wait; }

section { padding: 42px 0; border-bottom: 1px solid var(--line); }
section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  margin-bottom: 14px;
}
section h3 { font-size: 18px; margin: 18px 0 8px; color: #f2e2b0; }
p { margin-bottom: 12px; color: #d5dce8; }
ul, ol { margin: 0 0 14px 1.2em; color: #d5dce8; }
li { margin-bottom: 6px; }

.grid-3, .grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
}
.card h3 { margin-top: 0; }
.strip {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.icon-box {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold-dim);
  display: grid;
  place-items: center;
  color: var(--gold);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
th { background: #162033; color: var(--gold); }
.risk {
  background: #2a1d08;
  border: 1px solid #8a6a12;
  padding: 22px;
}
.risk h2 { color: var(--gold); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-item h3 { margin-top: 0; color: var(--text); }
.cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--gold-dim);
  padding: 20px;
  margin-top: 20px;
}
footer {
  background: #05080f;
  padding: 36px 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 18px;
}
.foot-grid h3 { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.copy { border-top: 1px solid var(--line); padding-top: 14px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .hero, .grid-3, .grid-2, .foot-grid, .cta-bar { grid-template-columns: 1fr; display: grid; }
  .cta-bar { display: block; }
  h1 { font-size: 30px; }
  .nav { flex-wrap: wrap; }
}
