:root {
  --bg: #0b1020;
  --bg-alt: #121a31;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5b6475;
  --light-text: #d9e2f2;
  --accent: #4f7cff;
  --accent-dark: #365fd9;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(7, 13, 29, 0.18);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f6f8fc;
  line-height: 1.6;
}

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

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

.narrow {
  max-width: 780px;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: white;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--light-text);
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  background: linear-gradient(135deg, #09101f 0%, #12203f 55%, #1b2952 100%);
  color: white;
  padding: 6rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label,
.portfolio-type {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8fb0ff;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0.75rem 0 1rem;
  max-width: 12ch;
}

.hero-text {
  color: var(--light-text);
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card,
.info-card,
.portfolio-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.metric + .metric {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.metric-label {
  color: var(--light-text);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #eef3fb;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section h2,
.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
}

.capital-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card,
.portfolio-card {
  background: white;
  border: 1px solid #e4e8f1;
}

.portfolio-card.featured {
  border-color: #c9d8ff;
  box-shadow: 0 20px 50px rgba(79, 124, 255, 0.12);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.support-item {
  background: white;
  border: 1px solid #e4e8f1;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.support-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.support-copy,
.footer-copy {
  color: var(--muted);
}

.cta-section {
  background: linear-gradient(180deg, #f6f8fc 0%, #ecf2ff 100%);
}

.site-footer {
  background: var(--bg);
  color: white;
  padding: 2rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .capital-grid,
  .portfolio-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    gap: 0.85rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    max-width: none;
  }
}