/* ==========================================================================
   Traders Vault — Landing page overlay
   Layout only. Styling comes from the app stylesheet (style.css): tokens,
   .t-* utilities, .btn-*, .badge-*. This file adds landing-page layout and
   nothing that conflicts with the app's proven system.
   ========================================================================== */

body {
  font-size: 14px; /* app --font-body */
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--accent-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

/* ---------- type (app scale: title 20 / sub 16 / body 14 / sm 11) ---------- */
h1, h2, h3 { font-family: var(--font); line-height: 1.2; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }

.hero h1 { font-size: 2.5rem; font-weight: 700; }          /* hero headline */
.landing-title { font-size: 30px; font-weight: 700; }        /* 1.5x the app title (20px), landing-only */
.hero-sub { margin-top: 14px; max-width: 520px; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-sub { margin-top: 10px; }
.eyebrow-gain { color: var(--accent-green); }
.eyebrow-pain { color: var(--accent-red); }

/* ---------- buttons (app .btn-outline + landing sizing) ---------- */
.btn-lg-cta {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: var(--font-body);
  font-weight: 600;
}
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-trust { margin-top: 20px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.hero-trust svg { color: var(--accent-green); flex-shrink: 0; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.nav-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text-primary); margin: 4px 0; border-radius: 2px; transition: 0.2s; }
.mobile-menu:not([hidden]) { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(123, 45, 142, 0.2), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* dashboard mockup, light mode */
.mock-window {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
}
.mock-window:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #f87171; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.mock-title { font-family: var(--font); font-size: 11px; color: var(--text-muted); margin-left: 8px; }
.mock-sync { margin-left: auto; font-size: 11px; color: #047857; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.mock-body { padding: 6px 16px 10px; }
.mock-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 13px;
  color: var(--text-secondary);
  animation: rowIn 0.5s var(--ease-out) both;
}
.mock-row:nth-child(2) { animation-delay: 0.55s; }
.mock-row:nth-child(3) { animation-delay: 0.7s; }
.mock-row:nth-child(4) { animation-delay: 0.85s; }
.mock-row:nth-child(5) { animation-delay: 1s; }
.mock-row:nth-child(6) { animation-delay: 1.15s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.mock-hdr { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; animation: none; }
.mono { font-family: var(--font-mono); color: var(--text-muted); font-size: 12px; }
.pos { font-family: var(--font-mono); font-weight: 600; }
.pos-up { color: #047857; }
.pos-down { color: #dc2626; }
.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  justify-self: start;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.chip-mt4 { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); }
.chip-mt5 { color: #92400e; background: rgba(180, 83, 9, 0.1); }
.chip-ct  { color: #0e7490; background: rgba(14, 116, 144, 0.1); }

.mock-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11px;
}
.mock-live { color: #047857; display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.mock-total { color: #0f172a; font-weight: 600; }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-secondary); }
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num { font-size: var(--font-title); font-weight: 600; display: block; }
.stat-label { margin-top: 4px; display: block; }

/* ---------- platforms ---------- */
.platforms, .features, .how, .pricing, .faq, .brokers { padding: 80px 24px; max-width: 1180px; margin: 0 auto; }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.plat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s var(--ease-out);
}
.plat-card:hover { transform: translateY(-3px); }
.badge-mt4, .badge-mt5, .badge-ct, .badge-tv {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 12px;
}
.plat-card h3 { margin-bottom: 6px; }
.plat-card p { color: var(--text-secondary); }
.plat-tag {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-text);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

/* ---------- brokers table ---------- */
.broker-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
#broker-search {
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  padding: 9px 14px;
}
#broker-search::placeholder { color: var(--text-muted); }
#broker-search:focus { outline: none; border-color: var(--accent-text); }
.broker-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip.active { border-color: var(--accent-blue); color: var(--accent-text); background: var(--accent-soft); }

.broker-table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.broker-table { width: 100%; border-collapse: collapse; }
.broker-table thead th {
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: var(--font-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.broker-table tbody { display: block; max-height: 420px; overflow-y: auto; }
.broker-table thead, .broker-table tbody tr { display: table; width: 100%; table-layout: fixed; }
.broker-table tbody td {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.broker-table tbody tr:last-child td { border-bottom: 0; }
.broker-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.broker-table td:first-child { color: var(--text-primary); font-weight: 500; }
.pmark { display: inline-block; font-size: var(--font-sm); font-weight: 600; padding: 2px 8px; border-radius: var(--radius-sm); white-space: nowrap; }
.pmark-m4 { color: var(--badge-mt4); background: rgba(92, 154, 255, 0.12); }
.pmark-m5 { color: var(--badge-mt5); background: rgba(255, 193, 7, 0.12); }
.pmark-ct { color: var(--badge-ct); background: rgba(34, 211, 238, 0.12); }
.pmark-tv { color: var(--badge-tv); background: rgba(255, 152, 0, 0.12); }
.pmark-none { color: var(--text-muted); }
.broker-empty { text-align: center; padding: 24px 16px; }
.broker-count { text-align: center; padding: 10px 14px; border-top: 1px solid var(--border); }
.brokers-note { text-align: center; margin-top: 16px; }

/* ---------- the truth ---------- */
.truth { position: relative; overflow: hidden; padding: 96px 24px; }
.truth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 460px at 20% 0%, rgba(123, 45, 142, 0.18), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(248, 113, 113, 0.06), transparent 55%);
}
.truth-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.truth h2 { margin-bottom: 16px; }
.truth-lead { margin-top: 14px; }
.truth-quote {
  margin: 32px auto;
  padding: 24px 28px;
  border-left: 3px solid var(--accent-blue);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 620px;
}
.truth-end { margin-top: 14px; }

/* ---------- problem / solution ---------- */
.vs { background: var(--bg-secondary); border-block: 1px solid var(--border); padding: 80px 24px; }
.vs-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.vs-col { padding: 36px 32px; border-radius: var(--radius); }
.vs-pain { background: rgba(248, 113, 113, 0.05); border: 1px solid rgba(248, 113, 113, 0.18); }
.vs-gain { background: var(--accent-soft); border: 1px solid rgba(192, 132, 252, 0.28); }
.vs-col h2 { margin-bottom: 16px; }
.vs-col ul { list-style: none; display: grid; gap: 10px; color: var(--text-secondary); }
.vs-col li { padding-left: 22px; position: relative; }
.vs-gain li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  transform: rotate(-45deg);
}
.vs-pain li::before {
  content: '+';
  position: absolute;
  left: 3px;
  top: 1px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  transform: rotate(45deg);
  line-height: 1;
}

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}
.feat-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 12px;
}
.feat-icon svg { width: 19px; height: 19px; }
.feat-card h3 { margin-bottom: 6px; }
.feat-card p { color: var(--text-secondary); }

/* ---------- AI ---------- */
.ai { padding: 80px 24px; position: relative; overflow: hidden; }
.ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 90% 40%, rgba(123, 45, 142, 0.12), transparent 60%);
  pointer-events: none;
}
.ai-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; position: relative; }
.ai-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; color: var(--text-secondary); }
.ai-list li { padding-left: 22px; position: relative; }
.ai-list li::before { content: '›'; position: absolute; left: 4px; color: var(--accent-text); font-weight: 700; font-family: var(--font-mono); }

