/* Rayva investors page — faithful translation of "Rayva Investors.dc.html".
   This page uses an ink (#171717) chrome and a 1160px container; desktop
   matches the design exactly, with single-column fallbacks under 860px. */

.inv-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */
.inv-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
}
.inv-nav .inv-wrap {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.inv-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.inv-nav .brand img {
  height: 26px;
}
.inv-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey);
  border: 1px solid rgba(244, 184, 96, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.inv-nav .nav-links {
  gap: 26px;
}
.inv-nav .btn-coral {
  padding: 10px 22px;
  font-size: 14.5px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.inv-hero {
  background: var(--ink);
}
.inv-hero .inv-wrap {
  padding-top: 80px;
  padding-bottom: 72px;
}
.inv-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 14px;
}
.inv-hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1.03;
  margin: 0 0 18px;
  color: var(--ghost);
  max-width: 880px;
}
.inv-hero .lede {
  font-size: 18px;
  color: var(--ghost-72);
  margin: 0 0 36px;
  max-width: 720px;
}
.thesis-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.thesis-stats .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ghost);
}
.thesis-stats .cap {
  font-size: 13px;
  color: rgba(247, 246, 251, 0.6);
}

/* ── Market charts ────────────────────────────────────────────────────── */
.market .inv-wrap {
  padding-top: 88px;
  padding-bottom: 88px;
}
.market-head {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.market-head > div {
  flex: 1;
  min-width: 280px;
}
.market-head .eyebrow {
  color: var(--charcoal);
}
.market-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  margin: 0;
}
.btn-outline {
  flex: none;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.14);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--ink);
}
.btn-outline:hover {
  background: rgba(23, 23, 23, 0.04);
  color: var(--ink);
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .chart-grid {
    grid-template-columns: 1fr;
  }
}
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.chart-card .t {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}
.chart-card .s {
  font-size: 13.5px;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.chart-card .note {
  font-size: 13.5px;
  color: var(--charcoal);
}
.bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  height: 150px;
  padding: 0 10px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.bar-col .v {
  font-weight: 700;
  font-size: 15px;
}
.bar-col .bar {
  width: 100%;
  border-radius: 12px 12px 4px 4px;
  background: rgba(23, 23, 23, 0.15);
}
.bar-col .bar.coral {
  background: var(--coral);
}
.bar-col .y {
  font-size: 12.5px;
  color: var(--charcoal);
}
.chart-card .big-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.split-bar {
  display: flex;
  height: 30px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.split-bar .a {
  width: 63%;
  background: var(--coral);
}
.split-bar .b {
  width: 37%;
  background: var(--honey-tile);
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--charcoal);
  flex-wrap: wrap;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend .sw {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(23, 23, 23, 0.1);
}
.legend .sw.coral {
  background: var(--coral);
}
.legend .sw.honey {
  background: var(--honey-tile);
}
.desert-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.desert-grid span {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(23, 23, 23, 0.1);
}
.desert-grid .hot {
  background: var(--coral);
  animation: rvPulse 2.6s infinite;
}
.wage-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wage-row .heads {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 5px;
  font-weight: 700;
}
.wage-row .track {
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
}
.wage-row .track span {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.market .sources {
  font-size: 12px;
  color: var(--charcoal);
  margin: 18px 4px 0;
}

/* ── Playbook ─────────────────────────────────────────────────────────── */
.playbook {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.playbook .inv-wrap {
  padding-top: 88px;
  padding-bottom: 88px;
}
.playbook .eyebrow {
  color: var(--charcoal);
}
.playbook h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 16px;
}
.playbook .lede {
  font-size: 16.5px;
  color: var(--charcoal);
  margin: 0 0 40px;
  max-width: 720px;
}
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .phase-grid {
    grid-template-columns: 1fr;
  }
}
.phase-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phase-card.now {
  background: #fff1ee;
  border-color: rgba(255, 124, 100, 0.5);
}
.phase-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ghost);
  border: 1px solid rgba(23, 23, 23, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.phase-num.coral {
  background: var(--coral);
  border: none;
  animation: rvPulse 2.4s infinite;
}
.phase-num.honey {
  background: var(--honey-tile);
  border: none;
}
.phase-when {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.phase-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
}
.phase-card p {
  font-size: 14.5px;
  color: var(--charcoal);
  margin: 0;
}

/* ── Model + moat ─────────────────────────────────────────────────────── */
.model-moat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 88px;
}
@media (max-width: 860px) {
  .model-moat {
    grid-template-columns: 1fr;
  }
}
.model-moat .eyebrow {
  color: var(--charcoal);
}
.model-moat h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 24px;
}
.engine-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.engine-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.engine-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.engine-head .icon-tile {
  width: 38px;
  height: 38px;
}
.engine-head .icon-tile i {
  font-size: 19px;
}
.engine-head .icon-tile.plain {
  background: var(--ghost);
}
.engine-head .t {
  font-weight: 700;
  font-size: 17px;
}
.engine-tag {
  margin-left: auto;
  background: var(--honey-tile);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.engine-tag.plain {
  background: var(--ghost);
  border: 1px solid rgba(23, 23, 23, 0.1);
}
.engine-card p {
  font-size: 14.5px;
  color: var(--charcoal);
  margin: 0;
}
.moat-list {
  display: flex;
  flex-direction: column;
}
.moat-row {
  display: flex;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}
.moat-row:last-child {
  border-bottom: none;
}
.moat-rank {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--tomato);
  width: 28px;
  flex: none;
}
.moat-row .t {
  font-weight: 700;
  font-size: 15.5px;
}
.moat-row .d {
  font-size: 13.5px;
  color: var(--charcoal);
}

