/* LEO TRADING — core stylesheet
   Design: industrial B2B, dense information, high contrast, zero decoration */

:root {
  --navy: #0e1b2a;
  --navy-2: #16283c;
  --ink: #1c2430;
  --muted: #5a6675;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --accent: #c8102e;
  --accent-dk: #a40d25;
  --green: #1f7a5c;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- language visibility ---------- */
html[lang="zh-CN"] .l-en { display: none; }
html[lang="en"] .l-zh { display: none; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 18px;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; letter-spacing: .06em; font-size: 15px;
  text-decoration: none; flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.nav { display: flex; gap: 4px; margin-left: 14px; flex: 1 1 auto; flex-wrap: wrap; }
.nav a {
  color: #c9d4e0; font-size: 14px; padding: 8px 10px; border-radius: 4px;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: #c9d4e0; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; padding: 5px 10px;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #08351a; }
.btn-wa:hover { background: #1fbb59; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #ffb3be; border: 1px solid rgba(255,179,190,.4); padding: 5px 10px; border-radius: 3px;
  margin-bottom: 18px;
}
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.18; margin: 0 0 16px; letter-spacing: -.01em; }
.hero-lede { font-size: 17px; color: #c2cfdd; max-width: 34em; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; gap: 12px; }
.fact {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 14px 16px;
}
.fact b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.fact span { font-size: 13.5px; color: #a9b9c9; }

/* ---------- section shell ---------- */
section { padding: 60px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 46em; margin-bottom: 34px; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 8px 0 12px; letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.35; }
.sec-head p { color: var(--muted); margin: 0; }

/* ---------- value props ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card.num { position: relative; padding-top: 26px; }
.card .no {
  font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 10px;
}
.card p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.prod-img { aspect-ratio: 4 / 3; background: #e9eef3; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.prod-body h3 { font-size: 17px; margin-bottom: 6px; }
.prod-spec { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1 1 auto; }
.prod-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink);
}
.prod-meta span { background: var(--bg-alt); padding: 3px 7px; border-radius: 3px; }
.prod-link { margin-top: 12px; font-size: 14px; font-weight: 600; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.step { padding: 24px 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { display: block; font-size: 12px; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }

/* ---------- docs / compliance ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list li {
  display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.doc-list li:last-child { border-bottom: 0; }
.doc-list .tick { color: var(--green); font-weight: 800; flex: 0 0 auto; }

.callout {
  border-left: 3px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; font-size: 15px; color: var(--ink);
}
.callout p { margin: 0; }

/* ---------- guide / articles ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff;
  transition: border-color .15s ease;
}
.guide:hover { border-color: #b9c6d4; }
.guide .tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.guide h3 { font-size: 17px; margin: 8px 0 6px; }
.guide p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- inquiry ---------- */
.inquiry { background: var(--navy); color: #fff; }
.inquiry .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.inquiry h2 { color: #fff; }
.inquiry .sub { color: #a9b9c9; margin: 0 0 22px; font-size: 16px; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 92px; resize: vertical; }
.form .note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- footer ---------- */
.site-foot { background: #0a141f; color: #8fa0b1; padding: 48px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-grid h4 { color: #fff; font-size: 14px; margin: 0 0 12px; letter-spacing: .06em; }
.foot-grid a { color: #b7c5d2; display: block; padding: 3px 0; }
.site-foot .entity { line-height: 1.85; }
.site-foot .bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* ---------- article page ---------- */
.article-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 46px 0 38px; }
.article-head .kicker { margin-bottom: 10px; }
.article-head h1 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--muted); }
.prose { max-width: 46em; padding: 46px 0; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose p { margin: 0 0 16px; }
.prose .answer {
  background: var(--bg-alt); border-left: 3px solid var(--green); padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 15.5px; margin-bottom: 26px;
}
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-alt); font-weight: 600; }
.related { border-top: 1px solid var(--line); padding-top: 26px; margin: 10px 0 60px; }
.related h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.related ul { margin: 0; padding-left: 20px; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .inquiry .wrap, .docs { grid-template-columns: 1fr; }
  .prod-grid, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step { border-bottom: 1px solid var(--line); }
  .grid-3, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero { padding: 40px 0 36px; }
  section { padding: 42px 0; }
  .nav { display: none; }
  .site-head .wrap { justify-content: space-between; }
  .prod-grid, .grid-4, .grid-3, .grid-2, .steps, .guide-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .lang-switch { display: none; }
}
