/* HL Vault showcase — page-specific rules on top of the light fund.css system.
   fund.css owns the palette, type, panels, chart, deal table and drawer; this
   file only adds the vault-only pieces: the top-bar tags, the big return number,
   the loud deposit button, the on-chain deal rows, and the final CTA. No new
   colors — loudness is size, contrast and emerald glow. */

/* ─── Top bar — no fund switch; brand + tags left, nav + live right ─── */
.top-in-vault{grid-template-columns:1fr auto}
.brand-group{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap;justify-self:start}
.tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--sans);font-weight:700;font-size:10px;
  letter-spacing:.08em;text-transform:uppercase;padding:5px 10px;border-radius:7px;white-space:nowrap;line-height:1}
.tag-hl{color:var(--muted);background:var(--hair-2)}
.tag-hl img{height:14px;width:auto;display:block}
.tag-real{color:#fff;background:var(--green);box-shadow:0 2px 8px rgba(14,143,87,.28)}
.tag-real .dot{width:6px;height:6px;background:#fff;box-shadow:none;animation:none}
@media(max-width:560px){.tag-hl{display:none}}

/* ─── Hero LEFT — H1 row with the venue logo inline (no kicker) ──
   "AI Hedge Fund." | thin divider | full Hyperliquid logo at H1 scale,
   optically centred against the headline. Under ~560px the logo drops
   below the H1 (smaller) rather than shrinking the headline. */
.hero-h1row{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(14px,1.8vw,22px)}
.h1-divider{flex:none;width:2px;height:clamp(30px,4vw,42px);border-radius:1px;background:rgba(20,20,15,.16)}
.hl-logo-h1{flex:none;height:clamp(30px,3.8vw,42px);width:auto;display:block}
@media(max-width:560px){
  .hero-h1row{gap:14px}
  .h1-divider{display:none}
  .hl-logo-h1{flex-basis:100%;height:28px}
}
.hero-sub{margin:12px 0 0;font-size:clamp(16px,1.6vw,20px);line-height:1.4;font-weight:500;color:var(--faint)}
.hero-head .lede{margin-top:12px}

/* chart legend under the growth chart */
.chart-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:13px}
.lg-item{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:var(--muted)}
.lg-item i{width:11px;height:11px;border-radius:3px;flex:none;display:block}
.lg-item i.lg-edge{width:16px;height:3px;border-radius:2px;background:var(--green)}

/* ─── Open positions — two wide tiles under the chart ─────────────
   The positions moved into the hero left column (out of a full-width carousel).
   The chart no longer stretches to fill the column (it sat too low); it takes its
   natural size and the two tiles follow directly beneath it. The right column
   stretches to the full left-column height, and the reasoning feed grows to fill
   it so both columns bottom out level. */
.board-chart{flex:none}
.pos-h{font-size:clamp(18px,1.9vw,22px);margin:0 0 14px}
.pos-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}
.pos-grid>*{min-width:0}
@media(max-width:560px){.pos-grid{grid-template-columns:1fr}}
/* Reasoning feed fills the stretched right column and scrolls inside it. The
   list is absolutely positioned so its (long) content is out of the height
   calc — that way the LEFT column (chart + position tiles) drives the row
   height and the right column just matches it, instead of the reasoning
   inflating the right past the tiles. */
.hero-right .reason{flex:1;min-height:0;position:relative}
.hero-right .reason-list{position:absolute;top:52px;left:clamp(18px,1.7vw,22px);
  right:clamp(18px,1.7vw,22px);bottom:clamp(18px,1.7vw,22px);max-height:none;margin-top:0}
/* Below the 2-col breakpoint the columns stack, so restore natural flow. */
@media(max-width:920px){
  .hero-right .reason{flex:none;position:static}
  .hero-right .reason-list{position:static;inset:auto;max-height:360px;margin-top:4px}
}

/* ─── Hero RIGHT — return card (the hero number) ──────────────── */
.return-card{background:linear-gradient(180deg,#ffffff,#fbfbf8);border-radius:16px;
  padding:clamp(20px,2vw,26px);box-shadow:0 1px 2px rgba(20,20,15,.03),0 10px 30px rgba(20,20,15,.045)}
/* Bigger than fund.html's NAV number. Green when up, BLACK when down — never red. */
.ret-num{font-family:var(--serif);font-weight:700;font-size:clamp(54px,6.6vw,84px);line-height:.9;
  letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);margin:12px 0 0}