/* ── Landscape + comparables ──────────────────────────────────────────── */
.landscape {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.landscape .inv-wrap {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
}
@media (max-width: 860px) {
  .landscape .inv-wrap {
    grid-template-columns: 1fr;
  }
}
.landscape .eyebrow {
  color: var(--charcoal);
}
.landscape h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin: 0 0 24px;
}
.landscape-table-scroll {
  overflow-x: auto;
}
.landscape table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.landscape thead tr {
  border-bottom: 2px solid var(--ink);
  text-align: left;
}
.landscape th {
  padding: 9px 12px 9px 0;
  font-weight: 700;
}
.landscape th:last-child {
  padding-right: 0;
}
.landscape tbody tr {
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}
.landscape tbody tr:last-child {
  border-bottom: none;
}
.landscape td {
  padding: 10px 12px 10px 0;
}
.landscape td:last-child {
  padding-right: 0;
  color: var(--charcoal);
}
.landscape td.player {
  font-weight: 700;
}
.exit-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-card {
  background: var(--ghost);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.exit-card .amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  width: 92px;
  flex: none;
}
.exit-card .t {
  font-weight: 700;
  font-size: 14.5px;
}
.exit-card .d {
  font-size: 13px;
  color: var(--charcoal);
}

/* ── Team + round ─────────────────────────────────────────────────────── */
.team .inv-wrap {
  padding-top: 88px;
  padding-bottom: 88px;
}
.team .eyebrow {
  color: var(--charcoal);
}
.team h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 36px;
}
.founder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 720px;
  margin-bottom: 56px;
}
.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--peach-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 21px;
  flex: none;
}
.founder-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
}
.founder-card .role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.founder-card .bio {
  font-size: 14.5px;
  color: var(--charcoal);
  margin: 6px 0 0;
}
.round-card {
  background: var(--ink);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .round-card {
    grid-template-columns: 1fr;
  }
}
.round-card h2 {
  font-size: clamp(30px, 3.5vw, 38px);
  color: var(--ghost);
  margin: 0 0 12px;
}
.round-card p {
  font-size: 15.5px;
  color: var(--ghost-72);
  margin: 0;
  max-width: 560px;
}
.round-card .btn-coral {
  font-size: 16px;
  padding: 16px 30px;
  white-space: nowrap;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.inv-footer {
  background: var(--ink);
}
.inv-footer .inv-wrap {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(247, 246, 251, 0.55);
  flex-wrap: wrap;
}
.inv-footer img {
  height: 20px;
}
.inv-footer a {
  margin-left: auto;
  text-decoration: none;
  color: rgba(247, 246, 251, 0.8);
}
