:root {
  --bg-0: #05070a;
  --bg-1: #0b1016;
  --bg-2: #121920;
  --bg-3: #1a232b;
  --text: #e8edf2;
  --text-muted: #8a99a8;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --success: #22c55e;
  --warning: #f59e0b;
  --border: rgba(148, 163, 184, 0.12);
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: var(--text);
}

.main-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020408;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.22);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.55), rgba(5, 7, 10, 0.75)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  filter: brightness(0.60) contrast(1.1);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 28px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow.center {
  text-align: center;
  display: block;
}

.hero h1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--bg-1);
}

.section-gradient {
  background: linear-gradient(180deg, var(--bg-0), var(--bg-2));
}

.section h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section h2.center,
.section .lead.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
}

.center {
  text-align: center;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-2.reverse {
  direction: rtl;
}

.grid-2.reverse > * {
  direction: ltr;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

/* Cards */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.25);
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card-visual {
  padding: 0;
  overflow: hidden;
  background: var(--bg-3);
}

.team-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: -0.5rem auto 2rem;
  line-height: 1.5;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Model cards */
.model-card {
  padding: 0;
  overflow: hidden;
}

.model-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.model-card h3,
.model-card p {
  padding: 0 1.75rem;
}

.model-card h3 {
  margin-top: 1.75rem;
}

.model-card p {
  margin-bottom: 1.75rem;
}

/* Team headshots */
.team-headshot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid var(--border);
  display: block;
}

.role-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.role-card .role-title {
  font-family: inherit;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.role-card .role-salary {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Marketplace diagram */
.marketplace-diagram {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.marketplace-diagram img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Unit economics */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.unit-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.unit-val {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.unit-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Roles */
.role-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.role-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.role-card p {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Funds table */
.funds-table-wrap {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.funds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.funds-table th,
.funds-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.funds-table thead {
  background: var(--bg-2);
}

.funds-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.funds-table td:nth-child(2) {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.funds-table tfoot td {
  border-bottom: none;
  background: var(--bg-3);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.timeline-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 2px;
  height: 1rem;
  background: var(--accent);
}

.time-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CTA */
.section-cta {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  text-align: center;
}

.section-cta h2 {
  margin-bottom: 1rem;
}

.subtle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-content {
  text-align: center;
}

.disclaimer {
  max-width: 640px;
  margin: 1rem auto;
  font-size: 0.8rem;
  opacity: 0.8;
}

.copyright {
  margin-top: 1.5rem;
  opacity: 0.6;
}

.final-statement {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.compliance-footer {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  text-align: left;
}

.compliance-footer p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.compliance-footer p:last-child {
  margin-bottom: 0;
}

.cta-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 980px) {
  .grid-3,
  .unit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .main-nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-5,
  .unit-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .grid-2.reverse {
    direction: ltr;
  }

  .section {
    padding: 4rem 0;
  }

  .funds-table th,
  .funds-table td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
