/* Fund page (v2/pages/fund.js). Built only from app.css tokens; the hero mirrors the home page's. */
.fd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.fd-head .t-cap { max-width: 60ch; }
.fd-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-acts svg { width: 13px; height: 13px; }

/* hero: NAV + chart | fund size */
.fd-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 0; overflow: hidden; }
.fd-main { padding: 30px 36px 26px; min-width: 0; }
.fd-side { padding: 30px 36px 28px; border-left: 1px solid var(--hair); background: var(--surface-2); display: flex; flex-direction: column; min-width: 0; }
.fd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; margin-bottom: 22px; flex-wrap: wrap; }
.fd-l { font-size: 15px; color: var(--text-2); margin-bottom: 2px; }
.fd-v { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fd-v .unit { font-size: 22px; font-weight: 500; margin-left: 10px; letter-spacing: -.01em; color: var(--text-2); }
.fd-d { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; min-height: 26px; }
.fd-delta { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fd-delta i { font-style: normal; display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 8px; font-size: 14px; background: rgba(0, 0, 0, .05); }
.fd-delta.up i { background: var(--up-fill); } .fd-delta.down i { background: var(--down-fill); }
.fd-spark { --fc-h: 150px; height: 150px; margin: 20px -6px 0 -4px; }
.fd-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 12px; }
.fd-foot b { font-weight: 500; color: var(--text-2); }
.fd-foot .sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); margin: 0 10px; opacity: .6; }
.fd-side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 26px; margin-bottom: 14px; }
.fd-aum { font-size: 46px; line-height: 1.05; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fd-aum .unit { font-size: 17px; font-weight: 500; color: var(--text-2); margin-left: 8px; }
.fd-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 20px; padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.fd-side .meter { margin-top: auto; }

/* tiles */
.fd-tiles { margin-top: var(--gap); }
.fd-tile { display: flex; flex-direction: column; min-height: 250px; }
.fd-tile-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.fd-tile-h h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.fd-big { font-size: 38px; line-height: 1.06; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fd-big .unit { font-size: 15px; font-weight: 500; color: var(--text-2); margin-left: 6px; }
.fd-note { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.fd-stack { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--track); gap: 2px; margin-bottom: 18px; }
.fd-stack i { display: block; height: 100%; transition: flex-grow .9s var(--spring); }
.fd-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fd-legend li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.fd-legend .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.fd-legend b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.fd-kv { margin-top: 14px; }
.fd-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.fd-kv > div span { color: var(--text-2); } .fd-kv > div b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* payouts + how */
.fd-tx { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-2); }
.fd-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.fd-steps li { position: relative; padding: 0 0 20px 50px; counter-increment: st; }
.fd-steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 113, 227, .25); }
.fd-steps li::after { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--hair); }
.fd-steps li:last-child { padding-bottom: 0; } .fd-steps li:last-child::after { display: none; }
.fd-steps b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; } .fd-steps span { font-size: 13.5px; color: var(--text-2); }
.fd-how-f { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 900px) {
  .fd-hero { grid-template-columns: 1fr; }
  .fd-main, .fd-side { padding: 22px 20px; }
  .fd-side { border-left: 0; border-top: 1px solid var(--hair); }
  .fd-v .unit { font-size: 17px; }
  .fd-aum { font-size: 38px; }
  .fd-tile { min-height: 0; }
  .fd-acts { width: 100%; } .fd-acts .btn { flex: 1; }
}
