:root {
  color-scheme: dark;
  --ink: #f3f7fb;
  --muted: #9ca8b8;
  --soft: #cdd7e5;
  --line: rgba(153, 69, 255, 0.18);
  --paper: #070910;
  --panel: rgba(13, 17, 26, 0.96);
  --panel-soft: rgba(18, 24, 36, 0.86);
  --deep: #05070c;
  --deep-muted: #9ca8b8;
  --purple: #9945ff;
  --accent: #00d4ff;
  --accent-dark: #14f195;
  --copper: #ffdc73;
  --copper-soft: rgba(255, 220, 115, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% -8%, rgba(153, 69, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(20, 241, 149, 0.1), transparent 30rem),
    radial-gradient(circle at 56% 0%, rgba(0, 212, 255, 0.07), transparent 34rem),
    linear-gradient(180deg, var(--paper), #080a10 72%, var(--deep));
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 9, 16, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--accent) 52%, var(--accent-dark));
  box-shadow: 0 14px 34px rgba(153, 69, 255, 0.22);
  color: #061014;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.section-shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(52px, 8vw, 112px) 0 clamp(34px, 5vw, 72px);
}

.status-label,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-label {
  padding: 8px 12px;
  border: 1px solid rgba(20, 241, 149, 0.28);
  border-radius: 999px;
  background: rgba(20, 241, 149, 0.07);
}

.hero h1,
h2 {
  margin: 0;
  max-width: 850px;
  color: var(--ink);
  font-family:
    Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 5.55rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.hero-subtext {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.notice {
  max-width: 760px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 220, 115, 0.25);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  background: rgba(255, 220, 115, 0.07);
  color: var(--soft);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(153, 69, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--purple), var(--accent) 52%, var(--accent-dark));
  color: #061014;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(90deg, #a95fff, #26dcff 52%, #31f5a5);
  color: #061014;
}

.transparency-panel {
  align-self: stretch;
  min-height: 420px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(153, 69, 255, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 241, 149, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(13, 17, 26, 0.97), rgba(8, 13, 21, 0.95));
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.panel-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-line {
  height: 1px;
  flex: 1 1 auto;
  background: var(--line);
}

.transparency-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transparency-panel li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.transparency-panel li:last-child {
  border-bottom: 0;
}

.transparency-panel li span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(153, 69, 255, 0.14);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.transparency-panel li strong {
  color: var(--soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.3;
}

.content-band {
  padding: clamp(58px, 8vw, 104px) 0;
  border-top: 1px solid rgba(153, 69, 255, 0.14);
  border-bottom: 1px solid rgba(153, 69, 255, 0.14);
  background: rgba(13, 17, 26, 0.7);
}

.light-band {
  background: var(--panel-soft);
}

.dark-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(153, 69, 255, 0.17), transparent 23rem),
    radial-gradient(circle at 85% 8%, rgba(20, 241, 149, 0.1), transparent 23rem),
    linear-gradient(180deg, rgba(13, 17, 26, 0.98), rgba(7, 9, 16, 0.96));
  color: var(--ink);
}

.dark-band h2 {
  color: var(--ink);
}

.dark-band .eyebrow {
  color: var(--accent-dark);
}

.dark-band .copy-stack {
  color: var(--deep-muted);
}

.cyfnd-token-link {
  display: inline-grid;
  gap: 10px;
  justify-items: center;
  margin-top: 24px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.cyfnd-token-link img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(153, 69, 255, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cyfnd-token-link:hover img,
.cyfnd-token-link:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(153, 69, 255, 0.42);
}

.cyfnd-token-link:hover,
.cyfnd-token-link:focus-visible,
.cyfnd-inline-link:hover,
.cyfnd-inline-link:focus-visible {
  color: var(--accent-dark);
}

.cyfnd-live-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(20, 241, 149, 0.3);
  border-radius: 999px;
  background: rgba(20, 241, 149, 0.08);
  color: var(--accent-dark) !important;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cyfnd-live-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 12px rgba(20, 241, 149, 0.78);
}

.cyfnd-inline-link {
  color: var(--accent);
  font-weight: 750;
}

.cyfnd-fine-print {
  padding-top: 16px;
  border-top: 1px solid rgba(153, 69, 255, 0.2);
  color: var(--muted) !important;
  font-size: 0.68rem !important;
  line-height: 1.55;
}

.cyfnd-fine-print strong {
  color: var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.content-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  margin-bottom: 28px;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.copy-stack p {
  margin: 0;
}

.wide-copy {
  max-width: 870px;
  margin-top: 24px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.principle-grid article {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 17, 26, 0.97), rgba(8, 13, 21, 0.95));
  box-shadow: var(--shadow);
}

.principle-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 850;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
}

.cash-flow-band {
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 212, 255, 0.08), transparent 28rem),
    rgba(7, 9, 16, 0.76);
}

.cash-flow-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: 32px;
}

