:root {
  --bg: #000;
  --panel: #0b0b0b;
  --panel-2: #141414;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #fff;
  --muted: #999;
  --dim: #666;
  --blue: #0099ff;
  --display: 'Outfit', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.45 var(--body);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(14px); }
.topbar-in { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.topnav { display: flex; gap: 26px; }
.topnav a, .quiet { color: var(--muted); font-size: 15px; transition: color 0.15s; }
.topnav a:hover, .topnav a.on, .quiet:hover { color: #fff; }
.topbar-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
@media (max-width: 820px) { .topnav, .quiet { display: none; } }
@media (max-width: 420px) { .brand span { font-size: 13px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font: 500 15px var(--body); border: 0; cursor: pointer; white-space: nowrap; }
.btn-sm { height: 32px; padding: 0 11px; border-radius: 8px; font-size: 14px; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e6e6e6; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--dim); font-size: 13px; margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
h1 { font: 500 clamp(36px, 5.2vw, 54px) / 1 var(--display); letter-spacing: -0.04em; max-width: 760px; text-wrap: balance; }
.hero p.lede { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 620px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { color: var(--muted); font-size: 14px; }
.hero-note b { color: #fff; font-weight: 500; }

/* ---------- canvas panel ---------- */
.canvas { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.canvas::before {
  content: ''; position: absolute; inset: -40% 10% auto; height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 85, 255, 0.55), rgba(0, 85, 255, 0) 70%);
  filter: blur(30px); opacity: 0.55;
}
.canvas > * { position: relative; }
.canvas-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(11, 11, 11, 0.7); }
.canvas-title { font-weight: 500; font-size: 14px; margin-right: auto; display: flex; align-items: center; gap: 8px; }
.canvas-title small { color: var(--dim); font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.seg { display: inline-flex; background: var(--panel-2); border-radius: 9px; padding: 3px; }
.seg button { all: unset; cursor: pointer; padding: 5px 12px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.seg button[aria-pressed='true'] { background: #2b2b2b; color: #fff; }
.field { height: 32px; background: var(--panel-2); border: 1px solid transparent; border-radius: 9px; color: #fff; padding: 0 12px; font: 400 13px var(--body); width: 190px; outline: none; }
.field::placeholder { color: var(--dim); }
.field:focus { border-color: var(--blue); }
@media (max-width: 640px) { .field { width: 100%; order: 3; } }

/* ---------- ranking table ---------- */
.rank-scroll { overflow-x: auto; }
table.rank { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.rank th { text-align: left; font-weight: 400; color: var(--dim); font-size: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rank td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.rank tr:last-child td { border-bottom: 0; }
.rank tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.rank .num { width: 64px; color: var(--muted); font: 500 15px var(--display); }
.rank tr.top .num { color: #fff; }
.rank tr.top .num span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 13px; }
.rank .who b { display: block; font-weight: 500; font-size: 15px; }
.rank .who span { color: var(--muted); font-size: 13px; }
.rank .vol { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank .vol b { font-weight: 500; }
.bar { display: block; height: 3px; width: 140px; background: rgba(255, 255, 255, 0.07); border-radius: 2px; margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 2px; }
.rank .sides { font-variant-numeric: tabular-nums; }
.rank .loc { color: var(--muted); white-space: nowrap; }
.rank-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.rank-foot a { color: var(--muted); }
.rank-foot a:hover { color: #fff; }
.empty { padding: 28px 16px; color: var(--muted); }

/* directory rows: initials avatar, team label, no rank column */
.rank .who.person { display: flex; align-items: center; gap: 12px; }
.rank .who.person > div { min-width: 0; }
.avatar { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); color: #fff !important; font: 500 12px var(--display) !important; letter-spacing: 0.02em; }
.rank .who b .team { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 400 11px var(--body); vertical-align: 2px; }
.updated { color: var(--dim); font-size: 13px; margin-top: 14px; }
.hero p.lede + p.lede { margin-top: 12px; }
.note { color: var(--dim); font-size: 13px; margin-top: 14px; }
.block > .wrap > p.sub + p.sub { margin-top: 12px; }
.share-solo { margin-top: 40px; max-width: 760px; }
.about { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.about h2 { color: #fff; font-size: 30px; margin-bottom: 16px; }
.about a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.about .pageline { color: var(--dim); font-size: 13px; margin-top: 18px; }
.reads { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 860px; }
.reads li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.55; }
.reads b { color: #fff; font-weight: 500; }

/* ---------- strips and sections ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; margin-top: 40px; }
.strip > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.strip > div:first-child { border-left: 0; }
.strip b { display: block; font: 500 30px/1.1 var(--display); letter-spacing: -0.03em; }
.strip span { color: var(--muted); font-size: 14px; display: block; margin-top: 6px; }
@media (max-width: 820px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(odd) { border-left: 0; }
  .strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

section.block { padding: 120px 0 0; }
h2 { font: 500 clamp(30px, 4.2vw, 44px) / 1.1 var(--display); letter-spacing: -0.04em; max-width: 520px; text-wrap: balance; }
.block > .wrap > p.sub { color: var(--muted); font-size: 17px; max-width: 560px; margin-top: 16px; }
.marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 56px; padding: 88px 0 0; color: #fff; }
.marks span { font: 500 20px var(--display); letter-spacing: -0.03em; opacity: 0.92; }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; margin-top: 40px; }
.tri > div { padding: 30px; border-left: 1px solid var(--line); }
.tri > div:first-child { border-left: 0; }
.tri.two { grid-template-columns: repeat(2, 1fr); }
.tri svg { display: block; margin-bottom: 26px; }
.tri h3 { font: 400 15px var(--body); }
.tri p { color: var(--muted); max-width: 290px; }
@media (max-width: 820px) {
  .tri, .tri.two { grid-template-columns: 1fr; }
  .tri > div { border-left: 0; border-top: 1px solid var(--line); }
  .tri > div:first-child { border-top: 0; }
}

/* brokerage share */
.duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 10px; background: #000; }
.card-in { background: var(--panel-2); border-radius: 12px; padding: 26px; }
.card-txt { padding: 22px 20px 16px; }
.card-txt h3 { font: 400 17px var(--body); }
.card-txt p { color: var(--muted); font-size: 17px; line-height: 1.4; max-width: 480px; }
.share { display: grid; gap: 16px; }
.share-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; font-size: 14px; }
.share-row span { color: var(--muted); }
.share-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.share-row .track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.share-row .track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #0055ff, #0099ff); }
.podium { display: grid; gap: 10px; }
.podium div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: #1c1c1c; }
.podium small { color: var(--dim); font-size: 12px; display: block; }
.podium b { font-weight: 500; }
.podium em { font: 500 18px var(--display); font-style: normal; color: var(--blue); }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); padding: 0 40px 22px 0; font-size: 16px; line-height: 1.55; }

/* chips / directory */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: 14px; color: var(--muted); }
a.chip { color: #fff; }
a.chip:hover { background: rgba(255, 255, 255, 0.08); }
.chip.live { border-color: rgba(0, 153, 255, 0.5); color: #fff; }
.chip.live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: middle; }

.cta { margin: 120px 0 0; border: 1px solid var(--line); border-radius: 20px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: auto 20% -70% 20%; height: 320px; background: radial-gradient(closest-side, rgba(0, 85, 255, 0.6), transparent); filter: blur(30px); }
.cta > * { position: relative; }
.cta h2 { margin-inline: auto; }
.cta p { color: var(--muted); margin: 14px auto 26px; max-width: 460px; font-size: 17px; }

.prose { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.prose h2 { color: #fff; margin: 64px 0 16px; font-size: 30px; }
.prose p + p { margin-top: 16px; }
.prose b { color: #fff; font-weight: 500; }

/* ---------- footer ---------- */
.foot { margin-top: 140px; border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--muted); max-width: 300px; margin-top: 14px; }
.foot h4 { font: 400 13px var(--body); color: var(--dim); margin-bottom: 12px; }
.foot-grid a:not(.brand), .foot-grid span:not(.brand span) { display: block; color: var(--muted); padding: 4px 0; }
.foot-grid a:not(.brand):hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
