:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --bg-alt: #11151c;
  --card: #1a1f28;
  --card-bright: #202734;
  --text: #f3f6ff;
  --muted: #a7b0c2;
  --line: rgba(255, 255, 255, 0.08);
  --green: #1db954;
  --green-bright: #25e06a;
  --green-dark: #159844;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(29, 185, 84, 0.18), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(29, 185, 84, 0.12), transparent 45%),
    linear-gradient(180deg, #0a0c10 0%, #0f131b 45%, #0c0f14 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--green-bright);
}

.page {
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(0px);
  background: radial-gradient(circle, rgba(37, 224, 106, 0.2), transparent 70%);
  z-index: 0;
}

.page::before {
  top: -120px;
  right: -180px;
}

.page::after {
  bottom: -200px;
  left: -140px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 10px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 4px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.nav-cta .bmc-button,
.nav-cta .bmc-btn {
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 10px !important;
  font-size: 0.85rem !important;
  border-radius: 999px !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--green), var(--green-bright));
  color: #07120b;
  box-shadow: 0 14px 30px rgba(29, 185, 84, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 185, 84, 0.45);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(10, 12, 18, 0.6);
}

.btn-ghost:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 60px 0 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--green-bright);
  font-weight: 700;
}

.hero h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(160deg, rgba(26, 31, 40, 0.9), rgba(16, 20, 28, 0.95));
  border: 1px solid rgba(37, 224, 106, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 224, 106, 0.12);
  pointer-events: none;
}

.hero-card h2 {
  margin-top: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.5rem;
}

.feature-list {
  list-style: disc;
  padding-left: 20px;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.feature-list li {
  line-height: 1.5;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.section {
  padding: 40px 0;
}

.section h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.features {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 28px;
}

.step {
  padding: 22px;
  background: linear-gradient(160deg, rgba(32, 39, 52, 0.9), rgba(18, 23, 31, 0.9));
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 224, 106, 0.12);
}

.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(29, 185, 84, 0.18);
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.doc-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.doc-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(10, 12, 18, 0.5);
}

.doc-links span {
  color: var(--muted);
  font-size: 0.9rem;
}

pre {
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  color: #dce6f0;
  font-size: 0.9rem;
  line-height: 1.6;
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
}

.roadmap-preview {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}

.timeline-card {
  background: var(--card-bright);
  border: 1px solid rgba(37, 224, 106, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
}

.timeline-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.timeline-card p {
  color: var(--muted);
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin: 0 0 10px;
}

.footer-grid a {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--green-bright);
}

.roadmap-page .hero {
  padding-top: 40px;
}

.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.policy-header h1 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.policy-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-content {
  color: var(--muted);
  line-height: 1.65;
}

.policy-content section + section {
  margin-top: 24px;
}

.policy-content h2,
.policy-content h3 {
  color: var(--text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin: 0 0 10px;
}

.policy-content h2 {
  font-size: 1.3rem;
}

.policy-content h3 {
  font-size: 1.05rem;
  margin-top: 18px;
}

.policy-content p {
  margin: 0 0 12px;
}

.policy-content ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}

.policy-content li {
  margin-bottom: 6px;
}

.policy-content strong {
  color: var(--text);
}

.roadmap-list {
  display: grid;
  gap: 24px;
}

.roadmap-section {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 22px;
}

.roadmap-section h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.roadmap-section ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 224, 106, 0.12);
  color: var(--green-bright);
  margin-left: 8px;
}

.status.in-progress {
  background: rgba(255, 202, 40, 0.2);
  color: #ffd166;
}

.status.todo {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.live-roadmap {
  border: 1px dashed rgba(37, 224, 106, 0.3);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--muted);
  margin-top: 16px;
}

.live-roadmap strong {
  color: var(--text);
}

.markdown {
  color: var(--muted);
  line-height: 1.6;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5 {
  color: var(--text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.markdown ul {
  padding-left: 20px;
}

.markdown ul ul {
  margin-top: 8px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.7s ease both;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }
}
