/* Marketplace shell. Loaded last. */
.ticker{overflow:hidden;border-bottom:1px solid var(--line);background:#fff;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.ticker-in{display:flex;gap:28px;width:max-content;padding:8px 0;animation:tape 48s linear infinite}
.ticker span{font-size:12px;color:#5c6570;white-space:nowrap}.ticker b{color:#121417;font-weight:650;margin-right:6px}
@keyframes tape{to{transform:translateX(-50%)}}
.srcbadge{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}
.srcbadge.mkt{background:#eef2ff;color:#3730a3}
.srcbadge.sup{background:#ecfdf3;color:#1E3A8A}
.pcard{border-radius:14px}
.pcard .p{font-variant-numeric:tabular-nums}
.lp-mkt{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.lp-mkt a{display:flex;flex-direction:column;background:#fff;border:1px solid #e7e8eb;border-radius:16px;overflow:hidden;color:inherit;transition:transform .15s,box-shadow .15s}
.lp-mkt a:hover{transform:translateY(-2px);box-shadow:0 12px 32px -20px rgba(12,13,15,.35)}
.lp-mkt img{width:100%;aspect-ratio:1;object-fit:contain;background:#fafafa}
.lp-mkt div{padding:12px 14px 14px}
.lp-mkt b{display:block;font-size:13.5px;line-height:1.35;font-weight:600}
.lp-mkt em{font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
.lp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lp-steps article{background:#fff;border:1px solid #e7e8eb;border-radius:16px;padding:20px}
.lp-steps span{font-size:12px;font-weight:700;letter-spacing:.08em;color:#1E3A8A}
@media(max-width:800px){.lp-mkt,.lp-steps{grid-template-columns:1fr}}

:root {
  --bg: #f6f7f9;
  --text: #121417;
  --muted: #5c6570;
  --dim: #8b939e;
  --line: #e6e8ec;
  --line2: #d5d9e0;
  --brand: #3f3f46;
  --brand-600: #18181b;
  --brand-50: #f4f4f5;
  --brand-100: #e4e4e7;
  --panel: #ffffff;
  --panel2: #f4f5f7;
  --shadow-sm: 0 1px 2px rgba(18, 20, 23, .04);
  --shadow: 0 1px 2px rgba(18, 20, 23, .04), 0 12px 32px -20px rgba(18, 20, 23, .18);
  --r: 12px;
}
body {
  background: var(--bg);
  color: var(--text);
  font: 14.5px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body:before { display: none; }
h1, h2, h3, h4, .brand, .stat, .kpi .v, .plan .amount, .disp, .lp-h1, .lp-h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.03em;
  font-weight: 640;
}
.grad-text, .accent, .kicker, .brand span b { background: none; -webkit-text-fill-color: currentColor; color: var(--text); }

.card, .pcard, .searchbar, .composer, .cmpbar, .msg.bot .bubble, .stepc, .supp, .sig .s, .tile {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card.hov:hover { transform: none; box-shadow: var(--shadow); }
.btn {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line2);
  box-shadow: none;
  font-weight: 560;
}
.btn:hover { background: var(--panel2); transform: none; }
.btn.primary, .btn.brand, .seg button.deep.on, button.chip.on, .plan .pop-badge {
  background: #18181b;
  border-color: #18181b;
  color: #fff;
  box-shadow: none;
  filter: none;
}
.btn.primary:hover, .btn.brand:hover { background: #000; filter: none; transform: none; }
.btn.soft { background: var(--panel2); border-color: var(--line); color: var(--text); }
.chip { background: var(--panel2); border-color: var(--line); border-radius: 999px; }
.input, select.input { background: #fff; border-color: var(--line2); border-radius: 8px; box-shadow: none; }
.input:focus { border-color: #18181b; box-shadow: 0 0 0 3px rgba(18, 20, 23, .08); }

/* sidebar */
.shell { grid-template-columns: 232px 1fr; background: var(--bg); }
.side {
  background: #fbfbfc;
  backdrop-filter: none;
  border-right: 1px solid var(--line);
  padding: 14px 10px 12px;
  gap: 1px;
}
.side .brand { padding: 4px 10px 14px; font-size: 15px; }
.side .grp { font-size: 11px; letter-spacing: .08em; color: var(--dim); font-weight: 600; padding: 16px 10px 4px; }
.side a.item { border-radius: 8px; color: #3f4650; font-size: 13.5px; font-weight: 500; padding: 7px 10px; }
.side a.item:hover { background: #f0f1f3; color: var(--text); }
.side a.item.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.side a.item .cnt { background: #fff; }
.side .bottom .card { background: #fff; border-radius: 10px; }
.nav-toggle, .side-scrim { display: none; }

.topbar {
  height: 56px;
  background: rgba(246, 247, 249, .92);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  gap: 16px;
}
.topbar-l { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1; }
.topbar h1 { font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.cmd {
  display: flex; align-items: center; gap: 8px; flex: 1; max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; height: 34px;
}
.cmd svg { width: 15px; height: 15px; stroke: var(--dim); fill: none; stroke-width: 1.8; flex: none; }
.cmd input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13.5px; padding: 0; }
.top-actions { gap: 10px; flex: none; }
.v10em { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.content { padding: 22px 24px 48px; }
.v10bell { background: #fff; border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; display: inline-grid; place-items: center; }

/* tables */
table.tbl { font-size: 13px; }
.tbl th { background: #fafafa; color: #6b7280; font-size: 11px; letter-spacing: .04em; font-weight: 600; padding: 8px 10px; position: sticky; top: 0; }
.tbl td { padding: 8px 10px; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.tbl tr:hover td { background: #fafafa; }
.tbl td.thumb img, .tbl img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.margin .m-ok { color: var(--ok); }
.margin .m-warn { color: var(--warn); }
.margin .m-bad { color: var(--bad); }
.searchbar { border-radius: 10px; box-shadow: none; background: #fff; }
.seg { background: var(--panel2); }
.pcard { border-radius: 12px; }
.pcard:hover { transform: none; }
.pcard .im { background: #fafafa; }
.toast a { color: var(--text); font-weight: 650; text-decoration: underline; }

/* landing: quieter, same structure and scan animation */
.lp { background: #fff; color: var(--text); }
.lp-nav { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.lp-h1 { font-weight: 620; letter-spacing: -.045em; }
.lp-btn-brand, .lp-btn-dark { background: #18181b !important; border-color: #18181b !important; color: #fff !important; }
.lp-plan { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.lp-plan-pop { border-color: #18181b; box-shadow: none; }
.lp-g { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.lp-eng { box-shadow: var(--shadow); border: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    position: fixed; top: 12px; left: 12px; z-index: 50; width: 36px; height: 36px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 9px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: #18181b; border-radius: 2px; }
  .side-scrim { display: block; position: fixed; inset: 0; background: rgba(18, 20, 23, .35); z-index: 35; }
  .side-scrim[hidden] { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 88vw); height: 100vh; z-index: 40;
    transform: translateX(-105%); transition: transform .2s ease; flex-direction: column; overflow: auto;
    background: #fff; box-shadow: var(--shadow);
  }
  .side.open { transform: none; }
  .side .brand, .side .grp, .side .bottom { display: block; }
  .side .bottom { display: block; }
  .main { min-width: 0; }
  .topbar { padding-left: 56px; height: auto; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .topbar-l { flex: 1 1 100%; }
  .topbar h1 { font-size: 14px; }
  .cmd { max-width: none; }
  .content { padding: 16px 14px 40px; }
  .v10em { display: none; }
  .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-hero-grid, .lp-plans { grid-template-columns: 1fr !important; }
  .lp-nav-in { padding-left: 16px; padding-right: 16px; }
}