.ret-num.up{color:var(--green)}
.ret-sub{margin-top:14px;font-family:var(--mono);font-size:13px;color:var(--muted)}

/* ─── Vault stats — one compact panel in the hero right column ──
   Standard white card (return/deposit/reasoning family), cells split by
   thin hairline rules — vertical between the columns, horizontal between
   the rows. Emerald stays the accent: the numbers, not the panel. */
.stat-panel{display:grid;grid-template-columns:1fr 1fr;
  background:linear-gradient(180deg,#ffffff,#fbfbf8);border-radius:16px;
  padding:clamp(8px,1vw,12px);box-shadow:0 1px 2px rgba(20,20,15,.03),0 10px 30px rgba(20,20,15,.045)}
.stat{min-width:0;padding:clamp(12px,1.4vw,16px)}
.stat:nth-child(odd){border-right:1px solid var(--hair)}
.stat:nth-child(-n+2){border-bottom:1px solid var(--hair)}
.stat .k{font-family:var(--mono);font-size:10px;letter-spacing:.05em}
.stat-v{display:block;margin-top:5px;font-family:var(--mono);font-weight:600;
  font-size:22px;font-variant-numeric:tabular-nums;color:var(--green)}
/* Functional APR tag — Hyperliquid's own framing for the past-month figure.
   Subtle tint, legible on the white card. */
.stat-tag{display:inline-block;margin-left:7px;vertical-align:middle;font-family:var(--sans);
  font-weight:700;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--green);
  background:var(--green-tint);padding:3px 7px;border-radius:6px}

/* ─── The deposit button — the loudest thing on the page ─────── */
.deposit-card{display:flex;flex-direction:column;gap:14px;
  background:linear-gradient(160deg,#f0faf3,#e2f1e8);border-radius:16px;
  padding:clamp(18px,1.9vw,24px);box-shadow:0 1px 2px rgba(20,20,15,.03),0 12px 30px rgba(14,143,87,.08)}
.btn-deposit{width:100%;justify-content:center;background:var(--green);color:#fff;
  font-size:17px;font-weight:700;letter-spacing:.005em;padding:18px 28px;border-radius:12px;
  box-shadow:0 8px 24px rgba(14,143,87,.34),0 2px 6px rgba(14,143,87,.22)}
.btn-deposit:hover{background:var(--green-deep);transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(14,143,87,.42),0 3px 8px rgba(14,143,87,.26)}
.btn-deposit-lg{width:auto;font-size:19px;padding:22px 36px}
/* Secondary button — the on-chain proof link, now a real emerald-outlined
   button under the address row (deposit card + final CTA). */
.btn-explorer{width:100%;justify-content:center;background:#fff;color:var(--green);
  border-color:rgba(14,143,87,.42);font-size:14px;font-weight:600;padding:14px 22px;border-radius:12px}
.btn-explorer:hover{background:var(--green-tint);border-color:var(--green);transform:translateY(-1px)}

/* ─── Track record — every row links on-chain ────────────────── */
.deal-row{cursor:pointer;transition:background .12s}
.deal-table tbody tr.deal-row:hover td{background:var(--green-tint)}
.deal-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.deal-table th.c-chain{text-align:right}
.dt-chain{text-align:right;white-space:nowrap}
.chain-link{font-family:var(--sans);font-weight:600;font-size:12px;color:var(--green);white-space:nowrap}
.chain-link:hover{text-decoration:underline}
.deal-empty .chain-link{font-size:inherit}

/* ─── Final CTA ──────────────────────────────────────────────── */
.final-cta{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px);border-top:1px solid var(--hair)}
.fc-inner{max-width:640px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.fc-inner .k{color:var(--green);margin-bottom:16px}
.fc-inner h2{font-size:clamp(30px,4.4vw,52px)}
.fc-inner p{margin:18px 0 0;font-size:17px;color:var(--ink-2);max-width:46ch}
.fc-inner p strong{color:var(--ink);font-weight:600}
.fc-cta{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:30px;width:100%;max-width:440px}
.fc-cta .addr-lg{width:100%;margin:0}
.fc-terms{display:flex;flex-wrap:wrap;justify-content:center;gap:28px;margin-top:36px}
.fc-terms .k{color:var(--muted)}
.fc-terms .v{display:block;margin-top:5px;font-weight:600;font-size:16px;color:var(--ink)}
.fc-terms .v-venue{display:inline-flex;align-items:center;gap:7px}
.fc-terms .v-venue img{height:15px;width:auto;display:block}
