:root {
  --bg: #f8fafc;
  --bg-alt: #0f172a;
  --panel: #0b1224;
  --text: #0b1224;
  --muted: #4b5563;
  --line: #e2e8f0;
  --brand: #0ea5e9;
  --brand-strong: #0284c7;
  --accent: #f59e0b;
  --success: #10b981;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(3, 7, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.1), transparent 25%),
    var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  font-size: 20px;
}

.brand-tag {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-strong);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.28);
}

.btn.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn.secondary:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.text-link {
  color: var(--brand-strong);
  font-weight: 600;
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-strong);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lede,
.section-lede,
.hero .lede {
  color: var(--muted);
}

.lede,
.hero .lede {
  margin: 0 0 18px;
}

.section-lede {
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.cta-row-centered {
  justify-content: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.developer-note {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.developer-note-light {
  color: rgba(229, 231, 235, 0.88);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--brand-strong);
  font-weight: 600;
  font-size: 13px;
}

.pill.subtle {
  background: rgba(14, 165, 233, 0.08);
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(180deg, #0f172a, #0b1224);
  color: #e5e7eb;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green { background: #22c55e; }
.dot.amber { background: #f59e0b; }
.dot.blue { background: #38bdf8; }

.card-label {
  font-weight: 600;
  color: #cbd5e1;
  margin: 0;
}

.card-body {
  display: grid;
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 12px;
}

.stat-label {
  color: #94a3b8;
  font-size: 13px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.stat-value.highlight {
  color: #34d399;
}

.stat-foot {
  color: #94a3b8;
  font-size: 13px;
}

.section {
  padding: 68px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(11, 18, 36, 0.98));
  color: #e5e7eb;
}

.section.alt .section-lede,
.section.alt .eyebrow {
  color: #cbd5e1;
}

.section.alt .pill {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(3, 7, 18, 0.05);
}

.feature-card p {
  color: var(--muted);
  margin: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  margin-bottom: 12px;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.copy h2 { margin-bottom: 10px; }

.list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.list.tight li {
  margin-bottom: 8px;
}

.list li + li {
  margin-top: 6px;
}

.inline-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.card {
  background: #0b1224;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card .text-link { color: #7dd3fc; }

.stack {
  display: grid;
  gap: 16px;
}

.stack-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
}

.stack-card.muted {
  background: rgba(255, 255, 255, 0.04);
}

.availability-grid {
  display: grid;
  gap: 0.85rem;
}

.availability-grid-public {
  margin-top: 1rem;
}

.availability-item {
  display: grid;
  gap: 0.2rem;
}

.availability-item-light {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.availability-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.availability-value {
  font-size: 1.05rem;
}

.trust-list {
  color: #e5e7eb;
}

.trust-list li::marker {
  color: #7dd3fc;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-value {
  font-size: 24px;
  margin: 4px 0 0;
}

.progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.stack-list li {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
}

.section.alt .card,
.section.alt .stack-card,
.section.alt .stack-card.muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.section.alt .card .text-link {
  color: #7dd3fc;
}

.cta-block {
  background: #0b1224;
  color: #e5e7eb;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cta-block-centered {
  text-align: center;
}

.footer {
  background: #0b1224;
  color: #cbd5e1;
  padding: 36px 0 24px;
  margin-top: 32px;
}

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

.footer-text {
  color: #94a3b8;
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  color: #94a3b8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    right: 16px;
    flex-direction: column;
    background: #fff;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Roadmap Timeline */
.roadmap-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), var(--line));
}

.roadmap-item {
  position: relative;
  padding-bottom: 32px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--line);
  z-index: 1;
}

.roadmap-item.completed .roadmap-marker {
  background: var(--success);
  border-color: var(--success);
}

.roadmap-item.current .roadmap-marker {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.roadmap-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.roadmap-version {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roadmap-content h4 {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.roadmap-content p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.pill.accent {
  background: rgba(14, 165, 233, 0.15);
  color: var(--brand-strong);
}

.pill.muted {
  background: var(--line);
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "links links";
  }

  .nav-links {
    width: calc(100% - 32px);
    right: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .roadmap-timeline {
    padding-left: 32px;
  }

  .roadmap-timeline::before {
    left: 8px;
  }

  .roadmap-marker {
    left: -32px;
    width: 18px;
    height: 18px;
  }

  .roadmap-content {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