.chat { background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.chat-q {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  max-width: 85%;
  margin-left: auto;
}
.chat-a {
  margin-top: 12px;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(123, 45, 142, 0.16), rgba(123, 45, 142, 0.07));
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  max-width: 95%;
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; }
.step-num {
  color: var(--accent-text);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-secondary); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 800px; margin: 0 auto; align-items: stretch; }
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-featured {
  background: linear-gradient(180deg, rgba(123, 45, 142, 0.18), rgba(123, 45, 142, 0.05));
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: var(--shadow);
}
.featured-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.price { font-weight: 700; font-size: 1.75rem; margin: 8px 0 2px; display: flex; align-items: baseline; }
.price .cur { font-size: 1rem; color: var(--text-muted); margin-right: 2px; }
.price .per { font-size: 14px; color: var(--text-muted); margin-left: 6px; font-weight: 400; }
.price-sub { margin-bottom: 16px; }
.price-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; flex: 1; color: var(--text-secondary); }
.price-card li { padding-left: 20px; position: relative; }
.price-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  transform: rotate(-45deg);
}
.pricing-note { text-align: center; margin-top: 18px; }
/* Pro pricing button fill */
.price-featured .btn-outline.btn-full {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
.price-featured .btn-outline.btn-full:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent-text); font-size: 1rem; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-secondary); padding: 0 0 14px; }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; padding: 96px 24px; text-align: center; }
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 420px at 50% 0%, rgba(123, 45, 142, 0.22), transparent 65%);
  pointer-events: none;
}
.final-inner { position: relative; max-width: 620px; margin: 0 auto; }
.final h2 { margin-bottom: 12px; }
.final p { margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.site-footer nav { display: flex; gap: 18px; margin-left: 8px; }
.site-footer nav a:hover { color: var(--text-primary); }
.footer-note { margin-left: auto; }


/* ---------- trust note (stats) ---------- */
.stats-note { max-width: 760px; margin: 0 auto; padding: 32px 24px 12px; text-align: center; }

/* ---------- problem recognition ---------- */
.problem { padding: 80px 24px; max-width: 1180px; margin: 0 auto; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-secondary); }

