/* ============ Traders Agent v2 — Blue/Black Design System ============ */
:root {
  --bg: #000000;
  --bg-2: #060b16;
  --panel: rgba(8, 14, 26, 0.82);
  --panel-solid: #0a1120;
  --border: rgba(80, 160, 255, 0.14);
  --border-strong: rgba(80, 160, 255, 0.32);
  --blue: #3b9dff;
  --blue-2: #7cc4ff;
  --blue-glow: rgba(59, 157, 255, 0.55);
  --text: #ffffff;
  --muted: #9fb3cc;
  --faint: #5d7089;
  --success: #58d6a0;
  --danger: #ff7b7b;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

a, button, input, select, textarea, .btn { touch-action: manipulation; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

#gridDotsCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

nav, main, footer, header { position: relative; z-index: 1; }

/* ============ Ring cursor ============ */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }

  #cursorRing {
    position: fixed;
    top: 0; left: 0;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border: 1px solid rgba(140, 200, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(90, 180, 255, 0.25), inset 0 0 8px rgba(90, 180, 255, 0.15);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.25s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease;
    will-change: transform;
  }

  #cursorRing::before,
  #cursorRing::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(200, 230, 255, 0.95);
    transform: translateY(-50%);
  }

  #cursorRing::before { left: 32%; }
  #cursorRing::after { right: 32%; }

  #cursorRing.grow {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    border-color: rgba(170, 220, 255, 0.9);
  }
}

  /* black hand pointer riding on top of the ring, tracking the mouse
     exactly (the ring trails behind it) */
  #cursorHand {
    position: fixed;
    top: 0; left: 0;
    width: 15px; height: 17px;
    margin: -1px 0 0 -5px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23070a10' stroke='%23ffffff' stroke-width='14' d='M448 240v96c0 3.084-.356 6.159-1.063 9.162l-32 136C410.686 499.23 394.562 512 376 512H168a40.004 40.004 0 0 1-32.35-16.473l-127.997-176c-12.993-17.866-9.043-42.883 8.822-55.876 17.867-12.994 42.884-9.043 55.877 8.823L104 315.992V40c0-22.091 17.909-40 40-40s40 17.909 40 40v200h8v-40c0-22.091 17.909-40 40-40s40 17.909 40 40v40h8v-24c0-22.091 17.909-40 40-40s40 17.909 40 40v24h8c0-22.091 17.909-40 40-40s40 17.909 40 40z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: transform;
  }
}

@media (pointer: coarse) {
  #cursorRing, #cursorHand { display: none; }
}

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 7, 14, 0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

/* Anchor targets (e.g. Contact, #contact) sit under the fixed 68px nav,
   so jumping straight to them would tuck the section title behind it. */
[id] { scroll-margin-top: 84px; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.logo img { border-radius: 8px; }
.logo span em { font-style: normal; color: var(--muted); font-weight: 500; }

.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: filter 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, #5fb2ff, #2f7fe0);
  color: #04121f;
  box-shadow: 0 0 24px rgba(59, 157, 255, 0.35);
}

.btn-primary:hover { filter: brightness(1.1); }

.btn-ghost {
  background: rgba(59, 157, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue-2); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  background: linear-gradient(135deg, #5fb2ff, #2f7fe0);
  color: #04121f;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 16px; }

/* ============ Type ============ */
.overline {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 18px;
}

.section-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--blue);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

/* ============ Hero ============ */
/* Pin wrapper: the hero stays stuck full-screen while the user scrolls
   through the wrapper's extra height — that scroll distance drives the
   fade-to-black / grid fade-in crossfade */
.hero-pin {
  height: 125vh;
  position: relative;
}

.hero {
  height: 100vh;
  min-height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 28px 80px;
  overflow: hidden;
  background: #000;
}

#marketFlowCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: lockupIn 1.6s ease-out both;
}

@keyframes lockupIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-mark { width: clamp(76px, 11vw, 120px); height: auto; }

.hero-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, rgba(140, 190, 255, 0.55), transparent);
}

.hero-name { text-align: left; }

.hero-title {
  display: block;
  font-size: clamp(1.9rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  text-shadow: 0 0 40px rgba(59, 157, 255, 0.35);
  white-space: nowrap;
}

.hero-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.3vw, 0.78rem);
  letter-spacing: 0.5em;
  color: var(--faint);
}

@media (max-width: 640px) {
  .hero-lockup { flex-direction: column; gap: 22px; text-align: center; }
  .hero-divider { width: 60px; height: 1px; align-self: center; background: linear-gradient(to right, transparent, rgba(140, 190, 255, 0.55), transparent); }
  .hero-name { text-align: center; }
  .hero-title { white-space: normal; }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--mono);
  text-align: center;
  animation: cueFloat 2.4s ease-in-out infinite;
}

.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 38px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

@keyframes cueFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ Sections ============ */
section { padding: 110px 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 54px; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-head h2 b { font-weight: 800; color: var(--blue-2); }
.section-head p { color: var(--muted); font-size: 1rem; font-weight: 400; }

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

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.inview { opacity: 1; transform: none; }

/* ============ Panels ============ */
.glass-panel {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.glass-panel.accent { border-color: var(--border-strong); box-shadow: 0 0 60px rgba(59, 157, 255, 0.08); }

/* ============ Stats ============ */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; }

.result-box {
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}

.result-box .val { font-family: var(--mono); font-size: 1.2rem; font-weight: 700; color: var(--blue-2); display: block; }
.result-box .val.good { color: var(--success); }
.result-box .val.bad { color: var(--danger); }
.result-box .lbl { font-size: 0.68rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.07em; }

.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  border: 1px solid var(--border-strong);
  color: var(--blue-2);
  background: rgba(59, 157, 255, 0.07);
}

