/* MEMIX — VERTO-style design system, accent #ccff00 */
:root {
  --ink: #0a0a0a;
  --panel: #0c0c0c;
  --raise: #101010;
  --hairline: #1a1611;
  --faint: #2a2a2a;
  --bone: #e8dcc8;
  --ash: #8a7b68;
  --dust: #52493e;
  --band: #2e1b14;
  --gold: #dfb168;
  --gold-bright: #fbd48a;
  --accent: #ccff00;
  --accent-bright: #e0ff4d;
  --fern: #7ab05c;
  --rust: #da6158;
  --signal: #66e39b;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: Athelas, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: #0a0b09; }

.min-h-screen { min-height: 100vh; }
.bg-ink { background-color: var(--ink); }
.bg-panel { background-color: var(--panel); }
.bg-raise { background-color: var(--raise); }
.bg-hairline { background-color: var(--hairline); }
.bg-ink\/95 { background-color: rgba(10, 10, 10, 0.95); }
.text-bone { color: var(--bone); }
.text-ash { color: var(--ash); }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-rust { color: var(--rust); }
.border-hairline { border-color: var(--hairline); }
.border-gold { border-color: var(--gold); }
.border-accent { border-color: var(--accent); }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border { border-width: 1px; border-style: solid; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-\[1320px\] { max-width: 1320px; }
.max-w-\[520px\] { max-width: 520px; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-\[18px\] { padding-left: 18px; padding-right: 18px; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-9 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.pt-3\.5 { padding-top: 0.875rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-14 { padding-top: 3.5rem; }
.pb-\[46px\] { padding-bottom: 46px; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.my-3\.5 { margin-top: 0.875rem; margin-bottom: 0.875rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.-m-2 { margin: -0.5rem; }
.p-2 { padding: 0.5rem; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-5 { gap: 1.25rem; }
.gap-\[22px\] { gap: 22px; }
.gap-px { gap: 1px; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-2\.5 { height: 0.625rem; }
.h-3\.5 { height: 0.875rem; }
.h-\[8px\] { height: 8px; }
.h-\[11px\] { height: 11px; }
.h-\[200px\] { height: 200px; }
.h-full { height: 100%; }
.hero-sphere-wrap {
  position: relative;
  height: clamp(420px, 72vw, 940px);
  width: 100%;
  min-height: 420px;
}
.relative { position: relative; }
.fixed { position: fixed; }
.inset-x-0 { left: 0; right: 0; }
.bottom-0 { bottom: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[13px\] { font-size: 13px; }
.text-\[13\.5px\] { font-size: 13.5px; }
.text-\[15px\] { font-size: 15px; }
.text-\[19px\] { font-size: 19px; }
.text-\[28px\] { font-size: 28px; }
.text-\[clamp\(38px\,6\.6vw\,88px\)\] { font-size: clamp(38px, 6.6vw, 88px); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.06\] { line-height: 1.06; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[-0\.01em\] { letter-spacing: -0.01em; }
.tracking-wide { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.tabular { font-variant-numeric: tabular-nums; }
.rounded-full { border-radius: 9999px; }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.transition-colors { transition: color 150ms, border-color 150ms, background-color 150ms; }
.disabled\:opacity-40:disabled { opacity: 0.4; cursor: not-allowed; }
.text-balance { text-wrap: balance; }

.font-display { font-family: var(--font-heading); }
.prose { font-family: var(--font-body); letter-spacing: -0.005em; }

.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.625rem;
  line-height: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.label-dim { opacity: 0.7; }
.label-bone { color: var(--bone) !important; }
.text-label { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; }
.tracking-label { letter-spacing: 0.18em; }

.tick-frame {
  position: relative;
  border: 1px solid var(--hairline);
}
.band { background: var(--band); }
.section-rule { border-bottom: 1px solid hsla(37, 65%, 64%, 0.3); }
.hatch {
  background-image: repeating-linear-gradient(
    45deg,
    var(--hairline) 0,
    var(--hairline) 1px,
    transparent 1px,
    transparent 6px
  );
}

.hover\:text-bone:hover { color: var(--bone); }
.hover\:border-dust:hover { border-color: var(--dust); }
.hover\:border-gold-bright:hover { border-color: var(--gold-bright); }
.hover\:text-gold-bright:hover { color: var(--gold-bright); }
.hover\:border-accent-bright:hover { border-color: var(--accent-bright); }
.hover\:text-accent-bright:hover { color: var(--accent-bright); }

.logo-mark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(204, 255, 0, 0.35);
  flex-shrink: 0;
}

.held-dot {
  background: radial-gradient(circle, #ccff00 0 1.5px, #e8dcc8 1.5px 100%);
  opacity: 0.9;
  width: 10px;
  height: 10px;
}

.nav-value {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-value.is-empty {
  font-size: 15px;
  color: var(--ash);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.holdings-table {
  border-collapse: collapse;
  width: 100%;
}
.holdings-table thead th {
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.holdings-table tbody td {
  border-bottom: 1px solid rgba(26, 22, 17, 0.7);
  vertical-align: middle;
  padding: 0.875rem 1.25rem;
}
.holdings-table tbody tr:last-child td { border-bottom: 0; }
.holdings-table tbody tr:hover { background: rgba(232, 220, 200, 0.022); }
.holdings-table .sym {
  font-size: 13px;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.holdings-table .muted { color: var(--ash); }
.holdings-table .text-right { text-align: right; }
.holdings-table .text-left { text-align: left; }
.holdings-table .since-sub {
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
  font-size: 11px;
  color: var(--dust);
}
.pos-up { color: var(--fern); }
.pos-down { color: var(--rust); }
.pos-flat { color: var(--dust); }
.text-fern { color: var(--fern); }
.ml-2\.5 { margin-left: 0.625rem; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.min-w-\[790px\] { min-width: 790px; }
.border-collapse { border-collapse: collapse; }
.font-normal { font-weight: 400; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.mt-3\.5 { margin-top: 0.875rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1\.5 { row-gap: 0.375rem; }
.gap-x-3.gap-y-1\.5,
.flex.flex-wrap.items-center.gap-x-3 { }

/* NAV chart */
#nav-chart .nav-chart-empty {
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  background: var(--raise);
}
#nav-chart svg {
  height: 200px;
  width: 100%;
  display: block;
}
#nav-chart .nav-chart-range {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.spotlight-card {
  background: var(--panel);
  padding: 1.5rem 1.25rem;
  min-height: 140px;
}
.spotlight-card .rank {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  font-weight: 700;
}
.spotlight-card .name {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--bone);
}
.spotlight-card .weight {
  margin-top: 0.5rem;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--accent);
}

.position-row {
  display: grid;
  grid-template-columns: 36px 100px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.position-row:last-child { border-bottom: none; }
.bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bar-track {
  height: 6px;
  background: var(--raise);
  border: 1px solid var(--hairline);
  position: relative;
}
.bar-fill-fund {
  height: 100%;
  background: var(--accent);
  opacity: 0.9;
}
.bar-fill-market {
  height: 100%;
  background: var(--gold);
  opacity: 0.75;
}
.bar-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--hairline);
}
.bar-swatch-fund { background: var(--accent); }
.bar-swatch-market { background: var(--gold); }

.hero-sphere {
  cursor: default;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-7 { gap: 1.75rem; }
  .sm\:ml-auto { margin-left: auto; }
  .sm\:inline { display: inline; }
  .sm\:pt-16 { padding-top: 4rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-\[minmax\(0\,\.95fr\)_minmax\(0\,1\.35fr\)\] {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  }
  .lg\:border-b-0 { border-bottom-width: 0; }
  .lg\:border-r {
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: var(--hairline);
  }
}