/* ---------- feedback loop ---------- */
.loop { background: var(--bg-secondary); border-block: 1px solid var(--border); padding: 80px 24px; }
.loop-inner { max-width: 1180px; margin: 0 auto; }
.loop-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.loop-step {
  font-size: var(--font-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  white-space: nowrap;
}
.loop-step-final { border-color: var(--accent-blue); color: var(--accent-text); background: var(--accent-soft); }
.loop-arrow { color: var(--accent-text); font-family: var(--font-mono); font-size: 14px; }

/* ---------- how it works (5 steps) ---------- */
.how-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 8px; }
.how-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.how-step h3 { margin-bottom: 6px; }
.how-step p { color: var(--text-secondary); }

/* ---------- product demo ---------- */
.demo { padding: 80px 24px; position: relative; overflow: hidden; }
.demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 90% 40%, rgba(123, 45, 142, 0.12), transparent 60%);
  pointer-events: none;
}
.demo-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; position: relative; }
.demo-caption { margin-top: 14px; }

/* ---------- free tier ---------- */
.free-tier { padding: 80px 24px; background: var(--bg-secondary); border-block: 1px solid var(--border); }
.free-tier-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.free-tier-inner h2 { margin-bottom: 14px; }
.free-tier-inner .t-sub { margin-bottom: 22px; }
.free-tier-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 28px; color: var(--text-secondary); }
.free-tier-feats span { padding-left: 18px; position: relative; }
.free-tier-feats span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  transform: rotate(-45deg);
}

/* ---------- pricing 3-col ---------- */
.price-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }

/* ---------- secondary CTA ---------- */
.btn-secondary { color: var(--text-muted); }

