:root {
  --bg: #0f1724;
  --card: #0f2433;
  --muted: #9fb2c6;
  --accent: #1fa2ff;
  --glass: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box
}

.body-font {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #e6f0f6;
  background: linear-gradient(180deg, var(--bg), #061021);
  line-height: 1.55
}

.hero {
  padding: 20px 18px;
  text-align: center;
  background: linear-gradient(90deg, rgba(31, 162, 255, 0.06), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03)
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto
}

.banner {
  max-width: 220px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 12px
}

h1 {
  font-family: Spectral, Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  margin: 6px 0 8px
}

.lead {
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 12px
}

.ctas {
  margin-top: 12px
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  margin: 6px;
  border-radius: 10px;
  color: #e6f0f6;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), #5be0ff);
  color: #042131
}

/* secondary button (visible on dark hero) */
.btn.secondary {
  color: var(--accent);
  background: transparent;
  border-color: rgba(31, 162, 255, 0.18);
}

.btn.secondary:hover {
  background: rgba(31, 162, 255, 0.06);
  color: #bfeeff
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 18px
}

.features,
.demo,
.support {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.features h2,
.demo h2,
.support h2 {
  margin-top: 0
}

.features ul {
  color: var(--muted);
  padding-left: 18px
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start
}

figure {
  margin: 0;
  background: #071827;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px
}

figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px
}

.support ol {
  padding-left: 16px;
  color: var(--muted)
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px
}

.site-footer {
  max-width: 1100px;
  margin: 12px auto;
  padding: 14px 16px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem
}

@media (max-width:820px) {
  .media-grid {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 1.6rem
  }
}

/* Lightbox modal styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 9999
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto
}

.lightbox-content {
  max-width: 92%;
  max-height: 92%;
  position: relative;
  padding: 12px;
  border-radius: 12px
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  display: block
}

.lightbox-caption {
  color: var(--muted);
  text-align: center;
  margin-top: 8px
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ffffff;
  border-radius: 999px;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4)
}

/* make banner clickable-looking */
.banner.lightbox {
  cursor: zoom-in
}

.media-grid img.lightbox {
  cursor: zoom-in
}