.tag.green { color: var(--success); border-color: rgba(88, 214, 160, 0.35); background: rgba(88, 214, 160, 0.07); }

/* ============ Pricing cards ============ */
.price-card {
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.price-card.featured { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(59, 157, 255, 0.1); }
.price-card .amount { font-family: var(--mono); font-size: 2.1rem; font-weight: 700; color: var(--blue-2); }
.price-card .amount small { font-size: 0.85rem; color: var(--faint); font-weight: 400; font-family: var(--font); }
.price-card p { color: var(--muted); font-size: 0.88rem; margin: 10px 0 18px; font-weight: 400; }

/* ============ Steps ============ */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step-item { padding: 26px 22px; border-top: 1px solid var(--border-strong); position: relative; }

.step-item::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}

.step-item .s-num { font-family: var(--mono); font-size: 0.72rem; color: var(--blue); letter-spacing: 0.14em; }
.step-item h4 { font-size: 0.98rem; font-weight: 600; margin: 10px 0 6px; }
.step-item p { color: var(--muted); font-size: 0.86rem; font-weight: 400; }

/* ============ Forms ============ */
.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(4, 7, 14, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 157, 255, 0.12);
}

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 14, 0.9);
  backdrop-filter: blur(10px);
  padding: 56px 0 30px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }

.footer-grid h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 16px;
  font-family: var(--mono);
  font-weight: 500;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.87rem; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--muted); font-size: 0.87rem; font-weight: 400; }

.disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--faint);
  font-size: 0.74rem;
  line-height: 1.75;
}

.disclaimer strong { color: var(--muted); }
.disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.disclaimer a:hover { color: var(--muted); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(4, 7, 14, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 18px 28px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Ported components (V1 information, blue design) ============ */

.algo-card {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.algo-card:hover { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(59, 157, 255, 0.12); }
.algo-card-top { padding: 30px 30px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }

.algo-card-foot {
  padding: 18px 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.stat-band .sb { padding: 20px 26px; text-align: center; border-right: 1px solid var(--border); }
.stat-band .sb:last-child { border-right: none; }
.stat-band .n { display: block; font-family: var(--mono); font-size: 1.45rem; font-weight: 700; color: var(--blue-2); }
.stat-band .l { display: block; font-size: 0.68rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.text-link {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.text-link:hover { color: var(--text); }

.tool-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.chart { width: 100%; border: 1px solid var(--border); border-radius: 10px; background: rgba(4, 8, 16, 0.6); }

.cap-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.cap-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }

.deliverables { display: flex; flex-direction: column; gap: 14px; }

.deliverable {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.deliverable .d-num { font-family: var(--mono); font-size: 0.72rem; color: var(--blue); letter-spacing: 0.1em; padding-top: 3px; flex-shrink: 0; }
.deliverable h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.deliverable p { color: var(--muted); font-size: 0.85rem; }

.newsletter { display: flex; gap: 8px; margin-top: 12px; }

.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(8, 14, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
}

.newsletter button {
  background: linear-gradient(135deg, #5fb2ff, #2f7fe0);
  color: #04121f;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font);
  cursor: pointer;
}

@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band .sb { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-band .sb:last-child { border-bottom: none; }
}

/* ============ Homepage top-3 bot cards ============ */
.bot-grid { align-items: stretch; }

.bot-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.bot-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 40px rgba(59, 157, 255, 0.12);
  transform: translateY(-3px);
}

.bot-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bot-head h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.bot-sub { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); letter-spacing: 0.06em; }

.bot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 4px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bot-stats .n { display: block; font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--blue-2); text-align: center; }
.bot-stats .l { display: block; font-size: 0.62rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.07em; text-align: center; margin-top: 3px; }
.bot-stats .n.dim { color: var(--faint); }

.bot-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.bot-price { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--blue-2); }
.bot-price.dim { color: var(--faint); font-size: 0.8rem; font-weight: 500; }

@media (max-width: 940px) {
  .bot-grid { grid-template-columns: 1fr; }
}

/* simple marketplace-style cards: name, gain, equity sparkline, price */
.bot-gain {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--success);
  margin-top: 2px;
}

.bot-gain.dim { color: var(--faint); }

.bot-chart {
  margin: 8px 0 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.bot-chart svg { display: block; width: 100%; height: 86px; }

/* ============ Growth-of-$10k comparison chart ============ */
.chart-panel { margin-top: 24px; }

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chart-legend { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}

.chart-legend i {
  width: 10px; height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.growth-chart-wrap { position: relative; }
.growth-chart-wrap svg { display: block; width: 100%; height: auto; }

.chart-tip {
  position: absolute;
  pointer-events: none;
  background: rgba(6, 12, 24, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 158px;
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.chart-tip b {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 6px;
}

.chart-tip span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}

.chart-tip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.chart-tip em { font-style: normal; font-family: var(--mono); font-weight: 700; color: var(--text); margin-left: auto; padding-left: 12px; }

/* ============ Subpage intro header ============ */
.page-hero { padding: 156px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 620px; font-size: 1rem; }

/* ============ Marketplace: card grid ============ */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

@media (max-width: 940px) {
  .market-grid { grid-template-columns: 1fr; }
}