.d4 { animation-delay: 0.4s; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 0; animation: rise 0.7s var(--ease-out) forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
  .hero-visual { max-width: 540px; }
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .ai-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .vs-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .brand { padding: 8px 0; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; gap: 2px; padding: 12px 24px 20px; border-top: 1px solid var(--border); }
  .mobile-menu a { padding: 12px 4px; color: var(--text-secondary); font-weight: 500; }
  .mobile-menu a.btn-outline { color: #fff; text-align: center; margin-top: 10px; }
  .hero-inner { padding-top: 44px; padding-bottom: 44px; }
  .hero-sub { font-size: 15px; }
  .hero h1 { font-size: 2rem; }
  .landing-title { font-size: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-lg-cta { width: 100%; text-align: center; }
  .plat-grid, .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .plat-card, .feat-card { padding: 24px 22px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .platforms, .features, .how, .pricing, .faq, .brokers { padding: 64px 20px; }
  .section-head { margin-bottom: 32px; }
  /* touch targets >= 44px */
  .btn-outline, .btn-small, .btn-lg-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .filter-chip { min-height: 44px; }
  #broker-search { padding: 12px 14px; font-size: 16px; min-height: 44px; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; }
  .footer-note { margin-left: 0; width: 100%; }
  .vs-col { padding: 28px 24px; }
  .vs { padding: 64px 20px; }
  .ai { padding: 64px 20px; }
  .truth { padding: 80px 20px; }
  .final { padding: 80px 20px; }
  .mock-window { transform: none; }
  .broker-table thead th, .broker-table tbody td { padding: 8px 8px; }
  .pmark { padding: 2px 6px; }
}

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

/* new-section responsive (brief v2) */
@media (max-width: 1020px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .price-grid-3 { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 720px) {
  .problem { padding: 64px 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 22px 20px; }
  .loop { padding: 64px 20px; }
  .loop-flow { gap: 8px; }
  .loop-step { padding: 7px 12px; }
  .demo { padding: 64px 20px; }
  .free-tier { padding: 64px 20px; }
  .stats-note { padding: 22px 20px 0; }
}

/* ==========================================================================
   Traders Vault - Landing page v3 overlay
   Loaded AFTER /landing.css (v2). Adds v3-only components and a few
   deliberate overrides. Everything else comes from style.css + landing.css.
   ========================================================================== */

/* ---------- primary CTA (global) ---------- */
.btn-lg-cta {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
.btn-lg-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.hero-cta-note { margin-top: 10px; }
.final .hero-cta-note { margin-top: 10px; }

/* ---------- feedback loop: RECORD/REVIEW annotations ---------- */
.loop-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.loop-step-strong {
  border-color: var(--accent-blue);
  color: var(--accent-text);
  background: var(--accent-soft);
}
.loop-note {
  font-size: var(--font-sm);
  color: var(--text-muted);
  max-width: 210px;
  text-align: center;
  line-height: 1.35;
}

/* ---------- prop firm sub-section ---------- */
.props { margin-top: 40px; }
.props-head { max-width: 640px; margin: 0 auto 18px; text-align: center; }
.props-head .t-body { margin-top: 6px; }
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.prop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.prop-logo {
  display: block;
  max-width: 96px;
  max-height: 28px;
  width: auto;
  height: auto;
}
.prop-card-name { font-weight: 600; font-size: var(--font-body); }
.prop-card .prop-marks { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.props-note { text-align: center; margin-top: 14px; }

.filter-chip .chip-count { opacity: 0.65; font-weight: 400; margin-left: 3px; }

/* ---------- see-all toggle ---------- */
.see-all { display: block; margin: 16px auto 0; }

/* ---------- live proof ---------- */
.proof { background: var(--bg-secondary); border-block: 1px solid var(--border); padding: 80px 24px; }
.proof-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.proof-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  flex: 1 1 220px;
  max-width: 260px;
}
.proof-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.proof-note { text-align: center; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .props-grid { grid-template-columns: 1fr; }
  .loop-flow { flex-direction: column; gap: 14px; }
  .loop-arrow { transform: rotate(90deg); }
  .section-cta { padding: 0 20px 40px; }
}

/* ---------- AI demo chat: participant names ---------- */
.chat-name {
  margin: 0 0 6px;
  font-size: var(--font-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.chat-name-me { color: var(--text-secondary); text-align: right; }
.chat-name-ai { color: var(--accent-text); margin-top: 16px; }

/* ---------- section CTAs (lightweight, between sections) ---------- */
.section-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 64px;
  text-align: center;
}
.section-cta .t-sm { margin-top: 10px; }
.section-cta .btn-outline {
  display: inline-block;
  padding: 13px 28px;
  font-weight: 600;
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}
.section-cta .btn-outline:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
/* ---------- no link underlines ---------- */
a { text-decoration: none; }
