/* Dome Research — design system from the PECO LP deck */
:root {
  --bg:        #16161F;
  --bg-deep:   #0A0A12;
  --panel:     #1C1C28;
  --panel-2:   #2C2C3C;
  --teal:      #2DD4BF;
  --teal-soft: #5EEAD4;
  --violet:    #8B5CF6;
  --violet-soft:#A78BFA;
  --text:      #FFFFFF;
  --text-soft: #D8D8E4;
  --muted:     #7C7C92;
  --line:      rgba(255,255,255,0.08);

  --font-head: 'Inter', system-ui, sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --font-brand: 'MuseoModerno', system-ui, sans-serif;

  --sidebar-w: 264px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.layout { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--bg-deep);
  border-right: 1px solid var(--line);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-bottom: 18px;
  opacity: 0.96;
}
.brand-mark {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-sub {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 6px;
}

.side-nav {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.side-nav a:hover {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}
.sidebar-foot a { color: var(--text-soft); }
.sidebar-foot a:hover { color: var(--teal); }

/* ---------- Main content ---------- */
.content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 0 8vw;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139,92,246,0.16), transparent 60%),
    radial-gradient(800px 480px at 0% 30%, rgba(45,212,191,0.10), transparent 55%);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.74rem;
  color: var(--teal);
  margin-bottom: 22px;
}
h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.lede {
  margin-top: 26px;
  font-size: 1.18rem;
  font-weight: 300;
  max-width: 540px;
  color: var(--text-soft);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .18s ease, border-color .18s ease;
  display: inline-block;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--teal); color: var(--bg-deep); font-weight: 600; }
.button.primary:hover { background: var(--teal-soft); }
.button.ghost { border-color: var(--line); color: var(--text); }
.button.ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Content blocks ---------- */
.block {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.kicker {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--violet-soft);
}
h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 16px 0 0;
}
.block-lede { margin-top: 18px; font-size: 1.12rem; font-weight: 300; max-width: 600px; }
.block-note { margin-top: 14px; font-size: 0.86rem; color: var(--muted); font-style: italic; }

.card-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  transition: transform .16s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(45,212,191,0.4); }
.card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--text);
  margin-bottom: 10px;
}
.card p { font-size: 0.98rem; color: var(--text-soft); }
.card.featured {
  background: linear-gradient(150deg, rgba(45,212,191,0.12), rgba(139,92,246,0.12));
  border-color: rgba(45,212,191,0.3);
  grid-column: 1 / -1;
}

/* ---------- Investments ---------- */
.invest-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.invest-item { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.inv-logo {
  height: 44px;
  width: auto;
  opacity: 0.95;
}
.inv-logo.invert { filter: invert(1); }
.invest-item h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invest-item .round {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--teal);
}
.invest-desc { font-size: 0.93rem; font-weight: 300; color: var(--text-soft); }

.content-foot {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}
.content-foot a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .sidebar {
    position: static;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .brand { flex-direction: row; align-items: center; gap: 10px; }
  .brand-logo { margin-bottom: 0; height: 22px; }
  .brand-sub { margin-top: 0; }
  .side-nav { margin: 0 0 0 auto; flex-direction: row; gap: 2px; }
  .side-nav a { padding: 8px 12px; font-size: 0.92rem; }
  .sidebar-foot { display: none; }
  .layout { flex-direction: column; }
  .content { margin-left: 0; padding: 0 7vw; }
  .card-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; gap: 36px; }
}