.cash-flow-intro {
  max-width: 660px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-card {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card-primary {
  background:
    linear-gradient(135deg, rgba(153, 69, 255, 0.24), rgba(0, 212, 255, 0.1)),
    var(--panel);
  color: var(--ink);
}

.metric-label,
.metric-card small,
.metric-card strong {
  display: block;
}

.metric-label {
  min-height: 44px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.metric-card-primary .metric-label,
.metric-card-primary small {
  color: var(--deep-muted);
}

.metric-card strong {
  margin: 12px 0 8px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.metric-card small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.reconciliation-note {
  margin: 16px 0 28px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 220, 115, 0.25);
  border-radius: 8px;
  background: rgba(255, 220, 115, 0.07);
  color: var(--soft);
  font-size: 0.9rem;
}

.cash-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.cash-flow-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13, 17, 26, 0.97), rgba(8, 13, 21, 0.95));
  box-shadow: var(--shadow);
}

.projection-panel {
  padding: clamp(20px, 3vw, 30px);
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.panel-overline {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cash-flow-panel h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.chart-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.actual-swatch,
.actual-bar {
  background: var(--accent);
}

.projected-swatch,
.projected-bar {
  background: repeating-linear-gradient(
    135deg,
    var(--purple) 0,
    var(--purple) 5px,
    var(--accent) 5px,
    var(--accent) 10px
  );
}

.projection-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.projection-summary div {
  padding: 16px;
  background: var(--panel-soft);
}

.projection-summary span,
.projection-summary strong,
.projection-summary small {
  display: block;
}

.projection-summary span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}

.projection-summary strong {
  margin: 6px 0 2px;
  font-size: 1.45rem;
}

.projection-summary small {
  color: var(--muted);
}

.cash-flow-table-wrap {
  overflow-x: auto;
}

.cash-flow-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.cash-flow-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cash-flow-table th,
.cash-flow-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(153, 69, 255, 0.14);
  text-align: left;
  vertical-align: middle;
}

.cash-flow-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cash-flow-table tbody th {
  width: 52px;
}

.cash-flow-table tbody td:nth-child(2) {
  width: 150px;
  font-weight: 700;
}

.cash-flow-table tbody td:nth-child(3) {
  width: 44%;
}

.cash-flow-table tbody td:last-child {
  width: 105px;
}

.cash-flow-table td small {
  color: var(--copper);
  font-weight: 650;
}

.bar {
  display: block;
  width: var(--bar);
  min-width: 4px;
  height: 10px;
  border-radius: 999px;
}

.stacked-bar {
  display: flex;
  width: 100%;
  gap: 2px;
}

.status-pill {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.actual-pill {
  background: rgba(20, 241, 149, 0.1);
  color: var(--accent-dark);
}

.projected-pill {
  background: var(--copper-soft);
  color: var(--copper);
}

.mixed-pill {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
}

.method-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.reserves-panel {
  overflow: hidden;
  padding: 24px;
}

.reserve-list {
  display: grid;
  gap: 0;
  margin: 20px 0;
}

.reserve-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.asset-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.asset-symbol img {
  display: block;
  width: 46px;
  height: 46px;
}

.solana-symbol {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050507;
  box-shadow: none;
}

.solana-symbol img {
  width: 32px;
  height: auto;
}

.reserve-row strong,
.reserve-row small {
  display: block;
}

.reserve-row strong {
  font-size: 1.05rem;
}

.reserve-row small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.verification-block {
  margin: 24px -24px -24px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(153, 69, 255, 0.08);
}

.verification-block span,
.verification-block strong {
  display: block;
}

.verification-block span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.verification-block strong {
  margin: 3px 0 8px;
}

.verification-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.performance-warning {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border-left: 4px solid var(--copper);
  border-top: 1px solid rgba(255, 220, 115, 0.18);
  border-right: 1px solid rgba(255, 220, 115, 0.18);
  border-bottom: 1px solid rgba(255, 220, 115, 0.18);
  background: rgba(255, 220, 115, 0.07);
  color: var(--ink);
}

.performance-warning strong {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 1.2rem;
}

.performance-warning p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.performance-warning .unrealized-losses {
  font-size: 0.76rem;
  line-height: 1.55;
}

.source-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: clamp(34px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.footer-brand .brand-mark {
  border: 0;
  background: linear-gradient(135deg, var(--purple), var(--accent) 52%, var(--accent-dark));
  color: #061014;
}

.footer-brand small {
  color: var(--muted);
}

.footer-disclaimer {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .transparency-panel {
    min-height: 0;
  }

  .two-column,
  .cash-flow-heading,
  .cash-flow-layout,
  .performance-warning,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card:nth-child(2) {
    border-right: 0;
  }

  .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .notice {
    padding: 14px;
  }

  .metric-grid,
  .projection-summary {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .metric-card:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .metric-label {
    min-height: 0;
  }

  .panel-title-row {
    flex-direction: column;
  }

  .transparency-panel li {
    grid-template-columns: 36px 1fr;
  }

  .transparency-panel li span {
    width: 36px;
    height: 36px;
  }
}
