:root {
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: #0b0d10;
  background: #fff;
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1rem/1 system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.site-mark svg { width: 32px; height: 32px; }
.site-mark b { font-weight: 800; }

.trade-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: var(--button-radius, 8px);
  font: 750 0.86rem/1 var(--body-font, system-ui, sans-serif);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.trade-btn:hover { transform: translateY(-2px); }
.trade-btn:focus-visible, a:focus-visible { outline: 3px solid var(--focus, #fff); outline-offset: 4px; }

.trade-form iframe {
  width: 100%;
  height: 700px;
  border: 0;
  border-radius: var(--form-radius, 12px);
  background: #fff;
}

.trade-explore {
  padding: 72px 0;
  color: #f4f7f8;
  background: #0b1116;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trade-explore__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.trade-explore__head small {
  display: block;
  margin-bottom: 8px;
  color: #ff8b5c;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.trade-explore__head h2 {
  margin: 0;
  color: inherit;
  font: 700 clamp(1.8rem, 4vw, 3.2rem)/1.05 system-ui, sans-serif;
  letter-spacing: -0.045em;
  text-transform: none;
}
.trade-explore__head > a {
  color: #b9c5cc;
  font-size: 0.82rem;
  white-space: nowrap;
}
.trade-explore__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.trade-explore__grid a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: #f4f7f8;
  background: rgba(255, 255, 255, 0.035);
  font: 700 0.86rem/1.25 system-ui, sans-serif;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.trade-explore__grid a::after {
  content: "→";
  color: #ff8b5c;
  font-size: 1rem;
}
.trade-explore__grid a:hover,
.trade-explore__grid a:focus-visible {
  border-color: #ff8b5c;
  background: rgba(255, 139, 92, 0.1);
}
.trade-explore__grid a[aria-current="page"] {
  color: #8d9aa2;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  cursor: default;
}
.trade-explore__grid a[aria-current="page"]::after {
  content: "Current";
  color: #8d9aa2;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trade-footer { padding: 38px 0; }
.trade-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.trade-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.82rem;
}
.trade-footer address, .trade-footer small {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.68;
}

@media (max-width: 720px) {
  .trade-footer__inner { grid-template-columns: 1fr; }
  .trade-footer__links { justify-content: flex-start; }
  .trade-explore { padding: 56px 0; }
  .trade-explore__head { align-items: start; flex-direction: column; }
  .trade-explore__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .trade-explore__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
