body {
  overflow-x: hidden;
  background:
    radial-gradient(80% 60% at 12% -10%, rgba(47, 143, 122, 0.22), transparent 60%),
    radial-gradient(70% 50% at 92% 4%, rgba(185, 160, 230, 0.16), transparent 60%),
    var(--ink);
}

main {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}

img {
  max-width: 100%;
}

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

/* top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(14, 12, 34, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background:
    linear-gradient(150deg, var(--mint-bright) 0 45%, var(--jade) 45% 100%),
    var(--jade);
  box-shadow: inset 0 -6px 0 rgba(12, 27, 24, 0.5), 0 4px 14px rgba(99, 217, 166, 0.35);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.3em;
  font-size: 15px;
  color: var(--cream);
}

.topnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--mint);
  color: var(--mint-bright);
  background: rgba(47, 143, 122, 0.18);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 44px 0 34px;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.hero-copy h1 br + * {
  color: var(--mint-bright);
}

.lede {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
}

.chips li {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(34, 28, 78, 0.6);
  font-size: 12.5px;
  color: var(--muted);
}

.chips b {
  color: var(--cream);
  font-family: var(--font-mono);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--jade) 100%);
  color: #0b1b18;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 14px 30px rgba(47, 143, 122, 0.32);
}

.ghost {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.hero-stage {
  position: relative;
  padding: 12px 12px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(34, 28, 78, 0.9), rgba(16, 13, 40, 0.9));
  box-shadow: var(--shadow);
}

#hero-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0b0e26;
  image-rendering: auto;
}

#hero-preview.is-fallback {
  background:
    linear-gradient(180deg, #86d8f2 0 42%, #63d9a6 42% 52%, #2f8f7a 52% 100%);
}

.stage-caption {
  margin: 10px 4px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(169, 159, 206, 0.8);
}

/* sections */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 44px 0 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.section-title::before {
  content: "";
  width: 26px;
  height: 8px;
  border-radius: 3px;
  background: var(--amber);
}

/* gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(24, 20, 58, 0.7);
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: #10132e;
}

.shot figcaption {
  display: flex;
  gap: 9px;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.shot figcaption span {
  font-family: var(--font-mono);
  color: var(--amber);
}

.gallery.is-unavailable .shots {
  grid-template-columns: 1fr;
}

.gallery.is-unavailable .shots::after {
  content: "3D capture needs WebGL in this browser.";
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* blocks */
.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 84px;
  padding: 10px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(27, 23, 64, 0.72);
}

.chip img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  border-radius: 6px;
}

.chip span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* features */
#features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#features li {
  padding: 14px 16px 14px 18px;
  border-left: 3px solid var(--jade);
  border-radius: 0 12px 12px 0;
  background: rgba(27, 23, 64, 0.55);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(246, 240, 226, 0.86);
}

#features li b {
  color: var(--mint-bright);
}

/* controls */
.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.control-card {
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 20, 58, 0.62);
}

.control-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.control-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

kbd {
  display: inline-block;
  min-width: 20px;
  padding: 2px 6px;
  margin-right: 2px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(43, 35, 96, 0.8);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream);
}

code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--sky);
}

/* footer */
.foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 48px 0 28px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--cream);
}

.foot-note {
  flex: 1 1 320px;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* narrow screens */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 26px;
  }

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

  #features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  main {
    width: min(100%, 100% - 24px);
  }

  .topnav a:not(.pill) {
    display: none;
  }

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

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

  .hero-copy h1 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .chip {
    width: 72px;
  }
}
